types.go 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. // The basic response with data | 基础带数据信息
  4. // swagger:model BaseDataInfo
  5. type BaseDataInfo struct {
  6. // Error code | 错误代码
  7. Code int `json:"code"`
  8. // Message | 提示信息
  9. Msg string `json:"msg"`
  10. // Data | 数据
  11. Data string `json:"data,omitempty"`
  12. }
  13. // The basic response with data | 基础带数据信息
  14. // swagger:model BaseListInfo
  15. type BaseListInfo struct {
  16. // The total number of data | 数据总数
  17. Total uint64 `json:"total"`
  18. // Data | 数据
  19. Data string `json:"data,omitempty"`
  20. }
  21. // The basic response without data | 基础不带数据信息
  22. // swagger:model BaseMsgResp
  23. type BaseMsgResp struct {
  24. // Error code | 错误代码
  25. Code int `json:"code"`
  26. // Message | 提示信息
  27. Msg string `json:"msg"`
  28. }
  29. // The page request parameters | 列表请求参数
  30. // swagger:model PageInfo
  31. type PageInfo struct {
  32. // Page number | 第几页
  33. // required : true
  34. // min : 0
  35. Page uint64 `json:"page" validate:"required,number,gt=0"`
  36. // Page size | 单页数据行数
  37. // required : true
  38. // max : 100000
  39. PageSize uint64 `json:"pageSize" validate:"required,number,lt=100000"`
  40. }
  41. // Basic ID request | 基础ID参数请求
  42. // swagger:model IDReq
  43. type IDReq struct {
  44. // ID
  45. // Required: true
  46. Id uint64 `json:"id" validate:"number"`
  47. }
  48. // Basic IDs request | 基础ID数组参数请求
  49. // swagger:model IDsReq
  50. type IDsReq struct {
  51. // IDs
  52. // Required: true
  53. Ids []uint64 `json:"ids"`
  54. }
  55. // Basic ID request | 基础ID地址参数请求
  56. // swagger:model IDPathReq
  57. type IDPathReq struct {
  58. // ID
  59. // Required: true
  60. Id uint64 `path:"id"`
  61. }
  62. // Basic ID request (int32) | 基础ID参数请求 (int32)
  63. // swagger:model IDInt32Req
  64. type IDInt32Req struct {
  65. // ID
  66. // Required: true
  67. Id int32 `json:"id" validate:"number"`
  68. }
  69. // Basic IDs request (int32) | 基础ID数组参数请求 (int32)
  70. // swagger:model IDsInt32Req
  71. type IDsInt32Req struct {
  72. // IDs
  73. // Required: true
  74. Ids []int32 `json:"ids"`
  75. }
  76. // Basic ID request (int32) | 基础ID地址参数请求 (int32)
  77. // swagger:model IDInt32PathReq
  78. type IDInt32PathReq struct {
  79. // ID
  80. // Required: true
  81. Id int32 `path:"id"`
  82. }
  83. // Basic ID request (uint32) | 基础ID参数请求 (uint32)
  84. // swagger:model IDUint32Req
  85. type IDUint32Req struct {
  86. // ID
  87. // Required: true
  88. Id uint32 `json:"id" validate:"number"`
  89. }
  90. // Basic IDs request (uint32) | 基础ID数组参数请求 (uint32)
  91. // swagger:model IDsUint32Req
  92. type IDsUint32Req struct {
  93. // IDs
  94. // Required: true
  95. Ids []uint32 `json:"ids"`
  96. }
  97. // Basic ID request (uint32) | 基础ID地址参数请求 (uint32)
  98. // swagger:model IDUint32PathReq
  99. type IDUint32PathReq struct {
  100. // ID
  101. // Required: true
  102. Id uint32 `path:"id"`
  103. }
  104. // Basic ID request (int64) | 基础ID参数请求 (int64)
  105. // swagger:model IDInt64Req
  106. type IDInt64Req struct {
  107. // ID
  108. // Required: true
  109. Id int64 `json:"id" validate:"number"`
  110. }
  111. // Basic IDs request (int64) | 基础ID数组参数请求 (int64)
  112. // swagger:model IDsInt64Req
  113. type IDsInt64Req struct {
  114. // IDs
  115. // Required: true
  116. Ids []int64 `json:"ids"`
  117. }
  118. // Basic ID request (int64) | 基础ID地址参数请求 (int64)
  119. // swagger:model IDInt64PathReq
  120. type IDInt64PathReq struct {
  121. // ID
  122. // Required: true
  123. Id int64 `path:"id"`
  124. }
  125. // Basic UUID request in path | 基础UUID地址参数请求
  126. // swagger:model UUIDPathReq
  127. type UUIDPathReq struct {
  128. // ID
  129. // Required: true
  130. Id string `path:"id"`
  131. }
  132. // Basic UUID request | 基础UUID参数请求
  133. // swagger:model UUIDReq
  134. type UUIDReq struct {
  135. // ID
  136. // required : true
  137. // max length : 36
  138. // min length : 36
  139. Id string `json:"id" validate:"required,len=36"`
  140. }
  141. // Basic UUID array request | 基础UUID数组参数请求
  142. // swagger:model UUIDsReq
  143. type UUIDsReq struct {
  144. // Ids
  145. // Required: true
  146. Ids []string `json:"ids"`
  147. }
  148. // The base ID response data | 基础ID信息
  149. // swagger:model BaseIDInfo
  150. type BaseIDInfo struct {
  151. // ID
  152. Id *uint64 `json:"id,optional"`
  153. // Create date | 创建日期
  154. CreatedAt *int64 `json:"createdAt,optional"`
  155. // Update date | 更新日期
  156. UpdatedAt *int64 `json:"updatedAt,optional"`
  157. }
  158. // The base ID response data (int64) | 基础ID信息 (int64)
  159. // swagger:model BaseIDInt64Info
  160. type BaseIDInt64Info struct {
  161. // ID
  162. Id *int64 `json:"id,optional"`
  163. // Create date | 创建日期
  164. CreatedAt *int64 `json:"createdAt,optional"`
  165. // Update date | 更新日期
  166. UpdatedAt *int64 `json:"updatedAt,optional"`
  167. }
  168. // The base ID response data (int32) | 基础ID信息 (int32)
  169. // swagger:model BaseIDInt32Info
  170. type BaseIDInt32Info struct {
  171. // ID
  172. Id *int32 `json:"id,optional"`
  173. // Create date | 创建日期
  174. CreatedAt *int64 `json:"createdAt,optional"`
  175. // Update date | 更新日期
  176. UpdatedAt *int64 `json:"updatedAt,optional"`
  177. }
  178. // The base ID response data (uint32) | 基础ID信息 (uint32)
  179. // swagger:model BaseIDUint32Info
  180. type BaseIDUint32Info struct {
  181. // ID
  182. Id *uint32 `json:"id,optional"`
  183. // Create date | 创建日期
  184. CreatedAt *int64 `json:"createdAt,optional"`
  185. // Update date | 更新日期
  186. UpdatedAt *int64 `json:"updatedAt,optional"`
  187. }
  188. // The base UUID response data | 基础UUID信息
  189. // swagger:model BaseUUIDInfo
  190. type BaseUUIDInfo struct {
  191. // ID
  192. Id *string `json:"id,optional"`
  193. // Create date | 创建日期
  194. CreatedAt *int64 `json:"createdAt,optional"`
  195. // Update date | 更新日期
  196. UpdatedAt *int64 `json:"updatedAt,optional"`
  197. }
  198. type Condition struct {
  199. Equal int `json:"equal"`
  200. LabelIdList []uint64 `json:"labelIdList"`
  201. }
  202. type Action struct {
  203. Type int `json:"type"`
  204. Content string `json:"content"`
  205. Meta Meta `json:"meta,optional"`
  206. }
  207. type Meta struct {
  208. Filename string `json:"filename,optional"`
  209. }
  210. // The response data of server information | Server信息
  211. // swagger:model ServerInfo
  212. type ServerInfo struct {
  213. BaseIDInfo
  214. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  215. Status *uint8 `json:"status,optional"`
  216. // 名称
  217. Name *string `json:"name,optional"`
  218. // 公网ip
  219. PublicIp *string `json:"publicIp,optional"`
  220. // 内网ip
  221. PrivateIp *string `json:"privateIp,optional"`
  222. // 管理端口
  223. AdminPort *string `json:"adminPort,optional"`
  224. }
  225. // The response data of server list | Server列表数据
  226. // swagger:model ServerListResp
  227. type ServerListResp struct {
  228. BaseDataInfo
  229. // Server list data | Server列表数据
  230. Data ServerListInfo `json:"data"`
  231. }
  232. // Server list data | Server列表数据
  233. // swagger:model ServerListInfo
  234. type ServerListInfo struct {
  235. BaseListInfo
  236. // The API list data | Server列表数据
  237. Data []ServerInfo `json:"data"`
  238. }
  239. // Get server list request params | Server列表请求参数
  240. // swagger:model ServerListReq
  241. type ServerListReq struct {
  242. PageInfo
  243. // 名称
  244. Name *string `json:"name,optional"`
  245. // 公网ip
  246. PublicIp *string `json:"publicIp,optional"`
  247. // 内网ip
  248. PrivateIp *string `json:"privateIp,optional"`
  249. }
  250. // Server information response | Server信息返回体
  251. // swagger:model ServerInfoResp
  252. type ServerInfoResp struct {
  253. BaseDataInfo
  254. // Server information | Server数据
  255. Data ServerInfo `json:"data"`
  256. }
  257. // The response data of wx information | Wx信息
  258. // swagger:model WxInfo
  259. type WxInfo struct {
  260. BaseIDInfo
  261. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  262. Status *uint8 `json:"status,optional"`
  263. // 服务器id
  264. ServerId *uint64 `json:"serverId,optional"`
  265. // 端口号
  266. Port *string `json:"port,optional"`
  267. // 进程号
  268. ProcessId *string `json:"processId,optional"`
  269. // 回调地址
  270. Callback *string `json:"callback,optional"`
  271. // 微信id
  272. Wxid *string `json:"wxid,optional"`
  273. // 微信账号
  274. Account *string `json:"account,optional"`
  275. // 微信昵称
  276. Nickname *string `json:"nickname,optional"`
  277. // 手机号
  278. Tel *string `json:"tel,optional"`
  279. // 微信头像
  280. HeadBig *string `json:"headBig,optional"`
  281. // 组织ID
  282. OrganizationId *uint64 `json:"organizationId,optional"`
  283. // 模式ID
  284. AgentId *uint64 `json:"agentId,optional"`
  285. // 模式信息
  286. AgentInfo *AgentInfo `json:"agentInfo,optional"`
  287. }
  288. // The response data of wx list | Wx列表数据
  289. // swagger:model WxListResp
  290. type WxListResp struct {
  291. BaseDataInfo
  292. // Wx list data | Wx列表数据
  293. Data WxListInfo `json:"data"`
  294. }
  295. // Wx list data | Wx列表数据
  296. // swagger:model WxListInfo
  297. type WxListInfo struct {
  298. BaseListInfo
  299. // The API list data | Wx列表数据
  300. Data []WxInfo `json:"data"`
  301. }
  302. // Get wx list request params | Wx列表请求参数
  303. // swagger:model WxListReq
  304. type WxListReq struct {
  305. PageInfo
  306. // 端口号
  307. Port *string `json:"port,optional"`
  308. // 进程号
  309. ProcessId *string `json:"processId,optional"`
  310. // 回调地址
  311. Callback *string `json:"callback,optional"`
  312. }
  313. // Wx information response | Wx信息返回体
  314. // swagger:model WxInfoResp
  315. type WxInfoResp struct {
  316. BaseDataInfo
  317. // Wx information | Wx数据
  318. Data WxInfo `json:"data"`
  319. }
  320. // The data of agent information | Agent信息
  321. // swagger:model AgentInfo
  322. type AgentInfo struct {
  323. BaseIDInfo
  324. // name | 角色名称
  325. Name *string `json:"name,optional"`
  326. // role | 角色设定
  327. Role *string `json:"role,optional"`
  328. // status | 状态 1-正常 2-禁用
  329. Status *int `json:"status,optional"`
  330. // background | 背景介绍
  331. Background *string `json:"background,optional"`
  332. // examples | 对话案例
  333. Examples *string `json:"examples,optional"`
  334. }
  335. // The response data of agent list | Agent列表数据
  336. // swagger:model AgentListResp
  337. type AgentListResp struct {
  338. BaseDataInfo
  339. // Agent list data | Agent列表数据
  340. Data AgentListInfo `json:"data"`
  341. }
  342. // Agent list data | Agent列表数据
  343. // swagger:model AgentListInfo
  344. type AgentListInfo struct {
  345. BaseListInfo
  346. // The API list data | Agent列表数据
  347. Data []AgentInfo `json:"data"`
  348. }
  349. // Get agent list request params | Agent列表请求参数
  350. // swagger:model AgentListReq
  351. type AgentListReq struct {
  352. PageInfo
  353. // name | 角色名称
  354. Name *string `json:"name,optional"`
  355. // role | 角色设定
  356. Role *string `json:"role,optional"`
  357. // background | 背景介绍
  358. Background *string `json:"background,optional"`
  359. // status | 状态 1-可用 2-不可用
  360. Status *int `json:"status,optional"`
  361. }
  362. // Agent information response | Agent信息返回体
  363. // swagger:model AgentInfoResp
  364. type AgentInfoResp struct {
  365. BaseDataInfo
  366. // Agent information | Agent数据
  367. Data AgentInfo `json:"data"`
  368. }
  369. type LoginQRStatus struct {
  370. // 登陆二维码
  371. QRCode string `json:"qRCode,optional"`
  372. // 登陆二维码状态
  373. Status string `json:"status,optional"`
  374. // 登陆二维码状态描述
  375. StatusDesc string `json:"statusDesc,optional"`
  376. }
  377. // 刷新登陆二维码请求参数
  378. // swagger:model RefreshLoginQRReq
  379. type RefreshLoginQRReq struct {
  380. // 服务器id
  381. ServerId *uint64 `json:"serverId,optional"`
  382. // 端口号
  383. Port *string `json:"port,optional"`
  384. // 回调地址
  385. Callback *string `json:"callback,optional"`
  386. }
  387. // 刷新登陆二维码返回参数
  388. // swagger:model RefreshLoginQRResp
  389. type RefreshLoginQRResp struct {
  390. BaseDataInfo
  391. // 二维码Base64
  392. Data LoginQRStatus `json:"data,optional"`
  393. }
  394. // 发送微信文本消息请求参数
  395. // swagger:model SendTextMsgReq
  396. type SendTextMsgReq struct {
  397. // 属主微信id
  398. WxWxid *string `json:"senderWxId"`
  399. // 微信id 公众号微信ID
  400. Wxid *string `json:"receiverWxId"`
  401. // 微信文本消息内容
  402. Msg *string `json:"msg"`
  403. }
  404. // 发送微信图片消息请求参数
  405. // swagger:model SendPicMsgReq
  406. type SendPicMsgReq struct {
  407. // 属主微信id
  408. WxWxid *string `json:"wxWxid"`
  409. // 微信id 公众号微信ID
  410. Wxid *string `json:"wxid"`
  411. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  412. Picpath *string `json:"picpath"`
  413. // 微信图片自定义名称(此属性只有网络图片有)
  414. Diyfilename *string `json:"diyfilename,optional"`
  415. }
  416. // 发送微信图片(本地)请求参数
  417. // swagger:model SendPicMsgLocalReq
  418. type SendPicMsgLocalReq struct {
  419. // 属主微信id
  420. WxWxid *string `json:"wxWxid"`
  421. // 微信id 公众号微信ID
  422. Wxid *string `json:"wxid"`
  423. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  424. Picpath *string `json:"picpath"`
  425. }
  426. // The response data of contact list | Contact列表数据
  427. // swagger:model ContactListResp
  428. type ContactListResp struct {
  429. BaseDataInfo
  430. // Contact list data | Contact列表数据
  431. Data ContactListInfo `json:"data"`
  432. }
  433. // Contact list data | Contact列表数据
  434. // swagger:model ContactListInfo
  435. type ContactListInfo struct {
  436. BaseListInfo
  437. // The API list data | Contact列表数据
  438. Data []ContactInfo `json:"data"`
  439. }
  440. // Get contact list request params | Contact列表请求参数
  441. // swagger:model ContactListReq
  442. type ContactListReq struct {
  443. PageInfo
  444. // Label ID list | 标签ID列表
  445. LabelIDs []uint64 `json:"labelIDs,optional"`
  446. // 属主微信id
  447. WxWxid *string `json:"wxWxid,optional"`
  448. // 微信id 公众号微信ID
  449. Wxid *string `json:"wxid,optional"`
  450. // 微信账号
  451. Account *string `json:"account,optional"`
  452. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  453. Type *int `json:"type,optional"`
  454. }
  455. // Contact information response | Contact信息返回体
  456. // swagger:model ContactInfoResp
  457. type ContactInfoResp struct {
  458. BaseDataInfo
  459. // Contact information | Contact数据
  460. Data ContactInfo `json:"data"`
  461. }
  462. // swagger:model AddNewFriendReq
  463. type AddNewFriendReq struct {
  464. OwnerWxid string `json:"ownerWxid"`
  465. Wxid string `json:"wxid"`
  466. Gid string `json:"gid"`
  467. Desc string `json:"desc"`
  468. AddType string `json:"addType"`
  469. }
  470. // ContactLabelList | Contact标签列表
  471. type ContactLabelList struct {
  472. // label
  473. Label *string `json:"label,optional"`
  474. // value
  475. Value *uint64 `json:"value,optional"`
  476. }
  477. // The response data of contact information | Contact信息
  478. // swagger:model ContactInfo
  479. type ContactInfo struct {
  480. BaseIDInfo
  481. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  482. Status *uint8 `json:"status,optional"`
  483. // 属主微信id
  484. WxWxid *string `json:"wxWxid,optional"`
  485. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  486. Type *int `json:"type,optional"`
  487. // 微信id 公众号微信ID
  488. Wxid *string `json:"wxid,optional"`
  489. // 微信账号
  490. Account *string `json:"account,optional"`
  491. // 微信昵称 群备注名称
  492. Nickname *string `json:"nickname,optional"`
  493. // 备注名
  494. Markname *string `json:"markname,optional"`
  495. // 头像
  496. Headimg *string `json:"headimg,optional"`
  497. // 性别 0未知 1男 2女
  498. Sex *int `json:"sex,optional"`
  499. // 星标 65/67=星标 1/3=未星标
  500. Starrole *string `json:"starrole,optional"`
  501. // 不让他看我的朋友圈 0可以看 1不让看
  502. Dontseeit *int `json:"dontseeit,optional"`
  503. // 不看他的朋友圈 0可以看 1不看 1=开启了不看他 128/129=仅聊天
  504. Dontseeme *int `json:"dontseeme,optional"`
  505. // 所属标签id清单,多开会用逗号隔开
  506. Lag *string `json:"lag,optional"`
  507. // 群组id
  508. Gid *string `json:"gid,optional"`
  509. // 群组名称
  510. Gname *string `json:"gname,optional"`
  511. // v3数据
  512. V3 *string `json:"v3,optional"`
  513. // Label Relationships | 标签关系
  514. LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
  515. // 组织ID
  516. OrganizationId *uint64 `json:"organizationId,optional"`
  517. }
  518. // The response data of label information | Label信息
  519. // swagger:model LabelInfo
  520. type LabelInfo struct {
  521. BaseIDInfo
  522. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  523. Status *uint8 `json:"status,optional"`
  524. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  525. Type *int `json:"type,optional"`
  526. // 标签名称
  527. Name *string `json:"name,optional"`
  528. // 标签来源:1后台创建 2个微同步
  529. From *int `json:"from,optional"`
  530. // 标签模式:1动态 2静态
  531. Mode *int `json:"mode,optional"`
  532. // 标签的触达条件
  533. Conditions *string `json:"conditions,optional"`
  534. // 组织ID
  535. OrganizationId *uint64 `json:"organizationId,optional"`
  536. // Label Relationships | 标签关系
  537. LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
  538. }
  539. // The response data of label relationship information | LabelRelationship信息
  540. // swagger:model LabelRelationshipInfo
  541. type LabelRelationshipInfo struct {
  542. BaseIDInfo
  543. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  544. Status *uint8 `json:"status,optional"`
  545. // 标签 ID
  546. LabelId *uint64 `json:"labelId,optional"`
  547. // 联系人 ID
  548. ContactId *uint64 `json:"contactId,optional"`
  549. // Contact information | 联系人信息
  550. Contact ContactInfo `json:"contact,optional"`
  551. // Label information | 标签信息
  552. Label LabelInfo `json:"label,optional"`
  553. // 组织ID
  554. OrganizationId *uint64 `json:"organizationId,optional"`
  555. }
  556. // The response data of label relationship information | LabelRelationship信息
  557. // swagger:model LabelRelationshipsInfo
  558. type LabelRelationshipsInfo struct {
  559. BaseIDInfo
  560. // 更新类型:为空或“all”时表示全量更新,为 “add” 时表示仅追加
  561. UpdateType *string `json:"updateType,optional"`
  562. // 标签 ID
  563. LabelIds []uint64 `json:"labelIds,optional"`
  564. // 联系人 ID
  565. ContactId *uint64 `json:"contactId,optional"`
  566. }
  567. // swagger:model BatchLabelRelationshipsInfo
  568. type BatchLabelRelationshipsInfo struct {
  569. // 更新类型:为1 时表示增加标签,为 -1 时表示移除标签
  570. UpdateType int `json:"updateType,optional"`
  571. // 标签 ID
  572. LabelIds []uint64 `json:"labelIds,optional"`
  573. // 联系人 ID
  574. ContactIds []uint64 `json:"contactIds,optional"`
  575. }
  576. // The response data of label relationship list | LabelRelationship列表数据
  577. // swagger:model LabelRelationshipListResp
  578. type LabelRelationshipListResp struct {
  579. BaseDataInfo
  580. // LabelRelationship list data | LabelRelationship列表数据
  581. Data LabelRelationshipListInfo `json:"data"`
  582. }
  583. // LabelRelationship list data | LabelRelationship列表数据
  584. // swagger:model LabelRelationshipListInfo
  585. type LabelRelationshipListInfo struct {
  586. BaseListInfo
  587. // The API list data | LabelRelationship列表数据
  588. Data []LabelRelationshipInfo `json:"data"`
  589. }
  590. // Get label relationship list request params | LabelRelationship列表请求参数
  591. // swagger:model LabelRelationshipListReq
  592. type LabelRelationshipListReq struct {
  593. PageInfo
  594. }
  595. // LabelRelationship information response | LabelRelationship信息返回体
  596. // swagger:model LabelRelationshipInfoResp
  597. type LabelRelationshipInfoResp struct {
  598. BaseDataInfo
  599. // LabelRelationship information | LabelRelationship数据
  600. Data LabelRelationshipInfo `json:"data"`
  601. }
  602. // The response data of message information | Message信息
  603. // swagger:model MessageInfo
  604. type MessageInfo struct {
  605. BaseIDInfo
  606. // 属主微信id
  607. WxWxid *string `json:"wxWxid"`
  608. // 微信id 公众号微信ID
  609. Wxid *string `json:"wxid"`
  610. // 微信消息内容
  611. Msg *string `json:"msg"`
  612. }
  613. // The response data of message list | Message列表数据
  614. // swagger:model MessageListResp
  615. type MessageListResp struct {
  616. BaseDataInfo
  617. // Message list data | Message列表数据
  618. Data MessageListInfo `json:"data"`
  619. }
  620. // Message list data | Message列表数据
  621. // swagger:model MessageListInfo
  622. type MessageListInfo struct {
  623. BaseListInfo
  624. // The API list data | Message列表数据
  625. Data []MessageInfo `json:"data"`
  626. }
  627. // Get message list request params | Message列表请求参数
  628. // swagger:model MessageListReq
  629. type MessageListReq struct {
  630. PageInfo
  631. // 属主微信id
  632. WxWxid *string `json:"wxWxid,optional"`
  633. // 微信id 公众号微信ID
  634. Wxid *string `json:"wxid,optional"`
  635. }
  636. // Message information response | Message信息返回体
  637. // swagger:model MessageInfoResp
  638. type MessageInfoResp struct {
  639. BaseDataInfo
  640. // Message information | Message数据
  641. Data MessageInfo `json:"data"`
  642. }
  643. // The response data of label list | Label列表数据
  644. // swagger:model LabelSelectListResp
  645. type LabelSelectListResp struct {
  646. BaseDataInfo
  647. // Label list data | Label列表数据
  648. Data []LabelSelectListInfo `json:"data"`
  649. }
  650. // The response data of label list | Label列表数据
  651. // swagger:model LabelListResp
  652. type LabelListResp struct {
  653. BaseDataInfo
  654. // Label list data | Label列表数据
  655. Data LabelListInfo `json:"data"`
  656. }
  657. // Label list data | Label列表数据
  658. // swagger:model LabelListInfo
  659. type LabelListInfo struct {
  660. BaseListInfo
  661. // The API list data | Label列表数据
  662. Data []LabelInfo `json:"data"`
  663. }
  664. // Get label list request params | Label列表请求参数
  665. // swagger:model LabelListReq
  666. type LabelListReq struct {
  667. PageInfo
  668. // Label ID list | Label ID列表
  669. LabelIDs []uint64 `json:"labelIDs,optional"`
  670. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  671. Type *int `json:"type,optional"`
  672. // 标签名称
  673. Name *string `json:"name,optional"`
  674. // 标签来源:1后台创建 2个微同步
  675. From *int `json:"from,optional"`
  676. // 标签模式:1动态 2静态
  677. Mode *int `json:"mode,optional"`
  678. }
  679. // Label information response | Label信息返回体
  680. // swagger:model LabelInfoResp
  681. type LabelInfoResp struct {
  682. BaseDataInfo
  683. // Label information | Label数据
  684. Data LabelInfo `json:"data"`
  685. }
  686. // swagger:model LabelSelectListInfo
  687. type LabelSelectListInfo struct {
  688. // label
  689. Label *string `json:"label,optional"`
  690. // value
  691. Value *uint64 `json:"value,optional"`
  692. }
  693. // The response data of sop task list | SopTask列表数据
  694. // swagger:model SopTaskListResp
  695. type SopTaskListResp struct {
  696. BaseDataInfo
  697. // SopTask list data | SopTask列表数据
  698. Data SopTaskListInfo `json:"data"`
  699. }
  700. // The response data of sop task record list | SopTask列表数据
  701. // swagger:model SopTaskRecordListResp
  702. type SopTaskRecordListResp struct {
  703. BaseDataInfo
  704. // SopTask list data | SopTask列表数据
  705. Data []SopTaskRecordInfo `json:"data"`
  706. }
  707. // SopTask list data | SopTask列表数据
  708. // swagger:model SopTaskRecordInfo
  709. type SopTaskRecordInfo struct {
  710. // NodeId 节点ID
  711. SourceType *int `json:"sourceType,optional"`
  712. // NodeId 节点ID
  713. SourceId *uint64 `json:"sourceId,optional"`
  714. // 节点名称
  715. Name *string `json:"name,optional"`
  716. // 消息总数
  717. TotalCount *int64 `json:"totalCount,optional"`
  718. // 成功数
  719. SuccessCount *int64 `json:"successCount,optional"`
  720. // 失败数
  721. FailureCount *int64 `json:"failureCount,optional"`
  722. // 成功率
  723. SuccessRate *int64 `json:"successRate,optional"`
  724. }
  725. // SopTask list data | SopTask列表数据
  726. // swagger:model SopTaskListInfo
  727. type SopTaskListInfo struct {
  728. BaseListInfo
  729. // The API list data | SopTask列表数据
  730. Data []SopTaskInfo `json:"data"`
  731. }
  732. // Get sop task list request params | SopTask列表请求参数
  733. // swagger:model SopTaskListReq
  734. type SopTaskListReq struct {
  735. PageInfo
  736. // SOP 任务名称
  737. Name *string `json:"name,optional"`
  738. // 创建者 id
  739. CreatorId *string `json:"creatorId,optional"`
  740. }
  741. // SopTask information response | SopTask信息返回体
  742. // swagger:model SopTaskInfoResp
  743. type SopTaskInfoResp struct {
  744. BaseDataInfo
  745. // SopTask information | SopTask数据
  746. Data SopTaskInfo `json:"data"`
  747. }
  748. // SopTask create response | SopTask创建回体
  749. // swagger:model SopTaskCreateResp
  750. type SopTaskCreateResp struct {
  751. BaseDataInfo
  752. // SopTask id | SopTask id
  753. Data uint64 `json:"data"`
  754. }
  755. // The response data of sop stage information | SopStage信息
  756. // swagger:model SopStageInfo
  757. type SopStageInfo struct {
  758. BaseIDInfo
  759. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  760. Status *uint8 `json:"status,optional"`
  761. // SOP 任务 ID
  762. TaskId *uint64 `json:"taskId,optional"`
  763. // 阶段名称
  764. Name *string `json:"name,optional"`
  765. // 客群筛选条件类型 1 按标签筛选 2 按客户基本信息筛选
  766. ConditionType *int `json:"conditionType,optional"`
  767. // 筛选条件关系 1 满足所有条件(and) 2 满足任意条件(or)
  768. ConditionOperator *int `json:"conditionOperator,optional"`
  769. // 筛选条件列表
  770. ConditionList []Condition `json:"conditionList,optional"`
  771. // 命中后发送的消息内容
  772. ActionMessage []Action `json:"actionMessage,optional"`
  773. // 命中后需要打的标签
  774. ActionLabel []uint64 `json:"actionLabel,optional"`
  775. // 阶段顺序
  776. IndexSort *int `json:"indexSort,optional"`
  777. // sop 任务信息
  778. TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
  779. // node 信息
  780. NodeList []SopNodeInfo `json:"nodeList,optional"`
  781. }
  782. // The response data of sop task information | SopTask信息
  783. // swagger:model SopTaskInfo
  784. type SopTaskInfo struct {
  785. BaseIDInfo
  786. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  787. Status *uint8 `json:"status,optional"`
  788. // SOP 任务名称
  789. Name *string `json:"name,optional"`
  790. // 机器人微信 id 列表
  791. BotWxidList []string `json:"botWxidList,optional"`
  792. // 标签类型:1好友,2群组,3企业微信联系人
  793. Type *int `json:"type,optional"`
  794. // 任务计划开始时间
  795. PlanStartTime *int64 `json:"planStartTime,optional"`
  796. // 任务计划结束时间
  797. PlanEndTime *int64 `json:"planEndTime,optional"`
  798. // 创建者 id
  799. CreatorId *string `json:"creatorId,optional"`
  800. // 阶段信息
  801. StageList []SopStageInfo `json:"stageList,optional"`
  802. // 组织ID
  803. OrganizationId *uint64 `json:"organizationId,optional"`
  804. }
  805. // The response data of sop node information | SopNode信息
  806. // swagger:model SopNodeInfo
  807. type SopNodeInfo struct {
  808. BaseIDInfo
  809. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  810. Status *uint8 `json:"status,optional"`
  811. // 阶段 ID
  812. StageId *uint64 `json:"stageId,optional"`
  813. // 父节点 ID
  814. ParentId *uint64 `json:"parentId,optional"`
  815. // 节点名称
  816. Name *string `json:"name,optional"`
  817. // 触发条件类型 1 客户回复后触发 2 超时后触发
  818. ConditionType *int `json:"conditionType,optional"`
  819. // 触发语义列表 当为空时则代表用户回复任意内容后触发
  820. ConditionList []string `json:"conditionList,optional"`
  821. // 超时触发时间(分钟)
  822. NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
  823. // 命中后发送的消息内容
  824. ActionMessage []Action `json:"actionMessage,optional"`
  825. // 命中后需要打的标签
  826. ActionLabel []uint64 `json:"actionLabel,optional"`
  827. // 阶段信息
  828. StageInfo *SopStageInfo `json:"stageInfo,optional"`
  829. }
  830. // The response data of sop stage list | SopStage列表数据
  831. // swagger:model SopStageListResp
  832. type SopStageListResp struct {
  833. BaseDataInfo
  834. // SopStage list data | SopStage列表数据
  835. Data SopStageListInfo `json:"data"`
  836. }
  837. // SopStage list data | SopStage列表数据
  838. // swagger:model SopStageListInfo
  839. type SopStageListInfo struct {
  840. BaseListInfo
  841. // The API list data | SopStage列表数据
  842. Data []SopStageInfo `json:"data"`
  843. }
  844. // Get sop stage list request params | SopStage列表请求参数
  845. // swagger:model SopStageListReq
  846. type SopStageListReq struct {
  847. TaskId *uint64 `json:"taskId"`
  848. }
  849. // SopStage information response | SopStage信息返回体
  850. // swagger:model SopStageInfoResp
  851. type SopStageInfoResp struct {
  852. BaseDataInfo
  853. // SopStage information | SopStage数据
  854. Data SopStageInfo `json:"data"`
  855. }
  856. // SopStage create response | SopStage创建回体
  857. // swagger:model SopStageCreateResp
  858. type SopStageCreateResp struct {
  859. BaseDataInfo
  860. // SopStage id | SopStage id
  861. Data uint64 `json:"data"`
  862. }
  863. // Move sop stage request params | 移动阶段请求参数
  864. // swagger:model SopStageMoveReq
  865. type SopStageMoveReq struct {
  866. BaseIDInfo
  867. // 阶段名称
  868. Offset *int `json:"offset,optional"`
  869. }
  870. // The response data of sop node list | SopNode列表数据
  871. // swagger:model SopNodeListResp
  872. type SopNodeListResp struct {
  873. BaseDataInfo
  874. // SopNode list data | SopNode列表数据
  875. Data []*SopChildNodeInfo `json:"data"`
  876. }
  877. // SopNode list data | SopNode列表数据
  878. // swagger:model SopChildNodeInfo
  879. type SopChildNodeInfo struct {
  880. NodeName *string `json:"nodeName,optional"`
  881. ChildNode *SopChildNodeInfo `json:"childNode,optional"`
  882. // The API list data | SopNode列表数据
  883. ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
  884. SopNodeInfo
  885. }
  886. // SopNode list data | SopNode列表数据
  887. // swagger:model SopNodeListInfo
  888. type SopNodeListInfo struct {
  889. BaseListInfo
  890. // The API list data | SopNode列表数据
  891. Data []SopNodeInfo `json:"data"`
  892. }
  893. // Get sop node list request params | SopNode列表请求参数
  894. // swagger:model SopNodeListReq
  895. type SopNodeListReq struct {
  896. StageId *uint64 `json:"stageId"`
  897. }
  898. // SopNode information response | SopNode信息返回体
  899. // swagger:model SopNodeInfoResp
  900. type SopNodeInfoResp struct {
  901. BaseDataInfo
  902. // SopNode information | SopNode数据
  903. Data SopNodeInfo `json:"data"`
  904. }
  905. // SopNode create response | SopNode创建返回体
  906. // swagger:model SopNodeCreateResp
  907. type SopNodeCreateResp struct {
  908. BaseDataInfo
  909. // SopNode id | SopNode id
  910. Data uint64 `json:"data"`
  911. }
  912. // The response data of message records information | MessageRecords信息
  913. // swagger:model MessageRecordsInfo
  914. type MessageRecordsInfo struct {
  915. BaseIDInfo
  916. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  917. Status *uint8 `json:"status,optional"`
  918. // 机器人微信 id
  919. BotWxid *string `json:"botWxid,optional"`
  920. // 联系人 id
  921. ContactId *uint64 `json:"contactId,optional"`
  922. // 类型:1好友,2群组,3企业微信联系人
  923. ContactType *int `json:"contactType,optional"`
  924. // 接收方微信 id
  925. ContactWxid *string `json:"contactWxid,optional"`
  926. // 内容类型 1 文本 2 文件
  927. ContentType *int `json:"contentType,optional"`
  928. // 发送内容
  929. Content *string `json:"content,optional"`
  930. // 元数据
  931. Meta *Meta `json:"meta,optional"`
  932. // 异常原因
  933. ErrorDetail *string `json:"errorDetail,optional"`
  934. // 发送时间
  935. SendTime *int64 `json:"sendTime,optional"`
  936. // 源类型 1 点发 2 群发 3 SOP
  937. SourceType *int `json:"sourceType,optional"`
  938. // 源 ID
  939. SourceId *uint64 `json:"sourceId,optional"`
  940. // 次源 ID
  941. SubSourceId *uint64 `json:"subSourceId,optional"`
  942. // 组织ID
  943. OrganizationId *uint64 `json:"organizationId,optional"`
  944. }
  945. // The response data of message records list | MessageRecords列表数据
  946. // swagger:model MessageRecordsListResp
  947. type MessageRecordsListResp struct {
  948. BaseDataInfo
  949. // MessageRecords list data | MessageRecords列表数据
  950. Data MessageRecordsListInfo `json:"data"`
  951. }
  952. // MessageRecords list data | MessageRecords列表数据
  953. // swagger:model MessageRecordsListInfo
  954. type MessageRecordsListInfo struct {
  955. BaseListInfo
  956. // The API list data | MessageRecords列表数据
  957. Data []MessageRecordsInfo `json:"data"`
  958. }
  959. // Get message records list request params | MessageRecords列表请求参数
  960. // swagger:model MessageRecordsListReq
  961. type MessageRecordsListReq struct {
  962. PageInfo
  963. // 群发消息ID
  964. BatchMsgId *uint64 `json:"batchMsgId,optional"`
  965. // 机器人微信 id
  966. BotWxid *string `json:"botWxid,optional"`
  967. // 接收方微信 id
  968. ContactWxid *string `json:"contactWxid,optional"`
  969. // 发送内容
  970. Status *uint8 `json:"status,optional"`
  971. }
  972. // MessageRecords information response | MessageRecords信息返回体
  973. // swagger:model MessageRecordsInfoResp
  974. type MessageRecordsInfoResp struct {
  975. BaseDataInfo
  976. // MessageRecords information | MessageRecords数据
  977. Data MessageRecordsInfo `json:"data"`
  978. }
  979. // The response data of chatroom member information | ChatroomMember信息
  980. // swagger:model ChatroomMemberInfo
  981. type ChatroomMemberInfo struct {
  982. // 名称
  983. Wxid *string `json:"wxid,optional"`
  984. // 群组
  985. ChatRoom *string `json:"chatRoom,optional"`
  986. // 属主Wxid
  987. OwnerWxid *string `json:"ownerWxid,optional"`
  988. // 账号
  989. Account *string `json:"account,optional"`
  990. }
  991. // The response data of chatroom member list | ChatroomMember列表数据
  992. // swagger:model ChatroomMemberListResp
  993. type ChatroomMemberListResp struct {
  994. BaseDataInfo
  995. // chatroom member list data | chatroom member 列表数据
  996. Data ChatroomMemberListInfo `json:"data"`
  997. }
  998. // chatroom member list data | chatroom member列表数据
  999. // swagger:model ChatroomMemberListInfo
  1000. type ChatroomMemberListInfo struct {
  1001. BaseListInfo
  1002. // The API list data | chatroom member列表数据
  1003. Data []ChatroomMemberInfo `json:"data"`
  1004. }
  1005. // Get chatroom member list request params | ChatroomMember列表请求参数
  1006. // swagger:model ChatroomMemberListReq
  1007. type ChatroomMemberListReq struct {
  1008. PageInfo
  1009. // 属主Wxid
  1010. OwnerWxid *string `json:"ownerWxid,optional"`
  1011. // 群组
  1012. ChatRoom *string `json:"chatRoom,optional"`
  1013. }
  1014. // chatroom member information response | ChatroomMember信息返回体
  1015. // swagger:model ChatroomMemberInfoResp
  1016. type ChatroomMemberInfoResp struct {
  1017. BaseDataInfo
  1018. // Server information | Server数据
  1019. Data ChatroomMemberInfo `json:"data"`
  1020. }
  1021. // The response data of user information | 用户信息
  1022. // swagger:model UserInfo
  1023. type UserInfo struct {
  1024. BaseUUIDInfo
  1025. // Status | 状态
  1026. // max : 20
  1027. Status *uint32 `json:"status,optional" validate:"omitempty,lt=20"`
  1028. // Username | 用户名
  1029. // max length : 50
  1030. Username *string `json:"username,optional" validate:"omitempty,max=50"`
  1031. // Nickname | 昵称
  1032. // max length : 40
  1033. Nickname *string `json:"nickname,optional" validate:"omitempty,max=40"`
  1034. // Password | 密码
  1035. // min length : 6
  1036. Password *string `json:"password,optional" validate:"omitempty,min=6"`
  1037. // Description | 描述
  1038. // max length : 100
  1039. Description *string `json:"description,optional" validate:"omitempty,max=100"`
  1040. // HomePath | 首页
  1041. // max length : 70
  1042. HomePath *string `json:"homePath,optional" validate:"omitempty,max=70"`
  1043. // RoleId | 角色ID
  1044. RoleIds []uint64 `json:"roleIds,optional"`
  1045. // Mobile | 手机号
  1046. // max length : 18
  1047. Mobile *string `json:"mobile,optional" validate:"omitempty,max=18"`
  1048. // Email | 邮箱
  1049. // max length : 80
  1050. Email *string `json:"email,optional" validate:"omitempty,max=80"`
  1051. // Avatar | 头像地址
  1052. // max length : 300
  1053. Avatar *string `json:"avatar,optional" validate:"omitempty,max=300"`
  1054. // Department ID | 部门ID
  1055. DepartmentId *uint64 `json:"departmentId,optional,omitempty"`
  1056. // Position ID | 职位ID
  1057. PositionIds []uint64 `json:"positionId,optional,omitempty"`
  1058. }
  1059. // User information response | 用户信息返回体
  1060. // swagger:model UserInfoResp
  1061. type UserInfoResp struct {
  1062. BaseDataInfo
  1063. // User information | User数据
  1064. Data UserInfo `json:"data"`
  1065. }
  1066. // The response data of user's basic information | 用户基本信息返回数据
  1067. // swagger:model UserBaseIDInfoResp
  1068. type UserBaseIDInfoResp struct {
  1069. BaseDataInfo
  1070. // The data of user's basic information | 用户基本信息
  1071. Data UserBaseIDInfo `json:"data"`
  1072. }
  1073. // The data of user's basic information | 用户基本信息
  1074. // swagger:model UserBaseIDInfo
  1075. type UserBaseIDInfo struct {
  1076. // User's UUID | 用户的UUID
  1077. UUID *string `json:"userId"`
  1078. // User's name | 用户名
  1079. Username *string `json:"username"`
  1080. // User's nickname | 用户的昵称
  1081. Nickname *string `json:"nickname"`
  1082. // The user's avatar path | 用户的头像路径
  1083. Avatar *string `json:"avatar"`
  1084. // The home page that the user enters after logging in | 用户登陆后进入的首页
  1085. HomePath *string `json:"homePath"`
  1086. // The description of user | 用户的描述信息
  1087. Description *string `json:"desc"`
  1088. // User's Role Name | 用户的角色名称
  1089. RoleName []string `json:"roleName"`
  1090. // Department Name | 部门名称
  1091. DepartmentName string `json:"departmentName,optional"`
  1092. // Department Name | 部门备注
  1093. DepartmentRemark string `json:"departmentRemark,optional"`
  1094. }
  1095. // swagger:model WxidReq
  1096. type WxidReq struct {
  1097. Wxid string `json:"wxid"`
  1098. }
  1099. // The data of batch msg information | BatchMsg信息
  1100. // swagger:model BatchMsgInfo
  1101. type BatchMsgInfo struct {
  1102. BaseIDInfo
  1103. // 状态 0 未开始 1 开始发送 2 发送完成 3 发送中止
  1104. Status *uint8 `json:"status,optional"`
  1105. // 批次号
  1106. BatchNo *string `json:"batchNo,optional"`
  1107. // 任务名称
  1108. TaskName *string `json:"taskName,optional"`
  1109. // 发送方微信ID
  1110. Fromwxid *string `json:"fromwxid,optional"`
  1111. // 内容
  1112. Msg *string `json:"msg,optional"`
  1113. // 发送规则 all 全部 tag1,tag2 按tag发送
  1114. Tag *string `json:"tag,optional"`
  1115. // 总数
  1116. Total *int32 `json:"total,optional"`
  1117. // 成功数量
  1118. Success *int32 `json:"success,optional"`
  1119. // 失败数量
  1120. Fail *int32 `json:"fail,optional"`
  1121. // 开始时间
  1122. StartTime *int64 `json:"startTime,optional"`
  1123. StartTimeStr *string `json:"startTimeStr,optional"`
  1124. // 结束时间
  1125. StopTime *int64 `json:"stopTime,optional"`
  1126. // 发送时间
  1127. SendTime *int64 `json:"sendTime,optional"`
  1128. SendTimeStr *string `json:"sendTimeStr,optional"`
  1129. // 标签列表
  1130. Labels []string `json:"labels,optional"`
  1131. // 标签列表
  1132. Type *int32 `json:"type,optional"`
  1133. }
  1134. // The response data of batch msg list | BatchMsg列表数据
  1135. // swagger:model BatchMsgListResp
  1136. type BatchMsgListResp struct {
  1137. BaseDataInfo
  1138. // BatchMsg list data | BatchMsg列表数据
  1139. Data BatchMsgListInfo `json:"data"`
  1140. }
  1141. // BatchMsg list data | BatchMsg列表数据
  1142. // swagger:model BatchMsgListInfo
  1143. type BatchMsgListInfo struct {
  1144. BaseListInfo
  1145. // The API list data | BatchMsg列表数据
  1146. Data []BatchMsgInfo `json:"data"`
  1147. }
  1148. // Get batch msg list request params | BatchMsg列表请求参数
  1149. // swagger:model BatchMsgListReq
  1150. type BatchMsgListReq struct {
  1151. PageInfo
  1152. // 批次号
  1153. BatchNo *string `json:"batchNo,optional"`
  1154. // 发送方微信ID
  1155. Fromwxid *string `json:"fromwxid,optional"`
  1156. // 内容
  1157. Msg *string `json:"msg,optional"`
  1158. // 任务名称
  1159. TaskName *string `json:"taskName,optional"`
  1160. // 群发类型
  1161. Type *int32 `json:"type"`
  1162. }
  1163. // BatchMsg information response | BatchMsg信息返回体
  1164. // swagger:model BatchMsgInfoResp
  1165. type BatchMsgInfoResp struct {
  1166. BaseDataInfo
  1167. // BatchMsg information | BatchMsg数据
  1168. Data BatchMsgInfo `json:"data"`
  1169. }
  1170. // The data of employee information | Employee信息
  1171. // swagger:model EmployeeInfo
  1172. type EmployeeInfo struct {
  1173. BaseIDInfo
  1174. // title | 标题
  1175. Title *string `json:"title,optional"`
  1176. // avatar | 头像
  1177. Avatar *string `json:"avatar,optional"`
  1178. // tags | 个人标签
  1179. Tags *string `json:"tags,optional"`
  1180. // hire_count | 被雇佣次数
  1181. HireCount *int `json:"hireCount,optional"`
  1182. // service_count | 已服务次数
  1183. ServiceCount *int `json:"serviceCount,optional"`
  1184. // achievement_count | 业绩单数
  1185. AchievementCount *int `json:"achievementCount,optional"`
  1186. // intro | 个人介绍
  1187. Intro *string `json:"intro,optional"`
  1188. // estimate | 自我评价
  1189. Estimate *string `json:"estimate,optional"`
  1190. // skill | 技能卡
  1191. Skill *string `json:"skill,optional"`
  1192. // ability_type | 能力类型
  1193. AbilityType *string `json:"abilityType,optional"`
  1194. // scene | 使用场景
  1195. Scene *string `json:"scene,optional"`
  1196. // switch_in | 支持介入
  1197. SwitchIn *string `json:"switchIn,optional"`
  1198. Tutorial []TutorialInfo `json:"tutorial,optional"`
  1199. // video_url | 视频地址
  1200. VideoUrl *string `json:"videoUrl,optional"`
  1201. // work_experience | 工作经验
  1202. WorkExperience []WorkExperienceInfo `json:"workExperience,optional"`
  1203. }
  1204. // The response data of employee list | Employee列表数据
  1205. // swagger:model EmployeeListResp
  1206. type EmployeeListResp struct {
  1207. BaseDataInfo
  1208. // Employee list data | Employee列表数据
  1209. Data EmployeeListInfo `json:"data"`
  1210. }
  1211. // Employee list data | Employee列表数据
  1212. // swagger:model EmployeeListInfo
  1213. type EmployeeListInfo struct {
  1214. BaseListInfo
  1215. // The API list data | Employee列表数据
  1216. Data []EmployeeInfo `json:"data"`
  1217. }
  1218. // Get employee list request params | Employee列表请求参数
  1219. // swagger:model EmployeeListReq
  1220. type EmployeeListReq struct {
  1221. PageInfo
  1222. // title | 标题
  1223. Title *string `json:"title,optional"`
  1224. // tags | 个人标签
  1225. Tags *string `json:"tags,optional"`
  1226. }
  1227. // Employee information response | Employee信息返回体
  1228. // swagger:model EmployeeInfoResp
  1229. type EmployeeInfoResp struct {
  1230. BaseDataInfo
  1231. // Employee information | Employee数据
  1232. Data EmployeeInfo `json:"data"`
  1233. }
  1234. // The data of work experience information | WorkExperience信息
  1235. // swagger:model WorkExperienceInfo
  1236. type WorkExperienceInfo struct {
  1237. BaseIDInfo
  1238. // employee_id | 员工ID
  1239. EmployeeId *uint64 `json:"employeeId,optional"`
  1240. // start_date | 开始时间
  1241. StartDate *int64 `json:"startDate,optional"`
  1242. StartDateStr *string `json:"startDateStr,optional"`
  1243. // end_date | 结束时间
  1244. EndDate *int64 `json:"endDate,optional"`
  1245. EndDateStr *string `json:"endDateStr,optional"`
  1246. // company | 公司名
  1247. Company *string `json:"company,optional"`
  1248. // experience | 工作内容
  1249. Experience *string `json:"experience,optional"`
  1250. }
  1251. // The response data of work experience list | WorkExperience列表数据
  1252. // swagger:model WorkExperienceListResp
  1253. type WorkExperienceListResp struct {
  1254. BaseDataInfo
  1255. // WorkExperience list data | WorkExperience列表数据
  1256. Data WorkExperienceListInfo `json:"data"`
  1257. }
  1258. // WorkExperience list data | WorkExperience列表数据
  1259. // swagger:model WorkExperienceListInfo
  1260. type WorkExperienceListInfo struct {
  1261. BaseListInfo
  1262. // The API list data | WorkExperience列表数据
  1263. Data []WorkExperienceInfo `json:"data"`
  1264. }
  1265. // Get work experience list request params | WorkExperience列表请求参数
  1266. // swagger:model WorkExperienceListReq
  1267. type WorkExperienceListReq struct {
  1268. PageInfo
  1269. // company | 公司名
  1270. Company *string `json:"company,optional"`
  1271. }
  1272. // WorkExperience information response | WorkExperience信息返回体
  1273. // swagger:model WorkExperienceInfoResp
  1274. type WorkExperienceInfoResp struct {
  1275. BaseDataInfo
  1276. // WorkExperience information | WorkExperience数据
  1277. Data WorkExperienceInfo `json:"data"`
  1278. }
  1279. // The data of tutorial information | Tutorial信息
  1280. // swagger:model TutorialInfo
  1281. type TutorialInfo struct {
  1282. BaseIDInfo
  1283. // employee_id | 员工ID
  1284. EmployeeId *uint64 `json:"employeeId,optional"`
  1285. // index | 序号
  1286. Index *int `json:"index,optional"`
  1287. // title | 标题
  1288. Title *string `json:"title,optional"`
  1289. // content | 内容
  1290. Content *string `json:"content,optional"`
  1291. }
  1292. // The response data of tutorial list | Tutorial列表数据
  1293. // swagger:model TutorialListResp
  1294. type TutorialListResp struct {
  1295. BaseDataInfo
  1296. // Tutorial list data | Tutorial列表数据
  1297. Data TutorialListInfo `json:"data"`
  1298. }
  1299. // Tutorial list data | Tutorial列表数据
  1300. // swagger:model TutorialListInfo
  1301. type TutorialListInfo struct {
  1302. BaseListInfo
  1303. // The API list data | Tutorial列表数据
  1304. Data []TutorialInfo `json:"data"`
  1305. }
  1306. // Get tutorial list request params | Tutorial列表请求参数
  1307. // swagger:model TutorialListReq
  1308. type TutorialListReq struct {
  1309. PageInfo
  1310. // title | 标题
  1311. Title *string `json:"title,optional"`
  1312. // content | 内容
  1313. Content *string `json:"content,optional"`
  1314. }
  1315. // Tutorial information response | Tutorial信息返回体
  1316. // swagger:model TutorialInfoResp
  1317. type TutorialInfoResp struct {
  1318. BaseDataInfo
  1319. // Tutorial information | Tutorial数据
  1320. Data TutorialInfo `json:"data"`
  1321. }