types.go 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448
  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. type ActionForward struct {
  211. Wxid string `json:"wxid"`
  212. Action []Action `json:"action"`
  213. }
  214. // The response data of server information | Server信息
  215. // swagger:model ServerInfo
  216. type ServerInfo struct {
  217. BaseIDInfo
  218. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  219. Status *uint8 `json:"status,optional"`
  220. // 名称
  221. Name *string `json:"name,optional"`
  222. // 公网ip
  223. PublicIp *string `json:"publicIp,optional"`
  224. // 内网ip
  225. PrivateIp *string `json:"privateIp,optional"`
  226. // 管理端口
  227. AdminPort *string `json:"adminPort,optional"`
  228. }
  229. // The response data of server list | Server列表数据
  230. // swagger:model ServerListResp
  231. type ServerListResp struct {
  232. BaseDataInfo
  233. // Server list data | Server列表数据
  234. Data ServerListInfo `json:"data"`
  235. }
  236. // Server list data | Server列表数据
  237. // swagger:model ServerListInfo
  238. type ServerListInfo struct {
  239. BaseListInfo
  240. // The API list data | Server列表数据
  241. Data []ServerInfo `json:"data"`
  242. }
  243. // Get server list request params | Server列表请求参数
  244. // swagger:model ServerListReq
  245. type ServerListReq struct {
  246. PageInfo
  247. // 名称
  248. Name *string `json:"name,optional"`
  249. // 公网ip
  250. PublicIp *string `json:"publicIp,optional"`
  251. // 内网ip
  252. PrivateIp *string `json:"privateIp,optional"`
  253. }
  254. // Server information response | Server信息返回体
  255. // swagger:model ServerInfoResp
  256. type ServerInfoResp struct {
  257. BaseDataInfo
  258. // Server information | Server数据
  259. Data ServerInfo `json:"data"`
  260. }
  261. // The response data of wx information | Wx信息
  262. // swagger:model WxInfo
  263. type WxInfo struct {
  264. BaseIDInfo
  265. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  266. Status *uint8 `json:"status,optional"`
  267. // 服务器id
  268. ServerId *uint64 `json:"serverId,optional"`
  269. // 服务器名称
  270. ServerName *string `json:"serverName,optional"`
  271. // 端口号
  272. Port *string `json:"port,optional"`
  273. // 进程号
  274. ProcessId *string `json:"processId,optional"`
  275. // 回调地址
  276. Callback *string `json:"callback,optional"`
  277. // 微信id
  278. Wxid *string `json:"wxid,optional"`
  279. // 微信账号
  280. Account *string `json:"account,optional"`
  281. // 微信昵称
  282. Nickname *string `json:"nickname,optional"`
  283. // 手机号
  284. Tel *string `json:"tel,optional"`
  285. // 微信头像
  286. HeadBig *string `json:"headBig,optional"`
  287. // 组织ID
  288. OrganizationId *uint64 `json:"organizationId,optional"`
  289. // 组织名称
  290. OrganizationName *string `json:"organizationName,optional"`
  291. // 模式ID
  292. AgentId *uint64 `json:"agentId,optional"`
  293. // 模式信息
  294. AgentInfo *AgentInfo `json:"agentInfo,optional"`
  295. // 大模型服务地址
  296. ApiBase *string `json:"apiBase,optional"`
  297. // 大模型服务密钥
  298. ApiKey *string `json:"apiKey,optional"`
  299. // 白名单
  300. AllowList []ContactInfo `json:"allowList,optional"`
  301. // 群白名单
  302. GroupAllowList []ContactInfo `json:"groupAllowList,optional"`
  303. // 黑名单
  304. BlockList []ContactInfo `json:"blockList,optional"`
  305. // 群黑名单
  306. GroupBlockList []ContactInfo `json:"groupBlockList,optional"`
  307. }
  308. // swagger:model UpdateBlockAndAllowListReq
  309. type UpdateBlockAndAllowListReq struct {
  310. BaseIDInfo
  311. // 白名单
  312. AllowList []string `json:"allowList,optional"`
  313. // 群白名单
  314. GroupAllowList []string `json:"groupAllowList,optional"`
  315. // 黑名单
  316. BlockList []string `json:"blockList,optional"`
  317. // 群黑名单
  318. GroupBlockList []string `json:"groupBlockList,optional"`
  319. }
  320. // The response data of wx list | Wx列表数据
  321. // swagger:model WxListResp
  322. type WxListResp struct {
  323. BaseDataInfo
  324. // Wx list data | Wx列表数据
  325. Data WxListInfo `json:"data"`
  326. }
  327. // Wx list data | Wx列表数据
  328. // swagger:model WxListInfo
  329. type WxListInfo struct {
  330. BaseListInfo
  331. // The API list data | Wx列表数据
  332. Data []WxInfo `json:"data"`
  333. }
  334. // Get wx list request params | Wx列表请求参数
  335. // swagger:model WxListReq
  336. type WxListReq struct {
  337. PageInfo
  338. // 服务器id
  339. ServerId *uint64 `json:"serverId,optional"`
  340. // 租户id
  341. OrganizationId *uint64 `json:"organizationId,optional"`
  342. // 租户名称
  343. OrganizationName *string `json:"organizationName,optional"`
  344. // 端口号
  345. Port *string `json:"port,optional"`
  346. // 进程号
  347. ProcessId *string `json:"processId,optional"`
  348. // 回调地址
  349. Callback *string `json:"callback,optional"`
  350. }
  351. // Wx information response | Wx信息返回体
  352. // swagger:model WxInfoResp
  353. type WxInfoResp struct {
  354. BaseDataInfo
  355. // Wx information | Wx数据
  356. Data WxInfo `json:"data"`
  357. }
  358. // 获取黑白名单列表返回体
  359. // swagger:model AllowBlockListResp
  360. type AllowBlockListResp struct {
  361. BaseDataInfo
  362. // Wx information | Wx数据
  363. Data AllowBlockListRespData `json:"data"`
  364. }
  365. // AllowBlockListRespData
  366. type AllowBlockListRespData struct {
  367. // 白名单
  368. AllowList []*AllowBlockData `json:"allowList,optional"`
  369. // 群白名单
  370. GroupAllowList []*AllowBlockData `json:"groupAllowList,optional"`
  371. // 黑名单
  372. BlockList []*AllowBlockData `json:"blockList,optional"`
  373. // 群黑名单
  374. GroupBlockList []*AllowBlockData `json:"groupBlockList,optional"`
  375. }
  376. // AllowBlockData
  377. type AllowBlockData struct {
  378. // 微信id 公众号微信ID
  379. Wxid string `json:"wxid,optional"`
  380. // 微信昵称 群备注名称
  381. Nickname string `json:"nickname,optional"`
  382. }
  383. // The data of agent information | Agent信息
  384. // swagger:model AgentInfo
  385. type AgentInfo struct {
  386. BaseIDInfo
  387. // name | 角色名称
  388. Name *string `json:"name,optional"`
  389. // role | 角色设定
  390. Role *string `json:"role,optional"`
  391. // status | 状态 1-正常 2-禁用
  392. Status *int `json:"status,optional"`
  393. // background | 背景介绍
  394. Background *string `json:"background,optional"`
  395. // examples | 对话案例
  396. Examples *string `json:"examples,optional"`
  397. DatasetId *string `json:"dataset_id,optional"`
  398. CollectionId *string `json:"collection_id,optional"`
  399. }
  400. // The response data of agent list | Agent列表数据
  401. // swagger:model AgentListResp
  402. type AgentListResp struct {
  403. BaseDataInfo
  404. // Agent list data | Agent列表数据
  405. Data AgentListInfo `json:"data"`
  406. }
  407. // Agent list data | Agent列表数据
  408. // swagger:model AgentListInfo
  409. type AgentListInfo struct {
  410. BaseListInfo
  411. // The API list data | Agent列表数据
  412. Data []AgentInfo `json:"data"`
  413. }
  414. // Get agent list request params | Agent列表请求参数
  415. // swagger:model AgentListReq
  416. type AgentListReq struct {
  417. PageInfo
  418. // name | 角色名称
  419. Name *string `json:"name,optional"`
  420. // role | 角色设定
  421. Role *string `json:"role,optional"`
  422. // background | 背景介绍
  423. Background *string `json:"background,optional"`
  424. // status | 状态 1-可用 2-不可用
  425. Status *int `json:"status,optional"`
  426. }
  427. // Agent information response | Agent信息返回体
  428. // swagger:model AgentInfoResp
  429. type AgentInfoResp struct {
  430. BaseDataInfo
  431. // Agent information | Agent数据
  432. Data AgentInfo `json:"data"`
  433. }
  434. type VectorModel struct {
  435. Model *string `json:"model"`
  436. Name *string `json:"name"`
  437. CharsPointsPrice *uint64 `json:"charsPointsPrice"`
  438. DefaultToken *uint64 `json:"defaultToken"`
  439. MaxToken *uint64 `json:"maxToken"`
  440. Weight *uint64 `json:"weight"`
  441. }
  442. type AgentModel struct {
  443. Model *string `json:"model"`
  444. Name *string `json:"name"`
  445. MaxContext *uint64 `json:"maxContext"`
  446. MaxResponse *uint64 `json:"maxResponse"`
  447. CharsPointsPrice *uint64 `json:"charsPointsPrice"`
  448. }
  449. type DatasetId struct {
  450. ID *string `json:"id"`
  451. ParentID *string `json:"parentId"`
  452. TeamId *string `json:"teamId"`
  453. TmbId *string `json:"tmbId"`
  454. Type *string `json:"type"`
  455. Status *string `json:"status"`
  456. Avatar *string `json:"avatar"`
  457. Name *string `json:"name"`
  458. VectorModel *string `json:"vectorModel"`
  459. AgentModel *string `json:"agentModel"`
  460. Intro *string `json:"intro"`
  461. }
  462. // Dataset info | 知识库详情
  463. // swagger:model DatasetInfo
  464. type DatasetInfo struct {
  465. ID *string `json:"id"`
  466. ParentID *string `json:"parentId"`
  467. TeamId *string `json:"teamId"`
  468. TmbId *string `json:"tmbId"`
  469. Type *string `json:"type"`
  470. Name *string `json:"name"`
  471. Intro *string `json:"intro"`
  472. Status *string `json:"status"`
  473. Avatar *string `json:"avatar"`
  474. VectorModel VectorModel `json:"vectorModel"`
  475. AgentModel AgentModel `json:"agentModel"`
  476. Permission *string `json:"permission"`
  477. CanWrite *bool `json:"canWrite"`
  478. IsOwner *bool `json:"isOwner"`
  479. }
  480. type Index struct {
  481. DefaultIndex *bool `json:"defaultIndex"`
  482. Type *string `json:"type"`
  483. DataId *string `json:"dataId"`
  484. Text *string `json:"text"`
  485. ID *string `json:"id"`
  486. }
  487. // Collection Info | 集合详情
  488. // swagger:model CollectionInfo
  489. type CollectionInfo struct {
  490. ID *string `json:"id"`
  491. ParentID *string `json:"parentId"`
  492. TmbId *string `json:"tmbId,optional"`
  493. Type *string `json:"type"`
  494. Name *string `json:"name"`
  495. DataAmount *uint64 `json:"dataAmount,optional"`
  496. TrainingAmount *uint64 `json:"trainingAmount,optional"`
  497. TrainingType *string `json:"trainingType,optional"`
  498. ChunkSize *uint64 `json:"chunkSize,optional"`
  499. ChunkSplitter *string `json:"chunkSplitter,optional"`
  500. QaPrompt *string `json:"qaPrompt,optional"`
  501. RawTextLength *uint64 `json:"rawTextLength,optional"`
  502. CanWrite *bool `json:"canWrite,optional"`
  503. SourceName *string `json:"sourceName,optional"`
  504. DatasetId DatasetId `json:"datasetId,optional"`
  505. }
  506. // swagger:model CollectionDetailReq
  507. type CollectionDetailReq struct {
  508. ID *string `json:"id"`
  509. }
  510. // swagger:model CollectionInfoResp
  511. type CollectionInfoResp struct {
  512. BaseDataInfo
  513. Data CollectionInfo `json:"data"`
  514. }
  515. // swagger:model DataDetailReq
  516. type DataDetailReq struct {
  517. ID *string `json:"id"`
  518. }
  519. // swagger:model DataDetailResp
  520. type DataDetailResp struct {
  521. BaseDataInfo
  522. Data DataInfo `json:"data"`
  523. }
  524. // swagger:model CollectionSimpleInfo
  525. type CollectionSimpleInfo struct {
  526. ID *string `json:"id"`
  527. ParentID *string `json:"parentId"`
  528. TmbId *string `json:"tmbId,optional"`
  529. Type *string `json:"type"`
  530. Name *string `json:"name"`
  531. DataAmount *uint64 `json:"dataAmount,optional"`
  532. TrainingAmount *uint64 `json:"trainingAmount,optional"`
  533. }
  534. // swagger:model DataInfo
  535. type DataInfo struct {
  536. ID *string `json:"id"`
  537. Q *string `json:"q"`
  538. A *string `json:"a"`
  539. ChunkIndex *uint64 `json:"chunkIndex"`
  540. Indexes []Index `json:"indexes"`
  541. DatasetId *string `json:"datasetId"`
  542. CollectionId *string `json:"collectionId"`
  543. SourceName *string `json:"sourceName"`
  544. CanWrite *bool `json:"canWrite"`
  545. IsOwner *bool `json:"isOwner"`
  546. }
  547. // swagger:model DataSimpleInfo
  548. type DataSimpleInfo struct {
  549. ID *string `json:"id"`
  550. Q *string `json:"q"`
  551. A *string `json:"a"`
  552. ChunkIndex *uint64 `json:"chunkIndex"`
  553. DatasetId *string `json:"datasetId"`
  554. CollectionId *string `json:"collectionId"`
  555. }
  556. // Get collection list request params | Collection列表请求参数
  557. // swagger:model CollectionListReq
  558. type CollectionListReq struct {
  559. // required : true
  560. // min : 0
  561. PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
  562. // required : true
  563. // max : 100000
  564. PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
  565. // required : true
  566. DatasetId *string `json:"datasetId" validate:"required"`
  567. }
  568. // Collection list response | Collection List信息返回体
  569. // swagger:model CollectionListResp
  570. type CollectionListResp struct {
  571. BaseDataInfo
  572. // Agent information | Agent数据
  573. Data []CollectionSimpleInfo `json:"data"`
  574. // required : true
  575. // min : 0
  576. PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
  577. // required : true
  578. // max : 100000
  579. PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
  580. Total *int `json:"total"`
  581. }
  582. // Get collection list request params | Collection列表请求参数
  583. // swagger:model DataListReq
  584. type DataListReq struct {
  585. // required : true
  586. // min : 0
  587. PageNum *int `json:"page" validate:"required,number,gt=0"`
  588. // required : true
  589. // max : 100000
  590. PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
  591. // required : true
  592. CollectionId *string `json:"collectionId" validate:"required"`
  593. }
  594. // Data list response | Data List信息返回体
  595. // swagger:model DataListResp
  596. type DataListResp struct {
  597. BaseDataInfo
  598. // Agent information | Agent数据
  599. Data []DataSimpleInfo `json:"data"`
  600. // required : true
  601. // min : 0
  602. PageNum *int `json:"pageNum" validate:"required,number,gt=0"`
  603. // required : true
  604. // max : 100000
  605. PageSize *int `json:"pageSize" validate:"required,number,lt=100000"`
  606. Total *int `json:"total"`
  607. }
  608. // Data create request | 信息请求体
  609. // swagger:model CreateDataInfoReq
  610. type CreateDataInfoReq struct {
  611. // required : true
  612. CollectionId *string `json:"collectionId" validate:"required"`
  613. // Q
  614. // required : true
  615. Q *string `json:"q" validate:"required"`
  616. // A
  617. // required : true
  618. A *string `json:"a" validate:"required"`
  619. }
  620. // IndexSingle {
  621. // Text A *string `json:"text"`
  622. // }
  623. //
  624. // Data create request | 信息返回体
  625. // swagger:model UpdateDataInfoReq
  626. type UpdateDataInfoReq struct {
  627. // ID
  628. // required : true
  629. DataId *string `json:"id" validate:"required"`
  630. // Q
  631. // required : true
  632. Q *string `json:"q" validate:"required"`
  633. // A
  634. // required : true
  635. A *string `json:"a" validate:"required"`
  636. }
  637. // swagger:model DeleteDataReq
  638. type DeleteDataReq struct {
  639. // required : true
  640. ID *string `json:"id" validate:"required"`
  641. }
  642. // ContactLabelList | Contact标签列表
  643. type ContactLabelList struct {
  644. // label
  645. Label *string `json:"label,optional"`
  646. // value
  647. Value *uint64 `json:"value,optional"`
  648. }
  649. // The response data of contact information | Contact信息
  650. // swagger:model ContactInfo
  651. type ContactInfo struct {
  652. BaseIDInfo
  653. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  654. Status *uint8 `json:"status,optional"`
  655. // 属主微信id
  656. WxWxid *string `json:"wxWxid,optional"`
  657. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  658. Type *int `json:"type,optional"`
  659. // 微信id 公众号微信ID
  660. Wxid *string `json:"wxid,optional"`
  661. // 微信账号
  662. Account *string `json:"account,optional"`
  663. // 微信昵称 群备注名称
  664. Nickname *string `json:"nickname,optional"`
  665. // 备注名
  666. Markname *string `json:"markname,optional"`
  667. // 头像
  668. Headimg *string `json:"headimg,optional"`
  669. // 性别 0未知 1男 2女
  670. Sex *int `json:"sex,optional"`
  671. // 星标 65/67=星标 1/3=未星标
  672. Starrole *string `json:"starrole,optional"`
  673. // 不让他看我的朋友圈 0可以看 1不让看
  674. Dontseeit *int `json:"dontseeit,optional"`
  675. // 不看他的朋友圈 0可以看 1不看 1=开启了不看他 128/129=仅聊天
  676. Dontseeme *int `json:"dontseeme,optional"`
  677. // 所属标签id清单,多开会用逗号隔开
  678. Lag *string `json:"lag,optional"`
  679. // 群组id
  680. Gid *string `json:"gid,optional"`
  681. // 群组名称
  682. Gname *string `json:"gname,optional"`
  683. // v3数据
  684. V3 *string `json:"v3,optional"`
  685. // Label Relationships | 标签关系
  686. LabelRelationships []ContactLabelList `json:"labelRelationships,optional"`
  687. // 组织ID
  688. OrganizationId *uint64 `json:"organizationId,optional"`
  689. }
  690. // The response data of label information | Label信息
  691. // swagger:model LabelInfo
  692. type LabelInfo struct {
  693. BaseIDInfo
  694. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  695. Status *uint8 `json:"status,optional"`
  696. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  697. Type *int `json:"type,optional"`
  698. // 标签名称
  699. Name *string `json:"name,optional"`
  700. // 标签来源:1后台创建 2个微同步
  701. From *int `json:"from,optional"`
  702. // 标签模式:1动态 2静态
  703. Mode *int `json:"mode,optional"`
  704. // 标签的触达条件
  705. Conditions *string `json:"conditions,optional"`
  706. // 组织ID
  707. OrganizationId *uint64 `json:"organizationId,optional"`
  708. // Label Relationships | 标签关系
  709. LabelRelationships []LabelRelationshipInfo `json:"labelRelationships,optional"`
  710. }
  711. // The response data of label relationship information | LabelRelationship信息
  712. // swagger:model LabelRelationshipInfo
  713. type LabelRelationshipInfo struct {
  714. BaseIDInfo
  715. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  716. Status *uint8 `json:"status,optional"`
  717. // 标签 ID
  718. LabelId *uint64 `json:"labelId,optional"`
  719. // 联系人 ID
  720. ContactId *uint64 `json:"contactId,optional"`
  721. // Contact information | 联系人信息
  722. Contact ContactInfo `json:"contact,optional"`
  723. // Label information | 标签信息
  724. Label LabelInfo `json:"label,optional"`
  725. // 组织ID
  726. OrganizationId *uint64 `json:"organizationId,optional"`
  727. }
  728. // The response data of label relationship information | LabelRelationship信息
  729. // swagger:model LabelRelationshipsInfo
  730. type LabelRelationshipsInfo struct {
  731. BaseIDInfo
  732. // 更新类型:为空或“all”时表示全量更新,为 “add” 时表示仅追加
  733. UpdateType *string `json:"updateType,optional"`
  734. // 标签 ID
  735. LabelIds []uint64 `json:"labelIds,optional"`
  736. // 联系人 ID
  737. ContactId *uint64 `json:"contactId,optional"`
  738. }
  739. // swagger:model BatchLabelRelationshipsInfo
  740. type BatchLabelRelationshipsInfo struct {
  741. // 更新类型:为1 时表示增加标签,为 -1 时表示移除标签
  742. UpdateType int `json:"updateType,optional"`
  743. // 标签 ID
  744. LabelIds []uint64 `json:"labelIds,optional"`
  745. // 联系人 ID
  746. ContactIds []uint64 `json:"contactIds,optional"`
  747. }
  748. // The response data of label relationship list | LabelRelationship列表数据
  749. // swagger:model LabelRelationshipListResp
  750. type LabelRelationshipListResp struct {
  751. BaseDataInfo
  752. // LabelRelationship list data | LabelRelationship列表数据
  753. Data LabelRelationshipListInfo `json:"data"`
  754. }
  755. // LabelRelationship list data | LabelRelationship列表数据
  756. // swagger:model LabelRelationshipListInfo
  757. type LabelRelationshipListInfo struct {
  758. BaseListInfo
  759. // The API list data | LabelRelationship列表数据
  760. Data []LabelRelationshipInfo `json:"data"`
  761. }
  762. // Get label relationship list request params | LabelRelationship列表请求参数
  763. // swagger:model LabelRelationshipListReq
  764. type LabelRelationshipListReq struct {
  765. PageInfo
  766. }
  767. // LabelRelationship information response | LabelRelationship信息返回体
  768. // swagger:model LabelRelationshipInfoResp
  769. type LabelRelationshipInfoResp struct {
  770. BaseDataInfo
  771. // LabelRelationship information | LabelRelationship数据
  772. Data LabelRelationshipInfo `json:"data"`
  773. }
  774. type LoginQRStatus struct {
  775. // 登陆二维码
  776. QRCode string `json:"qRCode,optional"`
  777. // 登陆二维码状态
  778. Status string `json:"status,optional"`
  779. // 登陆二维码状态描述
  780. StatusDesc string `json:"statusDesc,optional"`
  781. }
  782. // 刷新登陆二维码请求参数
  783. // swagger:model RefreshLoginQRReq
  784. type RefreshLoginQRReq struct {
  785. // 服务器id
  786. ServerId *uint64 `json:"serverId,optional"`
  787. // 端口号
  788. Port *string `json:"port,optional"`
  789. // 回调地址
  790. Callback *string `json:"callback,optional"`
  791. }
  792. // 刷新登陆二维码返回参数
  793. // swagger:model RefreshLoginQRResp
  794. type RefreshLoginQRResp struct {
  795. BaseDataInfo
  796. // 二维码Base64
  797. Data LoginQRStatus `json:"data,optional"`
  798. }
  799. // 发送微信文本消息请求参数
  800. // swagger:model SendTextMsgReq
  801. type SendTextMsgReq struct {
  802. // 属主微信id
  803. WxWxid *string `json:"senderWxId"`
  804. // 微信id 公众号微信ID
  805. Wxid *string `json:"receiverWxId"`
  806. // 微信文本消息内容
  807. Msg *string `json:"msg"`
  808. }
  809. // 发送微信图片消息请求参数
  810. // swagger:model SendPicMsgReq
  811. type SendPicMsgReq struct {
  812. // 属主微信id
  813. WxWxid *string `json:"wxWxid"`
  814. // 微信id 公众号微信ID
  815. Wxid *string `json:"wxid"`
  816. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  817. Picpath *string `json:"picpath"`
  818. // 微信图片自定义名称(此属性只有网络图片有)
  819. Diyfilename *string `json:"diyfilename,optional"`
  820. }
  821. // 发送微信图片(本地)请求参数
  822. // swagger:model SendPicMsgLocalReq
  823. type SendPicMsgLocalReq struct {
  824. // 属主微信id
  825. WxWxid *string `json:"wxWxid"`
  826. // 微信id 公众号微信ID
  827. Wxid *string `json:"wxid"`
  828. // 微信图片路径(本地或网络,本地需要上传操作,如:C:\\x.jpg)
  829. Picpath *string `json:"picpath"`
  830. }
  831. // The response data of contact list | Contact列表数据
  832. // swagger:model ContactListResp
  833. type ContactListResp struct {
  834. BaseDataInfo
  835. // Contact list data | Contact列表数据
  836. Data ContactListInfo `json:"data"`
  837. }
  838. // Contact list data | Contact列表数据
  839. // swagger:model ContactListInfo
  840. type ContactListInfo struct {
  841. BaseListInfo
  842. // The API list data | Contact列表数据
  843. Data []ContactInfo `json:"data"`
  844. }
  845. // Get contact list request params | Contact列表请求参数
  846. // swagger:model ContactListReq
  847. type ContactListReq struct {
  848. PageInfo
  849. // Label ID list | 标签ID列表
  850. LabelIDs []uint64 `json:"labelIDs,optional"`
  851. // 属主微信id
  852. WxWxid *string `json:"wxWxid,optional"`
  853. // 微信id 公众号微信ID
  854. Wxid *string `json:"wxid,optional"`
  855. // 微信账号
  856. Account *string `json:"account,optional"`
  857. // 昵称
  858. Nickname *string `json:"nickname,optional"`
  859. // 联系人类型:1好友,2群组,3公众号,4企业微信联系人
  860. Type *int `json:"type,optional"`
  861. }
  862. // Contact information response | Contact信息返回体
  863. // swagger:model ContactInfoResp
  864. type ContactInfoResp struct {
  865. BaseDataInfo
  866. // Contact information | Contact数据
  867. Data ContactInfo `json:"data"`
  868. }
  869. // swagger:model AddNewFriendReq
  870. type AddNewFriendReq struct {
  871. OwnerWxid string `json:"ownerWxid"`
  872. Wxid string `json:"wxid"`
  873. Gid string `json:"gid"`
  874. Desc string `json:"desc"`
  875. AddType string `json:"addType"`
  876. }
  877. // The response data of message information | Message信息
  878. // swagger:model MessageInfo
  879. type MessageInfo struct {
  880. BaseIDInfo
  881. // 属主微信id
  882. WxWxid *string `json:"wxWxid"`
  883. // 微信id 公众号微信ID
  884. Wxid *string `json:"wxid"`
  885. // 微信消息内容
  886. Msg *string `json:"msg"`
  887. }
  888. // The response data of message list | Message列表数据
  889. // swagger:model MessageListResp
  890. type MessageListResp struct {
  891. BaseDataInfo
  892. // Message list data | Message列表数据
  893. Data MessageListInfo `json:"data"`
  894. }
  895. // Message list data | Message列表数据
  896. // swagger:model MessageListInfo
  897. type MessageListInfo struct {
  898. BaseListInfo
  899. // The API list data | Message列表数据
  900. Data []MessageInfo `json:"data"`
  901. }
  902. // Get message list request params | Message列表请求参数
  903. // swagger:model MessageListReq
  904. type MessageListReq struct {
  905. PageInfo
  906. // 属主微信id
  907. WxWxid *string `json:"wxWxid,optional"`
  908. // 微信id 公众号微信ID
  909. Wxid *string `json:"wxid,optional"`
  910. }
  911. // Message information response | Message信息返回体
  912. // swagger:model MessageInfoResp
  913. type MessageInfoResp struct {
  914. BaseDataInfo
  915. // Message information | Message数据
  916. Data MessageInfo `json:"data"`
  917. }
  918. // The response data of label list | Label列表数据
  919. // swagger:model LabelSelectListResp
  920. type LabelSelectListResp struct {
  921. BaseDataInfo
  922. // Label list data | Label列表数据
  923. Data []LabelSelectListInfo `json:"data"`
  924. }
  925. // The response data of label list | Label群发列表数据
  926. // swagger:model LabelBatchSelectListResp
  927. type LabelBatchSelectListResp struct {
  928. BaseDataInfo
  929. // Label list data | Label列表数据
  930. Data LabelBatchSelectListData `json:"data"`
  931. }
  932. // The response data of label list | Label群发列表数据
  933. type LabelBatchSelectListData struct {
  934. Contact []LabelSelectListInfo `json:"contact"`
  935. Group []LabelSelectListInfo `json:"group"`
  936. }
  937. // The response data of label list | Label列表数据
  938. // swagger:model LabelListResp
  939. type LabelListResp struct {
  940. BaseDataInfo
  941. // Label list data | Label列表数据
  942. Data LabelListInfo `json:"data"`
  943. }
  944. // Label list data | Label列表数据
  945. // swagger:model LabelListInfo
  946. type LabelListInfo struct {
  947. BaseListInfo
  948. // The API list data | Label列表数据
  949. Data []LabelInfo `json:"data"`
  950. }
  951. // Get label list request params | Label列表请求参数
  952. // swagger:model LabelListReq
  953. type LabelListReq struct {
  954. PageInfo
  955. // Label ID list | Label ID列表
  956. LabelIDs []uint64 `json:"labelIDs,optional"`
  957. // 标签类型:1好友,2群组,3公众号,4企业微信联系人
  958. Type *int `json:"type,optional"`
  959. // 标签名称
  960. Name *string `json:"name,optional"`
  961. // 标签来源:1后台创建 2个微同步
  962. From *int `json:"from,optional"`
  963. // 标签模式:1动态 2静态
  964. Mode *int `json:"mode,optional"`
  965. }
  966. // Label information response | Label信息返回体
  967. // swagger:model LabelInfoResp
  968. type LabelInfoResp struct {
  969. BaseDataInfo
  970. // Label information | Label数据
  971. Data LabelInfo `json:"data"`
  972. }
  973. // swagger:model LabelSelectListInfo
  974. type LabelSelectListInfo struct {
  975. // label
  976. Label *string `json:"label,optional"`
  977. // value
  978. Value *uint64 `json:"value,optional"`
  979. }
  980. // The response data of sop task list | SopTask列表数据
  981. // swagger:model SopTaskListResp
  982. type SopTaskListResp struct {
  983. BaseDataInfo
  984. // SopTask list data | SopTask列表数据
  985. Data SopTaskListInfo `json:"data"`
  986. }
  987. // The response data of sop task record list | SopTask列表数据
  988. // swagger:model SopTaskRecordListResp
  989. type SopTaskRecordListResp struct {
  990. BaseDataInfo
  991. // SopTask list data | SopTask列表数据
  992. Data []SopTaskRecordInfo `json:"data"`
  993. }
  994. // SopTask list data | SopTask列表数据
  995. // swagger:model SopTaskRecordInfo
  996. type SopTaskRecordInfo struct {
  997. // NodeId 节点ID
  998. SourceType *int `json:"sourceType,optional"`
  999. // NodeId 节点ID
  1000. SourceId *uint64 `json:"sourceId,optional"`
  1001. // 节点名称
  1002. Name *string `json:"name,optional"`
  1003. // 消息总数
  1004. TotalCount *int64 `json:"totalCount,optional"`
  1005. // 成功数
  1006. SuccessCount *int64 `json:"successCount,optional"`
  1007. // 失败数
  1008. FailureCount *int64 `json:"failureCount,optional"`
  1009. // 成功率
  1010. SuccessRate *int64 `json:"successRate,optional"`
  1011. }
  1012. // SopTask list data | SopTask列表数据
  1013. // swagger:model SopTaskListInfo
  1014. type SopTaskListInfo struct {
  1015. BaseListInfo
  1016. // The API list data | SopTask列表数据
  1017. Data []SopTaskInfo `json:"data"`
  1018. }
  1019. // Get sop task list request params | SopTask列表请求参数
  1020. // swagger:model SopTaskListReq
  1021. type SopTaskListReq struct {
  1022. PageInfo
  1023. // SOP 任务名称
  1024. Name *string `json:"name,optional"`
  1025. // 创建者 id
  1026. CreatorId *string `json:"creatorId,optional"`
  1027. }
  1028. // SopTask information response | SopTask信息返回体
  1029. // swagger:model SopTaskInfoResp
  1030. type SopTaskInfoResp struct {
  1031. BaseDataInfo
  1032. // SopTask information | SopTask数据
  1033. Data SopTaskInfo `json:"data"`
  1034. }
  1035. // SopTask create response | SopTask创建回体
  1036. // swagger:model SopTaskCreateResp
  1037. type SopTaskCreateResp struct {
  1038. BaseDataInfo
  1039. // SopTask id | SopTask id
  1040. Data uint64 `json:"data"`
  1041. }
  1042. // swagger:model CopyReq
  1043. type CopyReq struct {
  1044. // SopTask id | SopTask id
  1045. Id uint64 `json:"id"`
  1046. // SOP 任务名称
  1047. Name *string `json:"name,optional"`
  1048. // Organization id | Organization id
  1049. OrganizationId uint64 `json:"organizationId,optional"`
  1050. }
  1051. // swagger:model MessageVarResp
  1052. type MessageVarResp struct {
  1053. BaseDataInfo
  1054. Data MessageVarRespData `json:"data"`
  1055. }
  1056. type MessageVarRespData struct {
  1057. // 消息变量
  1058. MessageVar []MessageVarInfo `json:"messageVar"`
  1059. // 转发变量
  1060. ForwardVar []MessageVarInfo `json:"forwardVar"`
  1061. }
  1062. // swagger:model MessageVarInfo
  1063. type MessageVarInfo struct {
  1064. // 显示名称
  1065. Label string `json:"label"`
  1066. // 变量
  1067. Value string `json:"value"`
  1068. }
  1069. // swagger:model SopTaskOutlineResp
  1070. type SopTaskOutlineResp struct {
  1071. BaseDataInfo
  1072. Data []SopTaskOutlineInfo `json:"data"`
  1073. }
  1074. // swagger:model SopTaskOutlineInfo
  1075. type SopTaskOutlineInfo struct {
  1076. // 标题
  1077. Title string `json:"title,optional"`
  1078. // key
  1079. Key string `json:"key,optional"`
  1080. // 子节点
  1081. Children []SopTaskOutlineInfo `json:"children,optional"`
  1082. }
  1083. // swagger:model TestNodeReq
  1084. type TestNodeReq struct {
  1085. Type int `json:"type"`
  1086. Id uint64 `json:"id"`
  1087. Content string `json:"content"`
  1088. }
  1089. // swagger:model TestNodeResp
  1090. type TestNodeResp struct {
  1091. BaseDataInfo
  1092. Data []string `json:"data"`
  1093. }
  1094. // The response data of sop stage information | SopStage信息
  1095. // swagger:model SopStageInfo
  1096. type SopStageInfo struct {
  1097. BaseIDInfo
  1098. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  1099. Status *uint8 `json:"status,optional"`
  1100. // SOP 任务 ID
  1101. TaskId *uint64 `json:"taskId,optional"`
  1102. // 阶段名称
  1103. Name *string `json:"name,optional"`
  1104. // 客群筛选条件类型 1 按标签筛选 2 按客户基本信息筛选
  1105. ConditionType *int `json:"conditionType,optional"`
  1106. // 筛选条件关系 1 满足所有条件(and) 2 满足任意条件(or)
  1107. ConditionOperator *int `json:"conditionOperator,optional"`
  1108. // 筛选条件列表
  1109. ConditionList []Condition `json:"conditionList,optional"`
  1110. // 命中后发送的消息内容
  1111. ActionMessage []Action `json:"actionMessage,optional"`
  1112. // 命中后需要打的标签
  1113. ActionLabelAdd []uint64 `json:"actionLabelAdd,optional"`
  1114. // 命中后需要移除的标签
  1115. ActionLabelDel []uint64 `json:"actionLabelDel,optional"`
  1116. // 命中后转发的消息内容
  1117. ActionForward *ActionForward `json:"actionForward,optional"`
  1118. // 阶段顺序
  1119. IndexSort *int `json:"indexSort,optional"`
  1120. // sop 任务信息
  1121. TaskInfo *SopTaskInfo `json:"taskInfo,optional"`
  1122. // node 信息
  1123. NodeList []SopNodeInfo `json:"nodeList,optional"`
  1124. }
  1125. // The response data of sop task information | SopTask信息
  1126. // swagger:model SopTaskInfo
  1127. type SopTaskInfo struct {
  1128. BaseIDInfo
  1129. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  1130. Status *uint8 `json:"status,optional"`
  1131. // SOP 任务名称
  1132. Name *string `json:"name,optional"`
  1133. // 机器人微信 id 列表
  1134. BotWxidList []string `json:"botWxidList,optional"`
  1135. // 标签类型:1好友,2群组,3企业微信联系人
  1136. Type *int `json:"type,optional"`
  1137. // 任务计划开始时间
  1138. PlanStartTime *int64 `json:"planStartTime,optional"`
  1139. // 任务计划结束时间
  1140. PlanEndTime *int64 `json:"planEndTime,optional"`
  1141. // 创建者 id
  1142. CreatorId *string `json:"creatorId,optional"`
  1143. // 阶段信息
  1144. StageList []SopStageInfo `json:"stageList,optional"`
  1145. // 组织ID
  1146. OrganizationId *uint64 `json:"organizationId,optional"`
  1147. }
  1148. // The response data of sop node information | SopNode信息
  1149. // swagger:model SopNodeInfo
  1150. type SopNodeInfo struct {
  1151. BaseIDInfo
  1152. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  1153. Status *uint8 `json:"status,optional"`
  1154. // 阶段 ID
  1155. StageId *uint64 `json:"stageId,optional"`
  1156. // 父节点 ID
  1157. ParentId *uint64 `json:"parentId,optional"`
  1158. // 节点名称
  1159. Name *string `json:"name,optional"`
  1160. // 触发条件类型 1 客户回复后触发 2 超时后触发
  1161. ConditionType *int `json:"conditionType,optional"`
  1162. // 触发语义列表 当为空时则代表用户回复任意内容后触发
  1163. ConditionList []string `json:"conditionList,optional"`
  1164. // 超时触发时间(分钟)
  1165. NoReplyCondition *uint64 `json:"noReplyCondition,optional"`
  1166. // 超时触发时间单位
  1167. NoReplyUnit *string `json:"noReplyUnit,optional"`
  1168. // 命中后发送的消息内容
  1169. ActionMessage []Action `json:"actionMessage,optional"`
  1170. // 命中后需要打的标签
  1171. ActionLabelAdd []uint64 `json:"actionLabelAdd,optional"`
  1172. // 命中后需要移除的标签
  1173. ActionLabelDel []uint64 `json:"actionLabelDel,optional"`
  1174. // 命中后转发的消息内容
  1175. ActionForward *ActionForward `json:"actionForward,optional"`
  1176. // 阶段信息
  1177. StageInfo *SopStageInfo `json:"stageInfo,optional"`
  1178. }
  1179. // The response data of sop stage list | SopStage列表数据
  1180. // swagger:model SopStageListResp
  1181. type SopStageListResp struct {
  1182. BaseDataInfo
  1183. // SopStage list data | SopStage列表数据
  1184. Data SopStageListInfo `json:"data"`
  1185. }
  1186. // SopStage list data | SopStage列表数据
  1187. // swagger:model SopStageListInfo
  1188. type SopStageListInfo struct {
  1189. BaseListInfo
  1190. // The API list data | SopStage列表数据
  1191. Data []SopStageInfo `json:"data"`
  1192. }
  1193. // Get sop stage list request params | SopStage列表请求参数
  1194. // swagger:model SopStageListReq
  1195. type SopStageListReq struct {
  1196. TaskId *uint64 `json:"taskId"`
  1197. }
  1198. // SopStage information response | SopStage信息返回体
  1199. // swagger:model SopStageInfoResp
  1200. type SopStageInfoResp struct {
  1201. BaseDataInfo
  1202. // SopStage information | SopStage数据
  1203. Data SopStageInfo `json:"data"`
  1204. }
  1205. // SopStage create response | SopStage创建回体
  1206. // swagger:model SopStageCreateResp
  1207. type SopStageCreateResp struct {
  1208. BaseDataInfo
  1209. // SopStage id | SopStage id
  1210. Data uint64 `json:"data"`
  1211. }
  1212. // Move sop stage request params | 移动阶段请求参数
  1213. // swagger:model SopStageMoveReq
  1214. type SopStageMoveReq struct {
  1215. BaseIDInfo
  1216. // 阶段名称
  1217. Offset *int `json:"offset,optional"`
  1218. }
  1219. // The response data of sop node list | SopNode列表数据
  1220. // swagger:model SopNodeListResp
  1221. type SopNodeListResp struct {
  1222. BaseDataInfo
  1223. // SopNode list data | SopNode列表数据
  1224. Data []*SopChildNodeInfo `json:"data"`
  1225. }
  1226. // SopNode list data | SopNode列表数据
  1227. // swagger:model SopChildNodeInfo
  1228. type SopChildNodeInfo struct {
  1229. NodeName *string `json:"nodeName,optional"`
  1230. ChildNode *SopChildNodeInfo `json:"childNode,optional"`
  1231. // The API list data | SopNode列表数据
  1232. ConditionNodes []*SopChildNodeInfo `json:"conditionNodes"`
  1233. SopNodeInfo
  1234. }
  1235. // SopNode list data | SopNode列表数据
  1236. // swagger:model SopNodeListInfo
  1237. type SopNodeListInfo struct {
  1238. BaseListInfo
  1239. // The API list data | SopNode列表数据
  1240. Data []SopNodeInfo `json:"data"`
  1241. }
  1242. // Get sop node list request params | SopNode列表请求参数
  1243. // swagger:model SopNodeListReq
  1244. type SopNodeListReq struct {
  1245. StageId *uint64 `json:"stageId"`
  1246. }
  1247. // SopNode information response | SopNode信息返回体
  1248. // swagger:model SopNodeInfoResp
  1249. type SopNodeInfoResp struct {
  1250. BaseDataInfo
  1251. // SopNode information | SopNode数据
  1252. Data SopNodeInfo `json:"data"`
  1253. }
  1254. // SopNode create response | SopNode创建返回体
  1255. // swagger:model SopNodeCreateResp
  1256. type SopNodeCreateResp struct {
  1257. BaseDataInfo
  1258. // SopNode id | SopNode id
  1259. Data uint64 `json:"data"`
  1260. }
  1261. // The response data of message records information | MessageRecords信息
  1262. // swagger:model MessageRecordsInfo
  1263. type MessageRecordsInfo struct {
  1264. BaseIDInfo
  1265. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  1266. Status *uint8 `json:"status,optional"`
  1267. // 机器人微信 id
  1268. BotWxid *string `json:"botWxid,optional"`
  1269. // 联系人 id
  1270. ContactId *uint64 `json:"contactId,optional"`
  1271. // 类型:1好友,2群组,3企业微信联系人
  1272. ContactType *int `json:"contactType,optional"`
  1273. // 接收方微信 id
  1274. ContactWxid *string `json:"contactWxid,optional"`
  1275. // 内容类型 1 文本 2 文件
  1276. ContentType *int `json:"contentType,optional"`
  1277. // 发送内容
  1278. Content *string `json:"content,optional"`
  1279. // 元数据
  1280. Meta *Meta `json:"meta,optional"`
  1281. // 异常原因
  1282. ErrorDetail *string `json:"errorDetail,optional"`
  1283. // 发送时间
  1284. SendTime *int64 `json:"sendTime,optional"`
  1285. // 源类型 1 点发 2 群发 3 SOP
  1286. SourceType *int `json:"sourceType,optional"`
  1287. // 源 ID
  1288. SourceId *uint64 `json:"sourceId,optional"`
  1289. // 次源 ID
  1290. SubSourceId *uint64 `json:"subSourceId,optional"`
  1291. // 组织ID
  1292. OrganizationId *uint64 `json:"organizationId,optional"`
  1293. }
  1294. // The response data of message records list | MessageRecords列表数据
  1295. // swagger:model MessageRecordsListResp
  1296. type MessageRecordsListResp struct {
  1297. BaseDataInfo
  1298. // MessageRecords list data | MessageRecords列表数据
  1299. Data MessageRecordsListInfo `json:"data"`
  1300. }
  1301. // MessageRecords list data | MessageRecords列表数据
  1302. // swagger:model MessageRecordsListInfo
  1303. type MessageRecordsListInfo struct {
  1304. BaseListInfo
  1305. // The API list data | MessageRecords列表数据
  1306. Data []MessageRecordsInfo `json:"data"`
  1307. }
  1308. // Get message records list request params | MessageRecords列表请求参数
  1309. // swagger:model MessageRecordsListReq
  1310. type MessageRecordsListReq struct {
  1311. PageInfo
  1312. // 群发消息ID
  1313. BatchMsgId *uint64 `json:"batchMsgId,optional"`
  1314. // 机器人微信 id
  1315. BotWxid *string `json:"botWxid,optional"`
  1316. // 消息类型:源类型 1 点发 2 群发 3 SOP 阶段 4 SOP 节点
  1317. SourceType *int `json:"sourceType,optional"`
  1318. // 消息源ID:
  1319. SourceId *uint64 `json:"sourceId,optional"`
  1320. // 接收方微信 id
  1321. ContactWxid *string `json:"contactWxid,optional"`
  1322. // 发送内容
  1323. Status *uint8 `json:"status,optional"`
  1324. }
  1325. // MessageRecords information response | MessageRecords信息返回体
  1326. // swagger:model MessageRecordsInfoResp
  1327. type MessageRecordsInfoResp struct {
  1328. BaseDataInfo
  1329. // MessageRecords information | MessageRecords数据
  1330. Data MessageRecordsInfo `json:"data"`
  1331. }
  1332. // The response data of chatroom member information | ChatroomMember信息
  1333. // swagger:model ChatroomMemberInfo
  1334. type ChatroomMemberInfo struct {
  1335. // 名称
  1336. Wxid *string `json:"wxid,optional"`
  1337. // 群组
  1338. ChatRoom *string `json:"chatRoom,optional"`
  1339. // 属主Wxid
  1340. OwnerWxid *string `json:"ownerWxid,optional"`
  1341. // 账号
  1342. Account *string `json:"account,optional"`
  1343. }
  1344. // The response data of chatroom member list | ChatroomMember列表数据
  1345. // swagger:model ChatroomMemberListResp
  1346. type ChatroomMemberListResp struct {
  1347. BaseDataInfo
  1348. // chatroom member list data | chatroom member 列表数据
  1349. Data ChatroomMemberListInfo `json:"data"`
  1350. }
  1351. // chatroom member list data | chatroom member列表数据
  1352. // swagger:model ChatroomMemberListInfo
  1353. type ChatroomMemberListInfo struct {
  1354. BaseListInfo
  1355. // The API list data | chatroom member列表数据
  1356. Data []ChatroomMemberInfo `json:"data"`
  1357. }
  1358. // Get chatroom member list request params | ChatroomMember列表请求参数
  1359. // swagger:model ChatroomMemberListReq
  1360. type ChatroomMemberListReq struct {
  1361. PageInfo
  1362. // 属主Wxid
  1363. OwnerWxid *string `json:"ownerWxid,optional"`
  1364. // 群组
  1365. ChatRoom *string `json:"chatRoom,optional"`
  1366. }
  1367. // chatroom member information response | ChatroomMember信息返回体
  1368. // swagger:model ChatroomMemberInfoResp
  1369. type ChatroomMemberInfoResp struct {
  1370. BaseDataInfo
  1371. // Server information | Server数据
  1372. Data ChatroomMemberInfo `json:"data"`
  1373. }
  1374. // The response data of user information | 用户信息
  1375. // swagger:model UserInfo
  1376. type UserInfo struct {
  1377. BaseUUIDInfo
  1378. // Status | 状态
  1379. // max : 20
  1380. Status *uint32 `json:"status,optional" validate:"omitempty,lt=20"`
  1381. // Username | 用户名
  1382. // max length : 50
  1383. Username *string `json:"username,optional" validate:"omitempty,max=50"`
  1384. // Nickname | 昵称
  1385. // max length : 40
  1386. Nickname *string `json:"nickname,optional" validate:"omitempty,max=40"`
  1387. // Password | 密码
  1388. // min length : 6
  1389. Password *string `json:"password,optional" validate:"omitempty,min=6"`
  1390. // Description | 描述
  1391. // max length : 100
  1392. Description *string `json:"description,optional" validate:"omitempty,max=100"`
  1393. // HomePath | 首页
  1394. // max length : 70
  1395. HomePath *string `json:"homePath,optional" validate:"omitempty,max=70"`
  1396. // RoleId | 角色ID
  1397. RoleIds []uint64 `json:"roleIds,optional"`
  1398. // Mobile | 手机号
  1399. // max length : 18
  1400. Mobile *string `json:"mobile,optional" validate:"omitempty,max=18"`
  1401. // Email | 邮箱
  1402. // max length : 80
  1403. Email *string `json:"email,optional" validate:"omitempty,max=80"`
  1404. // Avatar | 头像地址
  1405. // max length : 300
  1406. Avatar *string `json:"avatar,optional" validate:"omitempty,max=300"`
  1407. // Department ID | 部门ID
  1408. DepartmentId *uint64 `json:"departmentId,optional,omitempty"`
  1409. // Position ID | 职位ID
  1410. PositionIds []uint64 `json:"positionId,optional,omitempty"`
  1411. }
  1412. // User information response | 用户信息返回体
  1413. // swagger:model UserInfoResp
  1414. type UserInfoResp struct {
  1415. BaseDataInfo
  1416. // User information | User数据
  1417. Data UserInfo `json:"data"`
  1418. }
  1419. // The response data of user's basic information | 用户基本信息返回数据
  1420. // swagger:model UserBaseIDInfoResp
  1421. type UserBaseIDInfoResp struct {
  1422. BaseDataInfo
  1423. // The data of user's basic information | 用户基本信息
  1424. Data UserBaseIDInfo `json:"data"`
  1425. }
  1426. // The data of user's basic information | 用户基本信息
  1427. // swagger:model UserBaseIDInfo
  1428. type UserBaseIDInfo struct {
  1429. // User's UUID | 用户的UUID
  1430. UUID *string `json:"userId"`
  1431. // User's name | 用户名
  1432. Username *string `json:"username"`
  1433. // User's nickname | 用户的昵称
  1434. Nickname *string `json:"nickname"`
  1435. // The user's avatar path | 用户的头像路径
  1436. Avatar *string `json:"avatar"`
  1437. // The home page that the user enters after logging in | 用户登陆后进入的首页
  1438. HomePath *string `json:"homePath"`
  1439. // The description of user | 用户的描述信息
  1440. Description *string `json:"desc"`
  1441. // User's Role Name | 用户的角色名称
  1442. RoleName []string `json:"roleName"`
  1443. // Department Name | 部门名称
  1444. DepartmentName string `json:"departmentName,optional"`
  1445. // Department Name | 部门备注
  1446. DepartmentRemark string `json:"departmentRemark,optional"`
  1447. }
  1448. // swagger:model UserLoginReq
  1449. type UserLoginReq struct {
  1450. JsCode *string `json:"js_code,optional"`
  1451. }
  1452. // swagger:model UserLoginResp
  1453. type UserLoginResp struct {
  1454. BaseDataInfo
  1455. Data UserToken `json:"data,optional"`
  1456. }
  1457. type UserToken struct {
  1458. Token *string `json:"token,optional"`
  1459. ID *uint64 `json:"id,optional"`
  1460. Avatar *string `json:"avatar,optional"`
  1461. Nickname *string `json:"nickname,optional"`
  1462. }
  1463. // swagger:model WxidReq
  1464. type WxidReq struct {
  1465. Wxid string `json:"wxid"`
  1466. }
  1467. // The data of batch msg information | BatchMsg信息
  1468. // swagger:model BatchMsgInfo
  1469. type BatchMsgInfo struct {
  1470. BaseIDInfo
  1471. // 状态 0 未开始 1 开始发送 2 发送完成 3 发送中止
  1472. Status *uint8 `json:"status,optional"`
  1473. // 批次号
  1474. BatchNo *string `json:"batchNo,optional"`
  1475. // 任务名称
  1476. TaskName *string `json:"taskName,optional"`
  1477. // 发送方微信ID
  1478. Fromwxid *string `json:"fromwxid,optional"`
  1479. // 内容
  1480. Msg *string `json:"msg,optional"`
  1481. // 发送规则 all 全部 tag1,tag2 按tag发送
  1482. Tag *string `json:"tag,optional"`
  1483. // 总数
  1484. Total *int32 `json:"total,optional"`
  1485. // 成功数量
  1486. Success *int32 `json:"success,optional"`
  1487. // 失败数量
  1488. Fail *int32 `json:"fail,optional"`
  1489. // 开始时间
  1490. StartTime *int64 `json:"startTime,optional"`
  1491. StartTimeStr *string `json:"startTimeStr,optional"`
  1492. // 结束时间
  1493. StopTime *int64 `json:"stopTime,optional"`
  1494. // 发送时间
  1495. SendTime *int64 `json:"sendTime,optional"`
  1496. // 标签列表
  1497. Labels []uint64 `json:"labels,optional"`
  1498. GroupLabels []uint64 `json:"groupLabels,optional"`
  1499. // 标签列表
  1500. Type *int32 `json:"type,optional"`
  1501. }
  1502. // The response data of batch msg list | BatchMsg列表数据
  1503. // swagger:model BatchMsgListResp
  1504. type BatchMsgListResp struct {
  1505. BaseDataInfo
  1506. // BatchMsg list data | BatchMsg列表数据
  1507. Data BatchMsgListInfo `json:"data"`
  1508. }
  1509. // BatchMsg list data | BatchMsg列表数据
  1510. // swagger:model BatchMsgListInfo
  1511. type BatchMsgListInfo struct {
  1512. BaseListInfo
  1513. // The API list data | BatchMsg列表数据
  1514. Data []BatchMsgInfo `json:"data"`
  1515. }
  1516. // Get batch msg list request params | BatchMsg列表请求参数
  1517. // swagger:model BatchMsgListReq
  1518. type BatchMsgListReq struct {
  1519. PageInfo
  1520. // 批次号
  1521. BatchNo *string `json:"batchNo,optional"`
  1522. // 发送方微信ID
  1523. Fromwxid *string `json:"fromwxid,optional"`
  1524. // 内容
  1525. Msg *string `json:"msg,optional"`
  1526. // 任务名称
  1527. TaskName *string `json:"taskName,optional"`
  1528. // 群发类型
  1529. Type *int32 `json:"type"`
  1530. }
  1531. // BatchMsg information response | BatchMsg信息返回体
  1532. // swagger:model BatchMsgInfoResp
  1533. type BatchMsgInfoResp struct {
  1534. BaseDataInfo
  1535. // BatchMsg information | BatchMsg数据
  1536. Data BatchMsgInfo `json:"data"`
  1537. }
  1538. // The data of msg information | Msg信息
  1539. // swagger:model MsgInfo
  1540. type MsgInfo struct {
  1541. BaseIDInfo
  1542. // Status 1: normal 2: ban | 状态 1 正常 2 禁用
  1543. Status *uint8 `json:"status,optional"`
  1544. // 发送方微信ID
  1545. Fromwxid *string `json:"fromwxid,optional"`
  1546. // 接收人微信ID/群ID
  1547. Toid *string `json:"toid,optional"`
  1548. // 消息类型
  1549. Msgtype *int32 `json:"msgtype,optional"`
  1550. // 消息
  1551. Msg *string `json:"msg,optional"`
  1552. // 批次号
  1553. BatchNo *string `json:"batchNo,optional"`
  1554. }
  1555. // The response data of msg list | Msg列表数据
  1556. // swagger:model MsgListResp
  1557. type MsgListResp struct {
  1558. BaseDataInfo
  1559. // Msg list data | Msg列表数据
  1560. Data MsgListInfo `json:"data"`
  1561. }
  1562. // Msg list data | Msg列表数据
  1563. // swagger:model MsgListInfo
  1564. type MsgListInfo struct {
  1565. BaseListInfo
  1566. // The API list data | Msg列表数据
  1567. Data []MsgInfo `json:"data"`
  1568. }
  1569. // Get msg list request params | Msg列表请求参数
  1570. // swagger:model MsgListReq
  1571. type MsgListReq struct {
  1572. PageInfo
  1573. // 状态
  1574. Status *uint8 `json:"status,optional"`
  1575. // 接收人微信ID/群ID
  1576. Toid *string `json:"toid,optional"`
  1577. // 群发消息ID
  1578. BatchId *uint64 `json:"batchId"`
  1579. }
  1580. // Msg information response | Msg信息返回体
  1581. // swagger:model MsgInfoResp
  1582. type MsgInfoResp struct {
  1583. BaseDataInfo
  1584. // Msg information | Msg数据
  1585. Data MsgInfo `json:"data"`
  1586. }
  1587. // The data of employee information | Employee信息
  1588. // swagger:model EmployeeInfo
  1589. type EmployeeInfo struct {
  1590. BaseIDInfo
  1591. // title | 标题
  1592. Title *string `json:"title,optional"`
  1593. // avatar | 头像
  1594. Avatar *string `json:"avatar,optional"`
  1595. // tags | 个人标签
  1596. Tags *string `json:"tags,optional"`
  1597. // hire_count | 被雇佣次数
  1598. HireCount *int `json:"hireCount,optional"`
  1599. // service_count | 已服务次数
  1600. ServiceCount *int `json:"serviceCount,optional"`
  1601. // achievement_count | 业绩单数
  1602. AchievementCount *int `json:"achievementCount,optional"`
  1603. // category_id | 分类ID
  1604. CategoryId *uint64 `json:"categoryId,optional"`
  1605. // intro | 个人介绍
  1606. Intro *string `json:"intro,optional"`
  1607. // estimate | 自我评价
  1608. Estimate *string `json:"estimate,optional"`
  1609. // skill | 技能卡
  1610. Skill *string `json:"skill,optional"`
  1611. // ability_type | 能力类型
  1612. AbilityType *string `json:"abilityType,optional"`
  1613. // scene | 使用场景
  1614. Scene *string `json:"scene,optional"`
  1615. SceneList []EmployeeConfigInfo `json:"sceneList,optional"`
  1616. // switch_in | 支持介入
  1617. SwitchIn *string `json:"switchIn,optional"`
  1618. SwitchInList []EmployeeConfigInfo `json:"switchInList,optional"`
  1619. Tutorial []TutorialInfo `json:"tutorial,optional"`
  1620. // video_url | 视频地址
  1621. VideoUrl *string `json:"videoUrl,optional"`
  1622. // work_experience | 工作经验
  1623. WorkExperience []WorkExperienceInfo `json:"workExperience,optional"`
  1624. ApiBase *string `json:"apiBase,optional"`
  1625. ApiKey *string `json:"apiKey,optional"`
  1626. }
  1627. // The response data of employee list | Employee列表数据
  1628. // swagger:model EmployeeListResp
  1629. type EmployeeListResp struct {
  1630. BaseDataInfo
  1631. // Employee list data | Employee列表数据
  1632. Data EmployeeListInfo `json:"data"`
  1633. }
  1634. // Employee list data | Employee列表数据
  1635. // swagger:model EmployeeListInfo
  1636. type EmployeeListInfo struct {
  1637. BaseListInfo
  1638. // The API list data | Employee列表数据
  1639. Data []EmployeeInfo `json:"data"`
  1640. }
  1641. // Get employee list request params | Employee列表请求参数
  1642. // swagger:model EmployeeListReq
  1643. type EmployeeListReq struct {
  1644. PageInfo
  1645. // title | 标题
  1646. Title *string `json:"title,optional"`
  1647. // tags | 个人标签
  1648. Tags *string `json:"tags,optional"`
  1649. // category_id | 分类ID
  1650. CategoryId *uint64 `json:"categoryId,optional"`
  1651. }
  1652. // Employee information response | Employee信息返回体
  1653. // swagger:model EmployeeInfoResp
  1654. type EmployeeInfoResp struct {
  1655. BaseDataInfo
  1656. // Employee information | Employee数据
  1657. Data EmployeeInfo `json:"data"`
  1658. }
  1659. // swagger:model AuthReq
  1660. type AuthReq struct {
  1661. Token *string `json:"token,optional"`
  1662. Data uint64 `json:"data,optional"`
  1663. }
  1664. // swagger:model AuthResp
  1665. type AuthResp struct {
  1666. Token *string `json:"token,optional"`
  1667. Data *uint64 `json:"data,optional"`
  1668. Original interface{} `json:"original,optional"`
  1669. OK interface{} `json:"ok,optional"`
  1670. SecretKey string `json:"secretKey,optional"`
  1671. }
  1672. // The data of work experience information | WorkExperience信息
  1673. // swagger:model WorkExperienceInfo
  1674. type WorkExperienceInfo struct {
  1675. BaseIDInfo
  1676. // employee_id | 员工ID
  1677. EmployeeId *uint64 `json:"employeeId,optional"`
  1678. // start_date | 开始时间
  1679. StartDate *int64 `json:"startDate,optional"`
  1680. StartDateStr *string `json:"startDateStr,optional"`
  1681. // end_date | 结束时间
  1682. EndDate *int64 `json:"endDate,optional"`
  1683. EndDateStr *string `json:"endDateStr,optional"`
  1684. // company | 公司名
  1685. Company *string `json:"company,optional"`
  1686. // experience | 工作内容
  1687. Experience *string `json:"experience,optional"`
  1688. }
  1689. // The response data of work experience list | WorkExperience列表数据
  1690. // swagger:model WorkExperienceListResp
  1691. type WorkExperienceListResp struct {
  1692. BaseDataInfo
  1693. // WorkExperience list data | WorkExperience列表数据
  1694. Data WorkExperienceListInfo `json:"data"`
  1695. }
  1696. // WorkExperience list data | WorkExperience列表数据
  1697. // swagger:model WorkExperienceListInfo
  1698. type WorkExperienceListInfo struct {
  1699. BaseListInfo
  1700. // The API list data | WorkExperience列表数据
  1701. Data []WorkExperienceInfo `json:"data"`
  1702. }
  1703. // Get work experience list request params | WorkExperience列表请求参数
  1704. // swagger:model WorkExperienceListReq
  1705. type WorkExperienceListReq struct {
  1706. PageInfo
  1707. // company | 公司名
  1708. Company *string `json:"company,optional"`
  1709. }
  1710. // WorkExperience information response | WorkExperience信息返回体
  1711. // swagger:model WorkExperienceInfoResp
  1712. type WorkExperienceInfoResp struct {
  1713. BaseDataInfo
  1714. // WorkExperience information | WorkExperience数据
  1715. Data WorkExperienceInfo `json:"data"`
  1716. }
  1717. // The data of tutorial information | Tutorial信息
  1718. // swagger:model TutorialInfo
  1719. type TutorialInfo struct {
  1720. BaseIDInfo
  1721. // employee_id | 员工ID
  1722. EmployeeId *uint64 `json:"employeeId,optional"`
  1723. // index | 序号
  1724. Index *int `json:"index,optional"`
  1725. // title | 标题
  1726. Title *string `json:"title,optional"`
  1727. // content | 内容
  1728. Content *string `json:"content,optional"`
  1729. }
  1730. // The response data of tutorial list | Tutorial列表数据
  1731. // swagger:model TutorialListResp
  1732. type TutorialListResp struct {
  1733. BaseDataInfo
  1734. // Tutorial list data | Tutorial列表数据
  1735. Data TutorialListInfo `json:"data"`
  1736. }
  1737. // Tutorial list data | Tutorial列表数据
  1738. // swagger:model TutorialListInfo
  1739. type TutorialListInfo struct {
  1740. BaseListInfo
  1741. // The API list data | Tutorial列表数据
  1742. Data []TutorialInfo `json:"data"`
  1743. }
  1744. // Get tutorial list request params | Tutorial列表请求参数
  1745. // swagger:model TutorialListReq
  1746. type TutorialListReq struct {
  1747. PageInfo
  1748. // title | 标题
  1749. Title *string `json:"title,optional"`
  1750. // content | 内容
  1751. Content *string `json:"content,optional"`
  1752. }
  1753. // Tutorial information response | Tutorial信息返回体
  1754. // swagger:model TutorialInfoResp
  1755. type TutorialInfoResp struct {
  1756. BaseDataInfo
  1757. // Tutorial information | Tutorial数据
  1758. Data TutorialInfo `json:"data"`
  1759. }
  1760. // The data of employee config information | EmployeeConfig信息
  1761. // swagger:model EmployeeConfigInfo
  1762. type EmployeeConfigInfo struct {
  1763. BaseIDInfo
  1764. // 类型:scene-场景 switch_in-接入方式
  1765. Stype *string `json:"stype,optional"`
  1766. // 标题
  1767. Title *string `json:"title,optional"`
  1768. // 图片地址
  1769. Photo *string `json:"photo,optional"`
  1770. }
  1771. // EmployeeConfig list data | EmployeeConfig列表数据
  1772. // swagger:model EmployeeConfigListInfo
  1773. type EmployeeConfigListInfo struct {
  1774. BaseListInfo
  1775. // The API list data | EmployeeConfig列表数据
  1776. Data []EmployeeConfigInfo `json:"data"`
  1777. }
  1778. // Employee config response | Employee配置信息返回体
  1779. // swagger:model EmployeeConfigListReq
  1780. type EmployeeConfigListReq struct {
  1781. /// 类型:scene-场景 switch_in-接入方式
  1782. Stype *string `json:"stype,optional"`
  1783. }
  1784. // EmployeeConfig information response | EmployeeConfig信息返回体
  1785. type EmployeeConfig struct {
  1786. Scene []EmployeeConfigInfo `json:"scene"`
  1787. SwitchIn []EmployeeConfigInfo `json:"switchIn"`
  1788. }
  1789. // Employee config response | Employee配置信息返回体
  1790. // swagger:model EmployeeConfigListResp
  1791. type EmployeeConfigListResp struct {
  1792. BaseDataInfo
  1793. // Employee information | Employee数据
  1794. Data EmployeeConfig `json:"data"`
  1795. }
  1796. // The data of token information | Token信息
  1797. // swagger:model TokenInfo
  1798. type TokenInfo struct {
  1799. BaseIDInfo
  1800. // 过期时间
  1801. ExpireAt *int64 `json:"expireAt,optional"`
  1802. ExpireAtStr *string `json:"expireAtStr,optional"`
  1803. // Token
  1804. Token *string `json:"token,optional"`
  1805. // Mac地址
  1806. Mac *string `json:"mac,optional"`
  1807. }
  1808. // The response data of token list | Token列表数据
  1809. // swagger:model TokenListResp
  1810. type TokenListResp struct {
  1811. BaseDataInfo
  1812. // Token list data | Token列表数据
  1813. Data TokenListInfo `json:"data"`
  1814. }
  1815. // Token list data | Token列表数据
  1816. // swagger:model TokenListInfo
  1817. type TokenListInfo struct {
  1818. BaseListInfo
  1819. // The API list data | Token列表数据
  1820. Data []TokenInfo `json:"data"`
  1821. }
  1822. // Get token list request params | Token列表请求参数
  1823. // swagger:model TokenListReq
  1824. type TokenListReq struct {
  1825. PageInfo
  1826. // Token
  1827. Token *string `json:"token,optional"`
  1828. // Mac地址
  1829. Mac *string `json:"mac,optional"`
  1830. }
  1831. // Token information response | Token信息返回体
  1832. // swagger:model TokenInfoResp
  1833. type TokenInfoResp struct {
  1834. BaseDataInfo
  1835. // Token information | Token数据
  1836. Data TokenInfo `json:"data"`
  1837. }
  1838. // swagger:model CheckTokenReq
  1839. type CheckTokenReq struct {
  1840. // Token
  1841. Token *string `json:"token"`
  1842. // Mac地址
  1843. Mac *string `json:"mac"`
  1844. }
  1845. // swagger:model CheckTokenResp
  1846. type CheckTokenResp struct {
  1847. // 是否合法
  1848. Valid *bool `json:"valid"`
  1849. // Sign 签名内容
  1850. Sign *string `json:"sign"`
  1851. // Timestamp 时间戳
  1852. Timestamp *int64 `json:"timestamp"`
  1853. }
  1854. // The data of category information | Category信息
  1855. // swagger:model CategoryInfo
  1856. type CategoryInfo struct {
  1857. BaseIDInfo
  1858. // name | 角色名称
  1859. Name *string `json:"name,optional"`
  1860. // organization_id | 租户ID
  1861. OrganizationId *uint64 `json:"organizationId,optional"`
  1862. }
  1863. // The response data of category list | Category列表数据
  1864. // swagger:model CategoryListResp
  1865. type CategoryListResp struct {
  1866. BaseDataInfo
  1867. // Category list data | Category列表数据
  1868. Data CategoryListInfo `json:"data"`
  1869. }
  1870. // Category list data | Category列表数据
  1871. // swagger:model CategoryListInfo
  1872. type CategoryListInfo struct {
  1873. BaseListInfo
  1874. // The API list data | Category列表数据
  1875. Data []CategoryInfo `json:"data"`
  1876. }
  1877. // Get category list request params | Category列表请求参数
  1878. // swagger:model CategoryListReq
  1879. type CategoryListReq struct {
  1880. PageInfo
  1881. // name | 角色名称
  1882. Name *string `json:"name,optional"`
  1883. }
  1884. // Category information response | Category信息返回体
  1885. // swagger:model CategoryInfoResp
  1886. type CategoryInfoResp struct {
  1887. BaseDataInfo
  1888. // Category information | Category数据
  1889. Data CategoryInfo `json:"data"`
  1890. }
  1891. // The data of agent base information | AgentBase信息
  1892. // swagger:model AgentBaseInfo
  1893. type AgentBaseInfo struct {
  1894. Id *string `json:"id,optional"`
  1895. }
  1896. // The response data of agent base list | AgentBase列表数据
  1897. // swagger:model AgentBaseListResp
  1898. type AgentBaseListResp struct {
  1899. BaseDataInfo
  1900. // AgentBase list data | AgentBase列表数据
  1901. Data AgentBaseListInfo `json:"data"`
  1902. }
  1903. // AgentBase list data | AgentBase列表数据
  1904. // swagger:model AgentBaseListInfo
  1905. type AgentBaseListInfo struct {
  1906. BaseListInfo
  1907. // The API list data | AgentBase列表数据
  1908. Data []AgentBaseInfo `json:"data"`
  1909. }
  1910. // Get agent base list request params | AgentBase列表请求参数
  1911. // swagger:model AgentBaseListReq
  1912. type AgentBaseListReq struct {
  1913. PageInfo
  1914. // q
  1915. Q *string `json:"q,optional"`
  1916. // a
  1917. A *string `json:"a,optional"`
  1918. // dataset_id
  1919. DatasetId *string `json:"datasetId,optional"`
  1920. }
  1921. // AgentBase information response | AgentBase信息返回体
  1922. // swagger:model AgentBaseInfoResp
  1923. type AgentBaseInfoResp struct {
  1924. BaseDataInfo
  1925. // AgentBase information | AgentBase数据
  1926. Data AgentBaseInfo `json:"data"`
  1927. }
  1928. // The data of chat records information | ChatRecords信息
  1929. // swagger:model ChatRecordsInfo
  1930. type ChatRecordsInfo struct {
  1931. BaseIDInfo
  1932. // 内容
  1933. Content *string `json:"content,optional"`
  1934. // 内容类型:1-提问 2-回答
  1935. ContentType *uint8 `json:"contentType,optional"`
  1936. // 会话ID
  1937. SessionId *uint64 `json:"sessionId,optional"`
  1938. // 用户ID
  1939. UserId *uint64 `json:"userId,optional"`
  1940. // 聊天ID
  1941. BotId *uint64 `json:"botId,optional"`
  1942. // 类型:1-微信 2-小程序card 3-智能体
  1943. BotType *uint8 `json:"botType,optional,options=1|2|3"`
  1944. Finish bool `json:"finish,optional"`
  1945. }
  1946. // The response data of chat records list | ChatRecords列表数据
  1947. // swagger:model ChatRecordsListResp
  1948. type ChatRecordsListResp struct {
  1949. BaseDataInfo
  1950. // ChatRecords list data | ChatRecords列表数据
  1951. Data ChatRecordsListInfo `json:"data"`
  1952. }
  1953. // ChatRecords list data | ChatRecords列表数据
  1954. // swagger:model ChatRecordsListInfo
  1955. type ChatRecordsListInfo struct {
  1956. BaseListInfo
  1957. // The API list data | ChatRecords列表数据
  1958. Data []ChatRecordsInfo `json:"data"`
  1959. }
  1960. // Get chat records list request params | ChatRecords列表请求参数
  1961. // swagger:model ChatRecordsListReq
  1962. type ChatRecordsListReq struct {
  1963. PageInfo
  1964. SessionId *uint64 `json:"sessionId,optional"`
  1965. BotId *uint64 `json:"botId,optional"`
  1966. BotType *uint8 `json:"botType,optional"`
  1967. }
  1968. // ChatRecords information response | ChatRecords信息返回体
  1969. // swagger:model ChatRecordsInfoResp
  1970. type ChatRecordsInfoResp struct {
  1971. BaseDataInfo
  1972. // ChatRecords information | ChatRecords数据
  1973. Data ChatRecordsInfo `json:"data"`
  1974. }
  1975. // The data of chat session information | ChatSession信息
  1976. // swagger:model ChatSessionInfo
  1977. type ChatSessionInfo struct {
  1978. BaseIDInfo
  1979. // 名称
  1980. Name *string `json:"name,optional"`
  1981. // 用户ID
  1982. UserId *uint64 `json:"userId,optional"`
  1983. // 聊天ID
  1984. BotId *uint64 `json:"botId,optional"`
  1985. // 类型:1-微信 2-小程序card 3-智能体
  1986. BotType *uint8 `json:"botType,optional"`
  1987. }
  1988. // The response data of chat session list | ChatSession列表数据
  1989. // swagger:model ChatSessionListResp
  1990. type ChatSessionListResp struct {
  1991. BaseDataInfo
  1992. // ChatSession list data | ChatSession列表数据
  1993. Data ChatSessionListInfo `json:"data"`
  1994. }
  1995. // ChatSession list data | ChatSession列表数据
  1996. // swagger:model ChatSessionListInfo
  1997. type ChatSessionListInfo struct {
  1998. BaseListInfo
  1999. // The API list data | ChatSession列表数据
  2000. Data []ChatSessionInfo `json:"data"`
  2001. }
  2002. // Get chat session list request params | ChatSession列表请求参数
  2003. // swagger:model ChatSessionListReq
  2004. type ChatSessionListReq struct {
  2005. PageInfo
  2006. BotType *uint8 `json:"botType,optional"`
  2007. }
  2008. // ChatSession information response | ChatSession信息返回体
  2009. // swagger:model ChatSessionInfoResp
  2010. type ChatSessionInfoResp struct {
  2011. BaseDataInfo
  2012. // ChatSession information | ChatSession数据
  2013. Data ChatSessionInfo `json:"data"`
  2014. }
  2015. // The data of wx card information | WxCard信息
  2016. // swagger:model WxCardInfo
  2017. type WxCardInfo struct {
  2018. BaseIDInfo
  2019. // user表ID
  2020. UserId *uint64 `json:"userId,optional"`
  2021. // wx表ID
  2022. WxUserId *uint64 `json:"wxUserId,optional"`
  2023. // 头像
  2024. Avatar *string `json:"avatar,optional"`
  2025. // logo
  2026. Logo *string `json:"logo,optional"`
  2027. // 名称
  2028. Name *string `json:"name,optional"`
  2029. // 公司
  2030. Company *string `json:"company,optional"`
  2031. // 地址
  2032. Address *string `json:"address,optional"`
  2033. // 手机号
  2034. Phone *string `json:"phone,optional"`
  2035. // 公众号
  2036. OfficialAccount *string `json:"officialAccount,optional"`
  2037. // 微信号
  2038. WechatAccount *string `json:"wechatAccount,optional"`
  2039. // 邮箱
  2040. Email *string `json:"email,optional"`
  2041. // 聊天信息
  2042. ApiBase *string `json:"apiBase,optional"`
  2043. ApiKey *string `json:"apiKey,optional"`
  2044. // AI信息
  2045. AiInfo *string `json:"aiInfo,optional"`
  2046. // 个人介绍
  2047. Intro *string `json:"intro,optional"`
  2048. }
  2049. // swagger:model WxCardSimpleInfo
  2050. type WxCardSimpleInfo struct {
  2051. ID *uint64 `json:"id,optional"`
  2052. // 头像
  2053. Avatar *string `json:"avatar,optional"`
  2054. // 名称
  2055. Name *string `json:"name,optional"`
  2056. }
  2057. // The response data of wx card list | WxCard列表数据
  2058. // swagger:model WxCardListResp
  2059. type WxCardListResp struct {
  2060. BaseDataInfo
  2061. // WxCard list data | WxCard列表数据
  2062. Data WxCardListInfo `json:"data"`
  2063. }
  2064. // WxCard list data | WxCard列表数据
  2065. // swagger:model WxCardListInfo
  2066. type WxCardListInfo struct {
  2067. BaseListInfo
  2068. // The API list data | WxCard列表数据
  2069. Data []WxCardInfo `json:"data"`
  2070. }
  2071. // Get wx card list request params | WxCard列表请求参数
  2072. // swagger:model WxCardListReq
  2073. type WxCardListReq struct {
  2074. PageInfo
  2075. // 头像
  2076. Avatar *string `json:"avatar,optional"`
  2077. // logo
  2078. Logo *string `json:"logo,optional"`
  2079. // 名称
  2080. Name *string `json:"name,optional"`
  2081. }
  2082. // WxCard information response | WxCard信息返回体
  2083. // swagger:model WxCardInfoResp
  2084. type WxCardInfoResp struct {
  2085. BaseDataInfo
  2086. // WxCard information | WxCard数据
  2087. Data WxCardInfo `json:"data"`
  2088. }
  2089. // The data of wx card user information | WxCardUser信息
  2090. // swagger:model WxCardUserInfo
  2091. type WxCardUserInfo struct {
  2092. BaseIDInfo
  2093. // 微信id
  2094. Wxid *string `json:"wxid,optional"`
  2095. // 微信号
  2096. Account *string `json:"account,optional"`
  2097. // 头像
  2098. Avatar *string `json:"avatar,optional"`
  2099. // 昵称
  2100. Nickname *string `json:"nickname,optional"`
  2101. // 备注名
  2102. Remark *string `json:"remark,optional"`
  2103. // 手机号
  2104. Phone *string `json:"phone,optional"`
  2105. // OpenID
  2106. OpenId *string `json:"openId,optional"`
  2107. }
  2108. // The response data of wx card user list | WxCardUser列表数据
  2109. // swagger:model WxCardUserListResp
  2110. type WxCardUserListResp struct {
  2111. BaseDataInfo
  2112. // WxCardUser list data | WxCardUser列表数据
  2113. Data WxCardUserListInfo `json:"data"`
  2114. }
  2115. // WxCardUser list data | WxCardUser列表数据
  2116. // swagger:model WxCardUserListInfo
  2117. type WxCardUserListInfo struct {
  2118. BaseListInfo
  2119. // The API list data | WxCardUser列表数据
  2120. Data []WxCardUserInfo `json:"data"`
  2121. }
  2122. // Get wx card user list request params | WxCardUser列表请求参数
  2123. // swagger:model WxCardUserListReq
  2124. type WxCardUserListReq struct {
  2125. PageInfo
  2126. // 微信id
  2127. Wxid *string `json:"wxid,optional"`
  2128. // 微信号
  2129. Account *string `json:"account,optional"`
  2130. // 头像
  2131. Avatar *string `json:"avatar,optional"`
  2132. }
  2133. // WxCardUser information response | WxCardUser信息返回体
  2134. // swagger:model WxCardUserInfoResp
  2135. type WxCardUserInfoResp struct {
  2136. BaseDataInfo
  2137. // WxCardUser information | WxCardUser数据
  2138. Data WxCardUserInfo `json:"data"`
  2139. }
  2140. // The data of wx card visit information | WxCardVisit信息
  2141. // swagger:model WxCardVisitInfo
  2142. type WxCardVisitInfo struct {
  2143. BaseIDInfo
  2144. // user表ID
  2145. UserId *uint64 `json:"userId,optional"`
  2146. // 被访ID
  2147. BotId *uint64 `json:"botId,optional"`
  2148. // 类型:1-微信 2-小程序 3-智能体
  2149. BotType *uint8 `json:"botType,optional"`
  2150. CardInfo WxCardSimpleInfo `json:"cardInfo,optional"`
  2151. }
  2152. // swagger:model WxCardVisitSingleInfo
  2153. type WxCardVisitSingleInfo struct {
  2154. BaseIDInfo
  2155. // user表ID
  2156. UserId *uint64 `json:"userId,optional"`
  2157. // 被访ID
  2158. BotId *uint64 `json:"botId,optional"`
  2159. // 类型:1-微信 2-小程序 3-智能体
  2160. BotType *uint8 `json:"botType,optional"`
  2161. CardInfo WxCardInfo `json:"cardInfo,optional"`
  2162. }
  2163. // The response data of wx card visit list | WxCardVisit列表数据
  2164. // swagger:model WxCardVisitListResp
  2165. type WxCardVisitListResp struct {
  2166. BaseDataInfo
  2167. // WxCardVisit list data | WxCardVisit列表数据
  2168. Data WxCardVisitListInfo `json:"data"`
  2169. }
  2170. // WxCardVisit list data | WxCardVisit列表数据
  2171. // swagger:model WxCardVisitListInfo
  2172. type WxCardVisitListInfo struct {
  2173. BaseListInfo
  2174. // The API list data | WxCardVisit列表数据
  2175. Data []WxCardVisitInfo `json:"data"`
  2176. }
  2177. // Get wx card visit list request params | WxCardVisit列表请求参数
  2178. // swagger:model WxCardVisitListReq
  2179. type WxCardVisitListReq struct {
  2180. PageInfo
  2181. }
  2182. // WxCardVisit information response | WxCardVisit信息返回体
  2183. // swagger:model WxCardVisitInfoResp
  2184. type WxCardVisitInfoResp struct {
  2185. BaseDataInfo
  2186. // WxCardVisit information | WxCardVisit数据
  2187. Data WxCardVisitInfo `json:"data"`
  2188. }
  2189. // swagger:model AvatarInfo
  2190. type AvatarInfo struct {
  2191. RequestId *string `json:"requestId"`
  2192. SessionId *string `json:"SessionId"`
  2193. Token *string `json:"token"`
  2194. Channel Channel `json:"channel"`
  2195. }
  2196. type Channel struct {
  2197. ChannelId *string `json:"channelId"`
  2198. Token *string `json:"token"`
  2199. Type *string `json:"type"`
  2200. ExpiredTime *string `json:"expiredTime"`
  2201. Nonce *string `json:"nonce"`
  2202. UserId *string `json:"userId"`
  2203. AppId *string `json:"appId"`
  2204. UserInfoInChannel *string `json:"userInfoInChannel"`
  2205. Gslb []string `json:"gslb"`
  2206. }
  2207. // start avatar request | 启动数字人
  2208. // swagger:model AvatarConfigReq
  2209. type AvatarConfigReq struct {
  2210. // 名片 ID
  2211. CardId *uint64 `json:"card_id,optional"`
  2212. }
  2213. // start avatar response | 启动数字人
  2214. // swagger:model AvatarConfigResp
  2215. type AvatarConfigResp struct {
  2216. BaseDataInfo
  2217. // Agent information | Agent数据
  2218. Data AvatarInfo `json:"data"`
  2219. }