@crestal/nation-sdk 0.7.40 → 0.7.41

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