123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182 |
- // Code generated by goctl. DO NOT EDIT.
- package types
- // The basic response with data | 基础带数据信息
- // swagger:model BaseDataInfo
- type BaseDataInfo struct {
- // Error code | 错误代码
- Code int `json:"code"`
- // Message | 提示信息
- Msg string `json:"msg"`
- // Data | 数据
- Data string `json:"data,omitempty"`
- }
- // The basic response with data | 基础带数据信息
- // swagger:model BaseListInfo
- type BaseListInfo struct {
- // The total number of data | 数据总数
- Total uint64 `json:"total"`
- // Data | 数据
- Data string `json:"data,omitempty"`
- }
- // The basic response without data | 基础不带数据信息
- // swagger:model BaseMsgResp
- type BaseMsgResp struct {
- // Error code | 错误代码
- Code int `json:"code"`
- // Message | 提示信息
- Msg string `json:"msg"`
- }
- // The page request parameters | 列表请求参数
- // swagger:model PageInfo
- type PageInfo struct {
- // Page number | 第几页
- // required : true
- // min : 0
- Page uint64 `json:"page" validate:"required,number,gt=0"`
- // Page size | 单页数据行数
- // required : true
- // max : 100000
- PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
- }
- // Basic ID request | 基础ID参数请求
- // swagger:model IDReq
- type IDReq struct {
- // ID
- // Required: true
- Id uint64 `json:"id" validate:"number"`
- }
- // Basic IDs request | 基础ID数组参数请求
- // swagger:model IDsReq
- type IDsReq struct {
- // IDs
- // Required: true
- Ids []uint64 `json:"ids"`
- }
- // Basic ID request | 基础ID地址参数请求
- // swagger:model IDPathReq
- type IDPathReq struct {
- // ID
- // Required: true
- Id uint64 `path:"id"`
- }
- // Basic ID request (int32) | 基础ID参数请求 (int32)
- // swagger:model IDInt32Req
- type IDInt32Req struct {
- // ID
- // Required: true
- Id int32 `json:"id" validate:"number"`
- }
- // Basic IDs request (int32) | 基础ID数组参数请求 (int32)
- // swagger:model IDsInt32Req
- type IDsInt32Req struct {
- // IDs
- // Required: true
- Ids []int32 `json:"ids"`
- }
- // Basic ID request (int32) | 基础ID地址参数请求 (int32)
- // swagger:model IDInt32PathReq
- type IDInt32PathReq struct {
- // ID
- // Required: true
- Id int32 `path:"id"`
- }
- // Basic ID request (uint32) | 基础ID参数请求 (uint32)
- // swagger:model IDUint32Req
- type IDUint32Req struct {
- // ID
- // Required: true
- Id uint32 `json:"id" validate:"number"`
- }
- // Basic IDs request (uint32) | 基础ID数组参数请求 (uint32)
- // swagger:model IDsUint32Req
- type IDsUint32Req struct {
- // IDs
- // Required: true
- Ids []uint32 `json:"ids"`
- }
- // Basic ID request (uint32) | 基础ID地址参数请求 (uint32)
- // swagger:model IDUint32PathReq
- type IDUint32PathReq struct {
- // ID
- // Required: true
- Id uint32 `path:"id"`
- }
- // Basic ID request (int64) | 基础ID参数请求 (int64)
- // swagger:model IDInt64Req
- type IDInt64Req struct {
- // ID
- // Required: true
- Id int64 `json:"id" validate:"number"`
- }
- // Basic IDs request (int64) | 基础ID数组参数请求 (int64)
- // swagger:model IDsInt64Req
- type IDsInt64Req struct {
- // IDs
- // Required: true
- Ids []int64 `json:"ids"`
- }
- // Basic ID request (int64) | 基础ID地址参数请求 (int64)
- // swagger:model IDInt64PathReq
- type IDInt64PathReq struct {
- // ID
- // Required: true
- Id int64 `path:"id"`
- }
- // Basic UUID request in path | 基础UUID地址参数请求
- // swagger:model UUIDPathReq
- type UUIDPathReq struct {
- // ID
- // Required: true
- Id string `path:"id"`
- }
- // Basic UUID request | 基础UUID参数请求
- // swagger:model UUIDReq
- type UUIDReq struct {
- // ID
- // required : true
- // max length : 36
- // min length : 36
- Id string `json:"id" validate:"required,len=36"`
- }
- // Basic UUID array request | 基础UUID数组参数请求
- // swagger:model UUIDsReq
- type UUIDsReq struct {
- // Ids
- // Required: true
- Ids []string `json:"ids"`
- }
- // The base ID response data | 基础ID信息
- // swagger:model BaseIDInfo
- type BaseIDInfo struct {
- // ID
- Id *uint64 `json:"id,optional"`
- // Create date | 创建日期
- CreatedAt *int64 `json:"createdAt,optional"`
- // Update date | 更新日期
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- // The base ID response data (int64) | 基础ID信息 (int64)
- // swagger:model BaseIDInt64Info
- type BaseIDInt64Info struct {
- // ID
- Id *int64 `json:"id,optional"`
- // Create date | 创建日期
- CreatedAt *int64 `json:"createdAt,optional"`
- // Update date | 更新日期
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- // The base ID response data (int32) | 基础ID信息 (int32)
- // swagger:model BaseIDInt32Info
- type BaseIDInt32Info struct {
- // ID
- Id *int32 `json:"id,optional"`
- // Create date | 创建日期
- CreatedAt *int64 `json:"createdAt,optional"`
- // Update date | 更新日期
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- // The base ID response data (uint32) | 基础ID信息 (uint32)
- // swagger:model BaseIDUint32Info
- type BaseIDUint32Info struct {
- // ID
- Id *uint32 `json:"id,optional"`
- // Create date | 创建日期
- CreatedAt *int64 `json:"createdAt,optional"`
- // Update date | 更新日期
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- // The base UUID response data | 基础UUID信息
- // swagger:model BaseUUIDInfo
- type BaseUUIDInfo struct {
- // ID
- Id *string `json:"id,optional"`
- // Create date | 创建日期
- CreatedAt *int64 `json:"createdAt,optional"`
- // Update date | 更新日期
- UpdatedAt *int64 `json:"updatedAt,optional"`
- }
- type Condition struct {
- Equal int `json:"equal"`
- LabelIdList []uint64 `json:"labelIdList"`
- }
- type Action struct {
- Type int `json:"type"`
- Content string `json:"content"`
- Meta Meta `json:"meta,optional"`
- }
- type Meta struct {
- Filename string `json:"filename,optional"`
- }
- // The response data of server information | Server信息
- // swagger:model ServerInfo
- type ServerInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 名称
- Name *string `json:"name,optional"`
- // 公网ip
- PublicIp *string `json:"publicIp,optional"`
- // 内网ip
- PrivateIp *string `json:"privateIp,optional"`
- // 管理端口
- AdminPort *string `json:"adminPort,optional"`
- }
- // The response data of server list | Server列表数据
- // swagger:model ServerListResp
- type ServerListResp struct {
- BaseDataInfo
- // Server list data | Server列表数据
- Data ServerListInfo `json:"data"`
- }
- // Server list data | Server列表数据
- // swagger:model ServerListInfo
- type ServerListInfo struct {
- BaseListInfo
- // The API list data | Server列表数据
- Data []ServerInfo `json:"data"`
- }
- // Get server list request params | Server列表请求参数
- // swagger:model ServerListReq
- type ServerListReq struct {
- PageInfo
- // 名称
- Name *string `json:"name,optional"`
- // 公网ip
- PublicIp *string `json:"publicIp,optional"`
- // 内网ip
- PrivateIp *string `json:"privateIp,optional"`
- }
- // Server information response | Server信息返回体
- // swagger:model ServerInfoResp
- type ServerInfoResp struct {
- BaseDataInfo
- // Server information | Server数据
- Data ServerInfo `json:"data"`
- }
- // The response data of wx information | Wx信息
- // swagger:model WxInfo
- type WxInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 服务器id
- ServerId *uint64 `json:"serverId,optional"`
- // 端口号
- Port *string `json:"port,optional"`
- // 进程号
- ProcessId *string `json:"processId,optional"`
- // 回调地址
- Callback *string `json:"callback,optional"`
- // 微信id
- Wxid *string `json:"wxid,optional"`
- // 微信账号
- Account *string `json:"account,optional"`
- // 微信昵称
- Nickname *string `json:"nickname,optional"`
- // 手机号
- Tel *string `json:"tel,optional"`
- // 微信头像
- HeadBig *string `json:"headBig,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- // The response data of wx list | Wx列表数据
- // swagger:model WxListResp
- type WxListResp struct {
- BaseDataInfo
- // Wx list data | Wx列表数据
- Data WxListInfo `json:"data"`
- }
- // Wx list data | Wx列表数据
- // swagger:model WxListInfo
- type WxListInfo struct {
- BaseListInfo
- // The API list data | Wx列表数据
- Data []WxInfo `json:"data"`
- }
- // Get wx list request params | Wx列表请求参数
- // swagger:model WxListReq
- type WxListReq struct {
- PageInfo
- // 端口号
- Port *string `json:"port,optional"`
- // 进程号
- ProcessId *string `json:"processId,optional"`
- // 回调地址
- Callback *string `json:"callback,optional"`
- }
- // Wx information response | Wx信息返回体
- // swagger:model WxInfoResp
- type WxInfoResp struct {
- BaseDataInfo
- // Wx information | Wx数据
- Data WxInfo `json:"data"`
- }
- type LoginQRStatus struct {
- // 登陆二维码
- QRCode string `json:"qRCode,optional"`
- // 登陆二维码状态
- Status string `json:"status,optional"`
- // 登陆二维码状态描述
- StatusDesc string `json:"statusDesc,optional"`
- }
- // 刷新登陆二维码请求参数
- // swagger:model RefreshLoginQRReq
- type RefreshLoginQRReq struct {
- // 服务器id
- ServerId *uint64 `json:"serverId,optional"`
- // 端口号
- Port *string `json:"port,optional"`
- // 回调地址
- Callback *string `json:"callback,optional"`
- }
- // 刷新登陆二维码返回参数
- // swagger:model RefreshLoginQRResp
- type RefreshLoginQRResp struct {
- BaseDataInfo
- // 二维码Base64
- Data LoginQRStatus `json:"data,optional"`
- }
- // 发送微信文本消息请求参数
- // swagger:model SendTextMsgReq
- type SendTextMsgReq struct {
- // 属主微信id
- WxWxid *string `json:"senderWxId"`
- // 微信id 公众号微信ID
- Wxid *string `json:"receiverWxId"`
- // 微信文本消息内容
- Msg *string `json:"msg"`
- }
- // 发送微信图片消息请求参数
- // swagger:model SendPicMsgReq
- type SendPicMsgReq struct {
- // 属主微信id
- WxWxid *string `json:"wxWxid"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid"`
- // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
- Picpath *string `json:"picpath"`
- // 微信图片自定义名称(此属性只有网络图片有)
- Diyfilename *string `json:"diyfilename,optional"`
- }
- // 发送微信图片(本地)请求参数
- // swagger:model SendPicMsgLocalReq
- type SendPicMsgLocalReq struct {
- // 属主微信id
- WxWxid *string `json:"wxWxid"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid"`
- // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
- Picpath *string `json:"picpath"`
- }
- // The response data of contact list | Contact列表数据
- // swagger:model ContactListResp
- type ContactListResp struct {
- BaseDataInfo
- // Contact list data | Contact列表数据
- Data ContactListInfo `json:"data"`
- }
- // Contact list data | Contact列表数据
- // swagger:model ContactListInfo
- type ContactListInfo struct {
- BaseListInfo
- // The API list data | Contact列表数据
- Data []ContactInfo `json:"data"`
- }
- // Get contact list request params | Contact列表请求参数
- // swagger:model ContactListReq
- type ContactListReq struct {
- PageInfo
- // Label ID list | 标签ID列表
- LabelIDs []uint64 `json:"labelIDs,optional"`
- // 属主微信id
- WxWxid *string `json:"wxWxid,optional"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid,optional"`
- // 微信账号
- Account *string `json:"account,optional"`
- // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
- Type *int `json:"type,optional"`
- }
- // Contact information response | Contact信息返回体
- // swagger:model ContactInfoResp
- type ContactInfoResp struct {
- BaseDataInfo
- // Contact information | Contact数据
- Data ContactInfo `json:"data"`
- }
- // swagger:model AddNewFriendReq
- type AddNewFriendReq struct {
- OwnerWxid string `json:"ownerWxid"`
- Wxid string `json:"wxid"`
- Gid string `json:"gid"`
- Desc string `json:"desc"`
- AddType string `json:"addType"`
- }
- // ContactLabelList | Contact标签列表
- type ContactLabelList struct {
- // label
- Label *string `json:"label,optional"`
- // value
- Value *uint64 `json:"value,optional"`
- }
- // The response data of contact information | Contact信息
- // swagger:model ContactInfo
- type ContactInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 属主微信id
- WxWxid *string `json:"wxWxid,optional"`
- // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
- Type *int `json:"type,optional"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid,optional"`
- // 微信账号
- Account *string `json:"account,optional"`
- // 微信昵称 群备注名称
- Nickname *string `json:"nickname,optional"`
- // 备注名
- Markname *string `json:"markname,optional"`
- // 头像
- Headimg *string `json:"headimg,optional"`
- // 性别 0未知 1男 2女
- Sex *int `json:"sex,optional"`
- // 星标 65/67=星标 1/3=未星标
- Starrole *string `json:"starrole,optional"`
- // 不让他看我的朋友圈 0可以看 1不让看
- Dontseeit *int `json:"dontseeit,optional"`
- // 不看他的朋友圈 0可以看 1不看 1=开启了不看他 128/129=仅聊天
- Dontseeme *int `json:"dontseeme,optional"`
- // 所属标签id清单,多开会用逗号隔开
- Lag *string `json:"lag,optional"`
- // 群组id
- Gid *string `json:"gid,optional"`
- // 群组名称
- Gname *string `json:"gname,optional"`
- // v3数据
- V3 *string `json:"v3,optional"`
- // Label Relationships | 标签关系
- LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- // The response data of label information | Label信息
- // swagger:model LabelInfo
- type LabelInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 标签类型:1好友,2群组,3公众号,4企业微信联系人
- Type *int `json:"type,optional"`
- // 标签名称
- Name *string `json:"name,optional"`
- // 标签来源:1后台创建 2个微同步
- From *int `json:"from,optional"`
- // 标签模式:1动态 2静态
- Mode *int `json:"mode,optional"`
- // 标签的触达条件
- Conditions *string `json:"conditions,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- // Label Relationships | 标签关系
- LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
- }
- // The response data of label relationship information | LabelRelationship信息
- // swagger:model LabelRelationshipInfo
- type LabelRelationshipInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 标签 ID
- LabelId *uint64 `json:"labelId,optional"`
- // 联系人 ID
- ContactId *uint64 `json:"contactId,optional"`
- // Contact information | 联系人信息
- Contact ContactInfo `json:"contact,optional"`
- // Label information | 标签信息
- Label LabelInfo `json:"label,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- // The response data of label relationship information | LabelRelationship信息
- // swagger:model LabelRelationshipsInfo
- type LabelRelationshipsInfo struct {
- BaseIDInfo
- // 更新类型:为空或“all”时表示全量更新,为 “add” 时表示仅追加
- UpdateType *string `json:"updateType,optional"`
- // 标签 ID
- LabelIds []uint64 `json:"labelIds,optional"`
- // 联系人 ID
- ContactId *uint64 `json:"contactId,optional"`
- }
- // The response data of label relationship list | LabelRelationship列表数据
- // swagger:model LabelRelationshipListResp
- type LabelRelationshipListResp struct {
- BaseDataInfo
- // LabelRelationship list data | LabelRelationship列表数据
- Data LabelRelationshipListInfo `json:"data"`
- }
- // LabelRelationship list data | LabelRelationship列表数据
- // swagger:model LabelRelationshipListInfo
- type LabelRelationshipListInfo struct {
- BaseListInfo
- // The API list data | LabelRelationship列表数据
- Data []LabelRelationshipInfo `json:"data"`
- }
- // Get label relationship list request params | LabelRelationship列表请求参数
- // swagger:model LabelRelationshipListReq
- type LabelRelationshipListReq struct {
- PageInfo
- }
- // LabelRelationship information response | LabelRelationship信息返回体
- // swagger:model LabelRelationshipInfoResp
- type LabelRelationshipInfoResp struct {
- BaseDataInfo
- // LabelRelationship information | LabelRelationship数据
- Data LabelRelationshipInfo `json:"data"`
- }
- // The response data of message information | Message信息
- // swagger:model MessageInfo
- type MessageInfo struct {
- BaseIDInfo
- // 属主微信id
- WxWxid *string `json:"wxWxid"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid"`
- // 微信消息内容
- Msg *string `json:"msg"`
- }
- // The response data of message list | Message列表数据
- // swagger:model MessageListResp
- type MessageListResp struct {
- BaseDataInfo
- // Message list data | Message列表数据
- Data MessageListInfo `json:"data"`
- }
- // Message list data | Message列表数据
- // swagger:model MessageListInfo
- type MessageListInfo struct {
- BaseListInfo
- // The API list data | Message列表数据
- Data []MessageInfo `json:"data"`
- }
- // Get message list request params | Message列表请求参数
- // swagger:model MessageListReq
- type MessageListReq struct {
- PageInfo
- // 属主微信id
- WxWxid *string `json:"wxWxid,optional"`
- // 微信id 公众号微信ID
- Wxid *string `json:"wxid,optional"`
- }
- // Message information response | Message信息返回体
- // swagger:model MessageInfoResp
- type MessageInfoResp struct {
- BaseDataInfo
- // Message information | Message数据
- Data MessageInfo `json:"data"`
- }
- // The response data of label list | Label列表数据
- // swagger:model LabelSelectListResp
- type LabelSelectListResp struct {
- BaseDataInfo
- // Label list data | Label列表数据
- Data []LabelSelectListInfo `json:"data"`
- }
- // The response data of label list | Label列表数据
- // swagger:model LabelListResp
- type LabelListResp struct {
- BaseDataInfo
- // Label list data | Label列表数据
- Data LabelListInfo `json:"data"`
- }
- // Label list data | Label列表数据
- // swagger:model LabelListInfo
- type LabelListInfo struct {
- BaseListInfo
- // The API list data | Label列表数据
- Data []LabelInfo `json:"data"`
- }
- // Get label list request params | Label列表请求参数
- // swagger:model LabelListReq
- type LabelListReq struct {
- PageInfo
- // Label ID list | Label ID列表
- LabelIDs []uint64 `json:"labelIDs,optional"`
- // 标签类型:1好友,2群组,3公众号,4企业微信联系人
- Type *int `json:"type,optional"`
- // 标签名称
- Name *string `json:"name,optional"`
- // 标签来源:1后台创建 2个微同步
- From *int `json:"from,optional"`
- // 标签模式:1动态 2静态
- Mode *int `json:"mode,optional"`
- }
- // Label information response | Label信息返回体
- // swagger:model LabelInfoResp
- type LabelInfoResp struct {
- BaseDataInfo
- // Label information | Label数据
- Data LabelInfo `json:"data"`
- }
- // swagger:model LabelSelectListInfo
- type LabelSelectListInfo struct {
- // label
- Label *string `json:"label,optional"`
- // value
- Value *uint64 `json:"value,optional"`
- }
- // The response data of sop task list | SopTask列表数据
- // swagger:model SopTaskListResp
- type SopTaskListResp struct {
- BaseDataInfo
- // SopTask list data | SopTask列表数据
- Data SopTaskListInfo `json:"data"`
- }
- // The response data of sop task record list | SopTask列表数据
- // swagger:model SopTaskRecordListResp
- type SopTaskRecordListResp struct {
- BaseDataInfo
- // SopTask list data | SopTask列表数据
- Data []SopTaskRecordInfo `json:"data"`
- }
- // SopTask list data | SopTask列表数据
- // swagger:model SopTaskRecordInfo
- type SopTaskRecordInfo struct {
- // NodeId 节点ID
- SourceType *int `json:"sourceType,optional"`
- // NodeId 节点ID
- SourceId *uint64 `json:"sourceId,optional"`
- // 节点名称
- Name *string `json:"name,optional"`
- // 消息总数
- TotalCount *int64 `json:"totalCount,optional"`
- // 成功数
- SuccessCount *int64 `json:"successCount,optional"`
- // 失败数
- FailureCount *int64 `json:"failureCount,optional"`
- // 成功率
- SuccessRate *int64 `json:"successRate,optional"`
- }
- // SopTask list data | SopTask列表数据
- // swagger:model SopTaskListInfo
- type SopTaskListInfo struct {
- BaseListInfo
- // The API list data | SopTask列表数据
- Data []SopTaskInfo `json:"data"`
- }
- // Get sop task list request params | SopTask列表请求参数
- // swagger:model SopTaskListReq
- type SopTaskListReq struct {
- PageInfo
- // SOP 任务名称
- Name *string `json:"name,optional"`
- // 创建者 id
- CreatorId *string `json:"creatorId,optional"`
- }
- // SopTask information response | SopTask信息返回体
- // swagger:model SopTaskInfoResp
- type SopTaskInfoResp struct {
- BaseDataInfo
- // SopTask information | SopTask数据
- Data SopTaskInfo `json:"data"`
- }
- // SopTask create response | SopTask创建回体
- // swagger:model SopTaskCreateResp
- type SopTaskCreateResp struct {
- BaseDataInfo
- // SopTask id | SopTask id
- Data uint64 `json:"data"`
- }
- // The response data of sop stage information | SopStage信息
- // swagger:model SopStageInfo
- type SopStageInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // SOP 任务 ID
- TaskId *uint64 `json:"taskId,optional"`
- // 阶段名称
- Name *string `json:"name,optional"`
- // 客群筛选条件类型 1 按标签筛选 2 按客户基本信息筛选
- ConditionType *int `json:"conditionType,optional"`
- // 筛选条件关系 1 满足所有条件(and) 2 满足任意条件(or)
- ConditionOperator *int `json:"conditionOperator,optional"`
- // 筛选条件列表
- ConditionList []Condition `json:"conditionList,optional"`
- // 命中后发送的消息内容
- ActionMessage []Action `json:"actionMessage,optional"`
- // 命中后需要打的标签
- ActionLabel []uint64 `json:"actionLabel,optional"`
- // 阶段顺序
- IndexSort *int `json:"indexSort,optional"`
- // sop 任务信息
- TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
- // node 信息
- NodeList []SopNodeInfo `json:"nodeList,optional"`
- }
- // The response data of sop task information | SopTask信息
- // swagger:model SopTaskInfo
- type SopTaskInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // SOP 任务名称
- Name *string `json:"name,optional"`
- // 机器人微信 id 列表
- BotWxidList []string `json:"botWxidList,optional"`
- // 标签类型:1好友,2群组,3企业微信联系人
- Type *int `json:"type,optional"`
- // 任务计划开始时间
- PlanStartTime *int64 `json:"planStartTime,optional"`
- // 任务计划结束时间
- PlanEndTime *int64 `json:"planEndTime,optional"`
- // 创建者 id
- CreatorId *string `json:"creatorId,optional"`
- // 阶段信息
- StageList []SopStageInfo `json:"stageList,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- // The response data of sop node information | SopNode信息
- // swagger:model SopNodeInfo
- type SopNodeInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 阶段 ID
- StageId *uint64 `json:"stageId,optional"`
- // 父节点 ID
- ParentId *uint64 `json:"parentId,optional"`
- // 节点名称
- Name *string `json:"name,optional"`
- // 触发条件类型 1 客户回复后触发 2 超时后触发
- ConditionType *int `json:"conditionType,optional"`
- // 触发语义列表 当为空时则代表用户回复任意内容后触发
- ConditionList []string `json:"conditionList,optional"`
- // 超时触发时间(分钟)
- NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
- // 命中后发送的消息内容
- ActionMessage []Action `json:"actionMessage,optional"`
- // 命中后需要打的标签
- ActionLabel []uint64 `json:"actionLabel,optional"`
- // 阶段信息
- StageInfo *SopStageInfo `json:"stageInfo,optional"`
- }
- // The response data of sop stage list | SopStage列表数据
- // swagger:model SopStageListResp
- type SopStageListResp struct {
- BaseDataInfo
- // SopStage list data | SopStage列表数据
- Data SopStageListInfo `json:"data"`
- }
- // SopStage list data | SopStage列表数据
- // swagger:model SopStageListInfo
- type SopStageListInfo struct {
- BaseListInfo
- // The API list data | SopStage列表数据
- Data []SopStageInfo `json:"data"`
- }
- // Get sop stage list request params | SopStage列表请求参数
- // swagger:model SopStageListReq
- type SopStageListReq struct {
- TaskId *uint64 `json:"taskId"`
- }
- // SopStage information response | SopStage信息返回体
- // swagger:model SopStageInfoResp
- type SopStageInfoResp struct {
- BaseDataInfo
- // SopStage information | SopStage数据
- Data SopStageInfo `json:"data"`
- }
- // SopStage create response | SopStage创建回体
- // swagger:model SopStageCreateResp
- type SopStageCreateResp struct {
- BaseDataInfo
- // SopStage id | SopStage id
- Data uint64 `json:"data"`
- }
- // Move sop stage request params | 移动阶段请求参数
- // swagger:model SopStageMoveReq
- type SopStageMoveReq struct {
- BaseIDInfo
- // 阶段名称
- Offset *int `json:"offset,optional"`
- }
- // The response data of sop node list | SopNode列表数据
- // swagger:model SopNodeListResp
- type SopNodeListResp struct {
- BaseDataInfo
- // SopNode list data | SopNode列表数据
- Data []*SopChildNodeInfo `json:"data"`
- }
- // SopNode list data | SopNode列表数据
- // swagger:model SopChildNodeInfo
- type SopChildNodeInfo struct {
- NodeName *string `json:"nodeName,optional"`
- ChildNode *SopChildNodeInfo `json:"childNode,optional"`
- // The API list data | SopNode列表数据
- ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
- SopNodeInfo
- }
- // SopNode list data | SopNode列表数据
- // swagger:model SopNodeListInfo
- type SopNodeListInfo struct {
- BaseListInfo
- // The API list data | SopNode列表数据
- Data []SopNodeInfo `json:"data"`
- }
- // Get sop node list request params | SopNode列表请求参数
- // swagger:model SopNodeListReq
- type SopNodeListReq struct {
- StageId *uint64 `json:"stageId"`
- }
- // SopNode information response | SopNode信息返回体
- // swagger:model SopNodeInfoResp
- type SopNodeInfoResp struct {
- BaseDataInfo
- // SopNode information | SopNode数据
- Data SopNodeInfo `json:"data"`
- }
- // SopNode create response | SopNode创建返回体
- // swagger:model SopNodeCreateResp
- type SopNodeCreateResp struct {
- BaseDataInfo
- // SopNode id | SopNode id
- Data uint64 `json:"data"`
- }
- // The response data of message records information | MessageRecords信息
- // swagger:model MessageRecordsInfo
- type MessageRecordsInfo struct {
- BaseIDInfo
- // Status 1: normal 2: ban | 状态 1 正常 2 禁用
- Status *uint8 `json:"status,optional"`
- // 机器人微信 id
- BotWxid *string `json:"botWxid,optional"`
- // 联系人 id
- ContactId *uint64 `json:"contactId,optional"`
- // 类型:1好友,2群组,3企业微信联系人
- ContactType *int `json:"contactType,optional"`
- // 接收方微信 id
- ContactWxid *string `json:"contactWxid,optional"`
- // 内容类型 1 文本 2 文件
- ContentType *int `json:"contentType,optional"`
- // 发送内容
- Content *string `json:"content,optional"`
- // 元数据
- Meta *Meta `json:"meta,optional"`
- // 异常原因
- ErrorDetail *string `json:"errorDetail,optional"`
- // 发送时间
- SendTime *int64 `json:"sendTime,optional"`
- // 源类型 1 点发 2 群发 3 SOP
- SourceType *int `json:"sourceType,optional"`
- // 源 ID
- SourceId *uint64 `json:"sourceId,optional"`
- // 次源 ID
- SubSourceId *uint64 `json:"subSourceId,optional"`
- // 组织ID
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
- // The response data of message records list | MessageRecords列表数据
- // swagger:model MessageRecordsListResp
- type MessageRecordsListResp struct {
- BaseDataInfo
- // MessageRecords list data | MessageRecords列表数据
- Data MessageRecordsListInfo `json:"data"`
- }
- // MessageRecords list data | MessageRecords列表数据
- // swagger:model MessageRecordsListInfo
- type MessageRecordsListInfo struct {
- BaseListInfo
- // The API list data | MessageRecords列表数据
- Data []MessageRecordsInfo `json:"data"`
- }
- // Get message records list request params | MessageRecords列表请求参数
- // swagger:model MessageRecordsListReq
- type MessageRecordsListReq struct {
- PageInfo
- // 机器人微信 id
- BotWxid *string `json:"botWxid,optional"`
- // 接收方微信 id
- ContactWxid *string `json:"contactWxid,optional"`
- // 发送内容
- Content *string `json:"content,optional"`
- // 发送内容
- SourceType *int `json:"sourceType,optional"`
- // 发送内容
- SourceId *uint64 `json:"sourceId,optional"`
- }
- // MessageRecords information response | MessageRecords信息返回体
- // swagger:model MessageRecordsInfoResp
- type MessageRecordsInfoResp struct {
- BaseDataInfo
- // MessageRecords information | MessageRecords数据
- Data MessageRecordsInfo `json:"data"`
- }
- // The response data of chatroom member information | ChatroomMember信息
- // swagger:model ChatroomMemberInfo
- type ChatroomMemberInfo struct {
- // 名称
- Wxid *string `json:"wxid,optional"`
- // 群组
- ChatRoom *string `json:"chatRoom,optional"`
- // 属主Wxid
- OwnerWxid *string `json:"ownerWxid,optional"`
- // 账号
- Account *string `json:"account,optional"`
- }
- // The response data of chatroom member list | ChatroomMember列表数据
- // swagger:model ChatroomMemberListResp
- type ChatroomMemberListResp struct {
- BaseDataInfo
- // chatroom member list data | chatroom member 列表数据
- Data ChatroomMemberListInfo `json:"data"`
- }
- // chatroom member list data | chatroom member列表数据
- // swagger:model ChatroomMemberListInfo
- type ChatroomMemberListInfo struct {
- BaseListInfo
- // The API list data | chatroom member列表数据
- Data []ChatroomMemberInfo `json:"data"`
- }
- // Get chatroom member list request params | ChatroomMember列表请求参数
- // swagger:model ChatroomMemberListReq
- type ChatroomMemberListReq struct {
- PageInfo
- // 属主Wxid
- OwnerWxid *string `json:"ownerWxid,optional"`
- // 群组
- ChatRoom *string `json:"chatRoom,optional"`
- }
- // chatroom member information response | ChatroomMember信息返回体
- // swagger:model ChatroomMemberInfoResp
- type ChatroomMemberInfoResp struct {
- BaseDataInfo
- // Server information | Server数据
- Data ChatroomMemberInfo `json:"data"`
- }
- // swagger:model WxidReq
- type WxidReq struct {
- Wxid string `json:"wxid"`
- }
- // The data of batch msg information | BatchMsg信息
- // swagger:model BatchMsgInfo
- type BatchMsgInfo struct {
- BaseIDInfo
- // 状态 0 未开始 1 开始发送 2 发送完成 3 发送中止
- Status *uint8 `json:"status,optional"`
- // 批次号
- BatchNo *string `json:"batchNo,optional"`
- // 发送方微信ID
- Fromwxid *string `json:"fromwxid,optional"`
- // 内容
- Msg *string `json:"msg,optional"`
- // 发送规则 all 全部 tag1,tag2 按tag发送
- Tag *string `json:"tag,optional"`
- // 总数
- Total *int32 `json:"total,optional"`
- // 成功数量
- Success *int32 `json:"success,optional"`
- // 失败数量
- Fail *int32 `json:"fail,optional"`
- // 开始时间
- StartTime *int64 `json:"startTime,optional"`
- StartTimeStr *string `json:"startTimeStr,optional"`
- // 结束时间
- StopTime *int64 `json:"stopTime,optional"`
- // 标签列表
- Labels []string `json:"labels,optional"`
- }
- // The response data of batch msg list | BatchMsg列表数据
- // swagger:model BatchMsgListResp
- type BatchMsgListResp struct {
- BaseDataInfo
- // BatchMsg list data | BatchMsg列表数据
- Data BatchMsgListInfo `json:"data"`
- }
- // BatchMsg list data | BatchMsg列表数据
- // swagger:model BatchMsgListInfo
- type BatchMsgListInfo struct {
- BaseListInfo
- // The API list data | BatchMsg列表数据
- Data []BatchMsgInfo `json:"data"`
- }
- // Get batch msg list request params | BatchMsg列表请求参数
- // swagger:model BatchMsgListReq
- type BatchMsgListReq struct {
- PageInfo
- // 批次号
- BatchNo *string `json:"batchNo,optional"`
- // 发送方微信ID
- Fromwxid *string `json:"fromwxid,optional"`
- // 内容
- Msg *string `json:"msg,optional"`
- }
- // BatchMsg information response | BatchMsg信息返回体
- // swagger:model BatchMsgInfoResp
- type BatchMsgInfoResp struct {
- BaseDataInfo
- // BatchMsg information | BatchMsg数据
- Data BatchMsgInfo `json:"data"`
- }
- // The data of agent information | Agent信息
- // swagger:model AgentInfo
- type AgentInfo struct {
- BaseIDInfo
- // name | 角色名称
- Name *string `json:"name,optional"`
- // role | 角色设定
- Role *string `json:"role,optional"`
- // status | 状态 1-正常 2-禁用
- Status *int `json:"status,optional"`
- // background | 背景介绍
- Background *string `json:"background,optional"`
- // examples | 对话案例
- Examples *string `json:"examples,optional"`
- }
- // The response data of agent list | Agent列表数据
- // swagger:model AgentListResp
- type AgentListResp struct {
- BaseDataInfo
- // Agent list data | Agent列表数据
- Data AgentListInfo `json:"data"`
- }
- // Agent list data | Agent列表数据
- // swagger:model AgentListInfo
- type AgentListInfo struct {
- BaseListInfo
- // The API list data | Agent列表数据
- Data []AgentInfo `json:"data"`
- }
- // Get agent list request params | Agent列表请求参数
- // swagger:model AgentListReq
- type AgentListReq struct {
- PageInfo
- // name | 角色名称
- Name *string `json:"name,optional"`
- // role | 角色设定
- Role *string `json:"role,optional"`
- // background | 背景介绍
- Background *string `json:"background,optional"`
- }
- // Agent information response | Agent信息返回体
- // swagger:model AgentInfoResp
- type AgentInfoResp struct {
- BaseDataInfo
- // Agent information | Agent数据
- Data AgentInfo `json:"data"`
- }
|