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