@crestal/nation-sdk 0.7.40 → 0.7.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +50 -7
- package/.openapi-generator/VERSION +1 -1
- package/README.md +52 -9
- package/api.ts +486 -2353
- package/base.ts +1 -25
- package/common.ts +1 -38
- package/configuration.ts +1 -18
- package/dist/api.d.ts +481 -2356
- package/dist/api.js +5 -150
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -38
- package/dist/common.js +1 -38
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentApi.md +1 -1
- package/docs/AgentAssetsResponse.md +1 -1
- package/docs/AgentDraft.md +2 -0
- package/docs/Amount.md +19 -0
- package/docs/AssetInput.md +23 -0
- package/docs/{Asset.md → AssetOutput.md} +3 -3
- package/docs/Balance.md +19 -0
- package/docs/BalanceAfter.md +19 -0
- package/docs/BaseAmount.md +19 -0
- package/docs/BaseDiscountAmount.md +19 -0
- package/docs/BaseFreeAmount.md +19 -0
- package/docs/BaseLlmAmount.md +19 -0
- package/docs/BaseOriginalAmount.md +19 -0
- package/docs/BasePermanentAmount.md +19 -0
- package/docs/BaseRewardAmount.md +19 -0
- package/docs/BaseSkillAmount.md +19 -0
- package/docs/ChangeAmount.md +19 -0
- package/docs/CreditAmount.md +19 -0
- package/docs/CreditApi.md +2 -2
- package/docs/CreditEventInput.md +109 -0
- package/docs/{CreditEvent.md → CreditEventOutput.md} +3 -3
- package/docs/CreditEventWithAgentInput.md +111 -0
- package/docs/{CreditEventWithAgent.md → CreditEventWithAgentOutput.md} +3 -3
- package/docs/CreditEventsResponse.md +1 -1
- package/docs/CreditTransactionRespInput.md +43 -0
- package/docs/{CreditTransactionResp.md → CreditTransactionRespOutput.md} +4 -4
- package/docs/CreditTransactionsResponse.md +1 -1
- package/docs/FeeAgentAmount.md +19 -0
- package/docs/FeeAgentFreeAmount.md +19 -0
- package/docs/FeeAgentPermanentAmount.md +19 -0
- package/docs/FeeAgentRewardAmount.md +19 -0
- package/docs/FeeDevAmount.md +19 -0
- package/docs/FeeDevFreeAmount.md +19 -0
- package/docs/FeeDevPermanentAmount.md +19 -0
- package/docs/FeeDevRewardAmount.md +19 -0
- package/docs/FeePlatformAmount.md +19 -0
- package/docs/FeePlatformFreeAmount.md +19 -0
- package/docs/FeePlatformPermanentAmount.md +19 -0
- package/docs/FeePlatformRewardAmount.md +19 -0
- package/docs/FreeAmount.md +19 -0
- package/docs/FreeAmount1.md +19 -0
- package/docs/InputPrice.md +18 -0
- package/docs/LLMModelInfoWithProviderNameInput.md +67 -0
- package/docs/{LLMModelInfoWithProviderName.md → LLMModelInfoWithProviderNameOutput.md} +5 -5
- package/docs/MetadataApi.md +4 -4
- package/docs/OutputPrice.md +18 -0
- package/docs/PermanentAmount.md +19 -0
- package/docs/PermanentAmount1.md +19 -0
- package/docs/Price.md +19 -0
- package/docs/PriceSelfKey.md +19 -0
- package/docs/RewardAmount.md +19 -0
- package/docs/RewardAmount1.md +19 -0
- package/docs/SkillInput.md +43 -0
- package/docs/{Skill.md → SkillOutput.md} +3 -3
- package/docs/TopupRecordInput.md +47 -0
- package/docs/{TopupRecord.md → TopupRecordOutput.md} +3 -3
- package/docs/TopupRecordsResponse.md +1 -1
- package/docs/TotalAmount.md +19 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.7.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.42
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -15,272 +15,62 @@ import type { RequestArgs } from './base';
|
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
17
|
* Agent model.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface Agent
|
|
20
18
|
*/
|
|
21
19
|
export interface Agent {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof Agent
|
|
26
|
-
*/
|
|
27
20
|
'description'?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof Agent
|
|
32
|
-
*/
|
|
33
21
|
'external_website'?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof Agent
|
|
38
|
-
*/
|
|
39
22
|
'ticker'?: string | null;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof Agent
|
|
44
|
-
*/
|
|
45
23
|
'token_address'?: string | null;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof Agent
|
|
50
|
-
*/
|
|
51
24
|
'token_pool'?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof Agent
|
|
56
|
-
*/
|
|
57
25
|
'fee_percentage'?: string | null;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof Agent
|
|
62
|
-
*/
|
|
63
26
|
'example_intro'?: string | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Array<AgentExample>}
|
|
67
|
-
* @memberof Agent
|
|
68
|
-
*/
|
|
69
27
|
'examples'?: Array<AgentExample> | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {object}
|
|
73
|
-
* @memberof Agent
|
|
74
|
-
*/
|
|
75
28
|
'public_extra'?: object | null;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof Agent
|
|
80
|
-
*/
|
|
81
29
|
'name': string | null;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof Agent
|
|
86
|
-
*/
|
|
87
30
|
'picture'?: string | null;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof Agent
|
|
92
|
-
*/
|
|
93
31
|
'purpose'?: string | null;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {string}
|
|
97
|
-
* @memberof Agent
|
|
98
|
-
*/
|
|
99
32
|
'personality'?: string | null;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {string}
|
|
103
|
-
* @memberof Agent
|
|
104
|
-
*/
|
|
105
33
|
'principles'?: string | null;
|
|
106
34
|
/**
|
|
107
35
|
* AI model identifier to be used by this agent for processing requests.
|
|
108
|
-
* @type {string}
|
|
109
|
-
* @memberof Agent
|
|
110
36
|
*/
|
|
111
37
|
'model'?: string;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {string}
|
|
115
|
-
* @memberof Agent
|
|
116
|
-
*/
|
|
117
38
|
'prompt'?: string | null;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {string}
|
|
121
|
-
* @memberof Agent
|
|
122
|
-
*/
|
|
123
39
|
'prompt_append'?: string | null;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {number}
|
|
127
|
-
* @memberof Agent
|
|
128
|
-
*/
|
|
129
40
|
'temperature'?: number | null;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {number}
|
|
133
|
-
* @memberof Agent
|
|
134
|
-
*/
|
|
135
41
|
'frequency_penalty'?: number | null;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {number}
|
|
139
|
-
* @memberof Agent
|
|
140
|
-
*/
|
|
141
42
|
'presence_penalty'?: number | null;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof Agent
|
|
146
|
-
*/
|
|
147
43
|
'wallet_provider'?: AgentWalletProviderEnum | null;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof Agent
|
|
152
|
-
*/
|
|
153
44
|
'readonly_wallet_address'?: string | null;
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @type {string}
|
|
157
|
-
* @memberof Agent
|
|
158
|
-
*/
|
|
159
45
|
'network_id'?: AgentNetworkIdEnum | null;
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @type {object}
|
|
163
|
-
* @memberof Agent
|
|
164
|
-
*/
|
|
165
46
|
'skills'?: object | null;
|
|
166
|
-
/**
|
|
167
|
-
*
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof Agent
|
|
170
|
-
*/
|
|
171
47
|
'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
* @type {Array<AgentAutonomous>}
|
|
175
|
-
* @memberof Agent
|
|
176
|
-
*/
|
|
177
48
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @type {boolean}
|
|
181
|
-
* @memberof Agent
|
|
182
|
-
*/
|
|
183
49
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof Agent
|
|
188
|
-
*/
|
|
189
50
|
'telegram_entrypoint_prompt'?: string | null;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {object}
|
|
193
|
-
* @memberof Agent
|
|
194
|
-
*/
|
|
195
51
|
'telegram_config'?: object | null;
|
|
196
|
-
/**
|
|
197
|
-
*
|
|
198
|
-
* @type {string}
|
|
199
|
-
* @memberof Agent
|
|
200
|
-
*/
|
|
201
52
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {string}
|
|
205
|
-
* @memberof Agent
|
|
206
|
-
*/
|
|
207
53
|
'upstream_id'?: string | null;
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @type {object}
|
|
211
|
-
* @memberof Agent
|
|
212
|
-
*/
|
|
213
54
|
'upstream_extra'?: object | null;
|
|
214
55
|
/**
|
|
215
56
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
216
|
-
* @type {string}
|
|
217
|
-
* @memberof Agent
|
|
218
57
|
*/
|
|
219
58
|
'id'?: string;
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @type {string}
|
|
223
|
-
* @memberof Agent
|
|
224
|
-
*/
|
|
225
59
|
'owner'?: string | null;
|
|
226
|
-
/**
|
|
227
|
-
*
|
|
228
|
-
* @type {string}
|
|
229
|
-
* @memberof Agent
|
|
230
|
-
*/
|
|
231
60
|
'slug'?: string | null;
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @type {string}
|
|
235
|
-
* @memberof Agent
|
|
236
|
-
*/
|
|
237
61
|
'version'?: string | null;
|
|
238
|
-
/**
|
|
239
|
-
*
|
|
240
|
-
* @type {object}
|
|
241
|
-
* @memberof Agent
|
|
242
|
-
*/
|
|
243
62
|
'statistics'?: object | null;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @type {object}
|
|
247
|
-
* @memberof Agent
|
|
248
|
-
*/
|
|
249
63
|
'assets'?: object | null;
|
|
250
|
-
/**
|
|
251
|
-
*
|
|
252
|
-
* @type {CreditAccount}
|
|
253
|
-
* @memberof Agent
|
|
254
|
-
*/
|
|
255
64
|
'account_snapshot'?: CreditAccount | null;
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @type {object}
|
|
259
|
-
* @memberof Agent
|
|
260
|
-
*/
|
|
261
65
|
'extra'?: object | null;
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {string}
|
|
265
|
-
* @memberof Agent
|
|
266
|
-
*/
|
|
267
66
|
'deployed_at'?: string | null;
|
|
268
|
-
/**
|
|
269
|
-
*
|
|
270
|
-
* @type {string}
|
|
271
|
-
* @memberof Agent
|
|
272
|
-
*/
|
|
273
67
|
'public_info_updated_at'?: string | null;
|
|
274
68
|
/**
|
|
275
69
|
* Timestamp when the agent was created, will ignore when importing
|
|
276
|
-
* @type {string}
|
|
277
|
-
* @memberof Agent
|
|
278
70
|
*/
|
|
279
71
|
'created_at'?: string;
|
|
280
72
|
/**
|
|
281
73
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
282
|
-
* @type {string}
|
|
283
|
-
* @memberof Agent
|
|
284
74
|
*/
|
|
285
75
|
'updated_at'?: string;
|
|
286
76
|
}
|
|
@@ -311,306 +101,107 @@ export declare const AgentShortTermMemoryStrategyEnum: {
|
|
|
311
101
|
export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
|
|
312
102
|
/**
|
|
313
103
|
* Response model for agent API key generation.
|
|
314
|
-
* @export
|
|
315
|
-
* @interface AgentApiKeyResponse
|
|
316
104
|
*/
|
|
317
105
|
export interface AgentApiKeyResponse {
|
|
318
106
|
/**
|
|
319
107
|
* The private API key for the agent (sk-)
|
|
320
|
-
* @type {string}
|
|
321
|
-
* @memberof AgentApiKeyResponse
|
|
322
108
|
*/
|
|
323
109
|
'api_key': string;
|
|
324
110
|
/**
|
|
325
111
|
* The public API key for the agent (pk-)
|
|
326
|
-
* @type {string}
|
|
327
|
-
* @memberof AgentApiKeyResponse
|
|
328
112
|
*/
|
|
329
113
|
'api_key_public': string;
|
|
330
114
|
/**
|
|
331
115
|
* The base URL for the API
|
|
332
|
-
* @type {string}
|
|
333
|
-
* @memberof AgentApiKeyResponse
|
|
334
116
|
*/
|
|
335
117
|
'base_url': string;
|
|
336
118
|
/**
|
|
337
119
|
* API documentation URL
|
|
338
|
-
* @type {string}
|
|
339
|
-
* @memberof AgentApiKeyResponse
|
|
340
120
|
*/
|
|
341
121
|
'api_doc': string;
|
|
342
122
|
/**
|
|
343
123
|
* OpenAPI JSON URL for AI integration
|
|
344
|
-
* @type {string}
|
|
345
|
-
* @memberof AgentApiKeyResponse
|
|
346
124
|
*/
|
|
347
125
|
'doc_for_ai': string;
|
|
348
126
|
}
|
|
349
127
|
/**
|
|
350
128
|
* Response model for agent assets.
|
|
351
|
-
* @export
|
|
352
|
-
* @interface AgentAssetsResponse
|
|
353
129
|
*/
|
|
354
130
|
export interface AgentAssetsResponse {
|
|
355
131
|
/**
|
|
356
132
|
* ID of the agent
|
|
357
|
-
* @type {string}
|
|
358
|
-
* @memberof AgentAssetsResponse
|
|
359
133
|
*/
|
|
360
134
|
'agent_id': string;
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @type {string}
|
|
364
|
-
* @memberof AgentAssetsResponse
|
|
365
|
-
*/
|
|
366
135
|
'network_id': string | null;
|
|
367
|
-
/**
|
|
368
|
-
*
|
|
369
|
-
* @type {string}
|
|
370
|
-
* @memberof AgentAssetsResponse
|
|
371
|
-
*/
|
|
372
136
|
'wallet_address': string | null;
|
|
373
|
-
/**
|
|
374
|
-
*
|
|
375
|
-
* @type {string}
|
|
376
|
-
* @memberof AgentAssetsResponse
|
|
377
|
-
*/
|
|
378
137
|
'ticker': string | null;
|
|
379
|
-
/**
|
|
380
|
-
*
|
|
381
|
-
* @type {string}
|
|
382
|
-
* @memberof AgentAssetsResponse
|
|
383
|
-
*/
|
|
384
138
|
'token_address': string | null;
|
|
385
|
-
/**
|
|
386
|
-
*
|
|
387
|
-
* @type {string}
|
|
388
|
-
* @memberof AgentAssetsResponse
|
|
389
|
-
*/
|
|
390
139
|
'token_pool': string | null;
|
|
391
140
|
/**
|
|
392
141
|
* Total value locked, set to 0 for this version
|
|
393
|
-
* @type {string}
|
|
394
|
-
* @memberof AgentAssetsResponse
|
|
395
142
|
*/
|
|
396
143
|
'tvl'?: string;
|
|
397
144
|
/**
|
|
398
145
|
* List of assets with symbol and balance
|
|
399
|
-
* @type {Array<Asset>}
|
|
400
|
-
* @memberof AgentAssetsResponse
|
|
401
146
|
*/
|
|
402
|
-
'assets': Array<
|
|
147
|
+
'assets': Array<AssetOutput>;
|
|
403
148
|
/**
|
|
404
149
|
* Credit account information
|
|
405
|
-
* @type {CreditAccount}
|
|
406
|
-
* @memberof AgentAssetsResponse
|
|
407
150
|
*/
|
|
408
151
|
'account': CreditAccount;
|
|
409
152
|
}
|
|
410
153
|
/**
|
|
411
154
|
* Autonomous agent configuration.
|
|
412
|
-
* @export
|
|
413
|
-
* @interface AgentAutonomous
|
|
414
155
|
*/
|
|
415
156
|
export interface AgentAutonomous {
|
|
416
157
|
/**
|
|
417
158
|
* Unique identifier for the autonomous configuration
|
|
418
|
-
* @type {string}
|
|
419
|
-
* @memberof AgentAutonomous
|
|
420
159
|
*/
|
|
421
160
|
'id'?: string;
|
|
422
|
-
/**
|
|
423
|
-
*
|
|
424
|
-
* @type {string}
|
|
425
|
-
* @memberof AgentAutonomous
|
|
426
|
-
*/
|
|
427
161
|
'name'?: string | null;
|
|
428
|
-
/**
|
|
429
|
-
*
|
|
430
|
-
* @type {string}
|
|
431
|
-
* @memberof AgentAutonomous
|
|
432
|
-
*/
|
|
433
162
|
'description'?: string | null;
|
|
434
|
-
/**
|
|
435
|
-
*
|
|
436
|
-
* @type {number}
|
|
437
|
-
* @memberof AgentAutonomous
|
|
438
|
-
*/
|
|
439
163
|
'minutes'?: number | null;
|
|
440
|
-
/**
|
|
441
|
-
*
|
|
442
|
-
* @type {string}
|
|
443
|
-
* @memberof AgentAutonomous
|
|
444
|
-
*/
|
|
445
164
|
'cron'?: string | null;
|
|
446
165
|
/**
|
|
447
166
|
* Special prompt used during autonomous operation
|
|
448
|
-
* @type {string}
|
|
449
|
-
* @memberof AgentAutonomous
|
|
450
167
|
*/
|
|
451
168
|
'prompt': string;
|
|
452
|
-
/**
|
|
453
|
-
*
|
|
454
|
-
* @type {boolean}
|
|
455
|
-
* @memberof AgentAutonomous
|
|
456
|
-
*/
|
|
457
169
|
'enabled'?: boolean | null;
|
|
458
170
|
}
|
|
459
171
|
/**
|
|
460
172
|
* Agent create model.
|
|
461
|
-
* @export
|
|
462
|
-
* @interface AgentCreate
|
|
463
173
|
*/
|
|
464
174
|
export interface AgentCreate {
|
|
465
|
-
/**
|
|
466
|
-
*
|
|
467
|
-
* @type {string}
|
|
468
|
-
* @memberof AgentCreate
|
|
469
|
-
*/
|
|
470
175
|
'name': string | null;
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @type {string}
|
|
474
|
-
* @memberof AgentCreate
|
|
475
|
-
*/
|
|
476
176
|
'picture'?: string | null;
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @type {string}
|
|
480
|
-
* @memberof AgentCreate
|
|
481
|
-
*/
|
|
482
177
|
'purpose'?: string | null;
|
|
483
|
-
/**
|
|
484
|
-
*
|
|
485
|
-
* @type {string}
|
|
486
|
-
* @memberof AgentCreate
|
|
487
|
-
*/
|
|
488
178
|
'personality'?: string | null;
|
|
489
|
-
/**
|
|
490
|
-
*
|
|
491
|
-
* @type {string}
|
|
492
|
-
* @memberof AgentCreate
|
|
493
|
-
*/
|
|
494
179
|
'principles'?: string | null;
|
|
495
180
|
/**
|
|
496
181
|
* AI model identifier to be used by this agent for processing requests.
|
|
497
|
-
* @type {string}
|
|
498
|
-
* @memberof AgentCreate
|
|
499
182
|
*/
|
|
500
183
|
'model'?: string;
|
|
501
|
-
/**
|
|
502
|
-
*
|
|
503
|
-
* @type {string}
|
|
504
|
-
* @memberof AgentCreate
|
|
505
|
-
*/
|
|
506
184
|
'prompt'?: string | null;
|
|
507
|
-
/**
|
|
508
|
-
*
|
|
509
|
-
* @type {string}
|
|
510
|
-
* @memberof AgentCreate
|
|
511
|
-
*/
|
|
512
185
|
'prompt_append'?: string | null;
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @type {number}
|
|
516
|
-
* @memberof AgentCreate
|
|
517
|
-
*/
|
|
518
186
|
'temperature'?: number | null;
|
|
519
|
-
/**
|
|
520
|
-
*
|
|
521
|
-
* @type {number}
|
|
522
|
-
* @memberof AgentCreate
|
|
523
|
-
*/
|
|
524
187
|
'frequency_penalty'?: number | null;
|
|
525
|
-
/**
|
|
526
|
-
*
|
|
527
|
-
* @type {number}
|
|
528
|
-
* @memberof AgentCreate
|
|
529
|
-
*/
|
|
530
188
|
'presence_penalty'?: number | null;
|
|
531
|
-
/**
|
|
532
|
-
*
|
|
533
|
-
* @type {string}
|
|
534
|
-
* @memberof AgentCreate
|
|
535
|
-
*/
|
|
536
189
|
'wallet_provider'?: AgentCreateWalletProviderEnum | null;
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @type {string}
|
|
540
|
-
* @memberof AgentCreate
|
|
541
|
-
*/
|
|
542
190
|
'readonly_wallet_address'?: string | null;
|
|
543
|
-
/**
|
|
544
|
-
*
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @memberof AgentCreate
|
|
547
|
-
*/
|
|
548
191
|
'network_id'?: AgentCreateNetworkIdEnum | null;
|
|
549
|
-
/**
|
|
550
|
-
*
|
|
551
|
-
* @type {object}
|
|
552
|
-
* @memberof AgentCreate
|
|
553
|
-
*/
|
|
554
192
|
'skills'?: object | null;
|
|
555
|
-
/**
|
|
556
|
-
*
|
|
557
|
-
* @type {string}
|
|
558
|
-
* @memberof AgentCreate
|
|
559
|
-
*/
|
|
560
193
|
'short_term_memory_strategy'?: AgentCreateShortTermMemoryStrategyEnum | null;
|
|
561
|
-
/**
|
|
562
|
-
*
|
|
563
|
-
* @type {Array<AgentAutonomous>}
|
|
564
|
-
* @memberof AgentCreate
|
|
565
|
-
*/
|
|
566
194
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
567
|
-
/**
|
|
568
|
-
*
|
|
569
|
-
* @type {boolean}
|
|
570
|
-
* @memberof AgentCreate
|
|
571
|
-
*/
|
|
572
195
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
573
|
-
/**
|
|
574
|
-
*
|
|
575
|
-
* @type {string}
|
|
576
|
-
* @memberof AgentCreate
|
|
577
|
-
*/
|
|
578
196
|
'telegram_entrypoint_prompt'?: string | null;
|
|
579
|
-
/**
|
|
580
|
-
*
|
|
581
|
-
* @type {object}
|
|
582
|
-
* @memberof AgentCreate
|
|
583
|
-
*/
|
|
584
197
|
'telegram_config'?: object | null;
|
|
585
|
-
/**
|
|
586
|
-
*
|
|
587
|
-
* @type {string}
|
|
588
|
-
* @memberof AgentCreate
|
|
589
|
-
*/
|
|
590
198
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
591
|
-
/**
|
|
592
|
-
*
|
|
593
|
-
* @type {string}
|
|
594
|
-
* @memberof AgentCreate
|
|
595
|
-
*/
|
|
596
199
|
'upstream_id'?: string | null;
|
|
597
|
-
/**
|
|
598
|
-
*
|
|
599
|
-
* @type {object}
|
|
600
|
-
* @memberof AgentCreate
|
|
601
|
-
*/
|
|
602
200
|
'upstream_extra'?: object | null;
|
|
603
201
|
/**
|
|
604
202
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
605
|
-
* @type {string}
|
|
606
|
-
* @memberof AgentCreate
|
|
607
203
|
*/
|
|
608
204
|
'id'?: string;
|
|
609
|
-
/**
|
|
610
|
-
*
|
|
611
|
-
* @type {string}
|
|
612
|
-
* @memberof AgentCreate
|
|
613
|
-
*/
|
|
614
205
|
'owner'?: string | null;
|
|
615
206
|
}
|
|
616
207
|
export declare const AgentCreateWalletProviderEnum: {
|
|
@@ -640,207 +231,68 @@ export declare const AgentCreateShortTermMemoryStrategyEnum: {
|
|
|
640
231
|
export type AgentCreateShortTermMemoryStrategyEnum = typeof AgentCreateShortTermMemoryStrategyEnum[keyof typeof AgentCreateShortTermMemoryStrategyEnum];
|
|
641
232
|
/**
|
|
642
233
|
* Request model for agent deployment.
|
|
643
|
-
* @export
|
|
644
|
-
* @interface AgentDeployRequest
|
|
645
234
|
*/
|
|
646
235
|
export interface AgentDeployRequest {
|
|
647
236
|
/**
|
|
648
237
|
* Agent ID to deploy
|
|
649
|
-
* @type {string}
|
|
650
|
-
* @memberof AgentDeployRequest
|
|
651
238
|
*/
|
|
652
239
|
'agent_id': string;
|
|
653
240
|
/**
|
|
654
241
|
* Draft ID to deploy
|
|
655
|
-
* @type {string}
|
|
656
|
-
* @memberof AgentDeployRequest
|
|
657
242
|
*/
|
|
658
243
|
'draft_id': string;
|
|
659
244
|
/**
|
|
660
245
|
* Transaction ID for upstream tracking
|
|
661
|
-
* @type {string}
|
|
662
|
-
* @memberof AgentDeployRequest
|
|
663
246
|
*/
|
|
664
247
|
'tx_id': string;
|
|
665
248
|
}
|
|
666
249
|
/**
|
|
667
250
|
* Agent draft model.
|
|
668
|
-
* @export
|
|
669
|
-
* @interface AgentDraft
|
|
670
251
|
*/
|
|
671
252
|
export interface AgentDraft {
|
|
672
|
-
/**
|
|
673
|
-
*
|
|
674
|
-
* @type {string}
|
|
675
|
-
* @memberof AgentDraft
|
|
676
|
-
*/
|
|
677
253
|
'name': string | null;
|
|
678
|
-
/**
|
|
679
|
-
*
|
|
680
|
-
* @type {string}
|
|
681
|
-
* @memberof AgentDraft
|
|
682
|
-
*/
|
|
683
254
|
'picture'?: string | null;
|
|
684
|
-
/**
|
|
685
|
-
*
|
|
686
|
-
* @type {string}
|
|
687
|
-
* @memberof AgentDraft
|
|
688
|
-
*/
|
|
689
255
|
'purpose'?: string | null;
|
|
690
|
-
/**
|
|
691
|
-
*
|
|
692
|
-
* @type {string}
|
|
693
|
-
* @memberof AgentDraft
|
|
694
|
-
*/
|
|
695
256
|
'personality'?: string | null;
|
|
696
|
-
/**
|
|
697
|
-
*
|
|
698
|
-
* @type {string}
|
|
699
|
-
* @memberof AgentDraft
|
|
700
|
-
*/
|
|
701
257
|
'principles'?: string | null;
|
|
702
258
|
/**
|
|
703
259
|
* AI model identifier to be used by this agent for processing requests.
|
|
704
|
-
* @type {string}
|
|
705
|
-
* @memberof AgentDraft
|
|
706
260
|
*/
|
|
707
261
|
'model'?: string;
|
|
708
|
-
/**
|
|
709
|
-
*
|
|
710
|
-
* @type {string}
|
|
711
|
-
* @memberof AgentDraft
|
|
712
|
-
*/
|
|
713
262
|
'prompt'?: string | null;
|
|
714
|
-
/**
|
|
715
|
-
*
|
|
716
|
-
* @type {string}
|
|
717
|
-
* @memberof AgentDraft
|
|
718
|
-
*/
|
|
719
263
|
'prompt_append'?: string | null;
|
|
720
|
-
/**
|
|
721
|
-
*
|
|
722
|
-
* @type {number}
|
|
723
|
-
* @memberof AgentDraft
|
|
724
|
-
*/
|
|
725
264
|
'temperature'?: number | null;
|
|
726
|
-
/**
|
|
727
|
-
*
|
|
728
|
-
* @type {number}
|
|
729
|
-
* @memberof AgentDraft
|
|
730
|
-
*/
|
|
731
265
|
'frequency_penalty'?: number | null;
|
|
732
|
-
/**
|
|
733
|
-
*
|
|
734
|
-
* @type {number}
|
|
735
|
-
* @memberof AgentDraft
|
|
736
|
-
*/
|
|
737
266
|
'presence_penalty'?: number | null;
|
|
738
|
-
/**
|
|
739
|
-
*
|
|
740
|
-
* @type {string}
|
|
741
|
-
* @memberof AgentDraft
|
|
742
|
-
*/
|
|
743
267
|
'wallet_provider'?: AgentDraftWalletProviderEnum | null;
|
|
744
|
-
/**
|
|
745
|
-
*
|
|
746
|
-
* @type {string}
|
|
747
|
-
* @memberof AgentDraft
|
|
748
|
-
*/
|
|
749
268
|
'readonly_wallet_address'?: string | null;
|
|
750
|
-
/**
|
|
751
|
-
*
|
|
752
|
-
* @type {string}
|
|
753
|
-
* @memberof AgentDraft
|
|
754
|
-
*/
|
|
755
269
|
'network_id'?: AgentDraftNetworkIdEnum | null;
|
|
756
|
-
/**
|
|
757
|
-
*
|
|
758
|
-
* @type {object}
|
|
759
|
-
* @memberof AgentDraft
|
|
760
|
-
*/
|
|
761
270
|
'skills'?: object | null;
|
|
762
|
-
/**
|
|
763
|
-
*
|
|
764
|
-
* @type {string}
|
|
765
|
-
* @memberof AgentDraft
|
|
766
|
-
*/
|
|
767
271
|
'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
|
|
768
|
-
/**
|
|
769
|
-
*
|
|
770
|
-
* @type {Array<AgentAutonomous>}
|
|
771
|
-
* @memberof AgentDraft
|
|
772
|
-
*/
|
|
773
272
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
774
|
-
/**
|
|
775
|
-
*
|
|
776
|
-
* @type {boolean}
|
|
777
|
-
* @memberof AgentDraft
|
|
778
|
-
*/
|
|
779
273
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
780
|
-
/**
|
|
781
|
-
*
|
|
782
|
-
* @type {string}
|
|
783
|
-
* @memberof AgentDraft
|
|
784
|
-
*/
|
|
785
274
|
'telegram_entrypoint_prompt'?: string | null;
|
|
786
|
-
/**
|
|
787
|
-
*
|
|
788
|
-
* @type {object}
|
|
789
|
-
* @memberof AgentDraft
|
|
790
|
-
*/
|
|
791
275
|
'telegram_config'?: object | null;
|
|
792
|
-
/**
|
|
793
|
-
*
|
|
794
|
-
* @type {string}
|
|
795
|
-
* @memberof AgentDraft
|
|
796
|
-
*/
|
|
797
276
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
798
277
|
/**
|
|
799
278
|
* Unique identifier for the draft
|
|
800
|
-
* @type {string}
|
|
801
|
-
* @memberof AgentDraft
|
|
802
279
|
*/
|
|
803
280
|
'id'?: string;
|
|
804
281
|
/**
|
|
805
282
|
* Agent id
|
|
806
|
-
* @type {string}
|
|
807
|
-
* @memberof AgentDraft
|
|
808
283
|
*/
|
|
809
284
|
'agent_id'?: string;
|
|
810
|
-
/**
|
|
811
|
-
*
|
|
812
|
-
* @type {string}
|
|
813
|
-
* @memberof AgentDraft
|
|
814
|
-
*/
|
|
815
285
|
'owner'?: string | null;
|
|
816
|
-
/**
|
|
817
|
-
*
|
|
818
|
-
* @type {string}
|
|
819
|
-
* @memberof AgentDraft
|
|
820
|
-
*/
|
|
821
286
|
'version'?: string | null;
|
|
822
|
-
|
|
823
|
-
*
|
|
824
|
-
* @type {string}
|
|
825
|
-
* @memberof AgentDraft
|
|
826
|
-
*/
|
|
287
|
+
'project_id'?: string | null;
|
|
827
288
|
'last_draft_id'?: string | null;
|
|
828
|
-
/**
|
|
829
|
-
*
|
|
830
|
-
* @type {string}
|
|
831
|
-
* @memberof AgentDraft
|
|
832
|
-
*/
|
|
833
289
|
'deployed_at'?: string | null;
|
|
834
290
|
/**
|
|
835
291
|
* Timestamp when the agent was created, will ignore when importing
|
|
836
|
-
* @type {string}
|
|
837
|
-
* @memberof AgentDraft
|
|
838
292
|
*/
|
|
839
293
|
'created_at'?: string;
|
|
840
294
|
/**
|
|
841
295
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
842
|
-
* @type {string}
|
|
843
|
-
* @memberof AgentDraft
|
|
844
296
|
*/
|
|
845
297
|
'updated_at'?: string;
|
|
846
298
|
}
|
|
@@ -871,477 +323,165 @@ export declare const AgentDraftShortTermMemoryStrategyEnum: {
|
|
|
871
323
|
export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
|
|
872
324
|
/**
|
|
873
325
|
* Agent example configuration.
|
|
874
|
-
* @export
|
|
875
|
-
* @interface AgentExample
|
|
876
326
|
*/
|
|
877
327
|
export interface AgentExample {
|
|
878
328
|
/**
|
|
879
329
|
* Name of the example
|
|
880
|
-
* @type {string}
|
|
881
|
-
* @memberof AgentExample
|
|
882
330
|
*/
|
|
883
331
|
'name': string;
|
|
884
332
|
/**
|
|
885
333
|
* Description of the example
|
|
886
|
-
* @type {string}
|
|
887
|
-
* @memberof AgentExample
|
|
888
334
|
*/
|
|
889
335
|
'description': string;
|
|
890
336
|
/**
|
|
891
337
|
* Example prompt
|
|
892
|
-
* @type {string}
|
|
893
|
-
* @memberof AgentExample
|
|
894
338
|
*/
|
|
895
339
|
'prompt': string;
|
|
896
340
|
}
|
|
897
341
|
/**
|
|
898
342
|
* Request model for agent generation.
|
|
899
|
-
* @export
|
|
900
|
-
* @interface AgentGenerateRequest
|
|
901
343
|
*/
|
|
902
344
|
export interface AgentGenerateRequest {
|
|
903
345
|
/**
|
|
904
346
|
* Natural language description of the agent\'s desired capabilities
|
|
905
|
-
* @type {string}
|
|
906
|
-
* @memberof AgentGenerateRequest
|
|
907
347
|
*/
|
|
908
348
|
'prompt': string;
|
|
909
|
-
/**
|
|
910
|
-
*
|
|
911
|
-
* @type {AgentCreate}
|
|
912
|
-
* @memberof AgentGenerateRequest
|
|
913
|
-
*/
|
|
914
349
|
'existing_agent'?: AgentCreate | null;
|
|
915
|
-
/**
|
|
916
|
-
*
|
|
917
|
-
* @type {string}
|
|
918
|
-
* @memberof AgentGenerateRequest
|
|
919
|
-
*/
|
|
920
350
|
'project_id'?: string | null;
|
|
921
|
-
/**
|
|
922
|
-
*
|
|
923
|
-
* @type {boolean}
|
|
924
|
-
* @memberof AgentGenerateRequest
|
|
925
|
-
*/
|
|
926
351
|
'deploy'?: boolean | null;
|
|
927
352
|
}
|
|
928
353
|
/**
|
|
929
354
|
* Response model for agent generation.
|
|
930
|
-
* @export
|
|
931
|
-
* @interface AgentGenerateResponse
|
|
932
355
|
*/
|
|
933
356
|
export interface AgentGenerateResponse {
|
|
934
357
|
/**
|
|
935
358
|
* The generated agent schema
|
|
936
|
-
* @type {object}
|
|
937
|
-
* @memberof AgentGenerateResponse
|
|
938
359
|
*/
|
|
939
360
|
'agent': object;
|
|
940
361
|
/**
|
|
941
362
|
* Project ID for this conversation session
|
|
942
|
-
* @type {string}
|
|
943
|
-
* @memberof AgentGenerateResponse
|
|
944
363
|
*/
|
|
945
364
|
'project_id': string;
|
|
946
365
|
/**
|
|
947
366
|
* Human-readable summary of the generated agent
|
|
948
|
-
* @type {string}
|
|
949
|
-
* @memberof AgentGenerateResponse
|
|
950
367
|
*/
|
|
951
368
|
'summary': string;
|
|
952
369
|
/**
|
|
953
370
|
* Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
|
|
954
|
-
* @type {Array<{ [key: string]: number; }>}
|
|
955
|
-
* @memberof AgentGenerateResponse
|
|
956
371
|
*/
|
|
957
372
|
'tags'?: Array<{
|
|
958
373
|
[key: string]: number;
|
|
959
374
|
}>;
|
|
960
|
-
/**
|
|
961
|
-
*
|
|
962
|
-
* @type {Array<object>}
|
|
963
|
-
* @memberof AgentGenerateResponse
|
|
964
|
-
*/
|
|
965
375
|
'autonomous_tasks'?: Array<object> | null;
|
|
966
|
-
/**
|
|
967
|
-
*
|
|
968
|
-
* @type {Array<string>}
|
|
969
|
-
* @memberof AgentGenerateResponse
|
|
970
|
-
*/
|
|
971
376
|
'activated_skills'?: Array<string> | null;
|
|
972
377
|
}
|
|
973
378
|
/**
|
|
974
379
|
* Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
|
|
975
|
-
* @export
|
|
976
|
-
* @interface AgentListResponse
|
|
977
380
|
*/
|
|
978
381
|
export interface AgentListResponse {
|
|
979
382
|
/**
|
|
980
383
|
* List of agents
|
|
981
|
-
* @type {Array<AgentResponse>}
|
|
982
|
-
* @memberof AgentListResponse
|
|
983
384
|
*/
|
|
984
385
|
'data': Array<AgentResponse>;
|
|
985
386
|
/**
|
|
986
387
|
* Indicates if there are more items
|
|
987
|
-
* @type {boolean}
|
|
988
|
-
* @memberof AgentListResponse
|
|
989
388
|
*/
|
|
990
389
|
'has_more': boolean;
|
|
991
|
-
/**
|
|
992
|
-
*
|
|
993
|
-
* @type {string}
|
|
994
|
-
* @memberof AgentListResponse
|
|
995
|
-
*/
|
|
996
390
|
'next_cursor'?: string | null;
|
|
997
391
|
/**
|
|
998
392
|
* Total number of agents matching the query conditions
|
|
999
|
-
* @type {number}
|
|
1000
|
-
* @memberof AgentListResponse
|
|
1001
393
|
*/
|
|
1002
394
|
'total_count': number;
|
|
1003
395
|
}
|
|
1004
396
|
/**
|
|
1005
397
|
* Public information of the agent.
|
|
1006
|
-
* @export
|
|
1007
|
-
* @interface AgentPublicInfo
|
|
1008
398
|
*/
|
|
1009
399
|
export interface AgentPublicInfo {
|
|
1010
|
-
/**
|
|
1011
|
-
*
|
|
1012
|
-
* @type {string}
|
|
1013
|
-
* @memberof AgentPublicInfo
|
|
1014
|
-
*/
|
|
1015
400
|
'description'?: string | null;
|
|
1016
|
-
/**
|
|
1017
|
-
*
|
|
1018
|
-
* @type {string}
|
|
1019
|
-
* @memberof AgentPublicInfo
|
|
1020
|
-
*/
|
|
1021
401
|
'external_website'?: string | null;
|
|
1022
|
-
/**
|
|
1023
|
-
*
|
|
1024
|
-
* @type {string}
|
|
1025
|
-
* @memberof AgentPublicInfo
|
|
1026
|
-
*/
|
|
1027
402
|
'ticker'?: string | null;
|
|
1028
|
-
/**
|
|
1029
|
-
*
|
|
1030
|
-
* @type {string}
|
|
1031
|
-
* @memberof AgentPublicInfo
|
|
1032
|
-
*/
|
|
1033
403
|
'token_address'?: string | null;
|
|
1034
|
-
/**
|
|
1035
|
-
*
|
|
1036
|
-
* @type {string}
|
|
1037
|
-
* @memberof AgentPublicInfo
|
|
1038
|
-
*/
|
|
1039
404
|
'token_pool'?: string | null;
|
|
1040
|
-
/**
|
|
1041
|
-
*
|
|
1042
|
-
* @type {FeePercentage}
|
|
1043
|
-
* @memberof AgentPublicInfo
|
|
1044
|
-
*/
|
|
1045
405
|
'fee_percentage'?: FeePercentage | null;
|
|
1046
|
-
/**
|
|
1047
|
-
*
|
|
1048
|
-
* @type {string}
|
|
1049
|
-
* @memberof AgentPublicInfo
|
|
1050
|
-
*/
|
|
1051
406
|
'example_intro'?: string | null;
|
|
1052
|
-
/**
|
|
1053
|
-
*
|
|
1054
|
-
* @type {Array<AgentExample>}
|
|
1055
|
-
* @memberof AgentPublicInfo
|
|
1056
|
-
*/
|
|
1057
407
|
'examples'?: Array<AgentExample> | null;
|
|
1058
|
-
/**
|
|
1059
|
-
*
|
|
1060
|
-
* @type {object}
|
|
1061
|
-
* @memberof AgentPublicInfo
|
|
1062
|
-
*/
|
|
1063
408
|
'public_extra'?: object | null;
|
|
1064
409
|
}
|
|
1065
410
|
/**
|
|
1066
411
|
* Agent response model that excludes sensitive fields from JSON output and schema.
|
|
1067
|
-
* @export
|
|
1068
|
-
* @interface AgentResponse
|
|
1069
412
|
*/
|
|
1070
413
|
export interface AgentResponse {
|
|
1071
|
-
/**
|
|
1072
|
-
*
|
|
1073
|
-
* @type {string}
|
|
1074
|
-
* @memberof AgentResponse
|
|
1075
|
-
*/
|
|
1076
414
|
'description'?: string | null;
|
|
1077
|
-
/**
|
|
1078
|
-
*
|
|
1079
|
-
* @type {string}
|
|
1080
|
-
* @memberof AgentResponse
|
|
1081
|
-
*/
|
|
1082
415
|
'external_website'?: string | null;
|
|
1083
|
-
/**
|
|
1084
|
-
*
|
|
1085
|
-
* @type {string}
|
|
1086
|
-
* @memberof AgentResponse
|
|
1087
|
-
*/
|
|
1088
416
|
'ticker'?: string | null;
|
|
1089
|
-
/**
|
|
1090
|
-
*
|
|
1091
|
-
* @type {string}
|
|
1092
|
-
* @memberof AgentResponse
|
|
1093
|
-
*/
|
|
1094
417
|
'token_address'?: string | null;
|
|
1095
|
-
/**
|
|
1096
|
-
*
|
|
1097
|
-
* @type {string}
|
|
1098
|
-
* @memberof AgentResponse
|
|
1099
|
-
*/
|
|
1100
418
|
'token_pool'?: string | null;
|
|
1101
|
-
/**
|
|
1102
|
-
*
|
|
1103
|
-
* @type {string}
|
|
1104
|
-
* @memberof AgentResponse
|
|
1105
|
-
*/
|
|
1106
419
|
'fee_percentage'?: string | null;
|
|
1107
|
-
/**
|
|
1108
|
-
*
|
|
1109
|
-
* @type {string}
|
|
1110
|
-
* @memberof AgentResponse
|
|
1111
|
-
*/
|
|
1112
420
|
'example_intro'?: string | null;
|
|
1113
|
-
/**
|
|
1114
|
-
*
|
|
1115
|
-
* @type {Array<AgentExample>}
|
|
1116
|
-
* @memberof AgentResponse
|
|
1117
|
-
*/
|
|
1118
421
|
'examples'?: Array<AgentExample> | null;
|
|
1119
|
-
/**
|
|
1120
|
-
*
|
|
1121
|
-
* @type {object}
|
|
1122
|
-
* @memberof AgentResponse
|
|
1123
|
-
*/
|
|
1124
422
|
'public_extra'?: object | null;
|
|
1125
|
-
/**
|
|
1126
|
-
*
|
|
1127
|
-
* @type {string}
|
|
1128
|
-
* @memberof AgentResponse
|
|
1129
|
-
*/
|
|
1130
423
|
'name': string | null;
|
|
1131
|
-
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @type {string}
|
|
1134
|
-
* @memberof AgentResponse
|
|
1135
|
-
*/
|
|
1136
424
|
'picture'?: string | null;
|
|
1137
425
|
/**
|
|
1138
426
|
* AI model identifier to be used by this agent for processing requests.
|
|
1139
|
-
* @type {string}
|
|
1140
|
-
* @memberof AgentResponse
|
|
1141
427
|
*/
|
|
1142
428
|
'model'?: string;
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @type {number}
|
|
1146
|
-
* @memberof AgentResponse
|
|
1147
|
-
*/
|
|
1148
429
|
'presence_penalty'?: number | null;
|
|
1149
|
-
/**
|
|
1150
|
-
*
|
|
1151
|
-
* @type {string}
|
|
1152
|
-
* @memberof AgentResponse
|
|
1153
|
-
*/
|
|
1154
430
|
'wallet_provider'?: AgentResponseWalletProviderEnum | null;
|
|
1155
|
-
/**
|
|
1156
|
-
*
|
|
1157
|
-
* @type {string}
|
|
1158
|
-
* @memberof AgentResponse
|
|
1159
|
-
*/
|
|
1160
431
|
'readonly_wallet_address'?: string | null;
|
|
1161
|
-
/**
|
|
1162
|
-
*
|
|
1163
|
-
* @type {string}
|
|
1164
|
-
* @memberof AgentResponse
|
|
1165
|
-
*/
|
|
1166
432
|
'network_id'?: AgentResponseNetworkIdEnum | null;
|
|
1167
|
-
/**
|
|
1168
|
-
*
|
|
1169
|
-
* @type {object}
|
|
1170
|
-
* @memberof AgentResponse
|
|
1171
|
-
*/
|
|
1172
433
|
'skills'?: object | null;
|
|
1173
|
-
/**
|
|
1174
|
-
*
|
|
1175
|
-
* @type {string}
|
|
1176
|
-
* @memberof AgentResponse
|
|
1177
|
-
*/
|
|
1178
434
|
'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
|
|
1179
|
-
/**
|
|
1180
|
-
*
|
|
1181
|
-
* @type {Array<AgentAutonomous>}
|
|
1182
|
-
* @memberof AgentResponse
|
|
1183
|
-
*/
|
|
1184
435
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1185
|
-
/**
|
|
1186
|
-
*
|
|
1187
|
-
* @type {boolean}
|
|
1188
|
-
* @memberof AgentResponse
|
|
1189
|
-
*/
|
|
1190
436
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1191
|
-
/**
|
|
1192
|
-
*
|
|
1193
|
-
* @type {string}
|
|
1194
|
-
* @memberof AgentResponse
|
|
1195
|
-
*/
|
|
1196
437
|
'upstream_id'?: string | null;
|
|
1197
|
-
/**
|
|
1198
|
-
*
|
|
1199
|
-
* @type {object}
|
|
1200
|
-
* @memberof AgentResponse
|
|
1201
|
-
*/
|
|
1202
438
|
'upstream_extra'?: object | null;
|
|
1203
439
|
/**
|
|
1204
440
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
1205
|
-
* @type {string}
|
|
1206
|
-
* @memberof AgentResponse
|
|
1207
441
|
*/
|
|
1208
442
|
'id'?: string;
|
|
1209
|
-
/**
|
|
1210
|
-
*
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof AgentResponse
|
|
1213
|
-
*/
|
|
1214
443
|
'owner'?: string | null;
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @type {string}
|
|
1218
|
-
* @memberof AgentResponse
|
|
1219
|
-
*/
|
|
1220
444
|
'slug'?: string | null;
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {string}
|
|
1224
|
-
* @memberof AgentResponse
|
|
1225
|
-
*/
|
|
1226
445
|
'version'?: string | null;
|
|
1227
|
-
/**
|
|
1228
|
-
*
|
|
1229
|
-
* @type {object}
|
|
1230
|
-
* @memberof AgentResponse
|
|
1231
|
-
*/
|
|
1232
446
|
'statistics'?: object | null;
|
|
1233
|
-
/**
|
|
1234
|
-
*
|
|
1235
|
-
* @type {object}
|
|
1236
|
-
* @memberof AgentResponse
|
|
1237
|
-
*/
|
|
1238
447
|
'assets'?: object | null;
|
|
1239
|
-
/**
|
|
1240
|
-
*
|
|
1241
|
-
* @type {CreditAccount}
|
|
1242
|
-
* @memberof AgentResponse
|
|
1243
|
-
*/
|
|
1244
448
|
'account_snapshot'?: CreditAccount | null;
|
|
1245
|
-
/**
|
|
1246
|
-
*
|
|
1247
|
-
* @type {object}
|
|
1248
|
-
* @memberof AgentResponse
|
|
1249
|
-
*/
|
|
1250
449
|
'extra'?: object | null;
|
|
1251
|
-
/**
|
|
1252
|
-
*
|
|
1253
|
-
* @type {string}
|
|
1254
|
-
* @memberof AgentResponse
|
|
1255
|
-
*/
|
|
1256
450
|
'deployed_at'?: string | null;
|
|
1257
|
-
/**
|
|
1258
|
-
*
|
|
1259
|
-
* @type {string}
|
|
1260
|
-
* @memberof AgentResponse
|
|
1261
|
-
*/
|
|
1262
451
|
'public_info_updated_at'?: string | null;
|
|
1263
452
|
/**
|
|
1264
453
|
* Timestamp when the agent was created, will ignore when importing
|
|
1265
|
-
* @type {string}
|
|
1266
|
-
* @memberof AgentResponse
|
|
1267
454
|
*/
|
|
1268
455
|
'created_at'?: string;
|
|
1269
456
|
/**
|
|
1270
457
|
* Timestamp when the agent was last updated, will ignore when importing
|
|
1271
|
-
* @type {string}
|
|
1272
|
-
* @memberof AgentResponse
|
|
1273
458
|
*/
|
|
1274
459
|
'updated_at'?: string;
|
|
1275
|
-
/**
|
|
1276
|
-
*
|
|
1277
|
-
* @type {string}
|
|
1278
|
-
* @memberof AgentResponse
|
|
1279
|
-
*/
|
|
1280
460
|
'cdp_wallet_address'?: string | null;
|
|
1281
|
-
/**
|
|
1282
|
-
*
|
|
1283
|
-
* @type {string}
|
|
1284
|
-
* @memberof AgentResponse
|
|
1285
|
-
*/
|
|
1286
461
|
'evm_wallet_address'?: string | null;
|
|
1287
|
-
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @type {string}
|
|
1290
|
-
* @memberof AgentResponse
|
|
1291
|
-
*/
|
|
1292
462
|
'solana_wallet_address'?: string | null;
|
|
1293
463
|
/**
|
|
1294
464
|
* Whether the agent has Twitter linked
|
|
1295
|
-
* @type {boolean}
|
|
1296
|
-
* @memberof AgentResponse
|
|
1297
465
|
*/
|
|
1298
466
|
'has_twitter_linked'?: boolean;
|
|
1299
|
-
/**
|
|
1300
|
-
*
|
|
1301
|
-
* @type {string}
|
|
1302
|
-
* @memberof AgentResponse
|
|
1303
|
-
*/
|
|
1304
467
|
'linked_twitter_username'?: string | null;
|
|
1305
|
-
/**
|
|
1306
|
-
*
|
|
1307
|
-
* @type {string}
|
|
1308
|
-
* @memberof AgentResponse
|
|
1309
|
-
*/
|
|
1310
468
|
'linked_twitter_name'?: string | null;
|
|
1311
469
|
/**
|
|
1312
470
|
* Whether the agent has Twitter self key
|
|
1313
|
-
* @type {boolean}
|
|
1314
|
-
* @memberof AgentResponse
|
|
1315
471
|
*/
|
|
1316
472
|
'has_twitter_self_key'?: boolean;
|
|
1317
473
|
/**
|
|
1318
474
|
* Whether the agent has Telegram self key
|
|
1319
|
-
* @type {boolean}
|
|
1320
|
-
* @memberof AgentResponse
|
|
1321
475
|
*/
|
|
1322
476
|
'has_telegram_self_key'?: boolean;
|
|
1323
|
-
/**
|
|
1324
|
-
*
|
|
1325
|
-
* @type {string}
|
|
1326
|
-
* @memberof AgentResponse
|
|
1327
|
-
*/
|
|
1328
477
|
'linked_telegram_username'?: string | null;
|
|
1329
|
-
/**
|
|
1330
|
-
*
|
|
1331
|
-
* @type {string}
|
|
1332
|
-
* @memberof AgentResponse
|
|
1333
|
-
*/
|
|
1334
478
|
'linked_telegram_name'?: string | null;
|
|
1335
479
|
/**
|
|
1336
480
|
* Whether the agent accepts image input
|
|
1337
|
-
* @type {boolean}
|
|
1338
|
-
* @memberof AgentResponse
|
|
1339
481
|
*/
|
|
1340
482
|
'accept_image_input'?: boolean;
|
|
1341
483
|
/**
|
|
1342
484
|
* Whether the agent accepts image input in private mode
|
|
1343
|
-
* @type {boolean}
|
|
1344
|
-
* @memberof AgentResponse
|
|
1345
485
|
*/
|
|
1346
486
|
'accept_image_input_private'?: boolean;
|
|
1347
487
|
}
|
|
@@ -1372,8 +512,6 @@ export declare const AgentResponseShortTermMemoryStrategyEnum: {
|
|
|
1372
512
|
export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
|
|
1373
513
|
/**
|
|
1374
514
|
* Sort options for agents list.
|
|
1375
|
-
* @export
|
|
1376
|
-
* @enum {string}
|
|
1377
515
|
*/
|
|
1378
516
|
export declare const AgentSortOption: {
|
|
1379
517
|
readonly CreatedAtDesc: "created_at_desc";
|
|
@@ -1386,8 +524,6 @@ export declare const AgentSortOption: {
|
|
|
1386
524
|
export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOption];
|
|
1387
525
|
/**
|
|
1388
526
|
* Agent state.
|
|
1389
|
-
* @export
|
|
1390
|
-
* @enum {string}
|
|
1391
527
|
*/
|
|
1392
528
|
export declare const AgentState: {
|
|
1393
529
|
readonly Private: "private";
|
|
@@ -1397,244 +533,98 @@ export declare const AgentState: {
|
|
|
1397
533
|
export type AgentState = typeof AgentState[keyof typeof AgentState];
|
|
1398
534
|
/**
|
|
1399
535
|
* Aggregated statistics for an agent credit account.
|
|
1400
|
-
* @export
|
|
1401
|
-
* @interface AgentStatistics
|
|
1402
536
|
*/
|
|
1403
537
|
export interface AgentStatistics {
|
|
1404
538
|
/**
|
|
1405
539
|
* ID of the agent
|
|
1406
|
-
* @type {string}
|
|
1407
|
-
* @memberof AgentStatistics
|
|
1408
540
|
*/
|
|
1409
541
|
'agent_id': string;
|
|
1410
542
|
/**
|
|
1411
543
|
* ID of the associated credit account
|
|
1412
|
-
* @type {string}
|
|
1413
|
-
* @memberof AgentStatistics
|
|
1414
544
|
*/
|
|
1415
545
|
'account_id': string;
|
|
1416
546
|
/**
|
|
1417
547
|
* Current credit account balance
|
|
1418
|
-
* @type {string}
|
|
1419
|
-
* @memberof AgentStatistics
|
|
1420
548
|
*/
|
|
1421
549
|
'balance': string;
|
|
1422
550
|
/**
|
|
1423
551
|
* Total income across all events
|
|
1424
|
-
* @type {string}
|
|
1425
|
-
* @memberof AgentStatistics
|
|
1426
552
|
*/
|
|
1427
553
|
'total_income': string;
|
|
1428
554
|
/**
|
|
1429
555
|
* Net income from fee allocations
|
|
1430
|
-
* @type {string}
|
|
1431
|
-
* @memberof AgentStatistics
|
|
1432
556
|
*/
|
|
1433
557
|
'net_income': string;
|
|
1434
558
|
/**
|
|
1435
559
|
* Total permanent income across all events
|
|
1436
|
-
* @type {string}
|
|
1437
|
-
* @memberof AgentStatistics
|
|
1438
560
|
*/
|
|
1439
561
|
'permanent_income': string;
|
|
1440
562
|
/**
|
|
1441
563
|
* Permanent profit allocated to the agent
|
|
1442
|
-
* @type {string}
|
|
1443
|
-
* @memberof AgentStatistics
|
|
1444
564
|
*/
|
|
1445
565
|
'permanent_profit': string;
|
|
1446
566
|
/**
|
|
1447
567
|
* Income generated during the last 24 hours
|
|
1448
|
-
* @type {string}
|
|
1449
|
-
* @memberof AgentStatistics
|
|
1450
568
|
*/
|
|
1451
569
|
'last_24h_income': string;
|
|
1452
570
|
/**
|
|
1453
571
|
* Permanent income generated during the last 24 hours
|
|
1454
|
-
* @type {string}
|
|
1455
|
-
* @memberof AgentStatistics
|
|
1456
572
|
*/
|
|
1457
573
|
'last_24h_permanent_income': string;
|
|
1458
574
|
/**
|
|
1459
575
|
* Average action cost
|
|
1460
|
-
* @type {string}
|
|
1461
|
-
* @memberof AgentStatistics
|
|
1462
576
|
*/
|
|
1463
577
|
'avg_action_cost': string;
|
|
1464
578
|
/**
|
|
1465
579
|
* Minimum action cost
|
|
1466
|
-
* @type {string}
|
|
1467
|
-
* @memberof AgentStatistics
|
|
1468
580
|
*/
|
|
1469
581
|
'min_action_cost': string;
|
|
1470
582
|
/**
|
|
1471
583
|
* Maximum action cost
|
|
1472
|
-
* @type {string}
|
|
1473
|
-
* @memberof AgentStatistics
|
|
1474
584
|
*/
|
|
1475
585
|
'max_action_cost': string;
|
|
1476
586
|
/**
|
|
1477
587
|
* 20th percentile action cost
|
|
1478
|
-
* @type {string}
|
|
1479
|
-
* @memberof AgentStatistics
|
|
1480
588
|
*/
|
|
1481
589
|
'low_action_cost': string;
|
|
1482
590
|
/**
|
|
1483
591
|
* 60th percentile action cost
|
|
1484
|
-
* @type {string}
|
|
1485
|
-
* @memberof AgentStatistics
|
|
1486
592
|
*/
|
|
1487
593
|
'medium_action_cost': string;
|
|
1488
594
|
/**
|
|
1489
595
|
* 80th percentile action cost
|
|
1490
|
-
* @type {string}
|
|
1491
|
-
* @memberof AgentStatistics
|
|
1492
596
|
*/
|
|
1493
597
|
'high_action_cost': string;
|
|
1494
598
|
}
|
|
1495
599
|
/**
|
|
1496
600
|
* Agent update model.
|
|
1497
|
-
* @export
|
|
1498
|
-
* @interface AgentUpdate
|
|
1499
601
|
*/
|
|
1500
602
|
export interface AgentUpdate {
|
|
1501
|
-
/**
|
|
1502
|
-
*
|
|
1503
|
-
* @type {string}
|
|
1504
|
-
* @memberof AgentUpdate
|
|
1505
|
-
*/
|
|
1506
603
|
'name': string | null;
|
|
1507
|
-
/**
|
|
1508
|
-
*
|
|
1509
|
-
* @type {string}
|
|
1510
|
-
* @memberof AgentUpdate
|
|
1511
|
-
*/
|
|
1512
604
|
'picture'?: string | null;
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @type {string}
|
|
1516
|
-
* @memberof AgentUpdate
|
|
1517
|
-
*/
|
|
1518
605
|
'purpose'?: string | null;
|
|
1519
|
-
/**
|
|
1520
|
-
*
|
|
1521
|
-
* @type {string}
|
|
1522
|
-
* @memberof AgentUpdate
|
|
1523
|
-
*/
|
|
1524
606
|
'personality'?: string | null;
|
|
1525
|
-
/**
|
|
1526
|
-
*
|
|
1527
|
-
* @type {string}
|
|
1528
|
-
* @memberof AgentUpdate
|
|
1529
|
-
*/
|
|
1530
607
|
'principles'?: string | null;
|
|
1531
608
|
/**
|
|
1532
609
|
* AI model identifier to be used by this agent for processing requests.
|
|
1533
|
-
* @type {string}
|
|
1534
|
-
* @memberof AgentUpdate
|
|
1535
610
|
*/
|
|
1536
611
|
'model'?: string;
|
|
1537
|
-
/**
|
|
1538
|
-
*
|
|
1539
|
-
* @type {string}
|
|
1540
|
-
* @memberof AgentUpdate
|
|
1541
|
-
*/
|
|
1542
612
|
'prompt'?: string | null;
|
|
1543
|
-
/**
|
|
1544
|
-
*
|
|
1545
|
-
* @type {string}
|
|
1546
|
-
* @memberof AgentUpdate
|
|
1547
|
-
*/
|
|
1548
613
|
'prompt_append'?: string | null;
|
|
1549
|
-
/**
|
|
1550
|
-
*
|
|
1551
|
-
* @type {number}
|
|
1552
|
-
* @memberof AgentUpdate
|
|
1553
|
-
*/
|
|
1554
614
|
'temperature'?: number | null;
|
|
1555
|
-
/**
|
|
1556
|
-
*
|
|
1557
|
-
* @type {number}
|
|
1558
|
-
* @memberof AgentUpdate
|
|
1559
|
-
*/
|
|
1560
615
|
'frequency_penalty'?: number | null;
|
|
1561
|
-
/**
|
|
1562
|
-
*
|
|
1563
|
-
* @type {number}
|
|
1564
|
-
* @memberof AgentUpdate
|
|
1565
|
-
*/
|
|
1566
616
|
'presence_penalty'?: number | null;
|
|
1567
|
-
/**
|
|
1568
|
-
*
|
|
1569
|
-
* @type {string}
|
|
1570
|
-
* @memberof AgentUpdate
|
|
1571
|
-
*/
|
|
1572
617
|
'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
|
|
1573
|
-
/**
|
|
1574
|
-
*
|
|
1575
|
-
* @type {string}
|
|
1576
|
-
* @memberof AgentUpdate
|
|
1577
|
-
*/
|
|
1578
618
|
'readonly_wallet_address'?: string | null;
|
|
1579
|
-
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @type {string}
|
|
1582
|
-
* @memberof AgentUpdate
|
|
1583
|
-
*/
|
|
1584
619
|
'network_id'?: AgentUpdateNetworkIdEnum | null;
|
|
1585
|
-
/**
|
|
1586
|
-
*
|
|
1587
|
-
* @type {object}
|
|
1588
|
-
* @memberof AgentUpdate
|
|
1589
|
-
*/
|
|
1590
620
|
'skills'?: object | null;
|
|
1591
|
-
/**
|
|
1592
|
-
*
|
|
1593
|
-
* @type {string}
|
|
1594
|
-
* @memberof AgentUpdate
|
|
1595
|
-
*/
|
|
1596
621
|
'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
|
|
1597
|
-
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @type {Array<AgentAutonomous>}
|
|
1600
|
-
* @memberof AgentUpdate
|
|
1601
|
-
*/
|
|
1602
622
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1603
|
-
/**
|
|
1604
|
-
*
|
|
1605
|
-
* @type {boolean}
|
|
1606
|
-
* @memberof AgentUpdate
|
|
1607
|
-
*/
|
|
1608
623
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1609
|
-
/**
|
|
1610
|
-
*
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof AgentUpdate
|
|
1613
|
-
*/
|
|
1614
624
|
'telegram_entrypoint_prompt'?: string | null;
|
|
1615
|
-
/**
|
|
1616
|
-
*
|
|
1617
|
-
* @type {object}
|
|
1618
|
-
* @memberof AgentUpdate
|
|
1619
|
-
*/
|
|
1620
625
|
'telegram_config'?: object | null;
|
|
1621
|
-
/**
|
|
1622
|
-
*
|
|
1623
|
-
* @type {string}
|
|
1624
|
-
* @memberof AgentUpdate
|
|
1625
|
-
*/
|
|
1626
626
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
1627
|
-
/**
|
|
1628
|
-
*
|
|
1629
|
-
* @type {string}
|
|
1630
|
-
* @memberof AgentUpdate
|
|
1631
|
-
*/
|
|
1632
627
|
'upstream_id'?: string | null;
|
|
1633
|
-
/**
|
|
1634
|
-
*
|
|
1635
|
-
* @type {object}
|
|
1636
|
-
* @memberof AgentUpdate
|
|
1637
|
-
*/
|
|
1638
628
|
'upstream_extra'?: object | null;
|
|
1639
629
|
}
|
|
1640
630
|
export declare const AgentUpdateWalletProviderEnum: {
|
|
@@ -1664,135 +654,31 @@ export declare const AgentUpdateShortTermMemoryStrategyEnum: {
|
|
|
1664
654
|
export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
|
|
1665
655
|
/**
|
|
1666
656
|
* Agent update model.
|
|
1667
|
-
* @export
|
|
1668
|
-
* @interface AgentUserInput
|
|
1669
657
|
*/
|
|
1670
658
|
export interface AgentUserInput {
|
|
1671
|
-
/**
|
|
1672
|
-
*
|
|
1673
|
-
* @type {string}
|
|
1674
|
-
* @memberof AgentUserInput
|
|
1675
|
-
*/
|
|
1676
659
|
'name': string | null;
|
|
1677
|
-
/**
|
|
1678
|
-
*
|
|
1679
|
-
* @type {string}
|
|
1680
|
-
* @memberof AgentUserInput
|
|
1681
|
-
*/
|
|
1682
660
|
'picture'?: string | null;
|
|
1683
|
-
/**
|
|
1684
|
-
*
|
|
1685
|
-
* @type {string}
|
|
1686
|
-
* @memberof AgentUserInput
|
|
1687
|
-
*/
|
|
1688
661
|
'purpose'?: string | null;
|
|
1689
|
-
/**
|
|
1690
|
-
*
|
|
1691
|
-
* @type {string}
|
|
1692
|
-
* @memberof AgentUserInput
|
|
1693
|
-
*/
|
|
1694
662
|
'personality'?: string | null;
|
|
1695
|
-
/**
|
|
1696
|
-
*
|
|
1697
|
-
* @type {string}
|
|
1698
|
-
* @memberof AgentUserInput
|
|
1699
|
-
*/
|
|
1700
663
|
'principles'?: string | null;
|
|
1701
664
|
/**
|
|
1702
665
|
* AI model identifier to be used by this agent for processing requests.
|
|
1703
|
-
* @type {string}
|
|
1704
|
-
* @memberof AgentUserInput
|
|
1705
666
|
*/
|
|
1706
667
|
'model'?: string;
|
|
1707
|
-
/**
|
|
1708
|
-
*
|
|
1709
|
-
* @type {string}
|
|
1710
|
-
* @memberof AgentUserInput
|
|
1711
|
-
*/
|
|
1712
668
|
'prompt'?: string | null;
|
|
1713
|
-
/**
|
|
1714
|
-
*
|
|
1715
|
-
* @type {string}
|
|
1716
|
-
* @memberof AgentUserInput
|
|
1717
|
-
*/
|
|
1718
669
|
'prompt_append'?: string | null;
|
|
1719
|
-
/**
|
|
1720
|
-
*
|
|
1721
|
-
* @type {number}
|
|
1722
|
-
* @memberof AgentUserInput
|
|
1723
|
-
*/
|
|
1724
670
|
'temperature'?: number | null;
|
|
1725
|
-
/**
|
|
1726
|
-
*
|
|
1727
|
-
* @type {number}
|
|
1728
|
-
* @memberof AgentUserInput
|
|
1729
|
-
*/
|
|
1730
671
|
'frequency_penalty'?: number | null;
|
|
1731
|
-
/**
|
|
1732
|
-
*
|
|
1733
|
-
* @type {number}
|
|
1734
|
-
* @memberof AgentUserInput
|
|
1735
|
-
*/
|
|
1736
672
|
'presence_penalty'?: number | null;
|
|
1737
|
-
/**
|
|
1738
|
-
*
|
|
1739
|
-
* @type {string}
|
|
1740
|
-
* @memberof AgentUserInput
|
|
1741
|
-
*/
|
|
1742
673
|
'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
|
|
1743
|
-
/**
|
|
1744
|
-
*
|
|
1745
|
-
* @type {string}
|
|
1746
|
-
* @memberof AgentUserInput
|
|
1747
|
-
*/
|
|
1748
674
|
'readonly_wallet_address'?: string | null;
|
|
1749
|
-
/**
|
|
1750
|
-
*
|
|
1751
|
-
* @type {string}
|
|
1752
|
-
* @memberof AgentUserInput
|
|
1753
|
-
*/
|
|
1754
675
|
'network_id'?: AgentUserInputNetworkIdEnum | null;
|
|
1755
|
-
/**
|
|
1756
|
-
*
|
|
1757
|
-
* @type {object}
|
|
1758
|
-
* @memberof AgentUserInput
|
|
1759
|
-
*/
|
|
1760
676
|
'skills'?: object | null;
|
|
1761
|
-
/**
|
|
1762
|
-
*
|
|
1763
|
-
* @type {string}
|
|
1764
|
-
* @memberof AgentUserInput
|
|
1765
|
-
*/
|
|
1766
677
|
'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
|
|
1767
|
-
/**
|
|
1768
|
-
*
|
|
1769
|
-
* @type {Array<AgentAutonomous>}
|
|
1770
|
-
* @memberof AgentUserInput
|
|
1771
|
-
*/
|
|
1772
678
|
'autonomous'?: Array<AgentAutonomous> | null;
|
|
1773
|
-
/**
|
|
1774
|
-
*
|
|
1775
|
-
* @type {boolean}
|
|
1776
|
-
* @memberof AgentUserInput
|
|
1777
|
-
*/
|
|
1778
679
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
1779
|
-
/**
|
|
1780
|
-
*
|
|
1781
|
-
* @type {string}
|
|
1782
|
-
* @memberof AgentUserInput
|
|
1783
|
-
*/
|
|
1784
680
|
'telegram_entrypoint_prompt'?: string | null;
|
|
1785
|
-
/**
|
|
1786
|
-
*
|
|
1787
|
-
* @type {object}
|
|
1788
|
-
* @memberof AgentUserInput
|
|
1789
|
-
*/
|
|
1790
681
|
'telegram_config'?: object | null;
|
|
1791
|
-
/**
|
|
1792
|
-
*
|
|
1793
|
-
* @type {string}
|
|
1794
|
-
* @memberof AgentUserInput
|
|
1795
|
-
*/
|
|
1796
682
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
1797
683
|
}
|
|
1798
684
|
export declare const AgentUserInputWalletProviderEnum: {
|
|
@@ -1820,29 +706,36 @@ export declare const AgentUserInputShortTermMemoryStrategyEnum: {
|
|
|
1820
706
|
readonly Summarize: "summarize";
|
|
1821
707
|
};
|
|
1822
708
|
export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
|
|
709
|
+
/**
|
|
710
|
+
* Token amount in raw units
|
|
711
|
+
*/
|
|
712
|
+
export interface Amount {
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Model for individual asset with symbol and balance.
|
|
716
|
+
*/
|
|
717
|
+
export interface AssetInput {
|
|
718
|
+
/**
|
|
719
|
+
* Asset symbol (e.g., ETH, USDC, NATION)
|
|
720
|
+
*/
|
|
721
|
+
'symbol': string;
|
|
722
|
+
'balance': Balance;
|
|
723
|
+
}
|
|
1823
724
|
/**
|
|
1824
725
|
* Model for individual asset with symbol and balance.
|
|
1825
|
-
* @export
|
|
1826
|
-
* @interface Asset
|
|
1827
726
|
*/
|
|
1828
|
-
export interface
|
|
727
|
+
export interface AssetOutput {
|
|
1829
728
|
/**
|
|
1830
729
|
* Asset symbol (e.g., ETH, USDC, NATION)
|
|
1831
|
-
* @type {string}
|
|
1832
|
-
* @memberof Asset
|
|
1833
730
|
*/
|
|
1834
731
|
'symbol': string;
|
|
1835
732
|
/**
|
|
1836
733
|
* Asset balance as decimal
|
|
1837
|
-
* @type {string}
|
|
1838
|
-
* @memberof Asset
|
|
1839
734
|
*/
|
|
1840
735
|
'balance': string;
|
|
1841
736
|
}
|
|
1842
737
|
/**
|
|
1843
738
|
* Type of message author.
|
|
1844
|
-
* @export
|
|
1845
|
-
* @enum {string}
|
|
1846
739
|
*/
|
|
1847
740
|
export declare const AuthorType: {
|
|
1848
741
|
readonly Agent: "agent";
|
|
@@ -1856,229 +749,168 @@ export declare const AuthorType: {
|
|
|
1856
749
|
readonly Xmtp: "xmtp";
|
|
1857
750
|
};
|
|
1858
751
|
export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
|
|
752
|
+
/**
|
|
753
|
+
* Asset balance as decimal
|
|
754
|
+
*/
|
|
755
|
+
export interface Balance {
|
|
756
|
+
}
|
|
757
|
+
/**
|
|
758
|
+
* Account total balance after the transaction
|
|
759
|
+
*/
|
|
760
|
+
export interface BalanceAfter {
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Base amount of credits involved
|
|
764
|
+
*/
|
|
765
|
+
export interface BaseAmount {
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Base discount amount
|
|
769
|
+
*/
|
|
770
|
+
export interface BaseDiscountAmount {
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Base free credit amount
|
|
774
|
+
*/
|
|
775
|
+
export interface BaseFreeAmount {
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Base LLM cost amount
|
|
779
|
+
*/
|
|
780
|
+
export interface BaseLlmAmount {
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
* Base original amount
|
|
784
|
+
*/
|
|
785
|
+
export interface BaseOriginalAmount {
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
* Base permanent credit amount
|
|
789
|
+
*/
|
|
790
|
+
export interface BasePermanentAmount {
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* Base reward credit amount
|
|
794
|
+
*/
|
|
795
|
+
export interface BaseRewardAmount {
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Base skill cost amount
|
|
799
|
+
*/
|
|
800
|
+
export interface BaseSkillAmount {
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* Amount of credits changed
|
|
804
|
+
*/
|
|
805
|
+
export interface ChangeAmount {
|
|
806
|
+
}
|
|
1859
807
|
/**
|
|
1860
808
|
* Chat model with all fields including server-generated ones.
|
|
1861
|
-
* @export
|
|
1862
|
-
* @interface Chat
|
|
1863
809
|
*/
|
|
1864
810
|
export interface Chat {
|
|
1865
811
|
/**
|
|
1866
812
|
* Unique identifier for the chat
|
|
1867
|
-
* @type {string}
|
|
1868
|
-
* @memberof Chat
|
|
1869
813
|
*/
|
|
1870
814
|
'id'?: string;
|
|
1871
815
|
/**
|
|
1872
816
|
* ID of the agent this chat belongs to
|
|
1873
|
-
* @type {string}
|
|
1874
|
-
* @memberof Chat
|
|
1875
817
|
*/
|
|
1876
818
|
'agent_id': string;
|
|
1877
819
|
/**
|
|
1878
820
|
* User ID of the chat
|
|
1879
|
-
* @type {string}
|
|
1880
|
-
* @memberof Chat
|
|
1881
821
|
*/
|
|
1882
822
|
'user_id': string;
|
|
1883
823
|
/**
|
|
1884
824
|
* Summary of the chat
|
|
1885
|
-
* @type {string}
|
|
1886
|
-
* @memberof Chat
|
|
1887
825
|
*/
|
|
1888
826
|
'summary'?: string;
|
|
1889
827
|
/**
|
|
1890
828
|
* Number of rounds in the chat
|
|
1891
|
-
* @type {number}
|
|
1892
|
-
* @memberof Chat
|
|
1893
829
|
*/
|
|
1894
830
|
'rounds'?: number;
|
|
1895
831
|
/**
|
|
1896
832
|
* Timestamp when this chat was created
|
|
1897
|
-
* @type {string}
|
|
1898
|
-
* @memberof Chat
|
|
1899
833
|
*/
|
|
1900
834
|
'created_at': string;
|
|
1901
835
|
/**
|
|
1902
836
|
* Timestamp when this chat was updated
|
|
1903
|
-
* @type {string}
|
|
1904
|
-
* @memberof Chat
|
|
1905
837
|
*/
|
|
1906
838
|
'updated_at': string;
|
|
1907
839
|
}
|
|
1908
840
|
/**
|
|
1909
841
|
* Chat message model with all fields including server-generated ones.
|
|
1910
|
-
* @export
|
|
1911
|
-
* @interface ChatMessage
|
|
1912
842
|
*/
|
|
1913
843
|
export interface ChatMessage {
|
|
1914
844
|
/**
|
|
1915
845
|
* Unique identifier for the chat message
|
|
1916
|
-
* @type {string}
|
|
1917
|
-
* @memberof ChatMessage
|
|
1918
846
|
*/
|
|
1919
847
|
'id'?: string;
|
|
1920
848
|
/**
|
|
1921
849
|
* ID of the agent this message belongs to
|
|
1922
|
-
* @type {string}
|
|
1923
|
-
* @memberof ChatMessage
|
|
1924
850
|
*/
|
|
1925
851
|
'agent_id': string;
|
|
1926
852
|
/**
|
|
1927
853
|
* ID of the chat this message belongs to
|
|
1928
|
-
* @type {string}
|
|
1929
|
-
* @memberof ChatMessage
|
|
1930
854
|
*/
|
|
1931
855
|
'chat_id': string;
|
|
1932
|
-
/**
|
|
1933
|
-
*
|
|
1934
|
-
* @type {string}
|
|
1935
|
-
* @memberof ChatMessage
|
|
1936
|
-
*/
|
|
1937
856
|
'user_id': string | null;
|
|
1938
857
|
/**
|
|
1939
858
|
* ID of the message author
|
|
1940
|
-
* @type {string}
|
|
1941
|
-
* @memberof ChatMessage
|
|
1942
859
|
*/
|
|
1943
860
|
'author_id': string;
|
|
1944
861
|
/**
|
|
1945
862
|
* Type of the message author
|
|
1946
|
-
* @type {AuthorType}
|
|
1947
|
-
* @memberof ChatMessage
|
|
1948
863
|
*/
|
|
1949
864
|
'author_type': AuthorType;
|
|
1950
|
-
/**
|
|
1951
|
-
*
|
|
1952
|
-
* @type {string}
|
|
1953
|
-
* @memberof ChatMessage
|
|
1954
|
-
*/
|
|
1955
865
|
'model'?: string | null;
|
|
1956
|
-
/**
|
|
1957
|
-
*
|
|
1958
|
-
* @type {AuthorType}
|
|
1959
|
-
* @memberof ChatMessage
|
|
1960
|
-
*/
|
|
1961
866
|
'thread_type'?: AuthorType | null;
|
|
1962
|
-
/**
|
|
1963
|
-
*
|
|
1964
|
-
* @type {string}
|
|
1965
|
-
* @memberof ChatMessage
|
|
1966
|
-
*/
|
|
1967
867
|
'reply_to'?: string | null;
|
|
1968
868
|
/**
|
|
1969
869
|
* Content of the message
|
|
1970
|
-
* @type {string}
|
|
1971
|
-
* @memberof ChatMessage
|
|
1972
870
|
*/
|
|
1973
871
|
'message': string;
|
|
1974
|
-
/**
|
|
1975
|
-
*
|
|
1976
|
-
* @type {Array<ChatMessageAttachment>}
|
|
1977
|
-
* @memberof ChatMessage
|
|
1978
|
-
*/
|
|
1979
872
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
1980
|
-
/**
|
|
1981
|
-
*
|
|
1982
|
-
* @type {Array<ChatMessageSkillCall>}
|
|
1983
|
-
* @memberof ChatMessage
|
|
1984
|
-
*/
|
|
1985
873
|
'skill_calls'?: Array<ChatMessageSkillCall> | null;
|
|
1986
874
|
/**
|
|
1987
875
|
* Number of tokens in the input message
|
|
1988
|
-
* @type {number}
|
|
1989
|
-
* @memberof ChatMessage
|
|
1990
876
|
*/
|
|
1991
877
|
'input_tokens'?: number;
|
|
1992
878
|
/**
|
|
1993
879
|
* Number of tokens in the output message
|
|
1994
|
-
* @type {number}
|
|
1995
|
-
* @memberof ChatMessage
|
|
1996
880
|
*/
|
|
1997
881
|
'output_tokens'?: number;
|
|
1998
882
|
/**
|
|
1999
883
|
* Time cost for the message in seconds
|
|
2000
|
-
* @type {number}
|
|
2001
|
-
* @memberof ChatMessage
|
|
2002
884
|
*/
|
|
2003
885
|
'time_cost'?: number;
|
|
2004
|
-
/**
|
|
2005
|
-
*
|
|
2006
|
-
* @type {string}
|
|
2007
|
-
* @memberof ChatMessage
|
|
2008
|
-
*/
|
|
2009
886
|
'credit_event_id'?: string | null;
|
|
2010
|
-
/**
|
|
2011
|
-
*
|
|
2012
|
-
* @type {string}
|
|
2013
|
-
* @memberof ChatMessage
|
|
2014
|
-
*/
|
|
2015
887
|
'credit_cost'?: string | null;
|
|
2016
888
|
/**
|
|
2017
889
|
* Cost for the cold start of the message in seconds
|
|
2018
|
-
* @type {number}
|
|
2019
|
-
* @memberof ChatMessage
|
|
2020
890
|
*/
|
|
2021
891
|
'cold_start_cost'?: number;
|
|
2022
|
-
/**
|
|
2023
|
-
*
|
|
2024
|
-
* @type {string}
|
|
2025
|
-
* @memberof ChatMessage
|
|
2026
|
-
*/
|
|
2027
892
|
'app_id'?: string | null;
|
|
2028
|
-
/**
|
|
2029
|
-
*
|
|
2030
|
-
* @type {boolean}
|
|
2031
|
-
* @memberof ChatMessage
|
|
2032
|
-
*/
|
|
2033
893
|
'search_mode'?: boolean | null;
|
|
2034
|
-
/**
|
|
2035
|
-
*
|
|
2036
|
-
* @type {boolean}
|
|
2037
|
-
* @memberof ChatMessage
|
|
2038
|
-
*/
|
|
2039
894
|
'super_mode'?: boolean | null;
|
|
2040
|
-
/**
|
|
2041
|
-
*
|
|
2042
|
-
* @type {SystemMessageType}
|
|
2043
|
-
* @memberof ChatMessage
|
|
2044
|
-
*/
|
|
2045
895
|
'error_type'?: SystemMessageType | null;
|
|
2046
896
|
/**
|
|
2047
897
|
* Timestamp when this message was created
|
|
2048
|
-
* @type {string}
|
|
2049
|
-
* @memberof ChatMessage
|
|
2050
898
|
*/
|
|
2051
899
|
'created_at': string;
|
|
2052
900
|
}
|
|
2053
901
|
/**
|
|
2054
902
|
* Chat message attachment model. An attachment can be a link, image, or file that is associated with a chat message.
|
|
2055
|
-
* @export
|
|
2056
|
-
* @interface ChatMessageAttachment
|
|
2057
903
|
*/
|
|
2058
904
|
export interface ChatMessageAttachment {
|
|
2059
905
|
/**
|
|
2060
906
|
* Type of the attachment (link, image, or file)
|
|
2061
|
-
* @type {ChatMessageAttachmentType}
|
|
2062
|
-
* @memberof ChatMessageAttachment
|
|
2063
907
|
*/
|
|
2064
908
|
'type': ChatMessageAttachmentType;
|
|
2065
|
-
/**
|
|
2066
|
-
*
|
|
2067
|
-
* @type {string}
|
|
2068
|
-
* @memberof ChatMessageAttachment
|
|
2069
|
-
*/
|
|
2070
909
|
'url': string | null;
|
|
2071
|
-
/**
|
|
2072
|
-
*
|
|
2073
|
-
* @type {object}
|
|
2074
|
-
* @memberof ChatMessageAttachment
|
|
2075
|
-
*/
|
|
2076
910
|
'json'?: object | null;
|
|
2077
911
|
}
|
|
2078
912
|
/**
|
|
2079
913
|
* Type of chat message attachment.
|
|
2080
|
-
* @export
|
|
2081
|
-
* @enum {string}
|
|
2082
914
|
*/
|
|
2083
915
|
export declare const ChatMessageAttachmentType: {
|
|
2084
916
|
readonly Link: "link";
|
|
@@ -2089,277 +921,135 @@ export declare const ChatMessageAttachmentType: {
|
|
|
2089
921
|
export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof typeof ChatMessageAttachmentType];
|
|
2090
922
|
/**
|
|
2091
923
|
* 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.
|
|
2092
|
-
* @export
|
|
2093
|
-
* @interface ChatMessageRequest
|
|
2094
924
|
*/
|
|
2095
925
|
export interface ChatMessageRequest {
|
|
2096
|
-
/**
|
|
2097
|
-
*
|
|
2098
|
-
* @type {string}
|
|
2099
|
-
* @memberof ChatMessageRequest
|
|
2100
|
-
*/
|
|
2101
926
|
'app_id'?: string | null;
|
|
2102
927
|
/**
|
|
2103
928
|
* Content of the message
|
|
2104
|
-
* @type {string}
|
|
2105
|
-
* @memberof ChatMessageRequest
|
|
2106
929
|
*/
|
|
2107
930
|
'message': string;
|
|
2108
|
-
/**
|
|
2109
|
-
*
|
|
2110
|
-
* @type {boolean}
|
|
2111
|
-
* @memberof ChatMessageRequest
|
|
2112
|
-
*/
|
|
2113
931
|
'stream'?: boolean | null;
|
|
2114
|
-
/**
|
|
2115
|
-
*
|
|
2116
|
-
* @type {boolean}
|
|
2117
|
-
* @memberof ChatMessageRequest
|
|
2118
|
-
*/
|
|
2119
932
|
'search_mode'?: boolean | null;
|
|
2120
|
-
/**
|
|
2121
|
-
*
|
|
2122
|
-
* @type {boolean}
|
|
2123
|
-
* @memberof ChatMessageRequest
|
|
2124
|
-
*/
|
|
2125
933
|
'super_mode'?: boolean | null;
|
|
2126
|
-
/**
|
|
2127
|
-
*
|
|
2128
|
-
* @type {Array<ChatMessageAttachment>}
|
|
2129
|
-
* @memberof ChatMessageRequest
|
|
2130
|
-
*/
|
|
2131
934
|
'attachments'?: Array<ChatMessageAttachment> | null;
|
|
2132
935
|
}
|
|
2133
936
|
/**
|
|
2134
937
|
* TypedDict for skill call details.
|
|
2135
|
-
* @export
|
|
2136
|
-
* @interface ChatMessageSkillCall
|
|
2137
938
|
*/
|
|
2138
939
|
export interface ChatMessageSkillCall {
|
|
2139
|
-
/**
|
|
2140
|
-
*
|
|
2141
|
-
* @type {string}
|
|
2142
|
-
* @memberof ChatMessageSkillCall
|
|
2143
|
-
*/
|
|
2144
940
|
'id'?: string;
|
|
2145
|
-
/**
|
|
2146
|
-
*
|
|
2147
|
-
* @type {string}
|
|
2148
|
-
* @memberof ChatMessageSkillCall
|
|
2149
|
-
*/
|
|
2150
941
|
'name': string;
|
|
2151
|
-
/**
|
|
2152
|
-
*
|
|
2153
|
-
* @type {object}
|
|
2154
|
-
* @memberof ChatMessageSkillCall
|
|
2155
|
-
*/
|
|
2156
942
|
'parameters': object;
|
|
2157
|
-
/**
|
|
2158
|
-
*
|
|
2159
|
-
* @type {boolean}
|
|
2160
|
-
* @memberof ChatMessageSkillCall
|
|
2161
|
-
*/
|
|
2162
943
|
'success': boolean;
|
|
2163
|
-
/**
|
|
2164
|
-
*
|
|
2165
|
-
* @type {string}
|
|
2166
|
-
* @memberof ChatMessageSkillCall
|
|
2167
|
-
*/
|
|
2168
944
|
'response'?: string;
|
|
2169
|
-
/**
|
|
2170
|
-
*
|
|
2171
|
-
* @type {string}
|
|
2172
|
-
* @memberof ChatMessageSkillCall
|
|
2173
|
-
*/
|
|
2174
945
|
'error_message'?: string;
|
|
2175
|
-
/**
|
|
2176
|
-
*
|
|
2177
|
-
* @type {string}
|
|
2178
|
-
* @memberof ChatMessageSkillCall
|
|
2179
|
-
*/
|
|
2180
946
|
'credit_event_id'?: string;
|
|
2181
|
-
/**
|
|
2182
|
-
*
|
|
2183
|
-
* @type {string}
|
|
2184
|
-
* @memberof ChatMessageSkillCall
|
|
2185
|
-
*/
|
|
2186
947
|
'credit_cost'?: string;
|
|
2187
948
|
}
|
|
2188
949
|
/**
|
|
2189
950
|
* Response model for chat messages with pagination.
|
|
2190
|
-
* @export
|
|
2191
|
-
* @interface ChatMessagesResponse
|
|
2192
951
|
*/
|
|
2193
952
|
export interface ChatMessagesResponse {
|
|
2194
|
-
/**
|
|
2195
|
-
*
|
|
2196
|
-
* @type {Array<ChatMessage>}
|
|
2197
|
-
* @memberof ChatMessagesResponse
|
|
2198
|
-
*/
|
|
2199
953
|
'data': Array<ChatMessage>;
|
|
2200
|
-
/**
|
|
2201
|
-
*
|
|
2202
|
-
* @type {boolean}
|
|
2203
|
-
* @memberof ChatMessagesResponse
|
|
2204
|
-
*/
|
|
2205
954
|
'has_more'?: boolean;
|
|
2206
|
-
/**
|
|
2207
|
-
*
|
|
2208
|
-
* @type {string}
|
|
2209
|
-
* @memberof ChatMessagesResponse
|
|
2210
|
-
*/
|
|
2211
955
|
'next_cursor'?: string | null;
|
|
2212
956
|
}
|
|
2213
957
|
/**
|
|
2214
958
|
* Request model for updating a chat thread.
|
|
2215
|
-
* @export
|
|
2216
|
-
* @interface ChatUpdateRequest
|
|
2217
959
|
*/
|
|
2218
960
|
export interface ChatUpdateRequest {
|
|
2219
961
|
/**
|
|
2220
962
|
* Updated summary for the chat thread
|
|
2221
|
-
* @type {string}
|
|
2222
|
-
* @memberof ChatUpdateRequest
|
|
2223
963
|
*/
|
|
2224
964
|
'summary': string;
|
|
2225
965
|
}
|
|
2226
966
|
/**
|
|
2227
967
|
* Credit account model with all fields.
|
|
2228
|
-
* @export
|
|
2229
|
-
* @interface CreditAccount
|
|
2230
968
|
*/
|
|
2231
969
|
export interface CreditAccount {
|
|
2232
970
|
/**
|
|
2233
971
|
* Unique identifier for the credit account
|
|
2234
|
-
* @type {string}
|
|
2235
|
-
* @memberof CreditAccount
|
|
2236
972
|
*/
|
|
2237
973
|
'id'?: string;
|
|
2238
974
|
/**
|
|
2239
975
|
* Type of the account owner
|
|
2240
|
-
* @type {OwnerType}
|
|
2241
|
-
* @memberof CreditAccount
|
|
2242
976
|
*/
|
|
2243
977
|
'owner_type': OwnerType;
|
|
2244
978
|
/**
|
|
2245
979
|
* ID of the account owner
|
|
2246
|
-
* @type {string}
|
|
2247
|
-
* @memberof CreditAccount
|
|
2248
980
|
*/
|
|
2249
981
|
'owner_id': string;
|
|
2250
982
|
/**
|
|
2251
983
|
* Daily credit quota that resets each day
|
|
2252
|
-
* @type {string}
|
|
2253
|
-
* @memberof CreditAccount
|
|
2254
984
|
*/
|
|
2255
985
|
'free_quota'?: string;
|
|
2256
986
|
/**
|
|
2257
987
|
* Amount to refill hourly, not exceeding free_quota
|
|
2258
|
-
* @type {string}
|
|
2259
|
-
* @memberof CreditAccount
|
|
2260
988
|
*/
|
|
2261
989
|
'refill_amount'?: string;
|
|
2262
990
|
/**
|
|
2263
991
|
* Current available daily credits
|
|
2264
|
-
* @type {string}
|
|
2265
|
-
* @memberof CreditAccount
|
|
2266
992
|
*/
|
|
2267
993
|
'free_credits'?: string;
|
|
2268
994
|
/**
|
|
2269
995
|
* Reward credits earned through rewards
|
|
2270
|
-
* @type {string}
|
|
2271
|
-
* @memberof CreditAccount
|
|
2272
996
|
*/
|
|
2273
997
|
'reward_credits'?: string;
|
|
2274
998
|
/**
|
|
2275
999
|
* Credits added through top-ups
|
|
2276
|
-
* @type {string}
|
|
2277
|
-
* @memberof CreditAccount
|
|
2278
1000
|
*/
|
|
2279
1001
|
'credits'?: string;
|
|
2280
|
-
/**
|
|
2281
|
-
*
|
|
2282
|
-
* @type {string}
|
|
2283
|
-
* @memberof CreditAccount
|
|
2284
|
-
*/
|
|
2285
1002
|
'income_at'?: string | null;
|
|
2286
|
-
/**
|
|
2287
|
-
*
|
|
2288
|
-
* @type {string}
|
|
2289
|
-
* @memberof CreditAccount
|
|
2290
|
-
*/
|
|
2291
1003
|
'expense_at'?: string | null;
|
|
2292
|
-
/**
|
|
2293
|
-
*
|
|
2294
|
-
* @type {string}
|
|
2295
|
-
* @memberof CreditAccount
|
|
2296
|
-
*/
|
|
2297
1004
|
'last_event_id'?: string | null;
|
|
2298
1005
|
/**
|
|
2299
1006
|
* Total income from all credit transactions
|
|
2300
|
-
* @type {string}
|
|
2301
|
-
* @memberof CreditAccount
|
|
2302
1007
|
*/
|
|
2303
1008
|
'total_income'?: string;
|
|
2304
1009
|
/**
|
|
2305
1010
|
* Total income from free credit transactions
|
|
2306
|
-
* @type {string}
|
|
2307
|
-
* @memberof CreditAccount
|
|
2308
1011
|
*/
|
|
2309
1012
|
'total_free_income'?: string;
|
|
2310
1013
|
/**
|
|
2311
1014
|
* Total income from reward credit transactions
|
|
2312
|
-
* @type {string}
|
|
2313
|
-
* @memberof CreditAccount
|
|
2314
1015
|
*/
|
|
2315
1016
|
'total_reward_income'?: string;
|
|
2316
1017
|
/**
|
|
2317
1018
|
* Total income from permanent credit transactions
|
|
2318
|
-
* @type {string}
|
|
2319
|
-
* @memberof CreditAccount
|
|
2320
1019
|
*/
|
|
2321
1020
|
'total_permanent_income'?: string;
|
|
2322
1021
|
/**
|
|
2323
1022
|
* Total expense from all credit transactions
|
|
2324
|
-
* @type {string}
|
|
2325
|
-
* @memberof CreditAccount
|
|
2326
1023
|
*/
|
|
2327
1024
|
'total_expense'?: string;
|
|
2328
1025
|
/**
|
|
2329
1026
|
* Total expense from free credit transactions
|
|
2330
|
-
* @type {string}
|
|
2331
|
-
* @memberof CreditAccount
|
|
2332
1027
|
*/
|
|
2333
1028
|
'total_free_expense'?: string;
|
|
2334
1029
|
/**
|
|
2335
1030
|
* Total expense from reward credit transactions
|
|
2336
|
-
* @type {string}
|
|
2337
|
-
* @memberof CreditAccount
|
|
2338
1031
|
*/
|
|
2339
1032
|
'total_reward_expense'?: string;
|
|
2340
1033
|
/**
|
|
2341
1034
|
* Total expense from permanent credit transactions
|
|
2342
|
-
* @type {string}
|
|
2343
|
-
* @memberof CreditAccount
|
|
2344
1035
|
*/
|
|
2345
1036
|
'total_permanent_expense'?: string;
|
|
2346
1037
|
/**
|
|
2347
1038
|
* Timestamp when this account was created
|
|
2348
|
-
* @type {string}
|
|
2349
|
-
* @memberof CreditAccount
|
|
2350
1039
|
*/
|
|
2351
1040
|
'created_at': string;
|
|
2352
1041
|
/**
|
|
2353
1042
|
* Timestamp when this account was last updated
|
|
2354
|
-
* @type {string}
|
|
2355
|
-
* @memberof CreditAccount
|
|
2356
1043
|
*/
|
|
2357
1044
|
'updated_at': string;
|
|
2358
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Credits applied after conversion
|
|
1048
|
+
*/
|
|
1049
|
+
export interface CreditAmount {
|
|
1050
|
+
}
|
|
2359
1051
|
/**
|
|
2360
1052
|
* Credit or debit transaction.
|
|
2361
|
-
* @export
|
|
2362
|
-
* @enum {string}
|
|
2363
1053
|
*/
|
|
2364
1054
|
export declare const CreditDebit: {
|
|
2365
1055
|
readonly Credit: "credit";
|
|
@@ -2368,697 +1058,432 @@ export declare const CreditDebit: {
|
|
|
2368
1058
|
export type CreditDebit = typeof CreditDebit[keyof typeof CreditDebit];
|
|
2369
1059
|
/**
|
|
2370
1060
|
* Credit event model with all fields.
|
|
2371
|
-
* @export
|
|
2372
|
-
* @interface CreditEvent
|
|
2373
1061
|
*/
|
|
2374
|
-
export interface
|
|
1062
|
+
export interface CreditEventInput {
|
|
2375
1063
|
/**
|
|
2376
1064
|
* Unique identifier for the credit event
|
|
2377
|
-
* @type {string}
|
|
2378
|
-
* @memberof CreditEvent
|
|
2379
1065
|
*/
|
|
2380
1066
|
'id'?: string;
|
|
2381
1067
|
/**
|
|
2382
1068
|
* Account ID from which credits flow
|
|
2383
|
-
* @type {string}
|
|
2384
|
-
* @memberof CreditEvent
|
|
2385
1069
|
*/
|
|
2386
1070
|
'account_id'?: string;
|
|
2387
1071
|
/**
|
|
2388
1072
|
* Type of the event
|
|
2389
|
-
* @type {EventType}
|
|
2390
|
-
* @memberof CreditEvent
|
|
2391
1073
|
*/
|
|
2392
1074
|
'event_type': EventType;
|
|
2393
|
-
/**
|
|
2394
|
-
*
|
|
2395
|
-
* @type {string}
|
|
2396
|
-
* @memberof CreditEvent
|
|
2397
|
-
*/
|
|
2398
1075
|
'user_id'?: string | null;
|
|
2399
1076
|
/**
|
|
2400
1077
|
* Type of upstream transaction
|
|
2401
|
-
* @type {UpstreamType}
|
|
2402
|
-
* @memberof CreditEvent
|
|
2403
1078
|
*/
|
|
2404
1079
|
'upstream_type': UpstreamType;
|
|
2405
1080
|
/**
|
|
2406
1081
|
* Upstream transaction ID if any
|
|
2407
|
-
* @type {string}
|
|
2408
|
-
* @memberof CreditEvent
|
|
2409
1082
|
*/
|
|
2410
1083
|
'upstream_tx_id': string;
|
|
2411
|
-
/**
|
|
2412
|
-
*
|
|
2413
|
-
* @type {string}
|
|
2414
|
-
* @memberof CreditEvent
|
|
2415
|
-
*/
|
|
2416
1084
|
'agent_id'?: string | null;
|
|
2417
|
-
/**
|
|
2418
|
-
*
|
|
2419
|
-
* @type {string}
|
|
2420
|
-
* @memberof CreditEvent
|
|
2421
|
-
*/
|
|
2422
1085
|
'agent_wallet_address'?: string | null;
|
|
2423
|
-
/**
|
|
2424
|
-
*
|
|
2425
|
-
* @type {string}
|
|
2426
|
-
* @memberof CreditEvent
|
|
2427
|
-
*/
|
|
2428
1086
|
'start_message_id'?: string | null;
|
|
2429
|
-
/**
|
|
2430
|
-
*
|
|
2431
|
-
* @type {string}
|
|
2432
|
-
* @memberof CreditEvent
|
|
2433
|
-
*/
|
|
2434
1087
|
'message_id'?: string | null;
|
|
2435
|
-
/**
|
|
2436
|
-
*
|
|
2437
|
-
* @type {string}
|
|
2438
|
-
* @memberof CreditEvent
|
|
2439
|
-
*/
|
|
2440
1088
|
'model'?: string | null;
|
|
2441
|
-
/**
|
|
2442
|
-
*
|
|
2443
|
-
* @type {string}
|
|
2444
|
-
* @memberof CreditEvent
|
|
2445
|
-
*/
|
|
2446
1089
|
'skill_call_id'?: string | null;
|
|
2447
|
-
/**
|
|
2448
|
-
*
|
|
2449
|
-
* @type {string}
|
|
2450
|
-
* @memberof CreditEvent
|
|
2451
|
-
*/
|
|
2452
1090
|
'skill_name'?: string | null;
|
|
2453
1091
|
/**
|
|
2454
1092
|
* Direction of the credit flow
|
|
2455
|
-
* @type {Direction}
|
|
2456
|
-
* @memberof CreditEvent
|
|
2457
1093
|
*/
|
|
2458
1094
|
'direction': Direction;
|
|
2459
|
-
|
|
2460
|
-
* Total amount (after discount) of credits involved
|
|
2461
|
-
* @type {string}
|
|
2462
|
-
* @memberof CreditEvent
|
|
2463
|
-
*/
|
|
2464
|
-
'total_amount'?: string;
|
|
1095
|
+
'total_amount'?: TotalAmount;
|
|
2465
1096
|
/**
|
|
2466
1097
|
* Type of credits involved
|
|
2467
|
-
* @type {CreditType}
|
|
2468
|
-
* @memberof CreditEvent
|
|
2469
1098
|
*/
|
|
2470
1099
|
'credit_type': CreditType;
|
|
2471
|
-
/**
|
|
2472
|
-
*
|
|
2473
|
-
* @type {Array<CreditType>}
|
|
2474
|
-
* @memberof CreditEvent
|
|
2475
|
-
*/
|
|
2476
1100
|
'credit_types'?: Array<CreditType> | null;
|
|
1101
|
+
'balance_after'?: BalanceAfter | null;
|
|
1102
|
+
'base_amount'?: BaseAmount;
|
|
1103
|
+
'base_discount_amount'?: BaseDiscountAmount | null;
|
|
1104
|
+
'base_original_amount'?: BaseOriginalAmount | null;
|
|
1105
|
+
'base_llm_amount'?: BaseLlmAmount | null;
|
|
1106
|
+
'base_skill_amount'?: BaseSkillAmount | null;
|
|
1107
|
+
'base_free_amount'?: BaseFreeAmount | null;
|
|
1108
|
+
'base_reward_amount'?: BaseRewardAmount | null;
|
|
1109
|
+
'base_permanent_amount'?: BasePermanentAmount | null;
|
|
1110
|
+
'fee_platform_amount'?: FeePlatformAmount | null;
|
|
1111
|
+
'fee_platform_free_amount'?: FeePlatformFreeAmount | null;
|
|
1112
|
+
'fee_platform_reward_amount'?: FeePlatformRewardAmount | null;
|
|
1113
|
+
'fee_platform_permanent_amount'?: FeePlatformPermanentAmount | null;
|
|
1114
|
+
'fee_dev_account'?: string | null;
|
|
1115
|
+
'fee_dev_amount'?: FeeDevAmount | null;
|
|
1116
|
+
'fee_dev_free_amount'?: FeeDevFreeAmount | null;
|
|
1117
|
+
'fee_dev_reward_amount'?: FeeDevRewardAmount | null;
|
|
1118
|
+
'fee_dev_permanent_amount'?: FeeDevPermanentAmount | null;
|
|
1119
|
+
'fee_agent_account'?: string | null;
|
|
1120
|
+
'fee_agent_amount'?: FeeAgentAmount | null;
|
|
1121
|
+
'fee_agent_free_amount'?: FeeAgentFreeAmount | null;
|
|
1122
|
+
'fee_agent_reward_amount'?: FeeAgentRewardAmount | null;
|
|
1123
|
+
'fee_agent_permanent_amount'?: FeeAgentPermanentAmount | null;
|
|
1124
|
+
'free_amount'?: FreeAmount | null;
|
|
1125
|
+
'reward_amount'?: RewardAmount | null;
|
|
1126
|
+
'permanent_amount'?: PermanentAmount | null;
|
|
1127
|
+
'note'?: string | null;
|
|
2477
1128
|
/**
|
|
2478
|
-
*
|
|
2479
|
-
* @type {string}
|
|
2480
|
-
* @memberof CreditEvent
|
|
1129
|
+
* Timestamp when this event was created
|
|
2481
1130
|
*/
|
|
2482
|
-
'
|
|
1131
|
+
'created_at': string;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Credit event model with all fields.
|
|
1135
|
+
*/
|
|
1136
|
+
export interface CreditEventOutput {
|
|
2483
1137
|
/**
|
|
2484
|
-
*
|
|
2485
|
-
* @type {string}
|
|
2486
|
-
* @memberof CreditEvent
|
|
1138
|
+
* Unique identifier for the credit event
|
|
2487
1139
|
*/
|
|
2488
|
-
'
|
|
1140
|
+
'id'?: string;
|
|
2489
1141
|
/**
|
|
2490
|
-
*
|
|
2491
|
-
* @type {string}
|
|
2492
|
-
* @memberof CreditEvent
|
|
1142
|
+
* Account ID from which credits flow
|
|
2493
1143
|
*/
|
|
2494
|
-
'
|
|
1144
|
+
'account_id'?: string;
|
|
2495
1145
|
/**
|
|
2496
|
-
*
|
|
2497
|
-
* @type {string}
|
|
2498
|
-
* @memberof CreditEvent
|
|
1146
|
+
* Type of the event
|
|
2499
1147
|
*/
|
|
2500
|
-
'
|
|
1148
|
+
'event_type': EventType;
|
|
1149
|
+
'user_id'?: string | null;
|
|
2501
1150
|
/**
|
|
2502
|
-
*
|
|
2503
|
-
* @type {string}
|
|
2504
|
-
* @memberof CreditEvent
|
|
1151
|
+
* Type of upstream transaction
|
|
2505
1152
|
*/
|
|
2506
|
-
'
|
|
1153
|
+
'upstream_type': UpstreamType;
|
|
2507
1154
|
/**
|
|
2508
|
-
*
|
|
2509
|
-
* @type {string}
|
|
2510
|
-
* @memberof CreditEvent
|
|
1155
|
+
* Upstream transaction ID if any
|
|
2511
1156
|
*/
|
|
2512
|
-
'
|
|
1157
|
+
'upstream_tx_id': string;
|
|
1158
|
+
'agent_id'?: string | null;
|
|
1159
|
+
'agent_wallet_address'?: string | null;
|
|
1160
|
+
'start_message_id'?: string | null;
|
|
1161
|
+
'message_id'?: string | null;
|
|
1162
|
+
'model'?: string | null;
|
|
1163
|
+
'skill_call_id'?: string | null;
|
|
1164
|
+
'skill_name'?: string | null;
|
|
2513
1165
|
/**
|
|
2514
|
-
*
|
|
2515
|
-
* @type {string}
|
|
2516
|
-
* @memberof CreditEvent
|
|
1166
|
+
* Direction of the credit flow
|
|
2517
1167
|
*/
|
|
2518
|
-
'
|
|
1168
|
+
'direction': Direction;
|
|
2519
1169
|
/**
|
|
2520
|
-
*
|
|
2521
|
-
* @type {string}
|
|
2522
|
-
* @memberof CreditEvent
|
|
1170
|
+
* Total amount (after discount) of credits involved
|
|
2523
1171
|
*/
|
|
2524
|
-
'
|
|
1172
|
+
'total_amount'?: string;
|
|
2525
1173
|
/**
|
|
2526
|
-
*
|
|
2527
|
-
* @type {string}
|
|
2528
|
-
* @memberof CreditEvent
|
|
1174
|
+
* Type of credits involved
|
|
2529
1175
|
*/
|
|
2530
|
-
'
|
|
1176
|
+
'credit_type': CreditType;
|
|
1177
|
+
'credit_types'?: Array<CreditType> | null;
|
|
1178
|
+
'balance_after'?: string | null;
|
|
2531
1179
|
/**
|
|
2532
|
-
*
|
|
2533
|
-
* @type {string}
|
|
2534
|
-
* @memberof CreditEvent
|
|
1180
|
+
* Base amount of credits involved
|
|
2535
1181
|
*/
|
|
1182
|
+
'base_amount'?: string;
|
|
1183
|
+
'base_discount_amount'?: string | null;
|
|
1184
|
+
'base_original_amount'?: string | null;
|
|
1185
|
+
'base_llm_amount'?: string | null;
|
|
1186
|
+
'base_skill_amount'?: string | null;
|
|
1187
|
+
'base_free_amount'?: string | null;
|
|
1188
|
+
'base_reward_amount'?: string | null;
|
|
1189
|
+
'base_permanent_amount'?: string | null;
|
|
2536
1190
|
'fee_platform_amount'?: string | null;
|
|
2537
|
-
/**
|
|
2538
|
-
*
|
|
2539
|
-
* @type {string}
|
|
2540
|
-
* @memberof CreditEvent
|
|
2541
|
-
*/
|
|
2542
1191
|
'fee_platform_free_amount'?: string | null;
|
|
2543
|
-
/**
|
|
2544
|
-
*
|
|
2545
|
-
* @type {string}
|
|
2546
|
-
* @memberof CreditEvent
|
|
2547
|
-
*/
|
|
2548
1192
|
'fee_platform_reward_amount'?: string | null;
|
|
2549
|
-
/**
|
|
2550
|
-
*
|
|
2551
|
-
* @type {string}
|
|
2552
|
-
* @memberof CreditEvent
|
|
2553
|
-
*/
|
|
2554
1193
|
'fee_platform_permanent_amount'?: string | null;
|
|
2555
|
-
/**
|
|
2556
|
-
*
|
|
2557
|
-
* @type {string}
|
|
2558
|
-
* @memberof CreditEvent
|
|
2559
|
-
*/
|
|
2560
1194
|
'fee_dev_account'?: string | null;
|
|
2561
|
-
/**
|
|
2562
|
-
*
|
|
2563
|
-
* @type {string}
|
|
2564
|
-
* @memberof CreditEvent
|
|
2565
|
-
*/
|
|
2566
1195
|
'fee_dev_amount'?: string | null;
|
|
2567
|
-
/**
|
|
2568
|
-
*
|
|
2569
|
-
* @type {string}
|
|
2570
|
-
* @memberof CreditEvent
|
|
2571
|
-
*/
|
|
2572
1196
|
'fee_dev_free_amount'?: string | null;
|
|
2573
|
-
/**
|
|
2574
|
-
*
|
|
2575
|
-
* @type {string}
|
|
2576
|
-
* @memberof CreditEvent
|
|
2577
|
-
*/
|
|
2578
1197
|
'fee_dev_reward_amount'?: string | null;
|
|
2579
|
-
/**
|
|
2580
|
-
*
|
|
2581
|
-
* @type {string}
|
|
2582
|
-
* @memberof CreditEvent
|
|
2583
|
-
*/
|
|
2584
1198
|
'fee_dev_permanent_amount'?: string | null;
|
|
2585
|
-
/**
|
|
2586
|
-
*
|
|
2587
|
-
* @type {string}
|
|
2588
|
-
* @memberof CreditEvent
|
|
2589
|
-
*/
|
|
2590
1199
|
'fee_agent_account'?: string | null;
|
|
1200
|
+
'fee_agent_amount'?: string | null;
|
|
1201
|
+
'fee_agent_free_amount'?: string | null;
|
|
1202
|
+
'fee_agent_reward_amount'?: string | null;
|
|
1203
|
+
'fee_agent_permanent_amount'?: string | null;
|
|
1204
|
+
'free_amount'?: string | null;
|
|
1205
|
+
'reward_amount'?: string | null;
|
|
1206
|
+
'permanent_amount'?: string | null;
|
|
1207
|
+
'note'?: string | null;
|
|
2591
1208
|
/**
|
|
2592
|
-
*
|
|
2593
|
-
* @type {string}
|
|
2594
|
-
* @memberof CreditEvent
|
|
1209
|
+
* Timestamp when this event was created
|
|
2595
1210
|
*/
|
|
2596
|
-
'
|
|
1211
|
+
'created_at': string;
|
|
1212
|
+
}
|
|
1213
|
+
/**
|
|
1214
|
+
* Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
|
|
1215
|
+
*/
|
|
1216
|
+
export interface CreditEventWithAgentInput {
|
|
2597
1217
|
/**
|
|
2598
|
-
*
|
|
2599
|
-
* @type {string}
|
|
2600
|
-
* @memberof CreditEvent
|
|
1218
|
+
* Unique identifier for the credit event
|
|
2601
1219
|
*/
|
|
2602
|
-
'
|
|
1220
|
+
'id'?: string;
|
|
2603
1221
|
/**
|
|
2604
|
-
*
|
|
2605
|
-
* @type {string}
|
|
2606
|
-
* @memberof CreditEvent
|
|
1222
|
+
* Account ID from which credits flow
|
|
2607
1223
|
*/
|
|
2608
|
-
'
|
|
1224
|
+
'account_id'?: string;
|
|
2609
1225
|
/**
|
|
2610
|
-
*
|
|
2611
|
-
* @type {string}
|
|
2612
|
-
* @memberof CreditEvent
|
|
1226
|
+
* Type of the event
|
|
2613
1227
|
*/
|
|
2614
|
-
'
|
|
1228
|
+
'event_type': EventType;
|
|
1229
|
+
'user_id'?: string | null;
|
|
2615
1230
|
/**
|
|
2616
|
-
*
|
|
2617
|
-
* @type {string}
|
|
2618
|
-
* @memberof CreditEvent
|
|
1231
|
+
* Type of upstream transaction
|
|
2619
1232
|
*/
|
|
2620
|
-
'
|
|
1233
|
+
'upstream_type': UpstreamType;
|
|
2621
1234
|
/**
|
|
2622
|
-
*
|
|
2623
|
-
* @type {string}
|
|
2624
|
-
* @memberof CreditEvent
|
|
1235
|
+
* Upstream transaction ID if any
|
|
2625
1236
|
*/
|
|
2626
|
-
'
|
|
1237
|
+
'upstream_tx_id': string;
|
|
1238
|
+
'agent_id'?: string | null;
|
|
1239
|
+
'agent_wallet_address'?: string | null;
|
|
1240
|
+
'start_message_id'?: string | null;
|
|
1241
|
+
'message_id'?: string | null;
|
|
1242
|
+
'model'?: string | null;
|
|
1243
|
+
'skill_call_id'?: string | null;
|
|
1244
|
+
'skill_name'?: string | null;
|
|
2627
1245
|
/**
|
|
2628
|
-
*
|
|
2629
|
-
* @type {string}
|
|
2630
|
-
* @memberof CreditEvent
|
|
1246
|
+
* Direction of the credit flow
|
|
2631
1247
|
*/
|
|
2632
|
-
'
|
|
1248
|
+
'direction': Direction;
|
|
1249
|
+
'total_amount'?: TotalAmount;
|
|
2633
1250
|
/**
|
|
2634
|
-
*
|
|
2635
|
-
* @type {string}
|
|
2636
|
-
* @memberof CreditEvent
|
|
1251
|
+
* Type of credits involved
|
|
2637
1252
|
*/
|
|
1253
|
+
'credit_type': CreditType;
|
|
1254
|
+
'credit_types'?: Array<CreditType> | null;
|
|
1255
|
+
'balance_after'?: BalanceAfter | null;
|
|
1256
|
+
'base_amount'?: BaseAmount;
|
|
1257
|
+
'base_discount_amount'?: BaseDiscountAmount | null;
|
|
1258
|
+
'base_original_amount'?: BaseOriginalAmount | null;
|
|
1259
|
+
'base_llm_amount'?: BaseLlmAmount | null;
|
|
1260
|
+
'base_skill_amount'?: BaseSkillAmount | null;
|
|
1261
|
+
'base_free_amount'?: BaseFreeAmount | null;
|
|
1262
|
+
'base_reward_amount'?: BaseRewardAmount | null;
|
|
1263
|
+
'base_permanent_amount'?: BasePermanentAmount | null;
|
|
1264
|
+
'fee_platform_amount'?: FeePlatformAmount | null;
|
|
1265
|
+
'fee_platform_free_amount'?: FeePlatformFreeAmount | null;
|
|
1266
|
+
'fee_platform_reward_amount'?: FeePlatformRewardAmount | null;
|
|
1267
|
+
'fee_platform_permanent_amount'?: FeePlatformPermanentAmount | null;
|
|
1268
|
+
'fee_dev_account'?: string | null;
|
|
1269
|
+
'fee_dev_amount'?: FeeDevAmount | null;
|
|
1270
|
+
'fee_dev_free_amount'?: FeeDevFreeAmount | null;
|
|
1271
|
+
'fee_dev_reward_amount'?: FeeDevRewardAmount | null;
|
|
1272
|
+
'fee_dev_permanent_amount'?: FeeDevPermanentAmount | null;
|
|
1273
|
+
'fee_agent_account'?: string | null;
|
|
1274
|
+
'fee_agent_amount'?: FeeAgentAmount | null;
|
|
1275
|
+
'fee_agent_free_amount'?: FeeAgentFreeAmount | null;
|
|
1276
|
+
'fee_agent_reward_amount'?: FeeAgentRewardAmount | null;
|
|
1277
|
+
'fee_agent_permanent_amount'?: FeeAgentPermanentAmount | null;
|
|
1278
|
+
'free_amount'?: FreeAmount | null;
|
|
1279
|
+
'reward_amount'?: RewardAmount | null;
|
|
1280
|
+
'permanent_amount'?: PermanentAmount | null;
|
|
2638
1281
|
'note'?: string | null;
|
|
2639
1282
|
/**
|
|
2640
1283
|
* Timestamp when this event was created
|
|
2641
|
-
* @type {string}
|
|
2642
|
-
* @memberof CreditEvent
|
|
2643
1284
|
*/
|
|
2644
1285
|
'created_at': string;
|
|
1286
|
+
'agent_name'?: string | null;
|
|
2645
1287
|
}
|
|
2646
1288
|
/**
|
|
2647
1289
|
* Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
|
|
2648
|
-
* @export
|
|
2649
|
-
* @interface CreditEventWithAgent
|
|
2650
1290
|
*/
|
|
2651
|
-
export interface
|
|
1291
|
+
export interface CreditEventWithAgentOutput {
|
|
2652
1292
|
/**
|
|
2653
1293
|
* Unique identifier for the credit event
|
|
2654
|
-
* @type {string}
|
|
2655
|
-
* @memberof CreditEventWithAgent
|
|
2656
1294
|
*/
|
|
2657
1295
|
'id'?: string;
|
|
2658
1296
|
/**
|
|
2659
1297
|
* Account ID from which credits flow
|
|
2660
|
-
* @type {string}
|
|
2661
|
-
* @memberof CreditEventWithAgent
|
|
2662
1298
|
*/
|
|
2663
1299
|
'account_id'?: string;
|
|
2664
1300
|
/**
|
|
2665
1301
|
* Type of the event
|
|
2666
|
-
* @type {EventType}
|
|
2667
|
-
* @memberof CreditEventWithAgent
|
|
2668
1302
|
*/
|
|
2669
1303
|
'event_type': EventType;
|
|
2670
|
-
/**
|
|
2671
|
-
*
|
|
2672
|
-
* @type {string}
|
|
2673
|
-
* @memberof CreditEventWithAgent
|
|
2674
|
-
*/
|
|
2675
1304
|
'user_id'?: string | null;
|
|
2676
1305
|
/**
|
|
2677
1306
|
* Type of upstream transaction
|
|
2678
|
-
* @type {UpstreamType}
|
|
2679
|
-
* @memberof CreditEventWithAgent
|
|
2680
1307
|
*/
|
|
2681
1308
|
'upstream_type': UpstreamType;
|
|
2682
1309
|
/**
|
|
2683
1310
|
* Upstream transaction ID if any
|
|
2684
|
-
* @type {string}
|
|
2685
|
-
* @memberof CreditEventWithAgent
|
|
2686
1311
|
*/
|
|
2687
1312
|
'upstream_tx_id': string;
|
|
2688
|
-
/**
|
|
2689
|
-
*
|
|
2690
|
-
* @type {string}
|
|
2691
|
-
* @memberof CreditEventWithAgent
|
|
2692
|
-
*/
|
|
2693
1313
|
'agent_id'?: string | null;
|
|
2694
|
-
/**
|
|
2695
|
-
*
|
|
2696
|
-
* @type {string}
|
|
2697
|
-
* @memberof CreditEventWithAgent
|
|
2698
|
-
*/
|
|
2699
1314
|
'agent_wallet_address'?: string | null;
|
|
2700
|
-
/**
|
|
2701
|
-
*
|
|
2702
|
-
* @type {string}
|
|
2703
|
-
* @memberof CreditEventWithAgent
|
|
2704
|
-
*/
|
|
2705
1315
|
'start_message_id'?: string | null;
|
|
2706
|
-
/**
|
|
2707
|
-
*
|
|
2708
|
-
* @type {string}
|
|
2709
|
-
* @memberof CreditEventWithAgent
|
|
2710
|
-
*/
|
|
2711
1316
|
'message_id'?: string | null;
|
|
2712
|
-
/**
|
|
2713
|
-
*
|
|
2714
|
-
* @type {string}
|
|
2715
|
-
* @memberof CreditEventWithAgent
|
|
2716
|
-
*/
|
|
2717
1317
|
'model'?: string | null;
|
|
2718
|
-
/**
|
|
2719
|
-
*
|
|
2720
|
-
* @type {string}
|
|
2721
|
-
* @memberof CreditEventWithAgent
|
|
2722
|
-
*/
|
|
2723
1318
|
'skill_call_id'?: string | null;
|
|
2724
|
-
/**
|
|
2725
|
-
*
|
|
2726
|
-
* @type {string}
|
|
2727
|
-
* @memberof CreditEventWithAgent
|
|
2728
|
-
*/
|
|
2729
1319
|
'skill_name'?: string | null;
|
|
2730
1320
|
/**
|
|
2731
1321
|
* Direction of the credit flow
|
|
2732
|
-
* @type {Direction}
|
|
2733
|
-
* @memberof CreditEventWithAgent
|
|
2734
1322
|
*/
|
|
2735
1323
|
'direction': Direction;
|
|
2736
1324
|
/**
|
|
2737
1325
|
* Total amount (after discount) of credits involved
|
|
2738
|
-
* @type {string}
|
|
2739
|
-
* @memberof CreditEventWithAgent
|
|
2740
1326
|
*/
|
|
2741
1327
|
'total_amount'?: string;
|
|
2742
1328
|
/**
|
|
2743
1329
|
* Type of credits involved
|
|
2744
|
-
* @type {CreditType}
|
|
2745
|
-
* @memberof CreditEventWithAgent
|
|
2746
1330
|
*/
|
|
2747
1331
|
'credit_type': CreditType;
|
|
2748
|
-
/**
|
|
2749
|
-
*
|
|
2750
|
-
* @type {Array<CreditType>}
|
|
2751
|
-
* @memberof CreditEventWithAgent
|
|
2752
|
-
*/
|
|
2753
1332
|
'credit_types'?: Array<CreditType> | null;
|
|
2754
|
-
/**
|
|
2755
|
-
*
|
|
2756
|
-
* @type {string}
|
|
2757
|
-
* @memberof CreditEventWithAgent
|
|
2758
|
-
*/
|
|
2759
1333
|
'balance_after'?: string | null;
|
|
2760
1334
|
/**
|
|
2761
1335
|
* Base amount of credits involved
|
|
2762
|
-
* @type {string}
|
|
2763
|
-
* @memberof CreditEventWithAgent
|
|
2764
1336
|
*/
|
|
2765
1337
|
'base_amount'?: string;
|
|
2766
|
-
/**
|
|
2767
|
-
*
|
|
2768
|
-
* @type {string}
|
|
2769
|
-
* @memberof CreditEventWithAgent
|
|
2770
|
-
*/
|
|
2771
1338
|
'base_discount_amount'?: string | null;
|
|
2772
|
-
/**
|
|
2773
|
-
*
|
|
2774
|
-
* @type {string}
|
|
2775
|
-
* @memberof CreditEventWithAgent
|
|
2776
|
-
*/
|
|
2777
1339
|
'base_original_amount'?: string | null;
|
|
2778
|
-
/**
|
|
2779
|
-
*
|
|
2780
|
-
* @type {string}
|
|
2781
|
-
* @memberof CreditEventWithAgent
|
|
2782
|
-
*/
|
|
2783
1340
|
'base_llm_amount'?: string | null;
|
|
2784
|
-
/**
|
|
2785
|
-
*
|
|
2786
|
-
* @type {string}
|
|
2787
|
-
* @memberof CreditEventWithAgent
|
|
2788
|
-
*/
|
|
2789
1341
|
'base_skill_amount'?: string | null;
|
|
2790
|
-
/**
|
|
2791
|
-
*
|
|
2792
|
-
* @type {string}
|
|
2793
|
-
* @memberof CreditEventWithAgent
|
|
2794
|
-
*/
|
|
2795
1342
|
'base_free_amount'?: string | null;
|
|
2796
|
-
/**
|
|
2797
|
-
*
|
|
2798
|
-
* @type {string}
|
|
2799
|
-
* @memberof CreditEventWithAgent
|
|
2800
|
-
*/
|
|
2801
1343
|
'base_reward_amount'?: string | null;
|
|
2802
|
-
/**
|
|
2803
|
-
*
|
|
2804
|
-
* @type {string}
|
|
2805
|
-
* @memberof CreditEventWithAgent
|
|
2806
|
-
*/
|
|
2807
1344
|
'base_permanent_amount'?: string | null;
|
|
2808
|
-
/**
|
|
2809
|
-
*
|
|
2810
|
-
* @type {string}
|
|
2811
|
-
* @memberof CreditEventWithAgent
|
|
2812
|
-
*/
|
|
2813
1345
|
'fee_platform_amount'?: string | null;
|
|
2814
|
-
/**
|
|
2815
|
-
*
|
|
2816
|
-
* @type {string}
|
|
2817
|
-
* @memberof CreditEventWithAgent
|
|
2818
|
-
*/
|
|
2819
1346
|
'fee_platform_free_amount'?: string | null;
|
|
2820
|
-
/**
|
|
2821
|
-
*
|
|
2822
|
-
* @type {string}
|
|
2823
|
-
* @memberof CreditEventWithAgent
|
|
2824
|
-
*/
|
|
2825
1347
|
'fee_platform_reward_amount'?: string | null;
|
|
2826
|
-
/**
|
|
2827
|
-
*
|
|
2828
|
-
* @type {string}
|
|
2829
|
-
* @memberof CreditEventWithAgent
|
|
2830
|
-
*/
|
|
2831
1348
|
'fee_platform_permanent_amount'?: string | null;
|
|
2832
|
-
/**
|
|
2833
|
-
*
|
|
2834
|
-
* @type {string}
|
|
2835
|
-
* @memberof CreditEventWithAgent
|
|
2836
|
-
*/
|
|
2837
1349
|
'fee_dev_account'?: string | null;
|
|
2838
|
-
/**
|
|
2839
|
-
*
|
|
2840
|
-
* @type {string}
|
|
2841
|
-
* @memberof CreditEventWithAgent
|
|
2842
|
-
*/
|
|
2843
1350
|
'fee_dev_amount'?: string | null;
|
|
2844
|
-
/**
|
|
2845
|
-
*
|
|
2846
|
-
* @type {string}
|
|
2847
|
-
* @memberof CreditEventWithAgent
|
|
2848
|
-
*/
|
|
2849
1351
|
'fee_dev_free_amount'?: string | null;
|
|
2850
|
-
/**
|
|
2851
|
-
*
|
|
2852
|
-
* @type {string}
|
|
2853
|
-
* @memberof CreditEventWithAgent
|
|
2854
|
-
*/
|
|
2855
1352
|
'fee_dev_reward_amount'?: string | null;
|
|
2856
|
-
/**
|
|
2857
|
-
*
|
|
2858
|
-
* @type {string}
|
|
2859
|
-
* @memberof CreditEventWithAgent
|
|
2860
|
-
*/
|
|
2861
1353
|
'fee_dev_permanent_amount'?: string | null;
|
|
2862
|
-
/**
|
|
2863
|
-
*
|
|
2864
|
-
* @type {string}
|
|
2865
|
-
* @memberof CreditEventWithAgent
|
|
2866
|
-
*/
|
|
2867
1354
|
'fee_agent_account'?: string | null;
|
|
2868
|
-
/**
|
|
2869
|
-
*
|
|
2870
|
-
* @type {string}
|
|
2871
|
-
* @memberof CreditEventWithAgent
|
|
2872
|
-
*/
|
|
2873
1355
|
'fee_agent_amount'?: string | null;
|
|
2874
|
-
/**
|
|
2875
|
-
*
|
|
2876
|
-
* @type {string}
|
|
2877
|
-
* @memberof CreditEventWithAgent
|
|
2878
|
-
*/
|
|
2879
1356
|
'fee_agent_free_amount'?: string | null;
|
|
2880
|
-
/**
|
|
2881
|
-
*
|
|
2882
|
-
* @type {string}
|
|
2883
|
-
* @memberof CreditEventWithAgent
|
|
2884
|
-
*/
|
|
2885
1357
|
'fee_agent_reward_amount'?: string | null;
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @type {string}
|
|
2889
|
-
* @memberof CreditEventWithAgent
|
|
2890
|
-
*/
|
|
2891
1358
|
'fee_agent_permanent_amount'?: string | null;
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @type {string}
|
|
2895
|
-
* @memberof CreditEventWithAgent
|
|
2896
|
-
*/
|
|
2897
1359
|
'free_amount'?: string | null;
|
|
2898
|
-
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @type {string}
|
|
2901
|
-
* @memberof CreditEventWithAgent
|
|
2902
|
-
*/
|
|
2903
1360
|
'reward_amount'?: string | null;
|
|
2904
|
-
/**
|
|
2905
|
-
*
|
|
2906
|
-
* @type {string}
|
|
2907
|
-
* @memberof CreditEventWithAgent
|
|
2908
|
-
*/
|
|
2909
1361
|
'permanent_amount'?: string | null;
|
|
2910
|
-
/**
|
|
2911
|
-
*
|
|
2912
|
-
* @type {string}
|
|
2913
|
-
* @memberof CreditEventWithAgent
|
|
2914
|
-
*/
|
|
2915
1362
|
'note'?: string | null;
|
|
2916
1363
|
/**
|
|
2917
1364
|
* Timestamp when this event was created
|
|
2918
|
-
* @type {string}
|
|
2919
|
-
* @memberof CreditEventWithAgent
|
|
2920
1365
|
*/
|
|
2921
1366
|
'created_at': string;
|
|
2922
|
-
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @type {string}
|
|
2925
|
-
* @memberof CreditEventWithAgent
|
|
2926
|
-
*/
|
|
2927
1367
|
'agent_name'?: string | null;
|
|
2928
1368
|
}
|
|
2929
1369
|
/**
|
|
2930
1370
|
* 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.
|
|
2931
|
-
* @export
|
|
2932
|
-
* @interface CreditEventsResponse
|
|
2933
1371
|
*/
|
|
2934
1372
|
export interface CreditEventsResponse {
|
|
2935
1373
|
/**
|
|
2936
1374
|
* List of credit events with agent names
|
|
2937
|
-
* @type {Array<CreditEventWithAgent>}
|
|
2938
|
-
* @memberof CreditEventsResponse
|
|
2939
1375
|
*/
|
|
2940
|
-
'data': Array<
|
|
1376
|
+
'data': Array<CreditEventWithAgentOutput>;
|
|
2941
1377
|
/**
|
|
2942
1378
|
* Indicates if there are more items
|
|
2943
|
-
* @type {boolean}
|
|
2944
|
-
* @memberof CreditEventsResponse
|
|
2945
1379
|
*/
|
|
2946
1380
|
'has_more': boolean;
|
|
1381
|
+
'next_cursor'?: string | null;
|
|
1382
|
+
}
|
|
1383
|
+
/**
|
|
1384
|
+
* Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
|
|
1385
|
+
*/
|
|
1386
|
+
export interface CreditTransactionRespInput {
|
|
2947
1387
|
/**
|
|
2948
|
-
*
|
|
2949
|
-
* @type {string}
|
|
2950
|
-
* @memberof CreditEventsResponse
|
|
1388
|
+
* Unique identifier for the credit transaction
|
|
2951
1389
|
*/
|
|
2952
|
-
'
|
|
1390
|
+
'id'?: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* ID of the account this transaction belongs to
|
|
1393
|
+
*/
|
|
1394
|
+
'account_id': string;
|
|
1395
|
+
/**
|
|
1396
|
+
* ID of the event that triggered this transaction
|
|
1397
|
+
*/
|
|
1398
|
+
'event_id': string;
|
|
1399
|
+
/**
|
|
1400
|
+
* Type of the transaction
|
|
1401
|
+
*/
|
|
1402
|
+
'tx_type': TransactionType;
|
|
1403
|
+
/**
|
|
1404
|
+
* Whether this is a credit or debit transaction
|
|
1405
|
+
*/
|
|
1406
|
+
'credit_debit': CreditDebit;
|
|
1407
|
+
'change_amount'?: ChangeAmount;
|
|
1408
|
+
'free_amount'?: FreeAmount1;
|
|
1409
|
+
'reward_amount'?: RewardAmount1;
|
|
1410
|
+
'permanent_amount'?: PermanentAmount1;
|
|
1411
|
+
/**
|
|
1412
|
+
* Type of credits involved
|
|
1413
|
+
*/
|
|
1414
|
+
'credit_type': CreditType;
|
|
1415
|
+
/**
|
|
1416
|
+
* Timestamp when this transaction was created
|
|
1417
|
+
*/
|
|
1418
|
+
'created_at': string;
|
|
1419
|
+
'event'?: CreditEventInput | null;
|
|
2953
1420
|
}
|
|
2954
1421
|
/**
|
|
2955
1422
|
* Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
|
|
2956
|
-
* @export
|
|
2957
|
-
* @interface CreditTransactionResp
|
|
2958
1423
|
*/
|
|
2959
|
-
export interface
|
|
1424
|
+
export interface CreditTransactionRespOutput {
|
|
2960
1425
|
/**
|
|
2961
1426
|
* Unique identifier for the credit transaction
|
|
2962
|
-
* @type {string}
|
|
2963
|
-
* @memberof CreditTransactionResp
|
|
2964
1427
|
*/
|
|
2965
1428
|
'id'?: string;
|
|
2966
1429
|
/**
|
|
2967
1430
|
* ID of the account this transaction belongs to
|
|
2968
|
-
* @type {string}
|
|
2969
|
-
* @memberof CreditTransactionResp
|
|
2970
1431
|
*/
|
|
2971
1432
|
'account_id': string;
|
|
2972
1433
|
/**
|
|
2973
1434
|
* ID of the event that triggered this transaction
|
|
2974
|
-
* @type {string}
|
|
2975
|
-
* @memberof CreditTransactionResp
|
|
2976
1435
|
*/
|
|
2977
1436
|
'event_id': string;
|
|
2978
1437
|
/**
|
|
2979
1438
|
* Type of the transaction
|
|
2980
|
-
* @type {TransactionType}
|
|
2981
|
-
* @memberof CreditTransactionResp
|
|
2982
1439
|
*/
|
|
2983
1440
|
'tx_type': TransactionType;
|
|
2984
1441
|
/**
|
|
2985
1442
|
* Whether this is a credit or debit transaction
|
|
2986
|
-
* @type {CreditDebit}
|
|
2987
|
-
* @memberof CreditTransactionResp
|
|
2988
1443
|
*/
|
|
2989
1444
|
'credit_debit': CreditDebit;
|
|
2990
1445
|
/**
|
|
2991
1446
|
* Amount of credits changed
|
|
2992
|
-
* @type {string}
|
|
2993
|
-
* @memberof CreditTransactionResp
|
|
2994
1447
|
*/
|
|
2995
1448
|
'change_amount'?: string;
|
|
2996
1449
|
/**
|
|
2997
1450
|
* Amount of free credits changed
|
|
2998
|
-
* @type {string}
|
|
2999
|
-
* @memberof CreditTransactionResp
|
|
3000
1451
|
*/
|
|
3001
1452
|
'free_amount'?: string;
|
|
3002
1453
|
/**
|
|
3003
1454
|
* Amount of reward credits changed
|
|
3004
|
-
* @type {string}
|
|
3005
|
-
* @memberof CreditTransactionResp
|
|
3006
1455
|
*/
|
|
3007
1456
|
'reward_amount'?: string;
|
|
3008
1457
|
/**
|
|
3009
1458
|
* Amount of permanent credits changed
|
|
3010
|
-
* @type {string}
|
|
3011
|
-
* @memberof CreditTransactionResp
|
|
3012
1459
|
*/
|
|
3013
1460
|
'permanent_amount'?: string;
|
|
3014
1461
|
/**
|
|
3015
1462
|
* Type of credits involved
|
|
3016
|
-
* @type {CreditType}
|
|
3017
|
-
* @memberof CreditTransactionResp
|
|
3018
1463
|
*/
|
|
3019
1464
|
'credit_type': CreditType;
|
|
3020
1465
|
/**
|
|
3021
1466
|
* Timestamp when this transaction was created
|
|
3022
|
-
* @type {string}
|
|
3023
|
-
* @memberof CreditTransactionResp
|
|
3024
1467
|
*/
|
|
3025
1468
|
'created_at': string;
|
|
3026
|
-
|
|
3027
|
-
*
|
|
3028
|
-
* @type {CreditEvent}
|
|
3029
|
-
* @memberof CreditTransactionResp
|
|
3030
|
-
*/
|
|
3031
|
-
'event'?: CreditEvent | null;
|
|
1469
|
+
'event'?: CreditEventOutput | null;
|
|
3032
1470
|
}
|
|
3033
1471
|
/**
|
|
3034
1472
|
* Paginated response model for credit transactions. Contains a list of credit transactions (with event data), a flag for more items, and a pagination cursor.
|
|
3035
|
-
* @export
|
|
3036
|
-
* @interface CreditTransactionsResponse
|
|
3037
1473
|
*/
|
|
3038
1474
|
export interface CreditTransactionsResponse {
|
|
3039
1475
|
/**
|
|
3040
1476
|
* List of credit transactions
|
|
3041
|
-
* @type {Array<CreditTransactionResp>}
|
|
3042
|
-
* @memberof CreditTransactionsResponse
|
|
3043
1477
|
*/
|
|
3044
|
-
'data': Array<
|
|
1478
|
+
'data': Array<CreditTransactionRespOutput>;
|
|
3045
1479
|
/**
|
|
3046
1480
|
* Indicates if there are more items
|
|
3047
|
-
* @type {boolean}
|
|
3048
|
-
* @memberof CreditTransactionsResponse
|
|
3049
1481
|
*/
|
|
3050
1482
|
'has_more': boolean;
|
|
3051
|
-
/**
|
|
3052
|
-
*
|
|
3053
|
-
* @type {string}
|
|
3054
|
-
* @memberof CreditTransactionsResponse
|
|
3055
|
-
*/
|
|
3056
1483
|
'next_cursor'?: string | null;
|
|
3057
1484
|
}
|
|
3058
1485
|
/**
|
|
3059
1486
|
* Credit type is used in db column names, do not change it.
|
|
3060
|
-
* @export
|
|
3061
|
-
* @enum {string}
|
|
3062
1487
|
*/
|
|
3063
1488
|
export declare const CreditType: {
|
|
3064
1489
|
readonly FreeCredits: "free_credits";
|
|
@@ -3068,8 +1493,6 @@ export declare const CreditType: {
|
|
|
3068
1493
|
export type CreditType = typeof CreditType[keyof typeof CreditType];
|
|
3069
1494
|
/**
|
|
3070
1495
|
* Direction of credit flow.
|
|
3071
|
-
* @export
|
|
3072
|
-
* @enum {string}
|
|
3073
1496
|
*/
|
|
3074
1497
|
export declare const Direction: {
|
|
3075
1498
|
readonly Income: "income";
|
|
@@ -3078,8 +1501,6 @@ export declare const Direction: {
|
|
|
3078
1501
|
export type Direction = typeof Direction[keyof typeof Direction];
|
|
3079
1502
|
/**
|
|
3080
1503
|
* Type of credit event.
|
|
3081
|
-
* @export
|
|
3082
|
-
* @enum {string}
|
|
3083
1504
|
*/
|
|
3084
1505
|
export declare const EventType: {
|
|
3085
1506
|
readonly Memory: "memory";
|
|
@@ -3097,269 +1518,200 @@ export declare const EventType: {
|
|
|
3097
1518
|
readonly RechargeBonus: "recharge_bonus";
|
|
3098
1519
|
};
|
|
3099
1520
|
export type EventType = typeof EventType[keyof typeof EventType];
|
|
1521
|
+
/**
|
|
1522
|
+
* Agent fee amount
|
|
1523
|
+
*/
|
|
1524
|
+
export interface FeeAgentAmount {
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* Agent fee amount from free credits
|
|
1528
|
+
*/
|
|
1529
|
+
export interface FeeAgentFreeAmount {
|
|
1530
|
+
}
|
|
1531
|
+
/**
|
|
1532
|
+
* Agent fee amount from permanent credits
|
|
1533
|
+
*/
|
|
1534
|
+
export interface FeeAgentPermanentAmount {
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* Agent fee amount from reward credits
|
|
1538
|
+
*/
|
|
1539
|
+
export interface FeeAgentRewardAmount {
|
|
1540
|
+
}
|
|
1541
|
+
/**
|
|
1542
|
+
* Developer fee amount
|
|
1543
|
+
*/
|
|
1544
|
+
export interface FeeDevAmount {
|
|
1545
|
+
}
|
|
1546
|
+
/**
|
|
1547
|
+
* Developer fee amount from free credits
|
|
1548
|
+
*/
|
|
1549
|
+
export interface FeeDevFreeAmount {
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
* Developer fee amount from permanent credits
|
|
1553
|
+
*/
|
|
1554
|
+
export interface FeeDevPermanentAmount {
|
|
1555
|
+
}
|
|
1556
|
+
/**
|
|
1557
|
+
* Developer fee amount from reward credits
|
|
1558
|
+
*/
|
|
1559
|
+
export interface FeeDevRewardAmount {
|
|
1560
|
+
}
|
|
3100
1561
|
/**
|
|
3101
1562
|
* Fee percentage of the agent
|
|
3102
|
-
* @export
|
|
3103
|
-
* @interface FeePercentage
|
|
3104
1563
|
*/
|
|
3105
1564
|
export interface FeePercentage {
|
|
3106
1565
|
}
|
|
1566
|
+
/**
|
|
1567
|
+
* Platform fee amount
|
|
1568
|
+
*/
|
|
1569
|
+
export interface FeePlatformAmount {
|
|
1570
|
+
}
|
|
1571
|
+
/**
|
|
1572
|
+
* Platform fee amount from free credits
|
|
1573
|
+
*/
|
|
1574
|
+
export interface FeePlatformFreeAmount {
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* Platform fee amount from permanent credits
|
|
1578
|
+
*/
|
|
1579
|
+
export interface FeePlatformPermanentAmount {
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* Platform fee amount from reward credits
|
|
1583
|
+
*/
|
|
1584
|
+
export interface FeePlatformRewardAmount {
|
|
1585
|
+
}
|
|
3107
1586
|
/**
|
|
3108
1587
|
* Response model for file upload.
|
|
3109
|
-
* @export
|
|
3110
|
-
* @interface FileUploadResponse
|
|
3111
1588
|
*/
|
|
3112
1589
|
export interface FileUploadResponse {
|
|
3113
1590
|
/**
|
|
3114
1591
|
* CDN URL of the uploaded file
|
|
3115
|
-
* @type {string}
|
|
3116
|
-
* @memberof FileUploadResponse
|
|
3117
1592
|
*/
|
|
3118
1593
|
'file_url': string;
|
|
3119
1594
|
/**
|
|
3120
1595
|
* Unique identifier for the uploaded file
|
|
3121
|
-
* @type {string}
|
|
3122
|
-
* @memberof FileUploadResponse
|
|
3123
1596
|
*/
|
|
3124
1597
|
'file_id': string;
|
|
3125
1598
|
}
|
|
1599
|
+
/**
|
|
1600
|
+
* Free credit amount involved
|
|
1601
|
+
*/
|
|
1602
|
+
export interface FreeAmount {
|
|
1603
|
+
}
|
|
1604
|
+
/**
|
|
1605
|
+
* Amount of free credits changed
|
|
1606
|
+
*/
|
|
1607
|
+
export interface FreeAmount1 {
|
|
1608
|
+
}
|
|
3126
1609
|
/**
|
|
3127
1610
|
* Response model for single generation detail.
|
|
3128
|
-
* @export
|
|
3129
|
-
* @interface GenerationDetailResponse
|
|
3130
1611
|
*/
|
|
3131
1612
|
export interface GenerationDetailResponse {
|
|
3132
1613
|
/**
|
|
3133
1614
|
* Project ID
|
|
3134
|
-
* @type {string}
|
|
3135
|
-
* @memberof GenerationDetailResponse
|
|
3136
1615
|
*/
|
|
3137
1616
|
'project_id': string;
|
|
3138
|
-
/**
|
|
3139
|
-
*
|
|
3140
|
-
* @type {string}
|
|
3141
|
-
* @memberof GenerationDetailResponse
|
|
3142
|
-
*/
|
|
3143
1617
|
'user_id'?: string | null;
|
|
3144
|
-
/**
|
|
3145
|
-
*
|
|
3146
|
-
* @type {string}
|
|
3147
|
-
* @memberof GenerationDetailResponse
|
|
3148
|
-
*/
|
|
3149
1618
|
'created_at'?: string | null;
|
|
3150
|
-
/**
|
|
3151
|
-
*
|
|
3152
|
-
* @type {string}
|
|
3153
|
-
* @memberof GenerationDetailResponse
|
|
3154
|
-
*/
|
|
3155
1619
|
'last_activity'?: string | null;
|
|
3156
1620
|
/**
|
|
3157
1621
|
* Number of messages in conversation
|
|
3158
|
-
* @type {number}
|
|
3159
|
-
* @memberof GenerationDetailResponse
|
|
3160
1622
|
*/
|
|
3161
1623
|
'message_count': number;
|
|
3162
|
-
/**
|
|
3163
|
-
*
|
|
3164
|
-
* @type {object}
|
|
3165
|
-
* @memberof GenerationDetailResponse
|
|
3166
|
-
*/
|
|
3167
1624
|
'last_message'?: object | null;
|
|
3168
|
-
/**
|
|
3169
|
-
*
|
|
3170
|
-
* @type {object}
|
|
3171
|
-
* @memberof GenerationDetailResponse
|
|
3172
|
-
*/
|
|
3173
1625
|
'first_message'?: object | null;
|
|
3174
1626
|
/**
|
|
3175
1627
|
* Full conversation history
|
|
3176
|
-
* @type {Array<object>}
|
|
3177
|
-
* @memberof GenerationDetailResponse
|
|
3178
1628
|
*/
|
|
3179
1629
|
'conversation_history': Array<object>;
|
|
3180
1630
|
}
|
|
3181
1631
|
/**
|
|
3182
1632
|
* Response model for generations list.
|
|
3183
|
-
* @export
|
|
3184
|
-
* @interface GenerationsListResponse
|
|
3185
1633
|
*/
|
|
3186
1634
|
export interface GenerationsListResponse {
|
|
3187
1635
|
/**
|
|
3188
1636
|
* List of recent projects with their conversation history
|
|
3189
|
-
* @type {Array<object>}
|
|
3190
|
-
* @memberof GenerationsListResponse
|
|
3191
1637
|
*/
|
|
3192
1638
|
'projects': Array<object>;
|
|
3193
1639
|
}
|
|
3194
|
-
/**
|
|
3195
|
-
*
|
|
3196
|
-
* @export
|
|
3197
|
-
* @interface HTTPValidationError
|
|
3198
|
-
*/
|
|
3199
1640
|
export interface HTTPValidationError {
|
|
3200
|
-
/**
|
|
3201
|
-
*
|
|
3202
|
-
* @type {Array<ValidationError>}
|
|
3203
|
-
* @memberof HTTPValidationError
|
|
3204
|
-
*/
|
|
3205
1641
|
'detail'?: Array<ValidationError>;
|
|
3206
1642
|
}
|
|
1643
|
+
export interface InputPrice {
|
|
1644
|
+
}
|
|
3207
1645
|
/**
|
|
3208
1646
|
* LLM model information with provider display name.
|
|
3209
|
-
* @export
|
|
3210
|
-
* @interface LLMModelInfoWithProviderName
|
|
3211
1647
|
*/
|
|
3212
|
-
export interface
|
|
3213
|
-
/**
|
|
3214
|
-
*
|
|
3215
|
-
* @type {string}
|
|
3216
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3217
|
-
*/
|
|
1648
|
+
export interface LLMModelInfoWithProviderNameInput {
|
|
3218
1649
|
'id': string;
|
|
3219
|
-
/**
|
|
3220
|
-
*
|
|
3221
|
-
* @type {string}
|
|
3222
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3223
|
-
*/
|
|
3224
1650
|
'name': string;
|
|
3225
|
-
/**
|
|
3226
|
-
*
|
|
3227
|
-
* @type {LLMProvider}
|
|
3228
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3229
|
-
*/
|
|
3230
1651
|
'provider': LLMProvider;
|
|
3231
|
-
/**
|
|
3232
|
-
*
|
|
3233
|
-
* @type {boolean}
|
|
3234
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3235
|
-
*/
|
|
3236
1652
|
'enabled'?: boolean;
|
|
1653
|
+
'input_price': InputPrice;
|
|
1654
|
+
'output_price': OutputPrice;
|
|
1655
|
+
'price_level'?: number | null;
|
|
1656
|
+
'context_length': number;
|
|
1657
|
+
'output_length': number;
|
|
1658
|
+
'intelligence': number;
|
|
1659
|
+
'speed': number;
|
|
1660
|
+
'supports_image_input'?: boolean;
|
|
1661
|
+
'supports_skill_calls'?: boolean;
|
|
1662
|
+
'supports_structured_output'?: boolean;
|
|
1663
|
+
'has_reasoning'?: boolean;
|
|
1664
|
+
'supports_search'?: boolean;
|
|
1665
|
+
'supports_temperature'?: boolean;
|
|
1666
|
+
'supports_frequency_penalty'?: boolean;
|
|
1667
|
+
'supports_presence_penalty'?: boolean;
|
|
1668
|
+
'api_base'?: string | null;
|
|
1669
|
+
'timeout'?: number;
|
|
3237
1670
|
/**
|
|
3238
|
-
*
|
|
3239
|
-
* @type {string}
|
|
3240
|
-
* @memberof LLMModelInfoWithProviderName
|
|
1671
|
+
* Timestamp when this data was created
|
|
3241
1672
|
*/
|
|
3242
|
-
'
|
|
1673
|
+
'created_at'?: string;
|
|
3243
1674
|
/**
|
|
3244
|
-
*
|
|
3245
|
-
* @type {string}
|
|
3246
|
-
* @memberof LLMModelInfoWithProviderName
|
|
1675
|
+
* Timestamp when this data was updated
|
|
3247
1676
|
*/
|
|
1677
|
+
'updated_at'?: string;
|
|
1678
|
+
'provider_name': string;
|
|
1679
|
+
}
|
|
1680
|
+
/**
|
|
1681
|
+
* LLM model information with provider display name.
|
|
1682
|
+
*/
|
|
1683
|
+
export interface LLMModelInfoWithProviderNameOutput {
|
|
1684
|
+
'id': string;
|
|
1685
|
+
'name': string;
|
|
1686
|
+
'provider': LLMProvider;
|
|
1687
|
+
'enabled'?: boolean;
|
|
1688
|
+
'input_price': string;
|
|
3248
1689
|
'output_price': string;
|
|
3249
|
-
/**
|
|
3250
|
-
*
|
|
3251
|
-
* @type {number}
|
|
3252
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3253
|
-
*/
|
|
3254
1690
|
'price_level'?: number | null;
|
|
3255
|
-
/**
|
|
3256
|
-
*
|
|
3257
|
-
* @type {number}
|
|
3258
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3259
|
-
*/
|
|
3260
1691
|
'context_length': number;
|
|
3261
|
-
/**
|
|
3262
|
-
*
|
|
3263
|
-
* @type {number}
|
|
3264
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3265
|
-
*/
|
|
3266
1692
|
'output_length': number;
|
|
3267
|
-
/**
|
|
3268
|
-
*
|
|
3269
|
-
* @type {number}
|
|
3270
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3271
|
-
*/
|
|
3272
1693
|
'intelligence': number;
|
|
3273
|
-
/**
|
|
3274
|
-
*
|
|
3275
|
-
* @type {number}
|
|
3276
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3277
|
-
*/
|
|
3278
1694
|
'speed': number;
|
|
3279
|
-
/**
|
|
3280
|
-
*
|
|
3281
|
-
* @type {boolean}
|
|
3282
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3283
|
-
*/
|
|
3284
1695
|
'supports_image_input'?: boolean;
|
|
3285
|
-
/**
|
|
3286
|
-
*
|
|
3287
|
-
* @type {boolean}
|
|
3288
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3289
|
-
*/
|
|
3290
1696
|
'supports_skill_calls'?: boolean;
|
|
3291
|
-
/**
|
|
3292
|
-
*
|
|
3293
|
-
* @type {boolean}
|
|
3294
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3295
|
-
*/
|
|
3296
1697
|
'supports_structured_output'?: boolean;
|
|
3297
|
-
/**
|
|
3298
|
-
*
|
|
3299
|
-
* @type {boolean}
|
|
3300
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3301
|
-
*/
|
|
3302
1698
|
'has_reasoning'?: boolean;
|
|
3303
|
-
/**
|
|
3304
|
-
*
|
|
3305
|
-
* @type {boolean}
|
|
3306
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3307
|
-
*/
|
|
3308
1699
|
'supports_search'?: boolean;
|
|
3309
|
-
/**
|
|
3310
|
-
*
|
|
3311
|
-
* @type {boolean}
|
|
3312
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3313
|
-
*/
|
|
3314
1700
|
'supports_temperature'?: boolean;
|
|
3315
|
-
/**
|
|
3316
|
-
*
|
|
3317
|
-
* @type {boolean}
|
|
3318
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3319
|
-
*/
|
|
3320
1701
|
'supports_frequency_penalty'?: boolean;
|
|
3321
|
-
/**
|
|
3322
|
-
*
|
|
3323
|
-
* @type {boolean}
|
|
3324
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3325
|
-
*/
|
|
3326
1702
|
'supports_presence_penalty'?: boolean;
|
|
3327
|
-
/**
|
|
3328
|
-
*
|
|
3329
|
-
* @type {string}
|
|
3330
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3331
|
-
*/
|
|
3332
1703
|
'api_base'?: string | null;
|
|
3333
|
-
/**
|
|
3334
|
-
*
|
|
3335
|
-
* @type {number}
|
|
3336
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3337
|
-
*/
|
|
3338
1704
|
'timeout'?: number;
|
|
3339
1705
|
/**
|
|
3340
1706
|
* Timestamp when this data was created
|
|
3341
|
-
* @type {string}
|
|
3342
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3343
1707
|
*/
|
|
3344
1708
|
'created_at'?: string;
|
|
3345
1709
|
/**
|
|
3346
1710
|
* Timestamp when this data was updated
|
|
3347
|
-
* @type {string}
|
|
3348
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3349
1711
|
*/
|
|
3350
1712
|
'updated_at'?: string;
|
|
3351
|
-
/**
|
|
3352
|
-
*
|
|
3353
|
-
* @type {string}
|
|
3354
|
-
* @memberof LLMModelInfoWithProviderName
|
|
3355
|
-
*/
|
|
3356
1713
|
'provider_name': string;
|
|
3357
1714
|
}
|
|
3358
|
-
/**
|
|
3359
|
-
*
|
|
3360
|
-
* @export
|
|
3361
|
-
* @enum {string}
|
|
3362
|
-
*/
|
|
3363
1715
|
export declare const LLMProvider: {
|
|
3364
1716
|
readonly Openai: "openai";
|
|
3365
1717
|
readonly Deepseek: "deepseek";
|
|
@@ -3370,10 +1722,10 @@ export declare const LLMProvider: {
|
|
|
3370
1722
|
readonly Venice: "venice";
|
|
3371
1723
|
};
|
|
3372
1724
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
1725
|
+
export interface OutputPrice {
|
|
1726
|
+
}
|
|
3373
1727
|
/**
|
|
3374
1728
|
* Type of credit account owner.
|
|
3375
|
-
* @export
|
|
3376
|
-
* @enum {string}
|
|
3377
1729
|
*/
|
|
3378
1730
|
export declare const OwnerType: {
|
|
3379
1731
|
readonly User: "user";
|
|
@@ -3381,89 +1733,108 @@ export declare const OwnerType: {
|
|
|
3381
1733
|
readonly Platform: "platform";
|
|
3382
1734
|
};
|
|
3383
1735
|
export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
|
|
1736
|
+
/**
|
|
1737
|
+
* Permanent credit amount involved
|
|
1738
|
+
*/
|
|
1739
|
+
export interface PermanentAmount {
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Amount of permanent credits changed
|
|
1743
|
+
*/
|
|
1744
|
+
export interface PermanentAmount1 {
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
* Price for this skill
|
|
1748
|
+
*/
|
|
1749
|
+
export interface Price {
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Price for this skill with self key
|
|
1753
|
+
*/
|
|
1754
|
+
export interface PriceSelfKey {
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* Reward credit amount involved
|
|
1758
|
+
*/
|
|
1759
|
+
export interface RewardAmount {
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Amount of reward credits changed
|
|
1763
|
+
*/
|
|
1764
|
+
export interface RewardAmount1 {
|
|
1765
|
+
}
|
|
3384
1766
|
/**
|
|
3385
1767
|
* Pydantic model for Skill.
|
|
3386
|
-
* @export
|
|
3387
|
-
* @interface Skill
|
|
3388
1768
|
*/
|
|
3389
|
-
export interface
|
|
1769
|
+
export interface SkillInput {
|
|
3390
1770
|
/**
|
|
3391
1771
|
* Name of the skill
|
|
3392
|
-
* @type {string}
|
|
3393
|
-
* @memberof Skill
|
|
3394
1772
|
*/
|
|
3395
1773
|
'name': string;
|
|
3396
1774
|
/**
|
|
3397
1775
|
* Is this skill enabled?
|
|
3398
|
-
* @type {boolean}
|
|
3399
|
-
* @memberof Skill
|
|
3400
1776
|
*/
|
|
3401
1777
|
'enabled': boolean;
|
|
3402
1778
|
/**
|
|
3403
1779
|
* Category of the skill
|
|
3404
|
-
* @type {string}
|
|
3405
|
-
* @memberof Skill
|
|
3406
1780
|
*/
|
|
3407
1781
|
'category': string;
|
|
1782
|
+
'config_name': string | null;
|
|
1783
|
+
'price_level': number | null;
|
|
1784
|
+
'price'?: Price;
|
|
1785
|
+
'price_self_key'?: PriceSelfKey;
|
|
1786
|
+
'rate_limit_count': number | null;
|
|
1787
|
+
'rate_limit_minutes': number | null;
|
|
1788
|
+
'author': string | null;
|
|
3408
1789
|
/**
|
|
3409
|
-
*
|
|
3410
|
-
* @type {string}
|
|
3411
|
-
* @memberof Skill
|
|
1790
|
+
* Timestamp when this record was created
|
|
3412
1791
|
*/
|
|
3413
|
-
'
|
|
1792
|
+
'created_at': string;
|
|
1793
|
+
/**
|
|
1794
|
+
* Timestamp when this record was last updated
|
|
1795
|
+
*/
|
|
1796
|
+
'updated_at': string;
|
|
1797
|
+
}
|
|
1798
|
+
/**
|
|
1799
|
+
* Pydantic model for Skill.
|
|
1800
|
+
*/
|
|
1801
|
+
export interface SkillOutput {
|
|
1802
|
+
/**
|
|
1803
|
+
* Name of the skill
|
|
1804
|
+
*/
|
|
1805
|
+
'name': string;
|
|
1806
|
+
/**
|
|
1807
|
+
* Is this skill enabled?
|
|
1808
|
+
*/
|
|
1809
|
+
'enabled': boolean;
|
|
3414
1810
|
/**
|
|
3415
|
-
*
|
|
3416
|
-
* @type {number}
|
|
3417
|
-
* @memberof Skill
|
|
1811
|
+
* Category of the skill
|
|
3418
1812
|
*/
|
|
1813
|
+
'category': string;
|
|
1814
|
+
'config_name': string | null;
|
|
3419
1815
|
'price_level': number | null;
|
|
3420
1816
|
/**
|
|
3421
1817
|
* Price for this skill
|
|
3422
|
-
* @type {string}
|
|
3423
|
-
* @memberof Skill
|
|
3424
1818
|
*/
|
|
3425
1819
|
'price'?: string;
|
|
3426
1820
|
/**
|
|
3427
1821
|
* Price for this skill with self key
|
|
3428
|
-
* @type {string}
|
|
3429
|
-
* @memberof Skill
|
|
3430
1822
|
*/
|
|
3431
1823
|
'price_self_key'?: string;
|
|
3432
|
-
/**
|
|
3433
|
-
*
|
|
3434
|
-
* @type {number}
|
|
3435
|
-
* @memberof Skill
|
|
3436
|
-
*/
|
|
3437
1824
|
'rate_limit_count': number | null;
|
|
3438
|
-
/**
|
|
3439
|
-
*
|
|
3440
|
-
* @type {number}
|
|
3441
|
-
* @memberof Skill
|
|
3442
|
-
*/
|
|
3443
1825
|
'rate_limit_minutes': number | null;
|
|
3444
|
-
/**
|
|
3445
|
-
*
|
|
3446
|
-
* @type {string}
|
|
3447
|
-
* @memberof Skill
|
|
3448
|
-
*/
|
|
3449
1826
|
'author': string | null;
|
|
3450
1827
|
/**
|
|
3451
1828
|
* Timestamp when this record was created
|
|
3452
|
-
* @type {string}
|
|
3453
|
-
* @memberof Skill
|
|
3454
1829
|
*/
|
|
3455
1830
|
'created_at': string;
|
|
3456
1831
|
/**
|
|
3457
1832
|
* Timestamp when this record was last updated
|
|
3458
|
-
* @type {string}
|
|
3459
|
-
* @memberof Skill
|
|
3460
1833
|
*/
|
|
3461
1834
|
'updated_at': string;
|
|
3462
1835
|
}
|
|
3463
1836
|
/**
|
|
3464
1837
|
* Type of system message.
|
|
3465
|
-
* @export
|
|
3466
|
-
* @enum {string}
|
|
3467
1838
|
*/
|
|
3468
1839
|
export declare const SystemMessageType: {
|
|
3469
1840
|
readonly ServiceFeeError: "service_fee_error";
|
|
@@ -3476,161 +1847,121 @@ export declare const SystemMessageType: {
|
|
|
3476
1847
|
export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMessageType];
|
|
3477
1848
|
/**
|
|
3478
1849
|
* Metadata tag model.
|
|
3479
|
-
* @export
|
|
3480
|
-
* @interface Tag
|
|
3481
1850
|
*/
|
|
3482
1851
|
export interface Tag {
|
|
3483
1852
|
/**
|
|
3484
1853
|
* Unique identifier for the tag
|
|
3485
|
-
* @type {number}
|
|
3486
|
-
* @memberof Tag
|
|
3487
1854
|
*/
|
|
3488
1855
|
'id': number;
|
|
3489
|
-
/**
|
|
3490
|
-
*
|
|
3491
|
-
* @type {string}
|
|
3492
|
-
* @memberof Tag
|
|
3493
|
-
*/
|
|
3494
1856
|
'name'?: string | null;
|
|
3495
|
-
/**
|
|
3496
|
-
*
|
|
3497
|
-
* @type {string}
|
|
3498
|
-
* @memberof Tag
|
|
3499
|
-
*/
|
|
3500
1857
|
'description'?: string | null;
|
|
3501
|
-
/**
|
|
3502
|
-
*
|
|
3503
|
-
* @type {string}
|
|
3504
|
-
* @memberof Tag
|
|
3505
|
-
*/
|
|
3506
1858
|
'created_at'?: string | null;
|
|
3507
|
-
/**
|
|
3508
|
-
*
|
|
3509
|
-
* @type {string}
|
|
3510
|
-
* @memberof Tag
|
|
3511
|
-
*/
|
|
3512
1859
|
'category'?: string | null;
|
|
3513
1860
|
}
|
|
3514
1861
|
/**
|
|
3515
1862
|
* Top-up record fetched from Supabase.
|
|
3516
|
-
* @export
|
|
3517
|
-
* @interface TopupRecord
|
|
3518
1863
|
*/
|
|
3519
|
-
export interface
|
|
1864
|
+
export interface TopupRecordInput {
|
|
3520
1865
|
/**
|
|
3521
1866
|
* Transaction hash of the top-up
|
|
3522
|
-
* @type {string}
|
|
3523
|
-
* @memberof TopupRecord
|
|
3524
1867
|
*/
|
|
3525
1868
|
'tx_hash': string;
|
|
3526
1869
|
/**
|
|
3527
1870
|
* Log index within the transaction
|
|
3528
|
-
* @type {number}
|
|
3529
|
-
* @memberof TopupRecord
|
|
3530
1871
|
*/
|
|
3531
1872
|
'log_index': number;
|
|
3532
1873
|
/**
|
|
3533
1874
|
* Blockchain network identifier
|
|
3534
|
-
* @type {number}
|
|
3535
|
-
* @memberof TopupRecord
|
|
3536
1875
|
*/
|
|
3537
1876
|
'chain_id': number;
|
|
3538
1877
|
/**
|
|
3539
1878
|
* Block number containing the top-up
|
|
3540
|
-
* @type {number}
|
|
3541
|
-
* @memberof TopupRecord
|
|
3542
1879
|
*/
|
|
3543
1880
|
'block_number': number;
|
|
3544
|
-
/**
|
|
3545
|
-
*
|
|
3546
|
-
* @type {string}
|
|
3547
|
-
* @memberof TopupRecord
|
|
3548
|
-
*/
|
|
3549
1881
|
'block_time'?: string | null;
|
|
3550
1882
|
/**
|
|
3551
1883
|
* Address that initiated the top-up
|
|
3552
|
-
* @type {string}
|
|
3553
|
-
* @memberof TopupRecord
|
|
3554
1884
|
*/
|
|
3555
1885
|
'payer_address': string;
|
|
3556
1886
|
/**
|
|
3557
1887
|
* Beneficiary address for the top-up
|
|
3558
|
-
* @type {string}
|
|
3559
|
-
* @memberof TopupRecord
|
|
3560
1888
|
*/
|
|
3561
1889
|
'to_address': string;
|
|
3562
1890
|
/**
|
|
3563
1891
|
* Token contract used for the top-up
|
|
3564
|
-
* @type {string}
|
|
3565
|
-
* @memberof TopupRecord
|
|
3566
1892
|
*/
|
|
3567
1893
|
'token_address': string;
|
|
1894
|
+
'amount': Amount;
|
|
1895
|
+
'contract_address'?: string | null;
|
|
1896
|
+
'inserted_at'?: string | null;
|
|
1897
|
+
'credit_event_id'?: string | null;
|
|
1898
|
+
'credit_event_at'?: string | null;
|
|
1899
|
+
'credit_amount'?: CreditAmount | null;
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* Top-up record fetched from Supabase.
|
|
1903
|
+
*/
|
|
1904
|
+
export interface TopupRecordOutput {
|
|
3568
1905
|
/**
|
|
3569
|
-
*
|
|
3570
|
-
* @type {string}
|
|
3571
|
-
* @memberof TopupRecord
|
|
1906
|
+
* Transaction hash of the top-up
|
|
3572
1907
|
*/
|
|
3573
|
-
'
|
|
1908
|
+
'tx_hash': string;
|
|
3574
1909
|
/**
|
|
3575
|
-
*
|
|
3576
|
-
* @type {string}
|
|
3577
|
-
* @memberof TopupRecord
|
|
1910
|
+
* Log index within the transaction
|
|
3578
1911
|
*/
|
|
3579
|
-
'
|
|
1912
|
+
'log_index': number;
|
|
3580
1913
|
/**
|
|
3581
|
-
*
|
|
3582
|
-
* @type {string}
|
|
3583
|
-
* @memberof TopupRecord
|
|
1914
|
+
* Blockchain network identifier
|
|
3584
1915
|
*/
|
|
3585
|
-
'
|
|
1916
|
+
'chain_id': number;
|
|
3586
1917
|
/**
|
|
3587
|
-
*
|
|
3588
|
-
* @type {string}
|
|
3589
|
-
* @memberof TopupRecord
|
|
1918
|
+
* Block number containing the top-up
|
|
3590
1919
|
*/
|
|
3591
|
-
'
|
|
1920
|
+
'block_number': number;
|
|
1921
|
+
'block_time'?: string | null;
|
|
3592
1922
|
/**
|
|
3593
|
-
*
|
|
3594
|
-
* @type {string}
|
|
3595
|
-
* @memberof TopupRecord
|
|
1923
|
+
* Address that initiated the top-up
|
|
3596
1924
|
*/
|
|
3597
|
-
'
|
|
1925
|
+
'payer_address': string;
|
|
3598
1926
|
/**
|
|
3599
|
-
*
|
|
3600
|
-
* @type {string}
|
|
3601
|
-
* @memberof TopupRecord
|
|
1927
|
+
* Beneficiary address for the top-up
|
|
3602
1928
|
*/
|
|
1929
|
+
'to_address': string;
|
|
1930
|
+
/**
|
|
1931
|
+
* Token contract used for the top-up
|
|
1932
|
+
*/
|
|
1933
|
+
'token_address': string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Token amount in raw units
|
|
1936
|
+
*/
|
|
1937
|
+
'amount': string;
|
|
1938
|
+
'contract_address'?: string | null;
|
|
1939
|
+
'inserted_at'?: string | null;
|
|
1940
|
+
'credit_event_id'?: string | null;
|
|
1941
|
+
'credit_event_at'?: string | null;
|
|
3603
1942
|
'credit_amount'?: string | null;
|
|
3604
1943
|
}
|
|
3605
1944
|
/**
|
|
3606
1945
|
* Paginated response model for Supabase top-up records.
|
|
3607
|
-
* @export
|
|
3608
|
-
* @interface TopupRecordsResponse
|
|
3609
1946
|
*/
|
|
3610
1947
|
export interface TopupRecordsResponse {
|
|
3611
1948
|
/**
|
|
3612
1949
|
* List of top-up records
|
|
3613
|
-
* @type {Array<TopupRecord>}
|
|
3614
|
-
* @memberof TopupRecordsResponse
|
|
3615
1950
|
*/
|
|
3616
|
-
'data': Array<
|
|
1951
|
+
'data': Array<TopupRecordOutput>;
|
|
3617
1952
|
/**
|
|
3618
1953
|
* Indicates if there are more records available
|
|
3619
|
-
* @type {boolean}
|
|
3620
|
-
* @memberof TopupRecordsResponse
|
|
3621
1954
|
*/
|
|
3622
1955
|
'has_more': boolean;
|
|
3623
|
-
/**
|
|
3624
|
-
*
|
|
3625
|
-
* @type {string}
|
|
3626
|
-
* @memberof TopupRecordsResponse
|
|
3627
|
-
*/
|
|
3628
1956
|
'next_cursor'?: string | null;
|
|
3629
1957
|
}
|
|
1958
|
+
/**
|
|
1959
|
+
* Total amount (after discount) of credits involved
|
|
1960
|
+
*/
|
|
1961
|
+
export interface TotalAmount {
|
|
1962
|
+
}
|
|
3630
1963
|
/**
|
|
3631
1964
|
* Type of credit transaction.
|
|
3632
|
-
* @export
|
|
3633
|
-
* @enum {string}
|
|
3634
1965
|
*/
|
|
3635
1966
|
export declare const TransactionType: {
|
|
3636
1967
|
readonly Pay: "pay";
|
|
@@ -3652,29 +1983,12 @@ export declare const TransactionType: {
|
|
|
3652
1983
|
readonly RechargeBonus: "recharge_bonus";
|
|
3653
1984
|
};
|
|
3654
1985
|
export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
|
|
3655
|
-
/**
|
|
3656
|
-
*
|
|
3657
|
-
* @export
|
|
3658
|
-
* @interface TwitterAuthResponse
|
|
3659
|
-
*/
|
|
3660
1986
|
export interface TwitterAuthResponse {
|
|
3661
|
-
/**
|
|
3662
|
-
*
|
|
3663
|
-
* @type {string}
|
|
3664
|
-
* @memberof TwitterAuthResponse
|
|
3665
|
-
*/
|
|
3666
1987
|
'agent_id': string;
|
|
3667
|
-
/**
|
|
3668
|
-
*
|
|
3669
|
-
* @type {string}
|
|
3670
|
-
* @memberof TwitterAuthResponse
|
|
3671
|
-
*/
|
|
3672
1988
|
'url': string;
|
|
3673
1989
|
}
|
|
3674
1990
|
/**
|
|
3675
1991
|
* Type of upstream transaction.
|
|
3676
|
-
* @export
|
|
3677
|
-
* @enum {string}
|
|
3678
1992
|
*/
|
|
3679
1993
|
export declare const UpstreamType: {
|
|
3680
1994
|
readonly Api: "api";
|
|
@@ -3685,131 +1999,57 @@ export declare const UpstreamType: {
|
|
|
3685
1999
|
export type UpstreamType = typeof UpstreamType[keyof typeof UpstreamType];
|
|
3686
2000
|
/**
|
|
3687
2001
|
* Extended user model with all fields including id and timestamps.
|
|
3688
|
-
* @export
|
|
3689
|
-
* @interface User
|
|
3690
2002
|
*/
|
|
3691
2003
|
export interface User {
|
|
3692
2004
|
/**
|
|
3693
2005
|
* Number of NFTs owned by the user
|
|
3694
|
-
* @type {number}
|
|
3695
|
-
* @memberof User
|
|
3696
2006
|
*/
|
|
3697
2007
|
'nft_count'?: number;
|
|
3698
|
-
/**
|
|
3699
|
-
*
|
|
3700
|
-
* @type {string}
|
|
3701
|
-
* @memberof User
|
|
3702
|
-
*/
|
|
3703
2008
|
'email'?: string | null;
|
|
3704
|
-
/**
|
|
3705
|
-
*
|
|
3706
|
-
* @type {string}
|
|
3707
|
-
* @memberof User
|
|
3708
|
-
*/
|
|
3709
2009
|
'x_username'?: string | null;
|
|
3710
|
-
/**
|
|
3711
|
-
*
|
|
3712
|
-
* @type {string}
|
|
3713
|
-
* @memberof User
|
|
3714
|
-
*/
|
|
3715
2010
|
'github_username'?: string | null;
|
|
3716
|
-
/**
|
|
3717
|
-
*
|
|
3718
|
-
* @type {string}
|
|
3719
|
-
* @memberof User
|
|
3720
|
-
*/
|
|
3721
2011
|
'telegram_username'?: string | null;
|
|
3722
|
-
/**
|
|
3723
|
-
*
|
|
3724
|
-
* @type {object}
|
|
3725
|
-
* @memberof User
|
|
3726
|
-
*/
|
|
3727
2012
|
'extra'?: object | null;
|
|
3728
2013
|
/**
|
|
3729
2014
|
* Unique identifier for the user
|
|
3730
|
-
* @type {string}
|
|
3731
|
-
* @memberof User
|
|
3732
2015
|
*/
|
|
3733
2016
|
'id': string;
|
|
3734
2017
|
/**
|
|
3735
2018
|
* Timestamp when this user was created
|
|
3736
|
-
* @type {string}
|
|
3737
|
-
* @memberof User
|
|
3738
2019
|
*/
|
|
3739
2020
|
'created_at': string;
|
|
3740
2021
|
/**
|
|
3741
2022
|
* Timestamp when this user was last updated
|
|
3742
|
-
* @type {string}
|
|
3743
|
-
* @memberof User
|
|
3744
2023
|
*/
|
|
3745
2024
|
'updated_at': string;
|
|
3746
2025
|
/**
|
|
3747
2026
|
* Maximum number of agents user can create
|
|
3748
|
-
* @type {number}
|
|
3749
|
-
* @memberof User
|
|
3750
2027
|
*/
|
|
3751
2028
|
'agent_limit'?: number;
|
|
3752
2029
|
}
|
|
3753
2030
|
/**
|
|
3754
2031
|
* Paginated response model for user agents list. Contains a list of Agent objects, a flag indicating if more items are available, and a cursor for pagination.
|
|
3755
|
-
* @export
|
|
3756
|
-
* @interface UserAgentListResponse
|
|
3757
2032
|
*/
|
|
3758
2033
|
export interface UserAgentListResponse {
|
|
3759
2034
|
/**
|
|
3760
2035
|
* List of agents
|
|
3761
|
-
* @type {Array<Agent>}
|
|
3762
|
-
* @memberof UserAgentListResponse
|
|
3763
2036
|
*/
|
|
3764
2037
|
'data': Array<Agent>;
|
|
3765
2038
|
/**
|
|
3766
2039
|
* Indicates if there are more items
|
|
3767
|
-
* @type {boolean}
|
|
3768
|
-
* @memberof UserAgentListResponse
|
|
3769
2040
|
*/
|
|
3770
2041
|
'has_more': boolean;
|
|
3771
|
-
/**
|
|
3772
|
-
*
|
|
3773
|
-
* @type {string}
|
|
3774
|
-
* @memberof UserAgentListResponse
|
|
3775
|
-
*/
|
|
3776
2042
|
'next_cursor'?: string | null;
|
|
3777
2043
|
}
|
|
3778
|
-
/**
|
|
3779
|
-
*
|
|
3780
|
-
* @export
|
|
3781
|
-
* @interface ValidationError
|
|
3782
|
-
*/
|
|
3783
2044
|
export interface ValidationError {
|
|
3784
|
-
/**
|
|
3785
|
-
*
|
|
3786
|
-
* @type {Array<ValidationErrorLocInner>}
|
|
3787
|
-
* @memberof ValidationError
|
|
3788
|
-
*/
|
|
3789
2045
|
'loc': Array<ValidationErrorLocInner>;
|
|
3790
|
-
/**
|
|
3791
|
-
*
|
|
3792
|
-
* @type {string}
|
|
3793
|
-
* @memberof ValidationError
|
|
3794
|
-
*/
|
|
3795
2046
|
'msg': string;
|
|
3796
|
-
/**
|
|
3797
|
-
*
|
|
3798
|
-
* @type {string}
|
|
3799
|
-
* @memberof ValidationError
|
|
3800
|
-
*/
|
|
3801
2047
|
'type': string;
|
|
3802
2048
|
}
|
|
3803
|
-
/**
|
|
3804
|
-
*
|
|
3805
|
-
* @export
|
|
3806
|
-
* @interface ValidationErrorLocInner
|
|
3807
|
-
*/
|
|
3808
2049
|
export interface ValidationErrorLocInner {
|
|
3809
2050
|
}
|
|
3810
2051
|
/**
|
|
3811
2052
|
* AgentApi - axios parameter creator
|
|
3812
|
-
* @export
|
|
3813
2053
|
*/
|
|
3814
2054
|
export declare const AgentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3815
2055
|
/**
|
|
@@ -3829,7 +2069,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3829
2069
|
*/
|
|
3830
2070
|
exportAgent: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3831
2071
|
/**
|
|
3832
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `
|
|
2072
|
+
* Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
|
|
3833
2073
|
* @summary Get Agent
|
|
3834
2074
|
* @param {string} agentId ID of the agent to retrieve
|
|
3835
2075
|
* @param {*} [options] Override http request option.
|
|
@@ -3953,7 +2193,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3953
2193
|
};
|
|
3954
2194
|
/**
|
|
3955
2195
|
* AgentApi - functional programming interface
|
|
3956
|
-
* @export
|
|
3957
2196
|
*/
|
|
3958
2197
|
export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
3959
2198
|
/**
|
|
@@ -3973,7 +2212,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
3973
2212
|
*/
|
|
3974
2213
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
3975
2214
|
/**
|
|
3976
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `
|
|
2215
|
+
* Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
|
|
3977
2216
|
* @summary Get Agent
|
|
3978
2217
|
* @param {string} agentId ID of the agent to retrieve
|
|
3979
2218
|
* @param {*} [options] Override http request option.
|
|
@@ -4097,7 +2336,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
4097
2336
|
};
|
|
4098
2337
|
/**
|
|
4099
2338
|
* AgentApi - factory interface
|
|
4100
|
-
* @export
|
|
4101
2339
|
*/
|
|
4102
2340
|
export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4103
2341
|
/**
|
|
@@ -4117,7 +2355,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4117
2355
|
*/
|
|
4118
2356
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
4119
2357
|
/**
|
|
4120
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `
|
|
2358
|
+
* Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
|
|
4121
2359
|
* @summary Get Agent
|
|
4122
2360
|
* @param {string} agentId ID of the agent to retrieve
|
|
4123
2361
|
* @param {*} [options] Override http request option.
|
|
@@ -4241,9 +2479,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4241
2479
|
};
|
|
4242
2480
|
/**
|
|
4243
2481
|
* AgentApi - object-oriented interface
|
|
4244
|
-
* @export
|
|
4245
|
-
* @class AgentApi
|
|
4246
|
-
* @extends {BaseAPI}
|
|
4247
2482
|
*/
|
|
4248
2483
|
export declare class AgentApi extends BaseAPI {
|
|
4249
2484
|
/**
|
|
@@ -4252,7 +2487,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4252
2487
|
* @param {AgentUpdate} [agentUpdate]
|
|
4253
2488
|
* @param {*} [options] Override http request option.
|
|
4254
2489
|
* @throws {RequiredError}
|
|
4255
|
-
* @memberof AgentApi
|
|
4256
2490
|
*/
|
|
4257
2491
|
createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
4258
2492
|
/**
|
|
@@ -4261,16 +2495,14 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4261
2495
|
* @param {string} agentId ID of the agent to export
|
|
4262
2496
|
* @param {*} [options] Override http request option.
|
|
4263
2497
|
* @throws {RequiredError}
|
|
4264
|
-
* @memberof AgentApi
|
|
4265
2498
|
*/
|
|
4266
2499
|
exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4267
2500
|
/**
|
|
4268
|
-
* Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `
|
|
2501
|
+
* Get a single agent by ID or slug. **Path Parameters:** * `agent_id` - ID or slug of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `IntentKitAPIError`: - 404: Agent not found
|
|
4269
2502
|
* @summary Get Agent
|
|
4270
2503
|
* @param {string} agentId ID of the agent to retrieve
|
|
4271
2504
|
* @param {*} [options] Override http request option.
|
|
4272
2505
|
* @throws {RequiredError}
|
|
4273
|
-
* @memberof AgentApi
|
|
4274
2506
|
*/
|
|
4275
2507
|
getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
4276
2508
|
/**
|
|
@@ -4279,7 +2511,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4279
2511
|
* @param {string} agentId ID of the agent
|
|
4280
2512
|
* @param {*} [options] Override http request option.
|
|
4281
2513
|
* @throws {RequiredError}
|
|
4282
|
-
* @memberof AgentApi
|
|
4283
2514
|
*/
|
|
4284
2515
|
getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
|
|
4285
2516
|
/**
|
|
@@ -4288,7 +2519,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4288
2519
|
* @param {string} agentId ID of the agent
|
|
4289
2520
|
* @param {*} [options] Override http request option.
|
|
4290
2521
|
* @throws {RequiredError}
|
|
4291
|
-
* @memberof AgentApi
|
|
4292
2522
|
*/
|
|
4293
2523
|
getAgentAssets(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentAssetsResponse, any, {}>>;
|
|
4294
2524
|
/**
|
|
@@ -4297,7 +2527,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4297
2527
|
* @param {string} aid ID of the agent
|
|
4298
2528
|
* @param {*} [options] Override http request option.
|
|
4299
2529
|
* @throws {RequiredError}
|
|
4300
|
-
* @memberof AgentApi
|
|
4301
2530
|
*/
|
|
4302
2531
|
getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatistics, any, {}>>;
|
|
4303
2532
|
/**
|
|
@@ -4310,7 +2539,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4310
2539
|
* @param {Array<number> | null} [tag] Filter agents by tag IDs in public_extra.tags
|
|
4311
2540
|
* @param {*} [options] Override http request option.
|
|
4312
2541
|
* @throws {RequiredError}
|
|
4313
|
-
* @memberof AgentApi
|
|
4314
2542
|
*/
|
|
4315
2543
|
getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, state?: AgentState | null, tag?: Array<number> | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
|
|
4316
2544
|
/**
|
|
@@ -4321,7 +2549,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4321
2549
|
* @param {number} [limit] Maximum number of messages to return
|
|
4322
2550
|
* @param {*} [options] Override http request option.
|
|
4323
2551
|
* @throws {RequiredError}
|
|
4324
|
-
* @memberof AgentApi
|
|
4325
2552
|
*/
|
|
4326
2553
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4327
2554
|
/**
|
|
@@ -4331,7 +2558,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4331
2558
|
* @param {File} file YAML file containing agent configuration
|
|
4332
2559
|
* @param {*} [options] Override http request option.
|
|
4333
2560
|
* @throws {RequiredError}
|
|
4334
|
-
* @memberof AgentApi
|
|
4335
2561
|
*/
|
|
4336
2562
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
|
|
4337
2563
|
/**
|
|
@@ -4341,7 +2567,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4341
2567
|
* @param {AgentUpdate} [agentUpdate]
|
|
4342
2568
|
* @param {*} [options] Override http request option.
|
|
4343
2569
|
* @throws {RequiredError}
|
|
4344
|
-
* @memberof AgentApi
|
|
4345
2570
|
*/
|
|
4346
2571
|
overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
|
|
4347
2572
|
/**
|
|
@@ -4351,7 +2576,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4351
2576
|
* @param {AgentPublicInfo} [agentPublicInfo]
|
|
4352
2577
|
* @param {*} [options] Override http request option.
|
|
4353
2578
|
* @throws {RequiredError}
|
|
4354
|
-
* @memberof AgentApi
|
|
4355
2579
|
*/
|
|
4356
2580
|
overrideAgentPublicInfo(agentId: string, agentPublicInfo?: AgentPublicInfo, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
4357
2581
|
/**
|
|
@@ -4360,7 +2584,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4360
2584
|
* @param {string} agentId ID of the agent to publish
|
|
4361
2585
|
* @param {*} [options] Override http request option.
|
|
4362
2586
|
* @throws {RequiredError}
|
|
4363
|
-
* @memberof AgentApi
|
|
4364
2587
|
*/
|
|
4365
2588
|
publishAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
4366
2589
|
/**
|
|
@@ -4369,7 +2592,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4369
2592
|
* @param {string} agentId ID of the agent
|
|
4370
2593
|
* @param {*} [options] Override http request option.
|
|
4371
2594
|
* @throws {RequiredError}
|
|
4372
|
-
* @memberof AgentApi
|
|
4373
2595
|
*/
|
|
4374
2596
|
resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
|
|
4375
2597
|
/**
|
|
@@ -4378,7 +2600,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4378
2600
|
* @param {string} agentId ID of the agent to unpublish
|
|
4379
2601
|
* @param {*} [options] Override http request option.
|
|
4380
2602
|
* @throws {RequiredError}
|
|
4381
|
-
* @memberof AgentApi
|
|
4382
2603
|
*/
|
|
4383
2604
|
unpublishAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
4384
2605
|
/**
|
|
@@ -4387,7 +2608,6 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4387
2608
|
* @param {AgentUpdate} [agentUpdate]
|
|
4388
2609
|
* @param {*} [options] Override http request option.
|
|
4389
2610
|
* @throws {RequiredError}
|
|
4390
|
-
* @memberof AgentApi
|
|
4391
2611
|
*/
|
|
4392
2612
|
validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4393
2613
|
/**
|
|
@@ -4397,13 +2617,11 @@ export declare class AgentApi extends BaseAPI {
|
|
|
4397
2617
|
* @param {AgentUpdate} [agentUpdate]
|
|
4398
2618
|
* @param {*} [options] Override http request option.
|
|
4399
2619
|
* @throws {RequiredError}
|
|
4400
|
-
* @memberof AgentApi
|
|
4401
2620
|
*/
|
|
4402
2621
|
validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4403
2622
|
}
|
|
4404
2623
|
/**
|
|
4405
2624
|
* ChatApi - axios parameter creator
|
|
4406
|
-
* @export
|
|
4407
2625
|
*/
|
|
4408
2626
|
export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4409
2627
|
/**
|
|
@@ -4529,7 +2747,6 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
4529
2747
|
};
|
|
4530
2748
|
/**
|
|
4531
2749
|
* ChatApi - functional programming interface
|
|
4532
|
-
* @export
|
|
4533
2750
|
*/
|
|
4534
2751
|
export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
4535
2752
|
/**
|
|
@@ -4655,7 +2872,6 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
|
|
|
4655
2872
|
};
|
|
4656
2873
|
/**
|
|
4657
2874
|
* ChatApi - factory interface
|
|
4658
|
-
* @export
|
|
4659
2875
|
*/
|
|
4660
2876
|
export declare const ChatApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4661
2877
|
/**
|
|
@@ -4781,9 +2997,6 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4781
2997
|
};
|
|
4782
2998
|
/**
|
|
4783
2999
|
* ChatApi - object-oriented interface
|
|
4784
|
-
* @export
|
|
4785
|
-
* @class ChatApi
|
|
4786
|
-
* @extends {BaseAPI}
|
|
4787
3000
|
*/
|
|
4788
3001
|
export declare class ChatApi extends BaseAPI {
|
|
4789
3002
|
/**
|
|
@@ -4793,7 +3006,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4793
3006
|
* @param {string} chatId Chat ID
|
|
4794
3007
|
* @param {*} [options] Override http request option.
|
|
4795
3008
|
* @throws {RequiredError}
|
|
4796
|
-
* @memberof ChatApi
|
|
4797
3009
|
*/
|
|
4798
3010
|
clearChatThreadMemory(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4799
3011
|
/**
|
|
@@ -4802,7 +3014,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4802
3014
|
* @param {string} aid Agent ID
|
|
4803
3015
|
* @param {*} [options] Override http request option.
|
|
4804
3016
|
* @throws {RequiredError}
|
|
4805
|
-
* @memberof ChatApi
|
|
4806
3017
|
*/
|
|
4807
3018
|
createChatThread(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4808
3019
|
/**
|
|
@@ -4812,7 +3023,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4812
3023
|
* @param {string} chatId Chat ID
|
|
4813
3024
|
* @param {*} [options] Override http request option.
|
|
4814
3025
|
* @throws {RequiredError}
|
|
4815
|
-
* @memberof ChatApi
|
|
4816
3026
|
*/
|
|
4817
3027
|
deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4818
3028
|
/**
|
|
@@ -4822,7 +3032,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4822
3032
|
* @param {string} chatId Chat ID
|
|
4823
3033
|
* @param {*} [options] Override http request option.
|
|
4824
3034
|
* @throws {RequiredError}
|
|
4825
|
-
* @memberof ChatApi
|
|
4826
3035
|
*/
|
|
4827
3036
|
getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4828
3037
|
/**
|
|
@@ -4831,7 +3040,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4831
3040
|
* @param {string} messageId Message ID
|
|
4832
3041
|
* @param {*} [options] Override http request option.
|
|
4833
3042
|
* @throws {RequiredError}
|
|
4834
|
-
* @memberof ChatApi
|
|
4835
3043
|
*/
|
|
4836
3044
|
getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any, {}>>;
|
|
4837
3045
|
/**
|
|
@@ -4842,7 +3050,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4842
3050
|
* @param {number} [limit] Maximum number of messages to return
|
|
4843
3051
|
* @param {*} [options] Override http request option.
|
|
4844
3052
|
* @throws {RequiredError}
|
|
4845
|
-
* @memberof ChatApi
|
|
4846
3053
|
*/
|
|
4847
3054
|
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4848
3055
|
/**
|
|
@@ -4851,7 +3058,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4851
3058
|
* @param {string} aid Agent ID
|
|
4852
3059
|
* @param {*} [options] Override http request option.
|
|
4853
3060
|
* @throws {RequiredError}
|
|
4854
|
-
* @memberof ChatApi
|
|
4855
3061
|
*/
|
|
4856
3062
|
listChatsForAgent(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat[], any, {}>>;
|
|
4857
3063
|
/**
|
|
@@ -4863,7 +3069,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4863
3069
|
* @param {number} [limit] Maximum number of messages to return
|
|
4864
3070
|
* @param {*} [options] Override http request option.
|
|
4865
3071
|
* @throws {RequiredError}
|
|
4866
|
-
* @memberof ChatApi
|
|
4867
3072
|
*/
|
|
4868
3073
|
listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4869
3074
|
/**
|
|
@@ -4874,7 +3079,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4874
3079
|
* @param {number} [limit] Maximum number of messages to return
|
|
4875
3080
|
* @param {*} [options] Override http request option.
|
|
4876
3081
|
* @throws {RequiredError}
|
|
4877
|
-
* @memberof ChatApi
|
|
4878
3082
|
*/
|
|
4879
3083
|
listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
|
|
4880
3084
|
/**
|
|
@@ -4884,7 +3088,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4884
3088
|
* @param {string} chatId Chat ID
|
|
4885
3089
|
* @param {*} [options] Override http request option.
|
|
4886
3090
|
* @throws {RequiredError}
|
|
4887
|
-
* @memberof ChatApi
|
|
4888
3091
|
*/
|
|
4889
3092
|
retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4890
3093
|
/**
|
|
@@ -4895,7 +3098,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4895
3098
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
4896
3099
|
* @param {*} [options] Override http request option.
|
|
4897
3100
|
* @throws {RequiredError}
|
|
4898
|
-
* @memberof ChatApi
|
|
4899
3101
|
*/
|
|
4900
3102
|
sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4901
3103
|
/**
|
|
@@ -4905,7 +3107,6 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4905
3107
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
4906
3108
|
* @param {*} [options] Override http request option.
|
|
4907
3109
|
* @throws {RequiredError}
|
|
4908
|
-
* @memberof ChatApi
|
|
4909
3110
|
*/
|
|
4910
3111
|
sendMessageToDraft(aid: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4911
3112
|
/**
|
|
@@ -4916,13 +3117,11 @@ export declare class ChatApi extends BaseAPI {
|
|
|
4916
3117
|
* @param {ChatUpdateRequest} chatUpdateRequest
|
|
4917
3118
|
* @param {*} [options] Override http request option.
|
|
4918
3119
|
* @throws {RequiredError}
|
|
4919
|
-
* @memberof ChatApi
|
|
4920
3120
|
*/
|
|
4921
3121
|
updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
|
|
4922
3122
|
}
|
|
4923
3123
|
/**
|
|
4924
3124
|
* CreditApi - axios parameter creator
|
|
4925
|
-
* @export
|
|
4926
3125
|
*/
|
|
4927
3126
|
export declare const CreditApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4928
3127
|
/**
|
|
@@ -4984,7 +3183,6 @@ export declare const CreditApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
4984
3183
|
};
|
|
4985
3184
|
/**
|
|
4986
3185
|
* CreditApi - functional programming interface
|
|
4987
|
-
* @export
|
|
4988
3186
|
*/
|
|
4989
3187
|
export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
4990
3188
|
/**
|
|
@@ -4994,7 +3192,7 @@ export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
|
4994
3192
|
* @param {*} [options] Override http request option.
|
|
4995
3193
|
* @throws {RequiredError}
|
|
4996
3194
|
*/
|
|
4997
|
-
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3195
|
+
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreditEventOutput>>;
|
|
4998
3196
|
/**
|
|
4999
3197
|
* Get or create a user\'s credit account. This endpoint will create a new account if it does not exist. Not in the readonly router because it may create a new account.
|
|
5000
3198
|
* @summary Get User Account
|
|
@@ -5046,7 +3244,6 @@ export declare const CreditApiFp: (configuration?: Configuration) => {
|
|
|
5046
3244
|
};
|
|
5047
3245
|
/**
|
|
5048
3246
|
* CreditApi - factory interface
|
|
5049
|
-
* @export
|
|
5050
3247
|
*/
|
|
5051
3248
|
export declare const CreditApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5052
3249
|
/**
|
|
@@ -5056,7 +3253,7 @@ export declare const CreditApiFactory: (configuration?: Configuration, basePath?
|
|
|
5056
3253
|
* @param {*} [options] Override http request option.
|
|
5057
3254
|
* @throws {RequiredError}
|
|
5058
3255
|
*/
|
|
5059
|
-
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3256
|
+
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): AxiosPromise<CreditEventOutput>;
|
|
5060
3257
|
/**
|
|
5061
3258
|
* Get or create a user\'s credit account. This endpoint will create a new account if it does not exist. Not in the readonly router because it may create a new account.
|
|
5062
3259
|
* @summary Get User Account
|
|
@@ -5108,9 +3305,6 @@ export declare const CreditApiFactory: (configuration?: Configuration, basePath?
|
|
|
5108
3305
|
};
|
|
5109
3306
|
/**
|
|
5110
3307
|
* CreditApi - object-oriented interface
|
|
5111
|
-
* @export
|
|
5112
|
-
* @class CreditApi
|
|
5113
|
-
* @extends {BaseAPI}
|
|
5114
3308
|
*/
|
|
5115
3309
|
export declare class CreditApi extends BaseAPI {
|
|
5116
3310
|
/**
|
|
@@ -5119,15 +3313,13 @@ export declare class CreditApi extends BaseAPI {
|
|
|
5119
3313
|
* @param {string} eventId Credit event ID
|
|
5120
3314
|
* @param {*} [options] Override http request option.
|
|
5121
3315
|
* @throws {RequiredError}
|
|
5122
|
-
* @memberof CreditApi
|
|
5123
3316
|
*/
|
|
5124
|
-
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3317
|
+
fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventOutput, any, {}>>;
|
|
5125
3318
|
/**
|
|
5126
3319
|
* Get or create a user\'s credit account. This endpoint will create a new account if it does not exist. Not in the readonly router because it may create a new account.
|
|
5127
3320
|
* @summary Get User Account
|
|
5128
3321
|
* @param {*} [options] Override http request option.
|
|
5129
3322
|
* @throws {RequiredError}
|
|
5130
|
-
* @memberof CreditApi
|
|
5131
3323
|
*/
|
|
5132
3324
|
getUserAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditAccount, any, {}>>;
|
|
5133
3325
|
/**
|
|
@@ -5138,7 +3330,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
5138
3330
|
* @param {number} [limit] Maximum number of events to return
|
|
5139
3331
|
* @param {*} [options] Override http request option.
|
|
5140
3332
|
* @throws {RequiredError}
|
|
5141
|
-
* @memberof CreditApi
|
|
5142
3333
|
*/
|
|
5143
3334
|
listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
|
|
5144
3335
|
/**
|
|
@@ -5148,7 +3339,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
5148
3339
|
* @param {number} [limit] Maximum number of records to return
|
|
5149
3340
|
* @param {*} [options] Override http request option.
|
|
5150
3341
|
* @throws {RequiredError}
|
|
5151
|
-
* @memberof CreditApi
|
|
5152
3342
|
*/
|
|
5153
3343
|
listTopupRecords(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TopupRecordsResponse, any, {}>>;
|
|
5154
3344
|
/**
|
|
@@ -5160,7 +3350,6 @@ export declare class CreditApi extends BaseAPI {
|
|
|
5160
3350
|
* @param {number} [limit] Maximum number of events to return
|
|
5161
3351
|
* @param {*} [options] Override http request option.
|
|
5162
3352
|
* @throws {RequiredError}
|
|
5163
|
-
* @memberof CreditApi
|
|
5164
3353
|
*/
|
|
5165
3354
|
listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
|
|
5166
3355
|
/**
|
|
@@ -5172,13 +3361,11 @@ export declare class CreditApi extends BaseAPI {
|
|
|
5172
3361
|
* @param {number} [limit] Maximum number of transactions to return
|
|
5173
3362
|
* @param {*} [options] Override http request option.
|
|
5174
3363
|
* @throws {RequiredError}
|
|
5175
|
-
* @memberof CreditApi
|
|
5176
3364
|
*/
|
|
5177
3365
|
listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditTransactionsResponse, any, {}>>;
|
|
5178
3366
|
}
|
|
5179
3367
|
/**
|
|
5180
3368
|
* DraftApi - axios parameter creator
|
|
5181
|
-
* @export
|
|
5182
3369
|
*/
|
|
5183
3370
|
export declare const DraftApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5184
3371
|
/**
|
|
@@ -5250,7 +3437,6 @@ export declare const DraftApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5250
3437
|
};
|
|
5251
3438
|
/**
|
|
5252
3439
|
* DraftApi - functional programming interface
|
|
5253
|
-
* @export
|
|
5254
3440
|
*/
|
|
5255
3441
|
export declare const DraftApiFp: (configuration?: Configuration) => {
|
|
5256
3442
|
/**
|
|
@@ -5322,7 +3508,6 @@ export declare const DraftApiFp: (configuration?: Configuration) => {
|
|
|
5322
3508
|
};
|
|
5323
3509
|
/**
|
|
5324
3510
|
* DraftApi - factory interface
|
|
5325
|
-
* @export
|
|
5326
3511
|
*/
|
|
5327
3512
|
export declare const DraftApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5328
3513
|
/**
|
|
@@ -5394,9 +3579,6 @@ export declare const DraftApiFactory: (configuration?: Configuration, basePath?:
|
|
|
5394
3579
|
};
|
|
5395
3580
|
/**
|
|
5396
3581
|
* DraftApi - object-oriented interface
|
|
5397
|
-
* @export
|
|
5398
|
-
* @class DraftApi
|
|
5399
|
-
* @extends {BaseAPI}
|
|
5400
3582
|
*/
|
|
5401
3583
|
export declare class DraftApi extends BaseAPI {
|
|
5402
3584
|
/**
|
|
@@ -5405,7 +3587,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5405
3587
|
* @param {AgentUserInput} agentUserInput
|
|
5406
3588
|
* @param {*} [options] Override http request option.
|
|
5407
3589
|
* @throws {RequiredError}
|
|
5408
|
-
* @memberof DraftApi
|
|
5409
3590
|
*/
|
|
5410
3591
|
createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
5411
3592
|
/**
|
|
@@ -5414,7 +3595,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5414
3595
|
* @param {string} draftId Draft ID
|
|
5415
3596
|
* @param {*} [options] Override http request option.
|
|
5416
3597
|
* @throws {RequiredError}
|
|
5417
|
-
* @memberof DraftApi
|
|
5418
3598
|
*/
|
|
5419
3599
|
deleteAgentDraft(draftId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
5420
3600
|
/**
|
|
@@ -5423,7 +3603,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5423
3603
|
* @param {AgentDeployRequest} agentDeployRequest
|
|
5424
3604
|
* @param {*} [options] Override http request option.
|
|
5425
3605
|
* @throws {RequiredError}
|
|
5426
|
-
* @memberof DraftApi
|
|
5427
3606
|
*/
|
|
5428
3607
|
deployAgentFromDraft(agentDeployRequest: AgentDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
5429
3608
|
/**
|
|
@@ -5433,7 +3612,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5433
3612
|
* @param {string} draftId Draft ID
|
|
5434
3613
|
* @param {*} [options] Override http request option.
|
|
5435
3614
|
* @throws {RequiredError}
|
|
5436
|
-
* @memberof DraftApi
|
|
5437
3615
|
*/
|
|
5438
3616
|
getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
5439
3617
|
/**
|
|
@@ -5442,7 +3620,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5442
3620
|
* @param {string} agentId Agent ID
|
|
5443
3621
|
* @param {*} [options] Override http request option.
|
|
5444
3622
|
* @throws {RequiredError}
|
|
5445
|
-
* @memberof DraftApi
|
|
5446
3623
|
*/
|
|
5447
3624
|
getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft[], any, {}>>;
|
|
5448
3625
|
/**
|
|
@@ -5451,7 +3628,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5451
3628
|
* @param {string} agentId Agent ID
|
|
5452
3629
|
* @param {*} [options] Override http request option.
|
|
5453
3630
|
* @throws {RequiredError}
|
|
5454
|
-
* @memberof DraftApi
|
|
5455
3631
|
*/
|
|
5456
3632
|
getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
5457
3633
|
/**
|
|
@@ -5460,7 +3636,6 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5460
3636
|
* @param {boolean | null} [hasDeployment] Filter by deployment status: false for never deployed, true for has deployment but unpublished drafts, null for all unpublished drafts
|
|
5461
3637
|
* @param {*} [options] Override http request option.
|
|
5462
3638
|
* @throws {RequiredError}
|
|
5463
|
-
* @memberof DraftApi
|
|
5464
3639
|
*/
|
|
5465
3640
|
getUserUnpublishedDrafts(hasDeployment?: boolean | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft[], any, {}>>;
|
|
5466
3641
|
/**
|
|
@@ -5470,13 +3645,11 @@ export declare class DraftApi extends BaseAPI {
|
|
|
5470
3645
|
* @param {AgentUserInput} agentUserInput
|
|
5471
3646
|
* @param {*} [options] Override http request option.
|
|
5472
3647
|
* @throws {RequiredError}
|
|
5473
|
-
* @memberof DraftApi
|
|
5474
3648
|
*/
|
|
5475
3649
|
updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
|
|
5476
3650
|
}
|
|
5477
3651
|
/**
|
|
5478
3652
|
* GeneratorApi - axios parameter creator
|
|
5479
|
-
* @export
|
|
5480
3653
|
*/
|
|
5481
3654
|
export declare const GeneratorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5482
3655
|
/**
|
|
@@ -5506,7 +3679,6 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
5506
3679
|
};
|
|
5507
3680
|
/**
|
|
5508
3681
|
* GeneratorApi - functional programming interface
|
|
5509
|
-
* @export
|
|
5510
3682
|
*/
|
|
5511
3683
|
export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
5512
3684
|
/**
|
|
@@ -5536,7 +3708,6 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
5536
3708
|
};
|
|
5537
3709
|
/**
|
|
5538
3710
|
* GeneratorApi - factory interface
|
|
5539
|
-
* @export
|
|
5540
3711
|
*/
|
|
5541
3712
|
export declare const GeneratorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5542
3713
|
/**
|
|
@@ -5566,9 +3737,6 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
5566
3737
|
};
|
|
5567
3738
|
/**
|
|
5568
3739
|
* GeneratorApi - object-oriented interface
|
|
5569
|
-
* @export
|
|
5570
|
-
* @class GeneratorApi
|
|
5571
|
-
* @extends {BaseAPI}
|
|
5572
3740
|
*/
|
|
5573
3741
|
export declare class GeneratorApi extends BaseAPI {
|
|
5574
3742
|
/**
|
|
@@ -5577,7 +3745,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
5577
3745
|
* @param {AgentGenerateRequest} agentGenerateRequest
|
|
5578
3746
|
* @param {*} [options] Override http request option.
|
|
5579
3747
|
* @throws {RequiredError}
|
|
5580
|
-
* @memberof GeneratorApi
|
|
5581
3748
|
*/
|
|
5582
3749
|
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any, {}>>;
|
|
5583
3750
|
/**
|
|
@@ -5586,7 +3753,6 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
5586
3753
|
* @param {string} projectId
|
|
5587
3754
|
* @param {*} [options] Override http request option.
|
|
5588
3755
|
* @throws {RequiredError}
|
|
5589
|
-
* @memberof GeneratorApi
|
|
5590
3756
|
*/
|
|
5591
3757
|
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any, {}>>;
|
|
5592
3758
|
/**
|
|
@@ -5595,13 +3761,11 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
5595
3761
|
* @param {number} [limit]
|
|
5596
3762
|
* @param {*} [options] Override http request option.
|
|
5597
3763
|
* @throws {RequiredError}
|
|
5598
|
-
* @memberof GeneratorApi
|
|
5599
3764
|
*/
|
|
5600
3765
|
getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any, {}>>;
|
|
5601
3766
|
}
|
|
5602
3767
|
/**
|
|
5603
3768
|
* HealthApi - axios parameter creator
|
|
5604
|
-
* @export
|
|
5605
3769
|
*/
|
|
5606
3770
|
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5607
3771
|
/**
|
|
@@ -5614,7 +3778,6 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5614
3778
|
};
|
|
5615
3779
|
/**
|
|
5616
3780
|
* HealthApi - functional programming interface
|
|
5617
|
-
* @export
|
|
5618
3781
|
*/
|
|
5619
3782
|
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
5620
3783
|
/**
|
|
@@ -5627,7 +3790,6 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
5627
3790
|
};
|
|
5628
3791
|
/**
|
|
5629
3792
|
* HealthApi - factory interface
|
|
5630
|
-
* @export
|
|
5631
3793
|
*/
|
|
5632
3794
|
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5633
3795
|
/**
|
|
@@ -5640,9 +3802,6 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
5640
3802
|
};
|
|
5641
3803
|
/**
|
|
5642
3804
|
* HealthApi - object-oriented interface
|
|
5643
|
-
* @export
|
|
5644
|
-
* @class HealthApi
|
|
5645
|
-
* @extends {BaseAPI}
|
|
5646
3805
|
*/
|
|
5647
3806
|
export declare class HealthApi extends BaseAPI {
|
|
5648
3807
|
/**
|
|
@@ -5650,13 +3809,11 @@ export declare class HealthApi extends BaseAPI {
|
|
|
5650
3809
|
* @summary Health check endpoint
|
|
5651
3810
|
* @param {*} [options] Override http request option.
|
|
5652
3811
|
* @throws {RequiredError}
|
|
5653
|
-
* @memberof HealthApi
|
|
5654
3812
|
*/
|
|
5655
3813
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5656
3814
|
}
|
|
5657
3815
|
/**
|
|
5658
3816
|
* MetadataApi - axios parameter creator
|
|
5659
|
-
* @export
|
|
5660
3817
|
*/
|
|
5661
3818
|
export declare const MetadataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5662
3819
|
/**
|
|
@@ -5722,7 +3879,6 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5722
3879
|
};
|
|
5723
3880
|
/**
|
|
5724
3881
|
* MetadataApi - functional programming interface
|
|
5725
|
-
* @export
|
|
5726
3882
|
*/
|
|
5727
3883
|
export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
5728
3884
|
/**
|
|
@@ -5752,7 +3908,7 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
5752
3908
|
* @param {*} [options] Override http request option.
|
|
5753
3909
|
* @throws {RequiredError}
|
|
5754
3910
|
*/
|
|
5755
|
-
getLlms(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
3911
|
+
getLlms(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LLMModelInfoWithProviderNameOutput>>>;
|
|
5756
3912
|
/**
|
|
5757
3913
|
* Returns a list of all metadata tags configured in the system.
|
|
5758
3914
|
* @summary Get metadata tags
|
|
@@ -5784,11 +3940,10 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
5784
3940
|
* @param {*} [options] Override http request option.
|
|
5785
3941
|
* @throws {RequiredError}
|
|
5786
3942
|
*/
|
|
5787
|
-
getSkills(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
3943
|
+
getSkills(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SkillOutput>>>;
|
|
5788
3944
|
};
|
|
5789
3945
|
/**
|
|
5790
3946
|
* MetadataApi - factory interface
|
|
5791
|
-
* @export
|
|
5792
3947
|
*/
|
|
5793
3948
|
export declare const MetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5794
3949
|
/**
|
|
@@ -5818,7 +3973,7 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
5818
3973
|
* @param {*} [options] Override http request option.
|
|
5819
3974
|
* @throws {RequiredError}
|
|
5820
3975
|
*/
|
|
5821
|
-
getLlms(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
3976
|
+
getLlms(options?: RawAxiosRequestConfig): AxiosPromise<Array<LLMModelInfoWithProviderNameOutput>>;
|
|
5822
3977
|
/**
|
|
5823
3978
|
* Returns a list of all metadata tags configured in the system.
|
|
5824
3979
|
* @summary Get metadata tags
|
|
@@ -5850,13 +4005,10 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
5850
4005
|
* @param {*} [options] Override http request option.
|
|
5851
4006
|
* @throws {RequiredError}
|
|
5852
4007
|
*/
|
|
5853
|
-
getSkills(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
4008
|
+
getSkills(options?: RawAxiosRequestConfig): AxiosPromise<Array<SkillOutput>>;
|
|
5854
4009
|
};
|
|
5855
4010
|
/**
|
|
5856
4011
|
* MetadataApi - object-oriented interface
|
|
5857
|
-
* @export
|
|
5858
|
-
* @class MetadataApi
|
|
5859
|
-
* @extends {BaseAPI}
|
|
5860
4012
|
*/
|
|
5861
4013
|
export declare class MetadataApi extends BaseAPI {
|
|
5862
4014
|
/**
|
|
@@ -5864,7 +4016,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5864
4016
|
* @summary Get public agent schema
|
|
5865
4017
|
* @param {*} [options] Override http request option.
|
|
5866
4018
|
* @throws {RequiredError}
|
|
5867
|
-
* @memberof MetadataApi
|
|
5868
4019
|
*/
|
|
5869
4020
|
getAgentPublicSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5870
4021
|
/**
|
|
@@ -5872,7 +4023,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5872
4023
|
* @summary Get strict public agent schema
|
|
5873
4024
|
* @param {*} [options] Override http request option.
|
|
5874
4025
|
* @throws {RequiredError}
|
|
5875
|
-
* @memberof MetadataApi
|
|
5876
4026
|
*/
|
|
5877
4027
|
getAgentPublicStrictSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5878
4028
|
/**
|
|
@@ -5880,7 +4030,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5880
4030
|
* @summary Get agent schema
|
|
5881
4031
|
* @param {*} [options] Override http request option.
|
|
5882
4032
|
* @throws {RequiredError}
|
|
5883
|
-
* @memberof MetadataApi
|
|
5884
4033
|
*/
|
|
5885
4034
|
getAgentSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5886
4035
|
/**
|
|
@@ -5888,15 +4037,13 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5888
4037
|
* @summary Get all LLM models
|
|
5889
4038
|
* @param {*} [options] Override http request option.
|
|
5890
4039
|
* @throws {RequiredError}
|
|
5891
|
-
* @memberof MetadataApi
|
|
5892
4040
|
*/
|
|
5893
|
-
getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4041
|
+
getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderNameOutput[], any, {}>>;
|
|
5894
4042
|
/**
|
|
5895
4043
|
* Returns a list of all metadata tags configured in the system.
|
|
5896
4044
|
* @summary Get metadata tags
|
|
5897
4045
|
* @param {*} [options] Override http request option.
|
|
5898
4046
|
* @throws {RequiredError}
|
|
5899
|
-
* @memberof MetadataApi
|
|
5900
4047
|
*/
|
|
5901
4048
|
getMetadataTags(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tag[], any, {}>>;
|
|
5902
4049
|
/**
|
|
@@ -5907,7 +4054,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5907
4054
|
* @param {string} ext Icon file extension
|
|
5908
4055
|
* @param {*} [options] Override http request option.
|
|
5909
4056
|
* @throws {RequiredError}
|
|
5910
|
-
* @memberof MetadataApi
|
|
5911
4057
|
*/
|
|
5912
4058
|
getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5913
4059
|
/**
|
|
@@ -5916,7 +4062,6 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5916
4062
|
* @param {string} skill Skill name
|
|
5917
4063
|
* @param {*} [options] Override http request option.
|
|
5918
4064
|
* @throws {RequiredError}
|
|
5919
|
-
* @memberof MetadataApi
|
|
5920
4065
|
*/
|
|
5921
4066
|
getSkillSchema(skill: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5922
4067
|
/**
|
|
@@ -5924,13 +4069,11 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
5924
4069
|
* @summary Get all skills
|
|
5925
4070
|
* @param {*} [options] Override http request option.
|
|
5926
4071
|
* @throws {RequiredError}
|
|
5927
|
-
* @memberof MetadataApi
|
|
5928
4072
|
*/
|
|
5929
|
-
getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4073
|
+
getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SkillOutput[], any, {}>>;
|
|
5930
4074
|
}
|
|
5931
4075
|
/**
|
|
5932
4076
|
* OAuthApi - axios parameter creator
|
|
5933
|
-
* @export
|
|
5934
4077
|
*/
|
|
5935
4078
|
export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5936
4079
|
/**
|
|
@@ -5963,7 +4106,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
5963
4106
|
};
|
|
5964
4107
|
/**
|
|
5965
4108
|
* OAuthApi - functional programming interface
|
|
5966
|
-
* @export
|
|
5967
4109
|
*/
|
|
5968
4110
|
export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
5969
4111
|
/**
|
|
@@ -5996,7 +4138,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
5996
4138
|
};
|
|
5997
4139
|
/**
|
|
5998
4140
|
* OAuthApi - factory interface
|
|
5999
|
-
* @export
|
|
6000
4141
|
*/
|
|
6001
4142
|
export declare const OAuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6002
4143
|
/**
|
|
@@ -6029,9 +4170,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6029
4170
|
};
|
|
6030
4171
|
/**
|
|
6031
4172
|
* OAuthApi - object-oriented interface
|
|
6032
|
-
* @export
|
|
6033
|
-
* @class OAuthApi
|
|
6034
|
-
* @extends {BaseAPI}
|
|
6035
4173
|
*/
|
|
6036
4174
|
export declare class OAuthApi extends BaseAPI {
|
|
6037
4175
|
/**
|
|
@@ -6041,7 +4179,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
6041
4179
|
* @param {string} redirectUri
|
|
6042
4180
|
* @param {*} [options] Override http request option.
|
|
6043
4181
|
* @throws {RequiredError}
|
|
6044
|
-
* @memberof OAuthApi
|
|
6045
4182
|
*/
|
|
6046
4183
|
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any, {}>>;
|
|
6047
4184
|
/**
|
|
@@ -6052,7 +4189,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
6052
4189
|
* @param {string | null} [error]
|
|
6053
4190
|
* @param {*} [options] Override http request option.
|
|
6054
4191
|
* @throws {RequiredError}
|
|
6055
|
-
* @memberof OAuthApi
|
|
6056
4192
|
*/
|
|
6057
4193
|
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
6058
4194
|
/**
|
|
@@ -6061,13 +4197,11 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
6061
4197
|
* @param {string} agentId ID of the agent to unlink from X
|
|
6062
4198
|
* @param {*} [options] Override http request option.
|
|
6063
4199
|
* @throws {RequiredError}
|
|
6064
|
-
* @memberof OAuthApi
|
|
6065
4200
|
*/
|
|
6066
4201
|
unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
6067
4202
|
}
|
|
6068
4203
|
/**
|
|
6069
4204
|
* UserApi - axios parameter creator
|
|
6070
|
-
* @export
|
|
6071
4205
|
*/
|
|
6072
4206
|
export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6073
4207
|
/**
|
|
@@ -6106,7 +4240,6 @@ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6106
4240
|
};
|
|
6107
4241
|
/**
|
|
6108
4242
|
* UserApi - functional programming interface
|
|
6109
|
-
* @export
|
|
6110
4243
|
*/
|
|
6111
4244
|
export declare const UserApiFp: (configuration?: Configuration) => {
|
|
6112
4245
|
/**
|
|
@@ -6145,7 +4278,6 @@ export declare const UserApiFp: (configuration?: Configuration) => {
|
|
|
6145
4278
|
};
|
|
6146
4279
|
/**
|
|
6147
4280
|
* UserApi - factory interface
|
|
6148
|
-
* @export
|
|
6149
4281
|
*/
|
|
6150
4282
|
export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6151
4283
|
/**
|
|
@@ -6184,9 +4316,6 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6184
4316
|
};
|
|
6185
4317
|
/**
|
|
6186
4318
|
* UserApi - object-oriented interface
|
|
6187
|
-
* @export
|
|
6188
|
-
* @class UserApi
|
|
6189
|
-
* @extends {BaseAPI}
|
|
6190
4319
|
*/
|
|
6191
4320
|
export declare class UserApi extends BaseAPI {
|
|
6192
4321
|
/**
|
|
@@ -6194,7 +4323,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
6194
4323
|
* @summary Get Current User
|
|
6195
4324
|
* @param {*} [options] Override http request option.
|
|
6196
4325
|
* @throws {RequiredError}
|
|
6197
|
-
* @memberof UserApi
|
|
6198
4326
|
*/
|
|
6199
4327
|
getCurrentUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
|
|
6200
4328
|
/**
|
|
@@ -6203,7 +4331,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
6203
4331
|
* @param {string} agentId Agent ID
|
|
6204
4332
|
* @param {*} [options] Override http request option.
|
|
6205
4333
|
* @throws {RequiredError}
|
|
6206
|
-
* @memberof UserApi
|
|
6207
4334
|
*/
|
|
6208
4335
|
getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
|
|
6209
4336
|
/**
|
|
@@ -6214,7 +4341,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
6214
4341
|
* @param {AgentState | null} [state] Filter agents by state in upstream_extra JSON field
|
|
6215
4342
|
* @param {*} [options] Override http request option.
|
|
6216
4343
|
* @throws {RequiredError}
|
|
6217
|
-
* @memberof UserApi
|
|
6218
4344
|
*/
|
|
6219
4345
|
getUserAgents(cursor?: string | null, limit?: number, state?: AgentState | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserAgentListResponse, any, {}>>;
|
|
6220
4346
|
/**
|
|
@@ -6223,7 +4349,6 @@ export declare class UserApi extends BaseAPI {
|
|
|
6223
4349
|
* @param {File} file File to upload
|
|
6224
4350
|
* @param {*} [options] Override http request option.
|
|
6225
4351
|
* @throws {RequiredError}
|
|
6226
|
-
* @memberof UserApi
|
|
6227
4352
|
*/
|
|
6228
4353
|
uploadUserFile(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FileUploadResponse, any, {}>>;
|
|
6229
4354
|
}
|