mtmsdk 0.0.1
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.
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts +4377 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.js +2373 -0
- package/dist/mtgate_api/@tanstack/react-query.gen.js.map +1 -0
- package/dist/mtgate_api/client/client.d.ts +3 -0
- package/dist/mtgate_api/client/client.d.ts.map +1 -0
- package/dist/mtgate_api/client/client.js +146 -0
- package/dist/mtgate_api/client/client.js.map +1 -0
- package/dist/mtgate_api/client/index.d.ts +8 -0
- package/dist/mtgate_api/client/index.d.ts.map +1 -0
- package/dist/mtgate_api/client/index.js +5 -0
- package/dist/mtgate_api/client/index.js.map +1 -0
- package/dist/mtgate_api/client/types.d.ts +120 -0
- package/dist/mtgate_api/client/types.d.ts.map +1 -0
- package/dist/mtgate_api/client/types.js +2 -0
- package/dist/mtgate_api/client/types.js.map +1 -0
- package/dist/mtgate_api/client/utils.d.ts +46 -0
- package/dist/mtgate_api/client/utils.d.ts.map +1 -0
- package/dist/mtgate_api/client/utils.js +285 -0
- package/dist/mtgate_api/client/utils.js.map +1 -0
- package/dist/mtgate_api/client.gen.d.ts +13 -0
- package/dist/mtgate_api/client.gen.d.ts.map +1 -0
- package/dist/mtgate_api/client.gen.js +6 -0
- package/dist/mtgate_api/client.gen.js.map +1 -0
- package/dist/mtgate_api/core/auth.d.ts +19 -0
- package/dist/mtgate_api/core/auth.d.ts.map +1 -0
- package/dist/mtgate_api/core/auth.js +14 -0
- package/dist/mtgate_api/core/auth.js.map +1 -0
- package/dist/mtgate_api/core/bodySerializer.d.ts +18 -0
- package/dist/mtgate_api/core/bodySerializer.d.ts.map +1 -0
- package/dist/mtgate_api/core/bodySerializer.js +54 -0
- package/dist/mtgate_api/core/bodySerializer.js.map +1 -0
- package/dist/mtgate_api/core/params.d.ts +24 -0
- package/dist/mtgate_api/core/params.d.ts.map +1 -0
- package/dist/mtgate_api/core/params.js +88 -0
- package/dist/mtgate_api/core/params.js.map +1 -0
- package/dist/mtgate_api/core/pathSerializer.d.ts +34 -0
- package/dist/mtgate_api/core/pathSerializer.d.ts.map +1 -0
- package/dist/mtgate_api/core/pathSerializer.js +114 -0
- package/dist/mtgate_api/core/pathSerializer.js.map +1 -0
- package/dist/mtgate_api/core/types.d.ts +74 -0
- package/dist/mtgate_api/core/types.d.ts.map +1 -0
- package/dist/mtgate_api/core/types.js +2 -0
- package/dist/mtgate_api/core/types.js.map +1 -0
- package/dist/mtgate_api/index.d.ts +3 -0
- package/dist/mtgate_api/index.d.ts.map +1 -0
- package/dist/mtgate_api/index.js +4 -0
- package/dist/mtgate_api/index.js.map +1 -0
- package/dist/mtgate_api/schemas.gen.d.ts +1504 -0
- package/dist/mtgate_api/schemas.gen.d.ts.map +1 -0
- package/dist/mtgate_api/schemas.gen.js +1544 -0
- package/dist/mtgate_api/schemas.gen.js.map +1 -0
- package/dist/mtgate_api/sdk.gen.d.ts +184 -0
- package/dist/mtgate_api/sdk.gen.d.ts.map +1 -0
- package/dist/mtgate_api/sdk.gen.js +791 -0
- package/dist/mtgate_api/sdk.gen.js.map +1 -0
- package/dist/mtgate_api/types.gen.d.ts +3012 -0
- package/dist/mtgate_api/types.gen.d.ts.map +1 -0
- package/dist/mtgate_api/types.gen.js +9 -0
- package/dist/mtgate_api/types.gen.js.map +1 -0
- package/dist/mtgate_api/zod.gen.d.ts +3158 -0
- package/dist/mtgate_api/zod.gen.d.ts.map +1 -0
- package/dist/mtgate_api/zod.gen.js +2171 -0
- package/dist/mtgate_api/zod.gen.js.map +1 -0
- package/package.json +61 -0
|
@@ -0,0 +1,1504 @@
|
|
|
1
|
+
export declare const AgentSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly id: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly format: "uuid";
|
|
7
|
+
};
|
|
8
|
+
readonly createdAt: {
|
|
9
|
+
readonly type: "string";
|
|
10
|
+
readonly format: "date";
|
|
11
|
+
};
|
|
12
|
+
readonly updatedAt: {
|
|
13
|
+
readonly type: "string";
|
|
14
|
+
readonly format: "date";
|
|
15
|
+
};
|
|
16
|
+
readonly deletedAt: {
|
|
17
|
+
readonly type: "string";
|
|
18
|
+
readonly format: "date";
|
|
19
|
+
};
|
|
20
|
+
readonly tenantId: {
|
|
21
|
+
readonly type: "string";
|
|
22
|
+
readonly format: "uuid";
|
|
23
|
+
};
|
|
24
|
+
readonly name: {
|
|
25
|
+
readonly type: "string";
|
|
26
|
+
};
|
|
27
|
+
readonly description: {
|
|
28
|
+
readonly type: "string";
|
|
29
|
+
};
|
|
30
|
+
readonly status: {
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
};
|
|
33
|
+
readonly config: {
|
|
34
|
+
readonly type: "object";
|
|
35
|
+
readonly additionalProperties: {
|
|
36
|
+
readonly nullable: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly state: {
|
|
40
|
+
readonly type: "object";
|
|
41
|
+
readonly additionalProperties: {
|
|
42
|
+
readonly nullable: true;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
readonly required: readonly ["id", "createdAt", "updatedAt", "tenantId", "name", "status"];
|
|
47
|
+
};
|
|
48
|
+
export declare const AgentListResponseSchema: {
|
|
49
|
+
readonly type: "object";
|
|
50
|
+
readonly properties: {
|
|
51
|
+
readonly agents: {
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly $ref: "#/components/schemas/Agent";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
readonly total: {
|
|
58
|
+
readonly type: "number";
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
readonly required: readonly ["agents", "total"];
|
|
62
|
+
};
|
|
63
|
+
export declare const AgentGetResponseSchema: {
|
|
64
|
+
readonly type: "object";
|
|
65
|
+
readonly properties: {
|
|
66
|
+
readonly agent: {
|
|
67
|
+
readonly $ref: "#/components/schemas/Agent";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export declare const AgentCreateRequestSchema: {
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly properties: {
|
|
74
|
+
readonly name: {
|
|
75
|
+
readonly type: "string";
|
|
76
|
+
readonly minLength: 1;
|
|
77
|
+
readonly maxLength: 255;
|
|
78
|
+
};
|
|
79
|
+
readonly description: {
|
|
80
|
+
readonly type: "string";
|
|
81
|
+
};
|
|
82
|
+
readonly status: {
|
|
83
|
+
readonly type: "string";
|
|
84
|
+
readonly enum: readonly ["active", "inactive", "error"];
|
|
85
|
+
readonly default: "inactive";
|
|
86
|
+
};
|
|
87
|
+
readonly config: {
|
|
88
|
+
readonly type: "object";
|
|
89
|
+
readonly additionalProperties: {
|
|
90
|
+
readonly nullable: true;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
readonly state: {
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly additionalProperties: {
|
|
96
|
+
readonly nullable: true;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
readonly tenantId: {
|
|
100
|
+
readonly type: "string";
|
|
101
|
+
readonly format: "uuid";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
readonly required: readonly ["name", "tenantId"];
|
|
105
|
+
};
|
|
106
|
+
export declare const AgentChatbotUpdateBodyConfigSchema: {
|
|
107
|
+
readonly type: "object";
|
|
108
|
+
readonly properties: {
|
|
109
|
+
readonly name: {
|
|
110
|
+
readonly type: "string";
|
|
111
|
+
readonly minLength: 1;
|
|
112
|
+
readonly maxLength: 255;
|
|
113
|
+
};
|
|
114
|
+
readonly description: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
};
|
|
117
|
+
readonly status: {
|
|
118
|
+
readonly type: "string";
|
|
119
|
+
readonly enum: readonly ["active", "inactive", "error"];
|
|
120
|
+
};
|
|
121
|
+
readonly config: {
|
|
122
|
+
readonly type: "object";
|
|
123
|
+
readonly additionalProperties: {
|
|
124
|
+
readonly nullable: true;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
readonly state: {
|
|
128
|
+
readonly type: "object";
|
|
129
|
+
readonly additionalProperties: {
|
|
130
|
+
readonly nullable: true;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
export declare const AgentHandlerInfoSchema: {
|
|
136
|
+
readonly type: "object";
|
|
137
|
+
readonly properties: {
|
|
138
|
+
readonly agentName: {
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly description: "Agent name";
|
|
141
|
+
};
|
|
142
|
+
readonly agentId: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly description: "Agent ID";
|
|
145
|
+
};
|
|
146
|
+
readonly state: {
|
|
147
|
+
readonly nullable: true;
|
|
148
|
+
readonly description: "Agent state";
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
readonly required: readonly ["agentName", "agentId"];
|
|
152
|
+
};
|
|
153
|
+
export declare const ApiErrorSchema: {
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly properties: {
|
|
156
|
+
readonly code: {
|
|
157
|
+
readonly type: "integer";
|
|
158
|
+
};
|
|
159
|
+
readonly message: {
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
};
|
|
162
|
+
readonly stack: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
};
|
|
165
|
+
readonly cause: {
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
};
|
|
168
|
+
readonly field: {
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
};
|
|
171
|
+
readonly description: {
|
|
172
|
+
readonly type: "string";
|
|
173
|
+
};
|
|
174
|
+
readonly docs_link: {
|
|
175
|
+
readonly type: "string";
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
export declare const AgentHandlerGetInfoBodySchema: {
|
|
180
|
+
readonly type: "object";
|
|
181
|
+
readonly properties: {
|
|
182
|
+
readonly agentId: {
|
|
183
|
+
readonly type: "string";
|
|
184
|
+
readonly description: "Agent ID";
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
readonly required: readonly ["agentId"];
|
|
188
|
+
};
|
|
189
|
+
export declare const RegisterInputSchema: {
|
|
190
|
+
readonly type: "object";
|
|
191
|
+
readonly properties: {
|
|
192
|
+
readonly email: {
|
|
193
|
+
readonly type: "string";
|
|
194
|
+
readonly format: "email";
|
|
195
|
+
};
|
|
196
|
+
readonly password: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly minLength: 6;
|
|
199
|
+
};
|
|
200
|
+
readonly name: {
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly minLength: 1;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
readonly required: readonly ["email", "password", "name"];
|
|
206
|
+
};
|
|
207
|
+
export declare const UserSchema: {
|
|
208
|
+
readonly type: "object";
|
|
209
|
+
readonly properties: {
|
|
210
|
+
readonly id: {
|
|
211
|
+
readonly type: "string";
|
|
212
|
+
};
|
|
213
|
+
readonly email: {
|
|
214
|
+
readonly type: "string";
|
|
215
|
+
};
|
|
216
|
+
readonly name: {
|
|
217
|
+
readonly type: "string";
|
|
218
|
+
};
|
|
219
|
+
readonly role: {
|
|
220
|
+
readonly type: "string";
|
|
221
|
+
readonly default: "USER";
|
|
222
|
+
};
|
|
223
|
+
readonly avatarUrl: {
|
|
224
|
+
readonly type: "string";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly required: readonly ["id", "email"];
|
|
228
|
+
};
|
|
229
|
+
export declare const UserListResponseSchema: {
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly properties: {
|
|
232
|
+
readonly rows: {
|
|
233
|
+
readonly type: "array";
|
|
234
|
+
readonly items: {
|
|
235
|
+
readonly type: "object";
|
|
236
|
+
readonly properties: {
|
|
237
|
+
readonly id: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
};
|
|
240
|
+
readonly email: {
|
|
241
|
+
readonly type: "string";
|
|
242
|
+
};
|
|
243
|
+
readonly emailVerified: {
|
|
244
|
+
readonly type: "boolean";
|
|
245
|
+
};
|
|
246
|
+
readonly name: {
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
};
|
|
249
|
+
readonly role: {
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly enum: readonly ["ADMIN", "USER", "GUEST"];
|
|
252
|
+
};
|
|
253
|
+
readonly createdAt: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
};
|
|
256
|
+
readonly updatedAt: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
readonly required: readonly ["id", "email", "emailVerified", "role", "createdAt", "updatedAt"];
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
readonly total: {
|
|
264
|
+
readonly type: "number";
|
|
265
|
+
};
|
|
266
|
+
readonly limit: {
|
|
267
|
+
readonly type: "number";
|
|
268
|
+
};
|
|
269
|
+
readonly offset: {
|
|
270
|
+
readonly type: "number";
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
readonly required: readonly ["rows", "total", "limit", "offset"];
|
|
274
|
+
};
|
|
275
|
+
export declare const UserCreateRequestSchema: {
|
|
276
|
+
readonly type: "object";
|
|
277
|
+
readonly properties: {
|
|
278
|
+
readonly email: {
|
|
279
|
+
readonly type: "string";
|
|
280
|
+
readonly format: "email";
|
|
281
|
+
};
|
|
282
|
+
readonly password: {
|
|
283
|
+
readonly type: "string";
|
|
284
|
+
readonly minLength: 6;
|
|
285
|
+
};
|
|
286
|
+
readonly name: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
};
|
|
289
|
+
readonly role: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly enum: readonly ["ADMIN", "USER", "GUEST"];
|
|
292
|
+
readonly default: "USER";
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
readonly required: readonly ["email", "password"];
|
|
296
|
+
};
|
|
297
|
+
export declare const UserUpdateResponseSchema: {
|
|
298
|
+
readonly type: "object";
|
|
299
|
+
readonly properties: {
|
|
300
|
+
readonly id: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
};
|
|
303
|
+
readonly email: {
|
|
304
|
+
readonly type: "string";
|
|
305
|
+
};
|
|
306
|
+
readonly emailVerified: {
|
|
307
|
+
readonly type: "boolean";
|
|
308
|
+
};
|
|
309
|
+
readonly name: {
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
};
|
|
312
|
+
readonly role: {
|
|
313
|
+
readonly type: "string";
|
|
314
|
+
readonly enum: readonly ["ADMIN", "USER", "GUEST"];
|
|
315
|
+
};
|
|
316
|
+
readonly metadata: {
|
|
317
|
+
readonly type: "object";
|
|
318
|
+
readonly properties: {
|
|
319
|
+
readonly id: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
};
|
|
322
|
+
readonly createdAt: {
|
|
323
|
+
readonly type: "string";
|
|
324
|
+
};
|
|
325
|
+
readonly updatedAt: {
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
readonly required: readonly ["id", "createdAt", "updatedAt"];
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
readonly required: readonly ["id", "email", "emailVerified", "role", "metadata"];
|
|
333
|
+
};
|
|
334
|
+
export declare const SysConfigSchema: {
|
|
335
|
+
readonly type: "object";
|
|
336
|
+
readonly properties: {
|
|
337
|
+
readonly id: {
|
|
338
|
+
readonly type: "string";
|
|
339
|
+
readonly example: "123";
|
|
340
|
+
};
|
|
341
|
+
readonly name: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
readonly example: "John Doe";
|
|
344
|
+
};
|
|
345
|
+
readonly age: {
|
|
346
|
+
readonly type: "number";
|
|
347
|
+
readonly example: 42;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly required: readonly ["id", "name", "age"];
|
|
351
|
+
};
|
|
352
|
+
export declare const ApiCommonDeleteResponseSchema: {
|
|
353
|
+
readonly type: "object";
|
|
354
|
+
readonly properties: {
|
|
355
|
+
readonly id: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
};
|
|
358
|
+
readonly message: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
export declare const ProxyGetResponseSchema: {
|
|
364
|
+
readonly type: "object";
|
|
365
|
+
readonly properties: {
|
|
366
|
+
readonly id: {
|
|
367
|
+
readonly type: "string";
|
|
368
|
+
};
|
|
369
|
+
readonly name: {
|
|
370
|
+
readonly type: "string";
|
|
371
|
+
};
|
|
372
|
+
readonly description: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
};
|
|
375
|
+
readonly url: {
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
};
|
|
378
|
+
readonly type: {
|
|
379
|
+
readonly type: "string";
|
|
380
|
+
};
|
|
381
|
+
readonly provider: {
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
};
|
|
384
|
+
readonly country_code: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
};
|
|
387
|
+
readonly port: {
|
|
388
|
+
readonly type: "number";
|
|
389
|
+
};
|
|
390
|
+
readonly enabled: {
|
|
391
|
+
readonly type: "boolean";
|
|
392
|
+
};
|
|
393
|
+
readonly created_at: {
|
|
394
|
+
readonly type: "string";
|
|
395
|
+
readonly format: "date";
|
|
396
|
+
};
|
|
397
|
+
readonly updated_at: {
|
|
398
|
+
readonly type: "string";
|
|
399
|
+
readonly format: "date";
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
readonly required: readonly ["id", "name", "url", "enabled", "created_at"];
|
|
403
|
+
};
|
|
404
|
+
export declare const ProxyListResponseSchema: {
|
|
405
|
+
readonly type: "object";
|
|
406
|
+
readonly properties: {
|
|
407
|
+
readonly proxies: {
|
|
408
|
+
readonly type: "array";
|
|
409
|
+
readonly items: {
|
|
410
|
+
readonly $ref: "#/components/schemas/ProxyGetResponse";
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
readonly pagination: {
|
|
414
|
+
readonly type: "object";
|
|
415
|
+
readonly properties: {
|
|
416
|
+
readonly page: {
|
|
417
|
+
readonly type: "number";
|
|
418
|
+
};
|
|
419
|
+
readonly limit: {
|
|
420
|
+
readonly type: "number";
|
|
421
|
+
};
|
|
422
|
+
readonly total_count: {
|
|
423
|
+
readonly type: "number";
|
|
424
|
+
};
|
|
425
|
+
readonly total_pages: {
|
|
426
|
+
readonly type: "number";
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
readonly required: readonly ["page", "limit", "total_count", "total_pages"];
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
readonly required: readonly ["proxies", "pagination"];
|
|
433
|
+
};
|
|
434
|
+
export declare const ProxyUpsertRequestSchema: {
|
|
435
|
+
readonly type: "object";
|
|
436
|
+
readonly properties: {
|
|
437
|
+
readonly id: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
};
|
|
440
|
+
readonly name: {
|
|
441
|
+
readonly type: "string";
|
|
442
|
+
readonly minLength: 1;
|
|
443
|
+
};
|
|
444
|
+
readonly description: {
|
|
445
|
+
readonly type: "string";
|
|
446
|
+
};
|
|
447
|
+
readonly url: {
|
|
448
|
+
readonly type: "string";
|
|
449
|
+
readonly minLength: 1;
|
|
450
|
+
readonly format: "uri";
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
readonly required: readonly ["url"];
|
|
454
|
+
};
|
|
455
|
+
export declare const SandboxSchema: {
|
|
456
|
+
readonly type: "object";
|
|
457
|
+
readonly properties: {
|
|
458
|
+
readonly id: {
|
|
459
|
+
readonly type: "string";
|
|
460
|
+
readonly format: "uuid";
|
|
461
|
+
};
|
|
462
|
+
readonly createdAt: {
|
|
463
|
+
readonly type: "string";
|
|
464
|
+
};
|
|
465
|
+
readonly updatedAt: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
};
|
|
468
|
+
readonly deletedAt: {
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
};
|
|
471
|
+
readonly tenantId: {
|
|
472
|
+
readonly type: "string";
|
|
473
|
+
readonly format: "uuid";
|
|
474
|
+
};
|
|
475
|
+
readonly name: {
|
|
476
|
+
readonly type: "string";
|
|
477
|
+
};
|
|
478
|
+
readonly description: {
|
|
479
|
+
readonly type: "string";
|
|
480
|
+
};
|
|
481
|
+
readonly deployType: {
|
|
482
|
+
readonly type: "string";
|
|
483
|
+
};
|
|
484
|
+
readonly serverUrl: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
};
|
|
487
|
+
readonly status: {
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
};
|
|
490
|
+
readonly state: {
|
|
491
|
+
readonly type: "object";
|
|
492
|
+
readonly additionalProperties: {
|
|
493
|
+
readonly nullable: true;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
readonly config: {
|
|
497
|
+
readonly type: "object";
|
|
498
|
+
readonly additionalProperties: {
|
|
499
|
+
readonly nullable: true;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
readonly required: readonly ["id", "createdAt", "updatedAt", "tenantId", "name", "description", "deployType", "serverUrl", "status", "state", "config"];
|
|
504
|
+
};
|
|
505
|
+
export declare const SandboxListSchema: {
|
|
506
|
+
readonly type: "object";
|
|
507
|
+
readonly properties: {
|
|
508
|
+
readonly services: {
|
|
509
|
+
readonly type: "array";
|
|
510
|
+
readonly items: {
|
|
511
|
+
readonly $ref: "#/components/schemas/Sandbox";
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
readonly total: {
|
|
515
|
+
readonly type: "number";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly required: readonly ["services", "total"];
|
|
519
|
+
};
|
|
520
|
+
export declare const SandboxGetSchema: {
|
|
521
|
+
readonly type: "object";
|
|
522
|
+
readonly properties: {
|
|
523
|
+
readonly service: {
|
|
524
|
+
readonly $ref: "#/components/schemas/Sandbox";
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
export declare const SandboxStartSchema: {
|
|
529
|
+
readonly type: "object";
|
|
530
|
+
readonly properties: {
|
|
531
|
+
readonly message: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
};
|
|
534
|
+
readonly serviceId: {
|
|
535
|
+
readonly type: "string";
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly required: readonly ["message", "serviceId"];
|
|
539
|
+
};
|
|
540
|
+
export declare const Api401ResponseSchema: {
|
|
541
|
+
readonly type: "object";
|
|
542
|
+
readonly properties: {
|
|
543
|
+
readonly message: {
|
|
544
|
+
readonly type: "string";
|
|
545
|
+
readonly default: "unauthorized";
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
export declare const Api403ResponseSchema: {
|
|
550
|
+
readonly type: "object";
|
|
551
|
+
readonly properties: {
|
|
552
|
+
readonly message: {
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
readonly default: "forbidden";
|
|
555
|
+
};
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
export declare const ChatbotSchema: {
|
|
559
|
+
readonly type: "object";
|
|
560
|
+
readonly properties: {
|
|
561
|
+
readonly id: {
|
|
562
|
+
readonly type: "string";
|
|
563
|
+
};
|
|
564
|
+
readonly title: {
|
|
565
|
+
readonly type: "string";
|
|
566
|
+
};
|
|
567
|
+
readonly description: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
readonly nullable: true;
|
|
570
|
+
};
|
|
571
|
+
readonly config: {
|
|
572
|
+
readonly nullable: true;
|
|
573
|
+
};
|
|
574
|
+
readonly state: {
|
|
575
|
+
readonly nullable: true;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
readonly required: readonly ["id", "title", "description"];
|
|
579
|
+
};
|
|
580
|
+
export declare const ChatbotListResponseSchema: {
|
|
581
|
+
readonly type: "object";
|
|
582
|
+
readonly properties: {
|
|
583
|
+
readonly rows: {
|
|
584
|
+
readonly type: "array";
|
|
585
|
+
readonly items: {
|
|
586
|
+
readonly $ref: "#/components/schemas/Chatbot";
|
|
587
|
+
};
|
|
588
|
+
};
|
|
589
|
+
readonly total: {
|
|
590
|
+
readonly type: "number";
|
|
591
|
+
};
|
|
592
|
+
};
|
|
593
|
+
readonly required: readonly ["rows", "total"];
|
|
594
|
+
};
|
|
595
|
+
export declare const NavItemSchema: {
|
|
596
|
+
readonly type: "object";
|
|
597
|
+
readonly properties: {
|
|
598
|
+
readonly title: {
|
|
599
|
+
readonly type: "string";
|
|
600
|
+
readonly description: "菜单标题";
|
|
601
|
+
};
|
|
602
|
+
readonly url: {
|
|
603
|
+
readonly type: "string";
|
|
604
|
+
readonly description: "菜单链接";
|
|
605
|
+
};
|
|
606
|
+
readonly icon: {
|
|
607
|
+
readonly type: "string";
|
|
608
|
+
readonly description: "图标名称";
|
|
609
|
+
};
|
|
610
|
+
readonly badge: {
|
|
611
|
+
readonly type: "string";
|
|
612
|
+
readonly description: "徽章文本";
|
|
613
|
+
};
|
|
614
|
+
readonly debugOnly: {
|
|
615
|
+
readonly type: "boolean";
|
|
616
|
+
readonly description: "是否仅在调试模式下显示";
|
|
617
|
+
};
|
|
618
|
+
readonly children: {
|
|
619
|
+
readonly type: "array";
|
|
620
|
+
readonly items: {
|
|
621
|
+
readonly $ref: "#/components/schemas/NavItem";
|
|
622
|
+
};
|
|
623
|
+
readonly description: "子菜单项";
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly required: readonly ["title"];
|
|
627
|
+
readonly description: "导航菜单项";
|
|
628
|
+
};
|
|
629
|
+
export declare const SingboxConfigSchema: {
|
|
630
|
+
readonly type: "object";
|
|
631
|
+
readonly properties: {
|
|
632
|
+
readonly configUrl: {
|
|
633
|
+
readonly type: "string";
|
|
634
|
+
};
|
|
635
|
+
readonly containerOnly: {
|
|
636
|
+
readonly type: "boolean";
|
|
637
|
+
readonly default: false;
|
|
638
|
+
};
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
export declare const TunnelConfigSchema: {
|
|
642
|
+
readonly type: "object";
|
|
643
|
+
readonly properties: {
|
|
644
|
+
readonly cloudflareToken: {
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
readonly minLength: 1;
|
|
647
|
+
};
|
|
648
|
+
readonly tunnelName: {
|
|
649
|
+
readonly type: "string";
|
|
650
|
+
};
|
|
651
|
+
readonly localPort: {
|
|
652
|
+
readonly type: "integer";
|
|
653
|
+
readonly minimum: 1;
|
|
654
|
+
readonly maximum: 65535;
|
|
655
|
+
};
|
|
656
|
+
readonly singbox: {
|
|
657
|
+
readonly $ref: "#/components/schemas/SingboxConfig";
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
readonly required: readonly ["cloudflareToken", "localPort", "singbox"];
|
|
661
|
+
};
|
|
662
|
+
export declare const OnionConfigSchema: {
|
|
663
|
+
readonly type: "object";
|
|
664
|
+
readonly properties: {
|
|
665
|
+
readonly privateKey: {
|
|
666
|
+
readonly type: "string";
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
export declare const VncServiceSchema: {
|
|
671
|
+
readonly type: "object";
|
|
672
|
+
readonly properties: {
|
|
673
|
+
readonly enabled: {
|
|
674
|
+
readonly type: "boolean";
|
|
675
|
+
readonly default: false;
|
|
676
|
+
};
|
|
677
|
+
readonly port: {
|
|
678
|
+
readonly type: "number";
|
|
679
|
+
readonly default: 8444;
|
|
680
|
+
};
|
|
681
|
+
readonly display: {
|
|
682
|
+
readonly type: "string";
|
|
683
|
+
readonly default: ":1";
|
|
684
|
+
};
|
|
685
|
+
readonly password: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
};
|
|
688
|
+
readonly resolution: {
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
};
|
|
691
|
+
readonly colorDepth: {
|
|
692
|
+
readonly type: "number";
|
|
693
|
+
};
|
|
694
|
+
readonly onionConfig: {
|
|
695
|
+
readonly $ref: "#/components/schemas/OnionConfig";
|
|
696
|
+
};
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
export declare const HelloOnionWebServiceSchema: {
|
|
700
|
+
readonly type: "object";
|
|
701
|
+
readonly properties: {
|
|
702
|
+
readonly enabled: {
|
|
703
|
+
readonly type: "boolean";
|
|
704
|
+
readonly default: false;
|
|
705
|
+
};
|
|
706
|
+
readonly port: {
|
|
707
|
+
readonly type: "number";
|
|
708
|
+
readonly default: 8053;
|
|
709
|
+
};
|
|
710
|
+
readonly onionConfig: {
|
|
711
|
+
readonly $ref: "#/components/schemas/OnionConfig";
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
export declare const MainApiServiceSchema: {
|
|
716
|
+
readonly type: "object";
|
|
717
|
+
readonly properties: {
|
|
718
|
+
readonly enabled: {
|
|
719
|
+
readonly type: "boolean";
|
|
720
|
+
readonly default: false;
|
|
721
|
+
};
|
|
722
|
+
readonly port: {
|
|
723
|
+
readonly type: "number";
|
|
724
|
+
readonly default: 8000;
|
|
725
|
+
};
|
|
726
|
+
readonly onionConfig: {
|
|
727
|
+
readonly $ref: "#/components/schemas/OnionConfig";
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
export declare const GomtmConfigSchema: {
|
|
732
|
+
readonly type: "object";
|
|
733
|
+
readonly properties: {
|
|
734
|
+
readonly tunnel: {
|
|
735
|
+
readonly $ref: "#/components/schemas/TunnelConfig";
|
|
736
|
+
};
|
|
737
|
+
readonly vnc: {
|
|
738
|
+
readonly $ref: "#/components/schemas/VncService";
|
|
739
|
+
};
|
|
740
|
+
readonly helloOnionWeb: {
|
|
741
|
+
readonly $ref: "#/components/schemas/HelloOnionWebService";
|
|
742
|
+
};
|
|
743
|
+
readonly mainApi: {
|
|
744
|
+
readonly $ref: "#/components/schemas/MainApiService";
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
export declare const SiteCreateRequestSchema: {
|
|
749
|
+
readonly type: "object";
|
|
750
|
+
readonly properties: {
|
|
751
|
+
readonly title: {
|
|
752
|
+
readonly type: "string";
|
|
753
|
+
readonly minLength: 1;
|
|
754
|
+
};
|
|
755
|
+
readonly description: {
|
|
756
|
+
readonly type: "string";
|
|
757
|
+
};
|
|
758
|
+
readonly enabled: {
|
|
759
|
+
readonly type: "boolean";
|
|
760
|
+
readonly default: true;
|
|
761
|
+
};
|
|
762
|
+
readonly automationEnabled: {
|
|
763
|
+
readonly type: "boolean";
|
|
764
|
+
readonly default: false;
|
|
765
|
+
};
|
|
766
|
+
readonly state: {
|
|
767
|
+
readonly type: "object";
|
|
768
|
+
readonly additionalProperties: {
|
|
769
|
+
readonly nullable: true;
|
|
770
|
+
};
|
|
771
|
+
readonly default: {};
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
readonly required: readonly ["title"];
|
|
775
|
+
};
|
|
776
|
+
export declare const SiteUpdateRequestSchema: {
|
|
777
|
+
readonly type: "object";
|
|
778
|
+
readonly properties: {
|
|
779
|
+
readonly title: {
|
|
780
|
+
readonly type: "string";
|
|
781
|
+
readonly minLength: 1;
|
|
782
|
+
};
|
|
783
|
+
readonly description: {
|
|
784
|
+
readonly type: "string";
|
|
785
|
+
};
|
|
786
|
+
readonly enabled: {
|
|
787
|
+
readonly type: "boolean";
|
|
788
|
+
};
|
|
789
|
+
readonly automationEnabled: {
|
|
790
|
+
readonly type: "boolean";
|
|
791
|
+
};
|
|
792
|
+
readonly state: {
|
|
793
|
+
readonly type: "object";
|
|
794
|
+
readonly additionalProperties: {
|
|
795
|
+
readonly nullable: true;
|
|
796
|
+
};
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
};
|
|
800
|
+
export declare const BlogPostCreateRequestSchema: {
|
|
801
|
+
readonly type: "object";
|
|
802
|
+
readonly properties: {
|
|
803
|
+
readonly title: {
|
|
804
|
+
readonly type: "string";
|
|
805
|
+
readonly minLength: 1;
|
|
806
|
+
};
|
|
807
|
+
readonly content: {
|
|
808
|
+
readonly type: "string";
|
|
809
|
+
readonly minLength: 1;
|
|
810
|
+
};
|
|
811
|
+
readonly description: {
|
|
812
|
+
readonly type: "string";
|
|
813
|
+
};
|
|
814
|
+
readonly slug: {
|
|
815
|
+
readonly type: "string";
|
|
816
|
+
};
|
|
817
|
+
readonly status: {
|
|
818
|
+
readonly type: "string";
|
|
819
|
+
readonly default: "DRAFT";
|
|
820
|
+
};
|
|
821
|
+
readonly state: {
|
|
822
|
+
readonly type: "string";
|
|
823
|
+
readonly default: "QUEUE";
|
|
824
|
+
};
|
|
825
|
+
readonly publishDate: {
|
|
826
|
+
readonly type: "string";
|
|
827
|
+
};
|
|
828
|
+
readonly siteId: {
|
|
829
|
+
readonly type: "string";
|
|
830
|
+
readonly minLength: 1;
|
|
831
|
+
};
|
|
832
|
+
readonly image: {
|
|
833
|
+
readonly type: "string";
|
|
834
|
+
};
|
|
835
|
+
readonly settings: {
|
|
836
|
+
readonly type: "string";
|
|
837
|
+
};
|
|
838
|
+
};
|
|
839
|
+
readonly required: readonly ["content", "siteId"];
|
|
840
|
+
};
|
|
841
|
+
export declare const BlogPostUpdateRequestSchema: {
|
|
842
|
+
readonly type: "object";
|
|
843
|
+
readonly properties: {
|
|
844
|
+
readonly title: {
|
|
845
|
+
readonly type: "string";
|
|
846
|
+
readonly minLength: 1;
|
|
847
|
+
};
|
|
848
|
+
readonly content: {
|
|
849
|
+
readonly type: "string";
|
|
850
|
+
};
|
|
851
|
+
readonly description: {
|
|
852
|
+
readonly type: "string";
|
|
853
|
+
};
|
|
854
|
+
readonly slug: {
|
|
855
|
+
readonly type: "string";
|
|
856
|
+
};
|
|
857
|
+
readonly status: {
|
|
858
|
+
readonly type: "string";
|
|
859
|
+
};
|
|
860
|
+
readonly state: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
};
|
|
863
|
+
readonly publishDate: {
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
};
|
|
866
|
+
readonly image: {
|
|
867
|
+
readonly type: "string";
|
|
868
|
+
};
|
|
869
|
+
readonly settings: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
};
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
export declare const SiteHostCreateRequestSchema: {
|
|
875
|
+
readonly type: "object";
|
|
876
|
+
readonly properties: {
|
|
877
|
+
readonly host: {
|
|
878
|
+
readonly type: "string";
|
|
879
|
+
readonly minLength: 1;
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
readonly required: readonly ["host"];
|
|
883
|
+
};
|
|
884
|
+
export declare const AdkSessionStateSchema: {
|
|
885
|
+
readonly type: "object";
|
|
886
|
+
readonly additionalProperties: {
|
|
887
|
+
readonly nullable: true;
|
|
888
|
+
};
|
|
889
|
+
readonly default: {};
|
|
890
|
+
};
|
|
891
|
+
export declare const AdkSessionSchema: {
|
|
892
|
+
readonly type: "object";
|
|
893
|
+
readonly properties: {
|
|
894
|
+
readonly id: {
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
};
|
|
897
|
+
readonly app_name: {
|
|
898
|
+
readonly type: "string";
|
|
899
|
+
};
|
|
900
|
+
readonly user_id: {
|
|
901
|
+
readonly type: "string";
|
|
902
|
+
};
|
|
903
|
+
readonly state: {
|
|
904
|
+
readonly $ref: "#/components/schemas/AdkSessionState";
|
|
905
|
+
};
|
|
906
|
+
readonly events: {
|
|
907
|
+
readonly type: "array";
|
|
908
|
+
readonly items: {
|
|
909
|
+
readonly nullable: true;
|
|
910
|
+
};
|
|
911
|
+
readonly default: readonly [];
|
|
912
|
+
};
|
|
913
|
+
readonly last_update_time: {
|
|
914
|
+
readonly type: "number";
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
readonly required: readonly ["id", "app_name", "user_id"];
|
|
918
|
+
};
|
|
919
|
+
export declare const AdkSessionCreateReqSchema: {
|
|
920
|
+
readonly type: "object";
|
|
921
|
+
readonly properties: {
|
|
922
|
+
readonly app_name: {
|
|
923
|
+
readonly type: "string";
|
|
924
|
+
};
|
|
925
|
+
readonly user_id: {
|
|
926
|
+
readonly type: "string";
|
|
927
|
+
};
|
|
928
|
+
readonly state: {
|
|
929
|
+
readonly $ref: "#/components/schemas/AdkSessionState";
|
|
930
|
+
};
|
|
931
|
+
readonly session_id: {
|
|
932
|
+
readonly type: "string";
|
|
933
|
+
};
|
|
934
|
+
};
|
|
935
|
+
readonly required: readonly ["app_name", "user_id"];
|
|
936
|
+
};
|
|
937
|
+
export declare const AdkSessionGetSchema: {
|
|
938
|
+
readonly type: "object";
|
|
939
|
+
readonly properties: {
|
|
940
|
+
readonly id: {
|
|
941
|
+
readonly type: "string";
|
|
942
|
+
};
|
|
943
|
+
readonly app_name: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
};
|
|
946
|
+
readonly user_id: {
|
|
947
|
+
readonly type: "string";
|
|
948
|
+
};
|
|
949
|
+
readonly state: {
|
|
950
|
+
readonly $ref: "#/components/schemas/AdkSessionState";
|
|
951
|
+
};
|
|
952
|
+
readonly events: {
|
|
953
|
+
readonly type: "array";
|
|
954
|
+
readonly items: {
|
|
955
|
+
readonly nullable: true;
|
|
956
|
+
};
|
|
957
|
+
readonly default: readonly [];
|
|
958
|
+
};
|
|
959
|
+
readonly last_update_time: {
|
|
960
|
+
readonly type: "number";
|
|
961
|
+
};
|
|
962
|
+
};
|
|
963
|
+
readonly required: readonly ["id", "app_name", "user_id"];
|
|
964
|
+
};
|
|
965
|
+
export declare const AdkSessionGetReqSchema: {
|
|
966
|
+
readonly type: "object";
|
|
967
|
+
readonly properties: {
|
|
968
|
+
readonly app_name: {
|
|
969
|
+
readonly type: "string";
|
|
970
|
+
};
|
|
971
|
+
readonly user_id: {
|
|
972
|
+
readonly type: "string";
|
|
973
|
+
};
|
|
974
|
+
readonly session_id: {
|
|
975
|
+
readonly type: "string";
|
|
976
|
+
};
|
|
977
|
+
readonly num_recent_events: {
|
|
978
|
+
readonly type: "string";
|
|
979
|
+
};
|
|
980
|
+
readonly after_timestamp: {
|
|
981
|
+
readonly type: "string";
|
|
982
|
+
};
|
|
983
|
+
};
|
|
984
|
+
readonly required: readonly ["app_name", "user_id", "session_id"];
|
|
985
|
+
};
|
|
986
|
+
export declare const AdkSessionListSchema: {
|
|
987
|
+
readonly type: "object";
|
|
988
|
+
readonly properties: {
|
|
989
|
+
readonly sessions: {
|
|
990
|
+
readonly type: "array";
|
|
991
|
+
readonly items: {
|
|
992
|
+
readonly $ref: "#/components/schemas/AdkSession";
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
readonly required: readonly ["sessions"];
|
|
997
|
+
};
|
|
998
|
+
export declare const AdkSessionDeleteSchema: {
|
|
999
|
+
readonly type: "object";
|
|
1000
|
+
readonly properties: {
|
|
1001
|
+
readonly success: {
|
|
1002
|
+
readonly type: "boolean";
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
readonly required: readonly ["success"];
|
|
1006
|
+
};
|
|
1007
|
+
export declare const AdkSessionDeleteReqSchema: {
|
|
1008
|
+
readonly type: "object";
|
|
1009
|
+
readonly properties: {
|
|
1010
|
+
readonly app_name: {
|
|
1011
|
+
readonly type: "string";
|
|
1012
|
+
};
|
|
1013
|
+
readonly user_id: {
|
|
1014
|
+
readonly type: "string";
|
|
1015
|
+
};
|
|
1016
|
+
readonly session_id: {
|
|
1017
|
+
readonly type: "string";
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
readonly required: readonly ["app_name", "user_id", "session_id"];
|
|
1021
|
+
};
|
|
1022
|
+
export declare const AdkSessionAppendEventResultSchema: {
|
|
1023
|
+
readonly type: "object";
|
|
1024
|
+
readonly properties: {
|
|
1025
|
+
readonly timestamp: {
|
|
1026
|
+
readonly type: "number";
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
readonly required: readonly ["timestamp"];
|
|
1030
|
+
};
|
|
1031
|
+
export declare const AdkEventSchema: {
|
|
1032
|
+
readonly type: "object";
|
|
1033
|
+
readonly properties: {
|
|
1034
|
+
readonly invocation_id: {
|
|
1035
|
+
readonly type: "string";
|
|
1036
|
+
};
|
|
1037
|
+
readonly author: {
|
|
1038
|
+
readonly type: "string";
|
|
1039
|
+
};
|
|
1040
|
+
readonly actions: {
|
|
1041
|
+
readonly nullable: true;
|
|
1042
|
+
};
|
|
1043
|
+
readonly long_running_tool_ids: {
|
|
1044
|
+
readonly type: "array";
|
|
1045
|
+
readonly items: {
|
|
1046
|
+
readonly type: "string";
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
readonly branch: {
|
|
1050
|
+
readonly type: "string";
|
|
1051
|
+
};
|
|
1052
|
+
readonly id: {
|
|
1053
|
+
readonly type: "string";
|
|
1054
|
+
};
|
|
1055
|
+
readonly timestamp: {
|
|
1056
|
+
readonly type: "number";
|
|
1057
|
+
};
|
|
1058
|
+
readonly content: {
|
|
1059
|
+
readonly nullable: true;
|
|
1060
|
+
};
|
|
1061
|
+
readonly partial: {
|
|
1062
|
+
readonly type: "boolean";
|
|
1063
|
+
};
|
|
1064
|
+
readonly turn_complete: {
|
|
1065
|
+
readonly type: "boolean";
|
|
1066
|
+
};
|
|
1067
|
+
readonly error_code: {
|
|
1068
|
+
readonly type: "string";
|
|
1069
|
+
};
|
|
1070
|
+
readonly error_message: {
|
|
1071
|
+
readonly type: "string";
|
|
1072
|
+
};
|
|
1073
|
+
readonly interrupted: {
|
|
1074
|
+
readonly type: "boolean";
|
|
1075
|
+
};
|
|
1076
|
+
readonly grounding_metadata: {
|
|
1077
|
+
readonly nullable: true;
|
|
1078
|
+
};
|
|
1079
|
+
readonly custom_metadata: {
|
|
1080
|
+
readonly nullable: true;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
readonly required: readonly ["invocation_id", "author", "id", "timestamp"];
|
|
1084
|
+
};
|
|
1085
|
+
export declare const AdkSessionAppendEventBodySchema: {
|
|
1086
|
+
readonly type: "object";
|
|
1087
|
+
readonly properties: {
|
|
1088
|
+
readonly session: {
|
|
1089
|
+
readonly $ref: "#/components/schemas/AdkSession";
|
|
1090
|
+
};
|
|
1091
|
+
readonly event: {
|
|
1092
|
+
readonly $ref: "#/components/schemas/AdkEvent";
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
readonly required: readonly ["session", "event"];
|
|
1096
|
+
};
|
|
1097
|
+
export declare const AdkArtifactSaveSchema: {
|
|
1098
|
+
readonly type: "object";
|
|
1099
|
+
readonly properties: {
|
|
1100
|
+
readonly version: {
|
|
1101
|
+
readonly type: "integer";
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
readonly required: readonly ["version"];
|
|
1105
|
+
};
|
|
1106
|
+
export declare const AdkArtifactSaveRequestSchema: {
|
|
1107
|
+
readonly type: "object";
|
|
1108
|
+
readonly properties: {
|
|
1109
|
+
readonly app_name: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
};
|
|
1112
|
+
readonly user_id: {
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
};
|
|
1115
|
+
readonly session_id: {
|
|
1116
|
+
readonly type: "string";
|
|
1117
|
+
};
|
|
1118
|
+
readonly filename: {
|
|
1119
|
+
readonly type: "string";
|
|
1120
|
+
};
|
|
1121
|
+
readonly content_type: {
|
|
1122
|
+
readonly type: "string";
|
|
1123
|
+
};
|
|
1124
|
+
readonly content_data: {
|
|
1125
|
+
readonly nullable: true;
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
1129
|
+
};
|
|
1130
|
+
export declare const AdkArtifactResponseSchema: {
|
|
1131
|
+
readonly type: "object";
|
|
1132
|
+
readonly properties: {
|
|
1133
|
+
readonly app_name: {
|
|
1134
|
+
readonly type: "string";
|
|
1135
|
+
};
|
|
1136
|
+
readonly user_id: {
|
|
1137
|
+
readonly type: "string";
|
|
1138
|
+
};
|
|
1139
|
+
readonly session_id: {
|
|
1140
|
+
readonly type: "string";
|
|
1141
|
+
};
|
|
1142
|
+
readonly filename: {
|
|
1143
|
+
readonly type: "string";
|
|
1144
|
+
};
|
|
1145
|
+
readonly version: {
|
|
1146
|
+
readonly type: "integer";
|
|
1147
|
+
};
|
|
1148
|
+
readonly content_type: {
|
|
1149
|
+
readonly type: "string";
|
|
1150
|
+
};
|
|
1151
|
+
readonly content_data: {
|
|
1152
|
+
readonly nullable: true;
|
|
1153
|
+
};
|
|
1154
|
+
readonly created_at: {
|
|
1155
|
+
readonly type: "string";
|
|
1156
|
+
};
|
|
1157
|
+
readonly updated_at: {
|
|
1158
|
+
readonly type: "string";
|
|
1159
|
+
};
|
|
1160
|
+
};
|
|
1161
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "version", "created_at", "updated_at"];
|
|
1162
|
+
};
|
|
1163
|
+
export declare const AdkArtifactLoadRequestSchema: {
|
|
1164
|
+
readonly type: "object";
|
|
1165
|
+
readonly properties: {
|
|
1166
|
+
readonly app_name: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
};
|
|
1169
|
+
readonly user_id: {
|
|
1170
|
+
readonly type: "string";
|
|
1171
|
+
};
|
|
1172
|
+
readonly session_id: {
|
|
1173
|
+
readonly type: "string";
|
|
1174
|
+
};
|
|
1175
|
+
readonly filename: {
|
|
1176
|
+
readonly type: "string";
|
|
1177
|
+
};
|
|
1178
|
+
readonly version: {
|
|
1179
|
+
readonly type: "integer";
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
1183
|
+
};
|
|
1184
|
+
export declare const AdkArtifactSummarySchema: {
|
|
1185
|
+
readonly type: "object";
|
|
1186
|
+
readonly properties: {
|
|
1187
|
+
readonly app_name: {
|
|
1188
|
+
readonly type: "string";
|
|
1189
|
+
};
|
|
1190
|
+
readonly user_id: {
|
|
1191
|
+
readonly type: "string";
|
|
1192
|
+
};
|
|
1193
|
+
readonly session_id: {
|
|
1194
|
+
readonly type: "string";
|
|
1195
|
+
};
|
|
1196
|
+
readonly filename: {
|
|
1197
|
+
readonly type: "string";
|
|
1198
|
+
};
|
|
1199
|
+
readonly version: {
|
|
1200
|
+
readonly type: "integer";
|
|
1201
|
+
};
|
|
1202
|
+
readonly content_type: {
|
|
1203
|
+
readonly type: "string";
|
|
1204
|
+
};
|
|
1205
|
+
readonly size: {
|
|
1206
|
+
readonly type: "integer";
|
|
1207
|
+
};
|
|
1208
|
+
readonly created_at: {
|
|
1209
|
+
readonly type: "string";
|
|
1210
|
+
};
|
|
1211
|
+
readonly updated_at: {
|
|
1212
|
+
readonly type: "string";
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename", "version", "created_at", "updated_at"];
|
|
1216
|
+
};
|
|
1217
|
+
export declare const AdkArtifactListSchema: {
|
|
1218
|
+
readonly type: "object";
|
|
1219
|
+
readonly properties: {
|
|
1220
|
+
readonly artifacts: {
|
|
1221
|
+
readonly type: "array";
|
|
1222
|
+
readonly items: {
|
|
1223
|
+
readonly $ref: "#/components/schemas/AdkArtifactSummary";
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
readonly total: {
|
|
1227
|
+
readonly type: "integer";
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
readonly required: readonly ["artifacts", "total"];
|
|
1231
|
+
};
|
|
1232
|
+
export declare const AdkArtifactListKeysSchema: {
|
|
1233
|
+
readonly type: "object";
|
|
1234
|
+
readonly properties: {
|
|
1235
|
+
readonly filenames: {
|
|
1236
|
+
readonly type: "array";
|
|
1237
|
+
readonly items: {
|
|
1238
|
+
readonly type: "string";
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
readonly required: readonly ["filenames"];
|
|
1243
|
+
};
|
|
1244
|
+
export declare const AdkArtifactDeleteRequestSchema: {
|
|
1245
|
+
readonly type: "object";
|
|
1246
|
+
readonly properties: {
|
|
1247
|
+
readonly app_name: {
|
|
1248
|
+
readonly type: "string";
|
|
1249
|
+
};
|
|
1250
|
+
readonly user_id: {
|
|
1251
|
+
readonly type: "string";
|
|
1252
|
+
};
|
|
1253
|
+
readonly session_id: {
|
|
1254
|
+
readonly type: "string";
|
|
1255
|
+
};
|
|
1256
|
+
readonly filename: {
|
|
1257
|
+
readonly type: "string";
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
readonly required: readonly ["app_name", "user_id", "session_id", "filename"];
|
|
1261
|
+
};
|
|
1262
|
+
export declare const AdkArtifactListVersionsSchema: {
|
|
1263
|
+
readonly type: "object";
|
|
1264
|
+
readonly properties: {
|
|
1265
|
+
readonly versions: {
|
|
1266
|
+
readonly type: "array";
|
|
1267
|
+
readonly items: {
|
|
1268
|
+
readonly type: "integer";
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
readonly required: readonly ["versions"];
|
|
1273
|
+
};
|
|
1274
|
+
export declare const AdkTaskSaveSchema: {
|
|
1275
|
+
readonly type: "object";
|
|
1276
|
+
readonly properties: {
|
|
1277
|
+
readonly success: {
|
|
1278
|
+
readonly type: "boolean";
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
readonly required: readonly ["success"];
|
|
1282
|
+
};
|
|
1283
|
+
export declare const MessageSchema: {
|
|
1284
|
+
readonly type: "object";
|
|
1285
|
+
readonly properties: {
|
|
1286
|
+
readonly kind: {
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
readonly enum: readonly ["message"];
|
|
1289
|
+
};
|
|
1290
|
+
readonly messageId: {
|
|
1291
|
+
readonly type: "string";
|
|
1292
|
+
};
|
|
1293
|
+
readonly role: {
|
|
1294
|
+
readonly type: "string";
|
|
1295
|
+
readonly enum: readonly ["agent", "user"];
|
|
1296
|
+
};
|
|
1297
|
+
readonly parts: {
|
|
1298
|
+
readonly type: "array";
|
|
1299
|
+
readonly items: {
|
|
1300
|
+
readonly nullable: true;
|
|
1301
|
+
};
|
|
1302
|
+
};
|
|
1303
|
+
readonly contextId: {
|
|
1304
|
+
readonly type: "string";
|
|
1305
|
+
};
|
|
1306
|
+
readonly taskId: {
|
|
1307
|
+
readonly type: "string";
|
|
1308
|
+
};
|
|
1309
|
+
readonly extensions: {
|
|
1310
|
+
readonly type: "array";
|
|
1311
|
+
readonly items: {
|
|
1312
|
+
readonly type: "string";
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
readonly referenceTaskIds: {
|
|
1316
|
+
readonly type: "array";
|
|
1317
|
+
readonly items: {
|
|
1318
|
+
readonly type: "string";
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
readonly metadata: {
|
|
1322
|
+
readonly type: "object";
|
|
1323
|
+
readonly additionalProperties: {
|
|
1324
|
+
readonly nullable: true;
|
|
1325
|
+
};
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
readonly required: readonly ["kind", "messageId", "role", "parts"];
|
|
1329
|
+
};
|
|
1330
|
+
export declare const TaskStateSchema: {
|
|
1331
|
+
readonly type: "string";
|
|
1332
|
+
readonly enum: readonly ["submitted", "running", "completed", "failed", "cancelled"];
|
|
1333
|
+
};
|
|
1334
|
+
export declare const TaskStatusSchema: {
|
|
1335
|
+
readonly type: "object";
|
|
1336
|
+
readonly properties: {
|
|
1337
|
+
readonly message: {
|
|
1338
|
+
readonly $ref: "#/components/schemas/Message";
|
|
1339
|
+
};
|
|
1340
|
+
readonly state: {
|
|
1341
|
+
readonly $ref: "#/components/schemas/TaskState";
|
|
1342
|
+
};
|
|
1343
|
+
readonly timestamp: {
|
|
1344
|
+
readonly type: "string";
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
readonly required: readonly ["state"];
|
|
1348
|
+
};
|
|
1349
|
+
export declare const ArtifactSchema: {
|
|
1350
|
+
readonly type: "object";
|
|
1351
|
+
readonly properties: {
|
|
1352
|
+
readonly artifactId: {
|
|
1353
|
+
readonly type: "string";
|
|
1354
|
+
};
|
|
1355
|
+
readonly name: {
|
|
1356
|
+
readonly type: "string";
|
|
1357
|
+
};
|
|
1358
|
+
readonly description: {
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
};
|
|
1361
|
+
readonly parts: {
|
|
1362
|
+
readonly type: "array";
|
|
1363
|
+
readonly items: {
|
|
1364
|
+
readonly nullable: true;
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
readonly extensions: {
|
|
1368
|
+
readonly type: "array";
|
|
1369
|
+
readonly items: {
|
|
1370
|
+
readonly type: "string";
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
readonly metadata: {
|
|
1374
|
+
readonly type: "object";
|
|
1375
|
+
readonly additionalProperties: {
|
|
1376
|
+
readonly nullable: true;
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
readonly required: readonly ["artifactId", "parts"];
|
|
1381
|
+
};
|
|
1382
|
+
export declare const AdkTaskSaveRequestSchema: {
|
|
1383
|
+
readonly type: "object";
|
|
1384
|
+
readonly properties: {
|
|
1385
|
+
readonly id: {
|
|
1386
|
+
readonly type: "string";
|
|
1387
|
+
};
|
|
1388
|
+
readonly context_id: {
|
|
1389
|
+
readonly type: "string";
|
|
1390
|
+
};
|
|
1391
|
+
readonly kind: {
|
|
1392
|
+
readonly type: "string";
|
|
1393
|
+
readonly default: "task";
|
|
1394
|
+
};
|
|
1395
|
+
readonly status: {
|
|
1396
|
+
readonly $ref: "#/components/schemas/TaskStatus";
|
|
1397
|
+
};
|
|
1398
|
+
readonly artifacts: {
|
|
1399
|
+
readonly type: "array";
|
|
1400
|
+
readonly items: {
|
|
1401
|
+
readonly $ref: "#/components/schemas/Artifact";
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
readonly history: {
|
|
1405
|
+
readonly type: "array";
|
|
1406
|
+
readonly items: {
|
|
1407
|
+
readonly $ref: "#/components/schemas/Message";
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
readonly metadata: {
|
|
1411
|
+
readonly type: "object";
|
|
1412
|
+
readonly additionalProperties: {
|
|
1413
|
+
readonly nullable: true;
|
|
1414
|
+
};
|
|
1415
|
+
};
|
|
1416
|
+
};
|
|
1417
|
+
readonly required: readonly ["id", "context_id", "status"];
|
|
1418
|
+
};
|
|
1419
|
+
export declare const TaskSchema: {
|
|
1420
|
+
readonly type: "object";
|
|
1421
|
+
readonly properties: {
|
|
1422
|
+
readonly id: {
|
|
1423
|
+
readonly type: "string";
|
|
1424
|
+
};
|
|
1425
|
+
readonly context_id: {
|
|
1426
|
+
readonly type: "string";
|
|
1427
|
+
};
|
|
1428
|
+
readonly kind: {
|
|
1429
|
+
readonly type: "string";
|
|
1430
|
+
readonly default: "task";
|
|
1431
|
+
};
|
|
1432
|
+
readonly status: {
|
|
1433
|
+
readonly $ref: "#/components/schemas/TaskStatus";
|
|
1434
|
+
};
|
|
1435
|
+
readonly artifacts: {
|
|
1436
|
+
readonly type: "array";
|
|
1437
|
+
readonly items: {
|
|
1438
|
+
readonly $ref: "#/components/schemas/Artifact";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
readonly history: {
|
|
1442
|
+
readonly type: "array";
|
|
1443
|
+
readonly items: {
|
|
1444
|
+
readonly $ref: "#/components/schemas/Message";
|
|
1445
|
+
};
|
|
1446
|
+
};
|
|
1447
|
+
readonly metadata: {
|
|
1448
|
+
readonly type: "object";
|
|
1449
|
+
readonly additionalProperties: {
|
|
1450
|
+
readonly nullable: true;
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1454
|
+
readonly required: readonly ["id", "context_id", "status"];
|
|
1455
|
+
};
|
|
1456
|
+
export declare const AdkTaskGetSchema: {
|
|
1457
|
+
readonly anyOf: readonly [{
|
|
1458
|
+
readonly $ref: "#/components/schemas/Task";
|
|
1459
|
+
}, {
|
|
1460
|
+
readonly nullable: true;
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly nullable: true;
|
|
1463
|
+
}];
|
|
1464
|
+
};
|
|
1465
|
+
export declare const AdkTaskGetRequestSchema: {
|
|
1466
|
+
readonly type: "object";
|
|
1467
|
+
readonly properties: {
|
|
1468
|
+
readonly task_id: {
|
|
1469
|
+
readonly type: "string";
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
readonly required: readonly ["task_id"];
|
|
1473
|
+
};
|
|
1474
|
+
export declare const AdkTaskListSchema: {
|
|
1475
|
+
readonly type: "object";
|
|
1476
|
+
readonly properties: {
|
|
1477
|
+
readonly tasks: {
|
|
1478
|
+
readonly type: "array";
|
|
1479
|
+
readonly items: {
|
|
1480
|
+
readonly $ref: "#/components/schemas/Task";
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
readonly required: readonly ["tasks"];
|
|
1485
|
+
};
|
|
1486
|
+
export declare const AdkTaskDeleteSchema: {
|
|
1487
|
+
readonly type: "object";
|
|
1488
|
+
readonly properties: {
|
|
1489
|
+
readonly success: {
|
|
1490
|
+
readonly type: "boolean";
|
|
1491
|
+
};
|
|
1492
|
+
};
|
|
1493
|
+
readonly required: readonly ["success"];
|
|
1494
|
+
};
|
|
1495
|
+
export declare const AdkTaskDeleteRequestSchema: {
|
|
1496
|
+
readonly type: "object";
|
|
1497
|
+
readonly properties: {
|
|
1498
|
+
readonly task_id: {
|
|
1499
|
+
readonly type: "string";
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
readonly required: readonly ["task_id"];
|
|
1503
|
+
};
|
|
1504
|
+
//# sourceMappingURL=schemas.gen.d.ts.map
|