@crestal/nation-sdk 0.7.2 → 0.7.3
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/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +4 -2
- package/api.ts +94 -2117
- package/base.ts +1 -25
- package/common.ts +1 -38
- package/configuration.ts +1 -18
- package/dist/api.d.ts +46 -2116
- package/dist/api.js +97 -130
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -38
- package/dist/common.js +1 -38
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Agent.md +2 -2
- package/docs/AgentResponse.md +2 -2
- package/docs/FileUploadResponse.md +23 -0
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/UserApi.md +53 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.7.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,254 +15,59 @@ import type { RequestArgs } from './base';
|
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
17
|
* Agent model.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Agent
|
|
20
18
|
*/
|
|
21
19
|
export interface Agent {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Agent
|
|
26
|
-
*/
|
|
27
20
|
'description'?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Agent
|
|
32
|
-
*/
|
|
33
21
|
'external_website'?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Agent
|
|
38
|
-
*/
|
|
39
22
|
'ticker'?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Agent
|
|
44
|
-
*/
|
|
45
23
|
'token_address'?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Agent
|
|
50
|
-
*/
|
|
51
24
|
'token_pool'?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Agent
|
|
56
|
-
*/
|
|
57
25
|
'fee_percentage'?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Agent
|
|
62
|
-
*/
|
|
63
26
|
'example_intro'?: string | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<AgentExample>}
|
|
67
|
-
* @memberof Agent
|
|
68
|
-
*/
|
|
69
27
|
'examples'?: Array<AgentExample> | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof Agent
|
|
74
|
-
*/
|
|
75
28
|
'name': string | null;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Agent
|
|
80
|
-
*/
|
|
81
29
|
'picture'?: string | null;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Agent
|
|
86
|
-
*/
|
|
87
30
|
'purpose'?: string | null;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof Agent
|
|
92
|
-
*/
|
|
93
31
|
'personality'?: string | null;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof Agent
|
|
98
|
-
*/
|
|
99
32
|
'principles'?: string | null;
|
|
100
33
|
/**
|
|
101
34
|
* AI model identifier to be used by this agent for processing requests.
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof Agent
|
|
104
35
|
*/
|
|
105
36
|
'model'?: string;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof Agent
|
|
110
|
-
*/
|
|
111
37
|
'prompt'?: string | null;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof Agent
|
|
116
|
-
*/
|
|
117
38
|
'prompt_append'?: string | null;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {number}
|
|
121
|
-
* @memberof Agent
|
|
122
|
-
*/
|
|
123
39
|
'temperature'?: number | null;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {number}
|
|
127
|
-
* @memberof Agent
|
|
128
|
-
*/
|
|
129
40
|
'frequency_penalty'?: number | null;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {number}
|
|
133
|
-
* @memberof Agent
|
|
134
|
-
*/
|
|
135
41
|
'presence_penalty'?: number | null;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {string}
|
|
139
|
-
* @memberof Agent
|
|
140
|
-
*/
|
|
141
42
|
'wallet_provider'?: AgentWalletProviderEnum | null;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof Agent
|
|
146
|
-
*/
|
|
147
43
|
'readonly_wallet_address'?: string | null;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof Agent
|
|
152
|
-
*/
|
|
153
44
|
'network_id'?: AgentNetworkIdEnum | null;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {object}
|
|
157
|
-
* @memberof Agent
|
|
158
|
-
*/
|
|
159
45
|
'skills'?: object | null;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof Agent
|
|
164
|
-
*/
|
|
165
46
|
'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {Array<AgentAutonomous>}
|
|
169
|
-
* @memberof Agent
|
|
170
|
-
*/
|
|
171
47
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {boolean}
|
|
175
|
-
* @memberof Agent
|
|
176
|
-
*/
|
|
177
48
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {string}
|
|
181
|
-
* @memberof Agent
|
|
182
|
-
*/
|
|
183
49
|
'telegram_entrypoint_prompt'?: string | null;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {object}
|
|
187
|
-
* @memberof Agent
|
|
188
|
-
*/
|
|
189
50
|
'telegram_config'?: object | null;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {string}
|
|
193
|
-
* @memberof Agent
|
|
194
|
-
*/
|
|
195
51
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {string}
|
|
199
|
-
* @memberof Agent
|
|
200
|
-
*/
|
|
201
52
|
'upstream_id'?: string | null;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {object}
|
|
205
|
-
* @memberof Agent
|
|
206
|
-
*/
|
|
207
53
|
'upstream_extra'?: object | null;
|
|
208
54
|
/**
|
|
209
55
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
210
|
-
* @type {string}
|
|
211
|
-
* @memberof Agent
|
|
212
56
|
*/
|
|
213
57
|
'id'?: string;
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @memberof Agent
|
|
218
|
-
*/
|
|
219
58
|
'owner'?: string | null;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @type {string}
|
|
223
|
-
* @memberof Agent
|
|
224
|
-
*/
|
|
225
59
|
'slug'?: string | null;
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @type {string}
|
|
229
|
-
* @memberof Agent
|
|
230
|
-
*/
|
|
231
60
|
'version'?: string | null;
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @type {object}
|
|
235
|
-
* @memberof Agent
|
|
236
|
-
*/
|
|
237
61
|
'statistics'?: object | null;
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @type {object}
|
|
241
|
-
* @memberof Agent
|
|
242
|
-
*/
|
|
243
62
|
'assets'?: object | null;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @type {CreditAccount}
|
|
247
|
-
* @memberof Agent
|
|
248
|
-
*/
|
|
249
63
|
'account_snapshot'?: CreditAccount | null;
|
|
250
|
-
/**
|
|
251
|
-
*
|
|
252
|
-
* @type {object}
|
|
253
|
-
* @memberof Agent
|
|
254
|
-
*/
|
|
255
64
|
'extra'?: object | null;
|
|
256
65
|
/**
|
|
257
66
|
* Timestamp when the agent was created, will ignore when importing
|
|
258
|
-
* @type {string}
|
|
259
|
-
* @memberof Agent
|
|
260
67
|
*/
|
|
261
68
|
'created_at'?: string;
|
|
262
69
|
/**
|
|
263
70
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
264
|
-
* @type {string}
|
|
265
|
-
* @memberof Agent
|
|
266
71
|
*/
|
|
267
72
|
'updated_at'?: string;
|
|
268
73
|
}
|
|
@@ -292,306 +97,107 @@ export declare const AgentShortTermMemoryStrategyEnum: {
|
|
|
292
97
|
export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
|
|
293
98
|
/**
|
|
294
99
|
* Response model for agent API key generation.
|
|
295
|
-
* @export
|
|
296
|
-
* @interface AgentApiKeyResponse
|
|
297
100
|
*/
|
|
298
101
|
export interface AgentApiKeyResponse {
|
|
299
102
|
/**
|
|
300
103
|
* The private API key for the agent (sk-)
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof AgentApiKeyResponse
|
|
303
104
|
*/
|
|
304
105
|
'api_key': string;
|
|
305
106
|
/**
|
|
306
107
|
* The public API key for the agent (pk-)
|
|
307
|
-
* @type {string}
|
|
308
|
-
* @memberof AgentApiKeyResponse
|
|
309
108
|
*/
|
|
310
109
|
'api_key_public': string;
|
|
311
110
|
/**
|
|
312
111
|
* The base URL for the API
|
|
313
|
-
* @type {string}
|
|
314
|
-
* @memberof AgentApiKeyResponse
|
|
315
112
|
*/
|
|
316
113
|
'base_url': string;
|
|
317
114
|
/**
|
|
318
115
|
* API documentation URL
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof AgentApiKeyResponse
|
|
321
116
|
*/
|
|
322
117
|
'api_doc': string;
|
|
323
118
|
/**
|
|
324
119
|
* OpenAPI JSON URL for AI integration
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof AgentApiKeyResponse
|
|
327
120
|
*/
|
|
328
121
|
'doc_for_ai': string;
|
|
329
122
|
}
|
|
330
123
|
/**
|
|
331
124
|
* Response model for agent assets.
|
|
332
|
-
* @export
|
|
333
|
-
* @interface AgentAssetsResponse
|
|
334
125
|
*/
|
|
335
126
|
export interface AgentAssetsResponse {
|
|
336
127
|
/**
|
|
337
128
|
* ID of the agent
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof AgentAssetsResponse
|
|
340
129
|
*/
|
|
341
130
|
'agent_id': string;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @type {string}
|
|
345
|
-
* @memberof AgentAssetsResponse
|
|
346
|
-
*/
|
|
347
131
|
'network_id': string | null;
|
|
348
|
-
/**
|
|
349
|
-
*
|
|
350
|
-
* @type {string}
|
|
351
|
-
* @memberof AgentAssetsResponse
|
|
352
|
-
*/
|
|
353
132
|
'wallet_address': string | null;
|
|
354
|
-
/**
|
|
355
|
-
*
|
|
356
|
-
* @type {string}
|
|
357
|
-
* @memberof AgentAssetsResponse
|
|
358
|
-
*/
|
|
359
133
|
'ticker': string | null;
|
|
360
|
-
/**
|
|
361
|
-
*
|
|
362
|
-
* @type {string}
|
|
363
|
-
* @memberof AgentAssetsResponse
|
|
364
|
-
*/
|
|
365
134
|
'token_address': string | null;
|
|
366
|
-
/**
|
|
367
|
-
*
|
|
368
|
-
* @type {string}
|
|
369
|
-
* @memberof AgentAssetsResponse
|
|
370
|
-
*/
|
|
371
135
|
'token_pool': string | null;
|
|
372
136
|
/**
|
|
373
137
|
* Total value locked, set to 0 for this version
|
|
374
|
-
* @type {string}
|
|
375
|
-
* @memberof AgentAssetsResponse
|
|
376
138
|
*/
|
|
377
139
|
'tvl'?: string;
|
|
378
140
|
/**
|
|
379
141
|
* List of assets with symbol and balance
|
|
380
|
-
* @type {Array<Asset>}
|
|
381
|
-
* @memberof AgentAssetsResponse
|
|
382
142
|
*/
|
|
383
143
|
'assets': Array<Asset>;
|
|
384
144
|
/**
|
|
385
145
|
* Credit account information
|
|
386
|
-
* @type {CreditAccount}
|
|
387
|
-
* @memberof AgentAssetsResponse
|
|
388
146
|
*/
|
|
389
147
|
'account': CreditAccount;
|
|
390
148
|
}
|
|
391
149
|
/**
|
|
392
150
|
* Autonomous agent configuration.
|
|
393
|
-
* @export
|
|
394
|
-
* @interface AgentAutonomous
|
|
395
151
|
*/
|
|
396
152
|
export interface AgentAutonomous {
|
|
397
153
|
/**
|
|
398
154
|
* Unique identifier for the autonomous configuration
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof AgentAutonomous
|
|
401
155
|
*/
|
|
402
156
|
'id'?: string;
|
|
403
|
-
/**
|
|
404
|
-
*
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof AgentAutonomous
|
|
407
|
-
*/
|
|
408
157
|
'name'?: string | null;
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @type {string}
|
|
412
|
-
* @memberof AgentAutonomous
|
|
413
|
-
*/
|
|
414
158
|
'description'?: string | null;
|
|
415
|
-
/**
|
|
416
|
-
*
|
|
417
|
-
* @type {number}
|
|
418
|
-
* @memberof AgentAutonomous
|
|
419
|
-
*/
|
|
420
159
|
'minutes'?: number | null;
|
|
421
|
-
/**
|
|
422
|
-
*
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof AgentAutonomous
|
|
425
|
-
*/
|
|
426
160
|
'cron'?: string | null;
|
|
427
161
|
/**
|
|
428
162
|
* Special prompt used during autonomous operation
|
|
429
|
-
* @type {string}
|
|
430
|
-
* @memberof AgentAutonomous
|
|
431
163
|
*/
|
|
432
164
|
'prompt': string;
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @type {boolean}
|
|
436
|
-
* @memberof AgentAutonomous
|
|
437
|
-
*/
|
|
438
165
|
'enabled'?: boolean | null;
|
|
439
166
|
}
|
|
440
167
|
/**
|
|
441
168
|
* Agent create model.
|
|
442
|
-
* @export
|
|
443
|
-
* @interface AgentCreate
|
|
444
169
|
*/
|
|
445
170
|
export interface AgentCreate {
|
|
446
|
-
/**
|
|
447
|
-
*
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof AgentCreate
|
|
450
|
-
*/
|
|
451
171
|
'name': string | null;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {string}
|
|
455
|
-
* @memberof AgentCreate
|
|
456
|
-
*/
|
|
457
172
|
'picture'?: string | null;
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @type {string}
|
|
461
|
-
* @memberof AgentCreate
|
|
462
|
-
*/
|
|
463
173
|
'purpose'?: string | null;
|
|
464
|
-
/**
|
|
465
|
-
*
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof AgentCreate
|
|
468
|
-
*/
|
|
469
174
|
'personality'?: string | null;
|
|
470
|
-
/**
|
|
471
|
-
*
|
|
472
|
-
* @type {string}
|
|
473
|
-
* @memberof AgentCreate
|
|
474
|
-
*/
|
|
475
175
|
'principles'?: string | null;
|
|
476
176
|
/**
|
|
477
177
|
* AI model identifier to be used by this agent for processing requests.
|
|
478
|
-
* @type {string}
|
|
479
|
-
* @memberof AgentCreate
|
|
480
178
|
*/
|
|
481
179
|
'model'?: string;
|
|
482
|
-
/**
|
|
483
|
-
*
|
|
484
|
-
* @type {string}
|
|
485
|
-
* @memberof AgentCreate
|
|
486
|
-
*/
|
|
487
180
|
'prompt'?: string | null;
|
|
488
|
-
/**
|
|
489
|
-
*
|
|
490
|
-
* @type {string}
|
|
491
|
-
* @memberof AgentCreate
|
|
492
|
-
*/
|
|
493
181
|
'prompt_append'?: string | null;
|
|
494
|
-
/**
|
|
495
|
-
*
|
|
496
|
-
* @type {number}
|
|
497
|
-
* @memberof AgentCreate
|
|
498
|
-
*/
|
|
499
182
|
'temperature'?: number | null;
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @type {number}
|
|
503
|
-
* @memberof AgentCreate
|
|
504
|
-
*/
|
|
505
183
|
'frequency_penalty'?: number | null;
|
|
506
|
-
/**
|
|
507
|
-
*
|
|
508
|
-
* @type {number}
|
|
509
|
-
* @memberof AgentCreate
|
|
510
|
-
*/
|
|
511
184
|
'presence_penalty'?: number | null;
|
|
512
|
-
/**
|
|
513
|
-
*
|
|
514
|
-
* @type {string}
|
|
515
|
-
* @memberof AgentCreate
|
|
516
|
-
*/
|
|
517
185
|
'wallet_provider'?: AgentCreateWalletProviderEnum | null;
|
|
518
|
-
/**
|
|
519
|
-
*
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof AgentCreate
|
|
522
|
-
*/
|
|
523
186
|
'readonly_wallet_address'?: string | null;
|
|
524
|
-
/**
|
|
525
|
-
*
|
|
526
|
-
* @type {string}
|
|
527
|
-
* @memberof AgentCreate
|
|
528
|
-
*/
|
|
529
187
|
'network_id'?: AgentCreateNetworkIdEnum | null;
|
|
530
|
-
/**
|
|
531
|
-
*
|
|
532
|
-
* @type {object}
|
|
533
|
-
* @memberof AgentCreate
|
|
534
|
-
*/
|
|
535
188
|
'skills'?: object | null;
|
|
536
|
-
/**
|
|
537
|
-
*
|
|
538
|
-
* @type {string}
|
|
539
|
-
* @memberof AgentCreate
|
|
540
|
-
*/
|
|
541
189
|
'short_term_memory_strategy'?: AgentCreateShortTermMemoryStrategyEnum | null;
|
|
542
|
-
/**
|
|
543
|
-
*
|
|
544
|
-
* @type {Array<AgentAutonomous>}
|
|
545
|
-
* @memberof AgentCreate
|
|
546
|
-
*/
|
|
547
190
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
548
|
-
/**
|
|
549
|
-
*
|
|
550
|
-
* @type {boolean}
|
|
551
|
-
* @memberof AgentCreate
|
|
552
|
-
*/
|
|
553
191
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
554
|
-
/**
|
|
555
|
-
*
|
|
556
|
-
* @type {string}
|
|
557
|
-
* @memberof AgentCreate
|
|
558
|
-
*/
|
|
559
192
|
'telegram_entrypoint_prompt'?: string | null;
|
|
560
|
-
/**
|
|
561
|
-
*
|
|
562
|
-
* @type {object}
|
|
563
|
-
* @memberof AgentCreate
|
|
564
|
-
*/
|
|
565
193
|
'telegram_config'?: object | null;
|
|
566
|
-
/**
|
|
567
|
-
*
|
|
568
|
-
* @type {string}
|
|
569
|
-
* @memberof AgentCreate
|
|
570
|
-
*/
|
|
571
194
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
572
|
-
/**
|
|
573
|
-
*
|
|
574
|
-
* @type {string}
|
|
575
|
-
* @memberof AgentCreate
|
|
576
|
-
*/
|
|
577
195
|
'upstream_id'?: string | null;
|
|
578
|
-
/**
|
|
579
|
-
*
|
|
580
|
-
* @type {object}
|
|
581
|
-
* @memberof AgentCreate
|
|
582
|
-
*/
|
|
583
196
|
'upstream_extra'?: object | null;
|
|
584
197
|
/**
|
|
585
198
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
586
|
-
* @type {string}
|
|
587
|
-
* @memberof AgentCreate
|
|
588
199
|
*/
|
|
589
200
|
'id'?: string;
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @type {string}
|
|
593
|
-
* @memberof AgentCreate
|
|
594
|
-
*/
|
|
595
201
|
'owner'?: string | null;
|
|
596
202
|
}
|
|
597
203
|
export declare const AgentCreateWalletProviderEnum: {
|
|
@@ -620,201 +226,66 @@ export declare const AgentCreateShortTermMemoryStrategyEnum: {
|
|
|
620
226
|
export type AgentCreateShortTermMemoryStrategyEnum = typeof AgentCreateShortTermMemoryStrategyEnum[keyof typeof AgentCreateShortTermMemoryStrategyEnum];
|
|
621
227
|
/**
|
|
622
228
|
* Request model for agent deployment.
|
|
623
|
-
* @export
|
|
624
|
-
* @interface AgentDeployRequest
|
|
625
229
|
*/
|
|
626
230
|
export interface AgentDeployRequest {
|
|
627
231
|
/**
|
|
628
232
|
* Agent ID to deploy
|
|
629
|
-
* @type {string}
|
|
630
|
-
* @memberof AgentDeployRequest
|
|
631
233
|
*/
|
|
632
234
|
'agent_id': string;
|
|
633
235
|
/**
|
|
634
236
|
* Draft ID to deploy
|
|
635
|
-
* @type {string}
|
|
636
|
-
* @memberof AgentDeployRequest
|
|
637
237
|
*/
|
|
638
238
|
'draft_id': string;
|
|
639
239
|
/**
|
|
640
240
|
* Transaction ID for upstream tracking
|
|
641
|
-
* @type {string}
|
|
642
|
-
* @memberof AgentDeployRequest
|
|
643
241
|
*/
|
|
644
242
|
'tx_id': string;
|
|
645
243
|
}
|
|
646
244
|
/**
|
|
647
245
|
* Agent draft model.
|
|
648
|
-
* @export
|
|
649
|
-
* @interface AgentDraft
|
|
650
246
|
*/
|
|
651
247
|
export interface AgentDraft {
|
|
652
|
-
/**
|
|
653
|
-
*
|
|
654
|
-
* @type {string}
|
|
655
|
-
* @memberof AgentDraft
|
|
656
|
-
*/
|
|
657
248
|
'name': string | null;
|
|
658
|
-
/**
|
|
659
|
-
*
|
|
660
|
-
* @type {string}
|
|
661
|
-
* @memberof AgentDraft
|
|
662
|
-
*/
|
|
663
249
|
'picture'?: string | null;
|
|
664
|
-
/**
|
|
665
|
-
*
|
|
666
|
-
* @type {string}
|
|
667
|
-
* @memberof AgentDraft
|
|
668
|
-
*/
|
|
669
250
|
'purpose'?: string | null;
|
|
670
|
-
/**
|
|
671
|
-
*
|
|
672
|
-
* @type {string}
|
|
673
|
-
* @memberof AgentDraft
|
|
674
|
-
*/
|
|
675
251
|
'personality'?: string | null;
|
|
676
|
-
/**
|
|
677
|
-
*
|
|
678
|
-
* @type {string}
|
|
679
|
-
* @memberof AgentDraft
|
|
680
|
-
*/
|
|
681
252
|
'principles'?: string | null;
|
|
682
253
|
/**
|
|
683
254
|
* AI model identifier to be used by this agent for processing requests.
|
|
684
|
-
* @type {string}
|
|
685
|
-
* @memberof AgentDraft
|
|
686
255
|
*/
|
|
687
256
|
'model'?: string;
|
|
688
|
-
/**
|
|
689
|
-
*
|
|
690
|
-
* @type {string}
|
|
691
|
-
* @memberof AgentDraft
|
|
692
|
-
*/
|
|
693
257
|
'prompt'?: string | null;
|
|
694
|
-
/**
|
|
695
|
-
*
|
|
696
|
-
* @type {string}
|
|
697
|
-
* @memberof AgentDraft
|
|
698
|
-
*/
|
|
699
258
|
'prompt_append'?: string | null;
|
|
700
|
-
/**
|
|
701
|
-
*
|
|
702
|
-
* @type {number}
|
|
703
|
-
* @memberof AgentDraft
|
|
704
|
-
*/
|
|
705
259
|
'temperature'?: number | null;
|
|
706
|
-
/**
|
|
707
|
-
*
|
|
708
|
-
* @type {number}
|
|
709
|
-
* @memberof AgentDraft
|
|
710
|
-
*/
|
|
711
260
|
'frequency_penalty'?: number | null;
|
|
712
|
-
/**
|
|
713
|
-
*
|
|
714
|
-
* @type {number}
|
|
715
|
-
* @memberof AgentDraft
|
|
716
|
-
*/
|
|
717
261
|
'presence_penalty'?: number | null;
|
|
718
|
-
/**
|
|
719
|
-
*
|
|
720
|
-
* @type {string}
|
|
721
|
-
* @memberof AgentDraft
|
|
722
|
-
*/
|
|
723
262
|
'wallet_provider'?: AgentDraftWalletProviderEnum | null;
|
|
724
|
-
/**
|
|
725
|
-
*
|
|
726
|
-
* @type {string}
|
|
727
|
-
* @memberof AgentDraft
|
|
728
|
-
*/
|
|
729
263
|
'readonly_wallet_address'?: string | null;
|
|
730
|
-
/**
|
|
731
|
-
*
|
|
732
|
-
* @type {string}
|
|
733
|
-
* @memberof AgentDraft
|
|
734
|
-
*/
|
|
735
264
|
'network_id'?: AgentDraftNetworkIdEnum | null;
|
|
736
|
-
/**
|
|
737
|
-
*
|
|
738
|
-
* @type {object}
|
|
739
|
-
* @memberof AgentDraft
|
|
740
|
-
*/
|
|
741
265
|
'skills'?: object | null;
|
|
742
|
-
/**
|
|
743
|
-
*
|
|
744
|
-
* @type {string}
|
|
745
|
-
* @memberof AgentDraft
|
|
746
|
-
*/
|
|
747
266
|
'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @type {Array<AgentAutonomous>}
|
|
751
|
-
* @memberof AgentDraft
|
|
752
|
-
*/
|
|
753
267
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {boolean}
|
|
757
|
-
* @memberof AgentDraft
|
|
758
|
-
*/
|
|
759
268
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
760
|
-
/**
|
|
761
|
-
*
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof AgentDraft
|
|
764
|
-
*/
|
|
765
269
|
'telegram_entrypoint_prompt'?: string | null;
|
|
766
|
-
/**
|
|
767
|
-
*
|
|
768
|
-
* @type {object}
|
|
769
|
-
* @memberof AgentDraft
|
|
770
|
-
*/
|
|
771
270
|
'telegram_config'?: object | null;
|
|
772
|
-
/**
|
|
773
|
-
*
|
|
774
|
-
* @type {string}
|
|
775
|
-
* @memberof AgentDraft
|
|
776
|
-
*/
|
|
777
271
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
778
272
|
/**
|
|
779
273
|
* Unique identifier for the draft
|
|
780
|
-
* @type {string}
|
|
781
|
-
* @memberof AgentDraft
|
|
782
274
|
*/
|
|
783
275
|
'id'?: string;
|
|
784
276
|
/**
|
|
785
277
|
* Agent id
|
|
786
|
-
* @type {string}
|
|
787
|
-
* @memberof AgentDraft
|
|
788
278
|
*/
|
|
789
279
|
'agent_id'?: string;
|
|
790
|
-
/**
|
|
791
|
-
*
|
|
792
|
-
* @type {string}
|
|
793
|
-
* @memberof AgentDraft
|
|
794
|
-
*/
|
|
795
280
|
'owner'?: string | null;
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @type {string}
|
|
799
|
-
* @memberof AgentDraft
|
|
800
|
-
*/
|
|
801
281
|
'version'?: string | null;
|
|
802
|
-
/**
|
|
803
|
-
*
|
|
804
|
-
* @type {string}
|
|
805
|
-
* @memberof AgentDraft
|
|
806
|
-
*/
|
|
807
282
|
'deployed_at'?: string | null;
|
|
808
283
|
/**
|
|
809
284
|
* Timestamp when the agent was created, will ignore when importing
|
|
810
|
-
* @type {string}
|
|
811
|
-
* @memberof AgentDraft
|
|
812
285
|
*/
|
|
813
286
|
'created_at'?: string;
|
|
814
287
|
/**
|
|
815
288
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
816
|
-
* @type {string}
|
|
817
|
-
* @memberof AgentDraft
|
|
818
289
|
*/
|
|
819
290
|
'updated_at'?: string;
|
|
820
291
|
}
|
|
@@ -844,392 +315,144 @@ export declare const AgentDraftShortTermMemoryStrategyEnum: {
|
|
|
844
315
|
export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
|
|
845
316
|
/**
|
|
846
317
|
* Agent example configuration.
|
|
847
|
-
* @export
|
|
848
|
-
* @interface AgentExample
|
|
849
318
|
*/
|
|
850
319
|
export interface AgentExample {
|
|
851
320
|
/**
|
|
852
321
|
* Name of the example
|
|
853
|
-
* @type {string}
|
|
854
|
-
* @memberof AgentExample
|
|
855
322
|
*/
|
|
856
323
|
'name': string;
|
|
857
324
|
/**
|
|
858
325
|
* Description of the example
|
|
859
|
-
* @type {string}
|
|
860
|
-
* @memberof AgentExample
|
|
861
326
|
*/
|
|
862
327
|
'description': string;
|
|
863
328
|
/**
|
|
864
329
|
* Example prompt
|
|
865
|
-
* @type {string}
|
|
866
|
-
* @memberof AgentExample
|
|
867
330
|
*/
|
|
868
331
|
'prompt': string;
|
|
869
332
|
}
|
|
870
333
|
/**
|
|
871
334
|
* Request model for agent generation.
|
|
872
|
-
* @export
|
|
873
|
-
* @interface AgentGenerateRequest
|
|
874
335
|
*/
|
|
875
336
|
export interface AgentGenerateRequest {
|
|
876
337
|
/**
|
|
877
338
|
* Natural language description of the agent\'s desired capabilities
|
|
878
|
-
* @type {string}
|
|
879
|
-
* @memberof AgentGenerateRequest
|
|
880
339
|
*/
|
|
881
340
|
'prompt': string;
|
|
882
|
-
/**
|
|
883
|
-
*
|
|
884
|
-
* @type {AgentCreate}
|
|
885
|
-
* @memberof AgentGenerateRequest
|
|
886
|
-
*/
|
|
887
341
|
'existing_agent'?: AgentCreate | null;
|
|
888
|
-
/**
|
|
889
|
-
*
|
|
890
|
-
* @type {string}
|
|
891
|
-
* @memberof AgentGenerateRequest
|
|
892
|
-
*/
|
|
893
342
|
'project_id'?: string | null;
|
|
894
|
-
/**
|
|
895
|
-
*
|
|
896
|
-
* @type {boolean}
|
|
897
|
-
* @memberof AgentGenerateRequest
|
|
898
|
-
*/
|
|
899
343
|
'deploy'?: boolean | null;
|
|
900
344
|
}
|
|
901
345
|
/**
|
|
902
346
|
* Response model for agent generation.
|
|
903
|
-
* @export
|
|
904
|
-
* @interface AgentGenerateResponse
|
|
905
347
|
*/
|
|
906
348
|
export interface AgentGenerateResponse {
|
|
907
349
|
/**
|
|
908
350
|
* The generated agent schema
|
|
909
|
-
* @type {object}
|
|
910
|
-
* @memberof AgentGenerateResponse
|
|
911
351
|
*/
|
|
912
352
|
'agent': object;
|
|
913
353
|
/**
|
|
914
354
|
* Project ID for this conversation session
|
|
915
|
-
* @type {string}
|
|
916
|
-
* @memberof AgentGenerateResponse
|
|
917
355
|
*/
|
|
918
356
|
'project_id': string;
|
|
919
357
|
/**
|
|
920
358
|
* Human-readable summary of the generated agent
|
|
921
|
-
* @type {string}
|
|
922
|
-
* @memberof AgentGenerateResponse
|
|
923
359
|
*/
|
|
924
360
|
'summary': string;
|
|
925
361
|
/**
|
|
926
362
|
* Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
|
|
927
|
-
* @type {Array<{ [key: string]: number; }>}
|
|
928
|
-
* @memberof AgentGenerateResponse
|
|
929
363
|
*/
|
|
930
364
|
'tags'?: Array<{
|
|
931
365
|
[key: string]: number;
|
|
932
366
|
}>;
|
|
933
|
-
/**
|
|
934
|
-
*
|
|
935
|
-
* @type {Array<object>}
|
|
936
|
-
* @memberof AgentGenerateResponse
|
|
937
|
-
*/
|
|
938
367
|
'autonomous_tasks'?: Array<object> | null;
|
|
939
|
-
/**
|
|
940
|
-
*
|
|
941
|
-
* @type {Array<string>}
|
|
942
|
-
* @memberof AgentGenerateResponse
|
|
943
|
-
*/
|
|
944
368
|
'activated_skills'?: Array<string> | null;
|
|
945
369
|
}
|
|
946
370
|
/**
|
|
947
371
|
* Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
|
|
948
|
-
* @export
|
|
949
|
-
* @interface AgentListResponse
|
|
950
372
|
*/
|
|
951
373
|
export interface AgentListResponse {
|
|
952
374
|
/**
|
|
953
375
|
* List of agents
|
|
954
|
-
* @type {Array<AgentResponse>}
|
|
955
|
-
* @memberof AgentListResponse
|
|
956
376
|
*/
|
|
957
377
|
'data': Array<AgentResponse>;
|
|
958
378
|
/**
|
|
959
379
|
* Indicates if there are more items
|
|
960
|
-
* @type {boolean}
|
|
961
|
-
* @memberof AgentListResponse
|
|
962
380
|
*/
|
|
963
381
|
'has_more': boolean;
|
|
964
|
-
/**
|
|
965
|
-
*
|
|
966
|
-
* @type {string}
|
|
967
|
-
* @memberof AgentListResponse
|
|
968
|
-
*/
|
|
969
382
|
'next_cursor'?: string | null;
|
|
970
383
|
}
|
|
971
384
|
/**
|
|
972
385
|
* Agent response model that excludes sensitive fields from JSON output and schema.
|
|
973
|
-
* @export
|
|
974
|
-
* @interface AgentResponse
|
|
975
386
|
*/
|
|
976
387
|
export interface AgentResponse {
|
|
977
|
-
/**
|
|
978
|
-
*
|
|
979
|
-
* @type {string}
|
|
980
|
-
* @memberof AgentResponse
|
|
981
|
-
*/
|
|
982
388
|
'description'?: string | null;
|
|
983
|
-
/**
|
|
984
|
-
*
|
|
985
|
-
* @type {string}
|
|
986
|
-
* @memberof AgentResponse
|
|
987
|
-
*/
|
|
988
389
|
'external_website'?: string | null;
|
|
989
|
-
/**
|
|
990
|
-
*
|
|
991
|
-
* @type {string}
|
|
992
|
-
* @memberof AgentResponse
|
|
993
|
-
*/
|
|
994
390
|
'ticker'?: string | null;
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @type {string}
|
|
998
|
-
* @memberof AgentResponse
|
|
999
|
-
*/
|
|
1000
391
|
'token_address'?: string | null;
|
|
1001
|
-
/**
|
|
1002
|
-
*
|
|
1003
|
-
* @type {string}
|
|
1004
|
-
* @memberof AgentResponse
|
|
1005
|
-
*/
|
|
1006
392
|
'token_pool'?: string | null;
|
|
1007
|
-
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @type {string}
|
|
1010
|
-
* @memberof AgentResponse
|
|
1011
|
-
*/
|
|
1012
393
|
'fee_percentage'?: string | null;
|
|
1013
|
-
/**
|
|
1014
|
-
*
|
|
1015
|
-
* @type {string}
|
|
1016
|
-
* @memberof AgentResponse
|
|
1017
|
-
*/
|
|
1018
394
|
'example_intro'?: string | null;
|
|
1019
|
-
/**
|
|
1020
|
-
*
|
|
1021
|
-
* @type {Array<AgentExample>}
|
|
1022
|
-
* @memberof AgentResponse
|
|
1023
|
-
*/
|
|
1024
395
|
'examples'?: Array<AgentExample> | null;
|
|
1025
|
-
/**
|
|
1026
|
-
*
|
|
1027
|
-
* @type {string}
|
|
1028
|
-
* @memberof AgentResponse
|
|
1029
|
-
*/
|
|
1030
396
|
'name': string | null;
|
|
1031
|
-
/**
|
|
1032
|
-
*
|
|
1033
|
-
* @type {string}
|
|
1034
|
-
* @memberof AgentResponse
|
|
1035
|
-
*/
|
|
1036
397
|
'picture'?: string | null;
|
|
1037
398
|
/**
|
|
1038
399
|
* AI model identifier to be used by this agent for processing requests.
|
|
1039
|
-
* @type {string}
|
|
1040
|
-
* @memberof AgentResponse
|
|
1041
400
|
*/
|
|
1042
401
|
'model'?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
*
|
|
1045
|
-
* @type {number}
|
|
1046
|
-
* @memberof AgentResponse
|
|
1047
|
-
*/
|
|
1048
402
|
'presence_penalty'?: number | null;
|
|
1049
|
-
/**
|
|
1050
|
-
*
|
|
1051
|
-
* @type {string}
|
|
1052
|
-
* @memberof AgentResponse
|
|
1053
|
-
*/
|
|
1054
403
|
'wallet_provider'?: AgentResponseWalletProviderEnum | null;
|
|
1055
|
-
/**
|
|
1056
|
-
*
|
|
1057
|
-
* @type {string}
|
|
1058
|
-
* @memberof AgentResponse
|
|
1059
|
-
*/
|
|
1060
404
|
'readonly_wallet_address'?: string | null;
|
|
1061
|
-
/**
|
|
1062
|
-
*
|
|
1063
|
-
* @type {string}
|
|
1064
|
-
* @memberof AgentResponse
|
|
1065
|
-
*/
|
|
1066
405
|
'network_id'?: AgentResponseNetworkIdEnum | null;
|
|
1067
|
-
/**
|
|
1068
|
-
*
|
|
1069
|
-
* @type {object}
|
|
1070
|
-
* @memberof AgentResponse
|
|
1071
|
-
*/
|
|
1072
406
|
'skills'?: object | null;
|
|
1073
|
-
/**
|
|
1074
|
-
*
|
|
1075
|
-
* @type {string}
|
|
1076
|
-
* @memberof AgentResponse
|
|
1077
|
-
*/
|
|
1078
407
|
'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
|
|
1079
|
-
/**
|
|
1080
|
-
*
|
|
1081
|
-
* @type {Array<AgentAutonomous>}
|
|
1082
|
-
* @memberof AgentResponse
|
|
1083
|
-
*/
|
|
1084
408
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1085
|
-
/**
|
|
1086
|
-
*
|
|
1087
|
-
* @type {boolean}
|
|
1088
|
-
* @memberof AgentResponse
|
|
1089
|
-
*/
|
|
1090
409
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1091
|
-
/**
|
|
1092
|
-
*
|
|
1093
|
-
* @type {string}
|
|
1094
|
-
* @memberof AgentResponse
|
|
1095
|
-
*/
|
|
1096
410
|
'upstream_id'?: string | null;
|
|
1097
|
-
/**
|
|
1098
|
-
*
|
|
1099
|
-
* @type {object}
|
|
1100
|
-
* @memberof AgentResponse
|
|
1101
|
-
*/
|
|
1102
411
|
'upstream_extra'?: object | null;
|
|
1103
412
|
/**
|
|
1104
413
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
1105
|
-
* @type {string}
|
|
1106
|
-
* @memberof AgentResponse
|
|
1107
414
|
*/
|
|
1108
415
|
'id'?: string;
|
|
1109
|
-
/**
|
|
1110
|
-
*
|
|
1111
|
-
* @type {string}
|
|
1112
|
-
* @memberof AgentResponse
|
|
1113
|
-
*/
|
|
1114
416
|
'owner'?: string | null;
|
|
1115
|
-
/**
|
|
1116
|
-
*
|
|
1117
|
-
* @type {string}
|
|
1118
|
-
* @memberof AgentResponse
|
|
1119
|
-
*/
|
|
1120
417
|
'slug'?: string | null;
|
|
1121
|
-
/**
|
|
1122
|
-
*
|
|
1123
|
-
* @type {string}
|
|
1124
|
-
* @memberof AgentResponse
|
|
1125
|
-
*/
|
|
1126
418
|
'version'?: string | null;
|
|
1127
|
-
/**
|
|
1128
|
-
*
|
|
1129
|
-
* @type {object}
|
|
1130
|
-
* @memberof AgentResponse
|
|
1131
|
-
*/
|
|
1132
419
|
'statistics'?: object | null;
|
|
1133
|
-
/**
|
|
1134
|
-
*
|
|
1135
|
-
* @type {object}
|
|
1136
|
-
* @memberof AgentResponse
|
|
1137
|
-
*/
|
|
1138
420
|
'assets'?: object | null;
|
|
1139
|
-
/**
|
|
1140
|
-
*
|
|
1141
|
-
* @type {CreditAccount}
|
|
1142
|
-
* @memberof AgentResponse
|
|
1143
|
-
*/
|
|
1144
421
|
'account_snapshot'?: CreditAccount | null;
|
|
1145
|
-
/**
|
|
1146
|
-
*
|
|
1147
|
-
* @type {object}
|
|
1148
|
-
* @memberof AgentResponse
|
|
1149
|
-
*/
|
|
1150
422
|
'extra'?: object | null;
|
|
1151
423
|
/**
|
|
1152
424
|
* Timestamp when the agent was created, will ignore when importing
|
|
1153
|
-
* @type {string}
|
|
1154
|
-
* @memberof AgentResponse
|
|
1155
425
|
*/
|
|
1156
426
|
'created_at'?: string;
|
|
1157
427
|
/**
|
|
1158
428
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
1159
|
-
* @type {string}
|
|
1160
|
-
* @memberof AgentResponse
|
|
1161
429
|
*/
|
|
1162
430
|
'updated_at'?: string;
|
|
1163
|
-
/**
|
|
1164
|
-
*
|
|
1165
|
-
* @type {string}
|
|
1166
|
-
* @memberof AgentResponse
|
|
1167
|
-
*/
|
|
1168
431
|
'cdp_wallet_address'?: string | null;
|
|
1169
|
-
/**
|
|
1170
|
-
*
|
|
1171
|
-
* @type {string}
|
|
1172
|
-
* @memberof AgentResponse
|
|
1173
|
-
*/
|
|
1174
432
|
'evm_wallet_address'?: string | null;
|
|
1175
|
-
/**
|
|
1176
|
-
*
|
|
1177
|
-
* @type {string}
|
|
1178
|
-
* @memberof AgentResponse
|
|
1179
|
-
*/
|
|
1180
433
|
'solana_wallet_address'?: string | null;
|
|
1181
434
|
/**
|
|
1182
435
|
* Whether the agent has Twitter linked
|
|
1183
|
-
* @type {boolean}
|
|
1184
|
-
* @memberof AgentResponse
|
|
1185
436
|
*/
|
|
1186
437
|
'has_twitter_linked'?: boolean;
|
|
1187
|
-
/**
|
|
1188
|
-
*
|
|
1189
|
-
* @type {string}
|
|
1190
|
-
* @memberof AgentResponse
|
|
1191
|
-
*/
|
|
1192
438
|
'linked_twitter_username'?: string | null;
|
|
1193
|
-
/**
|
|
1194
|
-
*
|
|
1195
|
-
* @type {string}
|
|
1196
|
-
* @memberof AgentResponse
|
|
1197
|
-
*/
|
|
1198
439
|
'linked_twitter_name'?: string | null;
|
|
1199
440
|
/**
|
|
1200
441
|
* Whether the agent has Twitter self key
|
|
1201
|
-
* @type {boolean}
|
|
1202
|
-
* @memberof AgentResponse
|
|
1203
442
|
*/
|
|
1204
443
|
'has_twitter_self_key'?: boolean;
|
|
1205
444
|
/**
|
|
1206
445
|
* Whether the agent has Telegram self key
|
|
1207
|
-
* @type {boolean}
|
|
1208
|
-
* @memberof AgentResponse
|
|
1209
446
|
*/
|
|
1210
447
|
'has_telegram_self_key'?: boolean;
|
|
1211
|
-
/**
|
|
1212
|
-
*
|
|
1213
|
-
* @type {string}
|
|
1214
|
-
* @memberof AgentResponse
|
|
1215
|
-
*/
|
|
1216
448
|
'linked_telegram_username'?: string | null;
|
|
1217
|
-
/**
|
|
1218
|
-
*
|
|
1219
|
-
* @type {string}
|
|
1220
|
-
* @memberof AgentResponse
|
|
1221
|
-
*/
|
|
1222
449
|
'linked_telegram_name'?: string | null;
|
|
1223
450
|
/**
|
|
1224
451
|
* Whether the agent accepts image input
|
|
1225
|
-
* @type {boolean}
|
|
1226
|
-
* @memberof AgentResponse
|
|
1227
452
|
*/
|
|
1228
453
|
'accept_image_input'?: boolean;
|
|
1229
454
|
/**
|
|
1230
455
|
* Whether the agent accepts image input in private mode
|
|
1231
|
-
* @type {boolean}
|
|
1232
|
-
* @memberof AgentResponse
|
|
1233
456
|
*/
|
|
1234
457
|
'accept_image_input_private'?: boolean;
|
|
1235
458
|
}
|
|
@@ -1259,8 +482,6 @@ export declare const AgentResponseShortTermMemoryStrategyEnum: {
|
|
|
1259
482
|
export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
|
|
1260
483
|
/**
|
|
1261
484
|
* Sort options for agents list.
|
|
1262
|
-
* @export
|
|
1263
|
-
* @enum {string}
|
|
1264
485
|
*/
|
|
1265
486
|
export declare const AgentSortOption: {
|
|
1266
487
|
readonly CreatedAtDesc: "created_at desc";
|
|
@@ -1270,244 +491,98 @@ export declare const AgentSortOption: {
|
|
|
1270
491
|
export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOption];
|
|
1271
492
|
/**
|
|
1272
493
|
* Response model for agent statistics.
|
|
1273
|
-
* @export
|
|
1274
|
-
* @interface AgentStatisticsResponse
|
|
1275
494
|
*/
|
|
1276
495
|
export interface AgentStatisticsResponse {
|
|
1277
496
|
/**
|
|
1278
497
|
* ID of the agent
|
|
1279
|
-
* @type {string}
|
|
1280
|
-
* @memberof AgentStatisticsResponse
|
|
1281
498
|
*/
|
|
1282
499
|
'agent_id': string;
|
|
1283
500
|
/**
|
|
1284
501
|
* ID of the agent\'s credit account
|
|
1285
|
-
* @type {string}
|
|
1286
|
-
* @memberof AgentStatisticsResponse
|
|
1287
502
|
*/
|
|
1288
503
|
'account_id': string;
|
|
1289
504
|
/**
|
|
1290
505
|
* Total balance of the agent\'s account
|
|
1291
|
-
* @type {string}
|
|
1292
|
-
* @memberof AgentStatisticsResponse
|
|
1293
506
|
*/
|
|
1294
507
|
'balance': string;
|
|
1295
508
|
/**
|
|
1296
509
|
* Total income from all credit events
|
|
1297
|
-
* @type {string}
|
|
1298
|
-
* @memberof AgentStatisticsResponse
|
|
1299
510
|
*/
|
|
1300
511
|
'total_income': string;
|
|
1301
512
|
/**
|
|
1302
513
|
* Net income from all credit events
|
|
1303
|
-
* @type {string}
|
|
1304
|
-
* @memberof AgentStatisticsResponse
|
|
1305
514
|
*/
|
|
1306
515
|
'net_income': string;
|
|
1307
516
|
/**
|
|
1308
517
|
* Permanent income from all credit events
|
|
1309
|
-
* @type {string}
|
|
1310
|
-
* @memberof AgentStatisticsResponse
|
|
1311
518
|
*/
|
|
1312
519
|
'permanent_income': string;
|
|
1313
520
|
/**
|
|
1314
521
|
* Permanent profit from all credit events
|
|
1315
|
-
* @type {string}
|
|
1316
|
-
* @memberof AgentStatisticsResponse
|
|
1317
522
|
*/
|
|
1318
523
|
'permanent_profit': string;
|
|
1319
524
|
/**
|
|
1320
525
|
* Income from last 24 hours
|
|
1321
|
-
* @type {string}
|
|
1322
|
-
* @memberof AgentStatisticsResponse
|
|
1323
526
|
*/
|
|
1324
527
|
'last_24h_income': string;
|
|
1325
528
|
/**
|
|
1326
529
|
* Permanent income from last 24 hours
|
|
1327
|
-
* @type {string}
|
|
1328
|
-
* @memberof AgentStatisticsResponse
|
|
1329
530
|
*/
|
|
1330
531
|
'last_24h_permanent_income': string;
|
|
1331
532
|
/**
|
|
1332
533
|
* Average action cost
|
|
1333
|
-
* @type {string}
|
|
1334
|
-
* @memberof AgentStatisticsResponse
|
|
1335
534
|
*/
|
|
1336
535
|
'avg_action_cost': string;
|
|
1337
536
|
/**
|
|
1338
537
|
* Minimum action cost
|
|
1339
|
-
* @type {string}
|
|
1340
|
-
* @memberof AgentStatisticsResponse
|
|
1341
538
|
*/
|
|
1342
539
|
'min_action_cost': string;
|
|
1343
540
|
/**
|
|
1344
541
|
* Maximum action cost
|
|
1345
|
-
* @type {string}
|
|
1346
|
-
* @memberof AgentStatisticsResponse
|
|
1347
542
|
*/
|
|
1348
543
|
'max_action_cost': string;
|
|
1349
544
|
/**
|
|
1350
545
|
* Low action cost
|
|
1351
|
-
* @type {string}
|
|
1352
|
-
* @memberof AgentStatisticsResponse
|
|
1353
546
|
*/
|
|
1354
547
|
'low_action_cost': string;
|
|
1355
548
|
/**
|
|
1356
549
|
* Medium action cost
|
|
1357
|
-
* @type {string}
|
|
1358
|
-
* @memberof AgentStatisticsResponse
|
|
1359
550
|
*/
|
|
1360
551
|
'medium_action_cost': string;
|
|
1361
552
|
/**
|
|
1362
553
|
* High action cost
|
|
1363
|
-
* @type {string}
|
|
1364
|
-
* @memberof AgentStatisticsResponse
|
|
1365
554
|
*/
|
|
1366
555
|
'high_action_cost': string;
|
|
1367
556
|
}
|
|
1368
557
|
/**
|
|
1369
558
|
* Agent update model.
|
|
1370
|
-
* @export
|
|
1371
|
-
* @interface AgentUpdate
|
|
1372
559
|
*/
|
|
1373
560
|
export interface AgentUpdate {
|
|
1374
|
-
/**
|
|
1375
|
-
*
|
|
1376
|
-
* @type {string}
|
|
1377
|
-
* @memberof AgentUpdate
|
|
1378
|
-
*/
|
|
1379
561
|
'name': string | null;
|
|
1380
|
-
/**
|
|
1381
|
-
*
|
|
1382
|
-
* @type {string}
|
|
1383
|
-
* @memberof AgentUpdate
|
|
1384
|
-
*/
|
|
1385
562
|
'picture'?: string | null;
|
|
1386
|
-
/**
|
|
1387
|
-
*
|
|
1388
|
-
* @type {string}
|
|
1389
|
-
* @memberof AgentUpdate
|
|
1390
|
-
*/
|
|
1391
563
|
'purpose'?: string | null;
|
|
1392
|
-
/**
|
|
1393
|
-
*
|
|
1394
|
-
* @type {string}
|
|
1395
|
-
* @memberof AgentUpdate
|
|
1396
|
-
*/
|
|
1397
564
|
'personality'?: string | null;
|
|
1398
|
-
/**
|
|
1399
|
-
*
|
|
1400
|
-
* @type {string}
|
|
1401
|
-
* @memberof AgentUpdate
|
|
1402
|
-
*/
|
|
1403
565
|
'principles'?: string | null;
|
|
1404
566
|
/**
|
|
1405
567
|
* AI model identifier to be used by this agent for processing requests.
|
|
1406
|
-
* @type {string}
|
|
1407
|
-
* @memberof AgentUpdate
|
|
1408
568
|
*/
|
|
1409
569
|
'model'?: string;
|
|
1410
|
-
/**
|
|
1411
|
-
*
|
|
1412
|
-
* @type {string}
|
|
1413
|
-
* @memberof AgentUpdate
|
|
1414
|
-
*/
|
|
1415
570
|
'prompt'?: string | null;
|
|
1416
|
-
/**
|
|
1417
|
-
*
|
|
1418
|
-
* @type {string}
|
|
1419
|
-
* @memberof AgentUpdate
|
|
1420
|
-
*/
|
|
1421
571
|
'prompt_append'?: string | null;
|
|
1422
|
-
/**
|
|
1423
|
-
*
|
|
1424
|
-
* @type {number}
|
|
1425
|
-
* @memberof AgentUpdate
|
|
1426
|
-
*/
|
|
1427
572
|
'temperature'?: number | null;
|
|
1428
|
-
/**
|
|
1429
|
-
*
|
|
1430
|
-
* @type {number}
|
|
1431
|
-
* @memberof AgentUpdate
|
|
1432
|
-
*/
|
|
1433
573
|
'frequency_penalty'?: number | null;
|
|
1434
|
-
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @type {number}
|
|
1437
|
-
* @memberof AgentUpdate
|
|
1438
|
-
*/
|
|
1439
574
|
'presence_penalty'?: number | null;
|
|
1440
|
-
/**
|
|
1441
|
-
*
|
|
1442
|
-
* @type {string}
|
|
1443
|
-
* @memberof AgentUpdate
|
|
1444
|
-
*/
|
|
1445
575
|
'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
|
|
1446
|
-
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @type {string}
|
|
1449
|
-
* @memberof AgentUpdate
|
|
1450
|
-
*/
|
|
1451
576
|
'readonly_wallet_address'?: string | null;
|
|
1452
|
-
/**
|
|
1453
|
-
*
|
|
1454
|
-
* @type {string}
|
|
1455
|
-
* @memberof AgentUpdate
|
|
1456
|
-
*/
|
|
1457
577
|
'network_id'?: AgentUpdateNetworkIdEnum | null;
|
|
1458
|
-
/**
|
|
1459
|
-
*
|
|
1460
|
-
* @type {object}
|
|
1461
|
-
* @memberof AgentUpdate
|
|
1462
|
-
*/
|
|
1463
578
|
'skills'?: object | null;
|
|
1464
|
-
/**
|
|
1465
|
-
*
|
|
1466
|
-
* @type {string}
|
|
1467
|
-
* @memberof AgentUpdate
|
|
1468
|
-
*/
|
|
1469
579
|
'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
|
|
1470
|
-
/**
|
|
1471
|
-
*
|
|
1472
|
-
* @type {Array<AgentAutonomous>}
|
|
1473
|
-
* @memberof AgentUpdate
|
|
1474
|
-
*/
|
|
1475
580
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1476
|
-
/**
|
|
1477
|
-
*
|
|
1478
|
-
* @type {boolean}
|
|
1479
|
-
* @memberof AgentUpdate
|
|
1480
|
-
*/
|
|
1481
581
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1482
|
-
/**
|
|
1483
|
-
*
|
|
1484
|
-
* @type {string}
|
|
1485
|
-
* @memberof AgentUpdate
|
|
1486
|
-
*/
|
|
1487
582
|
'telegram_entrypoint_prompt'?: string | null;
|
|
1488
|
-
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @type {object}
|
|
1491
|
-
* @memberof AgentUpdate
|
|
1492
|
-
*/
|
|
1493
583
|
'telegram_config'?: object | null;
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
* @type {string}
|
|
1497
|
-
* @memberof AgentUpdate
|
|
1498
|
-
*/
|
|
1499
584
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
1500
|
-
/**
|
|
1501
|
-
*
|
|
1502
|
-
* @type {string}
|
|
1503
|
-
* @memberof AgentUpdate
|
|
1504
|
-
*/
|
|
1505
585
|
'upstream_id'?: string | null;
|
|
1506
|
-
/**
|
|
1507
|
-
*
|
|
1508
|
-
* @type {object}
|
|
1509
|
-
* @memberof AgentUpdate
|
|
1510
|
-
*/
|
|
1511
586
|
'upstream_extra'?: object | null;
|
|
1512
587
|
}
|
|
1513
588
|
export declare const AgentUpdateWalletProviderEnum: {
|
|
@@ -1536,135 +611,31 @@ export declare const AgentUpdateShortTermMemoryStrategyEnum: {
|
|
|
1536
611
|
export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
|
|
1537
612
|
/**
|
|
1538
613
|
* Agent update model.
|
|
1539
|
-
* @export
|
|
1540
|
-
* @interface AgentUserInput
|
|
1541
614
|
*/
|
|
1542
615
|
export interface AgentUserInput {
|
|
1543
|
-
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @type {string}
|
|
1546
|
-
* @memberof AgentUserInput
|
|
1547
|
-
*/
|
|
1548
616
|
'name': string | null;
|
|
1549
|
-
/**
|
|
1550
|
-
*
|
|
1551
|
-
* @type {string}
|
|
1552
|
-
* @memberof AgentUserInput
|
|
1553
|
-
*/
|
|
1554
617
|
'picture'?: string | null;
|
|
1555
|
-
/**
|
|
1556
|
-
*
|
|
1557
|
-
* @type {string}
|
|
1558
|
-
* @memberof AgentUserInput
|
|
1559
|
-
*/
|
|
1560
618
|
'purpose'?: string | null;
|
|
1561
|
-
/**
|
|
1562
|
-
*
|
|
1563
|
-
* @type {string}
|
|
1564
|
-
* @memberof AgentUserInput
|
|
1565
|
-
*/
|
|
1566
619
|
'personality'?: string | null;
|
|
1567
|
-
/**
|
|
1568
|
-
*
|
|
1569
|
-
* @type {string}
|
|
1570
|
-
* @memberof AgentUserInput
|
|
1571
|
-
*/
|
|
1572
620
|
'principles'?: string | null;
|
|
1573
621
|
/**
|
|
1574
622
|
* AI model identifier to be used by this agent for processing requests.
|
|
1575
|
-
* @type {string}
|
|
1576
|
-
* @memberof AgentUserInput
|
|
1577
623
|
*/
|
|
1578
624
|
'model'?: string;
|
|
1579
|
-
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @type {string}
|
|
1582
|
-
* @memberof AgentUserInput
|
|
1583
|
-
*/
|
|
1584
625
|
'prompt'?: string | null;
|
|
1585
|
-
/**
|
|
1586
|
-
*
|
|
1587
|
-
* @type {string}
|
|
1588
|
-
* @memberof AgentUserInput
|
|
1589
|
-
*/
|
|
1590
626
|
'prompt_append'?: string | null;
|
|
1591
|
-
/**
|
|
1592
|
-
*
|
|
1593
|
-
* @type {number}
|
|
1594
|
-
* @memberof AgentUserInput
|
|
1595
|
-
*/
|
|
1596
627
|
'temperature'?: number | null;
|
|
1597
|
-
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @type {number}
|
|
1600
|
-
* @memberof AgentUserInput
|
|
1601
|
-
*/
|
|
1602
628
|
'frequency_penalty'?: number | null;
|
|
1603
|
-
/**
|
|
1604
|
-
*
|
|
1605
|
-
* @type {number}
|
|
1606
|
-
* @memberof AgentUserInput
|
|
1607
|
-
*/
|
|
1608
629
|
'presence_penalty'?: number | null;
|
|
1609
|
-
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof AgentUserInput
|
|
1613
|
-
*/
|
|
1614
630
|
'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
|
|
1615
|
-
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @type {string}
|
|
1618
|
-
* @memberof AgentUserInput
|
|
1619
|
-
*/
|
|
1620
631
|
'readonly_wallet_address'?: string | null;
|
|
1621
|
-
/**
|
|
1622
|
-
*
|
|
1623
|
-
* @type {string}
|
|
1624
|
-
* @memberof AgentUserInput
|
|
1625
|
-
*/
|
|
1626
632
|
'network_id'?: AgentUserInputNetworkIdEnum | null;
|
|
1627
|
-
/**
|
|
1628
|
-
*
|
|
1629
|
-
* @type {object}
|
|
1630
|
-
* @memberof AgentUserInput
|
|
1631
|
-
*/
|
|
1632
633
|
'skills'?: object | null;
|
|
1633
|
-
/**
|
|
1634
|
-
*
|
|
1635
|
-
* @type {string}
|
|
1636
|
-
* @memberof AgentUserInput
|
|
1637
|
-
*/
|
|
1638
634
|
'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
|
|
1639
|
-
/**
|
|
1640
|
-
*
|
|
1641
|
-
* @type {Array<AgentAutonomous>}
|
|
1642
|
-
* @memberof AgentUserInput
|
|
1643
|
-
*/
|
|
1644
635
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1645
|
-
/**
|
|
1646
|
-
*
|
|
1647
|
-
* @type {boolean}
|
|
1648
|
-
* @memberof AgentUserInput
|
|
1649
|
-
*/
|
|
1650
636
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1651
|
-
/**
|
|
1652
|
-
*
|
|
1653
|
-
* @type {string}
|
|
1654
|
-
* @memberof AgentUserInput
|
|
1655
|
-
*/
|
|
1656
637
|
'telegram_entrypoint_prompt'?: string | null;
|
|
1657
|
-
/**
|
|
1658
|
-
*
|
|
1659
|
-
* @type {object}
|
|
1660
|
-
* @memberof AgentUserInput
|
|
1661
|
-
*/
|
|
1662
638
|
'telegram_config'?: object | null;
|
|
1663
|
-
/**
|
|
1664
|
-
*
|
|
1665
|
-
* @type {string}
|
|
1666
|
-
* @memberof AgentUserInput
|
|
1667
|
-
*/
|
|
1668
639
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
1669
640
|
}
|
|
1670
641
|
export declare const AgentUserInputWalletProviderEnum: {
|
|
@@ -1693,27 +664,19 @@ export declare const AgentUserInputShortTermMemoryStrategyEnum: {
|
|
|
1693
664
|
export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
|
|
1694
665
|
/**
|
|
1695
666
|
* Model for individual asset with symbol and balance.
|
|
1696
|
-
* @export
|
|
1697
|
-
* @interface Asset
|
|
1698
667
|
*/
|
|
1699
668
|
export interface Asset {
|
|
1700
669
|
/**
|
|
1701
670
|
* Asset symbol (e.g., ETH, USDC, NATION)
|
|
1702
|
-
* @type {string}
|
|
1703
|
-
* @memberof Asset
|
|
1704
671
|
*/
|
|
1705
672
|
'symbol': string;
|
|
1706
673
|
/**
|
|
1707
674
|
* Asset balance as decimal
|
|
1708
|
-
* @type {string}
|
|
1709
|
-
* @memberof Asset
|
|
1710
675
|
*/
|
|
1711
676
|
'balance': string;
|
|
1712
677
|
}
|
|
1713
678
|
/**
|
|
1714
679
|
* Type of message author.
|
|
1715
|
-
* @export
|
|
1716
|
-
* @enum {string}
|
|
1717
680
|
*/
|
|
1718
681
|
export declare const AuthorType: {
|
|
1719
682
|
readonly Agent: "agent";
|
|
@@ -1729,227 +692,111 @@ export declare const AuthorType: {
|
|
|
1729
692
|
export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
|
|
1730
693
|
/**
|
|
1731
694
|
* Chat model with all fields including server-generated ones.
|
|
1732
|
-
* @export
|
|
1733
|
-
* @interface Chat
|
|
1734
695
|
*/
|
|
1735
696
|
export interface Chat {
|
|
1736
697
|
/**
|
|
1737
698
|
* Unique identifier for the chat
|
|
1738
|
-
* @type {string}
|
|
1739
|
-
* @memberof Chat
|
|
1740
699
|
*/
|
|
1741
700
|
'id'?: string;
|
|
1742
701
|
/**
|
|
1743
702
|
* ID of the agent this chat belongs to
|
|
1744
|
-
* @type {string}
|
|
1745
|
-
* @memberof Chat
|
|
1746
703
|
*/
|
|
1747
704
|
'agent_id': string;
|
|
1748
705
|
/**
|
|
1749
706
|
* User ID of the chat
|
|
1750
|
-
* @type {string}
|
|
1751
|
-
* @memberof Chat
|
|
1752
707
|
*/
|
|
1753
708
|
'user_id': string;
|
|
1754
709
|
/**
|
|
1755
710
|
* Summary of the chat
|
|
1756
|
-
* @type {string}
|
|
1757
|
-
* @memberof Chat
|
|
1758
711
|
*/
|
|
1759
712
|
'summary'?: string;
|
|
1760
713
|
/**
|
|
1761
714
|
* Number of rounds in the chat
|
|
1762
|
-
* @type {number}
|
|
1763
|
-
* @memberof Chat
|
|
1764
715
|
*/
|
|
1765
716
|
'rounds'?: number;
|
|
1766
717
|
/**
|
|
1767
718
|
* Timestamp when this chat was created
|
|
1768
|
-
* @type {string}
|
|
1769
|
-
* @memberof Chat
|
|
1770
719
|
*/
|
|
1771
720
|
'created_at': string;
|
|
1772
721
|
/**
|
|
1773
722
|
* Timestamp when this chat was updated
|
|
1774
|
-
* @type {string}
|
|
1775
|
-
* @memberof Chat
|
|
1776
723
|
*/
|
|
1777
724
|
'updated_at': string;
|
|
1778
725
|
}
|
|
1779
726
|
/**
|
|
1780
727
|
* Chat message model with all fields including server-generated ones.
|
|
1781
|
-
* @export
|
|
1782
|
-
* @interface ChatMessage
|
|
1783
728
|
*/
|
|
1784
729
|
export interface ChatMessage {
|
|
1785
730
|
/**
|
|
1786
731
|
* Unique identifier for the chat message
|
|
1787
|
-
* @type {string}
|
|
1788
|
-
* @memberof ChatMessage
|
|
1789
732
|
*/
|
|
1790
733
|
'id'?: string;
|
|
1791
734
|
/**
|
|
1792
735
|
* ID of the agent this message belongs to
|
|
1793
|
-
* @type {string}
|
|
1794
|
-
* @memberof ChatMessage
|
|
1795
736
|
*/
|
|
1796
737
|
'agent_id': string;
|
|
1797
738
|
/**
|
|
1798
739
|
* ID of the chat this message belongs to
|
|
1799
|
-
* @type {string}
|
|
1800
|
-
* @memberof ChatMessage
|
|
1801
740
|
*/
|
|
1802
741
|
'chat_id': string;
|
|
1803
|
-
/**
|
|
1804
|
-
*
|
|
1805
|
-
* @type {string}
|
|
1806
|
-
* @memberof ChatMessage
|
|
1807
|
-
*/
|
|
1808
742
|
'user_id': string | null;
|
|
1809
743
|
/**
|
|
1810
744
|
* ID of the message author
|
|
1811
|
-
* @type {string}
|
|
1812
|
-
* @memberof ChatMessage
|
|
1813
745
|
*/
|
|
1814
746
|
'author_id': string;
|
|
1815
747
|
/**
|
|
1816
748
|
* Type of the message author
|
|
1817
|
-
* @type {AuthorType}
|
|
1818
|
-
* @memberof ChatMessage
|
|
1819
749
|
*/
|
|
1820
750
|
'author_type': AuthorType;
|
|
1821
|
-
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @type {string}
|
|
1824
|
-
* @memberof ChatMessage
|
|
1825
|
-
*/
|
|
1826
751
|
'model'?: string | null;
|
|
1827
|
-
/**
|
|
1828
|
-
*
|
|
1829
|
-
* @type {AuthorType}
|
|
1830
|
-
* @memberof ChatMessage
|
|
1831
|
-
*/
|
|
1832
752
|
'thread_type'?: AuthorType | null;
|
|
1833
|
-
/**
|
|
1834
|
-
*
|
|
1835
|
-
* @type {string}
|
|
1836
|
-
* @memberof ChatMessage
|
|
1837
|
-
*/
|
|
1838
753
|
'reply_to'?: string | null;
|
|
1839
754
|
/**
|
|
1840
755
|
* Content of the message
|
|
1841
|
-
* @type {string}
|
|
1842
|
-
* @memberof ChatMessage
|
|
1843
756
|
*/
|
|
1844
757
|
'message': string;
|
|
1845
|
-
/**
|
|
1846
|
-
*
|
|
1847
|
-
* @type {Array<ChatMessageAttachment>}
|
|
1848
|
-
* @memberof ChatMessage
|
|
1849
|
-
*/
|
|
1850
758
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
1851
|
-
/**
|
|
1852
|
-
*
|
|
1853
|
-
* @type {Array<ChatMessageSkillCall>}
|
|
1854
|
-
* @memberof ChatMessage
|
|
1855
|
-
*/
|
|
1856
759
|
'skill_calls'?: Array<ChatMessageSkillCall> | null;
|
|
1857
760
|
/**
|
|
1858
761
|
* Number of tokens in the input message
|
|
1859
|
-
* @type {number}
|
|
1860
|
-
* @memberof ChatMessage
|
|
1861
762
|
*/
|
|
1862
763
|
'input_tokens'?: number;
|
|
1863
764
|
/**
|
|
1864
765
|
* Number of tokens in the output message
|
|
1865
|
-
* @type {number}
|
|
1866
|
-
* @memberof ChatMessage
|
|
1867
766
|
*/
|
|
1868
767
|
'output_tokens'?: number;
|
|
1869
768
|
/**
|
|
1870
769
|
* Time cost for the message in seconds
|
|
1871
|
-
* @type {number}
|
|
1872
|
-
* @memberof ChatMessage
|
|
1873
770
|
*/
|
|
1874
771
|
'time_cost'?: number;
|
|
1875
|
-
/**
|
|
1876
|
-
*
|
|
1877
|
-
* @type {string}
|
|
1878
|
-
* @memberof ChatMessage
|
|
1879
|
-
*/
|
|
1880
772
|
'credit_event_id'?: string | null;
|
|
1881
|
-
/**
|
|
1882
|
-
*
|
|
1883
|
-
* @type {string}
|
|
1884
|
-
* @memberof ChatMessage
|
|
1885
|
-
*/
|
|
1886
773
|
'credit_cost'?: string | null;
|
|
1887
774
|
/**
|
|
1888
775
|
* Cost for the cold start of the message in seconds
|
|
1889
|
-
* @type {number}
|
|
1890
|
-
* @memberof ChatMessage
|
|
1891
776
|
*/
|
|
1892
777
|
'cold_start_cost'?: number;
|
|
1893
|
-
/**
|
|
1894
|
-
*
|
|
1895
|
-
* @type {string}
|
|
1896
|
-
* @memberof ChatMessage
|
|
1897
|
-
*/
|
|
1898
778
|
'app_id'?: string | null;
|
|
1899
|
-
/**
|
|
1900
|
-
*
|
|
1901
|
-
* @type {boolean}
|
|
1902
|
-
* @memberof ChatMessage
|
|
1903
|
-
*/
|
|
1904
779
|
'search_mode'?: boolean | null;
|
|
1905
|
-
/**
|
|
1906
|
-
*
|
|
1907
|
-
* @type {boolean}
|
|
1908
|
-
* @memberof ChatMessage
|
|
1909
|
-
*/
|
|
1910
780
|
'super_mode'?: boolean | null;
|
|
1911
|
-
/**
|
|
1912
|
-
*
|
|
1913
|
-
* @type {SystemMessageType}
|
|
1914
|
-
* @memberof ChatMessage
|
|
1915
|
-
*/
|
|
1916
781
|
'error_type'?: SystemMessageType | null;
|
|
1917
782
|
/**
|
|
1918
783
|
* Timestamp when this message was created
|
|
1919
|
-
* @type {string}
|
|
1920
|
-
* @memberof ChatMessage
|
|
1921
784
|
*/
|
|
1922
785
|
'created_at': string;
|
|
1923
786
|
}
|
|
1924
787
|
/**
|
|
1925
788
|
* Chat message attachment model. An attachment can be a link, image, or file that is associated with a chat message.
|
|
1926
|
-
* @export
|
|
1927
|
-
* @interface ChatMessageAttachment
|
|
1928
789
|
*/
|
|
1929
790
|
export interface ChatMessageAttachment {
|
|
1930
791
|
/**
|
|
1931
792
|
* Type of the attachment (link, image, or file)
|
|
1932
|
-
* @type {ChatMessageAttachmentType}
|
|
1933
|
-
* @memberof ChatMessageAttachment
|
|
1934
793
|
*/
|
|
1935
794
|
'type': ChatMessageAttachmentType;
|
|
1936
|
-
/**
|
|
1937
|
-
*
|
|
1938
|
-
* @type {string}
|
|
1939
|
-
* @memberof ChatMessageAttachment
|
|
1940
|
-
*/
|
|
1941
795
|
'url': string | null;
|
|
1942
|
-
/**
|
|
1943
|
-
*
|
|
1944
|
-
* @type {object}
|
|
1945
|
-
* @memberof ChatMessageAttachment
|
|
1946
|
-
*/
|
|
1947
796
|
'json'?: object | null;
|
|
1948
797
|
}
|
|
1949
798
|
/**
|
|
1950
799
|
* Type of chat message attachment.
|
|
1951
|
-
* @export
|
|
1952
|
-
* @enum {string}
|
|
1953
800
|
*/
|
|
1954
801
|
export declare const ChatMessageAttachmentType: {
|
|
1955
802
|
readonly Link: "link";
|
|
@@ -1960,277 +807,130 @@ export declare const ChatMessageAttachmentType: {
|
|
|
1960
807
|
export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof typeof ChatMessageAttachmentType];
|
|
1961
808
|
/**
|
|
1962
809
|
* Request model for chat messages. This model represents the request body for creating a new chat message. It contains the necessary fields to identify the chat context and message content, along with optional attachments. The user ID is obtained from authentication and not included in the request body.
|
|
1963
|
-
* @export
|
|
1964
|
-
* @interface ChatMessageRequest
|
|
1965
810
|
*/
|
|
1966
811
|
export interface ChatMessageRequest {
|
|
1967
|
-
/**
|
|
1968
|
-
*
|
|
1969
|
-
* @type {string}
|
|
1970
|
-
* @memberof ChatMessageRequest
|
|
1971
|
-
*/
|
|
1972
812
|
'app_id'?: string | null;
|
|
1973
813
|
/**
|
|
1974
814
|
* Content of the message
|
|
1975
|
-
* @type {string}
|
|
1976
|
-
* @memberof ChatMessageRequest
|
|
1977
815
|
*/
|
|
1978
816
|
'message': string;
|
|
1979
|
-
/**
|
|
1980
|
-
*
|
|
1981
|
-
* @type {boolean}
|
|
1982
|
-
* @memberof ChatMessageRequest
|
|
1983
|
-
*/
|
|
1984
817
|
'stream'?: boolean | null;
|
|
1985
|
-
/**
|
|
1986
|
-
*
|
|
1987
|
-
* @type {boolean}
|
|
1988
|
-
* @memberof ChatMessageRequest
|
|
1989
|
-
*/
|
|
1990
818
|
'search_mode'?: boolean | null;
|
|
1991
|
-
/**
|
|
1992
|
-
*
|
|
1993
|
-
* @type {boolean}
|
|
1994
|
-
* @memberof ChatMessageRequest
|
|
1995
|
-
*/
|
|
1996
819
|
'super_mode'?: boolean | null;
|
|
1997
|
-
/**
|
|
1998
|
-
*
|
|
1999
|
-
* @type {Array<ChatMessageAttachment>}
|
|
2000
|
-
* @memberof ChatMessageRequest
|
|
2001
|
-
*/
|
|
2002
820
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
2003
821
|
}
|
|
2004
822
|
/**
|
|
2005
823
|
* TypedDict for skill call details.
|
|
2006
|
-
* @export
|
|
2007
|
-
* @interface ChatMessageSkillCall
|
|
2008
824
|
*/
|
|
2009
825
|
export interface ChatMessageSkillCall {
|
|
2010
|
-
/**
|
|
2011
|
-
*
|
|
2012
|
-
* @type {string}
|
|
2013
|
-
* @memberof ChatMessageSkillCall
|
|
2014
|
-
*/
|
|
2015
826
|
'id'?: string;
|
|
2016
|
-
/**
|
|
2017
|
-
*
|
|
2018
|
-
* @type {string}
|
|
2019
|
-
* @memberof ChatMessageSkillCall
|
|
2020
|
-
*/
|
|
2021
827
|
'name': string;
|
|
2022
|
-
/**
|
|
2023
|
-
*
|
|
2024
|
-
* @type {object}
|
|
2025
|
-
* @memberof ChatMessageSkillCall
|
|
2026
|
-
*/
|
|
2027
828
|
'parameters': object;
|
|
2028
|
-
/**
|
|
2029
|
-
*
|
|
2030
|
-
* @type {boolean}
|
|
2031
|
-
* @memberof ChatMessageSkillCall
|
|
2032
|
-
*/
|
|
2033
829
|
'success': boolean;
|
|
2034
|
-
/**
|
|
2035
|
-
*
|
|
2036
|
-
* @type {string}
|
|
2037
|
-
* @memberof ChatMessageSkillCall
|
|
2038
|
-
*/
|
|
2039
830
|
'response'?: string;
|
|
2040
|
-
/**
|
|
2041
|
-
*
|
|
2042
|
-
* @type {string}
|
|
2043
|
-
* @memberof ChatMessageSkillCall
|
|
2044
|
-
*/
|
|
2045
831
|
'error_message'?: string;
|
|
2046
|
-
/**
|
|
2047
|
-
*
|
|
2048
|
-
* @type {string}
|
|
2049
|
-
* @memberof ChatMessageSkillCall
|
|
2050
|
-
*/
|
|
2051
832
|
'credit_event_id'?: string;
|
|
2052
|
-
/**
|
|
2053
|
-
*
|
|
2054
|
-
* @type {string}
|
|
2055
|
-
* @memberof ChatMessageSkillCall
|
|
2056
|
-
*/
|
|
2057
833
|
'credit_cost'?: string;
|
|
2058
834
|
}
|
|
2059
835
|
/**
|
|
2060
836
|
* Response model for chat messages with pagination.
|
|
2061
|
-
* @export
|
|
2062
|
-
* @interface ChatMessagesResponse
|
|
2063
837
|
*/
|
|
2064
838
|
export interface ChatMessagesResponse {
|
|
2065
|
-
/**
|
|
2066
|
-
*
|
|
2067
|
-
* @type {Array<ChatMessage>}
|
|
2068
|
-
* @memberof ChatMessagesResponse
|
|
2069
|
-
*/
|
|
2070
839
|
'data': Array<ChatMessage>;
|
|
2071
|
-
/**
|
|
2072
|
-
*
|
|
2073
|
-
* @type {boolean}
|
|
2074
|
-
* @memberof ChatMessagesResponse
|
|
2075
|
-
*/
|
|
2076
840
|
'has_more'?: boolean;
|
|
2077
|
-
/**
|
|
2078
|
-
*
|
|
2079
|
-
* @type {string}
|
|
2080
|
-
* @memberof ChatMessagesResponse
|
|
2081
|
-
*/
|
|
2082
841
|
'next_cursor'?: string | null;
|
|
2083
842
|
}
|
|
2084
843
|
/**
|
|
2085
844
|
* Request model for updating a chat thread.
|
|
2086
|
-
* @export
|
|
2087
|
-
* @interface ChatUpdateRequest
|
|
2088
845
|
*/
|
|
2089
846
|
export interface ChatUpdateRequest {
|
|
2090
847
|
/**
|
|
2091
848
|
* Updated summary for the chat thread
|
|
2092
|
-
* @type {string}
|
|
2093
|
-
* @memberof ChatUpdateRequest
|
|
2094
849
|
*/
|
|
2095
850
|
'summary': string;
|
|
2096
851
|
}
|
|
2097
852
|
/**
|
|
2098
853
|
* Credit account model with all fields.
|
|
2099
|
-
* @export
|
|
2100
|
-
* @interface CreditAccount
|
|
2101
854
|
*/
|
|
2102
855
|
export interface CreditAccount {
|
|
2103
856
|
/**
|
|
2104
857
|
* Unique identifier for the credit account
|
|
2105
|
-
* @type {string}
|
|
2106
|
-
* @memberof CreditAccount
|
|
2107
858
|
*/
|
|
2108
859
|
'id'?: string;
|
|
2109
860
|
/**
|
|
2110
861
|
* Type of the account owner
|
|
2111
|
-
* @type {OwnerType}
|
|
2112
|
-
* @memberof CreditAccount
|
|
2113
862
|
*/
|
|
2114
863
|
'owner_type': OwnerType;
|
|
2115
864
|
/**
|
|
2116
865
|
* ID of the account owner
|
|
2117
|
-
* @type {string}
|
|
2118
|
-
* @memberof CreditAccount
|
|
2119
866
|
*/
|
|
2120
867
|
'owner_id': string;
|
|
2121
868
|
/**
|
|
2122
869
|
* Daily credit quota that resets each day
|
|
2123
|
-
* @type {string}
|
|
2124
|
-
* @memberof CreditAccount
|
|
2125
870
|
*/
|
|
2126
871
|
'free_quota'?: string;
|
|
2127
872
|
/**
|
|
2128
873
|
* Amount to refill hourly, not exceeding free_quota
|
|
2129
|
-
* @type {string}
|
|
2130
|
-
* @memberof CreditAccount
|
|
2131
874
|
*/
|
|
2132
875
|
'refill_amount'?: string;
|
|
2133
876
|
/**
|
|
2134
877
|
* Current available daily credits
|
|
2135
|
-
* @type {string}
|
|
2136
|
-
* @memberof CreditAccount
|
|
2137
878
|
*/
|
|
2138
879
|
'free_credits'?: string;
|
|
2139
880
|
/**
|
|
2140
881
|
* Reward credits earned through rewards
|
|
2141
|
-
* @type {string}
|
|
2142
|
-
* @memberof CreditAccount
|
|
2143
882
|
*/
|
|
2144
883
|
'reward_credits'?: string;
|
|
2145
884
|
/**
|
|
2146
885
|
* Credits added through top-ups
|
|
2147
|
-
* @type {string}
|
|
2148
|
-
* @memberof CreditAccount
|
|
2149
886
|
*/
|
|
2150
887
|
'credits'?: string;
|
|
2151
|
-
/**
|
|
2152
|
-
*
|
|
2153
|
-
* @type {string}
|
|
2154
|
-
* @memberof CreditAccount
|
|
2155
|
-
*/
|
|
2156
888
|
'income_at'?: string | null;
|
|
2157
|
-
/**
|
|
2158
|
-
*
|
|
2159
|
-
* @type {string}
|
|
2160
|
-
* @memberof CreditAccount
|
|
2161
|
-
*/
|
|
2162
889
|
'expense_at'?: string | null;
|
|
2163
|
-
/**
|
|
2164
|
-
*
|
|
2165
|
-
* @type {string}
|
|
2166
|
-
* @memberof CreditAccount
|
|
2167
|
-
*/
|
|
2168
890
|
'last_event_id'?: string | null;
|
|
2169
891
|
/**
|
|
2170
892
|
* Total income from all credit transactions
|
|
2171
|
-
* @type {string}
|
|
2172
|
-
* @memberof CreditAccount
|
|
2173
893
|
*/
|
|
2174
894
|
'total_income'?: string;
|
|
2175
895
|
/**
|
|
2176
896
|
* Total income from free credit transactions
|
|
2177
|
-
* @type {string}
|
|
2178
|
-
* @memberof CreditAccount
|
|
2179
897
|
*/
|
|
2180
898
|
'total_free_income'?: string;
|
|
2181
899
|
/**
|
|
2182
900
|
* Total income from reward credit transactions
|
|
2183
|
-
* @type {string}
|
|
2184
|
-
* @memberof CreditAccount
|
|
2185
901
|
*/
|
|
2186
902
|
'total_reward_income'?: string;
|
|
2187
903
|
/**
|
|
2188
904
|
* Total income from permanent credit transactions
|
|
2189
|
-
* @type {string}
|
|
2190
|
-
* @memberof CreditAccount
|
|
2191
905
|
*/
|
|
2192
906
|
'total_permanent_income'?: string;
|
|
2193
907
|
/**
|
|
2194
908
|
* Total expense from all credit transactions
|
|
2195
|
-
* @type {string}
|
|
2196
|
-
* @memberof CreditAccount
|
|
2197
909
|
*/
|
|
2198
910
|
'total_expense'?: string;
|
|
2199
911
|
/**
|
|
2200
912
|
* Total expense from free credit transactions
|
|
2201
|
-
* @type {string}
|
|
2202
|
-
* @memberof CreditAccount
|
|
2203
913
|
*/
|
|
2204
914
|
'total_free_expense'?: string;
|
|
2205
915
|
/**
|
|
2206
916
|
* Total expense from reward credit transactions
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof CreditAccount
|
|
2209
917
|
*/
|
|
2210
918
|
'total_reward_expense'?: string;
|
|
2211
919
|
/**
|
|
2212
920
|
* Total expense from permanent credit transactions
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof CreditAccount
|
|
2215
921
|
*/
|
|
2216
922
|
'total_permanent_expense'?: string;
|
|
2217
923
|
/**
|
|
2218
924
|
* Timestamp when this account was created
|
|
2219
|
-
* @type {string}
|
|
2220
|
-
* @memberof CreditAccount
|
|
2221
925
|
*/
|
|
2222
926
|
'created_at': string;
|
|
2223
927
|
/**
|
|
2224
928
|
* Timestamp when this account was last updated
|
|
2225
|
-
* @type {string}
|
|
2226
|
-
* @memberof CreditAccount
|
|
2227
929
|
*/
|
|
2228
930
|
'updated_at': string;
|
|
2229
931
|
}
|
|
2230
932
|
/**
|
|
2231
933
|
* Credit or debit transaction.
|
|
2232
|
-
* @export
|
|
2233
|
-
* @enum {string}
|
|
2234
934
|
*/
|
|
2235
935
|
export declare const CreditDebit: {
|
|
2236
936
|
readonly Credit: "credit";
|
|
@@ -2239,697 +939,245 @@ export declare const CreditDebit: {
|
|
|
2239
939
|
export type CreditDebit = typeof CreditDebit[keyof typeof CreditDebit];
|
|
2240
940
|
/**
|
|
2241
941
|
* Credit event model with all fields.
|
|
2242
|
-
* @export
|
|
2243
|
-
* @interface CreditEvent
|
|
2244
942
|
*/
|
|
2245
943
|
export interface CreditEvent {
|
|
2246
944
|
/**
|
|
2247
945
|
* Unique identifier for the credit event
|
|
2248
|
-
* @type {string}
|
|
2249
|
-
* @memberof CreditEvent
|
|
2250
946
|
*/
|
|
2251
947
|
'id'?: string;
|
|
2252
948
|
/**
|
|
2253
949
|
* Account ID from which credits flow
|
|
2254
|
-
* @type {string}
|
|
2255
|
-
* @memberof CreditEvent
|
|
2256
950
|
*/
|
|
2257
951
|
'account_id'?: string;
|
|
2258
952
|
/**
|
|
2259
953
|
* Type of the event
|
|
2260
|
-
* @type {EventType}
|
|
2261
|
-
* @memberof CreditEvent
|
|
2262
954
|
*/
|
|
2263
955
|
'event_type': EventType;
|
|
2264
|
-
/**
|
|
2265
|
-
*
|
|
2266
|
-
* @type {string}
|
|
2267
|
-
* @memberof CreditEvent
|
|
2268
|
-
*/
|
|
2269
956
|
'user_id'?: string | null;
|
|
2270
957
|
/**
|
|
2271
958
|
* Type of upstream transaction
|
|
2272
|
-
* @type {UpstreamType}
|
|
2273
|
-
* @memberof CreditEvent
|
|
2274
959
|
*/
|
|
2275
960
|
'upstream_type': UpstreamType;
|
|
2276
961
|
/**
|
|
2277
962
|
* Upstream transaction ID if any
|
|
2278
|
-
* @type {string}
|
|
2279
|
-
* @memberof CreditEvent
|
|
2280
963
|
*/
|
|
2281
964
|
'upstream_tx_id': string;
|
|
2282
|
-
/**
|
|
2283
|
-
*
|
|
2284
|
-
* @type {string}
|
|
2285
|
-
* @memberof CreditEvent
|
|
2286
|
-
*/
|
|
2287
965
|
'agent_id'?: string | null;
|
|
2288
|
-
/**
|
|
2289
|
-
*
|
|
2290
|
-
* @type {string}
|
|
2291
|
-
* @memberof CreditEvent
|
|
2292
|
-
*/
|
|
2293
966
|
'agent_wallet_address'?: string | null;
|
|
2294
|
-
/**
|
|
2295
|
-
*
|
|
2296
|
-
* @type {string}
|
|
2297
|
-
* @memberof CreditEvent
|
|
2298
|
-
*/
|
|
2299
967
|
'start_message_id'?: string | null;
|
|
2300
|
-
/**
|
|
2301
|
-
*
|
|
2302
|
-
* @type {string}
|
|
2303
|
-
* @memberof CreditEvent
|
|
2304
|
-
*/
|
|
2305
968
|
'message_id'?: string | null;
|
|
2306
|
-
/**
|
|
2307
|
-
*
|
|
2308
|
-
* @type {string}
|
|
2309
|
-
* @memberof CreditEvent
|
|
2310
|
-
*/
|
|
2311
969
|
'model'?: string | null;
|
|
2312
|
-
/**
|
|
2313
|
-
*
|
|
2314
|
-
* @type {string}
|
|
2315
|
-
* @memberof CreditEvent
|
|
2316
|
-
*/
|
|
2317
970
|
'skill_call_id'?: string | null;
|
|
2318
|
-
/**
|
|
2319
|
-
*
|
|
2320
|
-
* @type {string}
|
|
2321
|
-
* @memberof CreditEvent
|
|
2322
|
-
*/
|
|
2323
971
|
'skill_name'?: string | null;
|
|
2324
972
|
/**
|
|
2325
973
|
* Direction of the credit flow
|
|
2326
|
-
* @type {Direction}
|
|
2327
|
-
* @memberof CreditEvent
|
|
2328
974
|
*/
|
|
2329
975
|
'direction': Direction;
|
|
2330
976
|
/**
|
|
2331
977
|
* Total amount (after discount) of credits involved
|
|
2332
|
-
* @type {string}
|
|
2333
|
-
* @memberof CreditEvent
|
|
2334
978
|
*/
|
|
2335
979
|
'total_amount'?: string;
|
|
2336
980
|
/**
|
|
2337
981
|
* Type of credits involved
|
|
2338
|
-
* @type {CreditType}
|
|
2339
|
-
* @memberof CreditEvent
|
|
2340
982
|
*/
|
|
2341
983
|
'credit_type': CreditType;
|
|
2342
|
-
/**
|
|
2343
|
-
*
|
|
2344
|
-
* @type {Array<CreditType>}
|
|
2345
|
-
* @memberof CreditEvent
|
|
2346
|
-
*/
|
|
2347
984
|
'credit_types'?: Array<CreditType> | null;
|
|
2348
|
-
/**
|
|
2349
|
-
*
|
|
2350
|
-
* @type {string}
|
|
2351
|
-
* @memberof CreditEvent
|
|
2352
|
-
*/
|
|
2353
985
|
'balance_after'?: string | null;
|
|
2354
986
|
/**
|
|
2355
987
|
* Base amount of credits involved
|
|
2356
|
-
* @type {string}
|
|
2357
|
-
* @memberof CreditEvent
|
|
2358
988
|
*/
|
|
2359
989
|
'base_amount'?: string;
|
|
2360
|
-
/**
|
|
2361
|
-
*
|
|
2362
|
-
* @type {string}
|
|
2363
|
-
* @memberof CreditEvent
|
|
2364
|
-
*/
|
|
2365
990
|
'base_discount_amount'?: string | null;
|
|
2366
|
-
/**
|
|
2367
|
-
*
|
|
2368
|
-
* @type {string}
|
|
2369
|
-
* @memberof CreditEvent
|
|
2370
|
-
*/
|
|
2371
991
|
'base_original_amount'?: string | null;
|
|
2372
|
-
/**
|
|
2373
|
-
*
|
|
2374
|
-
* @type {string}
|
|
2375
|
-
* @memberof CreditEvent
|
|
2376
|
-
*/
|
|
2377
992
|
'base_llm_amount'?: string | null;
|
|
2378
|
-
/**
|
|
2379
|
-
*
|
|
2380
|
-
* @type {string}
|
|
2381
|
-
* @memberof CreditEvent
|
|
2382
|
-
*/
|
|
2383
993
|
'base_skill_amount'?: string | null;
|
|
2384
|
-
/**
|
|
2385
|
-
*
|
|
2386
|
-
* @type {string}
|
|
2387
|
-
* @memberof CreditEvent
|
|
2388
|
-
*/
|
|
2389
994
|
'base_free_amount'?: string | null;
|
|
2390
|
-
/**
|
|
2391
|
-
*
|
|
2392
|
-
* @type {string}
|
|
2393
|
-
* @memberof CreditEvent
|
|
2394
|
-
*/
|
|
2395
995
|
'base_reward_amount'?: string | null;
|
|
2396
|
-
/**
|
|
2397
|
-
*
|
|
2398
|
-
* @type {string}
|
|
2399
|
-
* @memberof CreditEvent
|
|
2400
|
-
*/
|
|
2401
996
|
'base_permanent_amount'?: string | null;
|
|
2402
|
-
/**
|
|
2403
|
-
*
|
|
2404
|
-
* @type {string}
|
|
2405
|
-
* @memberof CreditEvent
|
|
2406
|
-
*/
|
|
2407
997
|
'fee_platform_amount'?: string | null;
|
|
2408
|
-
/**
|
|
2409
|
-
*
|
|
2410
|
-
* @type {string}
|
|
2411
|
-
* @memberof CreditEvent
|
|
2412
|
-
*/
|
|
2413
998
|
'fee_platform_free_amount'?: string | null;
|
|
2414
|
-
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @type {string}
|
|
2417
|
-
* @memberof CreditEvent
|
|
2418
|
-
*/
|
|
2419
999
|
'fee_platform_reward_amount'?: string | null;
|
|
2420
|
-
/**
|
|
2421
|
-
*
|
|
2422
|
-
* @type {string}
|
|
2423
|
-
* @memberof CreditEvent
|
|
2424
|
-
*/
|
|
2425
1000
|
'fee_platform_permanent_amount'?: string | null;
|
|
2426
|
-
/**
|
|
2427
|
-
*
|
|
2428
|
-
* @type {string}
|
|
2429
|
-
* @memberof CreditEvent
|
|
2430
|
-
*/
|
|
2431
1001
|
'fee_dev_account'?: string | null;
|
|
2432
|
-
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {string}
|
|
2435
|
-
* @memberof CreditEvent
|
|
2436
|
-
*/
|
|
2437
1002
|
'fee_dev_amount'?: string | null;
|
|
2438
|
-
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @type {string}
|
|
2441
|
-
* @memberof CreditEvent
|
|
2442
|
-
*/
|
|
2443
1003
|
'fee_dev_free_amount'?: string | null;
|
|
2444
|
-
/**
|
|
2445
|
-
*
|
|
2446
|
-
* @type {string}
|
|
2447
|
-
* @memberof CreditEvent
|
|
2448
|
-
*/
|
|
2449
1004
|
'fee_dev_reward_amount'?: string | null;
|
|
2450
|
-
/**
|
|
2451
|
-
*
|
|
2452
|
-
* @type {string}
|
|
2453
|
-
* @memberof CreditEvent
|
|
2454
|
-
*/
|
|
2455
1005
|
'fee_dev_permanent_amount'?: string | null;
|
|
2456
|
-
/**
|
|
2457
|
-
*
|
|
2458
|
-
* @type {string}
|
|
2459
|
-
* @memberof CreditEvent
|
|
2460
|
-
*/
|
|
2461
1006
|
'fee_agent_account'?: string | null;
|
|
2462
|
-
/**
|
|
2463
|
-
*
|
|
2464
|
-
* @type {string}
|
|
2465
|
-
* @memberof CreditEvent
|
|
2466
|
-
*/
|
|
2467
1007
|
'fee_agent_amount'?: string | null;
|
|
2468
|
-
/**
|
|
2469
|
-
*
|
|
2470
|
-
* @type {string}
|
|
2471
|
-
* @memberof CreditEvent
|
|
2472
|
-
*/
|
|
2473
1008
|
'fee_agent_free_amount'?: string | null;
|
|
2474
|
-
/**
|
|
2475
|
-
*
|
|
2476
|
-
* @type {string}
|
|
2477
|
-
* @memberof CreditEvent
|
|
2478
|
-
*/
|
|
2479
1009
|
'fee_agent_reward_amount'?: string | null;
|
|
2480
|
-
/**
|
|
2481
|
-
*
|
|
2482
|
-
* @type {string}
|
|
2483
|
-
* @memberof CreditEvent
|
|
2484
|
-
*/
|
|
2485
1010
|
'fee_agent_permanent_amount'?: string | null;
|
|
2486
|
-
/**
|
|
2487
|
-
*
|
|
2488
|
-
* @type {string}
|
|
2489
|
-
* @memberof CreditEvent
|
|
2490
|
-
*/
|
|
2491
1011
|
'free_amount'?: string | null;
|
|
2492
|
-
/**
|
|
2493
|
-
*
|
|
2494
|
-
* @type {string}
|
|
2495
|
-
* @memberof CreditEvent
|
|
2496
|
-
*/
|
|
2497
1012
|
'reward_amount'?: string | null;
|
|
2498
|
-
/**
|
|
2499
|
-
*
|
|
2500
|
-
* @type {string}
|
|
2501
|
-
* @memberof CreditEvent
|
|
2502
|
-
*/
|
|
2503
1013
|
'permanent_amount'?: string | null;
|
|
2504
|
-
/**
|
|
2505
|
-
*
|
|
2506
|
-
* @type {string}
|
|
2507
|
-
* @memberof CreditEvent
|
|
2508
|
-
*/
|
|
2509
1014
|
'note'?: string | null;
|
|
2510
1015
|
/**
|
|
2511
1016
|
* Timestamp when this event was created
|
|
2512
|
-
* @type {string}
|
|
2513
|
-
* @memberof CreditEvent
|
|
2514
1017
|
*/
|
|
2515
1018
|
'created_at': string;
|
|
2516
1019
|
}
|
|
2517
1020
|
/**
|
|
2518
1021
|
* Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
|
|
2519
|
-
* @export
|
|
2520
|
-
* @interface CreditEventWithAgent
|
|
2521
1022
|
*/
|
|
2522
1023
|
export interface CreditEventWithAgent {
|
|
2523
1024
|
/**
|
|
2524
1025
|
* Unique identifier for the credit event
|
|
2525
|
-
* @type {string}
|
|
2526
|
-
* @memberof CreditEventWithAgent
|
|
2527
1026
|
*/
|
|
2528
1027
|
'id'?: string;
|
|
2529
1028
|
/**
|
|
2530
1029
|
* Account ID from which credits flow
|
|
2531
|
-
* @type {string}
|
|
2532
|
-
* @memberof CreditEventWithAgent
|
|
2533
1030
|
*/
|
|
2534
1031
|
'account_id'?: string;
|
|
2535
1032
|
/**
|
|
2536
1033
|
* Type of the event
|
|
2537
|
-
* @type {EventType}
|
|
2538
|
-
* @memberof CreditEventWithAgent
|
|
2539
1034
|
*/
|
|
2540
1035
|
'event_type': EventType;
|
|
2541
|
-
/**
|
|
2542
|
-
*
|
|
2543
|
-
* @type {string}
|
|
2544
|
-
* @memberof CreditEventWithAgent
|
|
2545
|
-
*/
|
|
2546
1036
|
'user_id'?: string | null;
|
|
2547
1037
|
/**
|
|
2548
1038
|
* Type of upstream transaction
|
|
2549
|
-
* @type {UpstreamType}
|
|
2550
|
-
* @memberof CreditEventWithAgent
|
|
2551
1039
|
*/
|
|
2552
1040
|
'upstream_type': UpstreamType;
|
|
2553
1041
|
/**
|
|
2554
1042
|
* Upstream transaction ID if any
|
|
2555
|
-
* @type {string}
|
|
2556
|
-
* @memberof CreditEventWithAgent
|
|
2557
1043
|
*/
|
|
2558
1044
|
'upstream_tx_id': string;
|
|
2559
|
-
/**
|
|
2560
|
-
*
|
|
2561
|
-
* @type {string}
|
|
2562
|
-
* @memberof CreditEventWithAgent
|
|
2563
|
-
*/
|
|
2564
1045
|
'agent_id'?: string | null;
|
|
2565
|
-
/**
|
|
2566
|
-
*
|
|
2567
|
-
* @type {string}
|
|
2568
|
-
* @memberof CreditEventWithAgent
|
|
2569
|
-
*/
|
|
2570
1046
|
'agent_wallet_address'?: string | null;
|
|
2571
|
-
/**
|
|
2572
|
-
*
|
|
2573
|
-
* @type {string}
|
|
2574
|
-
* @memberof CreditEventWithAgent
|
|
2575
|
-
*/
|
|
2576
1047
|
'start_message_id'?: string | null;
|
|
2577
|
-
/**
|
|
2578
|
-
*
|
|
2579
|
-
* @type {string}
|
|
2580
|
-
* @memberof CreditEventWithAgent
|
|
2581
|
-
*/
|
|
2582
1048
|
'message_id'?: string | null;
|
|
2583
|
-
/**
|
|
2584
|
-
*
|
|
2585
|
-
* @type {string}
|
|
2586
|
-
* @memberof CreditEventWithAgent
|
|
2587
|
-
*/
|
|
2588
1049
|
'model'?: string | null;
|
|
2589
|
-
/**
|
|
2590
|
-
*
|
|
2591
|
-
* @type {string}
|
|
2592
|
-
* @memberof CreditEventWithAgent
|
|
2593
|
-
*/
|
|
2594
1050
|
'skill_call_id'?: string | null;
|
|
2595
|
-
/**
|
|
2596
|
-
*
|
|
2597
|
-
* @type {string}
|
|
2598
|
-
* @memberof CreditEventWithAgent
|
|
2599
|
-
*/
|
|
2600
1051
|
'skill_name'?: string | null;
|
|
2601
1052
|
/**
|
|
2602
1053
|
* Direction of the credit flow
|
|
2603
|
-
* @type {Direction}
|
|
2604
|
-
* @memberof CreditEventWithAgent
|
|
2605
1054
|
*/
|
|
2606
1055
|
'direction': Direction;
|
|
2607
1056
|
/**
|
|
2608
1057
|
* Total amount (after discount) of credits involved
|
|
2609
|
-
* @type {string}
|
|
2610
|
-
* @memberof CreditEventWithAgent
|
|
2611
1058
|
*/
|
|
2612
1059
|
'total_amount'?: string;
|
|
2613
1060
|
/**
|
|
2614
1061
|
* Type of credits involved
|
|
2615
|
-
* @type {CreditType}
|
|
2616
|
-
* @memberof CreditEventWithAgent
|
|
2617
1062
|
*/
|
|
2618
1063
|
'credit_type': CreditType;
|
|
2619
|
-
/**
|
|
2620
|
-
*
|
|
2621
|
-
* @type {Array<CreditType>}
|
|
2622
|
-
* @memberof CreditEventWithAgent
|
|
2623
|
-
*/
|
|
2624
1064
|
'credit_types'?: Array<CreditType> | null;
|
|
2625
|
-
/**
|
|
2626
|
-
*
|
|
2627
|
-
* @type {string}
|
|
2628
|
-
* @memberof CreditEventWithAgent
|
|
2629
|
-
*/
|
|
2630
1065
|
'balance_after'?: string | null;
|
|
2631
1066
|
/**
|
|
2632
1067
|
* Base amount of credits involved
|
|
2633
|
-
* @type {string}
|
|
2634
|
-
* @memberof CreditEventWithAgent
|
|
2635
1068
|
*/
|
|
2636
1069
|
'base_amount'?: string;
|
|
2637
|
-
/**
|
|
2638
|
-
*
|
|
2639
|
-
* @type {string}
|
|
2640
|
-
* @memberof CreditEventWithAgent
|
|
2641
|
-
*/
|
|
2642
1070
|
'base_discount_amount'?: string | null;
|
|
2643
|
-
/**
|
|
2644
|
-
*
|
|
2645
|
-
* @type {string}
|
|
2646
|
-
* @memberof CreditEventWithAgent
|
|
2647
|
-
*/
|
|
2648
1071
|
'base_original_amount'?: string | null;
|
|
2649
|
-
/**
|
|
2650
|
-
*
|
|
2651
|
-
* @type {string}
|
|
2652
|
-
* @memberof CreditEventWithAgent
|
|
2653
|
-
*/
|
|
2654
1072
|
'base_llm_amount'?: string | null;
|
|
2655
|
-
/**
|
|
2656
|
-
*
|
|
2657
|
-
* @type {string}
|
|
2658
|
-
* @memberof CreditEventWithAgent
|
|
2659
|
-
*/
|
|
2660
1073
|
'base_skill_amount'?: string | null;
|
|
2661
|
-
/**
|
|
2662
|
-
*
|
|
2663
|
-
* @type {string}
|
|
2664
|
-
* @memberof CreditEventWithAgent
|
|
2665
|
-
*/
|
|
2666
1074
|
'base_free_amount'?: string | null;
|
|
2667
|
-
/**
|
|
2668
|
-
*
|
|
2669
|
-
* @type {string}
|
|
2670
|
-
* @memberof CreditEventWithAgent
|
|
2671
|
-
*/
|
|
2672
1075
|
'base_reward_amount'?: string | null;
|
|
2673
|
-
/**
|
|
2674
|
-
*
|
|
2675
|
-
* @type {string}
|
|
2676
|
-
* @memberof CreditEventWithAgent
|
|
2677
|
-
*/
|
|
2678
1076
|
'base_permanent_amount'?: string | null;
|
|
2679
|
-
/**
|
|
2680
|
-
*
|
|
2681
|
-
* @type {string}
|
|
2682
|
-
* @memberof CreditEventWithAgent
|
|
2683
|
-
*/
|
|
2684
1077
|
'fee_platform_amount'?: string | null;
|
|
2685
|
-
/**
|
|
2686
|
-
*
|
|
2687
|
-
* @type {string}
|
|
2688
|
-
* @memberof CreditEventWithAgent
|
|
2689
|
-
*/
|
|
2690
1078
|
'fee_platform_free_amount'?: string | null;
|
|
2691
|
-
/**
|
|
2692
|
-
*
|
|
2693
|
-
* @type {string}
|
|
2694
|
-
* @memberof CreditEventWithAgent
|
|
2695
|
-
*/
|
|
2696
1079
|
'fee_platform_reward_amount'?: string | null;
|
|
2697
|
-
/**
|
|
2698
|
-
*
|
|
2699
|
-
* @type {string}
|
|
2700
|
-
* @memberof CreditEventWithAgent
|
|
2701
|
-
*/
|
|
2702
1080
|
'fee_platform_permanent_amount'?: string | null;
|
|
2703
|
-
/**
|
|
2704
|
-
*
|
|
2705
|
-
* @type {string}
|
|
2706
|
-
* @memberof CreditEventWithAgent
|
|
2707
|
-
*/
|
|
2708
1081
|
'fee_dev_account'?: string | null;
|
|
2709
|
-
/**
|
|
2710
|
-
*
|
|
2711
|
-
* @type {string}
|
|
2712
|
-
* @memberof CreditEventWithAgent
|
|
2713
|
-
*/
|
|
2714
1082
|
'fee_dev_amount'?: string | null;
|
|
2715
|
-
/**
|
|
2716
|
-
*
|
|
2717
|
-
* @type {string}
|
|
2718
|
-
* @memberof CreditEventWithAgent
|
|
2719
|
-
*/
|
|
2720
1083
|
'fee_dev_free_amount'?: string | null;
|
|
2721
|
-
/**
|
|
2722
|
-
*
|
|
2723
|
-
* @type {string}
|
|
2724
|
-
* @memberof CreditEventWithAgent
|
|
2725
|
-
*/
|
|
2726
1084
|
'fee_dev_reward_amount'?: string | null;
|
|
2727
|
-
/**
|
|
2728
|
-
*
|
|
2729
|
-
* @type {string}
|
|
2730
|
-
* @memberof CreditEventWithAgent
|
|
2731
|
-
*/
|
|
2732
1085
|
'fee_dev_permanent_amount'?: string | null;
|
|
2733
|
-
/**
|
|
2734
|
-
*
|
|
2735
|
-
* @type {string}
|
|
2736
|
-
* @memberof CreditEventWithAgent
|
|
2737
|
-
*/
|
|
2738
1086
|
'fee_agent_account'?: string | null;
|
|
2739
|
-
/**
|
|
2740
|
-
*
|
|
2741
|
-
* @type {string}
|
|
2742
|
-
* @memberof CreditEventWithAgent
|
|
2743
|
-
*/
|
|
2744
1087
|
'fee_agent_amount'?: string | null;
|
|
2745
|
-
/**
|
|
2746
|
-
*
|
|
2747
|
-
* @type {string}
|
|
2748
|
-
* @memberof CreditEventWithAgent
|
|
2749
|
-
*/
|
|
2750
1088
|
'fee_agent_free_amount'?: string | null;
|
|
2751
|
-
/**
|
|
2752
|
-
*
|
|
2753
|
-
* @type {string}
|
|
2754
|
-
* @memberof CreditEventWithAgent
|
|
2755
|
-
*/
|
|
2756
1089
|
'fee_agent_reward_amount'?: string | null;
|
|
2757
|
-
/**
|
|
2758
|
-
*
|
|
2759
|
-
* @type {string}
|
|
2760
|
-
* @memberof CreditEventWithAgent
|
|
2761
|
-
*/
|
|
2762
1090
|
'fee_agent_permanent_amount'?: string | null;
|
|
2763
|
-
/**
|
|
2764
|
-
*
|
|
2765
|
-
* @type {string}
|
|
2766
|
-
* @memberof CreditEventWithAgent
|
|
2767
|
-
*/
|
|
2768
1091
|
'free_amount'?: string | null;
|
|
2769
|
-
/**
|
|
2770
|
-
*
|
|
2771
|
-
* @type {string}
|
|
2772
|
-
* @memberof CreditEventWithAgent
|
|
2773
|
-
*/
|
|
2774
1092
|
'reward_amount'?: string | null;
|
|
2775
|
-
/**
|
|
2776
|
-
*
|
|
2777
|
-
* @type {string}
|
|
2778
|
-
* @memberof CreditEventWithAgent
|
|
2779
|
-
*/
|
|
2780
1093
|
'permanent_amount'?: string | null;
|
|
2781
|
-
/**
|
|
2782
|
-
*
|
|
2783
|
-
* @type {string}
|
|
2784
|
-
* @memberof CreditEventWithAgent
|
|
2785
|
-
*/
|
|
2786
1094
|
'note'?: string | null;
|
|
2787
1095
|
/**
|
|
2788
1096
|
* Timestamp when this event was created
|
|
2789
|
-
* @type {string}
|
|
2790
|
-
* @memberof CreditEventWithAgent
|
|
2791
1097
|
*/
|
|
2792
1098
|
'created_at': string;
|
|
2793
|
-
/**
|
|
2794
|
-
*
|
|
2795
|
-
* @type {string}
|
|
2796
|
-
* @memberof CreditEventWithAgent
|
|
2797
|
-
*/
|
|
2798
1099
|
'agent_name'?: string | null;
|
|
2799
1100
|
}
|
|
2800
1101
|
/**
|
|
2801
1102
|
* Paginated response model for credit events. Contains a list of credit events, a flag indicating if more items are available, and a cursor for pagination.
|
|
2802
|
-
* @export
|
|
2803
|
-
* @interface CreditEventsResponse
|
|
2804
1103
|
*/
|
|
2805
1104
|
export interface CreditEventsResponse {
|
|
2806
1105
|
/**
|
|
2807
1106
|
* List of credit events with agent names
|
|
2808
|
-
* @type {Array<CreditEventWithAgent>}
|
|
2809
|
-
* @memberof CreditEventsResponse
|
|
2810
1107
|
*/
|
|
2811
1108
|
'data': Array<CreditEventWithAgent>;
|
|
2812
1109
|
/**
|
|
2813
1110
|
* Indicates if there are more items
|
|
2814
|
-
* @type {boolean}
|
|
2815
|
-
* @memberof CreditEventsResponse
|
|
2816
1111
|
*/
|
|
2817
1112
|
'has_more': boolean;
|
|
2818
|
-
/**
|
|
2819
|
-
*
|
|
2820
|
-
* @type {string}
|
|
2821
|
-
* @memberof CreditEventsResponse
|
|
2822
|
-
*/
|
|
2823
1113
|
'next_cursor'?: string | null;
|
|
2824
1114
|
}
|
|
2825
1115
|
/**
|
|
2826
1116
|
* Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
|
|
2827
|
-
* @export
|
|
2828
|
-
* @interface CreditTransactionResp
|
|
2829
1117
|
*/
|
|
2830
1118
|
export interface CreditTransactionResp {
|
|
2831
1119
|
/**
|
|
2832
1120
|
* Unique identifier for the credit transaction
|
|
2833
|
-
* @type {string}
|
|
2834
|
-
* @memberof CreditTransactionResp
|
|
2835
1121
|
*/
|
|
2836
1122
|
'id'?: string;
|
|
2837
1123
|
/**
|
|
2838
1124
|
* ID of the account this transaction belongs to
|
|
2839
|
-
* @type {string}
|
|
2840
|
-
* @memberof CreditTransactionResp
|
|
2841
1125
|
*/
|
|
2842
1126
|
'account_id': string;
|
|
2843
1127
|
/**
|
|
2844
1128
|
* ID of the event that triggered this transaction
|
|
2845
|
-
* @type {string}
|
|
2846
|
-
* @memberof CreditTransactionResp
|
|
2847
1129
|
*/
|
|
2848
1130
|
'event_id': string;
|
|
2849
1131
|
/**
|
|
2850
1132
|
* Type of the transaction
|
|
2851
|
-
* @type {TransactionType}
|
|
2852
|
-
* @memberof CreditTransactionResp
|
|
2853
1133
|
*/
|
|
2854
1134
|
'tx_type': TransactionType;
|
|
2855
1135
|
/**
|
|
2856
1136
|
* Whether this is a credit or debit transaction
|
|
2857
|
-
* @type {CreditDebit}
|
|
2858
|
-
* @memberof CreditTransactionResp
|
|
2859
1137
|
*/
|
|
2860
1138
|
'credit_debit': CreditDebit;
|
|
2861
1139
|
/**
|
|
2862
1140
|
* Amount of credits changed
|
|
2863
|
-
* @type {string}
|
|
2864
|
-
* @memberof CreditTransactionResp
|
|
2865
1141
|
*/
|
|
2866
1142
|
'change_amount'?: string;
|
|
2867
1143
|
/**
|
|
2868
1144
|
* Amount of free credits changed
|
|
2869
|
-
* @type {string}
|
|
2870
|
-
* @memberof CreditTransactionResp
|
|
2871
1145
|
*/
|
|
2872
1146
|
'free_amount'?: string;
|
|
2873
1147
|
/**
|
|
2874
1148
|
* Amount of reward credits changed
|
|
2875
|
-
* @type {string}
|
|
2876
|
-
* @memberof CreditTransactionResp
|
|
2877
1149
|
*/
|
|
2878
1150
|
'reward_amount'?: string;
|
|
2879
1151
|
/**
|
|
2880
1152
|
* Amount of permanent credits changed
|
|
2881
|
-
* @type {string}
|
|
2882
|
-
* @memberof CreditTransactionResp
|
|
2883
1153
|
*/
|
|
2884
1154
|
'permanent_amount'?: string;
|
|
2885
1155
|
/**
|
|
2886
1156
|
* Type of credits involved
|
|
2887
|
-
* @type {CreditType}
|
|
2888
|
-
* @memberof CreditTransactionResp
|
|
2889
1157
|
*/
|
|
2890
1158
|
'credit_type': CreditType;
|
|
2891
1159
|
/**
|
|
2892
1160
|
* Timestamp when this transaction was created
|
|
2893
|
-
* @type {string}
|
|
2894
|
-
* @memberof CreditTransactionResp
|
|
2895
1161
|
*/
|
|
2896
1162
|
'created_at': string;
|
|
2897
|
-
/**
|
|
2898
|
-
*
|
|
2899
|
-
* @type {CreditEvent}
|
|
2900
|
-
* @memberof CreditTransactionResp
|
|
2901
|
-
*/
|
|
2902
1163
|
'event'?: CreditEvent | null;
|
|
2903
1164
|
}
|
|
2904
1165
|
/**
|
|
2905
1166
|
* Paginated response model for credit transactions. Contains a list of credit transactions (with event data), a flag for more items, and a pagination cursor.
|
|
2906
|
-
* @export
|
|
2907
|
-
* @interface CreditTransactionsResponse
|
|
2908
1167
|
*/
|
|
2909
1168
|
export interface CreditTransactionsResponse {
|
|
2910
1169
|
/**
|
|
2911
1170
|
* List of credit transactions
|
|
2912
|
-
* @type {Array<CreditTransactionResp>}
|
|
2913
|
-
* @memberof CreditTransactionsResponse
|
|
2914
1171
|
*/
|
|
2915
1172
|
'data': Array<CreditTransactionResp>;
|
|
2916
1173
|
/**
|
|
2917
1174
|
* Indicates if there are more items
|
|
2918
|
-
* @type {boolean}
|
|
2919
|
-
* @memberof CreditTransactionsResponse
|
|
2920
1175
|
*/
|
|
2921
1176
|
'has_more': boolean;
|
|
2922
|
-
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @type {string}
|
|
2925
|
-
* @memberof CreditTransactionsResponse
|
|
2926
|
-
*/
|
|
2927
1177
|
'next_cursor'?: string | null;
|
|
2928
1178
|
}
|
|
2929
1179
|
/**
|
|
2930
1180
|
* Credit type is used in db column names, do not change it.
|
|
2931
|
-
* @export
|
|
2932
|
-
* @enum {string}
|
|
2933
1181
|
*/
|
|
2934
1182
|
export declare const CreditType: {
|
|
2935
1183
|
readonly FreeCredits: "free_credits";
|
|
@@ -2939,8 +1187,6 @@ export declare const CreditType: {
|
|
|
2939
1187
|
export type CreditType = typeof CreditType[keyof typeof CreditType];
|
|
2940
1188
|
/**
|
|
2941
1189
|
* Direction of credit flow.
|
|
2942
|
-
* @export
|
|
2943
|
-
* @enum {string}
|
|
2944
1190
|
*/
|
|
2945
1191
|
export declare const Direction: {
|
|
2946
1192
|
readonly Income: "income";
|
|
@@ -2949,8 +1195,6 @@ export declare const Direction: {
|
|
|
2949
1195
|
export type Direction = typeof Direction[keyof typeof Direction];
|
|
2950
1196
|
/**
|
|
2951
1197
|
* Type of credit event.
|
|
2952
|
-
* @export
|
|
2953
|
-
* @enum {string}
|
|
2954
1198
|
*/
|
|
2955
1199
|
export declare const EventType: {
|
|
2956
1200
|
readonly Memory: "memory";
|
|
@@ -2968,243 +1212,88 @@ export declare const EventType: {
|
|
|
2968
1212
|
readonly RechargeBonus: "recharge_bonus";
|
|
2969
1213
|
};
|
|
2970
1214
|
export type EventType = typeof EventType[keyof typeof EventType];
|
|
1215
|
+
/**
|
|
1216
|
+
* Response model for file upload.
|
|
1217
|
+
*/
|
|
1218
|
+
export interface FileUploadResponse {
|
|
1219
|
+
/**
|
|
1220
|
+
* CDN URL of the uploaded file
|
|
1221
|
+
*/
|
|
1222
|
+
'file_url': string;
|
|
1223
|
+
/**
|
|
1224
|
+
* Unique identifier for the uploaded file
|
|
1225
|
+
*/
|
|
1226
|
+
'file_id': string;
|
|
1227
|
+
}
|
|
2971
1228
|
/**
|
|
2972
1229
|
* Response model for single generation detail.
|
|
2973
|
-
* @export
|
|
2974
|
-
* @interface GenerationDetailResponse
|
|
2975
1230
|
*/
|
|
2976
1231
|
export interface GenerationDetailResponse {
|
|
2977
1232
|
/**
|
|
2978
1233
|
* Project ID
|
|
2979
|
-
* @type {string}
|
|
2980
|
-
* @memberof GenerationDetailResponse
|
|
2981
1234
|
*/
|
|
2982
1235
|
'project_id': string;
|
|
2983
|
-
/**
|
|
2984
|
-
*
|
|
2985
|
-
* @type {string}
|
|
2986
|
-
* @memberof GenerationDetailResponse
|
|
2987
|
-
*/
|
|
2988
1236
|
'user_id'?: string | null;
|
|
2989
|
-
/**
|
|
2990
|
-
*
|
|
2991
|
-
* @type {string}
|
|
2992
|
-
* @memberof GenerationDetailResponse
|
|
2993
|
-
*/
|
|
2994
1237
|
'created_at'?: string | null;
|
|
2995
|
-
/**
|
|
2996
|
-
*
|
|
2997
|
-
* @type {string}
|
|
2998
|
-
* @memberof GenerationDetailResponse
|
|
2999
|
-
*/
|
|
3000
1238
|
'last_activity'?: string | null;
|
|
3001
1239
|
/**
|
|
3002
1240
|
* Number of messages in conversation
|
|
3003
|
-
* @type {number}
|
|
3004
|
-
* @memberof GenerationDetailResponse
|
|
3005
1241
|
*/
|
|
3006
1242
|
'message_count': number;
|
|
3007
|
-
/**
|
|
3008
|
-
*
|
|
3009
|
-
* @type {object}
|
|
3010
|
-
* @memberof GenerationDetailResponse
|
|
3011
|
-
*/
|
|
3012
1243
|
'last_message'?: object | null;
|
|
3013
|
-
/**
|
|
3014
|
-
*
|
|
3015
|
-
* @type {object}
|
|
3016
|
-
* @memberof GenerationDetailResponse
|
|
3017
|
-
*/
|
|
3018
1244
|
'first_message'?: object | null;
|
|
3019
1245
|
/**
|
|
3020
1246
|
* Full conversation history
|
|
3021
|
-
* @type {Array<object>}
|
|
3022
|
-
* @memberof GenerationDetailResponse
|
|
3023
1247
|
*/
|
|
3024
1248
|
'conversation_history': Array<object>;
|
|
3025
1249
|
}
|
|
3026
1250
|
/**
|
|
3027
1251
|
* Response model for generations list.
|
|
3028
|
-
* @export
|
|
3029
|
-
* @interface GenerationsListResponse
|
|
3030
1252
|
*/
|
|
3031
1253
|
export interface GenerationsListResponse {
|
|
3032
1254
|
/**
|
|
3033
1255
|
* List of recent projects with their conversation history
|
|
3034
|
-
* @type {Array<object>}
|
|
3035
|
-
* @memberof GenerationsListResponse
|
|
3036
1256
|
*/
|
|
3037
1257
|
'projects': Array<object>;
|
|
3038
1258
|
}
|
|
3039
|
-
/**
|
|
3040
|
-
*
|
|
3041
|
-
* @export
|
|
3042
|
-
* @interface HTTPValidationError
|
|
3043
|
-
*/
|
|
3044
1259
|
export interface HTTPValidationError {
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @type {Array<ValidationError>}
|
|
3048
|
-
* @memberof HTTPValidationError
|
|
3049
|
-
*/
|
|
3050
1260
|
'detail'?: Array<ValidationError>;
|
|
3051
1261
|
}
|
|
3052
1262
|
/**
|
|
3053
1263
|
* LLM model information with provider display name.
|
|
3054
|
-
* @export
|
|
3055
|
-
* @interface LLMModelInfoWithProviderName
|
|
3056
1264
|
*/
|
|
3057
1265
|
export interface LLMModelInfoWithProviderName {
|
|
3058
|
-
/**
|
|
3059
|
-
*
|
|
3060
|
-
* @type {string}
|
|
3061
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3062
|
-
*/
|
|
3063
1266
|
'id': string;
|
|
3064
|
-
/**
|
|
3065
|
-
*
|
|
3066
|
-
* @type {string}
|
|
3067
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3068
|
-
*/
|
|
3069
1267
|
'name': string;
|
|
3070
|
-
/**
|
|
3071
|
-
*
|
|
3072
|
-
* @type {LLMProvider}
|
|
3073
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3074
|
-
*/
|
|
3075
1268
|
'provider': LLMProvider;
|
|
3076
|
-
/**
|
|
3077
|
-
*
|
|
3078
|
-
* @type {boolean}
|
|
3079
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3080
|
-
*/
|
|
3081
1269
|
'enabled'?: boolean;
|
|
3082
|
-
/**
|
|
3083
|
-
*
|
|
3084
|
-
* @type {string}
|
|
3085
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3086
|
-
*/
|
|
3087
1270
|
'input_price': string;
|
|
3088
|
-
/**
|
|
3089
|
-
*
|
|
3090
|
-
* @type {string}
|
|
3091
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3092
|
-
*/
|
|
3093
1271
|
'output_price': string;
|
|
3094
|
-
/**
|
|
3095
|
-
*
|
|
3096
|
-
* @type {number}
|
|
3097
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3098
|
-
*/
|
|
3099
1272
|
'price_level'?: number | null;
|
|
3100
|
-
/**
|
|
3101
|
-
*
|
|
3102
|
-
* @type {number}
|
|
3103
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3104
|
-
*/
|
|
3105
1273
|
'context_length': number;
|
|
3106
|
-
/**
|
|
3107
|
-
*
|
|
3108
|
-
* @type {number}
|
|
3109
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3110
|
-
*/
|
|
3111
1274
|
'output_length': number;
|
|
3112
|
-
/**
|
|
3113
|
-
*
|
|
3114
|
-
* @type {number}
|
|
3115
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3116
|
-
*/
|
|
3117
1275
|
'intelligence': number;
|
|
3118
|
-
/**
|
|
3119
|
-
*
|
|
3120
|
-
* @type {number}
|
|
3121
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3122
|
-
*/
|
|
3123
1276
|
'speed': number;
|
|
3124
|
-
/**
|
|
3125
|
-
*
|
|
3126
|
-
* @type {boolean}
|
|
3127
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3128
|
-
*/
|
|
3129
1277
|
'supports_image_input'?: boolean;
|
|
3130
|
-
/**
|
|
3131
|
-
*
|
|
3132
|
-
* @type {boolean}
|
|
3133
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3134
|
-
*/
|
|
3135
1278
|
'supports_skill_calls'?: boolean;
|
|
3136
|
-
/**
|
|
3137
|
-
*
|
|
3138
|
-
* @type {boolean}
|
|
3139
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3140
|
-
*/
|
|
3141
1279
|
'supports_structured_output'?: boolean;
|
|
3142
|
-
/**
|
|
3143
|
-
*
|
|
3144
|
-
* @type {boolean}
|
|
3145
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3146
|
-
*/
|
|
3147
1280
|
'has_reasoning'?: boolean;
|
|
3148
|
-
/**
|
|
3149
|
-
*
|
|
3150
|
-
* @type {boolean}
|
|
3151
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3152
|
-
*/
|
|
3153
1281
|
'supports_search'?: boolean;
|
|
3154
|
-
/**
|
|
3155
|
-
*
|
|
3156
|
-
* @type {boolean}
|
|
3157
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3158
|
-
*/
|
|
3159
1282
|
'supports_temperature'?: boolean;
|
|
3160
|
-
/**
|
|
3161
|
-
*
|
|
3162
|
-
* @type {boolean}
|
|
3163
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3164
|
-
*/
|
|
3165
1283
|
'supports_frequency_penalty'?: boolean;
|
|
3166
|
-
/**
|
|
3167
|
-
*
|
|
3168
|
-
* @type {boolean}
|
|
3169
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3170
|
-
*/
|
|
3171
1284
|
'supports_presence_penalty'?: boolean;
|
|
3172
|
-
/**
|
|
3173
|
-
*
|
|
3174
|
-
* @type {string}
|
|
3175
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3176
|
-
*/
|
|
3177
1285
|
'api_base'?: string | null;
|
|
3178
|
-
/**
|
|
3179
|
-
*
|
|
3180
|
-
* @type {number}
|
|
3181
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3182
|
-
*/
|
|
3183
1286
|
'timeout'?: number;
|
|
3184
1287
|
/**
|
|
3185
1288
|
* Timestamp when this data was created
|
|
3186
|
-
* @type {string}
|
|
3187
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3188
1289
|
*/
|
|
3189
1290
|
'created_at'?: string;
|
|
3190
1291
|
/**
|
|
3191
1292
|
* Timestamp when this data was updated
|
|
3192
|
-
* @type {string}
|
|
3193
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3194
1293
|
*/
|
|
3195
1294
|
'updated_at'?: string;
|
|
3196
|
-
/**
|
|
3197
|
-
*
|
|
3198
|
-
* @type {string}
|
|
3199
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3200
|
-
*/
|
|
3201
1295
|
'provider_name': string;
|
|
3202
1296
|
}
|
|
3203
|
-
/**
|
|
3204
|
-
*
|
|
3205
|
-
* @export
|
|
3206
|
-
* @enum {string}
|
|
3207
|
-
*/
|
|
3208
1297
|
export declare const LLMProvider: {
|
|
3209
1298
|
readonly Openai: "openai";
|
|
3210
1299
|
readonly Deepseek: "deepseek";
|
|
@@ -3216,8 +1305,6 @@ export declare const LLMProvider: {
|
|
|
3216
1305
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
3217
1306
|
/**
|
|
3218
1307
|
* Type of credit account owner.
|
|
3219
|
-
* @export
|
|
3220
|
-
* @enum {string}
|
|
3221
1308
|
*/
|
|
3222
1309
|
export declare const OwnerType: {
|
|
3223
1310
|
readonly User: "user";
|
|
@@ -3227,87 +1314,44 @@ export declare const OwnerType: {
|
|
|
3227
1314
|
export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
|
|
3228
1315
|
/**
|
|
3229
1316
|
* Pydantic model for Skill.
|
|
3230
|
-
* @export
|
|
3231
|
-
* @interface Skill
|
|
3232
1317
|
*/
|
|
3233
1318
|
export interface Skill {
|
|
3234
1319
|
/**
|
|
3235
1320
|
* Name of the skill
|
|
3236
|
-
* @type {string}
|
|
3237
|
-
* @memberof Skill
|
|
3238
1321
|
*/
|
|
3239
1322
|
'name': string;
|
|
3240
1323
|
/**
|
|
3241
1324
|
* Is this skill enabled?
|
|
3242
|
-
* @type {boolean}
|
|
3243
|
-
* @memberof Skill
|
|
3244
1325
|
*/
|
|
3245
1326
|
'enabled': boolean;
|
|
3246
1327
|
/**
|
|
3247
1328
|
* Category of the skill
|
|
3248
|
-
* @type {string}
|
|
3249
|
-
* @memberof Skill
|
|
3250
1329
|
*/
|
|
3251
1330
|
'category': string;
|
|
3252
|
-
/**
|
|
3253
|
-
*
|
|
3254
|
-
* @type {string}
|
|
3255
|
-
* @memberof Skill
|
|
3256
|
-
*/
|
|
3257
1331
|
'config_name': string | null;
|
|
3258
|
-
/**
|
|
3259
|
-
*
|
|
3260
|
-
* @type {number}
|
|
3261
|
-
* @memberof Skill
|
|
3262
|
-
*/
|
|
3263
1332
|
'price_level': number | null;
|
|
3264
1333
|
/**
|
|
3265
1334
|
* Price for this skill
|
|
3266
|
-
* @type {string}
|
|
3267
|
-
* @memberof Skill
|
|
3268
1335
|
*/
|
|
3269
1336
|
'price'?: string;
|
|
3270
1337
|
/**
|
|
3271
1338
|
* Price for this skill with self key
|
|
3272
|
-
* @type {string}
|
|
3273
|
-
* @memberof Skill
|
|
3274
1339
|
*/
|
|
3275
1340
|
'price_self_key'?: string;
|
|
3276
|
-
/**
|
|
3277
|
-
*
|
|
3278
|
-
* @type {number}
|
|
3279
|
-
* @memberof Skill
|
|
3280
|
-
*/
|
|
3281
1341
|
'rate_limit_count': number | null;
|
|
3282
|
-
/**
|
|
3283
|
-
*
|
|
3284
|
-
* @type {number}
|
|
3285
|
-
* @memberof Skill
|
|
3286
|
-
*/
|
|
3287
1342
|
'rate_limit_minutes': number | null;
|
|
3288
|
-
/**
|
|
3289
|
-
*
|
|
3290
|
-
* @type {string}
|
|
3291
|
-
* @memberof Skill
|
|
3292
|
-
*/
|
|
3293
1343
|
'author': string | null;
|
|
3294
1344
|
/**
|
|
3295
1345
|
* Timestamp when this record was created
|
|
3296
|
-
* @type {string}
|
|
3297
|
-
* @memberof Skill
|
|
3298
1346
|
*/
|
|
3299
1347
|
'created_at': string;
|
|
3300
1348
|
/**
|
|
3301
1349
|
* Timestamp when this record was last updated
|
|
3302
|
-
* @type {string}
|
|
3303
|
-
* @memberof Skill
|
|
3304
1350
|
*/
|
|
3305
1351
|
'updated_at': string;
|
|
3306
1352
|
}
|
|
3307
1353
|
/**
|
|
3308
1354
|
* Type of system message.
|
|
3309
|
-
* @export
|
|
3310
|
-
* @enum {string}
|
|
3311
1355
|
*/
|
|
3312
1356
|
export declare const SystemMessageType: {
|
|
3313
1357
|
readonly ServiceFeeError: "service_fee_error";
|
|
@@ -3320,8 +1364,6 @@ export declare const SystemMessageType: {
|
|
|
3320
1364
|
export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMessageType];
|
|
3321
1365
|
/**
|
|
3322
1366
|
* Type of credit transaction.
|
|
3323
|
-
* @export
|
|
3324
|
-
* @enum {string}
|
|
3325
1367
|
*/
|
|
3326
1368
|
export declare const TransactionType: {
|
|
3327
1369
|
readonly Pay: "pay";
|
|
@@ -3343,29 +1385,12 @@ export declare const TransactionType: {
|
|
|
3343
1385
|
readonly RechargeBonus: "recharge_bonus";
|
|
3344
1386
|
};
|
|
3345
1387
|
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
3346
|
-
/**
|
|
3347
|
-
*
|
|
3348
|
-
* @export
|
|
3349
|
-
* @interface TwitterAuthResponse
|
|
3350
|
-
*/
|
|
3351
1388
|
export interface TwitterAuthResponse {
|
|
3352
|
-
/**
|
|
3353
|
-
*
|
|
3354
|
-
* @type {string}
|
|
3355
|
-
* @memberof TwitterAuthResponse
|
|
3356
|
-
*/
|
|
3357
1389
|
'agent_id': string;
|
|
3358
|
-
/**
|
|
3359
|
-
*
|
|
3360
|
-
* @type {string}
|
|
3361
|
-
* @memberof TwitterAuthResponse
|
|
3362
|
-
*/
|
|
3363
1390
|
'url': string;
|
|
3364
1391
|
}
|
|
3365
1392
|
/**
|
|
3366
1393
|
* Type of upstream transaction.
|
|
3367
|
-
* @export
|
|
3368
|
-
* @enum {string}
|
|
3369
1394
|
*/
|
|
3370
1395
|
export declare const UpstreamType: {
|
|
3371
1396
|
readonly Api: "api";
|
|
@@ -3374,41 +1399,15 @@ export declare const UpstreamType: {
|
|
|
3374
1399
|
readonly Initializer: "initializer";
|
|
3375
1400
|
};
|
|
3376
1401
|
export type UpstreamType = typeof UpstreamType[keyof typeof UpstreamType];
|
|
3377
|
-
/**
|
|
3378
|
-
*
|
|
3379
|
-
* @export
|
|
3380
|
-
* @interface ValidationError
|
|
3381
|
-
*/
|
|
3382
1402
|
export interface ValidationError {
|
|
3383
|
-
/**
|
|
3384
|
-
*
|
|
3385
|
-
* @type {Array<ValidationErrorLocInner>}
|
|
3386
|
-
* @memberof ValidationError
|
|
3387
|
-
*/
|
|
3388
1403
|
'loc': Array<ValidationErrorLocInner>;
|
|
3389
|
-
/**
|
|
3390
|
-
*
|
|
3391
|
-
* @type {string}
|
|
3392
|
-
* @memberof ValidationError
|
|
3393
|
-
*/
|
|
3394
1404
|
'msg': string;
|
|
3395
|
-
/**
|
|
3396
|
-
*
|
|
3397
|
-
* @type {string}
|
|
3398
|
-
* @memberof ValidationError
|
|
3399
|
-
*/
|
|
3400
1405
|
'type': string;
|
|
3401
1406
|
}
|
|
3402
|
-
/**
|
|
3403
|
-
*
|
|
3404
|
-
* @export
|
|
3405
|
-
* @interface ValidationErrorLocInner
|
|
3406
|
-
*/
|
|
3407
1407
|
export interface ValidationErrorLocInner {
|
|
3408
1408
|
}
|
|
3409
1409
|
/**
|
|
3410
1410
|
* AgentApi - axios parameter creator
|
|
3411
|
-
* @export
|
|
3412
1411
|
*/
|
|
3413
1412
|
export declare const AgentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3414
1413
|
/**
|
|
@@ -3525,7 +1524,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3525
1524
|
};
|
|
3526
1525
|
/**
|
|
3527
1526
|
* AgentApi - functional programming interface
|
|
3528
|
-
* @export
|
|
3529
1527
|
*/
|
|
3530
1528
|
export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
3531
1529
|
/**
|
|
@@ -3642,7 +1640,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3642
1640
|
};
|
|
3643
1641
|
/**
|
|
3644
1642
|
* AgentApi - factory interface
|
|
3645
|
-
* @export
|
|
3646
1643
|
*/
|
|
3647
1644
|
export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3648
1645
|
/**
|
|
@@ -3759,9 +1756,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3759
1756
|
};
|
|
3760
1757
|
/**
|
|
3761
1758
|
* AgentApi - object-oriented interface
|
|
3762
|
-
* @export
|
|
3763
|
-
* @class AgentApi
|
|
3764
|
-
* @extends {BaseAPI}
|
|
3765
1759
|
*/
|
|
3766
1760
|
export declare class AgentApi extends BaseAPI {
|
|
3767
1761
|
/**
|
|
@@ -3770,7 +1764,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3770
1764
|
* @param {AgentUpdate} [agentUpdate]
|
|
3771
1765
|
* @param {*} [options] Override http request option.
|
|
3772
1766
|
* @throws {RequiredError}
|
|
3773
|
-
* @memberof AgentApi
|
|
3774
1767
|
*/
|
|
3775
1768
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
3776
1769
|
/**
|
|
@@ -3779,7 +1772,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3779
1772
|
* @param {string} agentId ID of the agent to export
|
|
3780
1773
|
* @param {*} [options] Override http request option.
|
|
3781
1774
|
* @throws {RequiredError}
|
|
3782
|
-
* @memberof AgentApi
|
|
3783
1775
|
*/
|
|
3784
1776
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
3785
1777
|
/**
|
|
@@ -3788,7 +1780,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3788
1780
|
* @param {string} agentId ID of the agent to retrieve
|
|
3789
1781
|
* @param {*} [options] Override http request option.
|
|
3790
1782
|
* @throws {RequiredError}
|
|
3791
|
-
* @memberof AgentApi
|
|
3792
1783
|
*/
|
|
3793
1784
|
getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
3794
1785
|
/**
|
|
@@ -3797,7 +1788,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3797
1788
|
* @param {string} agentId ID of the agent
|
|
3798
1789
|
* @param {*} [options] Override http request option.
|
|
3799
1790
|
* @throws {RequiredError}
|
|
3800
|
-
* @memberof AgentApi
|
|
3801
1791
|
*/
|
|
3802
1792
|
getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
|
|
3803
1793
|
/**
|
|
@@ -3806,7 +1796,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3806
1796
|
* @param {string} agentId ID of the agent
|
|
3807
1797
|
* @param {*} [options] Override http request option.
|
|
3808
1798
|
* @throws {RequiredError}
|
|
3809
|
-
* @memberof AgentApi
|
|
3810
1799
|
*/
|
|
3811
1800
|
getAgentAssets(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentAssetsResponse, any, {}>>;
|
|
3812
1801
|
/**
|
|
@@ -3815,7 +1804,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3815
1804
|
* @param {string} aid ID of the agent
|
|
3816
1805
|
* @param {*} [options] Override http request option.
|
|
3817
1806
|
* @throws {RequiredError}
|
|
3818
|
-
* @memberof AgentApi
|
|
3819
1807
|
*/
|
|
3820
1808
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any, {}>>;
|
|
3821
1809
|
/**
|
|
@@ -3826,7 +1814,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3826
1814
|
* @param {number} [limit] Maximum number of agents to return
|
|
3827
1815
|
* @param {*} [options] Override http request option.
|
|
3828
1816
|
* @throws {RequiredError}
|
|
3829
|
-
* @memberof AgentApi
|
|
3830
1817
|
*/
|
|
3831
1818
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
3832
1819
|
/**
|
|
@@ -3837,7 +1824,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3837
1824
|
* @param {number} [limit] Maximum number of messages to return
|
|
3838
1825
|
* @param {*} [options] Override http request option.
|
|
3839
1826
|
* @throws {RequiredError}
|
|
3840
|
-
* @memberof AgentApi
|
|
3841
1827
|
*/
|
|
3842
1828
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
3843
1829
|
/**
|
|
@@ -3847,7 +1833,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3847
1833
|
* @param {File} file YAML file containing agent configuration
|
|
3848
1834
|
* @param {*} [options] Override http request option.
|
|
3849
1835
|
* @throws {RequiredError}
|
|
3850
|
-
* @memberof AgentApi
|
|
3851
1836
|
*/
|
|
3852
1837
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
3853
1838
|
/**
|
|
@@ -3857,7 +1842,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3857
1842
|
* @param {AgentUpdate} [agentUpdate]
|
|
3858
1843
|
* @param {*} [options] Override http request option.
|
|
3859
1844
|
* @throws {RequiredError}
|
|
3860
|
-
* @memberof AgentApi
|
|
3861
1845
|
*/
|
|
3862
1846
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
3863
1847
|
/**
|
|
@@ -3866,7 +1850,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3866
1850
|
* @param {string} agentId ID of the agent
|
|
3867
1851
|
* @param {*} [options] Override http request option.
|
|
3868
1852
|
* @throws {RequiredError}
|
|
3869
|
-
* @memberof AgentApi
|
|
3870
1853
|
*/
|
|
3871
1854
|
resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
|
|
3872
1855
|
/**
|
|
@@ -3875,7 +1858,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3875
1858
|
* @param {AgentUpdate} [agentUpdate]
|
|
3876
1859
|
* @param {*} [options] Override http request option.
|
|
3877
1860
|
* @throws {RequiredError}
|
|
3878
|
-
* @memberof AgentApi
|
|
3879
1861
|
*/
|
|
3880
1862
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3881
1863
|
/**
|
|
@@ -3885,13 +1867,11 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3885
1867
|
* @param {AgentUpdate} [agentUpdate]
|
|
3886
1868
|
* @param {*} [options] Override http request option.
|
|
3887
1869
|
* @throws {RequiredError}
|
|
3888
|
-
* @memberof AgentApi
|
|
3889
1870
|
*/
|
|
3890
1871
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3891
1872
|
}
|
|
3892
1873
|
/**
|
|
3893
1874
|
* ChatApi - axios parameter creator
|
|
3894
|
-
* @export
|
|
3895
1875
|
*/
|
|
3896
1876
|
export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3897
1877
|
/**
|
|
@@ -3989,7 +1969,6 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
3989
1969
|
};
|
|
3990
1970
|
/**
|
|
3991
1971
|
* ChatApi - functional programming interface
|
|
3992
|
-
* @export
|
|
3993
1972
|
*/
|
|
3994
1973
|
export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
3995
1974
|
/**
|
|
@@ -4087,7 +2066,6 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
4087
2066
|
};
|
|
4088
2067
|
/**
|
|
4089
2068
|
* ChatApi - factory interface
|
|
4090
|
-
* @export
|
|
4091
2069
|
*/
|
|
4092
2070
|
export declare const ChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4093
2071
|
/**
|
|
@@ -4185,9 +2163,6 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4185
2163
|
};
|
|
4186
2164
|
/**
|
|
4187
2165
|
* ChatApi - object-oriented interface
|
|
4188
|
-
* @export
|
|
4189
|
-
* @class ChatApi
|
|
4190
|
-
* @extends {BaseAPI}
|
|
4191
2166
|
*/
|
|
4192
2167
|
export declare class ChatApi extends BaseAPI {
|
|
4193
2168
|
/**
|
|
@@ -4196,7 +2171,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4196
2171
|
* @param {string} aid Agent ID
|
|
4197
2172
|
* @param {*} [options] Override http request option.
|
|
4198
2173
|
* @throws {RequiredError}
|
|
4199
|
-
* @memberof ChatApi
|
|
4200
2174
|
*/
|
|
4201
2175
|
createChatThread(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4202
2176
|
/**
|
|
@@ -4206,7 +2180,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4206
2180
|
* @param {string} chatId Chat ID
|
|
4207
2181
|
* @param {*} [options] Override http request option.
|
|
4208
2182
|
* @throws {RequiredError}
|
|
4209
|
-
* @memberof ChatApi
|
|
4210
2183
|
*/
|
|
4211
2184
|
deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4212
2185
|
/**
|
|
@@ -4216,7 +2189,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4216
2189
|
* @param {string} chatId Chat ID
|
|
4217
2190
|
* @param {*} [options] Override http request option.
|
|
4218
2191
|
* @throws {RequiredError}
|
|
4219
|
-
* @memberof ChatApi
|
|
4220
2192
|
*/
|
|
4221
2193
|
getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4222
2194
|
/**
|
|
@@ -4225,7 +2197,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4225
2197
|
* @param {string} messageId Message ID
|
|
4226
2198
|
* @param {*} [options] Override http request option.
|
|
4227
2199
|
* @throws {RequiredError}
|
|
4228
|
-
* @memberof ChatApi
|
|
4229
2200
|
*/
|
|
4230
2201
|
getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any, {}>>;
|
|
4231
2202
|
/**
|
|
@@ -4236,7 +2207,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4236
2207
|
* @param {number} [limit] Maximum number of messages to return
|
|
4237
2208
|
* @param {*} [options] Override http request option.
|
|
4238
2209
|
* @throws {RequiredError}
|
|
4239
|
-
* @memberof ChatApi
|
|
4240
2210
|
*/
|
|
4241
2211
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4242
2212
|
/**
|
|
@@ -4245,7 +2215,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4245
2215
|
* @param {string} aid Agent ID
|
|
4246
2216
|
* @param {*} [options] Override http request option.
|
|
4247
2217
|
* @throws {RequiredError}
|
|
4248
|
-
* @memberof ChatApi
|
|
4249
2218
|
*/
|
|
4250
2219
|
listChatsForAgent(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat[], any, {}>>;
|
|
4251
2220
|
/**
|
|
@@ -4257,7 +2226,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4257
2226
|
* @param {number} [limit] Maximum number of messages to return
|
|
4258
2227
|
* @param {*} [options] Override http request option.
|
|
4259
2228
|
* @throws {RequiredError}
|
|
4260
|
-
* @memberof ChatApi
|
|
4261
2229
|
*/
|
|
4262
2230
|
listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4263
2231
|
/**
|
|
@@ -4267,7 +2235,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4267
2235
|
* @param {string} chatId Chat ID
|
|
4268
2236
|
* @param {*} [options] Override http request option.
|
|
4269
2237
|
* @throws {RequiredError}
|
|
4270
|
-
* @memberof ChatApi
|
|
4271
2238
|
*/
|
|
4272
2239
|
retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4273
2240
|
/**
|
|
@@ -4278,7 +2245,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4278
2245
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
4279
2246
|
* @param {*} [options] Override http request option.
|
|
4280
2247
|
* @throws {RequiredError}
|
|
4281
|
-
* @memberof ChatApi
|
|
4282
2248
|
*/
|
|
4283
2249
|
sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4284
2250
|
/**
|
|
@@ -4289,13 +2255,11 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4289
2255
|
* @param {ChatUpdateRequest} chatUpdateRequest
|
|
4290
2256
|
* @param {*} [options] Override http request option.
|
|
4291
2257
|
* @throws {RequiredError}
|
|
4292
|
-
* @memberof ChatApi
|
|
4293
2258
|
*/
|
|
4294
2259
|
updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4295
2260
|
}
|
|
4296
2261
|
/**
|
|
4297
2262
|
* CreditApi - axios parameter creator
|
|
4298
|
-
* @export
|
|
4299
2263
|
*/
|
|
4300
2264
|
export declare const CreditApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4301
2265
|
/**
|
|
@@ -4348,7 +2312,6 @@ export declare const CreditApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4348
2312
|
};
|
|
4349
2313
|
/**
|
|
4350
2314
|
* CreditApi - functional programming interface
|
|
4351
|
-
* @export
|
|
4352
2315
|
*/
|
|
4353
2316
|
export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
4354
2317
|
/**
|
|
@@ -4401,7 +2364,6 @@ export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
|
4401
2364
|
};
|
|
4402
2365
|
/**
|
|
4403
2366
|
* CreditApi - factory interface
|
|
4404
|
-
* @export
|
|
4405
2367
|
*/
|
|
4406
2368
|
export declare const CreditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4407
2369
|
/**
|
|
@@ -4454,9 +2416,6 @@ export declare const CreditApiFactory: (configuration?: Configuration, basePath?
|
|
|
4454
2416
|
};
|
|
4455
2417
|
/**
|
|
4456
2418
|
* CreditApi - object-oriented interface
|
|
4457
|
-
* @export
|
|
4458
|
-
* @class CreditApi
|
|
4459
|
-
* @extends {BaseAPI}
|
|
4460
2419
|
*/
|
|
4461
2420
|
export declare class CreditApi extends BaseAPI {
|
|
4462
2421
|
/**
|
|
@@ -4465,7 +2424,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
4465
2424
|
* @param {string} eventId Credit event ID
|
|
4466
2425
|
* @param {*} [options] Override http request option.
|
|
4467
2426
|
* @throws {RequiredError}
|
|
4468
|
-
* @memberof CreditApi
|
|
4469
2427
|
*/
|
|
4470
2428
|
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEvent, any, {}>>;
|
|
4471
2429
|
/**
|
|
@@ -4473,7 +2431,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
4473
2431
|
* @summary Get User Account
|
|
4474
2432
|
* @param {*} [options] Override http request option.
|
|
4475
2433
|
* @throws {RequiredError}
|
|
4476
|
-
* @memberof CreditApi
|
|
4477
2434
|
*/
|
|
4478
2435
|
getUserAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditAccount, any, {}>>;
|
|
4479
2436
|
/**
|
|
@@ -4484,7 +2441,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
4484
2441
|
* @param {number} [limit] Maximum number of events to return
|
|
4485
2442
|
* @param {*} [options] Override http request option.
|
|
4486
2443
|
* @throws {RequiredError}
|
|
4487
|
-
* @memberof CreditApi
|
|
4488
2444
|
*/
|
|
4489
2445
|
listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
|
|
4490
2446
|
/**
|
|
@@ -4496,7 +2452,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
4496
2452
|
* @param {number} [limit] Maximum number of events to return
|
|
4497
2453
|
* @param {*} [options] Override http request option.
|
|
4498
2454
|
* @throws {RequiredError}
|
|
4499
|
-
* @memberof CreditApi
|
|
4500
2455
|
*/
|
|
4501
2456
|
listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
|
|
4502
2457
|
/**
|
|
@@ -4508,13 +2463,11 @@ export declare class CreditApi extends BaseAPI {
|
|
|
4508
2463
|
* @param {number} [limit] Maximum number of transactions to return
|
|
4509
2464
|
* @param {*} [options] Override http request option.
|
|
4510
2465
|
* @throws {RequiredError}
|
|
4511
|
-
* @memberof CreditApi
|
|
4512
2466
|
*/
|
|
4513
2467
|
listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditTransactionsResponse, any, {}>>;
|
|
4514
2468
|
}
|
|
4515
2469
|
/**
|
|
4516
2470
|
* DraftApi - axios parameter creator
|
|
4517
|
-
* @export
|
|
4518
2471
|
*/
|
|
4519
2472
|
export declare const DraftApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4520
2473
|
/**
|
|
@@ -4570,7 +2523,6 @@ export declare const DraftApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4570
2523
|
};
|
|
4571
2524
|
/**
|
|
4572
2525
|
* DraftApi - functional programming interface
|
|
4573
|
-
* @export
|
|
4574
2526
|
*/
|
|
4575
2527
|
export declare const DraftApiFp: (configuration?: Configuration) => {
|
|
4576
2528
|
/**
|
|
@@ -4626,7 +2578,6 @@ export declare const DraftApiFp: (configuration?: Configuration) => {
|
|
|
4626
2578
|
};
|
|
4627
2579
|
/**
|
|
4628
2580
|
* DraftApi - factory interface
|
|
4629
|
-
* @export
|
|
4630
2581
|
*/
|
|
4631
2582
|
export declare const DraftApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4632
2583
|
/**
|
|
@@ -4682,9 +2633,6 @@ export declare const DraftApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4682
2633
|
};
|
|
4683
2634
|
/**
|
|
4684
2635
|
* DraftApi - object-oriented interface
|
|
4685
|
-
* @export
|
|
4686
|
-
* @class DraftApi
|
|
4687
|
-
* @extends {BaseAPI}
|
|
4688
2636
|
*/
|
|
4689
2637
|
export declare class DraftApi extends BaseAPI {
|
|
4690
2638
|
/**
|
|
@@ -4693,7 +2641,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4693
2641
|
* @param {AgentUserInput} agentUserInput
|
|
4694
2642
|
* @param {*} [options] Override http request option.
|
|
4695
2643
|
* @throws {RequiredError}
|
|
4696
|
-
* @memberof DraftApi
|
|
4697
2644
|
*/
|
|
4698
2645
|
createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
4699
2646
|
/**
|
|
@@ -4702,7 +2649,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4702
2649
|
* @param {AgentDeployRequest} agentDeployRequest
|
|
4703
2650
|
* @param {*} [options] Override http request option.
|
|
4704
2651
|
* @throws {RequiredError}
|
|
4705
|
-
* @memberof DraftApi
|
|
4706
2652
|
*/
|
|
4707
2653
|
deployAgentFromDraft(agentDeployRequest: AgentDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
4708
2654
|
/**
|
|
@@ -4712,7 +2658,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4712
2658
|
* @param {string} draftId Draft ID
|
|
4713
2659
|
* @param {*} [options] Override http request option.
|
|
4714
2660
|
* @throws {RequiredError}
|
|
4715
|
-
* @memberof DraftApi
|
|
4716
2661
|
*/
|
|
4717
2662
|
getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
4718
2663
|
/**
|
|
@@ -4721,7 +2666,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4721
2666
|
* @param {string} agentId Agent ID
|
|
4722
2667
|
* @param {*} [options] Override http request option.
|
|
4723
2668
|
* @throws {RequiredError}
|
|
4724
|
-
* @memberof DraftApi
|
|
4725
2669
|
*/
|
|
4726
2670
|
getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft[], any, {}>>;
|
|
4727
2671
|
/**
|
|
@@ -4730,7 +2674,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4730
2674
|
* @param {string} agentId Agent ID
|
|
4731
2675
|
* @param {*} [options] Override http request option.
|
|
4732
2676
|
* @throws {RequiredError}
|
|
4733
|
-
* @memberof DraftApi
|
|
4734
2677
|
*/
|
|
4735
2678
|
getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
4736
2679
|
/**
|
|
@@ -4740,13 +2683,11 @@ export declare class DraftApi extends BaseAPI {
|
|
|
4740
2683
|
* @param {AgentUserInput} agentUserInput
|
|
4741
2684
|
* @param {*} [options] Override http request option.
|
|
4742
2685
|
* @throws {RequiredError}
|
|
4743
|
-
* @memberof DraftApi
|
|
4744
2686
|
*/
|
|
4745
2687
|
updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
4746
2688
|
}
|
|
4747
2689
|
/**
|
|
4748
2690
|
* GeneratorApi - axios parameter creator
|
|
4749
|
-
* @export
|
|
4750
2691
|
*/
|
|
4751
2692
|
export declare const GeneratorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4752
2693
|
/**
|
|
@@ -4776,7 +2717,6 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
4776
2717
|
};
|
|
4777
2718
|
/**
|
|
4778
2719
|
* GeneratorApi - functional programming interface
|
|
4779
|
-
* @export
|
|
4780
2720
|
*/
|
|
4781
2721
|
export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
4782
2722
|
/**
|
|
@@ -4806,7 +2746,6 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
4806
2746
|
};
|
|
4807
2747
|
/**
|
|
4808
2748
|
* GeneratorApi - factory interface
|
|
4809
|
-
* @export
|
|
4810
2749
|
*/
|
|
4811
2750
|
export declare const GeneratorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4812
2751
|
/**
|
|
@@ -4836,9 +2775,6 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
4836
2775
|
};
|
|
4837
2776
|
/**
|
|
4838
2777
|
* GeneratorApi - object-oriented interface
|
|
4839
|
-
* @export
|
|
4840
|
-
* @class GeneratorApi
|
|
4841
|
-
* @extends {BaseAPI}
|
|
4842
2778
|
*/
|
|
4843
2779
|
export declare class GeneratorApi extends BaseAPI {
|
|
4844
2780
|
/**
|
|
@@ -4847,7 +2783,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4847
2783
|
* @param {AgentGenerateRequest} agentGenerateRequest
|
|
4848
2784
|
* @param {*} [options] Override http request option.
|
|
4849
2785
|
* @throws {RequiredError}
|
|
4850
|
-
* @memberof GeneratorApi
|
|
4851
2786
|
*/
|
|
4852
2787
|
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any, {}>>;
|
|
4853
2788
|
/**
|
|
@@ -4856,7 +2791,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4856
2791
|
* @param {string} projectId
|
|
4857
2792
|
* @param {*} [options] Override http request option.
|
|
4858
2793
|
* @throws {RequiredError}
|
|
4859
|
-
* @memberof GeneratorApi
|
|
4860
2794
|
*/
|
|
4861
2795
|
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any, {}>>;
|
|
4862
2796
|
/**
|
|
@@ -4865,13 +2799,11 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4865
2799
|
* @param {number} [limit]
|
|
4866
2800
|
* @param {*} [options] Override http request option.
|
|
4867
2801
|
* @throws {RequiredError}
|
|
4868
|
-
* @memberof GeneratorApi
|
|
4869
2802
|
*/
|
|
4870
2803
|
getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any, {}>>;
|
|
4871
2804
|
}
|
|
4872
2805
|
/**
|
|
4873
2806
|
* HealthApi - axios parameter creator
|
|
4874
|
-
* @export
|
|
4875
2807
|
*/
|
|
4876
2808
|
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4877
2809
|
/**
|
|
@@ -4884,7 +2816,6 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4884
2816
|
};
|
|
4885
2817
|
/**
|
|
4886
2818
|
* HealthApi - functional programming interface
|
|
4887
|
-
* @export
|
|
4888
2819
|
*/
|
|
4889
2820
|
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
4890
2821
|
/**
|
|
@@ -4897,7 +2828,6 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
4897
2828
|
};
|
|
4898
2829
|
/**
|
|
4899
2830
|
* HealthApi - factory interface
|
|
4900
|
-
* @export
|
|
4901
2831
|
*/
|
|
4902
2832
|
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4903
2833
|
/**
|
|
@@ -4910,9 +2840,6 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
4910
2840
|
};
|
|
4911
2841
|
/**
|
|
4912
2842
|
* HealthApi - object-oriented interface
|
|
4913
|
-
* @export
|
|
4914
|
-
* @class HealthApi
|
|
4915
|
-
* @extends {BaseAPI}
|
|
4916
2843
|
*/
|
|
4917
2844
|
export declare class HealthApi extends BaseAPI {
|
|
4918
2845
|
/**
|
|
@@ -4920,13 +2847,11 @@ export declare class HealthApi extends BaseAPI {
|
|
|
4920
2847
|
* @summary Health check endpoint
|
|
4921
2848
|
* @param {*} [options] Override http request option.
|
|
4922
2849
|
* @throws {RequiredError}
|
|
4923
|
-
* @memberof HealthApi
|
|
4924
2850
|
*/
|
|
4925
2851
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4926
2852
|
}
|
|
4927
2853
|
/**
|
|
4928
2854
|
* MetadataApi - axios parameter creator
|
|
4929
|
-
* @export
|
|
4930
2855
|
*/
|
|
4931
2856
|
export declare const MetadataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4932
2857
|
/**
|
|
@@ -4971,7 +2896,6 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4971
2896
|
};
|
|
4972
2897
|
/**
|
|
4973
2898
|
* MetadataApi - functional programming interface
|
|
4974
|
-
* @export
|
|
4975
2899
|
*/
|
|
4976
2900
|
export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
4977
2901
|
/**
|
|
@@ -5016,7 +2940,6 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
5016
2940
|
};
|
|
5017
2941
|
/**
|
|
5018
2942
|
* MetadataApi - factory interface
|
|
5019
|
-
* @export
|
|
5020
2943
|
*/
|
|
5021
2944
|
export declare const MetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5022
2945
|
/**
|
|
@@ -5061,9 +2984,6 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
5061
2984
|
};
|
|
5062
2985
|
/**
|
|
5063
2986
|
* MetadataApi - object-oriented interface
|
|
5064
|
-
* @export
|
|
5065
|
-
* @class MetadataApi
|
|
5066
|
-
* @extends {BaseAPI}
|
|
5067
2987
|
*/
|
|
5068
2988
|
export declare class MetadataApi extends BaseAPI {
|
|
5069
2989
|
/**
|
|
@@ -5071,7 +2991,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5071
2991
|
* @summary Get agent schema
|
|
5072
2992
|
* @param {*} [options] Override http request option.
|
|
5073
2993
|
* @throws {RequiredError}
|
|
5074
|
-
* @memberof MetadataApi
|
|
5075
2994
|
*/
|
|
5076
2995
|
getAgentSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5077
2996
|
/**
|
|
@@ -5079,7 +2998,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5079
2998
|
* @summary Get all LLM models
|
|
5080
2999
|
* @param {*} [options] Override http request option.
|
|
5081
3000
|
* @throws {RequiredError}
|
|
5082
|
-
* @memberof MetadataApi
|
|
5083
3001
|
*/
|
|
5084
3002
|
getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any, {}>>;
|
|
5085
3003
|
/**
|
|
@@ -5090,7 +3008,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5090
3008
|
* @param {string} ext Icon file extension
|
|
5091
3009
|
* @param {*} [options] Override http request option.
|
|
5092
3010
|
* @throws {RequiredError}
|
|
5093
|
-
* @memberof MetadataApi
|
|
5094
3011
|
*/
|
|
5095
3012
|
getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5096
3013
|
/**
|
|
@@ -5099,7 +3016,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5099
3016
|
* @param {string} skill Skill name
|
|
5100
3017
|
* @param {*} [options] Override http request option.
|
|
5101
3018
|
* @throws {RequiredError}
|
|
5102
|
-
* @memberof MetadataApi
|
|
5103
3019
|
*/
|
|
5104
3020
|
getSkillSchema(skill: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5105
3021
|
/**
|
|
@@ -5107,13 +3023,11 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5107
3023
|
* @summary Get all skills
|
|
5108
3024
|
* @param {*} [options] Override http request option.
|
|
5109
3025
|
* @throws {RequiredError}
|
|
5110
|
-
* @memberof MetadataApi
|
|
5111
3026
|
*/
|
|
5112
3027
|
getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any, {}>>;
|
|
5113
3028
|
}
|
|
5114
3029
|
/**
|
|
5115
3030
|
* OAuthApi - axios parameter creator
|
|
5116
|
-
* @export
|
|
5117
3031
|
*/
|
|
5118
3032
|
export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5119
3033
|
/**
|
|
@@ -5146,7 +3060,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5146
3060
|
};
|
|
5147
3061
|
/**
|
|
5148
3062
|
* OAuthApi - functional programming interface
|
|
5149
|
-
* @export
|
|
5150
3063
|
*/
|
|
5151
3064
|
export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
5152
3065
|
/**
|
|
@@ -5179,7 +3092,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
5179
3092
|
};
|
|
5180
3093
|
/**
|
|
5181
3094
|
* OAuthApi - factory interface
|
|
5182
|
-
* @export
|
|
5183
3095
|
*/
|
|
5184
3096
|
export declare const OAuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5185
3097
|
/**
|
|
@@ -5212,9 +3124,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5212
3124
|
};
|
|
5213
3125
|
/**
|
|
5214
3126
|
* OAuthApi - object-oriented interface
|
|
5215
|
-
* @export
|
|
5216
|
-
* @class OAuthApi
|
|
5217
|
-
* @extends {BaseAPI}
|
|
5218
3127
|
*/
|
|
5219
3128
|
export declare class OAuthApi extends BaseAPI {
|
|
5220
3129
|
/**
|
|
@@ -5224,7 +3133,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
5224
3133
|
* @param {string} redirectUri
|
|
5225
3134
|
* @param {*} [options] Override http request option.
|
|
5226
3135
|
* @throws {RequiredError}
|
|
5227
|
-
* @memberof OAuthApi
|
|
5228
3136
|
*/
|
|
5229
3137
|
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any, {}>>;
|
|
5230
3138
|
/**
|
|
@@ -5235,7 +3143,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
5235
3143
|
* @param {string | null} [error]
|
|
5236
3144
|
* @param {*} [options] Override http request option.
|
|
5237
3145
|
* @throws {RequiredError}
|
|
5238
|
-
* @memberof OAuthApi
|
|
5239
3146
|
*/
|
|
5240
3147
|
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5241
3148
|
/**
|
|
@@ -5244,13 +3151,11 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
5244
3151
|
* @param {string} agentId ID of the agent to unlink from X
|
|
5245
3152
|
* @param {*} [options] Override http request option.
|
|
5246
3153
|
* @throws {RequiredError}
|
|
5247
|
-
* @memberof OAuthApi
|
|
5248
3154
|
*/
|
|
5249
3155
|
unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5250
3156
|
}
|
|
5251
3157
|
/**
|
|
5252
3158
|
* UserApi - axios parameter creator
|
|
5253
|
-
* @export
|
|
5254
3159
|
*/
|
|
5255
3160
|
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5256
3161
|
/**
|
|
@@ -5270,10 +3175,17 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
5270
3175
|
* @throws {RequiredError}
|
|
5271
3176
|
*/
|
|
5272
3177
|
getUserAgents: (cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3178
|
+
/**
|
|
3179
|
+
* Upload a file for the authenticated user. **Form Data:** * `file` - File to upload (supports images, videos, audio, and PDF files) **Returns:** * `FileUploadResponse` - Contains the CDN URL and unique identifier of the uploaded file **Raises:** * `400` - Invalid file type or file too large * `500` - Upload failed
|
|
3180
|
+
* @summary Upload User File
|
|
3181
|
+
* @param {File} file File to upload
|
|
3182
|
+
* @param {*} [options] Override http request option.
|
|
3183
|
+
* @throws {RequiredError}
|
|
3184
|
+
*/
|
|
3185
|
+
uploadUserFile: (file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5273
3186
|
};
|
|
5274
3187
|
/**
|
|
5275
3188
|
* UserApi - functional programming interface
|
|
5276
|
-
* @export
|
|
5277
3189
|
*/
|
|
5278
3190
|
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
5279
3191
|
/**
|
|
@@ -5293,10 +3205,17 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
5293
3205
|
* @throws {RequiredError}
|
|
5294
3206
|
*/
|
|
5295
3207
|
getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
|
|
3208
|
+
/**
|
|
3209
|
+
* Upload a file for the authenticated user. **Form Data:** * `file` - File to upload (supports images, videos, audio, and PDF files) **Returns:** * `FileUploadResponse` - Contains the CDN URL and unique identifier of the uploaded file **Raises:** * `400` - Invalid file type or file too large * `500` - Upload failed
|
|
3210
|
+
* @summary Upload User File
|
|
3211
|
+
* @param {File} file File to upload
|
|
3212
|
+
* @param {*} [options] Override http request option.
|
|
3213
|
+
* @throws {RequiredError}
|
|
3214
|
+
*/
|
|
3215
|
+
uploadUserFile(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FileUploadResponse>>;
|
|
5296
3216
|
};
|
|
5297
3217
|
/**
|
|
5298
3218
|
* UserApi - factory interface
|
|
5299
|
-
* @export
|
|
5300
3219
|
*/
|
|
5301
3220
|
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5302
3221
|
/**
|
|
@@ -5316,12 +3235,17 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5316
3235
|
* @throws {RequiredError}
|
|
5317
3236
|
*/
|
|
5318
3237
|
getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
|
|
3238
|
+
/**
|
|
3239
|
+
* Upload a file for the authenticated user. **Form Data:** * `file` - File to upload (supports images, videos, audio, and PDF files) **Returns:** * `FileUploadResponse` - Contains the CDN URL and unique identifier of the uploaded file **Raises:** * `400` - Invalid file type or file too large * `500` - Upload failed
|
|
3240
|
+
* @summary Upload User File
|
|
3241
|
+
* @param {File} file File to upload
|
|
3242
|
+
* @param {*} [options] Override http request option.
|
|
3243
|
+
* @throws {RequiredError}
|
|
3244
|
+
*/
|
|
3245
|
+
uploadUserFile(file: File, options?: RawAxiosRequestConfig): AxiosPromise<FileUploadResponse>;
|
|
5319
3246
|
};
|
|
5320
3247
|
/**
|
|
5321
3248
|
* UserApi - object-oriented interface
|
|
5322
|
-
* @export
|
|
5323
|
-
* @class UserApi
|
|
5324
|
-
* @extends {BaseAPI}
|
|
5325
3249
|
*/
|
|
5326
3250
|
export declare class UserApi extends BaseAPI {
|
|
5327
3251
|
/**
|
|
@@ -5330,7 +3254,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
5330
3254
|
* @param {string} agentId Agent ID
|
|
5331
3255
|
* @param {*} [options] Override http request option.
|
|
5332
3256
|
* @throws {RequiredError}
|
|
5333
|
-
* @memberof UserApi
|
|
5334
3257
|
*/
|
|
5335
3258
|
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
5336
3259
|
/**
|
|
@@ -5340,7 +3263,14 @@ export declare class UserApi extends BaseAPI {
|
|
|
5340
3263
|
* @param {number} [limit] Maximum number of agents to return
|
|
5341
3264
|
* @param {*} [options] Override http request option.
|
|
5342
3265
|
* @throws {RequiredError}
|
|
5343
|
-
* @memberof UserApi
|
|
5344
3266
|
*/
|
|
5345
3267
|
getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
3268
|
+
/**
|
|
3269
|
+
* Upload a file for the authenticated user. **Form Data:** * `file` - File to upload (supports images, videos, audio, and PDF files) **Returns:** * `FileUploadResponse` - Contains the CDN URL and unique identifier of the uploaded file **Raises:** * `400` - Invalid file type or file too large * `500` - Upload failed
|
|
3270
|
+
* @summary Upload User File
|
|
3271
|
+
* @param {File} file File to upload
|
|
3272
|
+
* @param {*} [options] Override http request option.
|
|
3273
|
+
* @throws {RequiredError}
|
|
3274
|
+
*/
|
|
3275
|
+
uploadUserFile(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileUploadResponse, any, {}>>;
|
|
5346
3276
|
}
|