@crestal/nation-sdk 0.2.34 → 0.6.22
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 +3 -3
- package/api.ts +6 -1742
- package/base.ts +1 -25
- package/common.ts +1 -38
- package/configuration.ts +1 -18
- package/dist/api.d.ts +5 -1737
- package/dist/api.js +22 -150
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -38
- package/dist/common.js +1 -38
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Agent.md +3 -3
- package/docs/AgentApi.md +2 -2
- package/docs/AgentUpdate.md +3 -3
- 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.
|
|
5
|
+
* The version of the OpenAPI document: 0.6.22
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,236 +15,56 @@ import type { RequestArgs } from './base';
|
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
17
|
* Agent model.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Agent
|
|
20
18
|
*/
|
|
21
19
|
export interface Agent {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Agent
|
|
26
|
-
*/
|
|
27
20
|
'name': string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Agent
|
|
32
|
-
*/
|
|
33
21
|
'slug'?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Agent
|
|
38
|
-
*/
|
|
39
22
|
'description'?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Agent
|
|
44
|
-
*/
|
|
45
23
|
'external_website'?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Agent
|
|
50
|
-
*/
|
|
51
24
|
'picture'?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Agent
|
|
56
|
-
*/
|
|
57
25
|
'ticker'?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Agent
|
|
62
|
-
*/
|
|
63
26
|
'token_address'?: string | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof Agent
|
|
68
|
-
*/
|
|
69
27
|
'token_pool'?: string | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof Agent
|
|
74
|
-
*/
|
|
75
28
|
'mode'?: AgentModeEnum | null;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Agent
|
|
80
|
-
*/
|
|
81
29
|
'fee_percentage'?: string | null;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Agent
|
|
86
|
-
*/
|
|
87
30
|
'purpose': string | null;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof Agent
|
|
92
|
-
*/
|
|
93
31
|
'personality': string | null;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof Agent
|
|
98
|
-
*/
|
|
99
32
|
'principles': string | null;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof Agent
|
|
104
|
-
*/
|
|
105
33
|
'owner'?: string | null;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof Agent
|
|
110
|
-
*/
|
|
111
34
|
'upstream_id'?: string | null;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {object}
|
|
115
|
-
* @memberof Agent
|
|
116
|
-
*/
|
|
117
35
|
'upstream_extra'?: object | null;
|
|
118
36
|
/**
|
|
119
37
|
* AI model identifier to be used by this agent for processing requests.
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof Agent
|
|
122
38
|
*/
|
|
123
39
|
'model'?: string;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof Agent
|
|
128
|
-
*/
|
|
129
40
|
'prompt'?: string | null;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {string}
|
|
133
|
-
* @memberof Agent
|
|
134
|
-
*/
|
|
135
41
|
'prompt_append'?: string | null;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {number}
|
|
139
|
-
* @memberof Agent
|
|
140
|
-
*/
|
|
141
42
|
'temperature'?: number | null;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {number}
|
|
145
|
-
* @memberof Agent
|
|
146
|
-
*/
|
|
147
43
|
'frequency_penalty'?: number | null;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {number}
|
|
151
|
-
* @memberof Agent
|
|
152
|
-
*/
|
|
153
44
|
'presence_penalty'?: number | null;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof Agent
|
|
158
|
-
*/
|
|
159
45
|
'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {Array<AgentAutonomous>}
|
|
163
|
-
* @memberof Agent
|
|
164
|
-
*/
|
|
165
46
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof Agent
|
|
170
|
-
*/
|
|
171
47
|
'example_intro'?: string | null;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {Array<AgentExample>}
|
|
175
|
-
* @memberof Agent
|
|
176
|
-
*/
|
|
177
48
|
'examples'?: Array<AgentExample> | null;
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {object}
|
|
181
|
-
* @memberof Agent
|
|
182
|
-
*/
|
|
183
49
|
'skills'?: object | null;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof Agent
|
|
188
|
-
*/
|
|
189
50
|
'wallet_provider'?: AgentWalletProviderEnum | null;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {string}
|
|
193
|
-
* @memberof Agent
|
|
194
|
-
*/
|
|
195
51
|
'readonly_wallet_address'?: string | null;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {string}
|
|
199
|
-
* @memberof Agent
|
|
200
|
-
*/
|
|
201
52
|
'network_id'?: AgentNetworkIdEnum | null;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {string}
|
|
205
|
-
* @memberof Agent
|
|
206
|
-
*/
|
|
207
53
|
'cdp_network_id'?: AgentCdpNetworkIdEnum | null;
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @type {boolean}
|
|
211
|
-
* @memberof Agent
|
|
212
|
-
*/
|
|
213
54
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @memberof Agent
|
|
218
|
-
*/
|
|
219
55
|
'telegram_entrypoint_prompt'?: string | null;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @type {object}
|
|
223
|
-
* @memberof Agent
|
|
224
|
-
*/
|
|
225
56
|
'telegram_config'?: object | null;
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @type {string}
|
|
229
|
-
* @memberof Agent
|
|
230
|
-
*/
|
|
231
57
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
232
58
|
/**
|
|
233
59
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
234
|
-
* @type {string}
|
|
235
|
-
* @memberof Agent
|
|
236
60
|
*/
|
|
237
61
|
'id'?: string;
|
|
238
62
|
/**
|
|
239
63
|
* Timestamp when the agent was created, will ignore when importing
|
|
240
|
-
* @type {string}
|
|
241
|
-
* @memberof Agent
|
|
242
64
|
*/
|
|
243
65
|
'created_at'?: string;
|
|
244
66
|
/**
|
|
245
67
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
246
|
-
* @type {string}
|
|
247
|
-
* @memberof Agent
|
|
248
68
|
*/
|
|
249
69
|
'updated_at'?: string;
|
|
250
70
|
}
|
|
@@ -292,491 +112,208 @@ export declare const AgentCdpNetworkIdEnum: {
|
|
|
292
112
|
export type AgentCdpNetworkIdEnum = typeof AgentCdpNetworkIdEnum[keyof typeof AgentCdpNetworkIdEnum];
|
|
293
113
|
/**
|
|
294
114
|
* Response model for agent API key generation.
|
|
295
|
-
* @export
|
|
296
|
-
* @interface AgentApiKeyResponse
|
|
297
115
|
*/
|
|
298
116
|
export interface AgentApiKeyResponse {
|
|
299
117
|
/**
|
|
300
118
|
* The private API key for the agent (sk-)
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof AgentApiKeyResponse
|
|
303
119
|
*/
|
|
304
120
|
'api_key': string;
|
|
305
121
|
/**
|
|
306
122
|
* The public API key for the agent (pk-)
|
|
307
|
-
* @type {string}
|
|
308
|
-
* @memberof AgentApiKeyResponse
|
|
309
123
|
*/
|
|
310
124
|
'api_key_public': string;
|
|
311
125
|
/**
|
|
312
126
|
* The base URL for the API
|
|
313
|
-
* @type {string}
|
|
314
|
-
* @memberof AgentApiKeyResponse
|
|
315
127
|
*/
|
|
316
128
|
'base_url': string;
|
|
317
129
|
/**
|
|
318
130
|
* API documentation URL
|
|
319
|
-
* @type {string}
|
|
320
|
-
* @memberof AgentApiKeyResponse
|
|
321
131
|
*/
|
|
322
132
|
'api_doc': string;
|
|
323
133
|
/**
|
|
324
134
|
* OpenAPI JSON URL for AI integration
|
|
325
|
-
* @type {string}
|
|
326
|
-
* @memberof AgentApiKeyResponse
|
|
327
135
|
*/
|
|
328
136
|
'doc_for_ai': string;
|
|
329
137
|
}
|
|
330
138
|
/**
|
|
331
139
|
* Response model for agent assets.
|
|
332
|
-
* @export
|
|
333
|
-
* @interface AgentAssetsResponse
|
|
334
140
|
*/
|
|
335
141
|
export interface AgentAssetsResponse {
|
|
336
142
|
/**
|
|
337
143
|
* ID of the agent
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof AgentAssetsResponse
|
|
340
144
|
*/
|
|
341
145
|
'agent_id': string;
|
|
342
|
-
/**
|
|
343
|
-
*
|
|
344
|
-
* @type {string}
|
|
345
|
-
* @memberof AgentAssetsResponse
|
|
346
|
-
*/
|
|
347
146
|
'network_id': string | null;
|
|
348
|
-
/**
|
|
349
|
-
*
|
|
350
|
-
* @type {string}
|
|
351
|
-
* @memberof AgentAssetsResponse
|
|
352
|
-
*/
|
|
353
147
|
'wallet_address': string | null;
|
|
354
|
-
/**
|
|
355
|
-
*
|
|
356
|
-
* @type {string}
|
|
357
|
-
* @memberof AgentAssetsResponse
|
|
358
|
-
*/
|
|
359
148
|
'ticker': string | null;
|
|
360
|
-
/**
|
|
361
|
-
*
|
|
362
|
-
* @type {string}
|
|
363
|
-
* @memberof AgentAssetsResponse
|
|
364
|
-
*/
|
|
365
149
|
'token_address': string | null;
|
|
366
|
-
/**
|
|
367
|
-
*
|
|
368
|
-
* @type {string}
|
|
369
|
-
* @memberof AgentAssetsResponse
|
|
370
|
-
*/
|
|
371
150
|
'token_pool': string | null;
|
|
372
151
|
/**
|
|
373
152
|
* Total value locked, set to 0 for this version
|
|
374
|
-
* @type {string}
|
|
375
|
-
* @memberof AgentAssetsResponse
|
|
376
153
|
*/
|
|
377
154
|
'tvl'?: string;
|
|
378
155
|
/**
|
|
379
156
|
* List of assets with symbol and balance
|
|
380
|
-
* @type {Array<Asset>}
|
|
381
|
-
* @memberof AgentAssetsResponse
|
|
382
157
|
*/
|
|
383
158
|
'assets': Array<Asset>;
|
|
384
159
|
}
|
|
385
160
|
/**
|
|
386
161
|
* Autonomous agent configuration.
|
|
387
|
-
* @export
|
|
388
|
-
* @interface AgentAutonomous
|
|
389
162
|
*/
|
|
390
163
|
export interface AgentAutonomous {
|
|
391
164
|
/**
|
|
392
165
|
* Unique identifier for the autonomous configuration
|
|
393
|
-
* @type {string}
|
|
394
|
-
* @memberof AgentAutonomous
|
|
395
166
|
*/
|
|
396
167
|
'id'?: string;
|
|
397
|
-
/**
|
|
398
|
-
*
|
|
399
|
-
* @type {string}
|
|
400
|
-
* @memberof AgentAutonomous
|
|
401
|
-
*/
|
|
402
168
|
'name'?: string | null;
|
|
403
|
-
/**
|
|
404
|
-
*
|
|
405
|
-
* @type {string}
|
|
406
|
-
* @memberof AgentAutonomous
|
|
407
|
-
*/
|
|
408
169
|
'description'?: string | null;
|
|
409
|
-
/**
|
|
410
|
-
*
|
|
411
|
-
* @type {number}
|
|
412
|
-
* @memberof AgentAutonomous
|
|
413
|
-
*/
|
|
414
170
|
'minutes'?: number | null;
|
|
415
|
-
/**
|
|
416
|
-
*
|
|
417
|
-
* @type {string}
|
|
418
|
-
* @memberof AgentAutonomous
|
|
419
|
-
*/
|
|
420
171
|
'cron'?: string | null;
|
|
421
172
|
/**
|
|
422
173
|
* Special prompt used during autonomous operation
|
|
423
|
-
* @type {string}
|
|
424
|
-
* @memberof AgentAutonomous
|
|
425
174
|
*/
|
|
426
175
|
'prompt': string;
|
|
427
|
-
/**
|
|
428
|
-
*
|
|
429
|
-
* @type {boolean}
|
|
430
|
-
* @memberof AgentAutonomous
|
|
431
|
-
*/
|
|
432
176
|
'enabled'?: boolean | null;
|
|
433
177
|
}
|
|
434
178
|
/**
|
|
435
179
|
* Agent example configuration.
|
|
436
|
-
* @export
|
|
437
|
-
* @interface AgentExample
|
|
438
180
|
*/
|
|
439
181
|
export interface AgentExample {
|
|
440
182
|
/**
|
|
441
183
|
* Name of the example
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof AgentExample
|
|
444
184
|
*/
|
|
445
185
|
'name': string;
|
|
446
186
|
/**
|
|
447
187
|
* Description of the example
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof AgentExample
|
|
450
188
|
*/
|
|
451
189
|
'description': string;
|
|
452
190
|
/**
|
|
453
191
|
* Example prompt
|
|
454
|
-
* @type {string}
|
|
455
|
-
* @memberof AgentExample
|
|
456
192
|
*/
|
|
457
193
|
'prompt': string;
|
|
458
194
|
}
|
|
459
195
|
/**
|
|
460
196
|
* Request model for agent generation.
|
|
461
|
-
* @export
|
|
462
|
-
* @interface AgentGenerateRequest
|
|
463
197
|
*/
|
|
464
198
|
export interface AgentGenerateRequest {
|
|
465
199
|
/**
|
|
466
200
|
* Natural language description of the agent\'s desired capabilities
|
|
467
|
-
* @type {string}
|
|
468
|
-
* @memberof AgentGenerateRequest
|
|
469
201
|
*/
|
|
470
202
|
'prompt': string;
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @type {AgentUpdate}
|
|
474
|
-
* @memberof AgentGenerateRequest
|
|
475
|
-
*/
|
|
476
203
|
'existing_agent'?: AgentUpdate | null;
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @type {string}
|
|
480
|
-
* @memberof AgentGenerateRequest
|
|
481
|
-
*/
|
|
482
204
|
'project_id'?: string | null;
|
|
483
205
|
}
|
|
484
206
|
/**
|
|
485
207
|
* Response model for agent generation.
|
|
486
|
-
* @export
|
|
487
|
-
* @interface AgentGenerateResponse
|
|
488
208
|
*/
|
|
489
209
|
export interface AgentGenerateResponse {
|
|
490
210
|
/**
|
|
491
211
|
* The generated agent schema
|
|
492
|
-
* @type {object}
|
|
493
|
-
* @memberof AgentGenerateResponse
|
|
494
212
|
*/
|
|
495
213
|
'agent': object;
|
|
496
214
|
/**
|
|
497
215
|
* Project ID for this conversation session
|
|
498
|
-
* @type {string}
|
|
499
|
-
* @memberof AgentGenerateResponse
|
|
500
216
|
*/
|
|
501
217
|
'project_id': string;
|
|
502
218
|
/**
|
|
503
219
|
* Human-readable summary of the generated agent
|
|
504
|
-
* @type {string}
|
|
505
|
-
* @memberof AgentGenerateResponse
|
|
506
220
|
*/
|
|
507
221
|
'summary': string;
|
|
508
222
|
/**
|
|
509
223
|
* Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
|
|
510
|
-
* @type {Array<{ [key: string]: number; }>}
|
|
511
|
-
* @memberof AgentGenerateResponse
|
|
512
224
|
*/
|
|
513
225
|
'tags'?: Array<{
|
|
514
226
|
[key: string]: number;
|
|
515
227
|
}>;
|
|
516
228
|
/**
|
|
517
229
|
* List of autonomous tasks generated for the agent
|
|
518
|
-
* @type {Array<object>}
|
|
519
|
-
* @memberof AgentGenerateResponse
|
|
520
230
|
*/
|
|
521
231
|
'autonomous_tasks'?: Array<object>;
|
|
522
232
|
/**
|
|
523
233
|
* List of skills that were activated based on the prompt
|
|
524
|
-
* @type {Array<string>}
|
|
525
|
-
* @memberof AgentGenerateResponse
|
|
526
234
|
*/
|
|
527
235
|
'activated_skills'?: Array<string>;
|
|
528
236
|
}
|
|
529
237
|
/**
|
|
530
238
|
* Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
|
|
531
|
-
* @export
|
|
532
|
-
* @interface AgentListResponse
|
|
533
239
|
*/
|
|
534
240
|
export interface AgentListResponse {
|
|
535
241
|
/**
|
|
536
242
|
* List of agents
|
|
537
|
-
* @type {Array<AgentResponse>}
|
|
538
|
-
* @memberof AgentListResponse
|
|
539
243
|
*/
|
|
540
244
|
'data': Array<AgentResponse>;
|
|
541
245
|
/**
|
|
542
246
|
* Indicates if there are more items
|
|
543
|
-
* @type {boolean}
|
|
544
|
-
* @memberof AgentListResponse
|
|
545
247
|
*/
|
|
546
248
|
'has_more': boolean;
|
|
547
|
-
/**
|
|
548
|
-
*
|
|
549
|
-
* @type {string}
|
|
550
|
-
* @memberof AgentListResponse
|
|
551
|
-
*/
|
|
552
249
|
'next_cursor'?: string | null;
|
|
553
250
|
}
|
|
554
251
|
/**
|
|
555
252
|
* Response model for Agent API.
|
|
556
|
-
* @export
|
|
557
|
-
* @interface AgentResponse
|
|
558
253
|
*/
|
|
559
254
|
export interface AgentResponse {
|
|
560
255
|
/**
|
|
561
256
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
562
|
-
* @type {string}
|
|
563
|
-
* @memberof AgentResponse
|
|
564
257
|
*/
|
|
565
258
|
'id': string;
|
|
566
259
|
/**
|
|
567
260
|
* Timestamp when the agent was created, will ignore when importing
|
|
568
|
-
* @type {string}
|
|
569
|
-
* @memberof AgentResponse
|
|
570
261
|
*/
|
|
571
262
|
'created_at': string;
|
|
572
263
|
/**
|
|
573
264
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
574
|
-
* @type {string}
|
|
575
|
-
* @memberof AgentResponse
|
|
576
265
|
*/
|
|
577
266
|
'updated_at': string;
|
|
578
|
-
/**
|
|
579
|
-
*
|
|
580
|
-
* @type {string}
|
|
581
|
-
* @memberof AgentResponse
|
|
582
|
-
*/
|
|
583
267
|
'name'?: string | null;
|
|
584
|
-
/**
|
|
585
|
-
*
|
|
586
|
-
* @type {string}
|
|
587
|
-
* @memberof AgentResponse
|
|
588
|
-
*/
|
|
589
268
|
'slug'?: string | null;
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @type {string}
|
|
593
|
-
* @memberof AgentResponse
|
|
594
|
-
*/
|
|
595
269
|
'description'?: string | null;
|
|
596
|
-
/**
|
|
597
|
-
*
|
|
598
|
-
* @type {string}
|
|
599
|
-
* @memberof AgentResponse
|
|
600
|
-
*/
|
|
601
270
|
'external_website'?: string | null;
|
|
602
|
-
/**
|
|
603
|
-
*
|
|
604
|
-
* @type {string}
|
|
605
|
-
* @memberof AgentResponse
|
|
606
|
-
*/
|
|
607
271
|
'picture'?: string | null;
|
|
608
|
-
/**
|
|
609
|
-
*
|
|
610
|
-
* @type {string}
|
|
611
|
-
* @memberof AgentResponse
|
|
612
|
-
*/
|
|
613
272
|
'ticker'?: string | null;
|
|
614
|
-
/**
|
|
615
|
-
*
|
|
616
|
-
* @type {string}
|
|
617
|
-
* @memberof AgentResponse
|
|
618
|
-
*/
|
|
619
273
|
'token_address'?: string | null;
|
|
620
|
-
/**
|
|
621
|
-
*
|
|
622
|
-
* @type {string}
|
|
623
|
-
* @memberof AgentResponse
|
|
624
|
-
*/
|
|
625
274
|
'token_pool'?: string | null;
|
|
626
|
-
/**
|
|
627
|
-
*
|
|
628
|
-
* @type {string}
|
|
629
|
-
* @memberof AgentResponse
|
|
630
|
-
*/
|
|
631
275
|
'mode'?: AgentResponseModeEnum | null;
|
|
632
|
-
/**
|
|
633
|
-
*
|
|
634
|
-
* @type {string}
|
|
635
|
-
* @memberof AgentResponse
|
|
636
|
-
*/
|
|
637
276
|
'fee_percentage'?: string | null;
|
|
638
|
-
/**
|
|
639
|
-
*
|
|
640
|
-
* @type {string}
|
|
641
|
-
* @memberof AgentResponse
|
|
642
|
-
*/
|
|
643
277
|
'owner'?: string | null;
|
|
644
|
-
/**
|
|
645
|
-
*
|
|
646
|
-
* @type {string}
|
|
647
|
-
* @memberof AgentResponse
|
|
648
|
-
*/
|
|
649
278
|
'upstream_id'?: string | null;
|
|
650
|
-
/**
|
|
651
|
-
*
|
|
652
|
-
* @type {object}
|
|
653
|
-
* @memberof AgentResponse
|
|
654
|
-
*/
|
|
655
279
|
'upstream_extra'?: object | null;
|
|
656
280
|
/**
|
|
657
281
|
* AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent
|
|
658
|
-
* @type {string}
|
|
659
|
-
* @memberof AgentResponse
|
|
660
282
|
*/
|
|
661
283
|
'model': string;
|
|
662
|
-
/**
|
|
663
|
-
*
|
|
664
|
-
* @type {Array<object>}
|
|
665
|
-
* @memberof AgentResponse
|
|
666
|
-
*/
|
|
667
284
|
'autonomous'?: Array<object> | null;
|
|
668
|
-
/**
|
|
669
|
-
*
|
|
670
|
-
* @type {string}
|
|
671
|
-
* @memberof AgentResponse
|
|
672
|
-
*/
|
|
673
285
|
'example_intro'?: string | null;
|
|
674
|
-
/**
|
|
675
|
-
*
|
|
676
|
-
* @type {Array<AgentExample>}
|
|
677
|
-
* @memberof AgentResponse
|
|
678
|
-
*/
|
|
679
286
|
'examples'?: Array<AgentExample> | null;
|
|
680
|
-
/**
|
|
681
|
-
*
|
|
682
|
-
* @type {object}
|
|
683
|
-
* @memberof AgentResponse
|
|
684
|
-
*/
|
|
685
287
|
'skills'?: object | null;
|
|
686
|
-
/**
|
|
687
|
-
*
|
|
688
|
-
* @type {string}
|
|
689
|
-
* @memberof AgentResponse
|
|
690
|
-
*/
|
|
691
288
|
'wallet_provider'?: AgentResponseWalletProviderEnum | null;
|
|
692
|
-
/**
|
|
693
|
-
*
|
|
694
|
-
* @type {string}
|
|
695
|
-
* @memberof AgentResponse
|
|
696
|
-
*/
|
|
697
289
|
'network_id'?: string | null;
|
|
698
|
-
/**
|
|
699
|
-
*
|
|
700
|
-
* @type {string}
|
|
701
|
-
* @memberof AgentResponse
|
|
702
|
-
*/
|
|
703
290
|
'cdp_network_id'?: string | null;
|
|
704
|
-
/**
|
|
705
|
-
*
|
|
706
|
-
* @type {boolean}
|
|
707
|
-
* @memberof AgentResponse
|
|
708
|
-
*/
|
|
709
291
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
710
|
-
/**
|
|
711
|
-
*
|
|
712
|
-
* @type {string}
|
|
713
|
-
* @memberof AgentResponse
|
|
714
|
-
*/
|
|
715
292
|
'cdp_wallet_address': string | null;
|
|
716
|
-
/**
|
|
717
|
-
*
|
|
718
|
-
* @type {string}
|
|
719
|
-
* @memberof AgentResponse
|
|
720
|
-
*/
|
|
721
293
|
'evm_wallet_address': string | null;
|
|
722
|
-
/**
|
|
723
|
-
*
|
|
724
|
-
* @type {string}
|
|
725
|
-
* @memberof AgentResponse
|
|
726
|
-
*/
|
|
727
294
|
'solana_wallet_address': string | null;
|
|
728
295
|
/**
|
|
729
296
|
* Whether the agent has linked their Twitter account
|
|
730
|
-
* @type {boolean}
|
|
731
|
-
* @memberof AgentResponse
|
|
732
297
|
*/
|
|
733
298
|
'has_twitter_linked': boolean;
|
|
734
|
-
/**
|
|
735
|
-
*
|
|
736
|
-
* @type {string}
|
|
737
|
-
* @memberof AgentResponse
|
|
738
|
-
*/
|
|
739
299
|
'linked_twitter_username': string | null;
|
|
740
|
-
/**
|
|
741
|
-
*
|
|
742
|
-
* @type {string}
|
|
743
|
-
* @memberof AgentResponse
|
|
744
|
-
*/
|
|
745
300
|
'linked_twitter_name': string | null;
|
|
746
301
|
/**
|
|
747
302
|
* Whether the agent has self-keyed their Twitter account
|
|
748
|
-
* @type {boolean}
|
|
749
|
-
* @memberof AgentResponse
|
|
750
303
|
*/
|
|
751
304
|
'has_twitter_self_key': boolean;
|
|
752
305
|
/**
|
|
753
306
|
* Whether the agent has self-keyed their Telegram account
|
|
754
|
-
* @type {boolean}
|
|
755
|
-
* @memberof AgentResponse
|
|
756
307
|
*/
|
|
757
308
|
'has_telegram_self_key': boolean;
|
|
758
|
-
/**
|
|
759
|
-
*
|
|
760
|
-
* @type {string}
|
|
761
|
-
* @memberof AgentResponse
|
|
762
|
-
*/
|
|
763
309
|
'linked_telegram_username': string | null;
|
|
764
|
-
/**
|
|
765
|
-
*
|
|
766
|
-
* @type {string}
|
|
767
|
-
* @memberof AgentResponse
|
|
768
|
-
*/
|
|
769
310
|
'linked_telegram_name': string | null;
|
|
770
311
|
/**
|
|
771
312
|
* Whether the agent accepts image inputs in public mode
|
|
772
|
-
* @type {boolean}
|
|
773
|
-
* @memberof AgentResponse
|
|
774
313
|
*/
|
|
775
314
|
'accept_image_input': boolean;
|
|
776
315
|
/**
|
|
777
316
|
* Whether the agent accepts image inputs in private mode
|
|
778
|
-
* @type {boolean}
|
|
779
|
-
* @memberof AgentResponse
|
|
780
317
|
*/
|
|
781
318
|
'accept_image_input_private': boolean;
|
|
782
319
|
}
|
|
@@ -792,8 +329,6 @@ export declare const AgentResponseWalletProviderEnum: {
|
|
|
792
329
|
export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
|
|
793
330
|
/**
|
|
794
331
|
* Sort options for agents list.
|
|
795
|
-
* @export
|
|
796
|
-
* @enum {string}
|
|
797
332
|
*/
|
|
798
333
|
export declare const AgentSortOption: {
|
|
799
334
|
readonly CreatedAtDesc: "created_at desc";
|
|
@@ -803,316 +338,110 @@ export declare const AgentSortOption: {
|
|
|
803
338
|
export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOption];
|
|
804
339
|
/**
|
|
805
340
|
* Response model for agent statistics.
|
|
806
|
-
* @export
|
|
807
|
-
* @interface AgentStatisticsResponse
|
|
808
341
|
*/
|
|
809
342
|
export interface AgentStatisticsResponse {
|
|
810
343
|
/**
|
|
811
344
|
* ID of the agent
|
|
812
|
-
* @type {string}
|
|
813
|
-
* @memberof AgentStatisticsResponse
|
|
814
345
|
*/
|
|
815
346
|
'agent_id': string;
|
|
816
347
|
/**
|
|
817
348
|
* ID of the agent\'s credit account
|
|
818
|
-
* @type {string}
|
|
819
|
-
* @memberof AgentStatisticsResponse
|
|
820
349
|
*/
|
|
821
350
|
'account_id': string;
|
|
822
351
|
/**
|
|
823
352
|
* Total balance of the agent\'s account
|
|
824
|
-
* @type {string}
|
|
825
|
-
* @memberof AgentStatisticsResponse
|
|
826
353
|
*/
|
|
827
354
|
'balance': string;
|
|
828
355
|
/**
|
|
829
356
|
* Total income from all credit events
|
|
830
|
-
* @type {string}
|
|
831
|
-
* @memberof AgentStatisticsResponse
|
|
832
357
|
*/
|
|
833
358
|
'total_income': string;
|
|
834
359
|
/**
|
|
835
360
|
* Net income from all credit events
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof AgentStatisticsResponse
|
|
838
361
|
*/
|
|
839
362
|
'net_income': string;
|
|
840
363
|
/**
|
|
841
364
|
* Permanent income from all credit events
|
|
842
|
-
* @type {string}
|
|
843
|
-
* @memberof AgentStatisticsResponse
|
|
844
365
|
*/
|
|
845
366
|
'permanent_income': string;
|
|
846
367
|
/**
|
|
847
368
|
* Permanent profit from all credit events
|
|
848
|
-
* @type {string}
|
|
849
|
-
* @memberof AgentStatisticsResponse
|
|
850
369
|
*/
|
|
851
370
|
'permanent_profit': string;
|
|
852
371
|
/**
|
|
853
372
|
* Income from last 24 hours
|
|
854
|
-
* @type {string}
|
|
855
|
-
* @memberof AgentStatisticsResponse
|
|
856
373
|
*/
|
|
857
374
|
'last_24h_income': string;
|
|
858
375
|
/**
|
|
859
376
|
* Permanent income from last 24 hours
|
|
860
|
-
* @type {string}
|
|
861
|
-
* @memberof AgentStatisticsResponse
|
|
862
377
|
*/
|
|
863
378
|
'last_24h_permanent_income': string;
|
|
864
379
|
/**
|
|
865
380
|
* Average action cost
|
|
866
|
-
* @type {string}
|
|
867
|
-
* @memberof AgentStatisticsResponse
|
|
868
381
|
*/
|
|
869
382
|
'avg_action_cost': string;
|
|
870
383
|
/**
|
|
871
384
|
* Minimum action cost
|
|
872
|
-
* @type {string}
|
|
873
|
-
* @memberof AgentStatisticsResponse
|
|
874
385
|
*/
|
|
875
386
|
'min_action_cost': string;
|
|
876
387
|
/**
|
|
877
388
|
* Maximum action cost
|
|
878
|
-
* @type {string}
|
|
879
|
-
* @memberof AgentStatisticsResponse
|
|
880
389
|
*/
|
|
881
390
|
'max_action_cost': string;
|
|
882
391
|
/**
|
|
883
392
|
* Low action cost
|
|
884
|
-
* @type {string}
|
|
885
|
-
* @memberof AgentStatisticsResponse
|
|
886
393
|
*/
|
|
887
394
|
'low_action_cost': string;
|
|
888
395
|
/**
|
|
889
396
|
* Medium action cost
|
|
890
|
-
* @type {string}
|
|
891
|
-
* @memberof AgentStatisticsResponse
|
|
892
397
|
*/
|
|
893
398
|
'medium_action_cost': string;
|
|
894
399
|
/**
|
|
895
400
|
* High action cost
|
|
896
|
-
* @type {string}
|
|
897
|
-
* @memberof AgentStatisticsResponse
|
|
898
401
|
*/
|
|
899
402
|
'high_action_cost': string;
|
|
900
403
|
}
|
|
901
404
|
/**
|
|
902
405
|
* Agent update model.
|
|
903
|
-
* @export
|
|
904
|
-
* @interface AgentUpdate
|
|
905
406
|
*/
|
|
906
407
|
export interface AgentUpdate {
|
|
907
|
-
/**
|
|
908
|
-
*
|
|
909
|
-
* @type {string}
|
|
910
|
-
* @memberof AgentUpdate
|
|
911
|
-
*/
|
|
912
408
|
'name': string | null;
|
|
913
|
-
/**
|
|
914
|
-
*
|
|
915
|
-
* @type {string}
|
|
916
|
-
* @memberof AgentUpdate
|
|
917
|
-
*/
|
|
918
409
|
'slug'?: string | null;
|
|
919
|
-
/**
|
|
920
|
-
*
|
|
921
|
-
* @type {string}
|
|
922
|
-
* @memberof AgentUpdate
|
|
923
|
-
*/
|
|
924
410
|
'description'?: string | null;
|
|
925
|
-
/**
|
|
926
|
-
*
|
|
927
|
-
* @type {string}
|
|
928
|
-
* @memberof AgentUpdate
|
|
929
|
-
*/
|
|
930
411
|
'external_website'?: string | null;
|
|
931
|
-
/**
|
|
932
|
-
*
|
|
933
|
-
* @type {string}
|
|
934
|
-
* @memberof AgentUpdate
|
|
935
|
-
*/
|
|
936
412
|
'picture'?: string | null;
|
|
937
|
-
/**
|
|
938
|
-
*
|
|
939
|
-
* @type {string}
|
|
940
|
-
* @memberof AgentUpdate
|
|
941
|
-
*/
|
|
942
413
|
'ticker'?: string | null;
|
|
943
|
-
/**
|
|
944
|
-
*
|
|
945
|
-
* @type {string}
|
|
946
|
-
* @memberof AgentUpdate
|
|
947
|
-
*/
|
|
948
414
|
'token_address'?: string | null;
|
|
949
|
-
/**
|
|
950
|
-
*
|
|
951
|
-
* @type {string}
|
|
952
|
-
* @memberof AgentUpdate
|
|
953
|
-
*/
|
|
954
415
|
'token_pool'?: string | null;
|
|
955
|
-
/**
|
|
956
|
-
*
|
|
957
|
-
* @type {string}
|
|
958
|
-
* @memberof AgentUpdate
|
|
959
|
-
*/
|
|
960
416
|
'mode'?: AgentUpdateModeEnum | null;
|
|
961
|
-
/**
|
|
962
|
-
*
|
|
963
|
-
* @type {FeePercentage}
|
|
964
|
-
* @memberof AgentUpdate
|
|
965
|
-
*/
|
|
966
417
|
'fee_percentage'?: FeePercentage | null;
|
|
967
|
-
/**
|
|
968
|
-
*
|
|
969
|
-
* @type {string}
|
|
970
|
-
* @memberof AgentUpdate
|
|
971
|
-
*/
|
|
972
418
|
'purpose': string | null;
|
|
973
|
-
/**
|
|
974
|
-
*
|
|
975
|
-
* @type {string}
|
|
976
|
-
* @memberof AgentUpdate
|
|
977
|
-
*/
|
|
978
419
|
'personality': string | null;
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
981
|
-
* @type {string}
|
|
982
|
-
* @memberof AgentUpdate
|
|
983
|
-
*/
|
|
984
420
|
'principles': string | null;
|
|
985
|
-
/**
|
|
986
|
-
*
|
|
987
|
-
* @type {string}
|
|
988
|
-
* @memberof AgentUpdate
|
|
989
|
-
*/
|
|
990
421
|
'owner'?: string | null;
|
|
991
|
-
/**
|
|
992
|
-
*
|
|
993
|
-
* @type {string}
|
|
994
|
-
* @memberof AgentUpdate
|
|
995
|
-
*/
|
|
996
422
|
'upstream_id'?: string | null;
|
|
997
|
-
/**
|
|
998
|
-
*
|
|
999
|
-
* @type {object}
|
|
1000
|
-
* @memberof AgentUpdate
|
|
1001
|
-
*/
|
|
1002
423
|
'upstream_extra'?: object | null;
|
|
1003
424
|
/**
|
|
1004
425
|
* AI model identifier to be used by this agent for processing requests.
|
|
1005
|
-
* @type {string}
|
|
1006
|
-
* @memberof AgentUpdate
|
|
1007
426
|
*/
|
|
1008
427
|
'model'?: string;
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @type {string}
|
|
1012
|
-
* @memberof AgentUpdate
|
|
1013
|
-
*/
|
|
1014
428
|
'prompt'?: string | null;
|
|
1015
|
-
/**
|
|
1016
|
-
*
|
|
1017
|
-
* @type {string}
|
|
1018
|
-
* @memberof AgentUpdate
|
|
1019
|
-
*/
|
|
1020
429
|
'prompt_append'?: string | null;
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {number}
|
|
1024
|
-
* @memberof AgentUpdate
|
|
1025
|
-
*/
|
|
1026
430
|
'temperature'?: number | null;
|
|
1027
|
-
/**
|
|
1028
|
-
*
|
|
1029
|
-
* @type {number}
|
|
1030
|
-
* @memberof AgentUpdate
|
|
1031
|
-
*/
|
|
1032
431
|
'frequency_penalty'?: number | null;
|
|
1033
|
-
/**
|
|
1034
|
-
*
|
|
1035
|
-
* @type {number}
|
|
1036
|
-
* @memberof AgentUpdate
|
|
1037
|
-
*/
|
|
1038
432
|
'presence_penalty'?: number | null;
|
|
1039
|
-
/**
|
|
1040
|
-
*
|
|
1041
|
-
* @type {string}
|
|
1042
|
-
* @memberof AgentUpdate
|
|
1043
|
-
*/
|
|
1044
433
|
'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
|
|
1045
|
-
/**
|
|
1046
|
-
*
|
|
1047
|
-
* @type {Array<AgentAutonomous>}
|
|
1048
|
-
* @memberof AgentUpdate
|
|
1049
|
-
*/
|
|
1050
434
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1051
|
-
/**
|
|
1052
|
-
*
|
|
1053
|
-
* @type {string}
|
|
1054
|
-
* @memberof AgentUpdate
|
|
1055
|
-
*/
|
|
1056
435
|
'example_intro'?: string | null;
|
|
1057
|
-
/**
|
|
1058
|
-
*
|
|
1059
|
-
* @type {Array<AgentExample>}
|
|
1060
|
-
* @memberof AgentUpdate
|
|
1061
|
-
*/
|
|
1062
436
|
'examples'?: Array<AgentExample> | null;
|
|
1063
|
-
/**
|
|
1064
|
-
*
|
|
1065
|
-
* @type {object}
|
|
1066
|
-
* @memberof AgentUpdate
|
|
1067
|
-
*/
|
|
1068
437
|
'skills'?: object | null;
|
|
1069
|
-
/**
|
|
1070
|
-
*
|
|
1071
|
-
* @type {string}
|
|
1072
|
-
* @memberof AgentUpdate
|
|
1073
|
-
*/
|
|
1074
438
|
'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
|
|
1075
|
-
/**
|
|
1076
|
-
*
|
|
1077
|
-
* @type {string}
|
|
1078
|
-
* @memberof AgentUpdate
|
|
1079
|
-
*/
|
|
1080
439
|
'readonly_wallet_address'?: string | null;
|
|
1081
|
-
/**
|
|
1082
|
-
*
|
|
1083
|
-
* @type {string}
|
|
1084
|
-
* @memberof AgentUpdate
|
|
1085
|
-
*/
|
|
1086
440
|
'network_id'?: AgentUpdateNetworkIdEnum | null;
|
|
1087
|
-
/**
|
|
1088
|
-
*
|
|
1089
|
-
* @type {string}
|
|
1090
|
-
* @memberof AgentUpdate
|
|
1091
|
-
*/
|
|
1092
441
|
'cdp_network_id'?: AgentUpdateCdpNetworkIdEnum | null;
|
|
1093
|
-
/**
|
|
1094
|
-
*
|
|
1095
|
-
* @type {boolean}
|
|
1096
|
-
* @memberof AgentUpdate
|
|
1097
|
-
*/
|
|
1098
442
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1099
|
-
/**
|
|
1100
|
-
*
|
|
1101
|
-
* @type {string}
|
|
1102
|
-
* @memberof AgentUpdate
|
|
1103
|
-
*/
|
|
1104
443
|
'telegram_entrypoint_prompt'?: string | null;
|
|
1105
|
-
/**
|
|
1106
|
-
*
|
|
1107
|
-
* @type {object}
|
|
1108
|
-
* @memberof AgentUpdate
|
|
1109
|
-
*/
|
|
1110
444
|
'telegram_config'?: object | null;
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @type {string}
|
|
1114
|
-
* @memberof AgentUpdate
|
|
1115
|
-
*/
|
|
1116
445
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
1117
446
|
}
|
|
1118
447
|
export declare const AgentUpdateModeEnum: {
|
|
@@ -1159,27 +488,19 @@ export declare const AgentUpdateCdpNetworkIdEnum: {
|
|
|
1159
488
|
export type AgentUpdateCdpNetworkIdEnum = typeof AgentUpdateCdpNetworkIdEnum[keyof typeof AgentUpdateCdpNetworkIdEnum];
|
|
1160
489
|
/**
|
|
1161
490
|
* Model for individual asset with symbol and balance.
|
|
1162
|
-
* @export
|
|
1163
|
-
* @interface Asset
|
|
1164
491
|
*/
|
|
1165
492
|
export interface Asset {
|
|
1166
493
|
/**
|
|
1167
494
|
* Asset symbol (e.g., ETH, USDC, NATION)
|
|
1168
|
-
* @type {string}
|
|
1169
|
-
* @memberof Asset
|
|
1170
495
|
*/
|
|
1171
496
|
'symbol': string;
|
|
1172
497
|
/**
|
|
1173
498
|
* Asset balance as decimal
|
|
1174
|
-
* @type {string}
|
|
1175
|
-
* @memberof Asset
|
|
1176
499
|
*/
|
|
1177
500
|
'balance': string;
|
|
1178
501
|
}
|
|
1179
502
|
/**
|
|
1180
503
|
* Type of message author.
|
|
1181
|
-
* @export
|
|
1182
|
-
* @enum {string}
|
|
1183
504
|
*/
|
|
1184
505
|
export declare const AuthorType: {
|
|
1185
506
|
readonly Agent: "agent";
|
|
@@ -1195,227 +516,111 @@ export declare const AuthorType: {
|
|
|
1195
516
|
export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
|
|
1196
517
|
/**
|
|
1197
518
|
* Chat model with all fields including server-generated ones.
|
|
1198
|
-
* @export
|
|
1199
|
-
* @interface Chat
|
|
1200
519
|
*/
|
|
1201
520
|
export interface Chat {
|
|
1202
521
|
/**
|
|
1203
522
|
* Unique identifier for the chat
|
|
1204
|
-
* @type {string}
|
|
1205
|
-
* @memberof Chat
|
|
1206
523
|
*/
|
|
1207
524
|
'id'?: string;
|
|
1208
525
|
/**
|
|
1209
526
|
* ID of the agent this chat belongs to
|
|
1210
|
-
* @type {string}
|
|
1211
|
-
* @memberof Chat
|
|
1212
527
|
*/
|
|
1213
528
|
'agent_id': string;
|
|
1214
529
|
/**
|
|
1215
530
|
* User ID of the chat
|
|
1216
|
-
* @type {string}
|
|
1217
|
-
* @memberof Chat
|
|
1218
531
|
*/
|
|
1219
532
|
'user_id': string;
|
|
1220
533
|
/**
|
|
1221
534
|
* Summary of the chat
|
|
1222
|
-
* @type {string}
|
|
1223
|
-
* @memberof Chat
|
|
1224
535
|
*/
|
|
1225
536
|
'summary'?: string;
|
|
1226
537
|
/**
|
|
1227
538
|
* Number of rounds in the chat
|
|
1228
|
-
* @type {number}
|
|
1229
|
-
* @memberof Chat
|
|
1230
539
|
*/
|
|
1231
540
|
'rounds'?: number;
|
|
1232
541
|
/**
|
|
1233
542
|
* Timestamp when this chat was created
|
|
1234
|
-
* @type {string}
|
|
1235
|
-
* @memberof Chat
|
|
1236
543
|
*/
|
|
1237
544
|
'created_at': string;
|
|
1238
545
|
/**
|
|
1239
546
|
* Timestamp when this chat was updated
|
|
1240
|
-
* @type {string}
|
|
1241
|
-
* @memberof Chat
|
|
1242
547
|
*/
|
|
1243
548
|
'updated_at': string;
|
|
1244
549
|
}
|
|
1245
550
|
/**
|
|
1246
551
|
* Chat message model with all fields including server-generated ones.
|
|
1247
|
-
* @export
|
|
1248
|
-
* @interface ChatMessage
|
|
1249
552
|
*/
|
|
1250
553
|
export interface ChatMessage {
|
|
1251
554
|
/**
|
|
1252
555
|
* Unique identifier for the chat message
|
|
1253
|
-
* @type {string}
|
|
1254
|
-
* @memberof ChatMessage
|
|
1255
556
|
*/
|
|
1256
557
|
'id'?: string;
|
|
1257
558
|
/**
|
|
1258
559
|
* ID of the agent this message belongs to
|
|
1259
|
-
* @type {string}
|
|
1260
|
-
* @memberof ChatMessage
|
|
1261
560
|
*/
|
|
1262
561
|
'agent_id': string;
|
|
1263
562
|
/**
|
|
1264
563
|
* ID of the chat this message belongs to
|
|
1265
|
-
* @type {string}
|
|
1266
|
-
* @memberof ChatMessage
|
|
1267
564
|
*/
|
|
1268
565
|
'chat_id': string;
|
|
1269
|
-
/**
|
|
1270
|
-
*
|
|
1271
|
-
* @type {string}
|
|
1272
|
-
* @memberof ChatMessage
|
|
1273
|
-
*/
|
|
1274
566
|
'user_id': string | null;
|
|
1275
567
|
/**
|
|
1276
568
|
* ID of the message author
|
|
1277
|
-
* @type {string}
|
|
1278
|
-
* @memberof ChatMessage
|
|
1279
569
|
*/
|
|
1280
570
|
'author_id': string;
|
|
1281
571
|
/**
|
|
1282
572
|
* Type of the message author
|
|
1283
|
-
* @type {AuthorType}
|
|
1284
|
-
* @memberof ChatMessage
|
|
1285
573
|
*/
|
|
1286
574
|
'author_type': AuthorType;
|
|
1287
|
-
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @type {string}
|
|
1290
|
-
* @memberof ChatMessage
|
|
1291
|
-
*/
|
|
1292
575
|
'model'?: string | null;
|
|
1293
|
-
/**
|
|
1294
|
-
*
|
|
1295
|
-
* @type {AuthorType}
|
|
1296
|
-
* @memberof ChatMessage
|
|
1297
|
-
*/
|
|
1298
576
|
'thread_type'?: AuthorType | null;
|
|
1299
|
-
/**
|
|
1300
|
-
*
|
|
1301
|
-
* @type {string}
|
|
1302
|
-
* @memberof ChatMessage
|
|
1303
|
-
*/
|
|
1304
577
|
'reply_to'?: string | null;
|
|
1305
578
|
/**
|
|
1306
579
|
* Content of the message
|
|
1307
|
-
* @type {string}
|
|
1308
|
-
* @memberof ChatMessage
|
|
1309
580
|
*/
|
|
1310
581
|
'message': string;
|
|
1311
|
-
/**
|
|
1312
|
-
*
|
|
1313
|
-
* @type {Array<ChatMessageAttachment>}
|
|
1314
|
-
* @memberof ChatMessage
|
|
1315
|
-
*/
|
|
1316
582
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
1317
|
-
/**
|
|
1318
|
-
*
|
|
1319
|
-
* @type {Array<ChatMessageSkillCall>}
|
|
1320
|
-
* @memberof ChatMessage
|
|
1321
|
-
*/
|
|
1322
583
|
'skill_calls'?: Array<ChatMessageSkillCall> | null;
|
|
1323
584
|
/**
|
|
1324
585
|
* Number of tokens in the input message
|
|
1325
|
-
* @type {number}
|
|
1326
|
-
* @memberof ChatMessage
|
|
1327
586
|
*/
|
|
1328
587
|
'input_tokens'?: number;
|
|
1329
588
|
/**
|
|
1330
589
|
* Number of tokens in the output message
|
|
1331
|
-
* @type {number}
|
|
1332
|
-
* @memberof ChatMessage
|
|
1333
590
|
*/
|
|
1334
591
|
'output_tokens'?: number;
|
|
1335
592
|
/**
|
|
1336
593
|
* Time cost for the message in seconds
|
|
1337
|
-
* @type {number}
|
|
1338
|
-
* @memberof ChatMessage
|
|
1339
594
|
*/
|
|
1340
595
|
'time_cost'?: number;
|
|
1341
|
-
/**
|
|
1342
|
-
*
|
|
1343
|
-
* @type {string}
|
|
1344
|
-
* @memberof ChatMessage
|
|
1345
|
-
*/
|
|
1346
596
|
'credit_event_id'?: string | null;
|
|
1347
|
-
/**
|
|
1348
|
-
*
|
|
1349
|
-
* @type {string}
|
|
1350
|
-
* @memberof ChatMessage
|
|
1351
|
-
*/
|
|
1352
597
|
'credit_cost'?: string | null;
|
|
1353
598
|
/**
|
|
1354
599
|
* Cost for the cold start of the message in seconds
|
|
1355
|
-
* @type {number}
|
|
1356
|
-
* @memberof ChatMessage
|
|
1357
600
|
*/
|
|
1358
601
|
'cold_start_cost'?: number;
|
|
1359
|
-
/**
|
|
1360
|
-
*
|
|
1361
|
-
* @type {string}
|
|
1362
|
-
* @memberof ChatMessage
|
|
1363
|
-
*/
|
|
1364
602
|
'app_id'?: string | null;
|
|
1365
|
-
/**
|
|
1366
|
-
*
|
|
1367
|
-
* @type {boolean}
|
|
1368
|
-
* @memberof ChatMessage
|
|
1369
|
-
*/
|
|
1370
603
|
'search_mode'?: boolean | null;
|
|
1371
|
-
/**
|
|
1372
|
-
*
|
|
1373
|
-
* @type {boolean}
|
|
1374
|
-
* @memberof ChatMessage
|
|
1375
|
-
*/
|
|
1376
604
|
'super_mode'?: boolean | null;
|
|
1377
|
-
/**
|
|
1378
|
-
*
|
|
1379
|
-
* @type {SystemMessageType}
|
|
1380
|
-
* @memberof ChatMessage
|
|
1381
|
-
*/
|
|
1382
605
|
'error_type'?: SystemMessageType | null;
|
|
1383
606
|
/**
|
|
1384
607
|
* Timestamp when this message was created
|
|
1385
|
-
* @type {string}
|
|
1386
|
-
* @memberof ChatMessage
|
|
1387
608
|
*/
|
|
1388
609
|
'created_at': string;
|
|
1389
610
|
}
|
|
1390
611
|
/**
|
|
1391
612
|
* Chat message attachment model. An attachment can be a link, image, or file that is associated with a chat message.
|
|
1392
|
-
* @export
|
|
1393
|
-
* @interface ChatMessageAttachment
|
|
1394
613
|
*/
|
|
1395
614
|
export interface ChatMessageAttachment {
|
|
1396
615
|
/**
|
|
1397
616
|
* Type of the attachment (link, image, or file)
|
|
1398
|
-
* @type {ChatMessageAttachmentType}
|
|
1399
|
-
* @memberof ChatMessageAttachment
|
|
1400
617
|
*/
|
|
1401
618
|
'type': ChatMessageAttachmentType;
|
|
1402
|
-
/**
|
|
1403
|
-
*
|
|
1404
|
-
* @type {string}
|
|
1405
|
-
* @memberof ChatMessageAttachment
|
|
1406
|
-
*/
|
|
1407
619
|
'url': string | null;
|
|
1408
|
-
/**
|
|
1409
|
-
*
|
|
1410
|
-
* @type {object}
|
|
1411
|
-
* @memberof ChatMessageAttachment
|
|
1412
|
-
*/
|
|
1413
620
|
'json'?: object | null;
|
|
1414
621
|
}
|
|
1415
622
|
/**
|
|
1416
623
|
* Type of chat message attachment.
|
|
1417
|
-
* @export
|
|
1418
|
-
* @enum {string}
|
|
1419
624
|
*/
|
|
1420
625
|
export declare const ChatMessageAttachmentType: {
|
|
1421
626
|
readonly Link: "link";
|
|
@@ -1426,229 +631,98 @@ export declare const ChatMessageAttachmentType: {
|
|
|
1426
631
|
export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof typeof ChatMessageAttachmentType];
|
|
1427
632
|
/**
|
|
1428
633
|
* 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.
|
|
1429
|
-
* @export
|
|
1430
|
-
* @interface ChatMessageRequest
|
|
1431
634
|
*/
|
|
1432
635
|
export interface ChatMessageRequest {
|
|
1433
|
-
/**
|
|
1434
|
-
*
|
|
1435
|
-
* @type {string}
|
|
1436
|
-
* @memberof ChatMessageRequest
|
|
1437
|
-
*/
|
|
1438
636
|
'app_id'?: string | null;
|
|
1439
637
|
/**
|
|
1440
638
|
* Content of the message
|
|
1441
|
-
* @type {string}
|
|
1442
|
-
* @memberof ChatMessageRequest
|
|
1443
639
|
*/
|
|
1444
640
|
'message': string;
|
|
1445
|
-
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @type {boolean}
|
|
1448
|
-
* @memberof ChatMessageRequest
|
|
1449
|
-
*/
|
|
1450
641
|
'stream'?: boolean | null;
|
|
1451
|
-
/**
|
|
1452
|
-
*
|
|
1453
|
-
* @type {boolean}
|
|
1454
|
-
* @memberof ChatMessageRequest
|
|
1455
|
-
*/
|
|
1456
642
|
'search_mode'?: boolean | null;
|
|
1457
|
-
/**
|
|
1458
|
-
*
|
|
1459
|
-
* @type {boolean}
|
|
1460
|
-
* @memberof ChatMessageRequest
|
|
1461
|
-
*/
|
|
1462
643
|
'super_mode'?: boolean | null;
|
|
1463
|
-
/**
|
|
1464
|
-
*
|
|
1465
|
-
* @type {Array<ChatMessageAttachment>}
|
|
1466
|
-
* @memberof ChatMessageRequest
|
|
1467
|
-
*/
|
|
1468
644
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
1469
645
|
}
|
|
1470
646
|
/**
|
|
1471
647
|
* TypedDict for skill call details.
|
|
1472
|
-
* @export
|
|
1473
|
-
* @interface ChatMessageSkillCall
|
|
1474
648
|
*/
|
|
1475
649
|
export interface ChatMessageSkillCall {
|
|
1476
|
-
/**
|
|
1477
|
-
*
|
|
1478
|
-
* @type {string}
|
|
1479
|
-
* @memberof ChatMessageSkillCall
|
|
1480
|
-
*/
|
|
1481
650
|
'id'?: string;
|
|
1482
|
-
/**
|
|
1483
|
-
*
|
|
1484
|
-
* @type {string}
|
|
1485
|
-
* @memberof ChatMessageSkillCall
|
|
1486
|
-
*/
|
|
1487
651
|
'name': string;
|
|
1488
|
-
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @type {object}
|
|
1491
|
-
* @memberof ChatMessageSkillCall
|
|
1492
|
-
*/
|
|
1493
652
|
'parameters': object;
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
* @type {boolean}
|
|
1497
|
-
* @memberof ChatMessageSkillCall
|
|
1498
|
-
*/
|
|
1499
653
|
'success': boolean;
|
|
1500
|
-
/**
|
|
1501
|
-
*
|
|
1502
|
-
* @type {string}
|
|
1503
|
-
* @memberof ChatMessageSkillCall
|
|
1504
|
-
*/
|
|
1505
654
|
'response'?: string;
|
|
1506
|
-
/**
|
|
1507
|
-
*
|
|
1508
|
-
* @type {string}
|
|
1509
|
-
* @memberof ChatMessageSkillCall
|
|
1510
|
-
*/
|
|
1511
655
|
'error_message'?: string;
|
|
1512
|
-
/**
|
|
1513
|
-
*
|
|
1514
|
-
* @type {string}
|
|
1515
|
-
* @memberof ChatMessageSkillCall
|
|
1516
|
-
*/
|
|
1517
656
|
'credit_event_id'?: string;
|
|
1518
|
-
/**
|
|
1519
|
-
*
|
|
1520
|
-
* @type {string}
|
|
1521
|
-
* @memberof ChatMessageSkillCall
|
|
1522
|
-
*/
|
|
1523
657
|
'credit_cost'?: string;
|
|
1524
658
|
}
|
|
1525
659
|
/**
|
|
1526
660
|
* Response model for chat messages with pagination.
|
|
1527
|
-
* @export
|
|
1528
|
-
* @interface ChatMessagesResponse
|
|
1529
661
|
*/
|
|
1530
662
|
export interface ChatMessagesResponse {
|
|
1531
|
-
/**
|
|
1532
|
-
*
|
|
1533
|
-
* @type {Array<ChatMessage>}
|
|
1534
|
-
* @memberof ChatMessagesResponse
|
|
1535
|
-
*/
|
|
1536
663
|
'data': Array<ChatMessage>;
|
|
1537
|
-
/**
|
|
1538
|
-
*
|
|
1539
|
-
* @type {boolean}
|
|
1540
|
-
* @memberof ChatMessagesResponse
|
|
1541
|
-
*/
|
|
1542
664
|
'has_more'?: boolean;
|
|
1543
|
-
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @type {string}
|
|
1546
|
-
* @memberof ChatMessagesResponse
|
|
1547
|
-
*/
|
|
1548
665
|
'next_cursor'?: string | null;
|
|
1549
666
|
}
|
|
1550
667
|
/**
|
|
1551
668
|
* Request model for updating a chat thread.
|
|
1552
|
-
* @export
|
|
1553
|
-
* @interface ChatUpdateRequest
|
|
1554
669
|
*/
|
|
1555
670
|
export interface ChatUpdateRequest {
|
|
1556
671
|
/**
|
|
1557
672
|
* Updated summary for the chat thread
|
|
1558
|
-
* @type {string}
|
|
1559
|
-
* @memberof ChatUpdateRequest
|
|
1560
673
|
*/
|
|
1561
674
|
'summary': string;
|
|
1562
675
|
}
|
|
1563
676
|
/**
|
|
1564
677
|
* Credit account model with all fields.
|
|
1565
|
-
* @export
|
|
1566
|
-
* @interface CreditAccount
|
|
1567
678
|
*/
|
|
1568
679
|
export interface CreditAccount {
|
|
1569
680
|
/**
|
|
1570
681
|
* Unique identifier for the credit account
|
|
1571
|
-
* @type {string}
|
|
1572
|
-
* @memberof CreditAccount
|
|
1573
682
|
*/
|
|
1574
683
|
'id'?: string;
|
|
1575
684
|
/**
|
|
1576
685
|
* Type of the account owner
|
|
1577
|
-
* @type {OwnerType}
|
|
1578
|
-
* @memberof CreditAccount
|
|
1579
686
|
*/
|
|
1580
687
|
'owner_type': OwnerType;
|
|
1581
688
|
/**
|
|
1582
689
|
* ID of the account owner
|
|
1583
|
-
* @type {string}
|
|
1584
|
-
* @memberof CreditAccount
|
|
1585
690
|
*/
|
|
1586
691
|
'owner_id': string;
|
|
1587
692
|
/**
|
|
1588
693
|
* Daily credit quota that resets each day
|
|
1589
|
-
* @type {string}
|
|
1590
|
-
* @memberof CreditAccount
|
|
1591
694
|
*/
|
|
1592
695
|
'free_quota'?: string;
|
|
1593
696
|
/**
|
|
1594
697
|
* Amount to refill hourly, not exceeding free_quota
|
|
1595
|
-
* @type {string}
|
|
1596
|
-
* @memberof CreditAccount
|
|
1597
698
|
*/
|
|
1598
699
|
'refill_amount'?: string;
|
|
1599
700
|
/**
|
|
1600
701
|
* Current available daily credits
|
|
1601
|
-
* @type {string}
|
|
1602
|
-
* @memberof CreditAccount
|
|
1603
702
|
*/
|
|
1604
703
|
'free_credits'?: string;
|
|
1605
704
|
/**
|
|
1606
705
|
* Reward credits earned through rewards
|
|
1607
|
-
* @type {string}
|
|
1608
|
-
* @memberof CreditAccount
|
|
1609
706
|
*/
|
|
1610
707
|
'reward_credits'?: string;
|
|
1611
708
|
/**
|
|
1612
709
|
* Credits added through top-ups
|
|
1613
|
-
* @type {string}
|
|
1614
|
-
* @memberof CreditAccount
|
|
1615
710
|
*/
|
|
1616
711
|
'credits'?: string;
|
|
1617
|
-
/**
|
|
1618
|
-
*
|
|
1619
|
-
* @type {string}
|
|
1620
|
-
* @memberof CreditAccount
|
|
1621
|
-
*/
|
|
1622
712
|
'income_at'?: string | null;
|
|
1623
|
-
/**
|
|
1624
|
-
*
|
|
1625
|
-
* @type {string}
|
|
1626
|
-
* @memberof CreditAccount
|
|
1627
|
-
*/
|
|
1628
713
|
'expense_at'?: string | null;
|
|
1629
|
-
/**
|
|
1630
|
-
*
|
|
1631
|
-
* @type {string}
|
|
1632
|
-
* @memberof CreditAccount
|
|
1633
|
-
*/
|
|
1634
714
|
'last_event_id'?: string | null;
|
|
1635
715
|
/**
|
|
1636
716
|
* Timestamp when this account was created
|
|
1637
|
-
* @type {string}
|
|
1638
|
-
* @memberof CreditAccount
|
|
1639
717
|
*/
|
|
1640
718
|
'created_at': string;
|
|
1641
719
|
/**
|
|
1642
720
|
* Timestamp when this account was last updated
|
|
1643
|
-
* @type {string}
|
|
1644
|
-
* @memberof CreditAccount
|
|
1645
721
|
*/
|
|
1646
722
|
'updated_at': string;
|
|
1647
723
|
}
|
|
1648
724
|
/**
|
|
1649
725
|
* Credit or debit transaction.
|
|
1650
|
-
* @export
|
|
1651
|
-
* @enum {string}
|
|
1652
726
|
*/
|
|
1653
727
|
export declare const CreditDebit: {
|
|
1654
728
|
readonly Credit: "credit";
|
|
@@ -1657,697 +731,245 @@ export declare const CreditDebit: {
|
|
|
1657
731
|
export type CreditDebit = typeof CreditDebit[keyof typeof CreditDebit];
|
|
1658
732
|
/**
|
|
1659
733
|
* Credit event model with all fields.
|
|
1660
|
-
* @export
|
|
1661
|
-
* @interface CreditEvent
|
|
1662
734
|
*/
|
|
1663
735
|
export interface CreditEvent {
|
|
1664
736
|
/**
|
|
1665
737
|
* Unique identifier for the credit event
|
|
1666
|
-
* @type {string}
|
|
1667
|
-
* @memberof CreditEvent
|
|
1668
738
|
*/
|
|
1669
739
|
'id'?: string;
|
|
1670
740
|
/**
|
|
1671
741
|
* Account ID from which credits flow
|
|
1672
|
-
* @type {string}
|
|
1673
|
-
* @memberof CreditEvent
|
|
1674
742
|
*/
|
|
1675
743
|
'account_id'?: string;
|
|
1676
744
|
/**
|
|
1677
745
|
* Type of the event
|
|
1678
|
-
* @type {EventType}
|
|
1679
|
-
* @memberof CreditEvent
|
|
1680
746
|
*/
|
|
1681
747
|
'event_type': EventType;
|
|
1682
|
-
/**
|
|
1683
|
-
*
|
|
1684
|
-
* @type {string}
|
|
1685
|
-
* @memberof CreditEvent
|
|
1686
|
-
*/
|
|
1687
748
|
'user_id'?: string | null;
|
|
1688
749
|
/**
|
|
1689
750
|
* Type of upstream transaction
|
|
1690
|
-
* @type {UpstreamType}
|
|
1691
|
-
* @memberof CreditEvent
|
|
1692
751
|
*/
|
|
1693
752
|
'upstream_type': UpstreamType;
|
|
1694
753
|
/**
|
|
1695
754
|
* Upstream transaction ID if any
|
|
1696
|
-
* @type {string}
|
|
1697
|
-
* @memberof CreditEvent
|
|
1698
755
|
*/
|
|
1699
756
|
'upstream_tx_id': string;
|
|
1700
|
-
/**
|
|
1701
|
-
*
|
|
1702
|
-
* @type {string}
|
|
1703
|
-
* @memberof CreditEvent
|
|
1704
|
-
*/
|
|
1705
757
|
'agent_id'?: string | null;
|
|
1706
|
-
/**
|
|
1707
|
-
*
|
|
1708
|
-
* @type {string}
|
|
1709
|
-
* @memberof CreditEvent
|
|
1710
|
-
*/
|
|
1711
758
|
'agent_wallet_address'?: string | null;
|
|
1712
|
-
/**
|
|
1713
|
-
*
|
|
1714
|
-
* @type {string}
|
|
1715
|
-
* @memberof CreditEvent
|
|
1716
|
-
*/
|
|
1717
759
|
'start_message_id'?: string | null;
|
|
1718
|
-
/**
|
|
1719
|
-
*
|
|
1720
|
-
* @type {string}
|
|
1721
|
-
* @memberof CreditEvent
|
|
1722
|
-
*/
|
|
1723
760
|
'message_id'?: string | null;
|
|
1724
|
-
/**
|
|
1725
|
-
*
|
|
1726
|
-
* @type {string}
|
|
1727
|
-
* @memberof CreditEvent
|
|
1728
|
-
*/
|
|
1729
761
|
'model'?: string | null;
|
|
1730
|
-
/**
|
|
1731
|
-
*
|
|
1732
|
-
* @type {string}
|
|
1733
|
-
* @memberof CreditEvent
|
|
1734
|
-
*/
|
|
1735
762
|
'skill_call_id'?: string | null;
|
|
1736
|
-
/**
|
|
1737
|
-
*
|
|
1738
|
-
* @type {string}
|
|
1739
|
-
* @memberof CreditEvent
|
|
1740
|
-
*/
|
|
1741
763
|
'skill_name'?: string | null;
|
|
1742
764
|
/**
|
|
1743
765
|
* Direction of the credit flow
|
|
1744
|
-
* @type {Direction}
|
|
1745
|
-
* @memberof CreditEvent
|
|
1746
766
|
*/
|
|
1747
767
|
'direction': Direction;
|
|
1748
768
|
/**
|
|
1749
769
|
* Total amount (after discount) of credits involved
|
|
1750
|
-
* @type {string}
|
|
1751
|
-
* @memberof CreditEvent
|
|
1752
770
|
*/
|
|
1753
771
|
'total_amount'?: string;
|
|
1754
772
|
/**
|
|
1755
773
|
* Type of credits involved
|
|
1756
|
-
* @type {CreditType}
|
|
1757
|
-
* @memberof CreditEvent
|
|
1758
774
|
*/
|
|
1759
775
|
'credit_type': CreditType;
|
|
1760
|
-
/**
|
|
1761
|
-
*
|
|
1762
|
-
* @type {Array<CreditType>}
|
|
1763
|
-
* @memberof CreditEvent
|
|
1764
|
-
*/
|
|
1765
776
|
'credit_types'?: Array<CreditType> | null;
|
|
1766
|
-
/**
|
|
1767
|
-
*
|
|
1768
|
-
* @type {string}
|
|
1769
|
-
* @memberof CreditEvent
|
|
1770
|
-
*/
|
|
1771
777
|
'balance_after'?: string | null;
|
|
1772
778
|
/**
|
|
1773
779
|
* Base amount of credits involved
|
|
1774
|
-
* @type {string}
|
|
1775
|
-
* @memberof CreditEvent
|
|
1776
780
|
*/
|
|
1777
781
|
'base_amount'?: string;
|
|
1778
|
-
/**
|
|
1779
|
-
*
|
|
1780
|
-
* @type {string}
|
|
1781
|
-
* @memberof CreditEvent
|
|
1782
|
-
*/
|
|
1783
782
|
'base_discount_amount'?: string | null;
|
|
1784
|
-
/**
|
|
1785
|
-
*
|
|
1786
|
-
* @type {string}
|
|
1787
|
-
* @memberof CreditEvent
|
|
1788
|
-
*/
|
|
1789
783
|
'base_original_amount'?: string | null;
|
|
1790
|
-
/**
|
|
1791
|
-
*
|
|
1792
|
-
* @type {string}
|
|
1793
|
-
* @memberof CreditEvent
|
|
1794
|
-
*/
|
|
1795
784
|
'base_llm_amount'?: string | null;
|
|
1796
|
-
/**
|
|
1797
|
-
*
|
|
1798
|
-
* @type {string}
|
|
1799
|
-
* @memberof CreditEvent
|
|
1800
|
-
*/
|
|
1801
785
|
'base_skill_amount'?: string | null;
|
|
1802
|
-
/**
|
|
1803
|
-
*
|
|
1804
|
-
* @type {string}
|
|
1805
|
-
* @memberof CreditEvent
|
|
1806
|
-
*/
|
|
1807
786
|
'base_free_amount'?: string | null;
|
|
1808
|
-
/**
|
|
1809
|
-
*
|
|
1810
|
-
* @type {string}
|
|
1811
|
-
* @memberof CreditEvent
|
|
1812
|
-
*/
|
|
1813
787
|
'base_reward_amount'?: string | null;
|
|
1814
|
-
/**
|
|
1815
|
-
*
|
|
1816
|
-
* @type {string}
|
|
1817
|
-
* @memberof CreditEvent
|
|
1818
|
-
*/
|
|
1819
788
|
'base_permanent_amount'?: string | null;
|
|
1820
|
-
/**
|
|
1821
|
-
*
|
|
1822
|
-
* @type {string}
|
|
1823
|
-
* @memberof CreditEvent
|
|
1824
|
-
*/
|
|
1825
789
|
'fee_platform_amount'?: string | null;
|
|
1826
|
-
/**
|
|
1827
|
-
*
|
|
1828
|
-
* @type {string}
|
|
1829
|
-
* @memberof CreditEvent
|
|
1830
|
-
*/
|
|
1831
790
|
'fee_platform_free_amount'?: string | null;
|
|
1832
|
-
/**
|
|
1833
|
-
*
|
|
1834
|
-
* @type {string}
|
|
1835
|
-
* @memberof CreditEvent
|
|
1836
|
-
*/
|
|
1837
791
|
'fee_platform_reward_amount'?: string | null;
|
|
1838
|
-
/**
|
|
1839
|
-
*
|
|
1840
|
-
* @type {string}
|
|
1841
|
-
* @memberof CreditEvent
|
|
1842
|
-
*/
|
|
1843
792
|
'fee_platform_permanent_amount'?: string | null;
|
|
1844
|
-
/**
|
|
1845
|
-
*
|
|
1846
|
-
* @type {string}
|
|
1847
|
-
* @memberof CreditEvent
|
|
1848
|
-
*/
|
|
1849
793
|
'fee_dev_account'?: string | null;
|
|
1850
|
-
/**
|
|
1851
|
-
*
|
|
1852
|
-
* @type {string}
|
|
1853
|
-
* @memberof CreditEvent
|
|
1854
|
-
*/
|
|
1855
794
|
'fee_dev_amount'?: string | null;
|
|
1856
|
-
/**
|
|
1857
|
-
*
|
|
1858
|
-
* @type {string}
|
|
1859
|
-
* @memberof CreditEvent
|
|
1860
|
-
*/
|
|
1861
795
|
'fee_dev_free_amount'?: string | null;
|
|
1862
|
-
/**
|
|
1863
|
-
*
|
|
1864
|
-
* @type {string}
|
|
1865
|
-
* @memberof CreditEvent
|
|
1866
|
-
*/
|
|
1867
796
|
'fee_dev_reward_amount'?: string | null;
|
|
1868
|
-
/**
|
|
1869
|
-
*
|
|
1870
|
-
* @type {string}
|
|
1871
|
-
* @memberof CreditEvent
|
|
1872
|
-
*/
|
|
1873
797
|
'fee_dev_permanent_amount'?: string | null;
|
|
1874
|
-
/**
|
|
1875
|
-
*
|
|
1876
|
-
* @type {string}
|
|
1877
|
-
* @memberof CreditEvent
|
|
1878
|
-
*/
|
|
1879
798
|
'fee_agent_account'?: string | null;
|
|
1880
|
-
/**
|
|
1881
|
-
*
|
|
1882
|
-
* @type {string}
|
|
1883
|
-
* @memberof CreditEvent
|
|
1884
|
-
*/
|
|
1885
799
|
'fee_agent_amount'?: string | null;
|
|
1886
|
-
/**
|
|
1887
|
-
*
|
|
1888
|
-
* @type {string}
|
|
1889
|
-
* @memberof CreditEvent
|
|
1890
|
-
*/
|
|
1891
800
|
'fee_agent_free_amount'?: string | null;
|
|
1892
|
-
/**
|
|
1893
|
-
*
|
|
1894
|
-
* @type {string}
|
|
1895
|
-
* @memberof CreditEvent
|
|
1896
|
-
*/
|
|
1897
801
|
'fee_agent_reward_amount'?: string | null;
|
|
1898
|
-
/**
|
|
1899
|
-
*
|
|
1900
|
-
* @type {string}
|
|
1901
|
-
* @memberof CreditEvent
|
|
1902
|
-
*/
|
|
1903
802
|
'fee_agent_permanent_amount'?: string | null;
|
|
1904
|
-
/**
|
|
1905
|
-
*
|
|
1906
|
-
* @type {string}
|
|
1907
|
-
* @memberof CreditEvent
|
|
1908
|
-
*/
|
|
1909
803
|
'free_amount'?: string | null;
|
|
1910
|
-
/**
|
|
1911
|
-
*
|
|
1912
|
-
* @type {string}
|
|
1913
|
-
* @memberof CreditEvent
|
|
1914
|
-
*/
|
|
1915
804
|
'reward_amount'?: string | null;
|
|
1916
|
-
/**
|
|
1917
|
-
*
|
|
1918
|
-
* @type {string}
|
|
1919
|
-
* @memberof CreditEvent
|
|
1920
|
-
*/
|
|
1921
805
|
'permanent_amount'?: string | null;
|
|
1922
|
-
/**
|
|
1923
|
-
*
|
|
1924
|
-
* @type {string}
|
|
1925
|
-
* @memberof CreditEvent
|
|
1926
|
-
*/
|
|
1927
806
|
'note'?: string | null;
|
|
1928
807
|
/**
|
|
1929
808
|
* Timestamp when this event was created
|
|
1930
|
-
* @type {string}
|
|
1931
|
-
* @memberof CreditEvent
|
|
1932
809
|
*/
|
|
1933
810
|
'created_at': string;
|
|
1934
811
|
}
|
|
1935
812
|
/**
|
|
1936
813
|
* Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
|
|
1937
|
-
* @export
|
|
1938
|
-
* @interface CreditEventWithAgent
|
|
1939
814
|
*/
|
|
1940
815
|
export interface CreditEventWithAgent {
|
|
1941
816
|
/**
|
|
1942
817
|
* Unique identifier for the credit event
|
|
1943
|
-
* @type {string}
|
|
1944
|
-
* @memberof CreditEventWithAgent
|
|
1945
818
|
*/
|
|
1946
819
|
'id'?: string;
|
|
1947
820
|
/**
|
|
1948
821
|
* Account ID from which credits flow
|
|
1949
|
-
* @type {string}
|
|
1950
|
-
* @memberof CreditEventWithAgent
|
|
1951
822
|
*/
|
|
1952
823
|
'account_id'?: string;
|
|
1953
824
|
/**
|
|
1954
825
|
* Type of the event
|
|
1955
|
-
* @type {EventType}
|
|
1956
|
-
* @memberof CreditEventWithAgent
|
|
1957
826
|
*/
|
|
1958
827
|
'event_type': EventType;
|
|
1959
|
-
/**
|
|
1960
|
-
*
|
|
1961
|
-
* @type {string}
|
|
1962
|
-
* @memberof CreditEventWithAgent
|
|
1963
|
-
*/
|
|
1964
828
|
'user_id'?: string | null;
|
|
1965
829
|
/**
|
|
1966
830
|
* Type of upstream transaction
|
|
1967
|
-
* @type {UpstreamType}
|
|
1968
|
-
* @memberof CreditEventWithAgent
|
|
1969
831
|
*/
|
|
1970
832
|
'upstream_type': UpstreamType;
|
|
1971
833
|
/**
|
|
1972
834
|
* Upstream transaction ID if any
|
|
1973
|
-
* @type {string}
|
|
1974
|
-
* @memberof CreditEventWithAgent
|
|
1975
835
|
*/
|
|
1976
836
|
'upstream_tx_id': string;
|
|
1977
|
-
/**
|
|
1978
|
-
*
|
|
1979
|
-
* @type {string}
|
|
1980
|
-
* @memberof CreditEventWithAgent
|
|
1981
|
-
*/
|
|
1982
837
|
'agent_id'?: string | null;
|
|
1983
|
-
/**
|
|
1984
|
-
*
|
|
1985
|
-
* @type {string}
|
|
1986
|
-
* @memberof CreditEventWithAgent
|
|
1987
|
-
*/
|
|
1988
838
|
'agent_wallet_address'?: string | null;
|
|
1989
|
-
/**
|
|
1990
|
-
*
|
|
1991
|
-
* @type {string}
|
|
1992
|
-
* @memberof CreditEventWithAgent
|
|
1993
|
-
*/
|
|
1994
839
|
'start_message_id'?: string | null;
|
|
1995
|
-
/**
|
|
1996
|
-
*
|
|
1997
|
-
* @type {string}
|
|
1998
|
-
* @memberof CreditEventWithAgent
|
|
1999
|
-
*/
|
|
2000
840
|
'message_id'?: string | null;
|
|
2001
|
-
/**
|
|
2002
|
-
*
|
|
2003
|
-
* @type {string}
|
|
2004
|
-
* @memberof CreditEventWithAgent
|
|
2005
|
-
*/
|
|
2006
841
|
'model'?: string | null;
|
|
2007
|
-
/**
|
|
2008
|
-
*
|
|
2009
|
-
* @type {string}
|
|
2010
|
-
* @memberof CreditEventWithAgent
|
|
2011
|
-
*/
|
|
2012
842
|
'skill_call_id'?: string | null;
|
|
2013
|
-
/**
|
|
2014
|
-
*
|
|
2015
|
-
* @type {string}
|
|
2016
|
-
* @memberof CreditEventWithAgent
|
|
2017
|
-
*/
|
|
2018
843
|
'skill_name'?: string | null;
|
|
2019
844
|
/**
|
|
2020
845
|
* Direction of the credit flow
|
|
2021
|
-
* @type {Direction}
|
|
2022
|
-
* @memberof CreditEventWithAgent
|
|
2023
846
|
*/
|
|
2024
847
|
'direction': Direction;
|
|
2025
848
|
/**
|
|
2026
849
|
* Total amount (after discount) of credits involved
|
|
2027
|
-
* @type {string}
|
|
2028
|
-
* @memberof CreditEventWithAgent
|
|
2029
850
|
*/
|
|
2030
851
|
'total_amount'?: string;
|
|
2031
852
|
/**
|
|
2032
853
|
* Type of credits involved
|
|
2033
|
-
* @type {CreditType}
|
|
2034
|
-
* @memberof CreditEventWithAgent
|
|
2035
854
|
*/
|
|
2036
855
|
'credit_type': CreditType;
|
|
2037
|
-
/**
|
|
2038
|
-
*
|
|
2039
|
-
* @type {Array<CreditType>}
|
|
2040
|
-
* @memberof CreditEventWithAgent
|
|
2041
|
-
*/
|
|
2042
856
|
'credit_types'?: Array<CreditType> | null;
|
|
2043
|
-
/**
|
|
2044
|
-
*
|
|
2045
|
-
* @type {string}
|
|
2046
|
-
* @memberof CreditEventWithAgent
|
|
2047
|
-
*/
|
|
2048
857
|
'balance_after'?: string | null;
|
|
2049
858
|
/**
|
|
2050
859
|
* Base amount of credits involved
|
|
2051
|
-
* @type {string}
|
|
2052
|
-
* @memberof CreditEventWithAgent
|
|
2053
860
|
*/
|
|
2054
861
|
'base_amount'?: string;
|
|
2055
|
-
/**
|
|
2056
|
-
*
|
|
2057
|
-
* @type {string}
|
|
2058
|
-
* @memberof CreditEventWithAgent
|
|
2059
|
-
*/
|
|
2060
862
|
'base_discount_amount'?: string | null;
|
|
2061
|
-
/**
|
|
2062
|
-
*
|
|
2063
|
-
* @type {string}
|
|
2064
|
-
* @memberof CreditEventWithAgent
|
|
2065
|
-
*/
|
|
2066
863
|
'base_original_amount'?: string | null;
|
|
2067
|
-
/**
|
|
2068
|
-
*
|
|
2069
|
-
* @type {string}
|
|
2070
|
-
* @memberof CreditEventWithAgent
|
|
2071
|
-
*/
|
|
2072
864
|
'base_llm_amount'?: string | null;
|
|
2073
|
-
/**
|
|
2074
|
-
*
|
|
2075
|
-
* @type {string}
|
|
2076
|
-
* @memberof CreditEventWithAgent
|
|
2077
|
-
*/
|
|
2078
865
|
'base_skill_amount'?: string | null;
|
|
2079
|
-
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @type {string}
|
|
2082
|
-
* @memberof CreditEventWithAgent
|
|
2083
|
-
*/
|
|
2084
866
|
'base_free_amount'?: string | null;
|
|
2085
|
-
/**
|
|
2086
|
-
*
|
|
2087
|
-
* @type {string}
|
|
2088
|
-
* @memberof CreditEventWithAgent
|
|
2089
|
-
*/
|
|
2090
867
|
'base_reward_amount'?: string | null;
|
|
2091
|
-
/**
|
|
2092
|
-
*
|
|
2093
|
-
* @type {string}
|
|
2094
|
-
* @memberof CreditEventWithAgent
|
|
2095
|
-
*/
|
|
2096
868
|
'base_permanent_amount'?: string | null;
|
|
2097
|
-
/**
|
|
2098
|
-
*
|
|
2099
|
-
* @type {string}
|
|
2100
|
-
* @memberof CreditEventWithAgent
|
|
2101
|
-
*/
|
|
2102
869
|
'fee_platform_amount'?: string | null;
|
|
2103
|
-
/**
|
|
2104
|
-
*
|
|
2105
|
-
* @type {string}
|
|
2106
|
-
* @memberof CreditEventWithAgent
|
|
2107
|
-
*/
|
|
2108
870
|
'fee_platform_free_amount'?: string | null;
|
|
2109
|
-
/**
|
|
2110
|
-
*
|
|
2111
|
-
* @type {string}
|
|
2112
|
-
* @memberof CreditEventWithAgent
|
|
2113
|
-
*/
|
|
2114
871
|
'fee_platform_reward_amount'?: string | null;
|
|
2115
|
-
/**
|
|
2116
|
-
*
|
|
2117
|
-
* @type {string}
|
|
2118
|
-
* @memberof CreditEventWithAgent
|
|
2119
|
-
*/
|
|
2120
872
|
'fee_platform_permanent_amount'?: string | null;
|
|
2121
|
-
/**
|
|
2122
|
-
*
|
|
2123
|
-
* @type {string}
|
|
2124
|
-
* @memberof CreditEventWithAgent
|
|
2125
|
-
*/
|
|
2126
873
|
'fee_dev_account'?: string | null;
|
|
2127
|
-
/**
|
|
2128
|
-
*
|
|
2129
|
-
* @type {string}
|
|
2130
|
-
* @memberof CreditEventWithAgent
|
|
2131
|
-
*/
|
|
2132
874
|
'fee_dev_amount'?: string | null;
|
|
2133
|
-
/**
|
|
2134
|
-
*
|
|
2135
|
-
* @type {string}
|
|
2136
|
-
* @memberof CreditEventWithAgent
|
|
2137
|
-
*/
|
|
2138
875
|
'fee_dev_free_amount'?: string | null;
|
|
2139
|
-
/**
|
|
2140
|
-
*
|
|
2141
|
-
* @type {string}
|
|
2142
|
-
* @memberof CreditEventWithAgent
|
|
2143
|
-
*/
|
|
2144
876
|
'fee_dev_reward_amount'?: string | null;
|
|
2145
|
-
/**
|
|
2146
|
-
*
|
|
2147
|
-
* @type {string}
|
|
2148
|
-
* @memberof CreditEventWithAgent
|
|
2149
|
-
*/
|
|
2150
877
|
'fee_dev_permanent_amount'?: string | null;
|
|
2151
|
-
/**
|
|
2152
|
-
*
|
|
2153
|
-
* @type {string}
|
|
2154
|
-
* @memberof CreditEventWithAgent
|
|
2155
|
-
*/
|
|
2156
878
|
'fee_agent_account'?: string | null;
|
|
2157
|
-
/**
|
|
2158
|
-
*
|
|
2159
|
-
* @type {string}
|
|
2160
|
-
* @memberof CreditEventWithAgent
|
|
2161
|
-
*/
|
|
2162
879
|
'fee_agent_amount'?: string | null;
|
|
2163
|
-
/**
|
|
2164
|
-
*
|
|
2165
|
-
* @type {string}
|
|
2166
|
-
* @memberof CreditEventWithAgent
|
|
2167
|
-
*/
|
|
2168
880
|
'fee_agent_free_amount'?: string | null;
|
|
2169
|
-
/**
|
|
2170
|
-
*
|
|
2171
|
-
* @type {string}
|
|
2172
|
-
* @memberof CreditEventWithAgent
|
|
2173
|
-
*/
|
|
2174
881
|
'fee_agent_reward_amount'?: string | null;
|
|
2175
|
-
/**
|
|
2176
|
-
*
|
|
2177
|
-
* @type {string}
|
|
2178
|
-
* @memberof CreditEventWithAgent
|
|
2179
|
-
*/
|
|
2180
882
|
'fee_agent_permanent_amount'?: string | null;
|
|
2181
|
-
/**
|
|
2182
|
-
*
|
|
2183
|
-
* @type {string}
|
|
2184
|
-
* @memberof CreditEventWithAgent
|
|
2185
|
-
*/
|
|
2186
883
|
'free_amount'?: string | null;
|
|
2187
|
-
/**
|
|
2188
|
-
*
|
|
2189
|
-
* @type {string}
|
|
2190
|
-
* @memberof CreditEventWithAgent
|
|
2191
|
-
*/
|
|
2192
884
|
'reward_amount'?: string | null;
|
|
2193
|
-
/**
|
|
2194
|
-
*
|
|
2195
|
-
* @type {string}
|
|
2196
|
-
* @memberof CreditEventWithAgent
|
|
2197
|
-
*/
|
|
2198
885
|
'permanent_amount'?: string | null;
|
|
2199
|
-
/**
|
|
2200
|
-
*
|
|
2201
|
-
* @type {string}
|
|
2202
|
-
* @memberof CreditEventWithAgent
|
|
2203
|
-
*/
|
|
2204
886
|
'note'?: string | null;
|
|
2205
887
|
/**
|
|
2206
888
|
* Timestamp when this event was created
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof CreditEventWithAgent
|
|
2209
889
|
*/
|
|
2210
890
|
'created_at': string;
|
|
2211
|
-
/**
|
|
2212
|
-
*
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof CreditEventWithAgent
|
|
2215
|
-
*/
|
|
2216
891
|
'agent_name'?: string | null;
|
|
2217
892
|
}
|
|
2218
893
|
/**
|
|
2219
894
|
* 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.
|
|
2220
|
-
* @export
|
|
2221
|
-
* @interface CreditEventsResponse
|
|
2222
895
|
*/
|
|
2223
896
|
export interface CreditEventsResponse {
|
|
2224
897
|
/**
|
|
2225
898
|
* List of credit events with agent names
|
|
2226
|
-
* @type {Array<CreditEventWithAgent>}
|
|
2227
|
-
* @memberof CreditEventsResponse
|
|
2228
899
|
*/
|
|
2229
900
|
'data': Array<CreditEventWithAgent>;
|
|
2230
901
|
/**
|
|
2231
902
|
* Indicates if there are more items
|
|
2232
|
-
* @type {boolean}
|
|
2233
|
-
* @memberof CreditEventsResponse
|
|
2234
903
|
*/
|
|
2235
904
|
'has_more': boolean;
|
|
2236
|
-
/**
|
|
2237
|
-
*
|
|
2238
|
-
* @type {string}
|
|
2239
|
-
* @memberof CreditEventsResponse
|
|
2240
|
-
*/
|
|
2241
905
|
'next_cursor'?: string | null;
|
|
2242
906
|
}
|
|
2243
907
|
/**
|
|
2244
908
|
* Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
|
|
2245
|
-
* @export
|
|
2246
|
-
* @interface CreditTransactionResp
|
|
2247
909
|
*/
|
|
2248
910
|
export interface CreditTransactionResp {
|
|
2249
911
|
/**
|
|
2250
912
|
* Unique identifier for the credit transaction
|
|
2251
|
-
* @type {string}
|
|
2252
|
-
* @memberof CreditTransactionResp
|
|
2253
913
|
*/
|
|
2254
914
|
'id'?: string;
|
|
2255
915
|
/**
|
|
2256
916
|
* ID of the account this transaction belongs to
|
|
2257
|
-
* @type {string}
|
|
2258
|
-
* @memberof CreditTransactionResp
|
|
2259
917
|
*/
|
|
2260
918
|
'account_id': string;
|
|
2261
919
|
/**
|
|
2262
920
|
* ID of the event that triggered this transaction
|
|
2263
|
-
* @type {string}
|
|
2264
|
-
* @memberof CreditTransactionResp
|
|
2265
921
|
*/
|
|
2266
922
|
'event_id': string;
|
|
2267
923
|
/**
|
|
2268
924
|
* Type of the transaction
|
|
2269
|
-
* @type {TransactionType}
|
|
2270
|
-
* @memberof CreditTransactionResp
|
|
2271
925
|
*/
|
|
2272
926
|
'tx_type': TransactionType;
|
|
2273
927
|
/**
|
|
2274
928
|
* Whether this is a credit or debit transaction
|
|
2275
|
-
* @type {CreditDebit}
|
|
2276
|
-
* @memberof CreditTransactionResp
|
|
2277
929
|
*/
|
|
2278
930
|
'credit_debit': CreditDebit;
|
|
2279
931
|
/**
|
|
2280
932
|
* Amount of credits changed
|
|
2281
|
-
* @type {string}
|
|
2282
|
-
* @memberof CreditTransactionResp
|
|
2283
933
|
*/
|
|
2284
934
|
'change_amount'?: string;
|
|
2285
935
|
/**
|
|
2286
936
|
* Amount of free credits changed
|
|
2287
|
-
* @type {string}
|
|
2288
|
-
* @memberof CreditTransactionResp
|
|
2289
937
|
*/
|
|
2290
938
|
'free_amount'?: string;
|
|
2291
939
|
/**
|
|
2292
940
|
* Amount of reward credits changed
|
|
2293
|
-
* @type {string}
|
|
2294
|
-
* @memberof CreditTransactionResp
|
|
2295
941
|
*/
|
|
2296
942
|
'reward_amount'?: string;
|
|
2297
943
|
/**
|
|
2298
944
|
* Amount of permanent credits changed
|
|
2299
|
-
* @type {string}
|
|
2300
|
-
* @memberof CreditTransactionResp
|
|
2301
945
|
*/
|
|
2302
946
|
'permanent_amount'?: string;
|
|
2303
947
|
/**
|
|
2304
948
|
* Type of credits involved
|
|
2305
|
-
* @type {CreditType}
|
|
2306
|
-
* @memberof CreditTransactionResp
|
|
2307
949
|
*/
|
|
2308
950
|
'credit_type': CreditType;
|
|
2309
951
|
/**
|
|
2310
952
|
* Timestamp when this transaction was created
|
|
2311
|
-
* @type {string}
|
|
2312
|
-
* @memberof CreditTransactionResp
|
|
2313
953
|
*/
|
|
2314
954
|
'created_at': string;
|
|
2315
|
-
/**
|
|
2316
|
-
*
|
|
2317
|
-
* @type {CreditEvent}
|
|
2318
|
-
* @memberof CreditTransactionResp
|
|
2319
|
-
*/
|
|
2320
955
|
'event'?: CreditEvent | null;
|
|
2321
956
|
}
|
|
2322
957
|
/**
|
|
2323
958
|
* Paginated response model for credit transactions. Contains a list of credit transactions (with event data), a flag for more items, and a pagination cursor.
|
|
2324
|
-
* @export
|
|
2325
|
-
* @interface CreditTransactionsResponse
|
|
2326
959
|
*/
|
|
2327
960
|
export interface CreditTransactionsResponse {
|
|
2328
961
|
/**
|
|
2329
962
|
* List of credit transactions
|
|
2330
|
-
* @type {Array<CreditTransactionResp>}
|
|
2331
|
-
* @memberof CreditTransactionsResponse
|
|
2332
963
|
*/
|
|
2333
964
|
'data': Array<CreditTransactionResp>;
|
|
2334
965
|
/**
|
|
2335
966
|
* Indicates if there are more items
|
|
2336
|
-
* @type {boolean}
|
|
2337
|
-
* @memberof CreditTransactionsResponse
|
|
2338
967
|
*/
|
|
2339
968
|
'has_more': boolean;
|
|
2340
|
-
/**
|
|
2341
|
-
*
|
|
2342
|
-
* @type {string}
|
|
2343
|
-
* @memberof CreditTransactionsResponse
|
|
2344
|
-
*/
|
|
2345
969
|
'next_cursor'?: string | null;
|
|
2346
970
|
}
|
|
2347
971
|
/**
|
|
2348
972
|
* Credit type is used in db column names, do not change it.
|
|
2349
|
-
* @export
|
|
2350
|
-
* @enum {string}
|
|
2351
973
|
*/
|
|
2352
974
|
export declare const CreditType: {
|
|
2353
975
|
readonly FreeCredits: "free_credits";
|
|
@@ -2357,8 +979,6 @@ export declare const CreditType: {
|
|
|
2357
979
|
export type CreditType = typeof CreditType[keyof typeof CreditType];
|
|
2358
980
|
/**
|
|
2359
981
|
* Direction of credit flow.
|
|
2360
|
-
* @export
|
|
2361
|
-
* @enum {string}
|
|
2362
982
|
*/
|
|
2363
983
|
export declare const Direction: {
|
|
2364
984
|
readonly Income: "income";
|
|
@@ -2367,8 +987,6 @@ export declare const Direction: {
|
|
|
2367
987
|
export type Direction = typeof Direction[keyof typeof Direction];
|
|
2368
988
|
/**
|
|
2369
989
|
* Type of credit event.
|
|
2370
|
-
* @export
|
|
2371
|
-
* @enum {string}
|
|
2372
990
|
*/
|
|
2373
991
|
export declare const EventType: {
|
|
2374
992
|
readonly Memory: "memory";
|
|
@@ -2387,248 +1005,78 @@ export declare const EventType: {
|
|
|
2387
1005
|
export type EventType = typeof EventType[keyof typeof EventType];
|
|
2388
1006
|
/**
|
|
2389
1007
|
* Fee percentage of the agent
|
|
2390
|
-
* @export
|
|
2391
|
-
* @interface FeePercentage
|
|
2392
1008
|
*/
|
|
2393
1009
|
export interface FeePercentage {
|
|
2394
1010
|
}
|
|
2395
1011
|
/**
|
|
2396
1012
|
* Response model for single generation detail.
|
|
2397
|
-
* @export
|
|
2398
|
-
* @interface GenerationDetailResponse
|
|
2399
1013
|
*/
|
|
2400
1014
|
export interface GenerationDetailResponse {
|
|
2401
1015
|
/**
|
|
2402
1016
|
* Project ID
|
|
2403
|
-
* @type {string}
|
|
2404
|
-
* @memberof GenerationDetailResponse
|
|
2405
1017
|
*/
|
|
2406
1018
|
'project_id': string;
|
|
2407
|
-
/**
|
|
2408
|
-
*
|
|
2409
|
-
* @type {string}
|
|
2410
|
-
* @memberof GenerationDetailResponse
|
|
2411
|
-
*/
|
|
2412
1019
|
'user_id'?: string | null;
|
|
2413
|
-
/**
|
|
2414
|
-
*
|
|
2415
|
-
* @type {string}
|
|
2416
|
-
* @memberof GenerationDetailResponse
|
|
2417
|
-
*/
|
|
2418
1020
|
'created_at'?: string | null;
|
|
2419
|
-
/**
|
|
2420
|
-
*
|
|
2421
|
-
* @type {string}
|
|
2422
|
-
* @memberof GenerationDetailResponse
|
|
2423
|
-
*/
|
|
2424
1021
|
'last_activity'?: string | null;
|
|
2425
1022
|
/**
|
|
2426
1023
|
* Number of messages in conversation
|
|
2427
|
-
* @type {number}
|
|
2428
|
-
* @memberof GenerationDetailResponse
|
|
2429
1024
|
*/
|
|
2430
1025
|
'message_count': number;
|
|
2431
|
-
/**
|
|
2432
|
-
*
|
|
2433
|
-
* @type {object}
|
|
2434
|
-
* @memberof GenerationDetailResponse
|
|
2435
|
-
*/
|
|
2436
1026
|
'last_message'?: object | null;
|
|
2437
|
-
/**
|
|
2438
|
-
*
|
|
2439
|
-
* @type {object}
|
|
2440
|
-
* @memberof GenerationDetailResponse
|
|
2441
|
-
*/
|
|
2442
1027
|
'first_message'?: object | null;
|
|
2443
1028
|
/**
|
|
2444
1029
|
* Full conversation history
|
|
2445
|
-
* @type {Array<object>}
|
|
2446
|
-
* @memberof GenerationDetailResponse
|
|
2447
1030
|
*/
|
|
2448
1031
|
'conversation_history': Array<object>;
|
|
2449
1032
|
}
|
|
2450
1033
|
/**
|
|
2451
1034
|
* Response model for generations list.
|
|
2452
|
-
* @export
|
|
2453
|
-
* @interface GenerationsListResponse
|
|
2454
1035
|
*/
|
|
2455
1036
|
export interface GenerationsListResponse {
|
|
2456
1037
|
/**
|
|
2457
1038
|
* List of recent projects with their conversation history
|
|
2458
|
-
* @type {Array<object>}
|
|
2459
|
-
* @memberof GenerationsListResponse
|
|
2460
1039
|
*/
|
|
2461
1040
|
'projects': Array<object>;
|
|
2462
1041
|
}
|
|
2463
|
-
/**
|
|
2464
|
-
*
|
|
2465
|
-
* @export
|
|
2466
|
-
* @interface HTTPValidationError
|
|
2467
|
-
*/
|
|
2468
1042
|
export interface HTTPValidationError {
|
|
2469
|
-
/**
|
|
2470
|
-
*
|
|
2471
|
-
* @type {Array<ValidationError>}
|
|
2472
|
-
* @memberof HTTPValidationError
|
|
2473
|
-
*/
|
|
2474
1043
|
'detail'?: Array<ValidationError>;
|
|
2475
1044
|
}
|
|
2476
1045
|
/**
|
|
2477
1046
|
* LLM model information with provider display name.
|
|
2478
|
-
* @export
|
|
2479
|
-
* @interface LLMModelInfoWithProviderName
|
|
2480
1047
|
*/
|
|
2481
1048
|
export interface LLMModelInfoWithProviderName {
|
|
2482
|
-
/**
|
|
2483
|
-
*
|
|
2484
|
-
* @type {string}
|
|
2485
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2486
|
-
*/
|
|
2487
1049
|
'id': string;
|
|
2488
|
-
/**
|
|
2489
|
-
*
|
|
2490
|
-
* @type {string}
|
|
2491
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2492
|
-
*/
|
|
2493
1050
|
'name': string;
|
|
2494
|
-
/**
|
|
2495
|
-
*
|
|
2496
|
-
* @type {LLMProvider}
|
|
2497
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2498
|
-
*/
|
|
2499
1051
|
'provider': LLMProvider;
|
|
2500
|
-
/**
|
|
2501
|
-
*
|
|
2502
|
-
* @type {boolean}
|
|
2503
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2504
|
-
*/
|
|
2505
1052
|
'enabled'?: boolean;
|
|
2506
|
-
/**
|
|
2507
|
-
*
|
|
2508
|
-
* @type {string}
|
|
2509
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2510
|
-
*/
|
|
2511
1053
|
'input_price': string;
|
|
2512
|
-
/**
|
|
2513
|
-
*
|
|
2514
|
-
* @type {string}
|
|
2515
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2516
|
-
*/
|
|
2517
1054
|
'output_price': string;
|
|
2518
|
-
/**
|
|
2519
|
-
*
|
|
2520
|
-
* @type {number}
|
|
2521
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2522
|
-
*/
|
|
2523
1055
|
'price_level'?: number | null;
|
|
2524
|
-
/**
|
|
2525
|
-
*
|
|
2526
|
-
* @type {number}
|
|
2527
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2528
|
-
*/
|
|
2529
1056
|
'context_length': number;
|
|
2530
|
-
/**
|
|
2531
|
-
*
|
|
2532
|
-
* @type {number}
|
|
2533
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2534
|
-
*/
|
|
2535
1057
|
'output_length': number;
|
|
2536
|
-
/**
|
|
2537
|
-
*
|
|
2538
|
-
* @type {number}
|
|
2539
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2540
|
-
*/
|
|
2541
1058
|
'intelligence': number;
|
|
2542
|
-
/**
|
|
2543
|
-
*
|
|
2544
|
-
* @type {number}
|
|
2545
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2546
|
-
*/
|
|
2547
1059
|
'speed': number;
|
|
2548
|
-
/**
|
|
2549
|
-
*
|
|
2550
|
-
* @type {boolean}
|
|
2551
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2552
|
-
*/
|
|
2553
1060
|
'supports_image_input'?: boolean;
|
|
2554
|
-
/**
|
|
2555
|
-
*
|
|
2556
|
-
* @type {boolean}
|
|
2557
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2558
|
-
*/
|
|
2559
1061
|
'supports_skill_calls'?: boolean;
|
|
2560
|
-
/**
|
|
2561
|
-
*
|
|
2562
|
-
* @type {boolean}
|
|
2563
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2564
|
-
*/
|
|
2565
1062
|
'supports_structured_output'?: boolean;
|
|
2566
|
-
/**
|
|
2567
|
-
*
|
|
2568
|
-
* @type {boolean}
|
|
2569
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2570
|
-
*/
|
|
2571
1063
|
'has_reasoning'?: boolean;
|
|
2572
|
-
/**
|
|
2573
|
-
*
|
|
2574
|
-
* @type {boolean}
|
|
2575
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2576
|
-
*/
|
|
2577
1064
|
'supports_search'?: boolean;
|
|
2578
|
-
/**
|
|
2579
|
-
*
|
|
2580
|
-
* @type {boolean}
|
|
2581
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2582
|
-
*/
|
|
2583
1065
|
'supports_temperature'?: boolean;
|
|
2584
|
-
/**
|
|
2585
|
-
*
|
|
2586
|
-
* @type {boolean}
|
|
2587
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2588
|
-
*/
|
|
2589
1066
|
'supports_frequency_penalty'?: boolean;
|
|
2590
|
-
/**
|
|
2591
|
-
*
|
|
2592
|
-
* @type {boolean}
|
|
2593
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2594
|
-
*/
|
|
2595
1067
|
'supports_presence_penalty'?: boolean;
|
|
2596
|
-
/**
|
|
2597
|
-
*
|
|
2598
|
-
* @type {string}
|
|
2599
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2600
|
-
*/
|
|
2601
1068
|
'api_base'?: string | null;
|
|
2602
|
-
/**
|
|
2603
|
-
*
|
|
2604
|
-
* @type {number}
|
|
2605
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2606
|
-
*/
|
|
2607
1069
|
'timeout'?: number;
|
|
2608
1070
|
/**
|
|
2609
1071
|
* Timestamp when this data was created
|
|
2610
|
-
* @type {string}
|
|
2611
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2612
1072
|
*/
|
|
2613
1073
|
'created_at'?: string;
|
|
2614
1074
|
/**
|
|
2615
1075
|
* Timestamp when this data was updated
|
|
2616
|
-
* @type {string}
|
|
2617
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2618
1076
|
*/
|
|
2619
1077
|
'updated_at'?: string;
|
|
2620
|
-
/**
|
|
2621
|
-
*
|
|
2622
|
-
* @type {string}
|
|
2623
|
-
* @memberof LLMModelInfoWithProviderName
|
|
2624
|
-
*/
|
|
2625
1078
|
'provider_name': string;
|
|
2626
1079
|
}
|
|
2627
|
-
/**
|
|
2628
|
-
*
|
|
2629
|
-
* @export
|
|
2630
|
-
* @enum {string}
|
|
2631
|
-
*/
|
|
2632
1080
|
export declare const LLMProvider: {
|
|
2633
1081
|
readonly Openai: "openai";
|
|
2634
1082
|
readonly Deepseek: "deepseek";
|
|
@@ -2640,8 +1088,6 @@ export declare const LLMProvider: {
|
|
|
2640
1088
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
2641
1089
|
/**
|
|
2642
1090
|
* Type of credit account owner.
|
|
2643
|
-
* @export
|
|
2644
|
-
* @enum {string}
|
|
2645
1091
|
*/
|
|
2646
1092
|
export declare const OwnerType: {
|
|
2647
1093
|
readonly User: "user";
|
|
@@ -2651,87 +1097,44 @@ export declare const OwnerType: {
|
|
|
2651
1097
|
export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
|
|
2652
1098
|
/**
|
|
2653
1099
|
* Pydantic model for Skill.
|
|
2654
|
-
* @export
|
|
2655
|
-
* @interface Skill
|
|
2656
1100
|
*/
|
|
2657
1101
|
export interface Skill {
|
|
2658
1102
|
/**
|
|
2659
1103
|
* Name of the skill
|
|
2660
|
-
* @type {string}
|
|
2661
|
-
* @memberof Skill
|
|
2662
1104
|
*/
|
|
2663
1105
|
'name': string;
|
|
2664
1106
|
/**
|
|
2665
1107
|
* Is this skill enabled?
|
|
2666
|
-
* @type {boolean}
|
|
2667
|
-
* @memberof Skill
|
|
2668
1108
|
*/
|
|
2669
1109
|
'enabled': boolean;
|
|
2670
1110
|
/**
|
|
2671
1111
|
* Category of the skill
|
|
2672
|
-
* @type {string}
|
|
2673
|
-
* @memberof Skill
|
|
2674
1112
|
*/
|
|
2675
1113
|
'category': string;
|
|
2676
|
-
/**
|
|
2677
|
-
*
|
|
2678
|
-
* @type {string}
|
|
2679
|
-
* @memberof Skill
|
|
2680
|
-
*/
|
|
2681
1114
|
'config_name': string | null;
|
|
2682
|
-
/**
|
|
2683
|
-
*
|
|
2684
|
-
* @type {number}
|
|
2685
|
-
* @memberof Skill
|
|
2686
|
-
*/
|
|
2687
1115
|
'price_level': number | null;
|
|
2688
1116
|
/**
|
|
2689
1117
|
* Price for this skill
|
|
2690
|
-
* @type {string}
|
|
2691
|
-
* @memberof Skill
|
|
2692
1118
|
*/
|
|
2693
1119
|
'price'?: string;
|
|
2694
1120
|
/**
|
|
2695
1121
|
* Price for this skill with self key
|
|
2696
|
-
* @type {string}
|
|
2697
|
-
* @memberof Skill
|
|
2698
1122
|
*/
|
|
2699
1123
|
'price_self_key'?: string;
|
|
2700
|
-
/**
|
|
2701
|
-
*
|
|
2702
|
-
* @type {number}
|
|
2703
|
-
* @memberof Skill
|
|
2704
|
-
*/
|
|
2705
1124
|
'rate_limit_count': number | null;
|
|
2706
|
-
/**
|
|
2707
|
-
*
|
|
2708
|
-
* @type {number}
|
|
2709
|
-
* @memberof Skill
|
|
2710
|
-
*/
|
|
2711
1125
|
'rate_limit_minutes': number | null;
|
|
2712
|
-
/**
|
|
2713
|
-
*
|
|
2714
|
-
* @type {string}
|
|
2715
|
-
* @memberof Skill
|
|
2716
|
-
*/
|
|
2717
1126
|
'author': string | null;
|
|
2718
1127
|
/**
|
|
2719
1128
|
* Timestamp when this record was created
|
|
2720
|
-
* @type {string}
|
|
2721
|
-
* @memberof Skill
|
|
2722
1129
|
*/
|
|
2723
1130
|
'created_at': string;
|
|
2724
1131
|
/**
|
|
2725
1132
|
* Timestamp when this record was last updated
|
|
2726
|
-
* @type {string}
|
|
2727
|
-
* @memberof Skill
|
|
2728
1133
|
*/
|
|
2729
1134
|
'updated_at': string;
|
|
2730
1135
|
}
|
|
2731
1136
|
/**
|
|
2732
1137
|
* Type of system message.
|
|
2733
|
-
* @export
|
|
2734
|
-
* @enum {string}
|
|
2735
1138
|
*/
|
|
2736
1139
|
export declare const SystemMessageType: {
|
|
2737
1140
|
readonly ServiceFeeError: "service_fee_error";
|
|
@@ -2744,8 +1147,6 @@ export declare const SystemMessageType: {
|
|
|
2744
1147
|
export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMessageType];
|
|
2745
1148
|
/**
|
|
2746
1149
|
* Type of credit transaction.
|
|
2747
|
-
* @export
|
|
2748
|
-
* @enum {string}
|
|
2749
1150
|
*/
|
|
2750
1151
|
export declare const TransactionType: {
|
|
2751
1152
|
readonly Pay: "pay";
|
|
@@ -2766,29 +1167,12 @@ export declare const TransactionType: {
|
|
|
2766
1167
|
readonly RechargeBonus: "recharge_bonus";
|
|
2767
1168
|
};
|
|
2768
1169
|
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
2769
|
-
/**
|
|
2770
|
-
*
|
|
2771
|
-
* @export
|
|
2772
|
-
* @interface TwitterAuthResponse
|
|
2773
|
-
*/
|
|
2774
1170
|
export interface TwitterAuthResponse {
|
|
2775
|
-
/**
|
|
2776
|
-
*
|
|
2777
|
-
* @type {string}
|
|
2778
|
-
* @memberof TwitterAuthResponse
|
|
2779
|
-
*/
|
|
2780
1171
|
'agent_id': string;
|
|
2781
|
-
/**
|
|
2782
|
-
*
|
|
2783
|
-
* @type {string}
|
|
2784
|
-
* @memberof TwitterAuthResponse
|
|
2785
|
-
*/
|
|
2786
1172
|
'url': string;
|
|
2787
1173
|
}
|
|
2788
1174
|
/**
|
|
2789
1175
|
* Type of upstream transaction.
|
|
2790
|
-
* @export
|
|
2791
|
-
* @enum {string}
|
|
2792
1176
|
*/
|
|
2793
1177
|
export declare const UpstreamType: {
|
|
2794
1178
|
readonly Api: "api";
|
|
@@ -2797,41 +1181,15 @@ export declare const UpstreamType: {
|
|
|
2797
1181
|
readonly Initializer: "initializer";
|
|
2798
1182
|
};
|
|
2799
1183
|
export type UpstreamType = typeof UpstreamType[keyof typeof UpstreamType];
|
|
2800
|
-
/**
|
|
2801
|
-
*
|
|
2802
|
-
* @export
|
|
2803
|
-
* @interface ValidationError
|
|
2804
|
-
*/
|
|
2805
1184
|
export interface ValidationError {
|
|
2806
|
-
/**
|
|
2807
|
-
*
|
|
2808
|
-
* @type {Array<ValidationErrorLocInner>}
|
|
2809
|
-
* @memberof ValidationError
|
|
2810
|
-
*/
|
|
2811
1185
|
'loc': Array<ValidationErrorLocInner>;
|
|
2812
|
-
/**
|
|
2813
|
-
*
|
|
2814
|
-
* @type {string}
|
|
2815
|
-
* @memberof ValidationError
|
|
2816
|
-
*/
|
|
2817
1186
|
'msg': string;
|
|
2818
|
-
/**
|
|
2819
|
-
*
|
|
2820
|
-
* @type {string}
|
|
2821
|
-
* @memberof ValidationError
|
|
2822
|
-
*/
|
|
2823
1187
|
'type': string;
|
|
2824
1188
|
}
|
|
2825
|
-
/**
|
|
2826
|
-
*
|
|
2827
|
-
* @export
|
|
2828
|
-
* @interface ValidationErrorLocInner
|
|
2829
|
-
*/
|
|
2830
1189
|
export interface ValidationErrorLocInner {
|
|
2831
1190
|
}
|
|
2832
1191
|
/**
|
|
2833
1192
|
* AgentApi - axios parameter creator
|
|
2834
|
-
* @export
|
|
2835
1193
|
*/
|
|
2836
1194
|
export declare const AgentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2837
1195
|
/**
|
|
@@ -2868,7 +1226,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2868
1226
|
getAgentApiKey: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2869
1227
|
/**
|
|
2870
1228
|
* Get the assets and balances for an agent\'s wallet
|
|
2871
|
-
* @summary Get
|
|
1229
|
+
* @summary Get Agent Assets
|
|
2872
1230
|
* @param {string} agentId ID of the agent
|
|
2873
1231
|
* @param {*} [options] Override http request option.
|
|
2874
1232
|
* @throws {RequiredError}
|
|
@@ -2957,7 +1315,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2957
1315
|
};
|
|
2958
1316
|
/**
|
|
2959
1317
|
* AgentApi - functional programming interface
|
|
2960
|
-
* @export
|
|
2961
1318
|
*/
|
|
2962
1319
|
export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
2963
1320
|
/**
|
|
@@ -2994,7 +1351,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2994
1351
|
getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentApiKeyResponse>>;
|
|
2995
1352
|
/**
|
|
2996
1353
|
* Get the assets and balances for an agent\'s wallet
|
|
2997
|
-
* @summary Get
|
|
1354
|
+
* @summary Get Agent Assets
|
|
2998
1355
|
* @param {string} agentId ID of the agent
|
|
2999
1356
|
* @param {*} [options] Override http request option.
|
|
3000
1357
|
* @throws {RequiredError}
|
|
@@ -3083,7 +1440,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3083
1440
|
};
|
|
3084
1441
|
/**
|
|
3085
1442
|
* AgentApi - factory interface
|
|
3086
|
-
* @export
|
|
3087
1443
|
*/
|
|
3088
1444
|
export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3089
1445
|
/**
|
|
@@ -3120,7 +1476,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3120
1476
|
getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentApiKeyResponse>;
|
|
3121
1477
|
/**
|
|
3122
1478
|
* Get the assets and balances for an agent\'s wallet
|
|
3123
|
-
* @summary Get
|
|
1479
|
+
* @summary Get Agent Assets
|
|
3124
1480
|
* @param {string} agentId ID of the agent
|
|
3125
1481
|
* @param {*} [options] Override http request option.
|
|
3126
1482
|
* @throws {RequiredError}
|
|
@@ -3209,9 +1565,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3209
1565
|
};
|
|
3210
1566
|
/**
|
|
3211
1567
|
* AgentApi - object-oriented interface
|
|
3212
|
-
* @export
|
|
3213
|
-
* @class AgentApi
|
|
3214
|
-
* @extends {BaseAPI}
|
|
3215
1568
|
*/
|
|
3216
1569
|
export declare class AgentApi extends BaseAPI {
|
|
3217
1570
|
/**
|
|
@@ -3220,7 +1573,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3220
1573
|
* @param {AgentUpdate} [agentUpdate]
|
|
3221
1574
|
* @param {*} [options] Override http request option.
|
|
3222
1575
|
* @throws {RequiredError}
|
|
3223
|
-
* @memberof AgentApi
|
|
3224
1576
|
*/
|
|
3225
1577
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
|
|
3226
1578
|
/**
|
|
@@ -3229,7 +1581,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3229
1581
|
* @param {string} agentId ID of the agent to export
|
|
3230
1582
|
* @param {*} [options] Override http request option.
|
|
3231
1583
|
* @throws {RequiredError}
|
|
3232
|
-
* @memberof AgentApi
|
|
3233
1584
|
*/
|
|
3234
1585
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3235
1586
|
/**
|
|
@@ -3238,7 +1589,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3238
1589
|
* @param {string} agentId ID of the agent to retrieve
|
|
3239
1590
|
* @param {*} [options] Override http request option.
|
|
3240
1591
|
* @throws {RequiredError}
|
|
3241
|
-
* @memberof AgentApi
|
|
3242
1592
|
*/
|
|
3243
1593
|
getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3244
1594
|
/**
|
|
@@ -3247,16 +1597,14 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3247
1597
|
* @param {string} agentId ID of the agent
|
|
3248
1598
|
* @param {*} [options] Override http request option.
|
|
3249
1599
|
* @throws {RequiredError}
|
|
3250
|
-
* @memberof AgentApi
|
|
3251
1600
|
*/
|
|
3252
1601
|
getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any>>;
|
|
3253
1602
|
/**
|
|
3254
1603
|
* Get the assets and balances for an agent\'s wallet
|
|
3255
|
-
* @summary Get
|
|
1604
|
+
* @summary Get Agent Assets
|
|
3256
1605
|
* @param {string} agentId ID of the agent
|
|
3257
1606
|
* @param {*} [options] Override http request option.
|
|
3258
1607
|
* @throws {RequiredError}
|
|
3259
|
-
* @memberof AgentApi
|
|
3260
1608
|
*/
|
|
3261
1609
|
getAgentAssets(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentAssetsResponse, any>>;
|
|
3262
1610
|
/**
|
|
@@ -3265,7 +1613,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3265
1613
|
* @param {string} aid ID of the agent
|
|
3266
1614
|
* @param {*} [options] Override http request option.
|
|
3267
1615
|
* @throws {RequiredError}
|
|
3268
|
-
* @memberof AgentApi
|
|
3269
1616
|
*/
|
|
3270
1617
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any>>;
|
|
3271
1618
|
/**
|
|
@@ -3276,7 +1623,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3276
1623
|
* @param {number} [limit] Maximum number of agents to return
|
|
3277
1624
|
* @param {*} [options] Override http request option.
|
|
3278
1625
|
* @throws {RequiredError}
|
|
3279
|
-
* @memberof AgentApi
|
|
3280
1626
|
*/
|
|
3281
1627
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
|
|
3282
1628
|
/**
|
|
@@ -3287,7 +1633,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3287
1633
|
* @param {number} [limit] Maximum number of messages to return
|
|
3288
1634
|
* @param {*} [options] Override http request option.
|
|
3289
1635
|
* @throws {RequiredError}
|
|
3290
|
-
* @memberof AgentApi
|
|
3291
1636
|
*/
|
|
3292
1637
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
|
|
3293
1638
|
/**
|
|
@@ -3297,7 +1642,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3297
1642
|
* @param {File} file YAML file containing agent configuration
|
|
3298
1643
|
* @param {*} [options] Override http request option.
|
|
3299
1644
|
* @throws {RequiredError}
|
|
3300
|
-
* @memberof AgentApi
|
|
3301
1645
|
*/
|
|
3302
1646
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
3303
1647
|
/**
|
|
@@ -3307,7 +1651,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3307
1651
|
* @param {AgentUpdate} [agentUpdate]
|
|
3308
1652
|
* @param {*} [options] Override http request option.
|
|
3309
1653
|
* @throws {RequiredError}
|
|
3310
|
-
* @memberof AgentApi
|
|
3311
1654
|
*/
|
|
3312
1655
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3313
1656
|
/**
|
|
@@ -3316,7 +1659,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3316
1659
|
* @param {string} agentId ID of the agent
|
|
3317
1660
|
* @param {*} [options] Override http request option.
|
|
3318
1661
|
* @throws {RequiredError}
|
|
3319
|
-
* @memberof AgentApi
|
|
3320
1662
|
*/
|
|
3321
1663
|
resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any>>;
|
|
3322
1664
|
/**
|
|
@@ -3326,7 +1668,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3326
1668
|
* @param {AgentUpdate} [agentUpdate]
|
|
3327
1669
|
* @param {*} [options] Override http request option.
|
|
3328
1670
|
* @throws {RequiredError}
|
|
3329
|
-
* @memberof AgentApi
|
|
3330
1671
|
*/
|
|
3331
1672
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
3332
1673
|
/**
|
|
@@ -3335,7 +1676,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3335
1676
|
* @param {AgentUpdate} [agentUpdate]
|
|
3336
1677
|
* @param {*} [options] Override http request option.
|
|
3337
1678
|
* @throws {RequiredError}
|
|
3338
|
-
* @memberof AgentApi
|
|
3339
1679
|
*/
|
|
3340
1680
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3341
1681
|
/**
|
|
@@ -3345,13 +1685,11 @@ export declare class AgentApi extends BaseAPI {
|
|
|
3345
1685
|
* @param {AgentUpdate} [agentUpdate]
|
|
3346
1686
|
* @param {*} [options] Override http request option.
|
|
3347
1687
|
* @throws {RequiredError}
|
|
3348
|
-
* @memberof AgentApi
|
|
3349
1688
|
*/
|
|
3350
1689
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3351
1690
|
}
|
|
3352
1691
|
/**
|
|
3353
1692
|
* ChatApi - axios parameter creator
|
|
3354
|
-
* @export
|
|
3355
1693
|
*/
|
|
3356
1694
|
export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3357
1695
|
/**
|
|
@@ -3449,7 +1787,6 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
3449
1787
|
};
|
|
3450
1788
|
/**
|
|
3451
1789
|
* ChatApi - functional programming interface
|
|
3452
|
-
* @export
|
|
3453
1790
|
*/
|
|
3454
1791
|
export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
3455
1792
|
/**
|
|
@@ -3547,7 +1884,6 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
3547
1884
|
};
|
|
3548
1885
|
/**
|
|
3549
1886
|
* ChatApi - factory interface
|
|
3550
|
-
* @export
|
|
3551
1887
|
*/
|
|
3552
1888
|
export declare const ChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3553
1889
|
/**
|
|
@@ -3645,9 +1981,6 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
3645
1981
|
};
|
|
3646
1982
|
/**
|
|
3647
1983
|
* ChatApi - object-oriented interface
|
|
3648
|
-
* @export
|
|
3649
|
-
* @class ChatApi
|
|
3650
|
-
* @extends {BaseAPI}
|
|
3651
1984
|
*/
|
|
3652
1985
|
export declare class ChatApi extends BaseAPI {
|
|
3653
1986
|
/**
|
|
@@ -3656,7 +1989,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3656
1989
|
* @param {string} aid Agent ID
|
|
3657
1990
|
* @param {*} [options] Override http request option.
|
|
3658
1991
|
* @throws {RequiredError}
|
|
3659
|
-
* @memberof ChatApi
|
|
3660
1992
|
*/
|
|
3661
1993
|
createChatThread(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
|
|
3662
1994
|
/**
|
|
@@ -3666,7 +1998,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3666
1998
|
* @param {string} chatId Chat ID
|
|
3667
1999
|
* @param {*} [options] Override http request option.
|
|
3668
2000
|
* @throws {RequiredError}
|
|
3669
|
-
* @memberof ChatApi
|
|
3670
2001
|
*/
|
|
3671
2002
|
deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3672
2003
|
/**
|
|
@@ -3676,7 +2007,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3676
2007
|
* @param {string} chatId Chat ID
|
|
3677
2008
|
* @param {*} [options] Override http request option.
|
|
3678
2009
|
* @throws {RequiredError}
|
|
3679
|
-
* @memberof ChatApi
|
|
3680
2010
|
*/
|
|
3681
2011
|
getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
|
|
3682
2012
|
/**
|
|
@@ -3685,7 +2015,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3685
2015
|
* @param {string} messageId Message ID
|
|
3686
2016
|
* @param {*} [options] Override http request option.
|
|
3687
2017
|
* @throws {RequiredError}
|
|
3688
|
-
* @memberof ChatApi
|
|
3689
2018
|
*/
|
|
3690
2019
|
getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
|
|
3691
2020
|
/**
|
|
@@ -3696,7 +2025,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3696
2025
|
* @param {number} [limit] Maximum number of messages to return
|
|
3697
2026
|
* @param {*} [options] Override http request option.
|
|
3698
2027
|
* @throws {RequiredError}
|
|
3699
|
-
* @memberof ChatApi
|
|
3700
2028
|
*/
|
|
3701
2029
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
|
|
3702
2030
|
/**
|
|
@@ -3705,7 +2033,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3705
2033
|
* @param {string} aid Agent ID
|
|
3706
2034
|
* @param {*} [options] Override http request option.
|
|
3707
2035
|
* @throws {RequiredError}
|
|
3708
|
-
* @memberof ChatApi
|
|
3709
2036
|
*/
|
|
3710
2037
|
listChatsForAgent(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat[], any>>;
|
|
3711
2038
|
/**
|
|
@@ -3717,7 +2044,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3717
2044
|
* @param {number} [limit] Maximum number of messages to return
|
|
3718
2045
|
* @param {*} [options] Override http request option.
|
|
3719
2046
|
* @throws {RequiredError}
|
|
3720
|
-
* @memberof ChatApi
|
|
3721
2047
|
*/
|
|
3722
2048
|
listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
|
|
3723
2049
|
/**
|
|
@@ -3727,7 +2053,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3727
2053
|
* @param {string} chatId Chat ID
|
|
3728
2054
|
* @param {*} [options] Override http request option.
|
|
3729
2055
|
* @throws {RequiredError}
|
|
3730
|
-
* @memberof ChatApi
|
|
3731
2056
|
*/
|
|
3732
2057
|
retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any>>;
|
|
3733
2058
|
/**
|
|
@@ -3738,7 +2063,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3738
2063
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
3739
2064
|
* @param {*} [options] Override http request option.
|
|
3740
2065
|
* @throws {RequiredError}
|
|
3741
|
-
* @memberof ChatApi
|
|
3742
2066
|
*/
|
|
3743
2067
|
sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any>>;
|
|
3744
2068
|
/**
|
|
@@ -3749,13 +2073,11 @@ export declare class ChatApi extends BaseAPI {
|
|
|
3749
2073
|
* @param {ChatUpdateRequest} chatUpdateRequest
|
|
3750
2074
|
* @param {*} [options] Override http request option.
|
|
3751
2075
|
* @throws {RequiredError}
|
|
3752
|
-
* @memberof ChatApi
|
|
3753
2076
|
*/
|
|
3754
2077
|
updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
|
|
3755
2078
|
}
|
|
3756
2079
|
/**
|
|
3757
2080
|
* CreditApi - axios parameter creator
|
|
3758
|
-
* @export
|
|
3759
2081
|
*/
|
|
3760
2082
|
export declare const CreditApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3761
2083
|
/**
|
|
@@ -3808,7 +2130,6 @@ export declare const CreditApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3808
2130
|
};
|
|
3809
2131
|
/**
|
|
3810
2132
|
* CreditApi - functional programming interface
|
|
3811
|
-
* @export
|
|
3812
2133
|
*/
|
|
3813
2134
|
export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
3814
2135
|
/**
|
|
@@ -3861,7 +2182,6 @@ export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
|
3861
2182
|
};
|
|
3862
2183
|
/**
|
|
3863
2184
|
* CreditApi - factory interface
|
|
3864
|
-
* @export
|
|
3865
2185
|
*/
|
|
3866
2186
|
export declare const CreditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3867
2187
|
/**
|
|
@@ -3914,9 +2234,6 @@ export declare const CreditApiFactory: (configuration?: Configuration, basePath?
|
|
|
3914
2234
|
};
|
|
3915
2235
|
/**
|
|
3916
2236
|
* CreditApi - object-oriented interface
|
|
3917
|
-
* @export
|
|
3918
|
-
* @class CreditApi
|
|
3919
|
-
* @extends {BaseAPI}
|
|
3920
2237
|
*/
|
|
3921
2238
|
export declare class CreditApi extends BaseAPI {
|
|
3922
2239
|
/**
|
|
@@ -3925,7 +2242,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
3925
2242
|
* @param {string} eventId Credit event ID
|
|
3926
2243
|
* @param {*} [options] Override http request option.
|
|
3927
2244
|
* @throws {RequiredError}
|
|
3928
|
-
* @memberof CreditApi
|
|
3929
2245
|
*/
|
|
3930
2246
|
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEvent, any>>;
|
|
3931
2247
|
/**
|
|
@@ -3933,7 +2249,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
3933
2249
|
* @summary Get User Account
|
|
3934
2250
|
* @param {*} [options] Override http request option.
|
|
3935
2251
|
* @throws {RequiredError}
|
|
3936
|
-
* @memberof CreditApi
|
|
3937
2252
|
*/
|
|
3938
2253
|
getUserAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditAccount, any>>;
|
|
3939
2254
|
/**
|
|
@@ -3944,7 +2259,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
3944
2259
|
* @param {number} [limit] Maximum number of events to return
|
|
3945
2260
|
* @param {*} [options] Override http request option.
|
|
3946
2261
|
* @throws {RequiredError}
|
|
3947
|
-
* @memberof CreditApi
|
|
3948
2262
|
*/
|
|
3949
2263
|
listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any>>;
|
|
3950
2264
|
/**
|
|
@@ -3956,7 +2270,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
3956
2270
|
* @param {number} [limit] Maximum number of events to return
|
|
3957
2271
|
* @param {*} [options] Override http request option.
|
|
3958
2272
|
* @throws {RequiredError}
|
|
3959
|
-
* @memberof CreditApi
|
|
3960
2273
|
*/
|
|
3961
2274
|
listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any>>;
|
|
3962
2275
|
/**
|
|
@@ -3968,13 +2281,11 @@ export declare class CreditApi extends BaseAPI {
|
|
|
3968
2281
|
* @param {number} [limit] Maximum number of transactions to return
|
|
3969
2282
|
* @param {*} [options] Override http request option.
|
|
3970
2283
|
* @throws {RequiredError}
|
|
3971
|
-
* @memberof CreditApi
|
|
3972
2284
|
*/
|
|
3973
2285
|
listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditTransactionsResponse, any>>;
|
|
3974
2286
|
}
|
|
3975
2287
|
/**
|
|
3976
2288
|
* GeneratorApi - axios parameter creator
|
|
3977
|
-
* @export
|
|
3978
2289
|
*/
|
|
3979
2290
|
export declare const GeneratorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3980
2291
|
/**
|
|
@@ -4004,7 +2315,6 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
4004
2315
|
};
|
|
4005
2316
|
/**
|
|
4006
2317
|
* GeneratorApi - functional programming interface
|
|
4007
|
-
* @export
|
|
4008
2318
|
*/
|
|
4009
2319
|
export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
4010
2320
|
/**
|
|
@@ -4034,7 +2344,6 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
4034
2344
|
};
|
|
4035
2345
|
/**
|
|
4036
2346
|
* GeneratorApi - factory interface
|
|
4037
|
-
* @export
|
|
4038
2347
|
*/
|
|
4039
2348
|
export declare const GeneratorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4040
2349
|
/**
|
|
@@ -4064,9 +2373,6 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
4064
2373
|
};
|
|
4065
2374
|
/**
|
|
4066
2375
|
* GeneratorApi - object-oriented interface
|
|
4067
|
-
* @export
|
|
4068
|
-
* @class GeneratorApi
|
|
4069
|
-
* @extends {BaseAPI}
|
|
4070
2376
|
*/
|
|
4071
2377
|
export declare class GeneratorApi extends BaseAPI {
|
|
4072
2378
|
/**
|
|
@@ -4075,7 +2381,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4075
2381
|
* @param {AgentGenerateRequest} agentGenerateRequest
|
|
4076
2382
|
* @param {*} [options] Override http request option.
|
|
4077
2383
|
* @throws {RequiredError}
|
|
4078
|
-
* @memberof GeneratorApi
|
|
4079
2384
|
*/
|
|
4080
2385
|
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any>>;
|
|
4081
2386
|
/**
|
|
@@ -4084,7 +2389,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4084
2389
|
* @param {string} projectId
|
|
4085
2390
|
* @param {*} [options] Override http request option.
|
|
4086
2391
|
* @throws {RequiredError}
|
|
4087
|
-
* @memberof GeneratorApi
|
|
4088
2392
|
*/
|
|
4089
2393
|
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any>>;
|
|
4090
2394
|
/**
|
|
@@ -4093,13 +2397,11 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
4093
2397
|
* @param {number} [limit]
|
|
4094
2398
|
* @param {*} [options] Override http request option.
|
|
4095
2399
|
* @throws {RequiredError}
|
|
4096
|
-
* @memberof GeneratorApi
|
|
4097
2400
|
*/
|
|
4098
2401
|
getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any>>;
|
|
4099
2402
|
}
|
|
4100
2403
|
/**
|
|
4101
2404
|
* HealthApi - axios parameter creator
|
|
4102
|
-
* @export
|
|
4103
2405
|
*/
|
|
4104
2406
|
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4105
2407
|
/**
|
|
@@ -4112,7 +2414,6 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4112
2414
|
};
|
|
4113
2415
|
/**
|
|
4114
2416
|
* HealthApi - functional programming interface
|
|
4115
|
-
* @export
|
|
4116
2417
|
*/
|
|
4117
2418
|
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
4118
2419
|
/**
|
|
@@ -4125,7 +2426,6 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
4125
2426
|
};
|
|
4126
2427
|
/**
|
|
4127
2428
|
* HealthApi - factory interface
|
|
4128
|
-
* @export
|
|
4129
2429
|
*/
|
|
4130
2430
|
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4131
2431
|
/**
|
|
@@ -4138,9 +2438,6 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
4138
2438
|
};
|
|
4139
2439
|
/**
|
|
4140
2440
|
* HealthApi - object-oriented interface
|
|
4141
|
-
* @export
|
|
4142
|
-
* @class HealthApi
|
|
4143
|
-
* @extends {BaseAPI}
|
|
4144
2441
|
*/
|
|
4145
2442
|
export declare class HealthApi extends BaseAPI {
|
|
4146
2443
|
/**
|
|
@@ -4148,13 +2445,11 @@ export declare class HealthApi extends BaseAPI {
|
|
|
4148
2445
|
* @summary Health check endpoint
|
|
4149
2446
|
* @param {*} [options] Override http request option.
|
|
4150
2447
|
* @throws {RequiredError}
|
|
4151
|
-
* @memberof HealthApi
|
|
4152
2448
|
*/
|
|
4153
2449
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4154
2450
|
}
|
|
4155
2451
|
/**
|
|
4156
2452
|
* MetadataApi - axios parameter creator
|
|
4157
|
-
* @export
|
|
4158
2453
|
*/
|
|
4159
2454
|
export declare const MetadataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4160
2455
|
/**
|
|
@@ -4199,7 +2494,6 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4199
2494
|
};
|
|
4200
2495
|
/**
|
|
4201
2496
|
* MetadataApi - functional programming interface
|
|
4202
|
-
* @export
|
|
4203
2497
|
*/
|
|
4204
2498
|
export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
4205
2499
|
/**
|
|
@@ -4244,7 +2538,6 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
4244
2538
|
};
|
|
4245
2539
|
/**
|
|
4246
2540
|
* MetadataApi - factory interface
|
|
4247
|
-
* @export
|
|
4248
2541
|
*/
|
|
4249
2542
|
export declare const MetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4250
2543
|
/**
|
|
@@ -4289,9 +2582,6 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
4289
2582
|
};
|
|
4290
2583
|
/**
|
|
4291
2584
|
* MetadataApi - object-oriented interface
|
|
4292
|
-
* @export
|
|
4293
|
-
* @class MetadataApi
|
|
4294
|
-
* @extends {BaseAPI}
|
|
4295
2585
|
*/
|
|
4296
2586
|
export declare class MetadataApi extends BaseAPI {
|
|
4297
2587
|
/**
|
|
@@ -4299,7 +2589,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
4299
2589
|
* @summary Get agent schema
|
|
4300
2590
|
* @param {*} [options] Override http request option.
|
|
4301
2591
|
* @throws {RequiredError}
|
|
4302
|
-
* @memberof MetadataApi
|
|
4303
2592
|
*/
|
|
4304
2593
|
getAgentSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4305
2594
|
/**
|
|
@@ -4307,7 +2596,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
4307
2596
|
* @summary Get all LLM models
|
|
4308
2597
|
* @param {*} [options] Override http request option.
|
|
4309
2598
|
* @throws {RequiredError}
|
|
4310
|
-
* @memberof MetadataApi
|
|
4311
2599
|
*/
|
|
4312
2600
|
getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any>>;
|
|
4313
2601
|
/**
|
|
@@ -4318,7 +2606,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
4318
2606
|
* @param {string} ext Icon file extension
|
|
4319
2607
|
* @param {*} [options] Override http request option.
|
|
4320
2608
|
* @throws {RequiredError}
|
|
4321
|
-
* @memberof MetadataApi
|
|
4322
2609
|
*/
|
|
4323
2610
|
getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4324
2611
|
/**
|
|
@@ -4327,7 +2614,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
4327
2614
|
* @param {string} skill Skill name
|
|
4328
2615
|
* @param {*} [options] Override http request option.
|
|
4329
2616
|
* @throws {RequiredError}
|
|
4330
|
-
* @memberof MetadataApi
|
|
4331
2617
|
*/
|
|
4332
2618
|
getSkillSchema(skill: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4333
2619
|
/**
|
|
@@ -4335,13 +2621,11 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
4335
2621
|
* @summary Get all skills
|
|
4336
2622
|
* @param {*} [options] Override http request option.
|
|
4337
2623
|
* @throws {RequiredError}
|
|
4338
|
-
* @memberof MetadataApi
|
|
4339
2624
|
*/
|
|
4340
2625
|
getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any>>;
|
|
4341
2626
|
}
|
|
4342
2627
|
/**
|
|
4343
2628
|
* OAuthApi - axios parameter creator
|
|
4344
|
-
* @export
|
|
4345
2629
|
*/
|
|
4346
2630
|
export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4347
2631
|
/**
|
|
@@ -4374,7 +2658,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4374
2658
|
};
|
|
4375
2659
|
/**
|
|
4376
2660
|
* OAuthApi - functional programming interface
|
|
4377
|
-
* @export
|
|
4378
2661
|
*/
|
|
4379
2662
|
export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
4380
2663
|
/**
|
|
@@ -4407,7 +2690,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
4407
2690
|
};
|
|
4408
2691
|
/**
|
|
4409
2692
|
* OAuthApi - factory interface
|
|
4410
|
-
* @export
|
|
4411
2693
|
*/
|
|
4412
2694
|
export declare const OAuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4413
2695
|
/**
|
|
@@ -4440,9 +2722,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4440
2722
|
};
|
|
4441
2723
|
/**
|
|
4442
2724
|
* OAuthApi - object-oriented interface
|
|
4443
|
-
* @export
|
|
4444
|
-
* @class OAuthApi
|
|
4445
|
-
* @extends {BaseAPI}
|
|
4446
2725
|
*/
|
|
4447
2726
|
export declare class OAuthApi extends BaseAPI {
|
|
4448
2727
|
/**
|
|
@@ -4452,7 +2731,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
4452
2731
|
* @param {string} redirectUri
|
|
4453
2732
|
* @param {*} [options] Override http request option.
|
|
4454
2733
|
* @throws {RequiredError}
|
|
4455
|
-
* @memberof OAuthApi
|
|
4456
2734
|
*/
|
|
4457
2735
|
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any>>;
|
|
4458
2736
|
/**
|
|
@@ -4463,7 +2741,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
4463
2741
|
* @param {string | null} [error]
|
|
4464
2742
|
* @param {*} [options] Override http request option.
|
|
4465
2743
|
* @throws {RequiredError}
|
|
4466
|
-
* @memberof OAuthApi
|
|
4467
2744
|
*/
|
|
4468
2745
|
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4469
2746
|
/**
|
|
@@ -4472,13 +2749,11 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
4472
2749
|
* @param {string} agentId ID of the agent to unlink from X
|
|
4473
2750
|
* @param {*} [options] Override http request option.
|
|
4474
2751
|
* @throws {RequiredError}
|
|
4475
|
-
* @memberof OAuthApi
|
|
4476
2752
|
*/
|
|
4477
2753
|
unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4478
2754
|
}
|
|
4479
2755
|
/**
|
|
4480
2756
|
* UserApi - axios parameter creator
|
|
4481
|
-
* @export
|
|
4482
2757
|
*/
|
|
4483
2758
|
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4484
2759
|
/**
|
|
@@ -4501,7 +2776,6 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4501
2776
|
};
|
|
4502
2777
|
/**
|
|
4503
2778
|
* UserApi - functional programming interface
|
|
4504
|
-
* @export
|
|
4505
2779
|
*/
|
|
4506
2780
|
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
4507
2781
|
/**
|
|
@@ -4524,7 +2798,6 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
4524
2798
|
};
|
|
4525
2799
|
/**
|
|
4526
2800
|
* UserApi - factory interface
|
|
4527
|
-
* @export
|
|
4528
2801
|
*/
|
|
4529
2802
|
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4530
2803
|
/**
|
|
@@ -4547,9 +2820,6 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4547
2820
|
};
|
|
4548
2821
|
/**
|
|
4549
2822
|
* UserApi - object-oriented interface
|
|
4550
|
-
* @export
|
|
4551
|
-
* @class UserApi
|
|
4552
|
-
* @extends {BaseAPI}
|
|
4553
2823
|
*/
|
|
4554
2824
|
export declare class UserApi extends BaseAPI {
|
|
4555
2825
|
/**
|
|
@@ -4558,7 +2828,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
4558
2828
|
* @param {string} agentId Agent ID
|
|
4559
2829
|
* @param {*} [options] Override http request option.
|
|
4560
2830
|
* @throws {RequiredError}
|
|
4561
|
-
* @memberof UserApi
|
|
4562
2831
|
*/
|
|
4563
2832
|
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any>>;
|
|
4564
2833
|
/**
|
|
@@ -4568,7 +2837,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
4568
2837
|
* @param {number} [limit] Maximum number of agents to return
|
|
4569
2838
|
* @param {*} [options] Override http request option.
|
|
4570
2839
|
* @throws {RequiredError}
|
|
4571
|
-
* @memberof UserApi
|
|
4572
2840
|
*/
|
|
4573
2841
|
getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
|
|
4574
2842
|
}
|