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