package hook

type GetFriendAndChatRoomListReq struct {
	Type string `json:"type"`
}

type GetFriendAndChatRoomListReap struct {
	CountFriend string `json:"count_friend"`
	Friend      []struct {
		Index     string `json:"index"`
		Wxid      string `json:"wxid"`
		Account   string `json:"account"`
		Nickname  string `json:"nickname"`
		V3        string `json:"v3"`
		Markname  string `json:"markname"`
		Starrole  string `json:"starrole"`
		Dontseeit string `json:"dontseeit"`
		Dontseeme string `json:"dontseeme"`
		Headimg   string `json:"headimg"`
		Sex       string `json:"sex"`
		Lag       string `json:"lag"`
	} `json:"friend"`
	CountChatroom string `json:"count_chatroom"`
	Chatroom      []struct {
		Index    string `json:"index"`
		Gid      string `json:"gid"`
		Gname    string `json:"gname"`
		Markname string `json:"markname"`
		V3       string `json:"v3"`
	} `json:"chatroom"`
	CountGh string `json:"count_gh"`
	Gh      []struct {
		Index    string `json:"index"`
		Wxid     string `json:"wxid"`
		Account  string `json:"account"`
		Nickname string `json:"nickname"`
		Markname string `json:"markname"`
		V3       string `json:"v3"`
	} `json:"gh"`
}

type ConfigureMsgReciveReq struct {
	IsEnable string `json:"isEnable"`
	URL      string `json:"url"`
}

type SendTextMsgReq struct {
	Wxid string `json:"wxid"`
	Msg  string `json:"msg"`
}

type SendPicMsgReq struct {
	Wxid        string `json:"wxid"`
	Picpath     string `json:"picpath"`
	Diyfilename string `json:"diyfilename"`
}

type SendPicMsgLocalReq struct {
	Wxid    string `json:"wxid"`
	Picpath string `json:"picpath"`
}

type GetSelfLoginInfoResp struct {
	ProcessID string `json:"ProcessID"`
	Wxid      string `json:"wxid"`
	Account   string `json:"account"`
	Nickname  string `json:"nickname"`
	Tel       string `json:"tel"`
	Country   string `json:"country"`
	Province  string `json:"province"`
	City      string `json:"city"`
	HeadBig   string `json:"head_big"`
	DiySign   string `json:"diy_sign"`
}

type LogoutResp struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
}

type GetWeChatProcessNumberResp struct {
	TotalNum string `json:"total_num"`
	List     []struct {
		Index       int    `json:"Index"`
		ProcessName string `json:"ProcessName"`
		PID         int    `json:"PID"`
		Par         string `json:"Par"`
		Port        int    `json:"Port"`
	} `json:"List"`
}

type GetLoginQRCodeReap struct {
	Base64 string `json:"base64"`
}

type IsLoginStatusResp struct {
	Onlinestatus string `json:"onlinestatus"`
	Msg          string `json:"msg"`
	LoginLoading string `json:"login_loading"`
	Selfwxid     string `json:"selfwxid"`
	Nickname     string `json:"nickname"`
}

type GetPortOccupiedInfoReq struct {
	CheckPort string `json:"CheckPort"`
}

type GetPortOccupiedInfoResp struct {
	Occupied string `json:"Occupied"`
}

type StartWechatReq struct {
	StartPort string `json:"StartPort"`
}

type StartWechatResp struct {
	StartPort string `json:"StartPort"`
	Success   string `json:"success"`
}

type ClickLoginButtonResp struct {
	ClickLoginButton string `json:"ClickLoginButton"`
}