mtmsdk 0.0.7 → 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,2964 @@
1
+ /**
2
+ * AgentEventPushRequest schema
3
+ */
4
+ export type AgentEventPushRequest = {
5
+ agentId: string;
6
+ event?: string;
7
+ eventData?: string;
8
+ };
9
+ /**
10
+ * AgentEventPushResponse schema
11
+ */
12
+ export type AgentEventPushResponse = {
13
+ agentId: string;
14
+ };
15
+ /**
16
+ * AgentResponse schema
17
+ */
18
+ export type AgentResponse = {
19
+ config: {
20
+ [key: string]: unknown;
21
+ };
22
+ created_at: string;
23
+ description?: string;
24
+ id: string;
25
+ name: string;
26
+ state: {
27
+ [key: string]: unknown;
28
+ };
29
+ status: string;
30
+ tenant_id?: string;
31
+ updated_at?: string;
32
+ };
33
+ /**
34
+ * BrowserConfig schema
35
+ */
36
+ export type BrowserConfig = {
37
+ createdAt?: string;
38
+ id?: string;
39
+ name?: string;
40
+ settings?: {
41
+ [key: string]: unknown;
42
+ };
43
+ type?: string;
44
+ updatedAt?: string;
45
+ };
46
+ /**
47
+ * BrowserConfigCreate schema
48
+ */
49
+ export type BrowserConfigCreate = {
50
+ name?: string;
51
+ settings?: {
52
+ [key: string]: unknown;
53
+ };
54
+ type?: string;
55
+ };
56
+ /**
57
+ * ChatbotListResponse schema
58
+ */
59
+ export type ChatbotListResponse = {
60
+ data?: Array<{
61
+ config?: {
62
+ [key: string]: unknown;
63
+ };
64
+ createdAt?: string;
65
+ createdBy?: string;
66
+ /**
67
+ * string schema
68
+ */
69
+ description?: string;
70
+ id?: string;
71
+ /**
72
+ * string schema
73
+ */
74
+ lastActiveAt?: string;
75
+ name?: string;
76
+ platform?: string;
77
+ /**
78
+ * string schema
79
+ */
80
+ serverType?: string;
81
+ /**
82
+ * string schema
83
+ */
84
+ serverUrl?: string;
85
+ state?: {
86
+ humanInteractMsg?: string;
87
+ isHumanInteract?: boolean;
88
+ isLogined?: boolean;
89
+ isRunning?: boolean;
90
+ lastStatusUpdate?: number;
91
+ lastestReceiveMsg?: string;
92
+ lastestSendMsg?: string;
93
+ status?: string;
94
+ statusMessage?: string;
95
+ };
96
+ status?: string;
97
+ tags?: Array<string>;
98
+ tenantId?: string;
99
+ updatedAt?: string;
100
+ }>;
101
+ limit?: number;
102
+ page?: number;
103
+ total?: number;
104
+ };
105
+ /**
106
+ * ChatbotResponse schema
107
+ */
108
+ export type ChatbotResponse = {
109
+ config?: {
110
+ [key: string]: unknown;
111
+ };
112
+ createdAt?: string;
113
+ createdBy?: string;
114
+ /**
115
+ * string schema
116
+ */
117
+ description?: string;
118
+ id?: string;
119
+ /**
120
+ * string schema
121
+ */
122
+ lastActiveAt?: string;
123
+ name?: string;
124
+ platform?: string;
125
+ /**
126
+ * string schema
127
+ */
128
+ serverType?: string;
129
+ /**
130
+ * string schema
131
+ */
132
+ serverUrl?: string;
133
+ state?: {
134
+ humanInteractMsg?: string;
135
+ isHumanInteract?: boolean;
136
+ isLogined?: boolean;
137
+ isRunning?: boolean;
138
+ lastStatusUpdate?: number;
139
+ lastestReceiveMsg?: string;
140
+ lastestSendMsg?: string;
141
+ status?: string;
142
+ statusMessage?: string;
143
+ };
144
+ status?: string;
145
+ tags?: Array<string>;
146
+ tenantId?: string;
147
+ updatedAt?: string;
148
+ };
149
+ /**
150
+ * ChatbotUpsertRequest schema
151
+ */
152
+ export type ChatbotUpsertRequest = {
153
+ config?: {
154
+ [key: string]: unknown;
155
+ };
156
+ /**
157
+ * string schema
158
+ */
159
+ description?: string;
160
+ /**
161
+ * string schema
162
+ */
163
+ id?: string;
164
+ name: string;
165
+ platform: string;
166
+ /**
167
+ * string schema
168
+ */
169
+ serverType?: string;
170
+ /**
171
+ * string schema
172
+ */
173
+ serverUrl?: string;
174
+ status: string;
175
+ tags?: Array<string>;
176
+ };
177
+ /**
178
+ * CheckSandboxStatusRequest schema
179
+ */
180
+ export type CheckSandboxStatusRequest = {
181
+ sandboxIds: Array<string>;
182
+ };
183
+ /**
184
+ * CheckSandboxStatusResponse schema
185
+ */
186
+ export type CheckSandboxStatusResponse = {
187
+ results?: Array<{
188
+ error?: string;
189
+ sandboxId?: string;
190
+ status?: string;
191
+ }>;
192
+ total_checked?: number;
193
+ };
194
+ /**
195
+ * CreateAgentRequest schema
196
+ */
197
+ export type CreateAgentRequest = {
198
+ config?: {
199
+ [key: string]: unknown;
200
+ };
201
+ description?: string;
202
+ name: string;
203
+ state?: {
204
+ [key: string]: unknown;
205
+ };
206
+ status?: string;
207
+ };
208
+ /**
209
+ * CreatePAccountRequest schema
210
+ */
211
+ export type CreatePAccountRequest = {
212
+ config?: {
213
+ [key: string]: unknown;
214
+ };
215
+ /**
216
+ * string schema
217
+ */
218
+ description?: string;
219
+ enabled?: boolean;
220
+ /**
221
+ * string schema
222
+ */
223
+ icon?: string;
224
+ /**
225
+ * string schema
226
+ */
227
+ name?: string;
228
+ platformId: string;
229
+ tags?: Array<string>;
230
+ };
231
+ /**
232
+ * CreatePlatformRequest schema
233
+ */
234
+ export type CreatePlatformRequest = {
235
+ /**
236
+ * string schema
237
+ */
238
+ description?: string;
239
+ /**
240
+ * string schema
241
+ */
242
+ loginUrl?: string;
243
+ name: string;
244
+ tags?: Array<string>;
245
+ /**
246
+ * string schema
247
+ */
248
+ url?: string;
249
+ };
250
+ /**
251
+ * CreateSbServiceRequest schema
252
+ */
253
+ export type CreateSbServiceRequest = {
254
+ config?: {
255
+ [key: string]: unknown;
256
+ };
257
+ deploy_type: string;
258
+ description?: string;
259
+ name: string;
260
+ server_url?: string;
261
+ state?: {
262
+ [key: string]: unknown;
263
+ };
264
+ status?: string;
265
+ };
266
+ /**
267
+ * CreateSessionRequest schema
268
+ */
269
+ export type CreateSessionRequest = {
270
+ config?: {
271
+ [key: string]: unknown;
272
+ };
273
+ type?: string;
274
+ };
275
+ /**
276
+ * ExportPAccountsResponse schema
277
+ */
278
+ export type ExportPAccountsResponse = {
279
+ data?: Array<{
280
+ config?: {
281
+ [key: string]: unknown;
282
+ };
283
+ createdAt?: string;
284
+ /**
285
+ * string schema
286
+ */
287
+ description?: string;
288
+ enabled?: boolean;
289
+ /**
290
+ * string schema
291
+ */
292
+ error?: string;
293
+ /**
294
+ * string schema
295
+ */
296
+ icon?: string;
297
+ id?: string;
298
+ /**
299
+ * string schema
300
+ */
301
+ name?: string;
302
+ platform?: {
303
+ /**
304
+ * string schema
305
+ */
306
+ description?: string;
307
+ id?: string;
308
+ name?: string;
309
+ };
310
+ platformId?: string;
311
+ state?: {
312
+ [key: string]: unknown;
313
+ };
314
+ tags?: Array<string>;
315
+ updatedAt?: string;
316
+ }>;
317
+ exportedAt?: string;
318
+ totalCount?: number;
319
+ version?: string;
320
+ };
321
+ /**
322
+ * ExportPlatformsResponse schema
323
+ */
324
+ export type ExportPlatformsResponse = {
325
+ data?: Array<{
326
+ createdAt?: string;
327
+ description?: string;
328
+ id?: string;
329
+ loginUrl?: string;
330
+ name?: string;
331
+ tags?: Array<string>;
332
+ updatedAt?: string;
333
+ url?: string;
334
+ }>;
335
+ exportedAt?: string;
336
+ totalCount?: number;
337
+ version?: string;
338
+ };
339
+ /**
340
+ * HTTPError schema
341
+ */
342
+ export type HttpError = {
343
+ /**
344
+ * Human readable error message
345
+ */
346
+ detail?: string;
347
+ errors?: Array<{
348
+ /**
349
+ * Additional information about the error
350
+ */
351
+ more?: {
352
+ [key: string]: unknown;
353
+ };
354
+ /**
355
+ * For example, name of the parameter that caused the error
356
+ */
357
+ name?: string;
358
+ /**
359
+ * Human readable error message
360
+ */
361
+ reason?: string;
362
+ }>;
363
+ instance?: string;
364
+ /**
365
+ * HTTP status code
366
+ */
367
+ status?: number;
368
+ /**
369
+ * Short title of the error
370
+ */
371
+ title?: string;
372
+ /**
373
+ * URL of the error type. Can be used to lookup the error in a documentation
374
+ */
375
+ type?: string;
376
+ };
377
+ /**
378
+ * ImportPAccountsRequest schema
379
+ */
380
+ export type ImportPAccountsRequest = {
381
+ data?: Array<{
382
+ config?: {
383
+ [key: string]: unknown;
384
+ };
385
+ /**
386
+ * string schema
387
+ */
388
+ description?: string;
389
+ /**
390
+ * bool schema
391
+ */
392
+ enabled?: boolean;
393
+ /**
394
+ * string schema
395
+ */
396
+ icon?: string;
397
+ /**
398
+ * string schema
399
+ */
400
+ name?: string;
401
+ platformId: string;
402
+ tags?: Array<string>;
403
+ }>;
404
+ options?: {
405
+ overwrite?: boolean;
406
+ skipDuplicates?: boolean;
407
+ };
408
+ };
409
+ /**
410
+ * ImportPAccountsResponse schema
411
+ */
412
+ export type ImportPAccountsResponse = {
413
+ errors?: Array<{
414
+ line?: number;
415
+ message?: string;
416
+ }>;
417
+ imported?: number;
418
+ skipped?: number;
419
+ success?: boolean;
420
+ };
421
+ /**
422
+ * ImportPlatformsRequest schema
423
+ */
424
+ export type ImportPlatformsRequest = {
425
+ data?: Array<{
426
+ /**
427
+ * string schema
428
+ */
429
+ description?: string;
430
+ /**
431
+ * string schema
432
+ */
433
+ loginUrl?: string;
434
+ name: string;
435
+ tags?: Array<string>;
436
+ /**
437
+ * string schema
438
+ */
439
+ url?: string;
440
+ }>;
441
+ options?: {
442
+ overwrite?: boolean;
443
+ skipDuplicates?: boolean;
444
+ };
445
+ };
446
+ /**
447
+ * ImportPlatformsResponse schema
448
+ */
449
+ export type ImportPlatformsResponse = {
450
+ errors?: Array<{
451
+ line?: number;
452
+ message?: string;
453
+ }>;
454
+ imported?: number;
455
+ skipped?: number;
456
+ success?: boolean;
457
+ };
458
+ /**
459
+ * ListAgentsResponse schema
460
+ */
461
+ export type ListAgentsResponse = {
462
+ agents?: Array<{
463
+ config: {
464
+ [key: string]: unknown;
465
+ };
466
+ created_at: string;
467
+ description?: string;
468
+ id: string;
469
+ name: string;
470
+ state: {
471
+ [key: string]: unknown;
472
+ };
473
+ status: string;
474
+ tenant_id?: string;
475
+ updated_at?: string;
476
+ }>;
477
+ pagination?: {
478
+ limit?: number;
479
+ page?: number;
480
+ total_count?: number;
481
+ total_pages?: number;
482
+ };
483
+ };
484
+ /**
485
+ * ListMessagesResponse schema
486
+ */
487
+ export type ListMessagesResponse = {
488
+ data: Array<{
489
+ createdAt?: string;
490
+ /**
491
+ * string schema
492
+ */
493
+ errorMessage?: string;
494
+ font?: number;
495
+ groupId?: number;
496
+ /**
497
+ * message id
498
+ */
499
+ id: string;
500
+ message?: string;
501
+ messageId?: number;
502
+ /**
503
+ * string schema
504
+ */
505
+ messageType?: string;
506
+ metadata?: string;
507
+ postType: string;
508
+ processed?: boolean;
509
+ /**
510
+ * string schema
511
+ */
512
+ processedAt?: string;
513
+ rawData?: string;
514
+ /**
515
+ * string schema
516
+ */
517
+ rawMessage?: string;
518
+ selfId: string;
519
+ /**
520
+ * string schema
521
+ */
522
+ senderCard?: string;
523
+ /**
524
+ * string schema
525
+ */
526
+ senderNickname?: string;
527
+ /**
528
+ * string schema
529
+ */
530
+ senderRole?: string;
531
+ /**
532
+ * string schema
533
+ */
534
+ subType?: string;
535
+ time?: number;
536
+ updatedAt?: string;
537
+ userId?: number;
538
+ }>;
539
+ limit: number;
540
+ page: number;
541
+ total: number;
542
+ };
543
+ /**
544
+ * ListSbServicesResponse schema
545
+ */
546
+ export type ListSbServicesResponse = {
547
+ pagination?: {
548
+ limit?: number;
549
+ page?: number;
550
+ total_count?: number;
551
+ total_pages?: number;
552
+ };
553
+ services?: Array<{
554
+ config?: {
555
+ [key: string]: unknown;
556
+ };
557
+ created_at?: string;
558
+ deploy_type?: string;
559
+ description?: string;
560
+ id?: string;
561
+ name?: string;
562
+ server_url?: string;
563
+ state?: {
564
+ [key: string]: unknown;
565
+ };
566
+ status?: string;
567
+ tenant_id?: string;
568
+ updated_at?: string;
569
+ }>;
570
+ };
571
+ /**
572
+ * ListSessionsResponse schema
573
+ */
574
+ export type ListSessionsResponse = {
575
+ data?: Array<{
576
+ createdAt?: string;
577
+ id?: string;
578
+ isActive?: boolean;
579
+ /**
580
+ * string schema
581
+ */
582
+ lastMessageAt?: string;
583
+ messageCount?: number;
584
+ selfId?: string;
585
+ sessionId?: string;
586
+ /**
587
+ * string schema
588
+ */
589
+ sessionName?: string;
590
+ sessionType?: string;
591
+ updatedAt?: string;
592
+ }>;
593
+ limit?: number;
594
+ page?: number;
595
+ total?: number;
596
+ };
597
+ /**
598
+ * LoginChatbotRequest schema
599
+ */
600
+ export type LoginChatbotRequest = {
601
+ chatbotId: string;
602
+ };
603
+ /**
604
+ * LoginChatbotResponse schema
605
+ */
606
+ export type LoginChatbotResponse = {
607
+ chatbotId?: string;
608
+ currentStatus?: string;
609
+ message?: string;
610
+ success?: boolean;
611
+ workflowId?: string;
612
+ };
613
+ /**
614
+ * MessageResponse schema
615
+ */
616
+ export type MessageResponse = {
617
+ createdAt?: string;
618
+ /**
619
+ * string schema
620
+ */
621
+ errorMessage?: string;
622
+ font?: number;
623
+ groupId?: number;
624
+ /**
625
+ * message id
626
+ */
627
+ id: string;
628
+ message?: string;
629
+ messageId?: number;
630
+ /**
631
+ * string schema
632
+ */
633
+ messageType?: string;
634
+ metadata?: string;
635
+ postType: string;
636
+ processed?: boolean;
637
+ /**
638
+ * string schema
639
+ */
640
+ processedAt?: string;
641
+ rawData?: string;
642
+ /**
643
+ * string schema
644
+ */
645
+ rawMessage?: string;
646
+ selfId: string;
647
+ /**
648
+ * string schema
649
+ */
650
+ senderCard?: string;
651
+ /**
652
+ * string schema
653
+ */
654
+ senderNickname?: string;
655
+ /**
656
+ * string schema
657
+ */
658
+ senderRole?: string;
659
+ /**
660
+ * string schema
661
+ */
662
+ subType?: string;
663
+ time?: number;
664
+ updatedAt?: string;
665
+ userId?: number;
666
+ };
667
+ /**
668
+ * NapcatStatus schema
669
+ */
670
+ export type NapcatStatus = {
671
+ config_dir?: string;
672
+ data_dir?: string;
673
+ is_running?: boolean;
674
+ napcat_port?: number;
675
+ process_id?: number;
676
+ webui_port?: number;
677
+ };
678
+ /**
679
+ * OperationMessage schema
680
+ */
681
+ export type OperationMessage = {
682
+ message?: string;
683
+ };
684
+ /**
685
+ * OperationSuccess schema
686
+ */
687
+ export type OperationSuccess = {
688
+ success?: boolean;
689
+ };
690
+ /**
691
+ * PAccountListData schema
692
+ */
693
+ export type PAccountListData = {
694
+ accounts?: Array<{
695
+ config?: {
696
+ [key: string]: unknown;
697
+ };
698
+ createdAt?: string;
699
+ /**
700
+ * string schema
701
+ */
702
+ description?: string;
703
+ enabled?: boolean;
704
+ /**
705
+ * string schema
706
+ */
707
+ error?: string;
708
+ /**
709
+ * string schema
710
+ */
711
+ icon?: string;
712
+ id?: string;
713
+ /**
714
+ * string schema
715
+ */
716
+ name?: string;
717
+ platform?: {
718
+ /**
719
+ * string schema
720
+ */
721
+ description?: string;
722
+ id?: string;
723
+ name?: string;
724
+ };
725
+ platformId?: string;
726
+ state?: {
727
+ [key: string]: unknown;
728
+ };
729
+ tags?: Array<string>;
730
+ updatedAt?: string;
731
+ }>;
732
+ limit?: number;
733
+ page?: number;
734
+ total?: number;
735
+ };
736
+ /**
737
+ * PAccountResponse schema
738
+ */
739
+ export type PAccountResponse = {
740
+ config?: {
741
+ [key: string]: unknown;
742
+ };
743
+ createdAt?: string;
744
+ /**
745
+ * string schema
746
+ */
747
+ description?: string;
748
+ enabled?: boolean;
749
+ /**
750
+ * string schema
751
+ */
752
+ error?: string;
753
+ /**
754
+ * string schema
755
+ */
756
+ icon?: string;
757
+ id?: string;
758
+ /**
759
+ * string schema
760
+ */
761
+ name?: string;
762
+ platform?: {
763
+ /**
764
+ * string schema
765
+ */
766
+ description?: string;
767
+ id?: string;
768
+ name?: string;
769
+ };
770
+ platformId?: string;
771
+ state?: {
772
+ [key: string]: unknown;
773
+ };
774
+ tags?: Array<string>;
775
+ updatedAt?: string;
776
+ };
777
+ /**
778
+ * PAccountSession schema
779
+ */
780
+ export type PAccountSession = {
781
+ createdAt?: string;
782
+ id?: string;
783
+ metadata?: {
784
+ [key: string]: unknown;
785
+ };
786
+ status?: string;
787
+ updatedAt?: string;
788
+ };
789
+ /**
790
+ * PlatformListData schema
791
+ */
792
+ export type PlatformListData = {
793
+ limit?: number;
794
+ page?: number;
795
+ platforms?: Array<{
796
+ createdAt?: string;
797
+ description?: string;
798
+ id?: string;
799
+ loginUrl?: string;
800
+ name?: string;
801
+ tags?: Array<string>;
802
+ updatedAt?: string;
803
+ url?: string;
804
+ }>;
805
+ total?: number;
806
+ };
807
+ /**
808
+ * PlatformResponse schema
809
+ */
810
+ export type PlatformResponse = {
811
+ createdAt?: string;
812
+ description?: string;
813
+ id?: string;
814
+ loginUrl?: string;
815
+ name?: string;
816
+ tags?: Array<string>;
817
+ updatedAt?: string;
818
+ url?: string;
819
+ };
820
+ /**
821
+ * PlatformTypeListResponse schema
822
+ */
823
+ export type PlatformTypeListResponse = {
824
+ data?: Array<{
825
+ code?: string;
826
+ createdAt?: string;
827
+ enabled?: boolean;
828
+ id?: string;
829
+ name?: string;
830
+ updatedAt?: string;
831
+ }>;
832
+ limit?: number;
833
+ page?: number;
834
+ total?: number;
835
+ };
836
+ /**
837
+ * ProxyListData schema
838
+ */
839
+ export type ProxyListData = {
840
+ pagination?: {
841
+ limit?: number;
842
+ page?: number;
843
+ total_count?: number;
844
+ total_pages?: number;
845
+ };
846
+ proxies?: Array<{
847
+ country_code?: string;
848
+ created_at: string;
849
+ description?: string;
850
+ enabled?: boolean;
851
+ id: string;
852
+ name: string;
853
+ port?: number;
854
+ provider?: string;
855
+ tenant_id?: string;
856
+ type?: string;
857
+ updated_at?: string;
858
+ url: string;
859
+ }>;
860
+ };
861
+ /**
862
+ * ProxyResponse schema
863
+ */
864
+ export type ProxyResponse = {
865
+ country_code?: string;
866
+ created_at: string;
867
+ description?: string;
868
+ enabled?: boolean;
869
+ id: string;
870
+ name: string;
871
+ port?: number;
872
+ provider?: string;
873
+ tenant_id?: string;
874
+ type?: string;
875
+ updated_at?: string;
876
+ url: string;
877
+ };
878
+ /**
879
+ * ProxyUpsertRequest schema
880
+ */
881
+ export type ProxyUpsertRequest = {
882
+ /**
883
+ * string schema
884
+ */
885
+ description?: string;
886
+ /**
887
+ * string schema
888
+ */
889
+ id?: string;
890
+ /**
891
+ * string schema
892
+ */
893
+ name?: string;
894
+ url: string;
895
+ };
896
+ /**
897
+ * RunChatbotRequest schema
898
+ */
899
+ export type RunChatbotRequest = {
900
+ chatbotId: string;
901
+ };
902
+ /**
903
+ * RunChatbotResponse schema
904
+ */
905
+ export type RunChatbotResponse = {
906
+ chatbotId?: string;
907
+ currentStatus?: string;
908
+ message?: string;
909
+ success?: boolean;
910
+ workflowId?: string;
911
+ };
912
+ /**
913
+ * SbServiceResponse schema
914
+ */
915
+ export type SbServiceResponse = {
916
+ config?: {
917
+ [key: string]: unknown;
918
+ };
919
+ created_at?: string;
920
+ deploy_type?: string;
921
+ description?: string;
922
+ id?: string;
923
+ name?: string;
924
+ server_url?: string;
925
+ state?: {
926
+ [key: string]: unknown;
927
+ };
928
+ status?: string;
929
+ tenant_id?: string;
930
+ updated_at?: string;
931
+ };
932
+ /**
933
+ * ScheduledWorkflowsList schema
934
+ */
935
+ export type ScheduledWorkflowsList = {
936
+ pagination?: {
937
+ current_page?: number;
938
+ next_page?: number;
939
+ num_pages?: number;
940
+ };
941
+ rows?: Array<{
942
+ additionalMetadata?: {
943
+ [key: string]: unknown;
944
+ };
945
+ input?: {
946
+ [key: string]: unknown;
947
+ };
948
+ metadata?: {
949
+ createdAt?: string;
950
+ id?: string;
951
+ updatedAt?: string;
952
+ };
953
+ method?: string;
954
+ priority?: number;
955
+ tenantId?: string;
956
+ triggerAt?: string;
957
+ workflowId?: string;
958
+ workflowName?: string;
959
+ workflowRunCreatedAt?: string;
960
+ workflowRunId?: unknown;
961
+ /**
962
+ * string schema
963
+ */
964
+ workflowRunName?: string;
965
+ workflowRunStatus?: string;
966
+ workflowVersionId?: string;
967
+ }>;
968
+ };
969
+ /**
970
+ * ServiceTypesResponse schema
971
+ */
972
+ export type ServiceTypesResponse = {
973
+ service_types?: Array<{
974
+ category?: string;
975
+ description?: string;
976
+ id?: string;
977
+ image?: string;
978
+ name?: string;
979
+ }>;
980
+ };
981
+ /**
982
+ * SessionResponse schema
983
+ */
984
+ export type SessionResponse = {
985
+ tid?: string;
986
+ uid?: string;
987
+ };
988
+ /**
989
+ * StartNapcatRequest schema
990
+ */
991
+ export type StartNapcatRequest = {
992
+ sandboxId: string;
993
+ sandbox_type: string;
994
+ };
995
+ /**
996
+ * StartNapcatResponse schema
997
+ */
998
+ export type StartNapcatResponse = {
999
+ error?: string;
1000
+ sandboxId?: string;
1001
+ };
1002
+ /**
1003
+ * UpdateAgentRequest schema
1004
+ */
1005
+ export type UpdateAgentRequest = {
1006
+ config?: {
1007
+ [key: string]: unknown;
1008
+ };
1009
+ description?: string;
1010
+ name?: string;
1011
+ state?: {
1012
+ [key: string]: unknown;
1013
+ };
1014
+ status?: string;
1015
+ };
1016
+ /**
1017
+ * UpdatePAccountRequest schema
1018
+ */
1019
+ export type UpdatePAccountRequest = {
1020
+ config?: {
1021
+ [key: string]: unknown;
1022
+ };
1023
+ /**
1024
+ * string schema
1025
+ */
1026
+ description?: string;
1027
+ enabled?: boolean;
1028
+ /**
1029
+ * string schema
1030
+ */
1031
+ icon?: string;
1032
+ /**
1033
+ * string schema
1034
+ */
1035
+ name?: string;
1036
+ platformId: string;
1037
+ tags?: Array<string>;
1038
+ };
1039
+ /**
1040
+ * UpdatePlatformRequest schema
1041
+ */
1042
+ export type UpdatePlatformRequest = {
1043
+ /**
1044
+ * string schema
1045
+ */
1046
+ description?: string;
1047
+ /**
1048
+ * string schema
1049
+ */
1050
+ loginUrl?: string;
1051
+ name: string;
1052
+ tags?: Array<string>;
1053
+ /**
1054
+ * string schema
1055
+ */
1056
+ url?: string;
1057
+ };
1058
+ /**
1059
+ * UpdateSessionRequest schema
1060
+ */
1061
+ export type UpdateSessionRequest = {
1062
+ config?: {
1063
+ [key: string]: unknown;
1064
+ };
1065
+ status?: string;
1066
+ };
1067
+ /**
1068
+ * UserResponse schema
1069
+ */
1070
+ export type UserResponse = {
1071
+ /**
1072
+ * string schema
1073
+ */
1074
+ avatarUrl?: string;
1075
+ email?: string;
1076
+ hasPassword?: boolean;
1077
+ /**
1078
+ * string schema
1079
+ */
1080
+ hashedEmail?: string;
1081
+ id?: string;
1082
+ /**
1083
+ * string schema
1084
+ */
1085
+ name?: string;
1086
+ };
1087
+ /**
1088
+ * bool schema
1089
+ */
1090
+ export type Bool = boolean;
1091
+ /**
1092
+ * string schema
1093
+ */
1094
+ export type String = string;
1095
+ /**
1096
+ * unknown-interface schema
1097
+ */
1098
+ export type UnknownInterface = unknown;
1099
+ export type AgentListData = {
1100
+ body?: never;
1101
+ headers?: {
1102
+ Accept?: string;
1103
+ };
1104
+ path?: never;
1105
+ query?: never;
1106
+ url: "/api/v2/agents";
1107
+ };
1108
+ export type AgentListErrors = {
1109
+ /**
1110
+ * Bad Request _(validation or deserialization error)_
1111
+ */
1112
+ 400: HttpError;
1113
+ /**
1114
+ * Internal Server Error _(panics)_
1115
+ */
1116
+ 500: HttpError;
1117
+ default: unknown;
1118
+ };
1119
+ export type AgentListError = AgentListErrors[keyof AgentListErrors];
1120
+ export type AgentListResponses = {
1121
+ /**
1122
+ * OK
1123
+ */
1124
+ 200: ListAgentsResponse;
1125
+ };
1126
+ export type AgentListResponse = AgentListResponses[keyof AgentListResponses];
1127
+ export type AgentCreateData = {
1128
+ /**
1129
+ * Request body for agent.CreateAgentRequest
1130
+ */
1131
+ body: CreateAgentRequest;
1132
+ headers?: {
1133
+ Accept?: string;
1134
+ };
1135
+ path?: never;
1136
+ query?: never;
1137
+ url: "/api/v2/agents";
1138
+ };
1139
+ export type AgentCreateErrors = {
1140
+ /**
1141
+ * Bad Request _(validation or deserialization error)_
1142
+ */
1143
+ 400: HttpError;
1144
+ /**
1145
+ * Internal Server Error _(panics)_
1146
+ */
1147
+ 500: HttpError;
1148
+ default: unknown;
1149
+ };
1150
+ export type AgentCreateError = AgentCreateErrors[keyof AgentCreateErrors];
1151
+ export type AgentCreateResponses = {
1152
+ /**
1153
+ * OK
1154
+ */
1155
+ 200: AgentResponse;
1156
+ };
1157
+ export type AgentCreateResponse = AgentCreateResponses[keyof AgentCreateResponses];
1158
+ export type GetApiV2AgentsDemoChatData = {
1159
+ body?: never;
1160
+ headers?: {
1161
+ Accept?: string;
1162
+ };
1163
+ path?: never;
1164
+ query?: never;
1165
+ url: "/api/v2/agents/demo-chat";
1166
+ };
1167
+ export type GetApiV2AgentsDemoChatErrors = {
1168
+ /**
1169
+ * Bad Request _(validation or deserialization error)_
1170
+ */
1171
+ 400: HttpError;
1172
+ /**
1173
+ * Internal Server Error _(panics)_
1174
+ */
1175
+ 500: HttpError;
1176
+ default: unknown;
1177
+ };
1178
+ export type GetApiV2AgentsDemoChatError = GetApiV2AgentsDemoChatErrors[keyof GetApiV2AgentsDemoChatErrors];
1179
+ export type GetApiV2AgentsDemoChatResponses = {
1180
+ /**
1181
+ * OK
1182
+ */
1183
+ 200: AgentResponse;
1184
+ };
1185
+ export type GetApiV2AgentsDemoChatResponse = GetApiV2AgentsDemoChatResponses[keyof GetApiV2AgentsDemoChatResponses];
1186
+ export type AgentEventData = {
1187
+ /**
1188
+ * Request body for agent.AgentEventPushRequest
1189
+ */
1190
+ body: AgentEventPushRequest;
1191
+ headers?: {
1192
+ Accept?: string;
1193
+ };
1194
+ path?: never;
1195
+ query?: never;
1196
+ url: "/api/v2/agents/event";
1197
+ };
1198
+ export type AgentEventErrors = {
1199
+ /**
1200
+ * Bad Request _(validation or deserialization error)_
1201
+ */
1202
+ 400: HttpError;
1203
+ /**
1204
+ * Internal Server Error _(panics)_
1205
+ */
1206
+ 500: HttpError;
1207
+ default: unknown;
1208
+ };
1209
+ export type AgentEventError = AgentEventErrors[keyof AgentEventErrors];
1210
+ export type AgentEventResponses = {
1211
+ /**
1212
+ * OK
1213
+ */
1214
+ 200: AgentEventPushResponse;
1215
+ };
1216
+ export type AgentEventResponse = AgentEventResponses[keyof AgentEventResponses];
1217
+ export type AgentScheduleData = {
1218
+ body?: never;
1219
+ headers?: {
1220
+ Accept?: string;
1221
+ };
1222
+ path?: never;
1223
+ query?: never;
1224
+ url: "/api/v2/agents/schedule";
1225
+ };
1226
+ export type AgentScheduleErrors = {
1227
+ /**
1228
+ * Bad Request _(validation or deserialization error)_
1229
+ */
1230
+ 400: HttpError;
1231
+ /**
1232
+ * Internal Server Error _(panics)_
1233
+ */
1234
+ 500: HttpError;
1235
+ default: unknown;
1236
+ };
1237
+ export type AgentScheduleError = AgentScheduleErrors[keyof AgentScheduleErrors];
1238
+ export type AgentScheduleResponses = {
1239
+ /**
1240
+ * OK
1241
+ */
1242
+ 200: ScheduledWorkflowsList;
1243
+ };
1244
+ export type AgentScheduleResponse = AgentScheduleResponses[keyof AgentScheduleResponses];
1245
+ export type AgentDeleteData = {
1246
+ body?: never;
1247
+ headers?: {
1248
+ Accept?: string;
1249
+ };
1250
+ path: {
1251
+ agentId: string;
1252
+ };
1253
+ query?: never;
1254
+ url: "/api/v2/agents/{agentId}";
1255
+ };
1256
+ export type AgentDeleteErrors = {
1257
+ /**
1258
+ * Bad Request _(validation or deserialization error)_
1259
+ */
1260
+ 400: HttpError;
1261
+ /**
1262
+ * Internal Server Error _(panics)_
1263
+ */
1264
+ 500: HttpError;
1265
+ default: unknown;
1266
+ };
1267
+ export type AgentDeleteError = AgentDeleteErrors[keyof AgentDeleteErrors];
1268
+ export type AgentDeleteResponses = {
1269
+ /**
1270
+ * OK
1271
+ */
1272
+ 200: String;
1273
+ };
1274
+ export type AgentDeleteResponse = AgentDeleteResponses[keyof AgentDeleteResponses];
1275
+ export type AgentGetData = {
1276
+ body?: never;
1277
+ headers?: {
1278
+ Accept?: string;
1279
+ };
1280
+ path: {
1281
+ agentId: string;
1282
+ };
1283
+ query?: never;
1284
+ url: "/api/v2/agents/{agentId}";
1285
+ };
1286
+ export type AgentGetErrors = {
1287
+ /**
1288
+ * Bad Request _(validation or deserialization error)_
1289
+ */
1290
+ 400: HttpError;
1291
+ /**
1292
+ * Internal Server Error _(panics)_
1293
+ */
1294
+ 500: HttpError;
1295
+ default: unknown;
1296
+ };
1297
+ export type AgentGetError = AgentGetErrors[keyof AgentGetErrors];
1298
+ export type AgentGetResponses = {
1299
+ /**
1300
+ * OK
1301
+ */
1302
+ 200: AgentResponse;
1303
+ };
1304
+ export type AgentGetResponse = AgentGetResponses[keyof AgentGetResponses];
1305
+ export type AgentUpdateData = {
1306
+ /**
1307
+ * Request body for agent.UpdateAgentRequest
1308
+ */
1309
+ body: UpdateAgentRequest;
1310
+ headers?: {
1311
+ Accept?: string;
1312
+ };
1313
+ path: {
1314
+ agentId: string;
1315
+ };
1316
+ query?: never;
1317
+ url: "/api/v2/agents/{agentId}";
1318
+ };
1319
+ export type AgentUpdateErrors = {
1320
+ /**
1321
+ * Bad Request _(validation or deserialization error)_
1322
+ */
1323
+ 400: HttpError;
1324
+ /**
1325
+ * Internal Server Error _(panics)_
1326
+ */
1327
+ 500: HttpError;
1328
+ default: unknown;
1329
+ };
1330
+ export type AgentUpdateError = AgentUpdateErrors[keyof AgentUpdateErrors];
1331
+ export type AgentUpdateResponses = {
1332
+ /**
1333
+ * OK
1334
+ */
1335
+ 200: AgentResponse;
1336
+ };
1337
+ export type AgentUpdateResponse = AgentUpdateResponses[keyof AgentUpdateResponses];
1338
+ export type LangchatChatbotsListData = {
1339
+ body?: never;
1340
+ headers?: {
1341
+ Accept?: string;
1342
+ };
1343
+ path?: never;
1344
+ query?: never;
1345
+ url: "/api/v2/langchat/chatbots";
1346
+ };
1347
+ export type LangchatChatbotsListErrors = {
1348
+ /**
1349
+ * Bad Request _(validation or deserialization error)_
1350
+ */
1351
+ 400: HttpError;
1352
+ /**
1353
+ * Internal Server Error _(panics)_
1354
+ */
1355
+ 500: HttpError;
1356
+ default: unknown;
1357
+ };
1358
+ export type LangchatChatbotsListError = LangchatChatbotsListErrors[keyof LangchatChatbotsListErrors];
1359
+ export type LangchatChatbotsListResponses = {
1360
+ /**
1361
+ * OK
1362
+ */
1363
+ 200: ChatbotListResponse;
1364
+ };
1365
+ export type LangchatChatbotsListResponse = LangchatChatbotsListResponses[keyof LangchatChatbotsListResponses];
1366
+ export type LangchatChatbotsUpsertData = {
1367
+ /**
1368
+ * Request body for langchat.ChatbotUpsertRequest
1369
+ */
1370
+ body: ChatbotUpsertRequest;
1371
+ headers?: {
1372
+ Accept?: string;
1373
+ };
1374
+ path?: never;
1375
+ query?: never;
1376
+ url: "/api/v2/langchat/chatbots";
1377
+ };
1378
+ export type LangchatChatbotsUpsertErrors = {
1379
+ /**
1380
+ * Bad Request _(validation or deserialization error)_
1381
+ */
1382
+ 400: HttpError;
1383
+ /**
1384
+ * Internal Server Error _(panics)_
1385
+ */
1386
+ 500: HttpError;
1387
+ default: unknown;
1388
+ };
1389
+ export type LangchatChatbotsUpsertError = LangchatChatbotsUpsertErrors[keyof LangchatChatbotsUpsertErrors];
1390
+ export type LangchatChatbotsUpsertResponses = {
1391
+ /**
1392
+ * OK
1393
+ */
1394
+ 200: ChatbotResponse;
1395
+ };
1396
+ export type LangchatChatbotsUpsertResponse = LangchatChatbotsUpsertResponses[keyof LangchatChatbotsUpsertResponses];
1397
+ export type LangchatChatbotsLoginData = {
1398
+ /**
1399
+ * Request body for langchat.LoginChatbotRequest
1400
+ */
1401
+ body: LoginChatbotRequest;
1402
+ headers?: {
1403
+ Accept?: string;
1404
+ };
1405
+ path?: never;
1406
+ query?: never;
1407
+ url: "/api/v2/langchat/chatbots/login";
1408
+ };
1409
+ export type LangchatChatbotsLoginErrors = {
1410
+ /**
1411
+ * Bad Request _(validation or deserialization error)_
1412
+ */
1413
+ 400: HttpError;
1414
+ /**
1415
+ * Internal Server Error _(panics)_
1416
+ */
1417
+ 500: HttpError;
1418
+ default: unknown;
1419
+ };
1420
+ export type LangchatChatbotsLoginError = LangchatChatbotsLoginErrors[keyof LangchatChatbotsLoginErrors];
1421
+ export type LangchatChatbotsLoginResponses = {
1422
+ /**
1423
+ * OK
1424
+ */
1425
+ 200: LoginChatbotResponse;
1426
+ };
1427
+ export type LangchatChatbotsLoginResponse = LangchatChatbotsLoginResponses[keyof LangchatChatbotsLoginResponses];
1428
+ export type LangchatChatbotsRunData = {
1429
+ /**
1430
+ * Request body for langchat.RunChatbotRequest
1431
+ */
1432
+ body: RunChatbotRequest;
1433
+ headers?: {
1434
+ Accept?: string;
1435
+ };
1436
+ path?: never;
1437
+ query?: never;
1438
+ url: "/api/v2/langchat/chatbots/run";
1439
+ };
1440
+ export type LangchatChatbotsRunErrors = {
1441
+ /**
1442
+ * Bad Request _(validation or deserialization error)_
1443
+ */
1444
+ 400: HttpError;
1445
+ /**
1446
+ * Internal Server Error _(panics)_
1447
+ */
1448
+ 500: HttpError;
1449
+ default: unknown;
1450
+ };
1451
+ export type LangchatChatbotsRunError = LangchatChatbotsRunErrors[keyof LangchatChatbotsRunErrors];
1452
+ export type LangchatChatbotsRunResponses = {
1453
+ /**
1454
+ * OK
1455
+ */
1456
+ 200: RunChatbotResponse;
1457
+ };
1458
+ export type LangchatChatbotsRunResponse = LangchatChatbotsRunResponses[keyof LangchatChatbotsRunResponses];
1459
+ export type LangchatChatbotsDeleteData = {
1460
+ body?: never;
1461
+ headers?: {
1462
+ Accept?: string;
1463
+ };
1464
+ path: {
1465
+ chatbotId: string;
1466
+ };
1467
+ query?: never;
1468
+ url: "/api/v2/langchat/chatbots/{chatbotId}";
1469
+ };
1470
+ export type LangchatChatbotsDeleteErrors = {
1471
+ /**
1472
+ * Bad Request _(validation or deserialization error)_
1473
+ */
1474
+ 400: HttpError;
1475
+ /**
1476
+ * Internal Server Error _(panics)_
1477
+ */
1478
+ 500: HttpError;
1479
+ default: unknown;
1480
+ };
1481
+ export type LangchatChatbotsDeleteError = LangchatChatbotsDeleteErrors[keyof LangchatChatbotsDeleteErrors];
1482
+ export type LangchatChatbotsDeleteResponses = {
1483
+ /**
1484
+ * OK
1485
+ */
1486
+ 200: String;
1487
+ };
1488
+ export type LangchatChatbotsDeleteResponse = LangchatChatbotsDeleteResponses[keyof LangchatChatbotsDeleteResponses];
1489
+ export type LangchatChatbotsGetData = {
1490
+ body?: never;
1491
+ headers?: {
1492
+ Accept?: string;
1493
+ };
1494
+ path: {
1495
+ chatbotId: string;
1496
+ };
1497
+ query?: never;
1498
+ url: "/api/v2/langchat/chatbots/{chatbotId}";
1499
+ };
1500
+ export type LangchatChatbotsGetErrors = {
1501
+ /**
1502
+ * Bad Request _(validation or deserialization error)_
1503
+ */
1504
+ 400: HttpError;
1505
+ /**
1506
+ * Internal Server Error _(panics)_
1507
+ */
1508
+ 500: HttpError;
1509
+ default: unknown;
1510
+ };
1511
+ export type LangchatChatbotsGetError = LangchatChatbotsGetErrors[keyof LangchatChatbotsGetErrors];
1512
+ export type LangchatChatbotsGetResponses = {
1513
+ /**
1514
+ * OK
1515
+ */
1516
+ 200: ChatbotResponse;
1517
+ };
1518
+ export type LangchatChatbotsGetResponse = LangchatChatbotsGetResponses[keyof LangchatChatbotsGetResponses];
1519
+ export type LangchatChatbotsUpdateData = {
1520
+ /**
1521
+ * Request body for langchat.ChatbotUpsertRequest
1522
+ */
1523
+ body: ChatbotUpsertRequest;
1524
+ headers?: {
1525
+ Accept?: string;
1526
+ };
1527
+ path: {
1528
+ chatbotId: string;
1529
+ };
1530
+ query?: never;
1531
+ url: "/api/v2/langchat/chatbots/{chatbotId}";
1532
+ };
1533
+ export type LangchatChatbotsUpdateErrors = {
1534
+ /**
1535
+ * Bad Request _(validation or deserialization error)_
1536
+ */
1537
+ 400: HttpError;
1538
+ /**
1539
+ * Internal Server Error _(panics)_
1540
+ */
1541
+ 500: HttpError;
1542
+ default: unknown;
1543
+ };
1544
+ export type LangchatChatbotsUpdateError = LangchatChatbotsUpdateErrors[keyof LangchatChatbotsUpdateErrors];
1545
+ export type LangchatChatbotsUpdateResponses = {
1546
+ /**
1547
+ * OK
1548
+ */
1549
+ 200: ChatbotResponse;
1550
+ };
1551
+ export type LangchatChatbotsUpdateResponse = LangchatChatbotsUpdateResponses[keyof LangchatChatbotsUpdateResponses];
1552
+ export type LangchatPlatformTypesData = {
1553
+ body?: never;
1554
+ headers?: {
1555
+ Accept?: string;
1556
+ };
1557
+ path?: never;
1558
+ query?: never;
1559
+ url: "/api/v2/langchat/platform-types";
1560
+ };
1561
+ export type LangchatPlatformTypesErrors = {
1562
+ /**
1563
+ * Bad Request _(validation or deserialization error)_
1564
+ */
1565
+ 400: HttpError;
1566
+ /**
1567
+ * Internal Server Error _(panics)_
1568
+ */
1569
+ 500: HttpError;
1570
+ default: unknown;
1571
+ };
1572
+ export type LangchatPlatformTypesError = LangchatPlatformTypesErrors[keyof LangchatPlatformTypesErrors];
1573
+ export type LangchatPlatformTypesResponses = {
1574
+ /**
1575
+ * OK
1576
+ */
1577
+ 200: PlatformTypeListResponse;
1578
+ };
1579
+ export type LangchatPlatformTypesResponse = LangchatPlatformTypesResponses[keyof LangchatPlatformTypesResponses];
1580
+ export type NapcatStartData = {
1581
+ /**
1582
+ * Request body for napcat.StartNapcatRequest
1583
+ */
1584
+ body: StartNapcatRequest;
1585
+ headers?: {
1586
+ Accept?: string;
1587
+ };
1588
+ path?: never;
1589
+ query?: never;
1590
+ url: "/api/v2/napcat/start";
1591
+ };
1592
+ export type NapcatStartErrors = {
1593
+ /**
1594
+ * Bad Request _(validation or deserialization error)_
1595
+ */
1596
+ 400: HttpError;
1597
+ /**
1598
+ * Internal Server Error _(panics)_
1599
+ */
1600
+ 500: HttpError;
1601
+ default: unknown;
1602
+ };
1603
+ export type NapcatStartError = NapcatStartErrors[keyof NapcatStartErrors];
1604
+ export type NapcatStartResponses = {
1605
+ /**
1606
+ * OK
1607
+ */
1608
+ 200: NapcatStatus;
1609
+ };
1610
+ export type NapcatStartResponse = NapcatStartResponses[keyof NapcatStartResponses];
1611
+ export type NapcatGetStatusData = {
1612
+ body?: never;
1613
+ headers?: {
1614
+ Accept?: string;
1615
+ };
1616
+ path?: never;
1617
+ query?: never;
1618
+ url: "/api/v2/napcat/status";
1619
+ };
1620
+ export type NapcatGetStatusErrors = {
1621
+ /**
1622
+ * Bad Request _(validation or deserialization error)_
1623
+ */
1624
+ 400: HttpError;
1625
+ /**
1626
+ * Internal Server Error _(panics)_
1627
+ */
1628
+ 500: HttpError;
1629
+ default: unknown;
1630
+ };
1631
+ export type NapcatGetStatusError = NapcatGetStatusErrors[keyof NapcatGetStatusErrors];
1632
+ export type NapcatGetStatusResponses = {
1633
+ /**
1634
+ * OK
1635
+ */
1636
+ 200: NapcatStatus;
1637
+ };
1638
+ export type NapcatGetStatusResponse = NapcatGetStatusResponses[keyof NapcatGetStatusResponses];
1639
+ export type NapcatProxyOneBot11GetData = {
1640
+ body?: never;
1641
+ headers?: {
1642
+ Accept?: string;
1643
+ };
1644
+ path?: never;
1645
+ query?: never;
1646
+ url: "/api/v2/onebot11/*";
1647
+ };
1648
+ export type NapcatProxyOneBot11GetErrors = {
1649
+ /**
1650
+ * Bad Request _(validation or deserialization error)_
1651
+ */
1652
+ 400: HttpError;
1653
+ /**
1654
+ * Internal Server Error _(panics)_
1655
+ */
1656
+ 500: HttpError;
1657
+ default: unknown;
1658
+ };
1659
+ export type NapcatProxyOneBot11GetError = NapcatProxyOneBot11GetErrors[keyof NapcatProxyOneBot11GetErrors];
1660
+ export type NapcatProxyOneBot11GetResponses = {
1661
+ /**
1662
+ * OK
1663
+ */
1664
+ 200: UnknownInterface;
1665
+ };
1666
+ export type NapcatProxyOneBot11GetResponse = NapcatProxyOneBot11GetResponses[keyof NapcatProxyOneBot11GetResponses];
1667
+ export type NapcatProxyOneBot11PostData = {
1668
+ body?: never;
1669
+ headers?: {
1670
+ Accept?: string;
1671
+ };
1672
+ path?: never;
1673
+ query?: never;
1674
+ url: "/api/v2/onebot11/*";
1675
+ };
1676
+ export type NapcatProxyOneBot11PostErrors = {
1677
+ /**
1678
+ * Bad Request _(validation or deserialization error)_
1679
+ */
1680
+ 400: HttpError;
1681
+ /**
1682
+ * Internal Server Error _(panics)_
1683
+ */
1684
+ 500: HttpError;
1685
+ default: unknown;
1686
+ };
1687
+ export type NapcatProxyOneBot11PostError = NapcatProxyOneBot11PostErrors[keyof NapcatProxyOneBot11PostErrors];
1688
+ export type NapcatProxyOneBot11PostResponses = {
1689
+ /**
1690
+ * OK
1691
+ */
1692
+ 200: UnknownInterface;
1693
+ };
1694
+ export type NapcatProxyOneBot11PostResponse = NapcatProxyOneBot11PostResponses[keyof NapcatProxyOneBot11PostResponses];
1695
+ export type LangchatChatbotsMessagesListData = {
1696
+ body?: never;
1697
+ headers?: {
1698
+ Accept?: string;
1699
+ };
1700
+ path?: never;
1701
+ query?: {
1702
+ /**
1703
+ * Filter by self ID
1704
+ */
1705
+ selfId?: string;
1706
+ /**
1707
+ * Filter by post type (message, meta_event, etc.)
1708
+ */
1709
+ postType?: string;
1710
+ /**
1711
+ * Filter by message type (private, group)
1712
+ */
1713
+ messageType?: string;
1714
+ /**
1715
+ * Filter by user ID
1716
+ */
1717
+ userId?: number;
1718
+ /**
1719
+ * Filter by group ID
1720
+ */
1721
+ groupId?: number;
1722
+ /**
1723
+ * Filter by processed status
1724
+ */
1725
+ processed?: boolean;
1726
+ /**
1727
+ * Search in message content and sender nickname
1728
+ */
1729
+ search?: string;
1730
+ /**
1731
+ * Page number
1732
+ */
1733
+ page?: number;
1734
+ /**
1735
+ * Items per page
1736
+ */
1737
+ limit?: number;
1738
+ /**
1739
+ * Order by field
1740
+ */
1741
+ orderBy?: string;
1742
+ /**
1743
+ * Order descending
1744
+ */
1745
+ orderDesc?: boolean;
1746
+ };
1747
+ url: "/api/v2/onebot11/messages";
1748
+ };
1749
+ export type LangchatChatbotsMessagesListErrors = {
1750
+ /**
1751
+ * Bad Request _(validation or deserialization error)_
1752
+ */
1753
+ 400: HttpError;
1754
+ /**
1755
+ * Internal Server Error _(panics)_
1756
+ */
1757
+ 500: HttpError;
1758
+ default: unknown;
1759
+ };
1760
+ export type LangchatChatbotsMessagesListError = LangchatChatbotsMessagesListErrors[keyof LangchatChatbotsMessagesListErrors];
1761
+ export type LangchatChatbotsMessagesListResponses = {
1762
+ /**
1763
+ * OK
1764
+ */
1765
+ 200: ListMessagesResponse;
1766
+ };
1767
+ export type LangchatChatbotsMessagesListResponse = LangchatChatbotsMessagesListResponses[keyof LangchatChatbotsMessagesListResponses];
1768
+ export type LangchatChatbotsMessagesGetData = {
1769
+ body?: never;
1770
+ headers?: {
1771
+ Accept?: string;
1772
+ };
1773
+ path: {
1774
+ id: string;
1775
+ };
1776
+ query?: never;
1777
+ url: "/api/v2/onebot11/messages/{id}";
1778
+ };
1779
+ export type LangchatChatbotsMessagesGetErrors = {
1780
+ /**
1781
+ * Bad Request _(validation or deserialization error)_
1782
+ */
1783
+ 400: HttpError;
1784
+ /**
1785
+ * Internal Server Error _(panics)_
1786
+ */
1787
+ 500: HttpError;
1788
+ default: unknown;
1789
+ };
1790
+ export type LangchatChatbotsMessagesGetError = LangchatChatbotsMessagesGetErrors[keyof LangchatChatbotsMessagesGetErrors];
1791
+ export type LangchatChatbotsMessagesGetResponses = {
1792
+ /**
1793
+ * OK
1794
+ */
1795
+ 200: MessageResponse;
1796
+ };
1797
+ export type LangchatChatbotsMessagesGetResponse = LangchatChatbotsMessagesGetResponses[keyof LangchatChatbotsMessagesGetResponses];
1798
+ export type LangchatChatbotsSessionsListData = {
1799
+ body?: never;
1800
+ headers?: {
1801
+ Accept?: string;
1802
+ };
1803
+ path?: never;
1804
+ query?: {
1805
+ /**
1806
+ * Filter by self ID
1807
+ */
1808
+ selfId?: string;
1809
+ /**
1810
+ * Filter by session type
1811
+ */
1812
+ sessionType?: string;
1813
+ /**
1814
+ * Filter by active status
1815
+ */
1816
+ isActive?: boolean;
1817
+ /**
1818
+ * Page number
1819
+ */
1820
+ page?: number;
1821
+ /**
1822
+ * Items per page
1823
+ */
1824
+ limit?: number;
1825
+ };
1826
+ url: "/api/v2/onebot11/sessions";
1827
+ };
1828
+ export type LangchatChatbotsSessionsListErrors = {
1829
+ /**
1830
+ * Bad Request _(validation or deserialization error)_
1831
+ */
1832
+ 400: HttpError;
1833
+ /**
1834
+ * Internal Server Error _(panics)_
1835
+ */
1836
+ 500: HttpError;
1837
+ default: unknown;
1838
+ };
1839
+ export type LangchatChatbotsSessionsListError = LangchatChatbotsSessionsListErrors[keyof LangchatChatbotsSessionsListErrors];
1840
+ export type LangchatChatbotsSessionsListResponses = {
1841
+ /**
1842
+ * OK
1843
+ */
1844
+ 200: ListSessionsResponse;
1845
+ };
1846
+ export type LangchatChatbotsSessionsListResponse = LangchatChatbotsSessionsListResponses[keyof LangchatChatbotsSessionsListResponses];
1847
+ export type PAccountListData2 = {
1848
+ body?: never;
1849
+ headers?: {
1850
+ Accept?: string;
1851
+ };
1852
+ path?: never;
1853
+ query?: never;
1854
+ url: "/api/v2/paccounts";
1855
+ };
1856
+ export type PAccountListErrors = {
1857
+ /**
1858
+ * Bad Request _(validation or deserialization error)_
1859
+ */
1860
+ 400: HttpError;
1861
+ /**
1862
+ * Internal Server Error _(panics)_
1863
+ */
1864
+ 500: HttpError;
1865
+ default: unknown;
1866
+ };
1867
+ export type PAccountListError = PAccountListErrors[keyof PAccountListErrors];
1868
+ export type PAccountListResponses = {
1869
+ /**
1870
+ * OK
1871
+ */
1872
+ 200: PAccountListData;
1873
+ };
1874
+ export type PAccountListResponse = PAccountListResponses[keyof PAccountListResponses];
1875
+ export type PAccountCreateData = {
1876
+ /**
1877
+ * Request body for paccount.CreatePAccountRequest
1878
+ */
1879
+ body: CreatePAccountRequest;
1880
+ headers?: {
1881
+ Accept?: string;
1882
+ };
1883
+ path?: never;
1884
+ query?: never;
1885
+ url: "/api/v2/paccounts";
1886
+ };
1887
+ export type PAccountCreateErrors = {
1888
+ /**
1889
+ * Bad Request _(validation or deserialization error)_
1890
+ */
1891
+ 400: HttpError;
1892
+ /**
1893
+ * Internal Server Error _(panics)_
1894
+ */
1895
+ 500: HttpError;
1896
+ default: unknown;
1897
+ };
1898
+ export type PAccountCreateError = PAccountCreateErrors[keyof PAccountCreateErrors];
1899
+ export type PAccountCreateResponses = {
1900
+ /**
1901
+ * OK
1902
+ */
1903
+ 200: PAccountResponse;
1904
+ };
1905
+ export type PAccountCreateResponse = PAccountCreateResponses[keyof PAccountCreateResponses];
1906
+ export type PAccountExportData = {
1907
+ body?: never;
1908
+ headers?: {
1909
+ Accept?: string;
1910
+ };
1911
+ path?: never;
1912
+ query?: never;
1913
+ url: "/api/v2/paccounts/export";
1914
+ };
1915
+ export type PAccountExportErrors = {
1916
+ /**
1917
+ * Bad Request _(validation or deserialization error)_
1918
+ */
1919
+ 400: HttpError;
1920
+ /**
1921
+ * Internal Server Error _(panics)_
1922
+ */
1923
+ 500: HttpError;
1924
+ default: unknown;
1925
+ };
1926
+ export type PAccountExportError = PAccountExportErrors[keyof PAccountExportErrors];
1927
+ export type PAccountExportResponses = {
1928
+ /**
1929
+ * OK
1930
+ */
1931
+ 200: ExportPAccountsResponse;
1932
+ };
1933
+ export type PAccountExportResponse = PAccountExportResponses[keyof PAccountExportResponses];
1934
+ export type PAccountImportData = {
1935
+ /**
1936
+ * Request body for paccount.ImportPAccountsRequest
1937
+ */
1938
+ body: ImportPAccountsRequest;
1939
+ headers?: {
1940
+ Accept?: string;
1941
+ };
1942
+ path?: never;
1943
+ query?: never;
1944
+ url: "/api/v2/paccounts/import";
1945
+ };
1946
+ export type PAccountImportErrors = {
1947
+ /**
1948
+ * Bad Request _(validation or deserialization error)_
1949
+ */
1950
+ 400: HttpError;
1951
+ /**
1952
+ * Internal Server Error _(panics)_
1953
+ */
1954
+ 500: HttpError;
1955
+ default: unknown;
1956
+ };
1957
+ export type PAccountImportError = PAccountImportErrors[keyof PAccountImportErrors];
1958
+ export type PAccountImportResponses = {
1959
+ /**
1960
+ * OK
1961
+ */
1962
+ 200: ImportPAccountsResponse;
1963
+ };
1964
+ export type PAccountImportResponse = PAccountImportResponses[keyof PAccountImportResponses];
1965
+ export type PAccountDeleteData = {
1966
+ body?: never;
1967
+ headers?: {
1968
+ Accept?: string;
1969
+ };
1970
+ path: {
1971
+ accountId: string;
1972
+ };
1973
+ query?: never;
1974
+ url: "/api/v2/paccounts/{accountId}";
1975
+ };
1976
+ export type PAccountDeleteErrors = {
1977
+ /**
1978
+ * Bad Request _(validation or deserialization error)_
1979
+ */
1980
+ 400: HttpError;
1981
+ /**
1982
+ * Internal Server Error _(panics)_
1983
+ */
1984
+ 500: HttpError;
1985
+ default: unknown;
1986
+ };
1987
+ export type PAccountDeleteError = PAccountDeleteErrors[keyof PAccountDeleteErrors];
1988
+ export type PAccountDeleteResponses = {
1989
+ /**
1990
+ * OK
1991
+ */
1992
+ 200: Bool;
1993
+ };
1994
+ export type PAccountDeleteResponse = PAccountDeleteResponses[keyof PAccountDeleteResponses];
1995
+ export type PAccountGetData = {
1996
+ body?: never;
1997
+ headers?: {
1998
+ Accept?: string;
1999
+ };
2000
+ path: {
2001
+ accountId: string;
2002
+ };
2003
+ query?: never;
2004
+ url: "/api/v2/paccounts/{accountId}";
2005
+ };
2006
+ export type PAccountGetErrors = {
2007
+ /**
2008
+ * Bad Request _(validation or deserialization error)_
2009
+ */
2010
+ 400: HttpError;
2011
+ /**
2012
+ * Internal Server Error _(panics)_
2013
+ */
2014
+ 500: HttpError;
2015
+ default: unknown;
2016
+ };
2017
+ export type PAccountGetError = PAccountGetErrors[keyof PAccountGetErrors];
2018
+ export type PAccountGetResponses = {
2019
+ /**
2020
+ * OK
2021
+ */
2022
+ 200: PAccountResponse;
2023
+ };
2024
+ export type PAccountGetResponse = PAccountGetResponses[keyof PAccountGetResponses];
2025
+ export type PAccountUpdateData = {
2026
+ /**
2027
+ * Request body for paccount.UpdatePAccountRequest
2028
+ */
2029
+ body: UpdatePAccountRequest;
2030
+ headers?: {
2031
+ Accept?: string;
2032
+ };
2033
+ path: {
2034
+ accountId: string;
2035
+ };
2036
+ query?: never;
2037
+ url: "/api/v2/paccounts/{accountId}";
2038
+ };
2039
+ export type PAccountUpdateErrors = {
2040
+ /**
2041
+ * Bad Request _(validation or deserialization error)_
2042
+ */
2043
+ 400: HttpError;
2044
+ /**
2045
+ * Internal Server Error _(panics)_
2046
+ */
2047
+ 500: HttpError;
2048
+ default: unknown;
2049
+ };
2050
+ export type PAccountUpdateError = PAccountUpdateErrors[keyof PAccountUpdateErrors];
2051
+ export type PAccountUpdateResponses = {
2052
+ /**
2053
+ * OK
2054
+ */
2055
+ 200: PAccountResponse;
2056
+ };
2057
+ export type PAccountUpdateResponse = PAccountUpdateResponses[keyof PAccountUpdateResponses];
2058
+ export type PAccountListBrowserConfigsData = {
2059
+ body?: never;
2060
+ headers?: {
2061
+ Accept?: string;
2062
+ };
2063
+ path: {
2064
+ accountId: string;
2065
+ };
2066
+ query?: never;
2067
+ url: "/api/v2/paccounts/{accountId}/browser/configs";
2068
+ };
2069
+ export type PAccountListBrowserConfigsErrors = {
2070
+ /**
2071
+ * Bad Request _(validation or deserialization error)_
2072
+ */
2073
+ 400: HttpError;
2074
+ /**
2075
+ * Internal Server Error _(panics)_
2076
+ */
2077
+ 500: HttpError;
2078
+ default: unknown;
2079
+ };
2080
+ export type PAccountListBrowserConfigsError = PAccountListBrowserConfigsErrors[keyof PAccountListBrowserConfigsErrors];
2081
+ export type PAccountListBrowserConfigsResponses = {
2082
+ /**
2083
+ * OK
2084
+ */
2085
+ 200: Array<BrowserConfig>;
2086
+ };
2087
+ export type PAccountListBrowserConfigsResponse = PAccountListBrowserConfigsResponses[keyof PAccountListBrowserConfigsResponses];
2088
+ export type PAccountCreateBrowserConfigData = {
2089
+ /**
2090
+ * Request body for paccount.BrowserConfigCreate
2091
+ */
2092
+ body: BrowserConfigCreate;
2093
+ headers?: {
2094
+ Accept?: string;
2095
+ };
2096
+ path: {
2097
+ accountId: string;
2098
+ };
2099
+ query?: never;
2100
+ url: "/api/v2/paccounts/{accountId}/browser/configs";
2101
+ };
2102
+ export type PAccountCreateBrowserConfigErrors = {
2103
+ /**
2104
+ * Bad Request _(validation or deserialization error)_
2105
+ */
2106
+ 400: HttpError;
2107
+ /**
2108
+ * Internal Server Error _(panics)_
2109
+ */
2110
+ 500: HttpError;
2111
+ default: unknown;
2112
+ };
2113
+ export type PAccountCreateBrowserConfigError = PAccountCreateBrowserConfigErrors[keyof PAccountCreateBrowserConfigErrors];
2114
+ export type PAccountCreateBrowserConfigResponses = {
2115
+ /**
2116
+ * OK
2117
+ */
2118
+ 200: OperationMessage;
2119
+ };
2120
+ export type PAccountCreateBrowserConfigResponse = PAccountCreateBrowserConfigResponses[keyof PAccountCreateBrowserConfigResponses];
2121
+ export type PAccountLaunchBrowserData = {
2122
+ body?: never;
2123
+ headers?: {
2124
+ Accept?: string;
2125
+ };
2126
+ path: {
2127
+ accountId: string;
2128
+ };
2129
+ query?: never;
2130
+ url: "/api/v2/paccounts/{accountId}/browser/launch";
2131
+ };
2132
+ export type PAccountLaunchBrowserErrors = {
2133
+ /**
2134
+ * Bad Request _(validation or deserialization error)_
2135
+ */
2136
+ 400: HttpError;
2137
+ /**
2138
+ * Internal Server Error _(panics)_
2139
+ */
2140
+ 500: HttpError;
2141
+ default: unknown;
2142
+ };
2143
+ export type PAccountLaunchBrowserError = PAccountLaunchBrowserErrors[keyof PAccountLaunchBrowserErrors];
2144
+ export type PAccountLaunchBrowserResponses = {
2145
+ /**
2146
+ * OK
2147
+ */
2148
+ 200: OperationMessage;
2149
+ };
2150
+ export type PAccountLaunchBrowserResponse = PAccountLaunchBrowserResponses[keyof PAccountLaunchBrowserResponses];
2151
+ export type PAccountListSessionsData = {
2152
+ body?: never;
2153
+ headers?: {
2154
+ Accept?: string;
2155
+ };
2156
+ path: {
2157
+ accountId: string;
2158
+ };
2159
+ query?: never;
2160
+ url: "/api/v2/paccounts/{accountId}/sessions";
2161
+ };
2162
+ export type PAccountListSessionsErrors = {
2163
+ /**
2164
+ * Bad Request _(validation or deserialization error)_
2165
+ */
2166
+ 400: HttpError;
2167
+ /**
2168
+ * Internal Server Error _(panics)_
2169
+ */
2170
+ 500: HttpError;
2171
+ default: unknown;
2172
+ };
2173
+ export type PAccountListSessionsError = PAccountListSessionsErrors[keyof PAccountListSessionsErrors];
2174
+ export type PAccountListSessionsResponses = {
2175
+ /**
2176
+ * OK
2177
+ */
2178
+ 200: Array<PAccountSession>;
2179
+ };
2180
+ export type PAccountListSessionsResponse = PAccountListSessionsResponses[keyof PAccountListSessionsResponses];
2181
+ export type PAccountCreateSessionData = {
2182
+ /**
2183
+ * Request body for paccount.CreateSessionRequest
2184
+ */
2185
+ body: CreateSessionRequest;
2186
+ headers?: {
2187
+ Accept?: string;
2188
+ };
2189
+ path: {
2190
+ accountId: string;
2191
+ };
2192
+ query?: never;
2193
+ url: "/api/v2/paccounts/{accountId}/sessions";
2194
+ };
2195
+ export type PAccountCreateSessionErrors = {
2196
+ /**
2197
+ * Bad Request _(validation or deserialization error)_
2198
+ */
2199
+ 400: HttpError;
2200
+ /**
2201
+ * Internal Server Error _(panics)_
2202
+ */
2203
+ 500: HttpError;
2204
+ default: unknown;
2205
+ };
2206
+ export type PAccountCreateSessionError = PAccountCreateSessionErrors[keyof PAccountCreateSessionErrors];
2207
+ export type PAccountCreateSessionResponses = {
2208
+ /**
2209
+ * OK
2210
+ */
2211
+ 200: OperationMessage;
2212
+ };
2213
+ export type PAccountCreateSessionResponse = PAccountCreateSessionResponses[keyof PAccountCreateSessionResponses];
2214
+ export type PAccountDeleteSessionData = {
2215
+ body?: never;
2216
+ headers?: {
2217
+ Accept?: string;
2218
+ };
2219
+ path: {
2220
+ accountId: string;
2221
+ sessionId: string;
2222
+ };
2223
+ query?: never;
2224
+ url: "/api/v2/paccounts/{accountId}/sessions/{sessionId}";
2225
+ };
2226
+ export type PAccountDeleteSessionErrors = {
2227
+ /**
2228
+ * Bad Request _(validation or deserialization error)_
2229
+ */
2230
+ 400: HttpError;
2231
+ /**
2232
+ * Internal Server Error _(panics)_
2233
+ */
2234
+ 500: HttpError;
2235
+ default: unknown;
2236
+ };
2237
+ export type PAccountDeleteSessionError = PAccountDeleteSessionErrors[keyof PAccountDeleteSessionErrors];
2238
+ export type PAccountDeleteSessionResponses = {
2239
+ /**
2240
+ * OK
2241
+ */
2242
+ 200: OperationSuccess;
2243
+ };
2244
+ export type PAccountDeleteSessionResponse = PAccountDeleteSessionResponses[keyof PAccountDeleteSessionResponses];
2245
+ export type PAccountGetSessionData = {
2246
+ body?: never;
2247
+ headers?: {
2248
+ Accept?: string;
2249
+ };
2250
+ path: {
2251
+ accountId: string;
2252
+ sessionId: string;
2253
+ };
2254
+ query?: never;
2255
+ url: "/api/v2/paccounts/{accountId}/sessions/{sessionId}";
2256
+ };
2257
+ export type PAccountGetSessionErrors = {
2258
+ /**
2259
+ * Bad Request _(validation or deserialization error)_
2260
+ */
2261
+ 400: HttpError;
2262
+ /**
2263
+ * Internal Server Error _(panics)_
2264
+ */
2265
+ 500: HttpError;
2266
+ default: unknown;
2267
+ };
2268
+ export type PAccountGetSessionError = PAccountGetSessionErrors[keyof PAccountGetSessionErrors];
2269
+ export type PAccountGetSessionResponses = {
2270
+ /**
2271
+ * OK
2272
+ */
2273
+ 200: PAccountSession;
2274
+ };
2275
+ export type PAccountGetSessionResponse = PAccountGetSessionResponses[keyof PAccountGetSessionResponses];
2276
+ export type PAccountUpdateSessionData = {
2277
+ /**
2278
+ * Request body for paccount.UpdateSessionRequest
2279
+ */
2280
+ body: UpdateSessionRequest;
2281
+ headers?: {
2282
+ Accept?: string;
2283
+ };
2284
+ path: {
2285
+ accountId: string;
2286
+ sessionId: string;
2287
+ };
2288
+ query?: never;
2289
+ url: "/api/v2/paccounts/{accountId}/sessions/{sessionId}";
2290
+ };
2291
+ export type PAccountUpdateSessionErrors = {
2292
+ /**
2293
+ * Bad Request _(validation or deserialization error)_
2294
+ */
2295
+ 400: HttpError;
2296
+ /**
2297
+ * Internal Server Error _(panics)_
2298
+ */
2299
+ 500: HttpError;
2300
+ default: unknown;
2301
+ };
2302
+ export type PAccountUpdateSessionError = PAccountUpdateSessionErrors[keyof PAccountUpdateSessionErrors];
2303
+ export type PAccountUpdateSessionResponses = {
2304
+ /**
2305
+ * OK
2306
+ */
2307
+ 200: OperationMessage;
2308
+ };
2309
+ export type PAccountUpdateSessionResponse = PAccountUpdateSessionResponses[keyof PAccountUpdateSessionResponses];
2310
+ export type PlatformListData2 = {
2311
+ body?: never;
2312
+ headers?: {
2313
+ Accept?: string;
2314
+ };
2315
+ path?: never;
2316
+ query?: never;
2317
+ url: "/api/v2/platforms";
2318
+ };
2319
+ export type PlatformListErrors = {
2320
+ /**
2321
+ * Bad Request _(validation or deserialization error)_
2322
+ */
2323
+ 400: HttpError;
2324
+ /**
2325
+ * Internal Server Error _(panics)_
2326
+ */
2327
+ 500: HttpError;
2328
+ default: unknown;
2329
+ };
2330
+ export type PlatformListError = PlatformListErrors[keyof PlatformListErrors];
2331
+ export type PlatformListResponses = {
2332
+ /**
2333
+ * OK
2334
+ */
2335
+ 200: PlatformListData;
2336
+ };
2337
+ export type PlatformListResponse = PlatformListResponses[keyof PlatformListResponses];
2338
+ export type PlatformCreateData = {
2339
+ /**
2340
+ * Request body for platform.CreatePlatformRequest
2341
+ */
2342
+ body: CreatePlatformRequest;
2343
+ headers?: {
2344
+ Accept?: string;
2345
+ };
2346
+ path?: never;
2347
+ query?: never;
2348
+ url: "/api/v2/platforms";
2349
+ };
2350
+ export type PlatformCreateErrors = {
2351
+ /**
2352
+ * Bad Request _(validation or deserialization error)_
2353
+ */
2354
+ 400: HttpError;
2355
+ /**
2356
+ * Internal Server Error _(panics)_
2357
+ */
2358
+ 500: HttpError;
2359
+ default: unknown;
2360
+ };
2361
+ export type PlatformCreateError = PlatformCreateErrors[keyof PlatformCreateErrors];
2362
+ export type PlatformCreateResponses = {
2363
+ /**
2364
+ * OK
2365
+ */
2366
+ 200: PlatformResponse;
2367
+ };
2368
+ export type PlatformCreateResponse = PlatformCreateResponses[keyof PlatformCreateResponses];
2369
+ export type PlatformExportData = {
2370
+ body?: never;
2371
+ headers?: {
2372
+ Accept?: string;
2373
+ };
2374
+ path?: never;
2375
+ query?: never;
2376
+ url: "/api/v2/platforms/export";
2377
+ };
2378
+ export type PlatformExportErrors = {
2379
+ /**
2380
+ * Bad Request _(validation or deserialization error)_
2381
+ */
2382
+ 400: HttpError;
2383
+ /**
2384
+ * Internal Server Error _(panics)_
2385
+ */
2386
+ 500: HttpError;
2387
+ default: unknown;
2388
+ };
2389
+ export type PlatformExportError = PlatformExportErrors[keyof PlatformExportErrors];
2390
+ export type PlatformExportResponses = {
2391
+ /**
2392
+ * OK
2393
+ */
2394
+ 200: ExportPlatformsResponse;
2395
+ };
2396
+ export type PlatformExportResponse = PlatformExportResponses[keyof PlatformExportResponses];
2397
+ export type PlatformImportData = {
2398
+ /**
2399
+ * Request body for platform.ImportPlatformsRequest
2400
+ */
2401
+ body: ImportPlatformsRequest;
2402
+ headers?: {
2403
+ Accept?: string;
2404
+ };
2405
+ path?: never;
2406
+ query?: never;
2407
+ url: "/api/v2/platforms/import";
2408
+ };
2409
+ export type PlatformImportErrors = {
2410
+ /**
2411
+ * Bad Request _(validation or deserialization error)_
2412
+ */
2413
+ 400: HttpError;
2414
+ /**
2415
+ * Internal Server Error _(panics)_
2416
+ */
2417
+ 500: HttpError;
2418
+ default: unknown;
2419
+ };
2420
+ export type PlatformImportError = PlatformImportErrors[keyof PlatformImportErrors];
2421
+ export type PlatformImportResponses = {
2422
+ /**
2423
+ * OK
2424
+ */
2425
+ 200: ImportPlatformsResponse;
2426
+ };
2427
+ export type PlatformImportResponse = PlatformImportResponses[keyof PlatformImportResponses];
2428
+ export type PlatformDeleteData = {
2429
+ body?: never;
2430
+ headers?: {
2431
+ Accept?: string;
2432
+ };
2433
+ path: {
2434
+ platformId: string;
2435
+ };
2436
+ query?: never;
2437
+ url: "/api/v2/platforms/{platformId}";
2438
+ };
2439
+ export type PlatformDeleteErrors = {
2440
+ /**
2441
+ * Bad Request _(validation or deserialization error)_
2442
+ */
2443
+ 400: HttpError;
2444
+ /**
2445
+ * Internal Server Error _(panics)_
2446
+ */
2447
+ 500: HttpError;
2448
+ default: unknown;
2449
+ };
2450
+ export type PlatformDeleteError = PlatformDeleteErrors[keyof PlatformDeleteErrors];
2451
+ export type PlatformDeleteResponses = {
2452
+ /**
2453
+ * OK
2454
+ */
2455
+ 200: Bool;
2456
+ };
2457
+ export type PlatformDeleteResponse = PlatformDeleteResponses[keyof PlatformDeleteResponses];
2458
+ export type PlatformGetData = {
2459
+ body?: never;
2460
+ headers?: {
2461
+ Accept?: string;
2462
+ };
2463
+ path: {
2464
+ platformId: string;
2465
+ };
2466
+ query?: never;
2467
+ url: "/api/v2/platforms/{platformId}";
2468
+ };
2469
+ export type PlatformGetErrors = {
2470
+ /**
2471
+ * Bad Request _(validation or deserialization error)_
2472
+ */
2473
+ 400: HttpError;
2474
+ /**
2475
+ * Internal Server Error _(panics)_
2476
+ */
2477
+ 500: HttpError;
2478
+ default: unknown;
2479
+ };
2480
+ export type PlatformGetError = PlatformGetErrors[keyof PlatformGetErrors];
2481
+ export type PlatformGetResponses = {
2482
+ /**
2483
+ * OK
2484
+ */
2485
+ 200: PlatformResponse;
2486
+ };
2487
+ export type PlatformGetResponse = PlatformGetResponses[keyof PlatformGetResponses];
2488
+ export type PlatformUpdateData = {
2489
+ /**
2490
+ * Request body for platform.UpdatePlatformRequest
2491
+ */
2492
+ body: UpdatePlatformRequest;
2493
+ headers?: {
2494
+ Accept?: string;
2495
+ };
2496
+ path: {
2497
+ platformId: string;
2498
+ };
2499
+ query?: never;
2500
+ url: "/api/v2/platforms/{platformId}";
2501
+ };
2502
+ export type PlatformUpdateErrors = {
2503
+ /**
2504
+ * Bad Request _(validation or deserialization error)_
2505
+ */
2506
+ 400: HttpError;
2507
+ /**
2508
+ * Internal Server Error _(panics)_
2509
+ */
2510
+ 500: HttpError;
2511
+ default: unknown;
2512
+ };
2513
+ export type PlatformUpdateError = PlatformUpdateErrors[keyof PlatformUpdateErrors];
2514
+ export type PlatformUpdateResponses = {
2515
+ /**
2516
+ * OK
2517
+ */
2518
+ 200: PlatformResponse;
2519
+ };
2520
+ export type PlatformUpdateResponse = PlatformUpdateResponses[keyof PlatformUpdateResponses];
2521
+ export type ProxyListData2 = {
2522
+ body?: never;
2523
+ headers?: {
2524
+ Accept?: string;
2525
+ };
2526
+ path?: never;
2527
+ query?: never;
2528
+ url: "/api/v2/proxies";
2529
+ };
2530
+ export type ProxyListErrors = {
2531
+ /**
2532
+ * Bad Request _(validation or deserialization error)_
2533
+ */
2534
+ 400: HttpError;
2535
+ /**
2536
+ * Internal Server Error _(panics)_
2537
+ */
2538
+ 500: HttpError;
2539
+ default: unknown;
2540
+ };
2541
+ export type ProxyListError = ProxyListErrors[keyof ProxyListErrors];
2542
+ export type ProxyListResponses = {
2543
+ /**
2544
+ * OK
2545
+ */
2546
+ 200: ProxyListData;
2547
+ };
2548
+ export type ProxyListResponse = ProxyListResponses[keyof ProxyListResponses];
2549
+ export type ProxyUpsertData = {
2550
+ /**
2551
+ * Request body for proxy.ProxyUpsertRequest
2552
+ */
2553
+ body: ProxyUpsertRequest;
2554
+ headers?: {
2555
+ Accept?: string;
2556
+ };
2557
+ path?: never;
2558
+ query?: never;
2559
+ url: "/api/v2/proxies/upsert";
2560
+ };
2561
+ export type ProxyUpsertErrors = {
2562
+ /**
2563
+ * Bad Request _(validation or deserialization error)_
2564
+ */
2565
+ 400: HttpError;
2566
+ /**
2567
+ * Internal Server Error _(panics)_
2568
+ */
2569
+ 500: HttpError;
2570
+ default: unknown;
2571
+ };
2572
+ export type ProxyUpsertError = ProxyUpsertErrors[keyof ProxyUpsertErrors];
2573
+ export type ProxyUpsertResponses = {
2574
+ /**
2575
+ * OK
2576
+ */
2577
+ 200: ProxyResponse;
2578
+ };
2579
+ export type ProxyUpsertResponse = ProxyUpsertResponses[keyof ProxyUpsertResponses];
2580
+ export type ProxyDeleteData = {
2581
+ body?: never;
2582
+ headers?: {
2583
+ Accept?: string;
2584
+ };
2585
+ path: {
2586
+ proxyId: string;
2587
+ };
2588
+ query?: never;
2589
+ url: "/api/v2/proxies/{proxyId}";
2590
+ };
2591
+ export type ProxyDeleteErrors = {
2592
+ /**
2593
+ * Bad Request _(validation or deserialization error)_
2594
+ */
2595
+ 400: HttpError;
2596
+ /**
2597
+ * Internal Server Error _(panics)_
2598
+ */
2599
+ 500: HttpError;
2600
+ default: unknown;
2601
+ };
2602
+ export type ProxyDeleteError = ProxyDeleteErrors[keyof ProxyDeleteErrors];
2603
+ export type ProxyDeleteResponses = {
2604
+ /**
2605
+ * OK
2606
+ */
2607
+ 200: UnknownInterface;
2608
+ };
2609
+ export type ProxyDeleteResponse = ProxyDeleteResponses[keyof ProxyDeleteResponses];
2610
+ export type ProxyGetData = {
2611
+ body?: never;
2612
+ headers?: {
2613
+ Accept?: string;
2614
+ };
2615
+ path: {
2616
+ proxyId: string;
2617
+ };
2618
+ query?: never;
2619
+ url: "/api/v2/proxies/{proxyId}";
2620
+ };
2621
+ export type ProxyGetErrors = {
2622
+ /**
2623
+ * Bad Request _(validation or deserialization error)_
2624
+ */
2625
+ 400: HttpError;
2626
+ /**
2627
+ * Internal Server Error _(panics)_
2628
+ */
2629
+ 500: HttpError;
2630
+ default: unknown;
2631
+ };
2632
+ export type ProxyGetError = ProxyGetErrors[keyof ProxyGetErrors];
2633
+ export type ProxyGetResponses = {
2634
+ /**
2635
+ * OK
2636
+ */
2637
+ 200: ProxyResponse;
2638
+ };
2639
+ export type ProxyGetResponse = ProxyGetResponses[keyof ProxyGetResponses];
2640
+ export type SandboxStartNapcatData = {
2641
+ /**
2642
+ * Request body for sbservice.StartNapcatRequest
2643
+ */
2644
+ body: StartNapcatRequest;
2645
+ headers?: {
2646
+ Accept?: string;
2647
+ };
2648
+ path?: never;
2649
+ query?: never;
2650
+ url: "/api/v2/sandbox/";
2651
+ };
2652
+ export type SandboxStartNapcatErrors = {
2653
+ /**
2654
+ * Bad Request _(validation or deserialization error)_
2655
+ */
2656
+ 400: HttpError;
2657
+ /**
2658
+ * Internal Server Error _(panics)_
2659
+ */
2660
+ 500: HttpError;
2661
+ default: unknown;
2662
+ };
2663
+ export type SandboxStartNapcatError = SandboxStartNapcatErrors[keyof SandboxStartNapcatErrors];
2664
+ export type SandboxStartNapcatResponses = {
2665
+ /**
2666
+ * OK
2667
+ */
2668
+ 200: StartNapcatResponse;
2669
+ };
2670
+ export type SandboxStartNapcatResponse = SandboxStartNapcatResponses[keyof SandboxStartNapcatResponses];
2671
+ export type NapcatCheckStatusData = {
2672
+ /**
2673
+ * Request body for sbservice.CheckSandboxStatusRequest
2674
+ */
2675
+ body: CheckSandboxStatusRequest;
2676
+ headers?: {
2677
+ Accept?: string;
2678
+ };
2679
+ path?: never;
2680
+ query?: never;
2681
+ url: "/api/v2/sandbox/check-status";
2682
+ };
2683
+ export type NapcatCheckStatusErrors = {
2684
+ /**
2685
+ * Bad Request _(validation or deserialization error)_
2686
+ */
2687
+ 400: HttpError;
2688
+ /**
2689
+ * Internal Server Error _(panics)_
2690
+ */
2691
+ 500: HttpError;
2692
+ default: unknown;
2693
+ };
2694
+ export type NapcatCheckStatusError = NapcatCheckStatusErrors[keyof NapcatCheckStatusErrors];
2695
+ export type NapcatCheckStatusResponses = {
2696
+ /**
2697
+ * OK
2698
+ */
2699
+ 200: CheckSandboxStatusResponse;
2700
+ };
2701
+ export type NapcatCheckStatusResponse = NapcatCheckStatusResponses[keyof NapcatCheckStatusResponses];
2702
+ export type SbServiceListData = {
2703
+ body?: never;
2704
+ headers?: {
2705
+ Accept?: string;
2706
+ };
2707
+ path?: never;
2708
+ query?: never;
2709
+ url: "/api/v2/sbservices";
2710
+ };
2711
+ export type SbServiceListErrors = {
2712
+ /**
2713
+ * Bad Request _(validation or deserialization error)_
2714
+ */
2715
+ 400: HttpError;
2716
+ /**
2717
+ * Internal Server Error _(panics)_
2718
+ */
2719
+ 500: HttpError;
2720
+ default: unknown;
2721
+ };
2722
+ export type SbServiceListError = SbServiceListErrors[keyof SbServiceListErrors];
2723
+ export type SbServiceListResponses = {
2724
+ /**
2725
+ * OK
2726
+ */
2727
+ 200: ListSbServicesResponse;
2728
+ };
2729
+ export type SbServiceListResponse = SbServiceListResponses[keyof SbServiceListResponses];
2730
+ export type SbServiceCreateData = {
2731
+ /**
2732
+ * Request body for sbservice.CreateSbServiceRequest
2733
+ */
2734
+ body: CreateSbServiceRequest;
2735
+ headers?: {
2736
+ Accept?: string;
2737
+ };
2738
+ path?: never;
2739
+ query?: never;
2740
+ url: "/api/v2/sbservices";
2741
+ };
2742
+ export type SbServiceCreateErrors = {
2743
+ /**
2744
+ * Bad Request _(validation or deserialization error)_
2745
+ */
2746
+ 400: HttpError;
2747
+ /**
2748
+ * Internal Server Error _(panics)_
2749
+ */
2750
+ 500: HttpError;
2751
+ default: unknown;
2752
+ };
2753
+ export type SbServiceCreateError = SbServiceCreateErrors[keyof SbServiceCreateErrors];
2754
+ export type SbServiceCreateResponses = {
2755
+ /**
2756
+ * OK
2757
+ */
2758
+ 200: SbServiceResponse;
2759
+ };
2760
+ export type SbServiceCreateResponse = SbServiceCreateResponses[keyof SbServiceCreateResponses];
2761
+ export type SbServiceGetServiceTypesData = {
2762
+ body?: never;
2763
+ headers?: {
2764
+ Accept?: string;
2765
+ };
2766
+ path?: never;
2767
+ query?: never;
2768
+ url: "/api/v2/sbservices/service-types";
2769
+ };
2770
+ export type SbServiceGetServiceTypesErrors = {
2771
+ /**
2772
+ * Bad Request _(validation or deserialization error)_
2773
+ */
2774
+ 400: HttpError;
2775
+ /**
2776
+ * Internal Server Error _(panics)_
2777
+ */
2778
+ 500: HttpError;
2779
+ default: unknown;
2780
+ };
2781
+ export type SbServiceGetServiceTypesError = SbServiceGetServiceTypesErrors[keyof SbServiceGetServiceTypesErrors];
2782
+ export type SbServiceGetServiceTypesResponses = {
2783
+ /**
2784
+ * OK
2785
+ */
2786
+ 200: ServiceTypesResponse;
2787
+ };
2788
+ export type SbServiceGetServiceTypesResponse = SbServiceGetServiceTypesResponses[keyof SbServiceGetServiceTypesResponses];
2789
+ export type SbServiceDeleteData = {
2790
+ body?: never;
2791
+ headers?: {
2792
+ Accept?: string;
2793
+ };
2794
+ path: {
2795
+ serviceId: string;
2796
+ };
2797
+ query?: never;
2798
+ url: "/api/v2/sbservices/{serviceId}";
2799
+ };
2800
+ export type SbServiceDeleteErrors = {
2801
+ /**
2802
+ * Bad Request _(validation or deserialization error)_
2803
+ */
2804
+ 400: HttpError;
2805
+ /**
2806
+ * Internal Server Error _(panics)_
2807
+ */
2808
+ 500: HttpError;
2809
+ default: unknown;
2810
+ };
2811
+ export type SbServiceDeleteError = SbServiceDeleteErrors[keyof SbServiceDeleteErrors];
2812
+ export type SbServiceDeleteResponses = {
2813
+ /**
2814
+ * OK
2815
+ */
2816
+ 200: UnknownInterface;
2817
+ };
2818
+ export type SbServiceDeleteResponse = SbServiceDeleteResponses[keyof SbServiceDeleteResponses];
2819
+ export type SbServiceGetData = {
2820
+ body?: never;
2821
+ headers?: {
2822
+ Accept?: string;
2823
+ };
2824
+ path: {
2825
+ serviceId: string;
2826
+ };
2827
+ query?: never;
2828
+ url: "/api/v2/sbservices/{serviceId}";
2829
+ };
2830
+ export type SbServiceGetErrors = {
2831
+ /**
2832
+ * Bad Request _(validation or deserialization error)_
2833
+ */
2834
+ 400: HttpError;
2835
+ /**
2836
+ * Internal Server Error _(panics)_
2837
+ */
2838
+ 500: HttpError;
2839
+ default: unknown;
2840
+ };
2841
+ export type SbServiceGetError = SbServiceGetErrors[keyof SbServiceGetErrors];
2842
+ export type SbServiceGetResponses = {
2843
+ /**
2844
+ * OK
2845
+ */
2846
+ 200: SbServiceResponse;
2847
+ };
2848
+ export type SbServiceGetResponse = SbServiceGetResponses[keyof SbServiceGetResponses];
2849
+ export type SessionGetCurrentData = {
2850
+ body?: never;
2851
+ headers?: {
2852
+ Accept?: string;
2853
+ };
2854
+ path?: never;
2855
+ query?: never;
2856
+ url: "/api/v2/session/current";
2857
+ };
2858
+ export type SessionGetCurrentErrors = {
2859
+ /**
2860
+ * Bad Request _(validation or deserialization error)_
2861
+ */
2862
+ 400: HttpError;
2863
+ /**
2864
+ * Internal Server Error _(panics)_
2865
+ */
2866
+ 500: HttpError;
2867
+ default: unknown;
2868
+ };
2869
+ export type SessionGetCurrentError = SessionGetCurrentErrors[keyof SessionGetCurrentErrors];
2870
+ export type SessionGetCurrentResponses = {
2871
+ /**
2872
+ * OK
2873
+ */
2874
+ 200: SessionResponse;
2875
+ };
2876
+ export type SessionGetCurrentResponse = SessionGetCurrentResponses[keyof SessionGetCurrentResponses];
2877
+ export type UserGetCurrentData = {
2878
+ body?: never;
2879
+ headers?: {
2880
+ Accept?: string;
2881
+ };
2882
+ path?: never;
2883
+ query?: never;
2884
+ url: "/api/v2/users/current";
2885
+ };
2886
+ export type UserGetCurrentErrors = {
2887
+ /**
2888
+ * Bad Request _(validation or deserialization error)_
2889
+ */
2890
+ 400: HttpError;
2891
+ /**
2892
+ * Internal Server Error _(panics)_
2893
+ */
2894
+ 500: HttpError;
2895
+ default: unknown;
2896
+ };
2897
+ export type UserGetCurrentError = UserGetCurrentErrors[keyof UserGetCurrentErrors];
2898
+ export type UserGetCurrentResponses = {
2899
+ /**
2900
+ * OK
2901
+ */
2902
+ 200: UserResponse;
2903
+ };
2904
+ export type UserGetCurrentResponse = UserGetCurrentResponses[keyof UserGetCurrentResponses];
2905
+ export type NapcatProxyWebUigetData = {
2906
+ body?: never;
2907
+ headers?: {
2908
+ Accept?: string;
2909
+ };
2910
+ path?: never;
2911
+ query?: never;
2912
+ url: "/api/v2/webui/*";
2913
+ };
2914
+ export type NapcatProxyWebUigetErrors = {
2915
+ /**
2916
+ * Bad Request _(validation or deserialization error)_
2917
+ */
2918
+ 400: HttpError;
2919
+ /**
2920
+ * Internal Server Error _(panics)_
2921
+ */
2922
+ 500: HttpError;
2923
+ default: unknown;
2924
+ };
2925
+ export type NapcatProxyWebUigetError = NapcatProxyWebUigetErrors[keyof NapcatProxyWebUigetErrors];
2926
+ export type NapcatProxyWebUigetResponses = {
2927
+ /**
2928
+ * OK
2929
+ */
2930
+ 200: UnknownInterface;
2931
+ };
2932
+ export type NapcatProxyWebUigetResponse = NapcatProxyWebUigetResponses[keyof NapcatProxyWebUigetResponses];
2933
+ export type NapcatProxyWebUipostData = {
2934
+ body?: never;
2935
+ headers?: {
2936
+ Accept?: string;
2937
+ };
2938
+ path?: never;
2939
+ query?: never;
2940
+ url: "/api/v2/webui/*";
2941
+ };
2942
+ export type NapcatProxyWebUipostErrors = {
2943
+ /**
2944
+ * Bad Request _(validation or deserialization error)_
2945
+ */
2946
+ 400: HttpError;
2947
+ /**
2948
+ * Internal Server Error _(panics)_
2949
+ */
2950
+ 500: HttpError;
2951
+ default: unknown;
2952
+ };
2953
+ export type NapcatProxyWebUipostError = NapcatProxyWebUipostErrors[keyof NapcatProxyWebUipostErrors];
2954
+ export type NapcatProxyWebUipostResponses = {
2955
+ /**
2956
+ * OK
2957
+ */
2958
+ 200: UnknownInterface;
2959
+ };
2960
+ export type NapcatProxyWebUipostResponse = NapcatProxyWebUipostResponses[keyof NapcatProxyWebUipostResponses];
2961
+ export type ClientOptions = {
2962
+ baseUrl: `${string}://${string}` | (string & {});
2963
+ };
2964
+ //# sourceMappingURL=types.gen.d.ts.map