mtmsdk 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts +2883 -0
  2. package/dist/gomtmapi/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/gomtmapi/@tanstack/react-query.gen.js +2990 -0
  4. package/dist/gomtmapi/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/gomtmapi/client/client.d.ts +3 -0
  6. package/dist/gomtmapi/client/client.d.ts.map +1 -0
  7. package/dist/gomtmapi/client/client.js +146 -0
  8. package/dist/gomtmapi/client/client.js.map +1 -0
  9. package/dist/gomtmapi/client/index.d.ts +8 -0
  10. package/dist/gomtmapi/client/index.d.ts.map +1 -0
  11. package/dist/gomtmapi/client/index.js +5 -0
  12. package/dist/gomtmapi/client/index.js.map +1 -0
  13. package/dist/gomtmapi/client/types.d.ts +120 -0
  14. package/dist/gomtmapi/client/types.d.ts.map +1 -0
  15. package/dist/gomtmapi/client/types.js +2 -0
  16. package/dist/gomtmapi/client/types.js.map +1 -0
  17. package/dist/gomtmapi/client/utils.d.ts +46 -0
  18. package/dist/gomtmapi/client/utils.d.ts.map +1 -0
  19. package/dist/gomtmapi/client/utils.js +285 -0
  20. package/dist/gomtmapi/client/utils.js.map +1 -0
  21. package/dist/gomtmapi/client.gen.d.ts +13 -0
  22. package/dist/gomtmapi/client.gen.d.ts.map +1 -0
  23. package/dist/gomtmapi/client.gen.js +4 -0
  24. package/dist/gomtmapi/client.gen.js.map +1 -0
  25. package/dist/gomtmapi/core/auth.d.ts +19 -0
  26. package/dist/gomtmapi/core/auth.d.ts.map +1 -0
  27. package/dist/gomtmapi/core/auth.js +14 -0
  28. package/dist/gomtmapi/core/auth.js.map +1 -0
  29. package/dist/gomtmapi/core/bodySerializer.d.ts +18 -0
  30. package/dist/gomtmapi/core/bodySerializer.d.ts.map +1 -0
  31. package/dist/gomtmapi/core/bodySerializer.js +54 -0
  32. package/dist/gomtmapi/core/bodySerializer.js.map +1 -0
  33. package/dist/gomtmapi/core/params.d.ts +24 -0
  34. package/dist/gomtmapi/core/params.d.ts.map +1 -0
  35. package/dist/gomtmapi/core/params.js +88 -0
  36. package/dist/gomtmapi/core/params.js.map +1 -0
  37. package/dist/gomtmapi/core/pathSerializer.d.ts +34 -0
  38. package/dist/gomtmapi/core/pathSerializer.d.ts.map +1 -0
  39. package/dist/gomtmapi/core/pathSerializer.js +114 -0
  40. package/dist/gomtmapi/core/pathSerializer.js.map +1 -0
  41. package/dist/gomtmapi/core/types.d.ts +74 -0
  42. package/dist/gomtmapi/core/types.d.ts.map +1 -0
  43. package/dist/gomtmapi/core/types.js +2 -0
  44. package/dist/gomtmapi/core/types.js.map +1 -0
  45. package/dist/gomtmapi/index.d.ts +3 -0
  46. package/dist/gomtmapi/index.d.ts.map +1 -0
  47. package/dist/gomtmapi/index.js +4 -0
  48. package/dist/gomtmapi/index.js.map +1 -0
  49. package/dist/gomtmapi/schemas.gen.d.ts +4385 -0
  50. package/dist/gomtmapi/schemas.gen.d.ts.map +1 -0
  51. package/dist/gomtmapi/schemas.gen.js +4521 -0
  52. package/dist/gomtmapi/schemas.gen.js.map +1 -0
  53. package/dist/gomtmapi/sdk.gen.d.ts +574 -0
  54. package/dist/gomtmapi/sdk.gen.d.ts.map +1 -0
  55. package/dist/gomtmapi/sdk.gen.js +2259 -0
  56. package/dist/gomtmapi/sdk.gen.js.map +1 -0
  57. package/dist/gomtmapi/types.gen.d.ts +6480 -0
  58. package/dist/gomtmapi/types.gen.d.ts.map +1 -0
  59. package/dist/gomtmapi/types.gen.js +70 -0
  60. package/dist/gomtmapi/types.gen.js.map +1 -0
  61. package/dist/gomtmapi/zod.gen.d.ts +5324 -0
  62. package/dist/gomtmapi/zod.gen.d.ts.map +1 -0
  63. package/dist/gomtmapi/zod.gen.js +2534 -0
  64. package/dist/gomtmapi/zod.gen.js.map +1 -0
  65. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts +2260 -0
  66. package/dist/gomtmapi_v2/@tanstack/react-query.gen.d.ts.map +1 -0
  67. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js +2413 -0
  68. package/dist/gomtmapi_v2/@tanstack/react-query.gen.js.map +1 -0
  69. package/dist/gomtmapi_v2/client/client.d.ts +3 -0
  70. package/dist/gomtmapi_v2/client/client.d.ts.map +1 -0
  71. package/dist/gomtmapi_v2/client/client.js +146 -0
  72. package/dist/gomtmapi_v2/client/client.js.map +1 -0
  73. package/dist/gomtmapi_v2/client/index.d.ts +8 -0
  74. package/dist/gomtmapi_v2/client/index.d.ts.map +1 -0
  75. package/dist/gomtmapi_v2/client/index.js +5 -0
  76. package/dist/gomtmapi_v2/client/index.js.map +1 -0
  77. package/dist/gomtmapi_v2/client/types.d.ts +120 -0
  78. package/dist/gomtmapi_v2/client/types.d.ts.map +1 -0
  79. package/dist/gomtmapi_v2/client/types.js +2 -0
  80. package/dist/gomtmapi_v2/client/types.js.map +1 -0
  81. package/dist/gomtmapi_v2/client/utils.d.ts +46 -0
  82. package/dist/gomtmapi_v2/client/utils.d.ts.map +1 -0
  83. package/dist/gomtmapi_v2/client/utils.js +285 -0
  84. package/dist/gomtmapi_v2/client/utils.js.map +1 -0
  85. package/dist/gomtmapi_v2/client.gen.d.ts +13 -0
  86. package/dist/gomtmapi_v2/client.gen.d.ts.map +1 -0
  87. package/dist/gomtmapi_v2/client.gen.js +4 -0
  88. package/dist/gomtmapi_v2/client.gen.js.map +1 -0
  89. package/dist/gomtmapi_v2/core/auth.d.ts +19 -0
  90. package/dist/gomtmapi_v2/core/auth.d.ts.map +1 -0
  91. package/dist/gomtmapi_v2/core/auth.js +14 -0
  92. package/dist/gomtmapi_v2/core/auth.js.map +1 -0
  93. package/dist/gomtmapi_v2/core/bodySerializer.d.ts +18 -0
  94. package/dist/gomtmapi_v2/core/bodySerializer.d.ts.map +1 -0
  95. package/dist/gomtmapi_v2/core/bodySerializer.js +54 -0
  96. package/dist/gomtmapi_v2/core/bodySerializer.js.map +1 -0
  97. package/dist/gomtmapi_v2/core/params.d.ts +24 -0
  98. package/dist/gomtmapi_v2/core/params.d.ts.map +1 -0
  99. package/dist/gomtmapi_v2/core/params.js +88 -0
  100. package/dist/gomtmapi_v2/core/params.js.map +1 -0
  101. package/dist/gomtmapi_v2/core/pathSerializer.d.ts +34 -0
  102. package/dist/gomtmapi_v2/core/pathSerializer.d.ts.map +1 -0
  103. package/dist/gomtmapi_v2/core/pathSerializer.js +114 -0
  104. package/dist/gomtmapi_v2/core/pathSerializer.js.map +1 -0
  105. package/dist/gomtmapi_v2/core/types.d.ts +74 -0
  106. package/dist/gomtmapi_v2/core/types.d.ts.map +1 -0
  107. package/dist/gomtmapi_v2/core/types.js +2 -0
  108. package/dist/gomtmapi_v2/core/types.js.map +1 -0
  109. package/dist/gomtmapi_v2/index.d.ts +3 -0
  110. package/dist/gomtmapi_v2/index.d.ts.map +1 -0
  111. package/dist/gomtmapi_v2/index.js +4 -0
  112. package/dist/gomtmapi_v2/index.js.map +1 -0
  113. package/dist/gomtmapi_v2/schemas.gen.d.ts +2371 -0
  114. package/dist/gomtmapi_v2/schemas.gen.d.ts.map +1 -0
  115. package/dist/gomtmapi_v2/schemas.gen.js +2372 -0
  116. package/dist/gomtmapi_v2/schemas.gen.js.map +1 -0
  117. package/dist/gomtmapi_v2/sdk.gen.d.ts +974 -0
  118. package/dist/gomtmapi_v2/sdk.gen.d.ts.map +1 -0
  119. package/dist/gomtmapi_v2/sdk.gen.js +1345 -0
  120. package/dist/gomtmapi_v2/sdk.gen.js.map +1 -0
  121. package/dist/gomtmapi_v2/types.gen.d.ts +2964 -0
  122. package/dist/gomtmapi_v2/types.gen.d.ts.map +1 -0
  123. package/dist/gomtmapi_v2/types.gen.js +3 -0
  124. package/dist/gomtmapi_v2/types.gen.js.map +1 -0
  125. package/dist/gomtmapi_v2/zod.gen.d.ts +2327 -0
  126. package/dist/gomtmapi_v2/zod.gen.d.ts.map +1 -0
  127. package/dist/gomtmapi_v2/zod.gen.js +1768 -0
  128. package/dist/gomtmapi_v2/zod.gen.js.map +1 -0
  129. package/dist/index.d.ts +4 -1
  130. package/dist/index.d.ts.map +1 -1
  131. package/dist/index.js +4 -2
  132. package/dist/index.js.map +1 -1
  133. package/dist/lib/adk-utils.d.ts +24 -0
  134. package/dist/lib/adk-utils.d.ts.map +1 -0
  135. package/dist/lib/adk-utils.js +51 -0
  136. package/dist/lib/adk-utils.js.map +1 -0
  137. package/dist/lib/constants.d.ts +40 -0
  138. package/dist/lib/constants.d.ts.map +1 -0
  139. package/dist/lib/constants.js +40 -0
  140. package/dist/lib/constants.js.map +1 -0
  141. package/dist/lib/d1-utils.d.ts +5 -0
  142. package/dist/lib/d1-utils.d.ts.map +1 -0
  143. package/dist/lib/d1-utils.js +36 -0
  144. package/dist/lib/d1-utils.js.map +1 -0
  145. package/dist/lib/get-query-client.d.ts +3 -0
  146. package/dist/lib/get-query-client.d.ts.map +1 -0
  147. package/dist/lib/get-query-client.js +43 -0
  148. package/dist/lib/get-query-client.js.map +1 -0
  149. package/dist/lib/mtmutils.d.ts +2 -0
  150. package/dist/lib/mtmutils.d.ts.map +1 -0
  151. package/dist/lib/mtmutils.js +9 -0
  152. package/dist/lib/mtmutils.js.map +1 -0
  153. package/dist/mtgate_api/zod.gen.d.ts +48 -48
  154. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts +1286 -0
  155. package/dist/mtmai_api/@tanstack/react-query.gen.d.ts.map +1 -0
  156. package/dist/mtmai_api/@tanstack/react-query.gen.js +1321 -0
  157. package/dist/mtmai_api/@tanstack/react-query.gen.js.map +1 -0
  158. package/dist/mtmai_api/client/client.d.ts +3 -0
  159. package/dist/mtmai_api/client/client.d.ts.map +1 -0
  160. package/dist/mtmai_api/client/client.js +146 -0
  161. package/dist/mtmai_api/client/client.js.map +1 -0
  162. package/dist/mtmai_api/client/index.d.ts +8 -0
  163. package/dist/mtmai_api/client/index.d.ts.map +1 -0
  164. package/dist/mtmai_api/client/index.js +5 -0
  165. package/dist/mtmai_api/client/index.js.map +1 -0
  166. package/dist/mtmai_api/client/types.d.ts +120 -0
  167. package/dist/mtmai_api/client/types.d.ts.map +1 -0
  168. package/dist/mtmai_api/client/types.js +2 -0
  169. package/dist/mtmai_api/client/types.js.map +1 -0
  170. package/dist/mtmai_api/client/utils.d.ts +46 -0
  171. package/dist/mtmai_api/client/utils.d.ts.map +1 -0
  172. package/dist/mtmai_api/client/utils.js +285 -0
  173. package/dist/mtmai_api/client/utils.js.map +1 -0
  174. package/dist/mtmai_api/client.gen.d.ts +13 -0
  175. package/dist/mtmai_api/client.gen.d.ts.map +1 -0
  176. package/dist/mtmai_api/client.gen.js +4 -0
  177. package/dist/mtmai_api/client.gen.js.map +1 -0
  178. package/dist/mtmai_api/core/auth.d.ts +19 -0
  179. package/dist/mtmai_api/core/auth.d.ts.map +1 -0
  180. package/dist/mtmai_api/core/auth.js +14 -0
  181. package/dist/mtmai_api/core/auth.js.map +1 -0
  182. package/dist/mtmai_api/core/bodySerializer.d.ts +18 -0
  183. package/dist/mtmai_api/core/bodySerializer.d.ts.map +1 -0
  184. package/dist/mtmai_api/core/bodySerializer.js +54 -0
  185. package/dist/mtmai_api/core/bodySerializer.js.map +1 -0
  186. package/dist/mtmai_api/core/params.d.ts +24 -0
  187. package/dist/mtmai_api/core/params.d.ts.map +1 -0
  188. package/dist/mtmai_api/core/params.js +88 -0
  189. package/dist/mtmai_api/core/params.js.map +1 -0
  190. package/dist/mtmai_api/core/pathSerializer.d.ts +34 -0
  191. package/dist/mtmai_api/core/pathSerializer.d.ts.map +1 -0
  192. package/dist/mtmai_api/core/pathSerializer.js +114 -0
  193. package/dist/mtmai_api/core/pathSerializer.js.map +1 -0
  194. package/dist/mtmai_api/core/types.d.ts +74 -0
  195. package/dist/mtmai_api/core/types.d.ts.map +1 -0
  196. package/dist/mtmai_api/core/types.js +2 -0
  197. package/dist/mtmai_api/core/types.js.map +1 -0
  198. package/dist/mtmai_api/index.d.ts +3 -0
  199. package/dist/mtmai_api/index.d.ts.map +1 -0
  200. package/dist/mtmai_api/index.js +4 -0
  201. package/dist/mtmai_api/index.js.map +1 -0
  202. package/dist/mtmai_api/schemas.gen.d.ts +7364 -0
  203. package/dist/mtmai_api/schemas.gen.d.ts.map +1 -0
  204. package/dist/mtmai_api/schemas.gen.js +9574 -0
  205. package/dist/mtmai_api/schemas.gen.js.map +1 -0
  206. package/dist/mtmai_api/sdk.gen.d.ts +264 -0
  207. package/dist/mtmai_api/sdk.gen.d.ts.map +1 -0
  208. package/dist/mtmai_api/sdk.gen.js +598 -0
  209. package/dist/mtmai_api/sdk.gen.js.map +1 -0
  210. package/dist/mtmai_api/types.gen.d.ts +6376 -0
  211. package/dist/mtmai_api/types.gen.d.ts.map +1 -0
  212. package/dist/mtmai_api/types.gen.js +240 -0
  213. package/dist/mtmai_api/types.gen.js.map +1 -0
  214. package/dist/mtmai_api/zod.gen.d.ts +35067 -0
  215. package/dist/mtmai_api/zod.gen.d.ts.map +1 -0
  216. package/dist/mtmai_api/zod.gen.js +2930 -0
  217. package/dist/mtmai_api/zod.gen.js.map +1 -0
  218. package/dist/store/MtmsdkProvider.d.ts +15 -0
  219. package/dist/store/MtmsdkProvider.d.ts.map +1 -0
  220. package/dist/store/MtmsdkProvider.js +50 -0
  221. package/dist/store/MtmsdkProvider.js.map +1 -0
  222. package/dist/store/ReactQueryApiV2Provider.d.ts +10 -0
  223. package/dist/store/ReactQueryApiV2Provider.d.ts.map +1 -0
  224. package/dist/store/ReactQueryApiV2Provider.js +24 -0
  225. package/dist/store/ReactQueryApiV2Provider.js.map +1 -0
  226. package/dist/store/ReactQueryCfApiProvider.d.ts +9 -0
  227. package/dist/store/ReactQueryCfApiProvider.d.ts.map +1 -0
  228. package/dist/store/ReactQueryCfApiProvider.js +26 -0
  229. package/dist/store/ReactQueryCfApiProvider.js.map +1 -0
  230. package/dist/store/ReactQueryMtmaiApiProvider.d.ts +10 -0
  231. package/dist/store/ReactQueryMtmaiApiProvider.d.ts.map +1 -0
  232. package/dist/store/ReactQueryMtmaiApiProvider.js +23 -0
  233. package/dist/store/ReactQueryMtmaiApiProvider.js.map +1 -0
  234. package/dist/store/ReactQueryProvider.d.ts +10 -0
  235. package/dist/store/ReactQueryProvider.d.ts.map +1 -0
  236. package/dist/store/ReactQueryProvider.js +24 -0
  237. package/dist/store/ReactQueryProvider.js.map +1 -0
  238. package/package.json +69 -15
@@ -0,0 +1,2372 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export const AgentEventPushRequestSchema = {
3
+ description: "AgentEventPushRequest schema",
4
+ properties: {
5
+ agentId: {
6
+ example: "123e4567-e89b-12d3-a456-426614174000",
7
+ type: "string",
8
+ },
9
+ event: {
10
+ type: "string",
11
+ },
12
+ eventData: {
13
+ type: "string",
14
+ },
15
+ },
16
+ required: ["agentId"],
17
+ type: "object",
18
+ };
19
+ export const AgentEventPushResponseSchema = {
20
+ description: "AgentEventPushResponse schema",
21
+ properties: {
22
+ agentId: {
23
+ example: "123e4567-e89b-12d3-a456-426614174000",
24
+ type: "string",
25
+ },
26
+ },
27
+ required: ["agentId"],
28
+ type: "object",
29
+ };
30
+ export const AgentResponseSchema = {
31
+ description: "AgentResponse schema",
32
+ properties: {
33
+ config: {
34
+ additionalProperties: {},
35
+ type: "object",
36
+ },
37
+ created_at: {
38
+ format: "date-time",
39
+ type: "string",
40
+ },
41
+ description: {
42
+ type: "string",
43
+ },
44
+ id: {
45
+ type: "string",
46
+ },
47
+ name: {
48
+ type: "string",
49
+ },
50
+ state: {
51
+ additionalProperties: {},
52
+ type: "object",
53
+ },
54
+ status: {
55
+ type: "string",
56
+ },
57
+ tenant_id: {
58
+ type: "string",
59
+ },
60
+ updated_at: {
61
+ format: "date-time",
62
+ type: "string",
63
+ },
64
+ },
65
+ required: ["id", "created_at", "name", "status", "config", "state"],
66
+ type: "object",
67
+ };
68
+ export const BrowserConfigSchema = {
69
+ description: "BrowserConfig schema",
70
+ properties: {
71
+ createdAt: {
72
+ format: "date-time",
73
+ nullable: true,
74
+ type: "string",
75
+ },
76
+ id: {
77
+ type: "string",
78
+ },
79
+ name: {
80
+ type: "string",
81
+ },
82
+ settings: {
83
+ additionalProperties: {},
84
+ nullable: true,
85
+ type: "object",
86
+ },
87
+ type: {
88
+ type: "string",
89
+ },
90
+ updatedAt: {
91
+ format: "date-time",
92
+ nullable: true,
93
+ type: "string",
94
+ },
95
+ },
96
+ type: "object",
97
+ };
98
+ export const BrowserConfigCreateSchema = {
99
+ description: "BrowserConfigCreate schema",
100
+ properties: {
101
+ name: {
102
+ type: "string",
103
+ },
104
+ settings: {
105
+ additionalProperties: {},
106
+ nullable: true,
107
+ type: "object",
108
+ },
109
+ type: {
110
+ type: "string",
111
+ },
112
+ },
113
+ type: "object",
114
+ };
115
+ export const ChatbotListResponseSchema = {
116
+ description: "ChatbotListResponse schema",
117
+ properties: {
118
+ data: {
119
+ items: {
120
+ properties: {
121
+ config: {
122
+ additionalProperties: {},
123
+ nullable: true,
124
+ type: "object",
125
+ },
126
+ createdAt: {
127
+ example: "2023-01-01T00:00:00Z",
128
+ type: "string",
129
+ },
130
+ createdBy: {
131
+ example: "123e4567-e89b-12d3-a456-426614174000",
132
+ type: "string",
133
+ },
134
+ description: {
135
+ description: "string schema",
136
+ example: "A helpful chatbot",
137
+ nullable: true,
138
+ type: "string",
139
+ },
140
+ id: {
141
+ example: "123e4567-e89b-12d3-a456-426614174000",
142
+ type: "string",
143
+ },
144
+ lastActiveAt: {
145
+ description: "string schema",
146
+ example: "2023-01-01T00:00:00Z",
147
+ nullable: true,
148
+ type: "string",
149
+ },
150
+ name: {
151
+ example: "My Bot",
152
+ type: "string",
153
+ },
154
+ platform: {
155
+ example: "napcatqq",
156
+ type: "string",
157
+ },
158
+ serverType: {
159
+ description: "string schema",
160
+ example: "napcatqq",
161
+ nullable: true,
162
+ type: "string",
163
+ },
164
+ serverUrl: {
165
+ description: "string schema",
166
+ example: "http://localhost:6099",
167
+ nullable: true,
168
+ type: "string",
169
+ },
170
+ state: {
171
+ nullable: true,
172
+ properties: {
173
+ humanInteractMsg: {
174
+ type: "string",
175
+ },
176
+ isHumanInteract: {
177
+ type: "boolean",
178
+ },
179
+ isLogined: {
180
+ type: "boolean",
181
+ },
182
+ isRunning: {
183
+ type: "boolean",
184
+ },
185
+ lastStatusUpdate: {
186
+ format: "int64",
187
+ type: "integer",
188
+ },
189
+ lastestReceiveMsg: {
190
+ type: "string",
191
+ },
192
+ lastestSendMsg: {
193
+ type: "string",
194
+ },
195
+ status: {
196
+ type: "string",
197
+ },
198
+ statusMessage: {
199
+ type: "string",
200
+ },
201
+ },
202
+ type: "object",
203
+ },
204
+ status: {
205
+ example: "active",
206
+ type: "string",
207
+ },
208
+ tags: {
209
+ items: {
210
+ type: "string",
211
+ },
212
+ nullable: true,
213
+ type: "array",
214
+ },
215
+ tenantId: {
216
+ example: "123e4567-e89b-12d3-a456-426614174000",
217
+ type: "string",
218
+ },
219
+ updatedAt: {
220
+ example: "2023-01-01T00:00:00Z",
221
+ type: "string",
222
+ },
223
+ },
224
+ type: "object",
225
+ },
226
+ type: "array",
227
+ },
228
+ limit: {
229
+ example: 20,
230
+ type: "integer",
231
+ },
232
+ page: {
233
+ example: 1,
234
+ type: "integer",
235
+ },
236
+ total: {
237
+ example: 100,
238
+ type: "integer",
239
+ },
240
+ },
241
+ type: "object",
242
+ };
243
+ export const ChatbotResponseSchema = {
244
+ description: "ChatbotResponse schema",
245
+ properties: {
246
+ config: {
247
+ additionalProperties: {},
248
+ nullable: true,
249
+ type: "object",
250
+ },
251
+ createdAt: {
252
+ example: "2023-01-01T00:00:00Z",
253
+ type: "string",
254
+ },
255
+ createdBy: {
256
+ example: "123e4567-e89b-12d3-a456-426614174000",
257
+ type: "string",
258
+ },
259
+ description: {
260
+ description: "string schema",
261
+ example: "A helpful chatbot",
262
+ nullable: true,
263
+ type: "string",
264
+ },
265
+ id: {
266
+ example: "123e4567-e89b-12d3-a456-426614174000",
267
+ type: "string",
268
+ },
269
+ lastActiveAt: {
270
+ description: "string schema",
271
+ example: "2023-01-01T00:00:00Z",
272
+ nullable: true,
273
+ type: "string",
274
+ },
275
+ name: {
276
+ example: "My Bot",
277
+ type: "string",
278
+ },
279
+ platform: {
280
+ example: "napcatqq",
281
+ type: "string",
282
+ },
283
+ serverType: {
284
+ description: "string schema",
285
+ example: "napcatqq",
286
+ nullable: true,
287
+ type: "string",
288
+ },
289
+ serverUrl: {
290
+ description: "string schema",
291
+ example: "http://localhost:6099",
292
+ nullable: true,
293
+ type: "string",
294
+ },
295
+ state: {
296
+ nullable: true,
297
+ properties: {
298
+ humanInteractMsg: {
299
+ type: "string",
300
+ },
301
+ isHumanInteract: {
302
+ type: "boolean",
303
+ },
304
+ isLogined: {
305
+ type: "boolean",
306
+ },
307
+ isRunning: {
308
+ type: "boolean",
309
+ },
310
+ lastStatusUpdate: {
311
+ format: "int64",
312
+ type: "integer",
313
+ },
314
+ lastestReceiveMsg: {
315
+ type: "string",
316
+ },
317
+ lastestSendMsg: {
318
+ type: "string",
319
+ },
320
+ status: {
321
+ type: "string",
322
+ },
323
+ statusMessage: {
324
+ type: "string",
325
+ },
326
+ },
327
+ type: "object",
328
+ },
329
+ status: {
330
+ example: "active",
331
+ type: "string",
332
+ },
333
+ tags: {
334
+ items: {
335
+ type: "string",
336
+ },
337
+ nullable: true,
338
+ type: "array",
339
+ },
340
+ tenantId: {
341
+ example: "123e4567-e89b-12d3-a456-426614174000",
342
+ type: "string",
343
+ },
344
+ updatedAt: {
345
+ example: "2023-01-01T00:00:00Z",
346
+ type: "string",
347
+ },
348
+ },
349
+ type: "object",
350
+ };
351
+ export const ChatbotUpsertRequestSchema = {
352
+ description: "ChatbotUpsertRequest schema",
353
+ properties: {
354
+ config: {
355
+ additionalProperties: {},
356
+ nullable: true,
357
+ type: "object",
358
+ },
359
+ description: {
360
+ description: "string schema",
361
+ example: "A helpful chatbot",
362
+ maxLength: 500,
363
+ nullable: true,
364
+ type: "string",
365
+ },
366
+ id: {
367
+ description: "string schema",
368
+ example: "123e4567-e89b-12d3-a456-426614174000",
369
+ nullable: true,
370
+ type: "string",
371
+ },
372
+ name: {
373
+ example: "My Bot",
374
+ maxLength: 100,
375
+ minLength: 1,
376
+ type: "string",
377
+ },
378
+ platform: {
379
+ example: "napcatqq",
380
+ maxLength: 50,
381
+ minLength: 1,
382
+ type: "string",
383
+ },
384
+ serverType: {
385
+ description: "string schema",
386
+ example: "napcatqq",
387
+ nullable: true,
388
+ type: "string",
389
+ },
390
+ serverUrl: {
391
+ description: "string schema",
392
+ example: "http://localhost:6099",
393
+ nullable: true,
394
+ type: "string",
395
+ },
396
+ status: {
397
+ example: "inactive",
398
+ type: "string",
399
+ },
400
+ tags: {
401
+ items: {
402
+ type: "string",
403
+ },
404
+ nullable: true,
405
+ type: "array",
406
+ },
407
+ },
408
+ required: ["name", "platform", "status"],
409
+ type: "object",
410
+ };
411
+ export const CheckSandboxStatusRequestSchema = {
412
+ description: "CheckSandboxStatusRequest schema",
413
+ properties: {
414
+ sandboxIds: {
415
+ items: {
416
+ type: "string",
417
+ },
418
+ type: "array",
419
+ },
420
+ },
421
+ required: ["sandboxIds"],
422
+ type: "object",
423
+ };
424
+ export const CheckSandboxStatusResponseSchema = {
425
+ description: "CheckSandboxStatusResponse schema",
426
+ properties: {
427
+ results: {
428
+ items: {
429
+ properties: {
430
+ error: {
431
+ nullable: true,
432
+ type: "string",
433
+ },
434
+ sandboxId: {
435
+ type: "string",
436
+ },
437
+ status: {
438
+ type: "string",
439
+ },
440
+ },
441
+ type: "object",
442
+ },
443
+ type: "array",
444
+ },
445
+ total_checked: {
446
+ type: "integer",
447
+ },
448
+ },
449
+ type: "object",
450
+ };
451
+ export const CreateAgentRequestSchema = {
452
+ description: "CreateAgentRequest schema",
453
+ properties: {
454
+ config: {
455
+ additionalProperties: {},
456
+ nullable: true,
457
+ type: "object",
458
+ },
459
+ description: {
460
+ nullable: true,
461
+ type: "string",
462
+ },
463
+ name: {
464
+ type: "string",
465
+ },
466
+ state: {
467
+ additionalProperties: {},
468
+ nullable: true,
469
+ type: "object",
470
+ },
471
+ status: {
472
+ nullable: true,
473
+ type: "string",
474
+ },
475
+ },
476
+ required: ["name"],
477
+ type: "object",
478
+ };
479
+ export const CreatePAccountRequestSchema = {
480
+ description: "CreatePAccountRequest schema",
481
+ properties: {
482
+ config: {
483
+ additionalProperties: {},
484
+ nullable: true,
485
+ type: "object",
486
+ },
487
+ description: {
488
+ description: "string schema",
489
+ nullable: true,
490
+ type: "string",
491
+ },
492
+ enabled: {
493
+ nullable: true,
494
+ type: "boolean",
495
+ },
496
+ icon: {
497
+ description: "string schema",
498
+ nullable: true,
499
+ type: "string",
500
+ },
501
+ name: {
502
+ description: "string schema",
503
+ nullable: true,
504
+ type: "string",
505
+ },
506
+ platformId: {
507
+ type: "string",
508
+ },
509
+ tags: {
510
+ items: {
511
+ type: "string",
512
+ },
513
+ nullable: true,
514
+ type: "array",
515
+ },
516
+ },
517
+ required: ["platformId"],
518
+ type: "object",
519
+ };
520
+ export const CreatePlatformRequestSchema = {
521
+ description: "CreatePlatformRequest schema",
522
+ properties: {
523
+ description: {
524
+ description: "string schema",
525
+ nullable: true,
526
+ type: "string",
527
+ },
528
+ loginUrl: {
529
+ description: "string schema",
530
+ nullable: true,
531
+ type: "string",
532
+ },
533
+ name: {
534
+ type: "string",
535
+ },
536
+ tags: {
537
+ items: {
538
+ type: "string",
539
+ },
540
+ nullable: true,
541
+ type: "array",
542
+ },
543
+ url: {
544
+ description: "string schema",
545
+ nullable: true,
546
+ type: "string",
547
+ },
548
+ },
549
+ required: ["name"],
550
+ type: "object",
551
+ };
552
+ export const CreateSbServiceRequestSchema = {
553
+ description: "CreateSbServiceRequest schema",
554
+ properties: {
555
+ config: {
556
+ additionalProperties: {},
557
+ nullable: true,
558
+ type: "object",
559
+ },
560
+ deploy_type: {
561
+ type: "string",
562
+ },
563
+ description: {
564
+ nullable: true,
565
+ type: "string",
566
+ },
567
+ name: {
568
+ type: "string",
569
+ },
570
+ server_url: {
571
+ nullable: true,
572
+ type: "string",
573
+ },
574
+ state: {
575
+ additionalProperties: {},
576
+ nullable: true,
577
+ type: "object",
578
+ },
579
+ status: {
580
+ nullable: true,
581
+ type: "string",
582
+ },
583
+ },
584
+ required: ["name", "deploy_type"],
585
+ type: "object",
586
+ };
587
+ export const CreateSessionRequestSchema = {
588
+ description: "CreateSessionRequest schema",
589
+ properties: {
590
+ config: {
591
+ additionalProperties: {},
592
+ nullable: true,
593
+ type: "object",
594
+ },
595
+ type: {
596
+ nullable: true,
597
+ type: "string",
598
+ },
599
+ },
600
+ type: "object",
601
+ };
602
+ export const ExportPAccountsResponseSchema = {
603
+ description: "ExportPAccountsResponse schema",
604
+ properties: {
605
+ data: {
606
+ items: {
607
+ properties: {
608
+ config: {
609
+ additionalProperties: {},
610
+ nullable: true,
611
+ type: "object",
612
+ },
613
+ createdAt: {
614
+ format: "date-time",
615
+ type: "string",
616
+ },
617
+ description: {
618
+ description: "string schema",
619
+ nullable: true,
620
+ type: "string",
621
+ },
622
+ enabled: {
623
+ type: "boolean",
624
+ },
625
+ error: {
626
+ description: "string schema",
627
+ nullable: true,
628
+ type: "string",
629
+ },
630
+ icon: {
631
+ description: "string schema",
632
+ nullable: true,
633
+ type: "string",
634
+ },
635
+ id: {
636
+ type: "string",
637
+ },
638
+ name: {
639
+ description: "string schema",
640
+ nullable: true,
641
+ type: "string",
642
+ },
643
+ platform: {
644
+ nullable: true,
645
+ properties: {
646
+ description: {
647
+ description: "string schema",
648
+ nullable: true,
649
+ type: "string",
650
+ },
651
+ id: {
652
+ type: "string",
653
+ },
654
+ name: {
655
+ type: "string",
656
+ },
657
+ },
658
+ type: "object",
659
+ },
660
+ platformId: {
661
+ type: "string",
662
+ },
663
+ state: {
664
+ additionalProperties: {},
665
+ nullable: true,
666
+ type: "object",
667
+ },
668
+ tags: {
669
+ items: {
670
+ type: "string",
671
+ },
672
+ nullable: true,
673
+ type: "array",
674
+ },
675
+ updatedAt: {
676
+ format: "date-time",
677
+ type: "string",
678
+ },
679
+ },
680
+ type: "object",
681
+ },
682
+ type: "array",
683
+ },
684
+ exportedAt: {
685
+ format: "date-time",
686
+ type: "string",
687
+ },
688
+ totalCount: {
689
+ type: "integer",
690
+ },
691
+ version: {
692
+ type: "string",
693
+ },
694
+ },
695
+ type: "object",
696
+ };
697
+ export const ExportPlatformsResponseSchema = {
698
+ description: "ExportPlatformsResponse schema",
699
+ properties: {
700
+ data: {
701
+ items: {
702
+ properties: {
703
+ createdAt: {
704
+ format: "date-time",
705
+ type: "string",
706
+ },
707
+ description: {
708
+ nullable: true,
709
+ type: "string",
710
+ },
711
+ id: {
712
+ type: "string",
713
+ },
714
+ loginUrl: {
715
+ nullable: true,
716
+ type: "string",
717
+ },
718
+ name: {
719
+ type: "string",
720
+ },
721
+ tags: {
722
+ items: {
723
+ type: "string",
724
+ },
725
+ nullable: true,
726
+ type: "array",
727
+ },
728
+ updatedAt: {
729
+ format: "date-time",
730
+ type: "string",
731
+ },
732
+ url: {
733
+ nullable: true,
734
+ type: "string",
735
+ },
736
+ },
737
+ type: "object",
738
+ },
739
+ type: "array",
740
+ },
741
+ exportedAt: {
742
+ format: "date-time",
743
+ type: "string",
744
+ },
745
+ totalCount: {
746
+ type: "integer",
747
+ },
748
+ version: {
749
+ type: "string",
750
+ },
751
+ },
752
+ type: "object",
753
+ };
754
+ export const HTTPErrorSchema = {
755
+ description: "HTTPError schema",
756
+ properties: {
757
+ detail: {
758
+ description: "Human readable error message",
759
+ nullable: true,
760
+ type: "string",
761
+ },
762
+ errors: {
763
+ items: {
764
+ properties: {
765
+ more: {
766
+ additionalProperties: {},
767
+ description: "Additional information about the error",
768
+ nullable: true,
769
+ type: "object",
770
+ },
771
+ name: {
772
+ description: "For example, name of the parameter that caused the error",
773
+ type: "string",
774
+ },
775
+ reason: {
776
+ description: "Human readable error message",
777
+ type: "string",
778
+ },
779
+ },
780
+ type: "object",
781
+ },
782
+ nullable: true,
783
+ type: "array",
784
+ },
785
+ instance: {
786
+ nullable: true,
787
+ type: "string",
788
+ },
789
+ status: {
790
+ description: "HTTP status code",
791
+ example: 403,
792
+ nullable: true,
793
+ type: "integer",
794
+ },
795
+ title: {
796
+ description: "Short title of the error",
797
+ nullable: true,
798
+ type: "string",
799
+ },
800
+ type: {
801
+ description: "URL of the error type. Can be used to lookup the error in a documentation",
802
+ nullable: true,
803
+ type: "string",
804
+ },
805
+ },
806
+ type: "object",
807
+ };
808
+ export const ImportPAccountsRequestSchema = {
809
+ description: "ImportPAccountsRequest schema",
810
+ properties: {
811
+ data: {
812
+ items: {
813
+ properties: {
814
+ config: {
815
+ additionalProperties: {},
816
+ nullable: true,
817
+ type: "object",
818
+ },
819
+ description: {
820
+ description: "string schema",
821
+ nullable: true,
822
+ type: "string",
823
+ },
824
+ enabled: {
825
+ description: "bool schema",
826
+ nullable: true,
827
+ type: "boolean",
828
+ },
829
+ icon: {
830
+ description: "string schema",
831
+ nullable: true,
832
+ type: "string",
833
+ },
834
+ name: {
835
+ description: "string schema",
836
+ nullable: true,
837
+ type: "string",
838
+ },
839
+ platformId: {
840
+ type: "string",
841
+ },
842
+ tags: {
843
+ items: {
844
+ type: "string",
845
+ },
846
+ nullable: true,
847
+ type: "array",
848
+ },
849
+ },
850
+ required: ["platformId"],
851
+ type: "object",
852
+ },
853
+ type: "array",
854
+ },
855
+ options: {
856
+ nullable: true,
857
+ properties: {
858
+ overwrite: {
859
+ type: "boolean",
860
+ },
861
+ skipDuplicates: {
862
+ type: "boolean",
863
+ },
864
+ },
865
+ type: "object",
866
+ },
867
+ },
868
+ type: "object",
869
+ };
870
+ export const ImportPAccountsResponseSchema = {
871
+ description: "ImportPAccountsResponse schema",
872
+ properties: {
873
+ errors: {
874
+ items: {
875
+ properties: {
876
+ line: {
877
+ type: "integer",
878
+ },
879
+ message: {
880
+ type: "string",
881
+ },
882
+ },
883
+ type: "object",
884
+ },
885
+ nullable: true,
886
+ type: "array",
887
+ },
888
+ imported: {
889
+ type: "integer",
890
+ },
891
+ skipped: {
892
+ type: "integer",
893
+ },
894
+ success: {
895
+ type: "boolean",
896
+ },
897
+ },
898
+ type: "object",
899
+ };
900
+ export const ImportPlatformsRequestSchema = {
901
+ description: "ImportPlatformsRequest schema",
902
+ properties: {
903
+ data: {
904
+ items: {
905
+ properties: {
906
+ description: {
907
+ description: "string schema",
908
+ nullable: true,
909
+ type: "string",
910
+ },
911
+ loginUrl: {
912
+ description: "string schema",
913
+ nullable: true,
914
+ type: "string",
915
+ },
916
+ name: {
917
+ type: "string",
918
+ },
919
+ tags: {
920
+ items: {
921
+ type: "string",
922
+ },
923
+ nullable: true,
924
+ type: "array",
925
+ },
926
+ url: {
927
+ description: "string schema",
928
+ nullable: true,
929
+ type: "string",
930
+ },
931
+ },
932
+ required: ["name"],
933
+ type: "object",
934
+ },
935
+ type: "array",
936
+ },
937
+ options: {
938
+ nullable: true,
939
+ properties: {
940
+ overwrite: {
941
+ type: "boolean",
942
+ },
943
+ skipDuplicates: {
944
+ type: "boolean",
945
+ },
946
+ },
947
+ type: "object",
948
+ },
949
+ },
950
+ type: "object",
951
+ };
952
+ export const ImportPlatformsResponseSchema = {
953
+ description: "ImportPlatformsResponse schema",
954
+ properties: {
955
+ errors: {
956
+ items: {
957
+ properties: {
958
+ line: {
959
+ type: "integer",
960
+ },
961
+ message: {
962
+ type: "string",
963
+ },
964
+ },
965
+ type: "object",
966
+ },
967
+ nullable: true,
968
+ type: "array",
969
+ },
970
+ imported: {
971
+ type: "integer",
972
+ },
973
+ skipped: {
974
+ type: "integer",
975
+ },
976
+ success: {
977
+ type: "boolean",
978
+ },
979
+ },
980
+ type: "object",
981
+ };
982
+ export const ListAgentsResponseSchema = {
983
+ description: "ListAgentsResponse schema",
984
+ properties: {
985
+ agents: {
986
+ items: {
987
+ properties: {
988
+ config: {
989
+ additionalProperties: {},
990
+ type: "object",
991
+ },
992
+ created_at: {
993
+ format: "date-time",
994
+ type: "string",
995
+ },
996
+ description: {
997
+ type: "string",
998
+ },
999
+ id: {
1000
+ type: "string",
1001
+ },
1002
+ name: {
1003
+ type: "string",
1004
+ },
1005
+ state: {
1006
+ additionalProperties: {},
1007
+ type: "object",
1008
+ },
1009
+ status: {
1010
+ type: "string",
1011
+ },
1012
+ tenant_id: {
1013
+ type: "string",
1014
+ },
1015
+ updated_at: {
1016
+ format: "date-time",
1017
+ type: "string",
1018
+ },
1019
+ },
1020
+ required: ["id", "created_at", "name", "status", "config", "state"],
1021
+ type: "object",
1022
+ },
1023
+ type: "array",
1024
+ },
1025
+ pagination: {
1026
+ properties: {
1027
+ limit: {
1028
+ type: "integer",
1029
+ },
1030
+ page: {
1031
+ type: "integer",
1032
+ },
1033
+ total_count: {
1034
+ format: "int64",
1035
+ type: "integer",
1036
+ },
1037
+ total_pages: {
1038
+ type: "integer",
1039
+ },
1040
+ },
1041
+ type: "object",
1042
+ },
1043
+ },
1044
+ type: "object",
1045
+ };
1046
+ export const ListMessagesResponseSchema = {
1047
+ description: "ListMessagesResponse schema",
1048
+ properties: {
1049
+ data: {
1050
+ items: {
1051
+ properties: {
1052
+ createdAt: {
1053
+ nullable: true,
1054
+ type: "string",
1055
+ },
1056
+ errorMessage: {
1057
+ description: "string schema",
1058
+ nullable: true,
1059
+ type: "string",
1060
+ },
1061
+ font: {
1062
+ nullable: true,
1063
+ type: "integer",
1064
+ },
1065
+ groupId: {
1066
+ format: "int64",
1067
+ nullable: true,
1068
+ type: "integer",
1069
+ },
1070
+ id: {
1071
+ description: "message id",
1072
+ type: "string",
1073
+ },
1074
+ message: {
1075
+ type: "string",
1076
+ },
1077
+ messageId: {
1078
+ format: "int64",
1079
+ nullable: true,
1080
+ type: "integer",
1081
+ },
1082
+ messageType: {
1083
+ description: "string schema",
1084
+ nullable: true,
1085
+ type: "string",
1086
+ },
1087
+ metadata: {
1088
+ type: "string",
1089
+ },
1090
+ postType: {
1091
+ type: "string",
1092
+ },
1093
+ processed: {
1094
+ type: "boolean",
1095
+ },
1096
+ processedAt: {
1097
+ description: "string schema",
1098
+ nullable: true,
1099
+ type: "string",
1100
+ },
1101
+ rawData: {
1102
+ type: "string",
1103
+ },
1104
+ rawMessage: {
1105
+ description: "string schema",
1106
+ nullable: true,
1107
+ type: "string",
1108
+ },
1109
+ selfId: {
1110
+ type: "string",
1111
+ },
1112
+ senderCard: {
1113
+ description: "string schema",
1114
+ nullable: true,
1115
+ type: "string",
1116
+ },
1117
+ senderNickname: {
1118
+ description: "string schema",
1119
+ nullable: true,
1120
+ type: "string",
1121
+ },
1122
+ senderRole: {
1123
+ description: "string schema",
1124
+ nullable: true,
1125
+ type: "string",
1126
+ },
1127
+ subType: {
1128
+ description: "string schema",
1129
+ nullable: true,
1130
+ type: "string",
1131
+ },
1132
+ time: {
1133
+ format: "int64",
1134
+ type: "integer",
1135
+ },
1136
+ updatedAt: {
1137
+ nullable: true,
1138
+ type: "string",
1139
+ },
1140
+ userId: {
1141
+ format: "int64",
1142
+ nullable: true,
1143
+ type: "integer",
1144
+ },
1145
+ },
1146
+ required: ["id", "selfId", "postType"],
1147
+ type: "object",
1148
+ },
1149
+ type: "array",
1150
+ },
1151
+ limit: {
1152
+ maximum: 100,
1153
+ minimum: 0,
1154
+ type: "integer",
1155
+ },
1156
+ page: {
1157
+ type: "integer",
1158
+ },
1159
+ total: {
1160
+ type: "integer",
1161
+ },
1162
+ },
1163
+ required: ["data", "total", "page", "limit"],
1164
+ type: "object",
1165
+ };
1166
+ export const ListSbServicesResponseSchema = {
1167
+ description: "ListSbServicesResponse schema",
1168
+ properties: {
1169
+ pagination: {
1170
+ properties: {
1171
+ limit: {
1172
+ type: "integer",
1173
+ },
1174
+ page: {
1175
+ type: "integer",
1176
+ },
1177
+ total_count: {
1178
+ format: "int64",
1179
+ type: "integer",
1180
+ },
1181
+ total_pages: {
1182
+ type: "integer",
1183
+ },
1184
+ },
1185
+ type: "object",
1186
+ },
1187
+ services: {
1188
+ items: {
1189
+ properties: {
1190
+ config: {
1191
+ additionalProperties: {},
1192
+ type: "object",
1193
+ },
1194
+ created_at: {
1195
+ format: "date-time",
1196
+ type: "string",
1197
+ },
1198
+ deploy_type: {
1199
+ type: "string",
1200
+ },
1201
+ description: {
1202
+ type: "string",
1203
+ },
1204
+ id: {
1205
+ type: "string",
1206
+ },
1207
+ name: {
1208
+ type: "string",
1209
+ },
1210
+ server_url: {
1211
+ type: "string",
1212
+ },
1213
+ state: {
1214
+ additionalProperties: {},
1215
+ type: "object",
1216
+ },
1217
+ status: {
1218
+ type: "string",
1219
+ },
1220
+ tenant_id: {
1221
+ type: "string",
1222
+ },
1223
+ updated_at: {
1224
+ format: "date-time",
1225
+ type: "string",
1226
+ },
1227
+ },
1228
+ type: "object",
1229
+ },
1230
+ type: "array",
1231
+ },
1232
+ },
1233
+ type: "object",
1234
+ };
1235
+ export const ListSessionsResponseSchema = {
1236
+ description: "ListSessionsResponse schema",
1237
+ properties: {
1238
+ data: {
1239
+ items: {
1240
+ properties: {
1241
+ createdAt: {
1242
+ type: "string",
1243
+ },
1244
+ id: {
1245
+ type: "string",
1246
+ },
1247
+ isActive: {
1248
+ type: "boolean",
1249
+ },
1250
+ lastMessageAt: {
1251
+ description: "string schema",
1252
+ nullable: true,
1253
+ type: "string",
1254
+ },
1255
+ messageCount: {
1256
+ type: "integer",
1257
+ },
1258
+ selfId: {
1259
+ type: "string",
1260
+ },
1261
+ sessionId: {
1262
+ type: "string",
1263
+ },
1264
+ sessionName: {
1265
+ description: "string schema",
1266
+ nullable: true,
1267
+ type: "string",
1268
+ },
1269
+ sessionType: {
1270
+ type: "string",
1271
+ },
1272
+ updatedAt: {
1273
+ type: "string",
1274
+ },
1275
+ },
1276
+ type: "object",
1277
+ },
1278
+ type: "array",
1279
+ },
1280
+ limit: {
1281
+ type: "integer",
1282
+ },
1283
+ page: {
1284
+ type: "integer",
1285
+ },
1286
+ total: {
1287
+ type: "integer",
1288
+ },
1289
+ },
1290
+ type: "object",
1291
+ };
1292
+ export const LoginChatbotRequestSchema = {
1293
+ description: "LoginChatbotRequest schema",
1294
+ properties: {
1295
+ chatbotId: {
1296
+ example: "123e4567-e89b-12d3-a456-426614174000",
1297
+ type: "string",
1298
+ },
1299
+ },
1300
+ required: ["chatbotId"],
1301
+ type: "object",
1302
+ };
1303
+ export const LoginChatbotResponseSchema = {
1304
+ description: "LoginChatbotResponse schema",
1305
+ properties: {
1306
+ chatbotId: {
1307
+ example: "123e4567-e89b-12d3-a456-426614174000",
1308
+ type: "string",
1309
+ },
1310
+ currentStatus: {
1311
+ example: "logging_in",
1312
+ type: "string",
1313
+ },
1314
+ message: {
1315
+ example: "聊天机器人登录工作流已触发",
1316
+ type: "string",
1317
+ },
1318
+ success: {
1319
+ example: true,
1320
+ type: "boolean",
1321
+ },
1322
+ workflowId: {
1323
+ example: "wf_123456",
1324
+ nullable: true,
1325
+ type: "string",
1326
+ },
1327
+ },
1328
+ type: "object",
1329
+ };
1330
+ export const MessageResponseSchema = {
1331
+ description: "MessageResponse schema",
1332
+ properties: {
1333
+ createdAt: {
1334
+ nullable: true,
1335
+ type: "string",
1336
+ },
1337
+ errorMessage: {
1338
+ description: "string schema",
1339
+ nullable: true,
1340
+ type: "string",
1341
+ },
1342
+ font: {
1343
+ nullable: true,
1344
+ type: "integer",
1345
+ },
1346
+ groupId: {
1347
+ format: "int64",
1348
+ nullable: true,
1349
+ type: "integer",
1350
+ },
1351
+ id: {
1352
+ description: "message id",
1353
+ type: "string",
1354
+ },
1355
+ message: {
1356
+ type: "string",
1357
+ },
1358
+ messageId: {
1359
+ format: "int64",
1360
+ nullable: true,
1361
+ type: "integer",
1362
+ },
1363
+ messageType: {
1364
+ description: "string schema",
1365
+ nullable: true,
1366
+ type: "string",
1367
+ },
1368
+ metadata: {
1369
+ type: "string",
1370
+ },
1371
+ postType: {
1372
+ type: "string",
1373
+ },
1374
+ processed: {
1375
+ type: "boolean",
1376
+ },
1377
+ processedAt: {
1378
+ description: "string schema",
1379
+ nullable: true,
1380
+ type: "string",
1381
+ },
1382
+ rawData: {
1383
+ type: "string",
1384
+ },
1385
+ rawMessage: {
1386
+ description: "string schema",
1387
+ nullable: true,
1388
+ type: "string",
1389
+ },
1390
+ selfId: {
1391
+ type: "string",
1392
+ },
1393
+ senderCard: {
1394
+ description: "string schema",
1395
+ nullable: true,
1396
+ type: "string",
1397
+ },
1398
+ senderNickname: {
1399
+ description: "string schema",
1400
+ nullable: true,
1401
+ type: "string",
1402
+ },
1403
+ senderRole: {
1404
+ description: "string schema",
1405
+ nullable: true,
1406
+ type: "string",
1407
+ },
1408
+ subType: {
1409
+ description: "string schema",
1410
+ nullable: true,
1411
+ type: "string",
1412
+ },
1413
+ time: {
1414
+ format: "int64",
1415
+ type: "integer",
1416
+ },
1417
+ updatedAt: {
1418
+ nullable: true,
1419
+ type: "string",
1420
+ },
1421
+ userId: {
1422
+ format: "int64",
1423
+ nullable: true,
1424
+ type: "integer",
1425
+ },
1426
+ },
1427
+ required: ["id", "selfId", "postType"],
1428
+ type: "object",
1429
+ };
1430
+ export const NapcatStatusSchema = {
1431
+ description: "NapcatStatus schema",
1432
+ properties: {
1433
+ config_dir: {
1434
+ nullable: true,
1435
+ type: "string",
1436
+ },
1437
+ data_dir: {
1438
+ nullable: true,
1439
+ type: "string",
1440
+ },
1441
+ is_running: {
1442
+ type: "boolean",
1443
+ },
1444
+ napcat_port: {
1445
+ nullable: true,
1446
+ type: "integer",
1447
+ },
1448
+ process_id: {
1449
+ nullable: true,
1450
+ type: "integer",
1451
+ },
1452
+ webui_port: {
1453
+ nullable: true,
1454
+ type: "integer",
1455
+ },
1456
+ },
1457
+ type: "object",
1458
+ };
1459
+ export const OperationMessageSchema = {
1460
+ description: "OperationMessage schema",
1461
+ properties: {
1462
+ message: {
1463
+ type: "string",
1464
+ },
1465
+ },
1466
+ type: "object",
1467
+ };
1468
+ export const OperationSuccessSchema = {
1469
+ description: "OperationSuccess schema",
1470
+ properties: {
1471
+ success: {
1472
+ type: "boolean",
1473
+ },
1474
+ },
1475
+ type: "object",
1476
+ };
1477
+ export const PAccountListDataSchema = {
1478
+ description: "PAccountListData schema",
1479
+ properties: {
1480
+ accounts: {
1481
+ items: {
1482
+ properties: {
1483
+ config: {
1484
+ additionalProperties: {},
1485
+ nullable: true,
1486
+ type: "object",
1487
+ },
1488
+ createdAt: {
1489
+ format: "date-time",
1490
+ type: "string",
1491
+ },
1492
+ description: {
1493
+ description: "string schema",
1494
+ nullable: true,
1495
+ type: "string",
1496
+ },
1497
+ enabled: {
1498
+ type: "boolean",
1499
+ },
1500
+ error: {
1501
+ description: "string schema",
1502
+ nullable: true,
1503
+ type: "string",
1504
+ },
1505
+ icon: {
1506
+ description: "string schema",
1507
+ nullable: true,
1508
+ type: "string",
1509
+ },
1510
+ id: {
1511
+ type: "string",
1512
+ },
1513
+ name: {
1514
+ description: "string schema",
1515
+ nullable: true,
1516
+ type: "string",
1517
+ },
1518
+ platform: {
1519
+ nullable: true,
1520
+ properties: {
1521
+ description: {
1522
+ description: "string schema",
1523
+ nullable: true,
1524
+ type: "string",
1525
+ },
1526
+ id: {
1527
+ type: "string",
1528
+ },
1529
+ name: {
1530
+ type: "string",
1531
+ },
1532
+ },
1533
+ type: "object",
1534
+ },
1535
+ platformId: {
1536
+ type: "string",
1537
+ },
1538
+ state: {
1539
+ additionalProperties: {},
1540
+ nullable: true,
1541
+ type: "object",
1542
+ },
1543
+ tags: {
1544
+ items: {
1545
+ type: "string",
1546
+ },
1547
+ nullable: true,
1548
+ type: "array",
1549
+ },
1550
+ updatedAt: {
1551
+ format: "date-time",
1552
+ type: "string",
1553
+ },
1554
+ },
1555
+ type: "object",
1556
+ },
1557
+ type: "array",
1558
+ },
1559
+ limit: {
1560
+ type: "integer",
1561
+ },
1562
+ page: {
1563
+ type: "integer",
1564
+ },
1565
+ total: {
1566
+ format: "int64",
1567
+ type: "integer",
1568
+ },
1569
+ },
1570
+ type: "object",
1571
+ };
1572
+ export const PAccountResponseSchema = {
1573
+ description: "PAccountResponse schema",
1574
+ properties: {
1575
+ config: {
1576
+ additionalProperties: {},
1577
+ nullable: true,
1578
+ type: "object",
1579
+ },
1580
+ createdAt: {
1581
+ format: "date-time",
1582
+ type: "string",
1583
+ },
1584
+ description: {
1585
+ description: "string schema",
1586
+ nullable: true,
1587
+ type: "string",
1588
+ },
1589
+ enabled: {
1590
+ type: "boolean",
1591
+ },
1592
+ error: {
1593
+ description: "string schema",
1594
+ nullable: true,
1595
+ type: "string",
1596
+ },
1597
+ icon: {
1598
+ description: "string schema",
1599
+ nullable: true,
1600
+ type: "string",
1601
+ },
1602
+ id: {
1603
+ type: "string",
1604
+ },
1605
+ name: {
1606
+ description: "string schema",
1607
+ nullable: true,
1608
+ type: "string",
1609
+ },
1610
+ platform: {
1611
+ nullable: true,
1612
+ properties: {
1613
+ description: {
1614
+ description: "string schema",
1615
+ nullable: true,
1616
+ type: "string",
1617
+ },
1618
+ id: {
1619
+ type: "string",
1620
+ },
1621
+ name: {
1622
+ type: "string",
1623
+ },
1624
+ },
1625
+ type: "object",
1626
+ },
1627
+ platformId: {
1628
+ type: "string",
1629
+ },
1630
+ state: {
1631
+ additionalProperties: {},
1632
+ nullable: true,
1633
+ type: "object",
1634
+ },
1635
+ tags: {
1636
+ items: {
1637
+ type: "string",
1638
+ },
1639
+ nullable: true,
1640
+ type: "array",
1641
+ },
1642
+ updatedAt: {
1643
+ format: "date-time",
1644
+ type: "string",
1645
+ },
1646
+ },
1647
+ type: "object",
1648
+ };
1649
+ export const PAccountSessionSchema = {
1650
+ description: "PAccountSession schema",
1651
+ properties: {
1652
+ createdAt: {
1653
+ format: "date-time",
1654
+ type: "string",
1655
+ },
1656
+ id: {
1657
+ type: "string",
1658
+ },
1659
+ metadata: {
1660
+ additionalProperties: {},
1661
+ nullable: true,
1662
+ type: "object",
1663
+ },
1664
+ status: {
1665
+ type: "string",
1666
+ },
1667
+ updatedAt: {
1668
+ format: "date-time",
1669
+ nullable: true,
1670
+ type: "string",
1671
+ },
1672
+ },
1673
+ type: "object",
1674
+ };
1675
+ export const PlatformListDataSchema = {
1676
+ description: "PlatformListData schema",
1677
+ properties: {
1678
+ limit: {
1679
+ type: "integer",
1680
+ },
1681
+ page: {
1682
+ type: "integer",
1683
+ },
1684
+ platforms: {
1685
+ items: {
1686
+ properties: {
1687
+ createdAt: {
1688
+ format: "date-time",
1689
+ type: "string",
1690
+ },
1691
+ description: {
1692
+ nullable: true,
1693
+ type: "string",
1694
+ },
1695
+ id: {
1696
+ type: "string",
1697
+ },
1698
+ loginUrl: {
1699
+ nullable: true,
1700
+ type: "string",
1701
+ },
1702
+ name: {
1703
+ type: "string",
1704
+ },
1705
+ tags: {
1706
+ items: {
1707
+ type: "string",
1708
+ },
1709
+ nullable: true,
1710
+ type: "array",
1711
+ },
1712
+ updatedAt: {
1713
+ format: "date-time",
1714
+ type: "string",
1715
+ },
1716
+ url: {
1717
+ nullable: true,
1718
+ type: "string",
1719
+ },
1720
+ },
1721
+ type: "object",
1722
+ },
1723
+ type: "array",
1724
+ },
1725
+ total: {
1726
+ format: "int64",
1727
+ type: "integer",
1728
+ },
1729
+ },
1730
+ type: "object",
1731
+ };
1732
+ export const PlatformResponseSchema = {
1733
+ description: "PlatformResponse schema",
1734
+ properties: {
1735
+ createdAt: {
1736
+ format: "date-time",
1737
+ type: "string",
1738
+ },
1739
+ description: {
1740
+ nullable: true,
1741
+ type: "string",
1742
+ },
1743
+ id: {
1744
+ type: "string",
1745
+ },
1746
+ loginUrl: {
1747
+ nullable: true,
1748
+ type: "string",
1749
+ },
1750
+ name: {
1751
+ type: "string",
1752
+ },
1753
+ tags: {
1754
+ items: {
1755
+ type: "string",
1756
+ },
1757
+ nullable: true,
1758
+ type: "array",
1759
+ },
1760
+ updatedAt: {
1761
+ format: "date-time",
1762
+ type: "string",
1763
+ },
1764
+ url: {
1765
+ nullable: true,
1766
+ type: "string",
1767
+ },
1768
+ },
1769
+ type: "object",
1770
+ };
1771
+ export const PlatformTypeListResponseSchema = {
1772
+ description: "PlatformTypeListResponse schema",
1773
+ properties: {
1774
+ data: {
1775
+ items: {
1776
+ properties: {
1777
+ code: {
1778
+ example: "napcatqq",
1779
+ type: "string",
1780
+ },
1781
+ createdAt: {
1782
+ example: "2023-01-01T00:00:00Z",
1783
+ type: "string",
1784
+ },
1785
+ enabled: {
1786
+ example: true,
1787
+ type: "boolean",
1788
+ },
1789
+ id: {
1790
+ example: "123e4567-e89b-12d3-a456-426614174000",
1791
+ type: "string",
1792
+ },
1793
+ name: {
1794
+ example: "NapCat QQ",
1795
+ type: "string",
1796
+ },
1797
+ updatedAt: {
1798
+ example: "2023-01-01T00:00:00Z",
1799
+ type: "string",
1800
+ },
1801
+ },
1802
+ type: "object",
1803
+ },
1804
+ type: "array",
1805
+ },
1806
+ limit: {
1807
+ example: 20,
1808
+ type: "integer",
1809
+ },
1810
+ page: {
1811
+ example: 1,
1812
+ type: "integer",
1813
+ },
1814
+ total: {
1815
+ example: 10,
1816
+ type: "integer",
1817
+ },
1818
+ },
1819
+ type: "object",
1820
+ };
1821
+ export const ProxyListDataSchema = {
1822
+ description: "ProxyListData schema",
1823
+ properties: {
1824
+ pagination: {
1825
+ properties: {
1826
+ limit: {
1827
+ type: "integer",
1828
+ },
1829
+ page: {
1830
+ type: "integer",
1831
+ },
1832
+ total_count: {
1833
+ format: "int64",
1834
+ type: "integer",
1835
+ },
1836
+ total_pages: {
1837
+ type: "integer",
1838
+ },
1839
+ },
1840
+ type: "object",
1841
+ },
1842
+ proxies: {
1843
+ items: {
1844
+ properties: {
1845
+ country_code: {
1846
+ type: "string",
1847
+ },
1848
+ created_at: {
1849
+ format: "date-time",
1850
+ type: "string",
1851
+ },
1852
+ description: {
1853
+ type: "string",
1854
+ },
1855
+ enabled: {
1856
+ type: "boolean",
1857
+ },
1858
+ id: {
1859
+ type: "string",
1860
+ },
1861
+ name: {
1862
+ type: "string",
1863
+ },
1864
+ port: {
1865
+ type: "integer",
1866
+ },
1867
+ provider: {
1868
+ type: "string",
1869
+ },
1870
+ tenant_id: {
1871
+ type: "string",
1872
+ },
1873
+ type: {
1874
+ type: "string",
1875
+ },
1876
+ updated_at: {
1877
+ format: "date-time",
1878
+ type: "string",
1879
+ },
1880
+ url: {
1881
+ type: "string",
1882
+ },
1883
+ },
1884
+ required: ["id", "created_at", "name", "url"],
1885
+ type: "object",
1886
+ },
1887
+ type: "array",
1888
+ },
1889
+ },
1890
+ type: "object",
1891
+ };
1892
+ export const ProxyResponseSchema = {
1893
+ description: "ProxyResponse schema",
1894
+ properties: {
1895
+ country_code: {
1896
+ type: "string",
1897
+ },
1898
+ created_at: {
1899
+ format: "date-time",
1900
+ type: "string",
1901
+ },
1902
+ description: {
1903
+ type: "string",
1904
+ },
1905
+ enabled: {
1906
+ type: "boolean",
1907
+ },
1908
+ id: {
1909
+ type: "string",
1910
+ },
1911
+ name: {
1912
+ type: "string",
1913
+ },
1914
+ port: {
1915
+ type: "integer",
1916
+ },
1917
+ provider: {
1918
+ type: "string",
1919
+ },
1920
+ tenant_id: {
1921
+ type: "string",
1922
+ },
1923
+ type: {
1924
+ type: "string",
1925
+ },
1926
+ updated_at: {
1927
+ format: "date-time",
1928
+ type: "string",
1929
+ },
1930
+ url: {
1931
+ type: "string",
1932
+ },
1933
+ },
1934
+ required: ["id", "created_at", "name", "url"],
1935
+ type: "object",
1936
+ };
1937
+ export const ProxyUpsertRequestSchema = {
1938
+ description: "ProxyUpsertRequest schema",
1939
+ properties: {
1940
+ description: {
1941
+ description: "string schema",
1942
+ nullable: true,
1943
+ type: "string",
1944
+ },
1945
+ id: {
1946
+ description: "string schema",
1947
+ nullable: true,
1948
+ type: "string",
1949
+ },
1950
+ name: {
1951
+ description: "string schema",
1952
+ nullable: true,
1953
+ type: "string",
1954
+ },
1955
+ url: {
1956
+ type: "string",
1957
+ },
1958
+ },
1959
+ required: ["url"],
1960
+ type: "object",
1961
+ };
1962
+ export const RunChatbotRequestSchema = {
1963
+ description: "RunChatbotRequest schema",
1964
+ properties: {
1965
+ chatbotId: {
1966
+ example: "123e4567-e89b-12d3-a456-426614174000",
1967
+ type: "string",
1968
+ },
1969
+ },
1970
+ required: ["chatbotId"],
1971
+ type: "object",
1972
+ };
1973
+ export const RunChatbotResponseSchema = {
1974
+ description: "RunChatbotResponse schema",
1975
+ properties: {
1976
+ chatbotId: {
1977
+ example: "123e4567-e89b-12d3-a456-426614174000",
1978
+ type: "string",
1979
+ },
1980
+ currentStatus: {
1981
+ example: "starting",
1982
+ type: "string",
1983
+ },
1984
+ message: {
1985
+ example: "聊天机器人启动工作流已触发",
1986
+ type: "string",
1987
+ },
1988
+ success: {
1989
+ example: true,
1990
+ type: "boolean",
1991
+ },
1992
+ workflowId: {
1993
+ example: "wf_123456",
1994
+ nullable: true,
1995
+ type: "string",
1996
+ },
1997
+ },
1998
+ type: "object",
1999
+ };
2000
+ export const SbServiceResponseSchema = {
2001
+ description: "SbServiceResponse schema",
2002
+ properties: {
2003
+ config: {
2004
+ additionalProperties: {},
2005
+ type: "object",
2006
+ },
2007
+ created_at: {
2008
+ format: "date-time",
2009
+ type: "string",
2010
+ },
2011
+ deploy_type: {
2012
+ type: "string",
2013
+ },
2014
+ description: {
2015
+ type: "string",
2016
+ },
2017
+ id: {
2018
+ type: "string",
2019
+ },
2020
+ name: {
2021
+ type: "string",
2022
+ },
2023
+ server_url: {
2024
+ type: "string",
2025
+ },
2026
+ state: {
2027
+ additionalProperties: {},
2028
+ type: "object",
2029
+ },
2030
+ status: {
2031
+ type: "string",
2032
+ },
2033
+ tenant_id: {
2034
+ type: "string",
2035
+ },
2036
+ updated_at: {
2037
+ format: "date-time",
2038
+ type: "string",
2039
+ },
2040
+ },
2041
+ type: "object",
2042
+ };
2043
+ export const ScheduledWorkflowsListSchema = {
2044
+ description: "ScheduledWorkflowsList schema",
2045
+ properties: {
2046
+ pagination: {
2047
+ nullable: true,
2048
+ properties: {
2049
+ current_page: {
2050
+ format: "int64",
2051
+ nullable: true,
2052
+ type: "integer",
2053
+ },
2054
+ next_page: {
2055
+ format: "int64",
2056
+ nullable: true,
2057
+ type: "integer",
2058
+ },
2059
+ num_pages: {
2060
+ format: "int64",
2061
+ nullable: true,
2062
+ type: "integer",
2063
+ },
2064
+ },
2065
+ type: "object",
2066
+ },
2067
+ rows: {
2068
+ items: {
2069
+ properties: {
2070
+ additionalMetadata: {
2071
+ additionalProperties: {},
2072
+ nullable: true,
2073
+ type: "object",
2074
+ },
2075
+ input: {
2076
+ additionalProperties: {},
2077
+ nullable: true,
2078
+ type: "object",
2079
+ },
2080
+ metadata: {
2081
+ properties: {
2082
+ createdAt: {
2083
+ format: "date-time",
2084
+ type: "string",
2085
+ },
2086
+ id: {
2087
+ type: "string",
2088
+ },
2089
+ updatedAt: {
2090
+ format: "date-time",
2091
+ type: "string",
2092
+ },
2093
+ },
2094
+ type: "object",
2095
+ },
2096
+ method: {
2097
+ type: "string",
2098
+ },
2099
+ priority: {
2100
+ format: "int32",
2101
+ nullable: true,
2102
+ type: "integer",
2103
+ },
2104
+ tenantId: {
2105
+ type: "string",
2106
+ },
2107
+ triggerAt: {
2108
+ format: "date-time",
2109
+ type: "string",
2110
+ },
2111
+ workflowId: {
2112
+ type: "string",
2113
+ },
2114
+ workflowName: {
2115
+ type: "string",
2116
+ },
2117
+ workflowRunCreatedAt: {
2118
+ format: "date-time",
2119
+ nullable: true,
2120
+ type: "string",
2121
+ },
2122
+ workflowRunId: {
2123
+ nullable: true,
2124
+ },
2125
+ workflowRunName: {
2126
+ description: "string schema",
2127
+ nullable: true,
2128
+ type: "string",
2129
+ },
2130
+ workflowRunStatus: {
2131
+ nullable: true,
2132
+ type: "string",
2133
+ },
2134
+ workflowVersionId: {
2135
+ type: "string",
2136
+ },
2137
+ },
2138
+ type: "object",
2139
+ },
2140
+ nullable: true,
2141
+ type: "array",
2142
+ },
2143
+ },
2144
+ type: "object",
2145
+ };
2146
+ export const ServiceTypesResponseSchema = {
2147
+ description: "ServiceTypesResponse schema",
2148
+ properties: {
2149
+ service_types: {
2150
+ items: {
2151
+ properties: {
2152
+ category: {
2153
+ type: "string",
2154
+ },
2155
+ description: {
2156
+ type: "string",
2157
+ },
2158
+ id: {
2159
+ type: "string",
2160
+ },
2161
+ image: {
2162
+ type: "string",
2163
+ },
2164
+ name: {
2165
+ type: "string",
2166
+ },
2167
+ },
2168
+ type: "object",
2169
+ },
2170
+ type: "array",
2171
+ },
2172
+ },
2173
+ type: "object",
2174
+ };
2175
+ export const SessionResponseSchema = {
2176
+ description: "SessionResponse schema",
2177
+ properties: {
2178
+ tid: {
2179
+ type: "string",
2180
+ },
2181
+ uid: {
2182
+ type: "string",
2183
+ },
2184
+ },
2185
+ type: "object",
2186
+ };
2187
+ export const StartNapcatRequestSchema = {
2188
+ description: "StartNapcatRequest schema",
2189
+ properties: {
2190
+ sandboxId: {
2191
+ type: "string",
2192
+ },
2193
+ sandbox_type: {
2194
+ type: "string",
2195
+ },
2196
+ },
2197
+ required: ["sandbox_type", "sandboxId"],
2198
+ type: "object",
2199
+ };
2200
+ export const StartNapcatResponseSchema = {
2201
+ description: "StartNapcatResponse schema",
2202
+ properties: {
2203
+ error: {
2204
+ nullable: true,
2205
+ type: "string",
2206
+ },
2207
+ sandboxId: {
2208
+ type: "string",
2209
+ },
2210
+ },
2211
+ type: "object",
2212
+ };
2213
+ export const UpdateAgentRequestSchema = {
2214
+ description: "UpdateAgentRequest schema",
2215
+ properties: {
2216
+ config: {
2217
+ additionalProperties: {},
2218
+ nullable: true,
2219
+ type: "object",
2220
+ },
2221
+ description: {
2222
+ nullable: true,
2223
+ type: "string",
2224
+ },
2225
+ name: {
2226
+ nullable: true,
2227
+ type: "string",
2228
+ },
2229
+ state: {
2230
+ additionalProperties: {},
2231
+ nullable: true,
2232
+ type: "object",
2233
+ },
2234
+ status: {
2235
+ nullable: true,
2236
+ type: "string",
2237
+ },
2238
+ },
2239
+ type: "object",
2240
+ };
2241
+ export const UpdatePAccountRequestSchema = {
2242
+ description: "UpdatePAccountRequest schema",
2243
+ properties: {
2244
+ config: {
2245
+ additionalProperties: {},
2246
+ nullable: true,
2247
+ type: "object",
2248
+ },
2249
+ description: {
2250
+ description: "string schema",
2251
+ nullable: true,
2252
+ type: "string",
2253
+ },
2254
+ enabled: {
2255
+ nullable: true,
2256
+ type: "boolean",
2257
+ },
2258
+ icon: {
2259
+ description: "string schema",
2260
+ nullable: true,
2261
+ type: "string",
2262
+ },
2263
+ name: {
2264
+ description: "string schema",
2265
+ nullable: true,
2266
+ type: "string",
2267
+ },
2268
+ platformId: {
2269
+ type: "string",
2270
+ },
2271
+ tags: {
2272
+ items: {
2273
+ type: "string",
2274
+ },
2275
+ nullable: true,
2276
+ type: "array",
2277
+ },
2278
+ },
2279
+ required: ["platformId"],
2280
+ type: "object",
2281
+ };
2282
+ export const UpdatePlatformRequestSchema = {
2283
+ description: "UpdatePlatformRequest schema",
2284
+ properties: {
2285
+ description: {
2286
+ description: "string schema",
2287
+ nullable: true,
2288
+ type: "string",
2289
+ },
2290
+ loginUrl: {
2291
+ description: "string schema",
2292
+ nullable: true,
2293
+ type: "string",
2294
+ },
2295
+ name: {
2296
+ type: "string",
2297
+ },
2298
+ tags: {
2299
+ items: {
2300
+ type: "string",
2301
+ },
2302
+ nullable: true,
2303
+ type: "array",
2304
+ },
2305
+ url: {
2306
+ description: "string schema",
2307
+ nullable: true,
2308
+ type: "string",
2309
+ },
2310
+ },
2311
+ required: ["name"],
2312
+ type: "object",
2313
+ };
2314
+ export const UpdateSessionRequestSchema = {
2315
+ description: "UpdateSessionRequest schema",
2316
+ properties: {
2317
+ config: {
2318
+ additionalProperties: {},
2319
+ nullable: true,
2320
+ type: "object",
2321
+ },
2322
+ status: {
2323
+ nullable: true,
2324
+ type: "string",
2325
+ },
2326
+ },
2327
+ type: "object",
2328
+ };
2329
+ export const UserResponseSchema = {
2330
+ description: "UserResponse schema",
2331
+ properties: {
2332
+ avatarUrl: {
2333
+ description: "string schema",
2334
+ nullable: true,
2335
+ type: "string",
2336
+ },
2337
+ email: {
2338
+ type: "string",
2339
+ },
2340
+ hasPassword: {
2341
+ type: "boolean",
2342
+ },
2343
+ hashedEmail: {
2344
+ description: "string schema",
2345
+ nullable: true,
2346
+ type: "string",
2347
+ },
2348
+ id: {
2349
+ type: "string",
2350
+ },
2351
+ name: {
2352
+ description: "string schema",
2353
+ nullable: true,
2354
+ type: "string",
2355
+ },
2356
+ },
2357
+ type: "object",
2358
+ };
2359
+ export const boolSchema = {
2360
+ description: "bool schema",
2361
+ nullable: true,
2362
+ type: "boolean",
2363
+ };
2364
+ export const stringSchema = {
2365
+ description: "string schema",
2366
+ nullable: true,
2367
+ type: "string",
2368
+ };
2369
+ export const unknown_interfaceSchema = {
2370
+ description: "unknown-interface schema",
2371
+ };
2372
+ //# sourceMappingURL=schemas.gen.js.map