@crestal/nation-sdk 0.6.24 → 0.6.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Nation IntentKit API
5
5
  * API for Nation IntentKit services
6
6
  *
7
- * The version of the OpenAPI document: 0.6.24
7
+ * The version of the OpenAPI document: 0.6.25
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,56 +25,236 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerM
25
25
 
26
26
  /**
27
27
  * Agent model.
28
+ * @export
29
+ * @interface Agent
28
30
  */
29
31
  export interface Agent {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof Agent
36
+ */
30
37
  'name': string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof Agent
42
+ */
31
43
  'slug'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof Agent
48
+ */
32
49
  'description'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof Agent
54
+ */
33
55
  'external_website'?: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof Agent
60
+ */
34
61
  'picture'?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof Agent
66
+ */
35
67
  'ticker'?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof Agent
72
+ */
36
73
  'token_address'?: string | null;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof Agent
78
+ */
37
79
  'token_pool'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof Agent
84
+ */
38
85
  'mode'?: AgentModeEnum | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof Agent
90
+ */
39
91
  'fee_percentage'?: string | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof Agent
96
+ */
40
97
  'purpose': string | null;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof Agent
102
+ */
41
103
  'personality': string | null;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof Agent
108
+ */
42
109
  'principles': string | null;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof Agent
114
+ */
43
115
  'owner'?: string | null;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof Agent
120
+ */
44
121
  'upstream_id'?: string | null;
122
+ /**
123
+ *
124
+ * @type {object}
125
+ * @memberof Agent
126
+ */
45
127
  'upstream_extra'?: object | null;
46
128
  /**
47
129
  * AI model identifier to be used by this agent for processing requests.
130
+ * @type {string}
131
+ * @memberof Agent
48
132
  */
49
133
  'model'?: string;
134
+ /**
135
+ *
136
+ * @type {string}
137
+ * @memberof Agent
138
+ */
50
139
  'prompt'?: string | null;
140
+ /**
141
+ *
142
+ * @type {string}
143
+ * @memberof Agent
144
+ */
51
145
  'prompt_append'?: string | null;
146
+ /**
147
+ *
148
+ * @type {number}
149
+ * @memberof Agent
150
+ */
52
151
  'temperature'?: number | null;
152
+ /**
153
+ *
154
+ * @type {number}
155
+ * @memberof Agent
156
+ */
53
157
  'frequency_penalty'?: number | null;
158
+ /**
159
+ *
160
+ * @type {number}
161
+ * @memberof Agent
162
+ */
54
163
  'presence_penalty'?: number | null;
164
+ /**
165
+ *
166
+ * @type {string}
167
+ * @memberof Agent
168
+ */
55
169
  'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
170
+ /**
171
+ *
172
+ * @type {Array<AgentAutonomous>}
173
+ * @memberof Agent
174
+ */
56
175
  'autonomous'?: Array<AgentAutonomous> | null;
176
+ /**
177
+ *
178
+ * @type {string}
179
+ * @memberof Agent
180
+ */
57
181
  'example_intro'?: string | null;
182
+ /**
183
+ *
184
+ * @type {Array<AgentExample>}
185
+ * @memberof Agent
186
+ */
58
187
  'examples'?: Array<AgentExample> | null;
188
+ /**
189
+ *
190
+ * @type {object}
191
+ * @memberof Agent
192
+ */
59
193
  'skills'?: object | null;
194
+ /**
195
+ *
196
+ * @type {string}
197
+ * @memberof Agent
198
+ */
60
199
  'wallet_provider'?: AgentWalletProviderEnum | null;
200
+ /**
201
+ *
202
+ * @type {string}
203
+ * @memberof Agent
204
+ */
61
205
  'readonly_wallet_address'?: string | null;
206
+ /**
207
+ *
208
+ * @type {string}
209
+ * @memberof Agent
210
+ */
62
211
  'network_id'?: AgentNetworkIdEnum | null;
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof Agent
216
+ */
63
217
  'cdp_network_id'?: AgentCdpNetworkIdEnum | null;
218
+ /**
219
+ *
220
+ * @type {boolean}
221
+ * @memberof Agent
222
+ */
64
223
  'telegram_entrypoint_enabled'?: boolean | null;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof Agent
228
+ */
65
229
  'telegram_entrypoint_prompt'?: string | null;
230
+ /**
231
+ *
232
+ * @type {object}
233
+ * @memberof Agent
234
+ */
66
235
  'telegram_config'?: object | null;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof Agent
240
+ */
67
241
  'xmtp_entrypoint_prompt'?: string | null;
68
242
  /**
69
243
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
244
+ * @type {string}
245
+ * @memberof Agent
70
246
  */
71
247
  'id'?: string;
72
248
  /**
73
249
  * Timestamp when the agent was created, will ignore when importing
250
+ * @type {string}
251
+ * @memberof Agent
74
252
  */
75
253
  'created_at'?: string;
76
254
  /**
77
255
  * Timestamp when the agent was last updated, will ignore when importing
256
+ * @type {string}
257
+ * @memberof Agent
78
258
  */
79
259
  'updated_at'?: string;
80
260
  }
@@ -129,206 +309,489 @@ export type AgentCdpNetworkIdEnum = typeof AgentCdpNetworkIdEnum[keyof typeof Ag
129
309
 
130
310
  /**
131
311
  * Response model for agent API key generation.
312
+ * @export
313
+ * @interface AgentApiKeyResponse
132
314
  */
133
315
  export interface AgentApiKeyResponse {
134
316
  /**
135
317
  * The private API key for the agent (sk-)
318
+ * @type {string}
319
+ * @memberof AgentApiKeyResponse
136
320
  */
137
321
  'api_key': string;
138
322
  /**
139
323
  * The public API key for the agent (pk-)
324
+ * @type {string}
325
+ * @memberof AgentApiKeyResponse
140
326
  */
141
327
  'api_key_public': string;
142
328
  /**
143
329
  * The base URL for the API
330
+ * @type {string}
331
+ * @memberof AgentApiKeyResponse
144
332
  */
145
333
  'base_url': string;
146
334
  /**
147
335
  * API documentation URL
336
+ * @type {string}
337
+ * @memberof AgentApiKeyResponse
148
338
  */
149
339
  'api_doc': string;
150
340
  /**
151
341
  * OpenAPI JSON URL for AI integration
342
+ * @type {string}
343
+ * @memberof AgentApiKeyResponse
152
344
  */
153
345
  'doc_for_ai': string;
154
346
  }
155
347
  /**
156
348
  * Response model for agent assets.
349
+ * @export
350
+ * @interface AgentAssetsResponse
157
351
  */
158
352
  export interface AgentAssetsResponse {
159
353
  /**
160
354
  * ID of the agent
355
+ * @type {string}
356
+ * @memberof AgentAssetsResponse
161
357
  */
162
358
  'agent_id': string;
359
+ /**
360
+ *
361
+ * @type {string}
362
+ * @memberof AgentAssetsResponse
363
+ */
163
364
  'network_id': string | null;
365
+ /**
366
+ *
367
+ * @type {string}
368
+ * @memberof AgentAssetsResponse
369
+ */
164
370
  'wallet_address': string | null;
371
+ /**
372
+ *
373
+ * @type {string}
374
+ * @memberof AgentAssetsResponse
375
+ */
165
376
  'ticker': string | null;
377
+ /**
378
+ *
379
+ * @type {string}
380
+ * @memberof AgentAssetsResponse
381
+ */
166
382
  'token_address': string | null;
383
+ /**
384
+ *
385
+ * @type {string}
386
+ * @memberof AgentAssetsResponse
387
+ */
167
388
  'token_pool': string | null;
168
389
  /**
169
390
  * Total value locked, set to 0 for this version
391
+ * @type {string}
392
+ * @memberof AgentAssetsResponse
170
393
  */
171
394
  'tvl'?: string;
172
395
  /**
173
396
  * List of assets with symbol and balance
397
+ * @type {Array<Asset>}
398
+ * @memberof AgentAssetsResponse
174
399
  */
175
400
  'assets': Array<Asset>;
176
401
  }
177
402
  /**
178
403
  * Autonomous agent configuration.
404
+ * @export
405
+ * @interface AgentAutonomous
179
406
  */
180
407
  export interface AgentAutonomous {
181
408
  /**
182
409
  * Unique identifier for the autonomous configuration
410
+ * @type {string}
411
+ * @memberof AgentAutonomous
183
412
  */
184
413
  'id'?: string;
414
+ /**
415
+ *
416
+ * @type {string}
417
+ * @memberof AgentAutonomous
418
+ */
185
419
  'name'?: string | null;
420
+ /**
421
+ *
422
+ * @type {string}
423
+ * @memberof AgentAutonomous
424
+ */
186
425
  'description'?: string | null;
426
+ /**
427
+ *
428
+ * @type {number}
429
+ * @memberof AgentAutonomous
430
+ */
187
431
  'minutes'?: number | null;
432
+ /**
433
+ *
434
+ * @type {string}
435
+ * @memberof AgentAutonomous
436
+ */
188
437
  'cron'?: string | null;
189
438
  /**
190
439
  * Special prompt used during autonomous operation
440
+ * @type {string}
441
+ * @memberof AgentAutonomous
191
442
  */
192
443
  'prompt': string;
444
+ /**
445
+ *
446
+ * @type {boolean}
447
+ * @memberof AgentAutonomous
448
+ */
193
449
  'enabled'?: boolean | null;
194
450
  }
195
451
  /**
196
452
  * Agent example configuration.
453
+ * @export
454
+ * @interface AgentExample
197
455
  */
198
456
  export interface AgentExample {
199
457
  /**
200
458
  * Name of the example
459
+ * @type {string}
460
+ * @memberof AgentExample
201
461
  */
202
462
  'name': string;
203
463
  /**
204
464
  * Description of the example
465
+ * @type {string}
466
+ * @memberof AgentExample
205
467
  */
206
468
  'description': string;
207
469
  /**
208
470
  * Example prompt
471
+ * @type {string}
472
+ * @memberof AgentExample
209
473
  */
210
474
  'prompt': string;
211
475
  }
212
476
  /**
213
477
  * Request model for agent generation.
478
+ * @export
479
+ * @interface AgentGenerateRequest
214
480
  */
215
481
  export interface AgentGenerateRequest {
216
482
  /**
217
483
  * Natural language description of the agent\'s desired capabilities
484
+ * @type {string}
485
+ * @memberof AgentGenerateRequest
218
486
  */
219
487
  'prompt': string;
488
+ /**
489
+ *
490
+ * @type {AgentUpdate}
491
+ * @memberof AgentGenerateRequest
492
+ */
220
493
  'existing_agent'?: AgentUpdate | null;
494
+ /**
495
+ *
496
+ * @type {string}
497
+ * @memberof AgentGenerateRequest
498
+ */
221
499
  'project_id'?: string | null;
222
500
  }
223
501
  /**
224
502
  * Response model for agent generation.
503
+ * @export
504
+ * @interface AgentGenerateResponse
225
505
  */
226
506
  export interface AgentGenerateResponse {
227
507
  /**
228
508
  * The generated agent schema
509
+ * @type {object}
510
+ * @memberof AgentGenerateResponse
229
511
  */
230
512
  'agent': object;
231
513
  /**
232
514
  * Project ID for this conversation session
515
+ * @type {string}
516
+ * @memberof AgentGenerateResponse
233
517
  */
234
518
  'project_id': string;
235
519
  /**
236
520
  * Human-readable summary of the generated agent
521
+ * @type {string}
522
+ * @memberof AgentGenerateResponse
237
523
  */
238
524
  'summary': string;
239
525
  /**
240
526
  * Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
527
+ * @type {Array<{ [key: string]: number; }>}
528
+ * @memberof AgentGenerateResponse
241
529
  */
242
530
  'tags'?: Array<{ [key: string]: number; }>;
243
531
  /**
244
532
  * List of autonomous tasks generated for the agent
533
+ * @type {Array<object>}
534
+ * @memberof AgentGenerateResponse
245
535
  */
246
536
  'autonomous_tasks'?: Array<object>;
247
537
  /**
248
538
  * List of skills that were activated based on the prompt
539
+ * @type {Array<string>}
540
+ * @memberof AgentGenerateResponse
249
541
  */
250
542
  'activated_skills'?: Array<string>;
251
543
  }
252
544
  /**
253
545
  * Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
546
+ * @export
547
+ * @interface AgentListResponse
254
548
  */
255
549
  export interface AgentListResponse {
256
550
  /**
257
551
  * List of agents
552
+ * @type {Array<AgentResponse>}
553
+ * @memberof AgentListResponse
258
554
  */
259
555
  'data': Array<AgentResponse>;
260
556
  /**
261
557
  * Indicates if there are more items
558
+ * @type {boolean}
559
+ * @memberof AgentListResponse
262
560
  */
263
561
  'has_more': boolean;
562
+ /**
563
+ *
564
+ * @type {string}
565
+ * @memberof AgentListResponse
566
+ */
264
567
  'next_cursor'?: string | null;
265
568
  }
266
569
  /**
267
570
  * Response model for Agent API.
571
+ * @export
572
+ * @interface AgentResponse
268
573
  */
269
574
  export interface AgentResponse {
270
575
  /**
271
576
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
577
+ * @type {string}
578
+ * @memberof AgentResponse
272
579
  */
273
580
  'id': string;
274
581
  /**
275
582
  * Timestamp when the agent was created, will ignore when importing
583
+ * @type {string}
584
+ * @memberof AgentResponse
276
585
  */
277
586
  'created_at': string;
278
587
  /**
279
588
  * Timestamp when the agent was last updated, will ignore when importing
589
+ * @type {string}
590
+ * @memberof AgentResponse
280
591
  */
281
592
  'updated_at': string;
593
+ /**
594
+ *
595
+ * @type {string}
596
+ * @memberof AgentResponse
597
+ */
282
598
  'name'?: string | null;
599
+ /**
600
+ *
601
+ * @type {string}
602
+ * @memberof AgentResponse
603
+ */
283
604
  'slug'?: string | null;
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof AgentResponse
609
+ */
284
610
  'description'?: string | null;
611
+ /**
612
+ *
613
+ * @type {string}
614
+ * @memberof AgentResponse
615
+ */
285
616
  'external_website'?: string | null;
617
+ /**
618
+ *
619
+ * @type {string}
620
+ * @memberof AgentResponse
621
+ */
286
622
  'picture'?: string | null;
623
+ /**
624
+ *
625
+ * @type {string}
626
+ * @memberof AgentResponse
627
+ */
287
628
  'ticker'?: string | null;
629
+ /**
630
+ *
631
+ * @type {string}
632
+ * @memberof AgentResponse
633
+ */
288
634
  'token_address'?: string | null;
635
+ /**
636
+ *
637
+ * @type {string}
638
+ * @memberof AgentResponse
639
+ */
289
640
  'token_pool'?: string | null;
641
+ /**
642
+ *
643
+ * @type {string}
644
+ * @memberof AgentResponse
645
+ */
290
646
  'mode'?: AgentResponseModeEnum | null;
647
+ /**
648
+ *
649
+ * @type {string}
650
+ * @memberof AgentResponse
651
+ */
291
652
  'fee_percentage'?: string | null;
653
+ /**
654
+ *
655
+ * @type {string}
656
+ * @memberof AgentResponse
657
+ */
292
658
  'owner'?: string | null;
659
+ /**
660
+ *
661
+ * @type {string}
662
+ * @memberof AgentResponse
663
+ */
293
664
  'upstream_id'?: string | null;
665
+ /**
666
+ *
667
+ * @type {object}
668
+ * @memberof AgentResponse
669
+ */
294
670
  'upstream_extra'?: object | null;
295
671
  /**
296
672
  * AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent
673
+ * @type {string}
674
+ * @memberof AgentResponse
297
675
  */
298
676
  'model': string;
677
+ /**
678
+ *
679
+ * @type {Array<object>}
680
+ * @memberof AgentResponse
681
+ */
299
682
  'autonomous'?: Array<object> | null;
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof AgentResponse
687
+ */
300
688
  'example_intro'?: string | null;
689
+ /**
690
+ *
691
+ * @type {Array<AgentExample>}
692
+ * @memberof AgentResponse
693
+ */
301
694
  'examples'?: Array<AgentExample> | null;
695
+ /**
696
+ *
697
+ * @type {object}
698
+ * @memberof AgentResponse
699
+ */
302
700
  'skills'?: object | null;
701
+ /**
702
+ *
703
+ * @type {string}
704
+ * @memberof AgentResponse
705
+ */
303
706
  'wallet_provider'?: AgentResponseWalletProviderEnum | null;
707
+ /**
708
+ *
709
+ * @type {string}
710
+ * @memberof AgentResponse
711
+ */
304
712
  'network_id'?: string | null;
713
+ /**
714
+ *
715
+ * @type {string}
716
+ * @memberof AgentResponse
717
+ */
305
718
  'cdp_network_id'?: string | null;
719
+ /**
720
+ *
721
+ * @type {boolean}
722
+ * @memberof AgentResponse
723
+ */
306
724
  'telegram_entrypoint_enabled'?: boolean | null;
725
+ /**
726
+ *
727
+ * @type {string}
728
+ * @memberof AgentResponse
729
+ */
307
730
  'cdp_wallet_address': string | null;
731
+ /**
732
+ *
733
+ * @type {string}
734
+ * @memberof AgentResponse
735
+ */
308
736
  'evm_wallet_address': string | null;
737
+ /**
738
+ *
739
+ * @type {string}
740
+ * @memberof AgentResponse
741
+ */
309
742
  'solana_wallet_address': string | null;
310
743
  /**
311
744
  * Whether the agent has linked their Twitter account
745
+ * @type {boolean}
746
+ * @memberof AgentResponse
312
747
  */
313
748
  'has_twitter_linked': boolean;
749
+ /**
750
+ *
751
+ * @type {string}
752
+ * @memberof AgentResponse
753
+ */
314
754
  'linked_twitter_username': string | null;
755
+ /**
756
+ *
757
+ * @type {string}
758
+ * @memberof AgentResponse
759
+ */
315
760
  'linked_twitter_name': string | null;
316
761
  /**
317
762
  * Whether the agent has self-keyed their Twitter account
763
+ * @type {boolean}
764
+ * @memberof AgentResponse
318
765
  */
319
766
  'has_twitter_self_key': boolean;
320
767
  /**
321
768
  * Whether the agent has self-keyed their Telegram account
769
+ * @type {boolean}
770
+ * @memberof AgentResponse
322
771
  */
323
772
  'has_telegram_self_key': boolean;
773
+ /**
774
+ *
775
+ * @type {string}
776
+ * @memberof AgentResponse
777
+ */
324
778
  'linked_telegram_username': string | null;
779
+ /**
780
+ *
781
+ * @type {string}
782
+ * @memberof AgentResponse
783
+ */
325
784
  'linked_telegram_name': string | null;
326
785
  /**
327
786
  * Whether the agent accepts image inputs in public mode
787
+ * @type {boolean}
788
+ * @memberof AgentResponse
328
789
  */
329
790
  'accept_image_input': boolean;
330
791
  /**
331
792
  * Whether the agent accepts image inputs in private mode
793
+ * @type {boolean}
794
+ * @memberof AgentResponse
332
795
  */
333
796
  'accept_image_input_private': boolean;
334
797
  }
@@ -348,6 +811,8 @@ export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProvider
348
811
 
349
812
  /**
350
813
  * Sort options for agents list.
814
+ * @export
815
+ * @enum {string}
351
816
  */
352
817
 
353
818
  export const AgentSortOption = {
@@ -361,110 +826,316 @@ export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOptio
361
826
 
362
827
  /**
363
828
  * Response model for agent statistics.
829
+ * @export
830
+ * @interface AgentStatisticsResponse
364
831
  */
365
832
  export interface AgentStatisticsResponse {
366
833
  /**
367
834
  * ID of the agent
835
+ * @type {string}
836
+ * @memberof AgentStatisticsResponse
368
837
  */
369
838
  'agent_id': string;
370
839
  /**
371
840
  * ID of the agent\'s credit account
841
+ * @type {string}
842
+ * @memberof AgentStatisticsResponse
372
843
  */
373
844
  'account_id': string;
374
845
  /**
375
846
  * Total balance of the agent\'s account
847
+ * @type {string}
848
+ * @memberof AgentStatisticsResponse
376
849
  */
377
850
  'balance': string;
378
851
  /**
379
852
  * Total income from all credit events
853
+ * @type {string}
854
+ * @memberof AgentStatisticsResponse
380
855
  */
381
856
  'total_income': string;
382
857
  /**
383
858
  * Net income from all credit events
859
+ * @type {string}
860
+ * @memberof AgentStatisticsResponse
384
861
  */
385
862
  'net_income': string;
386
863
  /**
387
864
  * Permanent income from all credit events
865
+ * @type {string}
866
+ * @memberof AgentStatisticsResponse
388
867
  */
389
868
  'permanent_income': string;
390
869
  /**
391
870
  * Permanent profit from all credit events
871
+ * @type {string}
872
+ * @memberof AgentStatisticsResponse
392
873
  */
393
874
  'permanent_profit': string;
394
875
  /**
395
876
  * Income from last 24 hours
877
+ * @type {string}
878
+ * @memberof AgentStatisticsResponse
396
879
  */
397
880
  'last_24h_income': string;
398
881
  /**
399
882
  * Permanent income from last 24 hours
883
+ * @type {string}
884
+ * @memberof AgentStatisticsResponse
400
885
  */
401
886
  'last_24h_permanent_income': string;
402
887
  /**
403
888
  * Average action cost
889
+ * @type {string}
890
+ * @memberof AgentStatisticsResponse
404
891
  */
405
892
  'avg_action_cost': string;
406
893
  /**
407
894
  * Minimum action cost
895
+ * @type {string}
896
+ * @memberof AgentStatisticsResponse
408
897
  */
409
898
  'min_action_cost': string;
410
899
  /**
411
900
  * Maximum action cost
901
+ * @type {string}
902
+ * @memberof AgentStatisticsResponse
412
903
  */
413
904
  'max_action_cost': string;
414
905
  /**
415
906
  * Low action cost
907
+ * @type {string}
908
+ * @memberof AgentStatisticsResponse
416
909
  */
417
910
  'low_action_cost': string;
418
911
  /**
419
912
  * Medium action cost
913
+ * @type {string}
914
+ * @memberof AgentStatisticsResponse
420
915
  */
421
916
  'medium_action_cost': string;
422
917
  /**
423
918
  * High action cost
919
+ * @type {string}
920
+ * @memberof AgentStatisticsResponse
424
921
  */
425
922
  'high_action_cost': string;
426
923
  }
427
924
  /**
428
925
  * Agent update model.
926
+ * @export
927
+ * @interface AgentUpdate
429
928
  */
430
929
  export interface AgentUpdate {
930
+ /**
931
+ *
932
+ * @type {string}
933
+ * @memberof AgentUpdate
934
+ */
431
935
  'name': string | null;
936
+ /**
937
+ *
938
+ * @type {string}
939
+ * @memberof AgentUpdate
940
+ */
432
941
  'slug'?: string | null;
942
+ /**
943
+ *
944
+ * @type {string}
945
+ * @memberof AgentUpdate
946
+ */
433
947
  'description'?: string | null;
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof AgentUpdate
952
+ */
434
953
  'external_website'?: string | null;
954
+ /**
955
+ *
956
+ * @type {string}
957
+ * @memberof AgentUpdate
958
+ */
435
959
  'picture'?: string | null;
960
+ /**
961
+ *
962
+ * @type {string}
963
+ * @memberof AgentUpdate
964
+ */
436
965
  'ticker'?: string | null;
966
+ /**
967
+ *
968
+ * @type {string}
969
+ * @memberof AgentUpdate
970
+ */
437
971
  'token_address'?: string | null;
972
+ /**
973
+ *
974
+ * @type {string}
975
+ * @memberof AgentUpdate
976
+ */
438
977
  'token_pool'?: string | null;
978
+ /**
979
+ *
980
+ * @type {string}
981
+ * @memberof AgentUpdate
982
+ */
439
983
  'mode'?: AgentUpdateModeEnum | null;
984
+ /**
985
+ *
986
+ * @type {FeePercentage}
987
+ * @memberof AgentUpdate
988
+ */
440
989
  'fee_percentage'?: FeePercentage | null;
990
+ /**
991
+ *
992
+ * @type {string}
993
+ * @memberof AgentUpdate
994
+ */
441
995
  'purpose': string | null;
996
+ /**
997
+ *
998
+ * @type {string}
999
+ * @memberof AgentUpdate
1000
+ */
442
1001
  'personality': string | null;
1002
+ /**
1003
+ *
1004
+ * @type {string}
1005
+ * @memberof AgentUpdate
1006
+ */
443
1007
  'principles': string | null;
1008
+ /**
1009
+ *
1010
+ * @type {string}
1011
+ * @memberof AgentUpdate
1012
+ */
444
1013
  'owner'?: string | null;
1014
+ /**
1015
+ *
1016
+ * @type {string}
1017
+ * @memberof AgentUpdate
1018
+ */
445
1019
  'upstream_id'?: string | null;
1020
+ /**
1021
+ *
1022
+ * @type {object}
1023
+ * @memberof AgentUpdate
1024
+ */
446
1025
  'upstream_extra'?: object | null;
447
1026
  /**
448
1027
  * AI model identifier to be used by this agent for processing requests.
1028
+ * @type {string}
1029
+ * @memberof AgentUpdate
449
1030
  */
450
1031
  'model'?: string;
1032
+ /**
1033
+ *
1034
+ * @type {string}
1035
+ * @memberof AgentUpdate
1036
+ */
451
1037
  'prompt'?: string | null;
1038
+ /**
1039
+ *
1040
+ * @type {string}
1041
+ * @memberof AgentUpdate
1042
+ */
452
1043
  'prompt_append'?: string | null;
1044
+ /**
1045
+ *
1046
+ * @type {number}
1047
+ * @memberof AgentUpdate
1048
+ */
453
1049
  'temperature'?: number | null;
1050
+ /**
1051
+ *
1052
+ * @type {number}
1053
+ * @memberof AgentUpdate
1054
+ */
454
1055
  'frequency_penalty'?: number | null;
1056
+ /**
1057
+ *
1058
+ * @type {number}
1059
+ * @memberof AgentUpdate
1060
+ */
455
1061
  'presence_penalty'?: number | null;
1062
+ /**
1063
+ *
1064
+ * @type {string}
1065
+ * @memberof AgentUpdate
1066
+ */
456
1067
  'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
1068
+ /**
1069
+ *
1070
+ * @type {Array<AgentAutonomous>}
1071
+ * @memberof AgentUpdate
1072
+ */
457
1073
  'autonomous'?: Array<AgentAutonomous> | null;
1074
+ /**
1075
+ *
1076
+ * @type {string}
1077
+ * @memberof AgentUpdate
1078
+ */
458
1079
  'example_intro'?: string | null;
1080
+ /**
1081
+ *
1082
+ * @type {Array<AgentExample>}
1083
+ * @memberof AgentUpdate
1084
+ */
459
1085
  'examples'?: Array<AgentExample> | null;
1086
+ /**
1087
+ *
1088
+ * @type {object}
1089
+ * @memberof AgentUpdate
1090
+ */
460
1091
  'skills'?: object | null;
1092
+ /**
1093
+ *
1094
+ * @type {string}
1095
+ * @memberof AgentUpdate
1096
+ */
461
1097
  'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
1098
+ /**
1099
+ *
1100
+ * @type {string}
1101
+ * @memberof AgentUpdate
1102
+ */
462
1103
  'readonly_wallet_address'?: string | null;
1104
+ /**
1105
+ *
1106
+ * @type {string}
1107
+ * @memberof AgentUpdate
1108
+ */
463
1109
  'network_id'?: AgentUpdateNetworkIdEnum | null;
1110
+ /**
1111
+ *
1112
+ * @type {string}
1113
+ * @memberof AgentUpdate
1114
+ */
464
1115
  'cdp_network_id'?: AgentUpdateCdpNetworkIdEnum | null;
1116
+ /**
1117
+ *
1118
+ * @type {boolean}
1119
+ * @memberof AgentUpdate
1120
+ */
465
1121
  'telegram_entrypoint_enabled'?: boolean | null;
1122
+ /**
1123
+ *
1124
+ * @type {string}
1125
+ * @memberof AgentUpdate
1126
+ */
466
1127
  'telegram_entrypoint_prompt'?: string | null;
1128
+ /**
1129
+ *
1130
+ * @type {object}
1131
+ * @memberof AgentUpdate
1132
+ */
467
1133
  'telegram_config'?: object | null;
1134
+ /**
1135
+ *
1136
+ * @type {string}
1137
+ * @memberof AgentUpdate
1138
+ */
468
1139
  'xmtp_entrypoint_prompt'?: string | null;
469
1140
  }
470
1141
 
@@ -518,19 +1189,27 @@ export type AgentUpdateCdpNetworkIdEnum = typeof AgentUpdateCdpNetworkIdEnum[key
518
1189
 
519
1190
  /**
520
1191
  * Model for individual asset with symbol and balance.
1192
+ * @export
1193
+ * @interface Asset
521
1194
  */
522
1195
  export interface Asset {
523
1196
  /**
524
1197
  * Asset symbol (e.g., ETH, USDC, NATION)
1198
+ * @type {string}
1199
+ * @memberof Asset
525
1200
  */
526
1201
  'symbol': string;
527
1202
  /**
528
1203
  * Asset balance as decimal
1204
+ * @type {string}
1205
+ * @memberof Asset
529
1206
  */
530
1207
  'balance': string;
531
1208
  }
532
1209
  /**
533
1210
  * Type of message author.
1211
+ * @export
1212
+ * @enum {string}
534
1213
  */
535
1214
 
536
1215
  export const AuthorType = {
@@ -550,95 +1229,195 @@ export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
550
1229
 
551
1230
  /**
552
1231
  * Chat model with all fields including server-generated ones.
1232
+ * @export
1233
+ * @interface Chat
553
1234
  */
554
1235
  export interface Chat {
555
1236
  /**
556
1237
  * Unique identifier for the chat
1238
+ * @type {string}
1239
+ * @memberof Chat
557
1240
  */
558
1241
  'id'?: string;
559
1242
  /**
560
1243
  * ID of the agent this chat belongs to
1244
+ * @type {string}
1245
+ * @memberof Chat
561
1246
  */
562
1247
  'agent_id': string;
563
1248
  /**
564
1249
  * User ID of the chat
1250
+ * @type {string}
1251
+ * @memberof Chat
565
1252
  */
566
1253
  'user_id': string;
567
1254
  /**
568
1255
  * Summary of the chat
1256
+ * @type {string}
1257
+ * @memberof Chat
569
1258
  */
570
1259
  'summary'?: string;
571
1260
  /**
572
1261
  * Number of rounds in the chat
1262
+ * @type {number}
1263
+ * @memberof Chat
573
1264
  */
574
1265
  'rounds'?: number;
575
1266
  /**
576
1267
  * Timestamp when this chat was created
1268
+ * @type {string}
1269
+ * @memberof Chat
577
1270
  */
578
1271
  'created_at': string;
579
1272
  /**
580
1273
  * Timestamp when this chat was updated
1274
+ * @type {string}
1275
+ * @memberof Chat
581
1276
  */
582
1277
  'updated_at': string;
583
1278
  }
584
1279
  /**
585
1280
  * Chat message model with all fields including server-generated ones.
1281
+ * @export
1282
+ * @interface ChatMessage
586
1283
  */
587
1284
  export interface ChatMessage {
588
1285
  /**
589
1286
  * Unique identifier for the chat message
1287
+ * @type {string}
1288
+ * @memberof ChatMessage
590
1289
  */
591
1290
  'id'?: string;
592
1291
  /**
593
1292
  * ID of the agent this message belongs to
1293
+ * @type {string}
1294
+ * @memberof ChatMessage
594
1295
  */
595
1296
  'agent_id': string;
596
1297
  /**
597
1298
  * ID of the chat this message belongs to
1299
+ * @type {string}
1300
+ * @memberof ChatMessage
598
1301
  */
599
1302
  'chat_id': string;
1303
+ /**
1304
+ *
1305
+ * @type {string}
1306
+ * @memberof ChatMessage
1307
+ */
600
1308
  'user_id': string | null;
601
1309
  /**
602
1310
  * ID of the message author
1311
+ * @type {string}
1312
+ * @memberof ChatMessage
603
1313
  */
604
1314
  'author_id': string;
605
1315
  /**
606
1316
  * Type of the message author
1317
+ * @type {AuthorType}
1318
+ * @memberof ChatMessage
607
1319
  */
608
1320
  'author_type': AuthorType;
1321
+ /**
1322
+ *
1323
+ * @type {string}
1324
+ * @memberof ChatMessage
1325
+ */
609
1326
  'model'?: string | null;
1327
+ /**
1328
+ *
1329
+ * @type {AuthorType}
1330
+ * @memberof ChatMessage
1331
+ */
610
1332
  'thread_type'?: AuthorType | null;
1333
+ /**
1334
+ *
1335
+ * @type {string}
1336
+ * @memberof ChatMessage
1337
+ */
611
1338
  'reply_to'?: string | null;
612
1339
  /**
613
1340
  * Content of the message
1341
+ * @type {string}
1342
+ * @memberof ChatMessage
614
1343
  */
615
1344
  'message': string;
1345
+ /**
1346
+ *
1347
+ * @type {Array<ChatMessageAttachment>}
1348
+ * @memberof ChatMessage
1349
+ */
616
1350
  'attachments'?: Array<ChatMessageAttachment> | null;
1351
+ /**
1352
+ *
1353
+ * @type {Array<ChatMessageSkillCall>}
1354
+ * @memberof ChatMessage
1355
+ */
617
1356
  'skill_calls'?: Array<ChatMessageSkillCall> | null;
618
1357
  /**
619
1358
  * Number of tokens in the input message
1359
+ * @type {number}
1360
+ * @memberof ChatMessage
620
1361
  */
621
1362
  'input_tokens'?: number;
622
1363
  /**
623
1364
  * Number of tokens in the output message
1365
+ * @type {number}
1366
+ * @memberof ChatMessage
624
1367
  */
625
1368
  'output_tokens'?: number;
626
1369
  /**
627
1370
  * Time cost for the message in seconds
1371
+ * @type {number}
1372
+ * @memberof ChatMessage
628
1373
  */
629
1374
  'time_cost'?: number;
1375
+ /**
1376
+ *
1377
+ * @type {string}
1378
+ * @memberof ChatMessage
1379
+ */
630
1380
  'credit_event_id'?: string | null;
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof ChatMessage
1385
+ */
631
1386
  'credit_cost'?: string | null;
632
1387
  /**
633
1388
  * Cost for the cold start of the message in seconds
1389
+ * @type {number}
1390
+ * @memberof ChatMessage
634
1391
  */
635
1392
  'cold_start_cost'?: number;
1393
+ /**
1394
+ *
1395
+ * @type {string}
1396
+ * @memberof ChatMessage
1397
+ */
636
1398
  'app_id'?: string | null;
1399
+ /**
1400
+ *
1401
+ * @type {boolean}
1402
+ * @memberof ChatMessage
1403
+ */
637
1404
  'search_mode'?: boolean | null;
1405
+ /**
1406
+ *
1407
+ * @type {boolean}
1408
+ * @memberof ChatMessage
1409
+ */
638
1410
  'super_mode'?: boolean | null;
1411
+ /**
1412
+ *
1413
+ * @type {SystemMessageType}
1414
+ * @memberof ChatMessage
1415
+ */
639
1416
  'error_type'?: SystemMessageType | null;
640
1417
  /**
641
1418
  * Timestamp when this message was created
1419
+ * @type {string}
1420
+ * @memberof ChatMessage
642
1421
  */
643
1422
  'created_at': string;
644
1423
  }
@@ -646,19 +1425,35 @@ export interface ChatMessage {
646
1425
 
647
1426
  /**
648
1427
  * Chat message attachment model. An attachment can be a link, image, or file that is associated with a chat message.
1428
+ * @export
1429
+ * @interface ChatMessageAttachment
649
1430
  */
650
1431
  export interface ChatMessageAttachment {
651
1432
  /**
652
1433
  * Type of the attachment (link, image, or file)
1434
+ * @type {ChatMessageAttachmentType}
1435
+ * @memberof ChatMessageAttachment
653
1436
  */
654
1437
  'type': ChatMessageAttachmentType;
1438
+ /**
1439
+ *
1440
+ * @type {string}
1441
+ * @memberof ChatMessageAttachment
1442
+ */
655
1443
  'url': string | null;
1444
+ /**
1445
+ *
1446
+ * @type {object}
1447
+ * @memberof ChatMessageAttachment
1448
+ */
656
1449
  'json'?: object | null;
657
1450
  }
658
1451
 
659
1452
 
660
1453
  /**
661
1454
  * Type of chat message attachment.
1455
+ * @export
1456
+ * @enum {string}
662
1457
  */
663
1458
 
664
1459
  export const ChatMessageAttachmentType = {
@@ -673,93 +1468,222 @@ export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof t
673
1468
 
674
1469
  /**
675
1470
  * 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.
1471
+ * @export
1472
+ * @interface ChatMessageRequest
676
1473
  */
677
1474
  export interface ChatMessageRequest {
1475
+ /**
1476
+ *
1477
+ * @type {string}
1478
+ * @memberof ChatMessageRequest
1479
+ */
678
1480
  'app_id'?: string | null;
679
1481
  /**
680
1482
  * Content of the message
1483
+ * @type {string}
1484
+ * @memberof ChatMessageRequest
681
1485
  */
682
1486
  'message': string;
1487
+ /**
1488
+ *
1489
+ * @type {boolean}
1490
+ * @memberof ChatMessageRequest
1491
+ */
683
1492
  'stream'?: boolean | null;
1493
+ /**
1494
+ *
1495
+ * @type {boolean}
1496
+ * @memberof ChatMessageRequest
1497
+ */
684
1498
  'search_mode'?: boolean | null;
1499
+ /**
1500
+ *
1501
+ * @type {boolean}
1502
+ * @memberof ChatMessageRequest
1503
+ */
685
1504
  'super_mode'?: boolean | null;
1505
+ /**
1506
+ *
1507
+ * @type {Array<ChatMessageAttachment>}
1508
+ * @memberof ChatMessageRequest
1509
+ */
686
1510
  'attachments'?: Array<ChatMessageAttachment> | null;
687
1511
  }
688
1512
  /**
689
1513
  * TypedDict for skill call details.
1514
+ * @export
1515
+ * @interface ChatMessageSkillCall
690
1516
  */
691
1517
  export interface ChatMessageSkillCall {
1518
+ /**
1519
+ *
1520
+ * @type {string}
1521
+ * @memberof ChatMessageSkillCall
1522
+ */
692
1523
  'id'?: string;
1524
+ /**
1525
+ *
1526
+ * @type {string}
1527
+ * @memberof ChatMessageSkillCall
1528
+ */
693
1529
  'name': string;
1530
+ /**
1531
+ *
1532
+ * @type {object}
1533
+ * @memberof ChatMessageSkillCall
1534
+ */
694
1535
  'parameters': object;
1536
+ /**
1537
+ *
1538
+ * @type {boolean}
1539
+ * @memberof ChatMessageSkillCall
1540
+ */
695
1541
  'success': boolean;
1542
+ /**
1543
+ *
1544
+ * @type {string}
1545
+ * @memberof ChatMessageSkillCall
1546
+ */
696
1547
  'response'?: string;
1548
+ /**
1549
+ *
1550
+ * @type {string}
1551
+ * @memberof ChatMessageSkillCall
1552
+ */
697
1553
  'error_message'?: string;
1554
+ /**
1555
+ *
1556
+ * @type {string}
1557
+ * @memberof ChatMessageSkillCall
1558
+ */
698
1559
  'credit_event_id'?: string;
1560
+ /**
1561
+ *
1562
+ * @type {string}
1563
+ * @memberof ChatMessageSkillCall
1564
+ */
699
1565
  'credit_cost'?: string;
700
1566
  }
701
1567
  /**
702
1568
  * Response model for chat messages with pagination.
1569
+ * @export
1570
+ * @interface ChatMessagesResponse
703
1571
  */
704
1572
  export interface ChatMessagesResponse {
1573
+ /**
1574
+ *
1575
+ * @type {Array<ChatMessage>}
1576
+ * @memberof ChatMessagesResponse
1577
+ */
705
1578
  'data': Array<ChatMessage>;
1579
+ /**
1580
+ *
1581
+ * @type {boolean}
1582
+ * @memberof ChatMessagesResponse
1583
+ */
706
1584
  'has_more'?: boolean;
1585
+ /**
1586
+ *
1587
+ * @type {string}
1588
+ * @memberof ChatMessagesResponse
1589
+ */
707
1590
  'next_cursor'?: string | null;
708
1591
  }
709
1592
  /**
710
1593
  * Request model for updating a chat thread.
1594
+ * @export
1595
+ * @interface ChatUpdateRequest
711
1596
  */
712
1597
  export interface ChatUpdateRequest {
713
1598
  /**
714
1599
  * Updated summary for the chat thread
1600
+ * @type {string}
1601
+ * @memberof ChatUpdateRequest
715
1602
  */
716
1603
  'summary': string;
717
1604
  }
718
1605
  /**
719
1606
  * Credit account model with all fields.
1607
+ * @export
1608
+ * @interface CreditAccount
720
1609
  */
721
1610
  export interface CreditAccount {
722
1611
  /**
723
1612
  * Unique identifier for the credit account
1613
+ * @type {string}
1614
+ * @memberof CreditAccount
724
1615
  */
725
1616
  'id'?: string;
726
1617
  /**
727
1618
  * Type of the account owner
1619
+ * @type {OwnerType}
1620
+ * @memberof CreditAccount
728
1621
  */
729
1622
  'owner_type': OwnerType;
730
1623
  /**
731
1624
  * ID of the account owner
1625
+ * @type {string}
1626
+ * @memberof CreditAccount
732
1627
  */
733
1628
  'owner_id': string;
734
1629
  /**
735
1630
  * Daily credit quota that resets each day
1631
+ * @type {string}
1632
+ * @memberof CreditAccount
736
1633
  */
737
1634
  'free_quota'?: string;
738
1635
  /**
739
1636
  * Amount to refill hourly, not exceeding free_quota
1637
+ * @type {string}
1638
+ * @memberof CreditAccount
740
1639
  */
741
1640
  'refill_amount'?: string;
742
1641
  /**
743
1642
  * Current available daily credits
1643
+ * @type {string}
1644
+ * @memberof CreditAccount
744
1645
  */
745
1646
  'free_credits'?: string;
746
1647
  /**
747
1648
  * Reward credits earned through rewards
1649
+ * @type {string}
1650
+ * @memberof CreditAccount
748
1651
  */
749
1652
  'reward_credits'?: string;
750
1653
  /**
751
1654
  * Credits added through top-ups
1655
+ * @type {string}
1656
+ * @memberof CreditAccount
752
1657
  */
753
1658
  'credits'?: string;
1659
+ /**
1660
+ *
1661
+ * @type {string}
1662
+ * @memberof CreditAccount
1663
+ */
754
1664
  'income_at'?: string | null;
1665
+ /**
1666
+ *
1667
+ * @type {string}
1668
+ * @memberof CreditAccount
1669
+ */
755
1670
  'expense_at'?: string | null;
1671
+ /**
1672
+ *
1673
+ * @type {string}
1674
+ * @memberof CreditAccount
1675
+ */
756
1676
  'last_event_id'?: string | null;
757
1677
  /**
758
1678
  * Timestamp when this account was created
1679
+ * @type {string}
1680
+ * @memberof CreditAccount
759
1681
  */
760
1682
  'created_at': string;
761
1683
  /**
762
1684
  * Timestamp when this account was last updated
1685
+ * @type {string}
1686
+ * @memberof CreditAccount
763
1687
  */
764
1688
  'updated_at': string;
765
1689
  }
@@ -767,6 +1691,8 @@ export interface CreditAccount {
767
1691
 
768
1692
  /**
769
1693
  * Credit or debit transaction.
1694
+ * @export
1695
+ * @enum {string}
770
1696
  */
771
1697
 
772
1698
  export const CreditDebit = {
@@ -779,81 +1705,278 @@ export type CreditDebit = typeof CreditDebit[keyof typeof CreditDebit];
779
1705
 
780
1706
  /**
781
1707
  * Credit event model with all fields.
1708
+ * @export
1709
+ * @interface CreditEvent
782
1710
  */
783
1711
  export interface CreditEvent {
784
1712
  /**
785
1713
  * Unique identifier for the credit event
1714
+ * @type {string}
1715
+ * @memberof CreditEvent
786
1716
  */
787
1717
  'id'?: string;
788
1718
  /**
789
1719
  * Account ID from which credits flow
1720
+ * @type {string}
1721
+ * @memberof CreditEvent
790
1722
  */
791
1723
  'account_id'?: string;
792
1724
  /**
793
1725
  * Type of the event
1726
+ * @type {EventType}
1727
+ * @memberof CreditEvent
794
1728
  */
795
1729
  'event_type': EventType;
1730
+ /**
1731
+ *
1732
+ * @type {string}
1733
+ * @memberof CreditEvent
1734
+ */
796
1735
  'user_id'?: string | null;
797
1736
  /**
798
1737
  * Type of upstream transaction
1738
+ * @type {UpstreamType}
1739
+ * @memberof CreditEvent
799
1740
  */
800
1741
  'upstream_type': UpstreamType;
801
1742
  /**
802
1743
  * Upstream transaction ID if any
1744
+ * @type {string}
1745
+ * @memberof CreditEvent
803
1746
  */
804
1747
  'upstream_tx_id': string;
1748
+ /**
1749
+ *
1750
+ * @type {string}
1751
+ * @memberof CreditEvent
1752
+ */
805
1753
  'agent_id'?: string | null;
1754
+ /**
1755
+ *
1756
+ * @type {string}
1757
+ * @memberof CreditEvent
1758
+ */
806
1759
  'agent_wallet_address'?: string | null;
1760
+ /**
1761
+ *
1762
+ * @type {string}
1763
+ * @memberof CreditEvent
1764
+ */
807
1765
  'start_message_id'?: string | null;
1766
+ /**
1767
+ *
1768
+ * @type {string}
1769
+ * @memberof CreditEvent
1770
+ */
808
1771
  'message_id'?: string | null;
1772
+ /**
1773
+ *
1774
+ * @type {string}
1775
+ * @memberof CreditEvent
1776
+ */
809
1777
  'model'?: string | null;
1778
+ /**
1779
+ *
1780
+ * @type {string}
1781
+ * @memberof CreditEvent
1782
+ */
810
1783
  'skill_call_id'?: string | null;
1784
+ /**
1785
+ *
1786
+ * @type {string}
1787
+ * @memberof CreditEvent
1788
+ */
811
1789
  'skill_name'?: string | null;
812
1790
  /**
813
1791
  * Direction of the credit flow
1792
+ * @type {Direction}
1793
+ * @memberof CreditEvent
814
1794
  */
815
1795
  'direction': Direction;
816
1796
  /**
817
1797
  * Total amount (after discount) of credits involved
1798
+ * @type {string}
1799
+ * @memberof CreditEvent
818
1800
  */
819
1801
  'total_amount'?: string;
820
1802
  /**
821
1803
  * Type of credits involved
1804
+ * @type {CreditType}
1805
+ * @memberof CreditEvent
822
1806
  */
823
1807
  'credit_type': CreditType;
1808
+ /**
1809
+ *
1810
+ * @type {Array<CreditType>}
1811
+ * @memberof CreditEvent
1812
+ */
824
1813
  'credit_types'?: Array<CreditType> | null;
1814
+ /**
1815
+ *
1816
+ * @type {string}
1817
+ * @memberof CreditEvent
1818
+ */
825
1819
  'balance_after'?: string | null;
826
1820
  /**
827
1821
  * Base amount of credits involved
1822
+ * @type {string}
1823
+ * @memberof CreditEvent
828
1824
  */
829
1825
  'base_amount'?: string;
1826
+ /**
1827
+ *
1828
+ * @type {string}
1829
+ * @memberof CreditEvent
1830
+ */
830
1831
  'base_discount_amount'?: string | null;
1832
+ /**
1833
+ *
1834
+ * @type {string}
1835
+ * @memberof CreditEvent
1836
+ */
831
1837
  'base_original_amount'?: string | null;
1838
+ /**
1839
+ *
1840
+ * @type {string}
1841
+ * @memberof CreditEvent
1842
+ */
832
1843
  'base_llm_amount'?: string | null;
1844
+ /**
1845
+ *
1846
+ * @type {string}
1847
+ * @memberof CreditEvent
1848
+ */
833
1849
  'base_skill_amount'?: string | null;
1850
+ /**
1851
+ *
1852
+ * @type {string}
1853
+ * @memberof CreditEvent
1854
+ */
834
1855
  'base_free_amount'?: string | null;
1856
+ /**
1857
+ *
1858
+ * @type {string}
1859
+ * @memberof CreditEvent
1860
+ */
835
1861
  'base_reward_amount'?: string | null;
1862
+ /**
1863
+ *
1864
+ * @type {string}
1865
+ * @memberof CreditEvent
1866
+ */
836
1867
  'base_permanent_amount'?: string | null;
1868
+ /**
1869
+ *
1870
+ * @type {string}
1871
+ * @memberof CreditEvent
1872
+ */
837
1873
  'fee_platform_amount'?: string | null;
1874
+ /**
1875
+ *
1876
+ * @type {string}
1877
+ * @memberof CreditEvent
1878
+ */
838
1879
  'fee_platform_free_amount'?: string | null;
1880
+ /**
1881
+ *
1882
+ * @type {string}
1883
+ * @memberof CreditEvent
1884
+ */
839
1885
  'fee_platform_reward_amount'?: string | null;
1886
+ /**
1887
+ *
1888
+ * @type {string}
1889
+ * @memberof CreditEvent
1890
+ */
840
1891
  'fee_platform_permanent_amount'?: string | null;
1892
+ /**
1893
+ *
1894
+ * @type {string}
1895
+ * @memberof CreditEvent
1896
+ */
841
1897
  'fee_dev_account'?: string | null;
1898
+ /**
1899
+ *
1900
+ * @type {string}
1901
+ * @memberof CreditEvent
1902
+ */
842
1903
  'fee_dev_amount'?: string | null;
1904
+ /**
1905
+ *
1906
+ * @type {string}
1907
+ * @memberof CreditEvent
1908
+ */
843
1909
  'fee_dev_free_amount'?: string | null;
1910
+ /**
1911
+ *
1912
+ * @type {string}
1913
+ * @memberof CreditEvent
1914
+ */
844
1915
  'fee_dev_reward_amount'?: string | null;
1916
+ /**
1917
+ *
1918
+ * @type {string}
1919
+ * @memberof CreditEvent
1920
+ */
845
1921
  'fee_dev_permanent_amount'?: string | null;
1922
+ /**
1923
+ *
1924
+ * @type {string}
1925
+ * @memberof CreditEvent
1926
+ */
846
1927
  'fee_agent_account'?: string | null;
1928
+ /**
1929
+ *
1930
+ * @type {string}
1931
+ * @memberof CreditEvent
1932
+ */
847
1933
  'fee_agent_amount'?: string | null;
1934
+ /**
1935
+ *
1936
+ * @type {string}
1937
+ * @memberof CreditEvent
1938
+ */
848
1939
  'fee_agent_free_amount'?: string | null;
1940
+ /**
1941
+ *
1942
+ * @type {string}
1943
+ * @memberof CreditEvent
1944
+ */
849
1945
  'fee_agent_reward_amount'?: string | null;
1946
+ /**
1947
+ *
1948
+ * @type {string}
1949
+ * @memberof CreditEvent
1950
+ */
850
1951
  'fee_agent_permanent_amount'?: string | null;
1952
+ /**
1953
+ *
1954
+ * @type {string}
1955
+ * @memberof CreditEvent
1956
+ */
851
1957
  'free_amount'?: string | null;
1958
+ /**
1959
+ *
1960
+ * @type {string}
1961
+ * @memberof CreditEvent
1962
+ */
852
1963
  'reward_amount'?: string | null;
1964
+ /**
1965
+ *
1966
+ * @type {string}
1967
+ * @memberof CreditEvent
1968
+ */
853
1969
  'permanent_amount'?: string | null;
1970
+ /**
1971
+ *
1972
+ * @type {string}
1973
+ * @memberof CreditEvent
1974
+ */
854
1975
  'note'?: string | null;
855
1976
  /**
856
1977
  * Timestamp when this event was created
1978
+ * @type {string}
1979
+ * @memberof CreditEvent
857
1980
  */
858
1981
  'created_at': string;
859
1982
  }
@@ -861,169 +1984,424 @@ export interface CreditEvent {
861
1984
 
862
1985
  /**
863
1986
  * Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
1987
+ * @export
1988
+ * @interface CreditEventWithAgent
864
1989
  */
865
1990
  export interface CreditEventWithAgent {
866
1991
  /**
867
1992
  * Unique identifier for the credit event
1993
+ * @type {string}
1994
+ * @memberof CreditEventWithAgent
868
1995
  */
869
1996
  'id'?: string;
870
1997
  /**
871
1998
  * Account ID from which credits flow
1999
+ * @type {string}
2000
+ * @memberof CreditEventWithAgent
872
2001
  */
873
2002
  'account_id'?: string;
874
2003
  /**
875
2004
  * Type of the event
2005
+ * @type {EventType}
2006
+ * @memberof CreditEventWithAgent
876
2007
  */
877
2008
  'event_type': EventType;
2009
+ /**
2010
+ *
2011
+ * @type {string}
2012
+ * @memberof CreditEventWithAgent
2013
+ */
878
2014
  'user_id'?: string | null;
879
2015
  /**
880
2016
  * Type of upstream transaction
2017
+ * @type {UpstreamType}
2018
+ * @memberof CreditEventWithAgent
881
2019
  */
882
2020
  'upstream_type': UpstreamType;
883
2021
  /**
884
2022
  * Upstream transaction ID if any
2023
+ * @type {string}
2024
+ * @memberof CreditEventWithAgent
885
2025
  */
886
2026
  'upstream_tx_id': string;
2027
+ /**
2028
+ *
2029
+ * @type {string}
2030
+ * @memberof CreditEventWithAgent
2031
+ */
887
2032
  'agent_id'?: string | null;
2033
+ /**
2034
+ *
2035
+ * @type {string}
2036
+ * @memberof CreditEventWithAgent
2037
+ */
888
2038
  'agent_wallet_address'?: string | null;
2039
+ /**
2040
+ *
2041
+ * @type {string}
2042
+ * @memberof CreditEventWithAgent
2043
+ */
889
2044
  'start_message_id'?: string | null;
2045
+ /**
2046
+ *
2047
+ * @type {string}
2048
+ * @memberof CreditEventWithAgent
2049
+ */
890
2050
  'message_id'?: string | null;
2051
+ /**
2052
+ *
2053
+ * @type {string}
2054
+ * @memberof CreditEventWithAgent
2055
+ */
891
2056
  'model'?: string | null;
2057
+ /**
2058
+ *
2059
+ * @type {string}
2060
+ * @memberof CreditEventWithAgent
2061
+ */
892
2062
  'skill_call_id'?: string | null;
2063
+ /**
2064
+ *
2065
+ * @type {string}
2066
+ * @memberof CreditEventWithAgent
2067
+ */
893
2068
  'skill_name'?: string | null;
894
2069
  /**
895
2070
  * Direction of the credit flow
2071
+ * @type {Direction}
2072
+ * @memberof CreditEventWithAgent
896
2073
  */
897
2074
  'direction': Direction;
898
2075
  /**
899
2076
  * Total amount (after discount) of credits involved
2077
+ * @type {string}
2078
+ * @memberof CreditEventWithAgent
900
2079
  */
901
2080
  'total_amount'?: string;
902
2081
  /**
903
2082
  * Type of credits involved
2083
+ * @type {CreditType}
2084
+ * @memberof CreditEventWithAgent
904
2085
  */
905
2086
  'credit_type': CreditType;
2087
+ /**
2088
+ *
2089
+ * @type {Array<CreditType>}
2090
+ * @memberof CreditEventWithAgent
2091
+ */
906
2092
  'credit_types'?: Array<CreditType> | null;
2093
+ /**
2094
+ *
2095
+ * @type {string}
2096
+ * @memberof CreditEventWithAgent
2097
+ */
907
2098
  'balance_after'?: string | null;
908
2099
  /**
909
2100
  * Base amount of credits involved
2101
+ * @type {string}
2102
+ * @memberof CreditEventWithAgent
910
2103
  */
911
2104
  'base_amount'?: string;
2105
+ /**
2106
+ *
2107
+ * @type {string}
2108
+ * @memberof CreditEventWithAgent
2109
+ */
912
2110
  'base_discount_amount'?: string | null;
2111
+ /**
2112
+ *
2113
+ * @type {string}
2114
+ * @memberof CreditEventWithAgent
2115
+ */
913
2116
  'base_original_amount'?: string | null;
2117
+ /**
2118
+ *
2119
+ * @type {string}
2120
+ * @memberof CreditEventWithAgent
2121
+ */
914
2122
  'base_llm_amount'?: string | null;
2123
+ /**
2124
+ *
2125
+ * @type {string}
2126
+ * @memberof CreditEventWithAgent
2127
+ */
915
2128
  'base_skill_amount'?: string | null;
2129
+ /**
2130
+ *
2131
+ * @type {string}
2132
+ * @memberof CreditEventWithAgent
2133
+ */
916
2134
  'base_free_amount'?: string | null;
2135
+ /**
2136
+ *
2137
+ * @type {string}
2138
+ * @memberof CreditEventWithAgent
2139
+ */
917
2140
  'base_reward_amount'?: string | null;
2141
+ /**
2142
+ *
2143
+ * @type {string}
2144
+ * @memberof CreditEventWithAgent
2145
+ */
918
2146
  'base_permanent_amount'?: string | null;
2147
+ /**
2148
+ *
2149
+ * @type {string}
2150
+ * @memberof CreditEventWithAgent
2151
+ */
919
2152
  'fee_platform_amount'?: string | null;
2153
+ /**
2154
+ *
2155
+ * @type {string}
2156
+ * @memberof CreditEventWithAgent
2157
+ */
920
2158
  'fee_platform_free_amount'?: string | null;
2159
+ /**
2160
+ *
2161
+ * @type {string}
2162
+ * @memberof CreditEventWithAgent
2163
+ */
921
2164
  'fee_platform_reward_amount'?: string | null;
2165
+ /**
2166
+ *
2167
+ * @type {string}
2168
+ * @memberof CreditEventWithAgent
2169
+ */
922
2170
  'fee_platform_permanent_amount'?: string | null;
2171
+ /**
2172
+ *
2173
+ * @type {string}
2174
+ * @memberof CreditEventWithAgent
2175
+ */
923
2176
  'fee_dev_account'?: string | null;
2177
+ /**
2178
+ *
2179
+ * @type {string}
2180
+ * @memberof CreditEventWithAgent
2181
+ */
924
2182
  'fee_dev_amount'?: string | null;
2183
+ /**
2184
+ *
2185
+ * @type {string}
2186
+ * @memberof CreditEventWithAgent
2187
+ */
925
2188
  'fee_dev_free_amount'?: string | null;
2189
+ /**
2190
+ *
2191
+ * @type {string}
2192
+ * @memberof CreditEventWithAgent
2193
+ */
926
2194
  'fee_dev_reward_amount'?: string | null;
2195
+ /**
2196
+ *
2197
+ * @type {string}
2198
+ * @memberof CreditEventWithAgent
2199
+ */
927
2200
  'fee_dev_permanent_amount'?: string | null;
2201
+ /**
2202
+ *
2203
+ * @type {string}
2204
+ * @memberof CreditEventWithAgent
2205
+ */
928
2206
  'fee_agent_account'?: string | null;
2207
+ /**
2208
+ *
2209
+ * @type {string}
2210
+ * @memberof CreditEventWithAgent
2211
+ */
929
2212
  'fee_agent_amount'?: string | null;
2213
+ /**
2214
+ *
2215
+ * @type {string}
2216
+ * @memberof CreditEventWithAgent
2217
+ */
930
2218
  'fee_agent_free_amount'?: string | null;
2219
+ /**
2220
+ *
2221
+ * @type {string}
2222
+ * @memberof CreditEventWithAgent
2223
+ */
931
2224
  'fee_agent_reward_amount'?: string | null;
2225
+ /**
2226
+ *
2227
+ * @type {string}
2228
+ * @memberof CreditEventWithAgent
2229
+ */
932
2230
  'fee_agent_permanent_amount'?: string | null;
2231
+ /**
2232
+ *
2233
+ * @type {string}
2234
+ * @memberof CreditEventWithAgent
2235
+ */
933
2236
  'free_amount'?: string | null;
2237
+ /**
2238
+ *
2239
+ * @type {string}
2240
+ * @memberof CreditEventWithAgent
2241
+ */
934
2242
  'reward_amount'?: string | null;
2243
+ /**
2244
+ *
2245
+ * @type {string}
2246
+ * @memberof CreditEventWithAgent
2247
+ */
935
2248
  'permanent_amount'?: string | null;
2249
+ /**
2250
+ *
2251
+ * @type {string}
2252
+ * @memberof CreditEventWithAgent
2253
+ */
936
2254
  'note'?: string | null;
937
2255
  /**
938
2256
  * Timestamp when this event was created
2257
+ * @type {string}
2258
+ * @memberof CreditEventWithAgent
939
2259
  */
940
2260
  'created_at': string;
2261
+ /**
2262
+ *
2263
+ * @type {string}
2264
+ * @memberof CreditEventWithAgent
2265
+ */
941
2266
  'agent_name'?: string | null;
942
2267
  }
943
2268
 
944
2269
 
945
2270
  /**
946
2271
  * 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.
2272
+ * @export
2273
+ * @interface CreditEventsResponse
947
2274
  */
948
2275
  export interface CreditEventsResponse {
949
2276
  /**
950
2277
  * List of credit events with agent names
2278
+ * @type {Array<CreditEventWithAgent>}
2279
+ * @memberof CreditEventsResponse
951
2280
  */
952
2281
  'data': Array<CreditEventWithAgent>;
953
2282
  /**
954
2283
  * Indicates if there are more items
2284
+ * @type {boolean}
2285
+ * @memberof CreditEventsResponse
955
2286
  */
956
2287
  'has_more': boolean;
2288
+ /**
2289
+ *
2290
+ * @type {string}
2291
+ * @memberof CreditEventsResponse
2292
+ */
957
2293
  'next_cursor'?: string | null;
958
2294
  }
959
2295
  /**
960
2296
  * Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
2297
+ * @export
2298
+ * @interface CreditTransactionResp
961
2299
  */
962
2300
  export interface CreditTransactionResp {
963
2301
  /**
964
2302
  * Unique identifier for the credit transaction
2303
+ * @type {string}
2304
+ * @memberof CreditTransactionResp
965
2305
  */
966
2306
  'id'?: string;
967
2307
  /**
968
2308
  * ID of the account this transaction belongs to
2309
+ * @type {string}
2310
+ * @memberof CreditTransactionResp
969
2311
  */
970
2312
  'account_id': string;
971
2313
  /**
972
2314
  * ID of the event that triggered this transaction
2315
+ * @type {string}
2316
+ * @memberof CreditTransactionResp
973
2317
  */
974
2318
  'event_id': string;
975
2319
  /**
976
2320
  * Type of the transaction
2321
+ * @type {TransactionType}
2322
+ * @memberof CreditTransactionResp
977
2323
  */
978
2324
  'tx_type': TransactionType;
979
2325
  /**
980
2326
  * Whether this is a credit or debit transaction
2327
+ * @type {CreditDebit}
2328
+ * @memberof CreditTransactionResp
981
2329
  */
982
2330
  'credit_debit': CreditDebit;
983
2331
  /**
984
2332
  * Amount of credits changed
2333
+ * @type {string}
2334
+ * @memberof CreditTransactionResp
985
2335
  */
986
2336
  'change_amount'?: string;
987
2337
  /**
988
2338
  * Amount of free credits changed
2339
+ * @type {string}
2340
+ * @memberof CreditTransactionResp
989
2341
  */
990
2342
  'free_amount'?: string;
991
2343
  /**
992
2344
  * Amount of reward credits changed
2345
+ * @type {string}
2346
+ * @memberof CreditTransactionResp
993
2347
  */
994
2348
  'reward_amount'?: string;
995
2349
  /**
996
2350
  * Amount of permanent credits changed
2351
+ * @type {string}
2352
+ * @memberof CreditTransactionResp
997
2353
  */
998
2354
  'permanent_amount'?: string;
999
2355
  /**
1000
2356
  * Type of credits involved
2357
+ * @type {CreditType}
2358
+ * @memberof CreditTransactionResp
1001
2359
  */
1002
2360
  'credit_type': CreditType;
1003
2361
  /**
1004
2362
  * Timestamp when this transaction was created
2363
+ * @type {string}
2364
+ * @memberof CreditTransactionResp
1005
2365
  */
1006
2366
  'created_at': string;
2367
+ /**
2368
+ *
2369
+ * @type {CreditEvent}
2370
+ * @memberof CreditTransactionResp
2371
+ */
1007
2372
  'event'?: CreditEvent | null;
1008
2373
  }
1009
2374
 
1010
2375
 
1011
2376
  /**
1012
2377
  * Paginated response model for credit transactions. Contains a list of credit transactions (with event data), a flag for more items, and a pagination cursor.
2378
+ * @export
2379
+ * @interface CreditTransactionsResponse
1013
2380
  */
1014
2381
  export interface CreditTransactionsResponse {
1015
2382
  /**
1016
2383
  * List of credit transactions
2384
+ * @type {Array<CreditTransactionResp>}
2385
+ * @memberof CreditTransactionsResponse
1017
2386
  */
1018
2387
  'data': Array<CreditTransactionResp>;
1019
2388
  /**
1020
2389
  * Indicates if there are more items
2390
+ * @type {boolean}
2391
+ * @memberof CreditTransactionsResponse
1021
2392
  */
1022
2393
  'has_more': boolean;
2394
+ /**
2395
+ *
2396
+ * @type {string}
2397
+ * @memberof CreditTransactionsResponse
2398
+ */
1023
2399
  'next_cursor'?: string | null;
1024
2400
  }
1025
2401
  /**
1026
2402
  * Credit type is used in db column names, do not change it.
2403
+ * @export
2404
+ * @enum {string}
1027
2405
  */
1028
2406
 
1029
2407
  export const CreditType = {
@@ -1037,6 +2415,8 @@ export type CreditType = typeof CreditType[keyof typeof CreditType];
1037
2415
 
1038
2416
  /**
1039
2417
  * Direction of credit flow.
2418
+ * @export
2419
+ * @enum {string}
1040
2420
  */
1041
2421
 
1042
2422
  export const Direction = {
@@ -1049,6 +2429,8 @@ export type Direction = typeof Direction[keyof typeof Direction];
1049
2429
 
1050
2430
  /**
1051
2431
  * Type of credit event.
2432
+ * @export
2433
+ * @enum {string}
1052
2434
  */
1053
2435
 
1054
2436
  export const EventType = {
@@ -1071,80 +2453,250 @@ export type EventType = typeof EventType[keyof typeof EventType];
1071
2453
 
1072
2454
  /**
1073
2455
  * Fee percentage of the agent
2456
+ * @export
2457
+ * @interface FeePercentage
1074
2458
  */
1075
2459
  export interface FeePercentage {
1076
2460
  }
1077
2461
  /**
1078
2462
  * Response model for single generation detail.
2463
+ * @export
2464
+ * @interface GenerationDetailResponse
1079
2465
  */
1080
2466
  export interface GenerationDetailResponse {
1081
2467
  /**
1082
2468
  * Project ID
2469
+ * @type {string}
2470
+ * @memberof GenerationDetailResponse
1083
2471
  */
1084
2472
  'project_id': string;
2473
+ /**
2474
+ *
2475
+ * @type {string}
2476
+ * @memberof GenerationDetailResponse
2477
+ */
1085
2478
  'user_id'?: string | null;
2479
+ /**
2480
+ *
2481
+ * @type {string}
2482
+ * @memberof GenerationDetailResponse
2483
+ */
1086
2484
  'created_at'?: string | null;
2485
+ /**
2486
+ *
2487
+ * @type {string}
2488
+ * @memberof GenerationDetailResponse
2489
+ */
1087
2490
  'last_activity'?: string | null;
1088
2491
  /**
1089
2492
  * Number of messages in conversation
2493
+ * @type {number}
2494
+ * @memberof GenerationDetailResponse
1090
2495
  */
1091
2496
  'message_count': number;
2497
+ /**
2498
+ *
2499
+ * @type {object}
2500
+ * @memberof GenerationDetailResponse
2501
+ */
1092
2502
  'last_message'?: object | null;
2503
+ /**
2504
+ *
2505
+ * @type {object}
2506
+ * @memberof GenerationDetailResponse
2507
+ */
1093
2508
  'first_message'?: object | null;
1094
2509
  /**
1095
2510
  * Full conversation history
2511
+ * @type {Array<object>}
2512
+ * @memberof GenerationDetailResponse
1096
2513
  */
1097
2514
  'conversation_history': Array<object>;
1098
2515
  }
1099
2516
  /**
1100
2517
  * Response model for generations list.
2518
+ * @export
2519
+ * @interface GenerationsListResponse
1101
2520
  */
1102
2521
  export interface GenerationsListResponse {
1103
2522
  /**
1104
2523
  * List of recent projects with their conversation history
2524
+ * @type {Array<object>}
2525
+ * @memberof GenerationsListResponse
1105
2526
  */
1106
2527
  'projects': Array<object>;
1107
2528
  }
2529
+ /**
2530
+ *
2531
+ * @export
2532
+ * @interface HTTPValidationError
2533
+ */
1108
2534
  export interface HTTPValidationError {
2535
+ /**
2536
+ *
2537
+ * @type {Array<ValidationError>}
2538
+ * @memberof HTTPValidationError
2539
+ */
1109
2540
  'detail'?: Array<ValidationError>;
1110
2541
  }
1111
2542
  /**
1112
2543
  * LLM model information with provider display name.
2544
+ * @export
2545
+ * @interface LLMModelInfoWithProviderName
1113
2546
  */
1114
2547
  export interface LLMModelInfoWithProviderName {
2548
+ /**
2549
+ *
2550
+ * @type {string}
2551
+ * @memberof LLMModelInfoWithProviderName
2552
+ */
1115
2553
  'id': string;
2554
+ /**
2555
+ *
2556
+ * @type {string}
2557
+ * @memberof LLMModelInfoWithProviderName
2558
+ */
1116
2559
  'name': string;
2560
+ /**
2561
+ *
2562
+ * @type {LLMProvider}
2563
+ * @memberof LLMModelInfoWithProviderName
2564
+ */
1117
2565
  'provider': LLMProvider;
2566
+ /**
2567
+ *
2568
+ * @type {boolean}
2569
+ * @memberof LLMModelInfoWithProviderName
2570
+ */
1118
2571
  'enabled'?: boolean;
2572
+ /**
2573
+ *
2574
+ * @type {string}
2575
+ * @memberof LLMModelInfoWithProviderName
2576
+ */
1119
2577
  'input_price': string;
2578
+ /**
2579
+ *
2580
+ * @type {string}
2581
+ * @memberof LLMModelInfoWithProviderName
2582
+ */
1120
2583
  'output_price': string;
2584
+ /**
2585
+ *
2586
+ * @type {number}
2587
+ * @memberof LLMModelInfoWithProviderName
2588
+ */
1121
2589
  'price_level'?: number | null;
2590
+ /**
2591
+ *
2592
+ * @type {number}
2593
+ * @memberof LLMModelInfoWithProviderName
2594
+ */
1122
2595
  'context_length': number;
2596
+ /**
2597
+ *
2598
+ * @type {number}
2599
+ * @memberof LLMModelInfoWithProviderName
2600
+ */
1123
2601
  'output_length': number;
2602
+ /**
2603
+ *
2604
+ * @type {number}
2605
+ * @memberof LLMModelInfoWithProviderName
2606
+ */
1124
2607
  'intelligence': number;
2608
+ /**
2609
+ *
2610
+ * @type {number}
2611
+ * @memberof LLMModelInfoWithProviderName
2612
+ */
1125
2613
  'speed': number;
2614
+ /**
2615
+ *
2616
+ * @type {boolean}
2617
+ * @memberof LLMModelInfoWithProviderName
2618
+ */
1126
2619
  'supports_image_input'?: boolean;
2620
+ /**
2621
+ *
2622
+ * @type {boolean}
2623
+ * @memberof LLMModelInfoWithProviderName
2624
+ */
1127
2625
  'supports_skill_calls'?: boolean;
2626
+ /**
2627
+ *
2628
+ * @type {boolean}
2629
+ * @memberof LLMModelInfoWithProviderName
2630
+ */
1128
2631
  'supports_structured_output'?: boolean;
2632
+ /**
2633
+ *
2634
+ * @type {boolean}
2635
+ * @memberof LLMModelInfoWithProviderName
2636
+ */
1129
2637
  'has_reasoning'?: boolean;
2638
+ /**
2639
+ *
2640
+ * @type {boolean}
2641
+ * @memberof LLMModelInfoWithProviderName
2642
+ */
1130
2643
  'supports_search'?: boolean;
2644
+ /**
2645
+ *
2646
+ * @type {boolean}
2647
+ * @memberof LLMModelInfoWithProviderName
2648
+ */
1131
2649
  'supports_temperature'?: boolean;
2650
+ /**
2651
+ *
2652
+ * @type {boolean}
2653
+ * @memberof LLMModelInfoWithProviderName
2654
+ */
1132
2655
  'supports_frequency_penalty'?: boolean;
2656
+ /**
2657
+ *
2658
+ * @type {boolean}
2659
+ * @memberof LLMModelInfoWithProviderName
2660
+ */
1133
2661
  'supports_presence_penalty'?: boolean;
2662
+ /**
2663
+ *
2664
+ * @type {string}
2665
+ * @memberof LLMModelInfoWithProviderName
2666
+ */
1134
2667
  'api_base'?: string | null;
2668
+ /**
2669
+ *
2670
+ * @type {number}
2671
+ * @memberof LLMModelInfoWithProviderName
2672
+ */
1135
2673
  'timeout'?: number;
1136
2674
  /**
1137
2675
  * Timestamp when this data was created
2676
+ * @type {string}
2677
+ * @memberof LLMModelInfoWithProviderName
1138
2678
  */
1139
2679
  'created_at'?: string;
1140
2680
  /**
1141
2681
  * Timestamp when this data was updated
2682
+ * @type {string}
2683
+ * @memberof LLMModelInfoWithProviderName
1142
2684
  */
1143
2685
  'updated_at'?: string;
2686
+ /**
2687
+ *
2688
+ * @type {string}
2689
+ * @memberof LLMModelInfoWithProviderName
2690
+ */
1144
2691
  'provider_name': string;
1145
2692
  }
1146
2693
 
1147
2694
 
2695
+ /**
2696
+ *
2697
+ * @export
2698
+ * @enum {string}
2699
+ */
1148
2700
 
1149
2701
  export const LLMProvider = {
1150
2702
  Openai: 'openai',
@@ -1160,6 +2712,8 @@ export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
1160
2712
 
1161
2713
  /**
1162
2714
  * Type of credit account owner.
2715
+ * @export
2716
+ * @enum {string}
1163
2717
  */
1164
2718
 
1165
2719
  export const OwnerType = {
@@ -1173,44 +2727,87 @@ export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
1173
2727
 
1174
2728
  /**
1175
2729
  * Pydantic model for Skill.
2730
+ * @export
2731
+ * @interface Skill
1176
2732
  */
1177
2733
  export interface Skill {
1178
2734
  /**
1179
2735
  * Name of the skill
2736
+ * @type {string}
2737
+ * @memberof Skill
1180
2738
  */
1181
2739
  'name': string;
1182
2740
  /**
1183
2741
  * Is this skill enabled?
2742
+ * @type {boolean}
2743
+ * @memberof Skill
1184
2744
  */
1185
2745
  'enabled': boolean;
1186
2746
  /**
1187
2747
  * Category of the skill
2748
+ * @type {string}
2749
+ * @memberof Skill
1188
2750
  */
1189
2751
  'category': string;
2752
+ /**
2753
+ *
2754
+ * @type {string}
2755
+ * @memberof Skill
2756
+ */
1190
2757
  'config_name': string | null;
2758
+ /**
2759
+ *
2760
+ * @type {number}
2761
+ * @memberof Skill
2762
+ */
1191
2763
  'price_level': number | null;
1192
2764
  /**
1193
2765
  * Price for this skill
2766
+ * @type {string}
2767
+ * @memberof Skill
1194
2768
  */
1195
2769
  'price'?: string;
1196
2770
  /**
1197
2771
  * Price for this skill with self key
2772
+ * @type {string}
2773
+ * @memberof Skill
1198
2774
  */
1199
2775
  'price_self_key'?: string;
2776
+ /**
2777
+ *
2778
+ * @type {number}
2779
+ * @memberof Skill
2780
+ */
1200
2781
  'rate_limit_count': number | null;
2782
+ /**
2783
+ *
2784
+ * @type {number}
2785
+ * @memberof Skill
2786
+ */
1201
2787
  'rate_limit_minutes': number | null;
2788
+ /**
2789
+ *
2790
+ * @type {string}
2791
+ * @memberof Skill
2792
+ */
1202
2793
  'author': string | null;
1203
2794
  /**
1204
2795
  * Timestamp when this record was created
2796
+ * @type {string}
2797
+ * @memberof Skill
1205
2798
  */
1206
2799
  'created_at': string;
1207
2800
  /**
1208
2801
  * Timestamp when this record was last updated
2802
+ * @type {string}
2803
+ * @memberof Skill
1209
2804
  */
1210
2805
  'updated_at': string;
1211
2806
  }
1212
2807
  /**
1213
2808
  * Type of system message.
2809
+ * @export
2810
+ * @enum {string}
1214
2811
  */
1215
2812
 
1216
2813
  export const SystemMessageType = {
@@ -1227,6 +2824,8 @@ export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMess
1227
2824
 
1228
2825
  /**
1229
2826
  * Type of credit transaction.
2827
+ * @export
2828
+ * @enum {string}
1230
2829
  */
1231
2830
 
1232
2831
  export const TransactionType = {
@@ -1251,12 +2850,29 @@ export const TransactionType = {
1251
2850
  export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
1252
2851
 
1253
2852
 
2853
+ /**
2854
+ *
2855
+ * @export
2856
+ * @interface TwitterAuthResponse
2857
+ */
1254
2858
  export interface TwitterAuthResponse {
2859
+ /**
2860
+ *
2861
+ * @type {string}
2862
+ * @memberof TwitterAuthResponse
2863
+ */
1255
2864
  'agent_id': string;
2865
+ /**
2866
+ *
2867
+ * @type {string}
2868
+ * @memberof TwitterAuthResponse
2869
+ */
1256
2870
  'url': string;
1257
2871
  }
1258
2872
  /**
1259
2873
  * Type of upstream transaction.
2874
+ * @export
2875
+ * @enum {string}
1260
2876
  */
1261
2877
 
1262
2878
  export const UpstreamType = {
@@ -1269,16 +2885,42 @@ export const UpstreamType = {
1269
2885
  export type UpstreamType = typeof UpstreamType[keyof typeof UpstreamType];
1270
2886
 
1271
2887
 
2888
+ /**
2889
+ *
2890
+ * @export
2891
+ * @interface ValidationError
2892
+ */
1272
2893
  export interface ValidationError {
2894
+ /**
2895
+ *
2896
+ * @type {Array<ValidationErrorLocInner>}
2897
+ * @memberof ValidationError
2898
+ */
1273
2899
  'loc': Array<ValidationErrorLocInner>;
2900
+ /**
2901
+ *
2902
+ * @type {string}
2903
+ * @memberof ValidationError
2904
+ */
1274
2905
  'msg': string;
2906
+ /**
2907
+ *
2908
+ * @type {string}
2909
+ * @memberof ValidationError
2910
+ */
1275
2911
  'type': string;
1276
2912
  }
2913
+ /**
2914
+ *
2915
+ * @export
2916
+ * @interface ValidationErrorLocInner
2917
+ */
1277
2918
  export interface ValidationErrorLocInner {
1278
2919
  }
1279
2920
 
1280
2921
  /**
1281
2922
  * AgentApi - axios parameter creator
2923
+ * @export
1282
2924
  */
1283
2925
  export const AgentApiAxiosParamCreator = function (configuration?: Configuration) {
1284
2926
  return {
@@ -1847,6 +3489,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
1847
3489
 
1848
3490
  /**
1849
3491
  * AgentApi - functional programming interface
3492
+ * @export
1850
3493
  */
1851
3494
  export const AgentApiFp = function(configuration?: Configuration) {
1852
3495
  const localVarAxiosParamCreator = AgentApiAxiosParamCreator(configuration)
@@ -2046,6 +3689,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
2046
3689
 
2047
3690
  /**
2048
3691
  * AgentApi - factory interface
3692
+ * @export
2049
3693
  */
2050
3694
  export const AgentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2051
3695
  const localVarFp = AgentApiFp(configuration)
@@ -2203,6 +3847,9 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2203
3847
 
2204
3848
  /**
2205
3849
  * AgentApi - object-oriented interface
3850
+ * @export
3851
+ * @class AgentApi
3852
+ * @extends {BaseAPI}
2206
3853
  */
2207
3854
  export class AgentApi extends BaseAPI {
2208
3855
  /**
@@ -2211,6 +3858,7 @@ export class AgentApi extends BaseAPI {
2211
3858
  * @param {AgentUpdate} [agentUpdate]
2212
3859
  * @param {*} [options] Override http request option.
2213
3860
  * @throws {RequiredError}
3861
+ * @memberof AgentApi
2214
3862
  */
2215
3863
  public createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2216
3864
  return AgentApiFp(this.configuration).createAgent(agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2222,6 +3870,7 @@ export class AgentApi extends BaseAPI {
2222
3870
  * @param {string} agentId ID of the agent to export
2223
3871
  * @param {*} [options] Override http request option.
2224
3872
  * @throws {RequiredError}
3873
+ * @memberof AgentApi
2225
3874
  */
2226
3875
  public exportAgent(agentId: string, options?: RawAxiosRequestConfig) {
2227
3876
  return AgentApiFp(this.configuration).exportAgent(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2233,6 +3882,7 @@ export class AgentApi extends BaseAPI {
2233
3882
  * @param {string} agentId ID of the agent to retrieve
2234
3883
  * @param {*} [options] Override http request option.
2235
3884
  * @throws {RequiredError}
3885
+ * @memberof AgentApi
2236
3886
  */
2237
3887
  public getAgent(agentId: string, options?: RawAxiosRequestConfig) {
2238
3888
  return AgentApiFp(this.configuration).getAgent(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2244,6 +3894,7 @@ export class AgentApi extends BaseAPI {
2244
3894
  * @param {string} agentId ID of the agent
2245
3895
  * @param {*} [options] Override http request option.
2246
3896
  * @throws {RequiredError}
3897
+ * @memberof AgentApi
2247
3898
  */
2248
3899
  public getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig) {
2249
3900
  return AgentApiFp(this.configuration).getAgentApiKey(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2255,6 +3906,7 @@ export class AgentApi extends BaseAPI {
2255
3906
  * @param {string} agentId ID of the agent
2256
3907
  * @param {*} [options] Override http request option.
2257
3908
  * @throws {RequiredError}
3909
+ * @memberof AgentApi
2258
3910
  */
2259
3911
  public getAgentAssets(agentId: string, options?: RawAxiosRequestConfig) {
2260
3912
  return AgentApiFp(this.configuration).getAgentAssets(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2266,6 +3918,7 @@ export class AgentApi extends BaseAPI {
2266
3918
  * @param {string} aid ID of the agent
2267
3919
  * @param {*} [options] Override http request option.
2268
3920
  * @throws {RequiredError}
3921
+ * @memberof AgentApi
2269
3922
  */
2270
3923
  public getAgentStatistics(aid: string, options?: RawAxiosRequestConfig) {
2271
3924
  return AgentApiFp(this.configuration).getAgentStatistics(aid, options).then((request) => request(this.axios, this.basePath));
@@ -2279,6 +3932,7 @@ export class AgentApi extends BaseAPI {
2279
3932
  * @param {number} [limit] Maximum number of agents to return
2280
3933
  * @param {*} [options] Override http request option.
2281
3934
  * @throws {RequiredError}
3935
+ * @memberof AgentApi
2282
3936
  */
2283
3937
  public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
2284
3938
  return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -2292,6 +3946,7 @@ export class AgentApi extends BaseAPI {
2292
3946
  * @param {number} [limit] Maximum number of messages to return
2293
3947
  * @param {*} [options] Override http request option.
2294
3948
  * @throws {RequiredError}
3949
+ * @memberof AgentApi
2295
3950
  */
2296
3951
  public getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
2297
3952
  return AgentApiFp(this.configuration).getSkillHistory(aid, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -2304,6 +3959,7 @@ export class AgentApi extends BaseAPI {
2304
3959
  * @param {File} file YAML file containing agent configuration
2305
3960
  * @param {*} [options] Override http request option.
2306
3961
  * @throws {RequiredError}
3962
+ * @memberof AgentApi
2307
3963
  */
2308
3964
  public importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig) {
2309
3965
  return AgentApiFp(this.configuration).importAgent(agentId, file, options).then((request) => request(this.axios, this.basePath));
@@ -2316,6 +3972,7 @@ export class AgentApi extends BaseAPI {
2316
3972
  * @param {AgentUpdate} [agentUpdate]
2317
3973
  * @param {*} [options] Override http request option.
2318
3974
  * @throws {RequiredError}
3975
+ * @memberof AgentApi
2319
3976
  */
2320
3977
  public overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2321
3978
  return AgentApiFp(this.configuration).overrideAgent(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2327,6 +3984,7 @@ export class AgentApi extends BaseAPI {
2327
3984
  * @param {string} agentId ID of the agent
2328
3985
  * @param {*} [options] Override http request option.
2329
3986
  * @throws {RequiredError}
3987
+ * @memberof AgentApi
2330
3988
  */
2331
3989
  public resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig) {
2332
3990
  return AgentApiFp(this.configuration).resetAgentApiKey(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2339,6 +3997,7 @@ export class AgentApi extends BaseAPI {
2339
3997
  * @param {AgentUpdate} [agentUpdate]
2340
3998
  * @param {*} [options] Override http request option.
2341
3999
  * @throws {RequiredError}
4000
+ * @memberof AgentApi
2342
4001
  */
2343
4002
  public updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2344
4003
  return AgentApiFp(this.configuration).updateAgent(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2350,6 +4009,7 @@ export class AgentApi extends BaseAPI {
2350
4009
  * @param {AgentUpdate} [agentUpdate]
2351
4010
  * @param {*} [options] Override http request option.
2352
4011
  * @throws {RequiredError}
4012
+ * @memberof AgentApi
2353
4013
  */
2354
4014
  public validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2355
4015
  return AgentApiFp(this.configuration).validateAgentCreate(agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2362,6 +4022,7 @@ export class AgentApi extends BaseAPI {
2362
4022
  * @param {AgentUpdate} [agentUpdate]
2363
4023
  * @param {*} [options] Override http request option.
2364
4024
  * @throws {RequiredError}
4025
+ * @memberof AgentApi
2365
4026
  */
2366
4027
  public validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2367
4028
  return AgentApiFp(this.configuration).validateAgentUpdate(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2372,6 +4033,7 @@ export class AgentApi extends BaseAPI {
2372
4033
 
2373
4034
  /**
2374
4035
  * ChatApi - axios parameter creator
4036
+ * @export
2375
4037
  */
2376
4038
  export const ChatApiAxiosParamCreator = function (configuration?: Configuration) {
2377
4039
  return {
@@ -2816,6 +4478,7 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
2816
4478
 
2817
4479
  /**
2818
4480
  * ChatApi - functional programming interface
4481
+ * @export
2819
4482
  */
2820
4483
  export const ChatApiFp = function(configuration?: Configuration) {
2821
4484
  const localVarAxiosParamCreator = ChatApiAxiosParamCreator(configuration)
@@ -2967,6 +4630,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
2967
4630
 
2968
4631
  /**
2969
4632
  * ChatApi - factory interface
4633
+ * @export
2970
4634
  */
2971
4635
  export const ChatApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2972
4636
  const localVarFp = ChatApiFp(configuration)
@@ -3088,6 +4752,9 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
3088
4752
 
3089
4753
  /**
3090
4754
  * ChatApi - object-oriented interface
4755
+ * @export
4756
+ * @class ChatApi
4757
+ * @extends {BaseAPI}
3091
4758
  */
3092
4759
  export class ChatApi extends BaseAPI {
3093
4760
  /**
@@ -3096,6 +4763,7 @@ export class ChatApi extends BaseAPI {
3096
4763
  * @param {string} aid Agent ID
3097
4764
  * @param {*} [options] Override http request option.
3098
4765
  * @throws {RequiredError}
4766
+ * @memberof ChatApi
3099
4767
  */
3100
4768
  public createChatThread(aid: string, options?: RawAxiosRequestConfig) {
3101
4769
  return ChatApiFp(this.configuration).createChatThread(aid, options).then((request) => request(this.axios, this.basePath));
@@ -3108,6 +4776,7 @@ export class ChatApi extends BaseAPI {
3108
4776
  * @param {string} chatId Chat ID
3109
4777
  * @param {*} [options] Override http request option.
3110
4778
  * @throws {RequiredError}
4779
+ * @memberof ChatApi
3111
4780
  */
3112
4781
  public deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3113
4782
  return ChatApiFp(this.configuration).deleteChatThread(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3120,6 +4789,7 @@ export class ChatApi extends BaseAPI {
3120
4789
  * @param {string} chatId Chat ID
3121
4790
  * @param {*} [options] Override http request option.
3122
4791
  * @throws {RequiredError}
4792
+ * @memberof ChatApi
3123
4793
  */
3124
4794
  public getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3125
4795
  return ChatApiFp(this.configuration).getChatThreadById(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3131,6 +4801,7 @@ export class ChatApi extends BaseAPI {
3131
4801
  * @param {string} messageId Message ID
3132
4802
  * @param {*} [options] Override http request option.
3133
4803
  * @throws {RequiredError}
4804
+ * @memberof ChatApi
3134
4805
  */
3135
4806
  public getMessageById(messageId: string, options?: RawAxiosRequestConfig) {
3136
4807
  return ChatApiFp(this.configuration).getMessageById(messageId, options).then((request) => request(this.axios, this.basePath));
@@ -3144,6 +4815,7 @@ export class ChatApi extends BaseAPI {
3144
4815
  * @param {number} [limit] Maximum number of messages to return
3145
4816
  * @param {*} [options] Override http request option.
3146
4817
  * @throws {RequiredError}
4818
+ * @memberof ChatApi
3147
4819
  */
3148
4820
  public getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3149
4821
  return ChatApiFp(this.configuration).getSkillHistory(aid, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3155,6 +4827,7 @@ export class ChatApi extends BaseAPI {
3155
4827
  * @param {string} aid Agent ID
3156
4828
  * @param {*} [options] Override http request option.
3157
4829
  * @throws {RequiredError}
4830
+ * @memberof ChatApi
3158
4831
  */
3159
4832
  public listChatsForAgent(aid: string, options?: RawAxiosRequestConfig) {
3160
4833
  return ChatApiFp(this.configuration).listChatsForAgent(aid, options).then((request) => request(this.axios, this.basePath));
@@ -3169,6 +4842,7 @@ export class ChatApi extends BaseAPI {
3169
4842
  * @param {number} [limit] Maximum number of messages to return
3170
4843
  * @param {*} [options] Override http request option.
3171
4844
  * @throws {RequiredError}
4845
+ * @memberof ChatApi
3172
4846
  */
3173
4847
  public listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3174
4848
  return ChatApiFp(this.configuration).listMessagesInChat(aid, chatId, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3181,6 +4855,7 @@ export class ChatApi extends BaseAPI {
3181
4855
  * @param {string} chatId Chat ID
3182
4856
  * @param {*} [options] Override http request option.
3183
4857
  * @throws {RequiredError}
4858
+ * @memberof ChatApi
3184
4859
  */
3185
4860
  public retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3186
4861
  return ChatApiFp(this.configuration).retryMessageInChat(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3194,6 +4869,7 @@ export class ChatApi extends BaseAPI {
3194
4869
  * @param {ChatMessageRequest} chatMessageRequest
3195
4870
  * @param {*} [options] Override http request option.
3196
4871
  * @throws {RequiredError}
4872
+ * @memberof ChatApi
3197
4873
  */
3198
4874
  public sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig) {
3199
4875
  return ChatApiFp(this.configuration).sendMessageToChat(aid, chatId, chatMessageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3207,6 +4883,7 @@ export class ChatApi extends BaseAPI {
3207
4883
  * @param {ChatUpdateRequest} chatUpdateRequest
3208
4884
  * @param {*} [options] Override http request option.
3209
4885
  * @throws {RequiredError}
4886
+ * @memberof ChatApi
3210
4887
  */
3211
4888
  public updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig) {
3212
4889
  return ChatApiFp(this.configuration).updateChatThread(aid, chatId, chatUpdateRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3217,6 +4894,7 @@ export class ChatApi extends BaseAPI {
3217
4894
 
3218
4895
  /**
3219
4896
  * CreditApi - axios parameter creator
4897
+ * @export
3220
4898
  */
3221
4899
  export const CreditApiAxiosParamCreator = function (configuration?: Configuration) {
3222
4900
  return {
@@ -3453,6 +5131,7 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
3453
5131
 
3454
5132
  /**
3455
5133
  * CreditApi - functional programming interface
5134
+ * @export
3456
5135
  */
3457
5136
  export const CreditApiFp = function(configuration?: Configuration) {
3458
5137
  const localVarAxiosParamCreator = CreditApiAxiosParamCreator(configuration)
@@ -3534,6 +5213,7 @@ export const CreditApiFp = function(configuration?: Configuration) {
3534
5213
 
3535
5214
  /**
3536
5215
  * CreditApi - factory interface
5216
+ * @export
3537
5217
  */
3538
5218
  export const CreditApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3539
5219
  const localVarFp = CreditApiFp(configuration)
@@ -3600,6 +5280,9 @@ export const CreditApiFactory = function (configuration?: Configuration, basePat
3600
5280
 
3601
5281
  /**
3602
5282
  * CreditApi - object-oriented interface
5283
+ * @export
5284
+ * @class CreditApi
5285
+ * @extends {BaseAPI}
3603
5286
  */
3604
5287
  export class CreditApi extends BaseAPI {
3605
5288
  /**
@@ -3608,6 +5291,7 @@ export class CreditApi extends BaseAPI {
3608
5291
  * @param {string} eventId Credit event ID
3609
5292
  * @param {*} [options] Override http request option.
3610
5293
  * @throws {RequiredError}
5294
+ * @memberof CreditApi
3611
5295
  */
3612
5296
  public fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig) {
3613
5297
  return CreditApiFp(this.configuration).fetchCreditEvent(eventId, options).then((request) => request(this.axios, this.basePath));
@@ -3618,6 +5302,7 @@ export class CreditApi extends BaseAPI {
3618
5302
  * @summary Get User Account
3619
5303
  * @param {*} [options] Override http request option.
3620
5304
  * @throws {RequiredError}
5305
+ * @memberof CreditApi
3621
5306
  */
3622
5307
  public getUserAccount(options?: RawAxiosRequestConfig) {
3623
5308
  return CreditApiFp(this.configuration).getUserAccount(options).then((request) => request(this.axios, this.basePath));
@@ -3631,6 +5316,7 @@ export class CreditApi extends BaseAPI {
3631
5316
  * @param {number} [limit] Maximum number of events to return
3632
5317
  * @param {*} [options] Override http request option.
3633
5318
  * @throws {RequiredError}
5319
+ * @memberof CreditApi
3634
5320
  */
3635
5321
  public listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3636
5322
  return CreditApiFp(this.configuration).listAgentIncomeEvents(agentId, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3645,6 +5331,7 @@ export class CreditApi extends BaseAPI {
3645
5331
  * @param {number} [limit] Maximum number of events to return
3646
5332
  * @param {*} [options] Override http request option.
3647
5333
  * @throws {RequiredError}
5334
+ * @memberof CreditApi
3648
5335
  */
3649
5336
  public listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3650
5337
  return CreditApiFp(this.configuration).listUserEvents(eventType, direction, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3659,6 +5346,7 @@ export class CreditApi extends BaseAPI {
3659
5346
  * @param {number} [limit] Maximum number of transactions to return
3660
5347
  * @param {*} [options] Override http request option.
3661
5348
  * @throws {RequiredError}
5349
+ * @memberof CreditApi
3662
5350
  */
3663
5351
  public listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3664
5352
  return CreditApiFp(this.configuration).listUserTransactions(txType, creditDebit, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3669,6 +5357,7 @@ export class CreditApi extends BaseAPI {
3669
5357
 
3670
5358
  /**
3671
5359
  * GeneratorApi - axios parameter creator
5360
+ * @export
3672
5361
  */
3673
5362
  export const GeneratorApiAxiosParamCreator = function (configuration?: Configuration) {
3674
5363
  return {
@@ -3794,6 +5483,7 @@ export const GeneratorApiAxiosParamCreator = function (configuration?: Configura
3794
5483
 
3795
5484
  /**
3796
5485
  * GeneratorApi - functional programming interface
5486
+ * @export
3797
5487
  */
3798
5488
  export const GeneratorApiFp = function(configuration?: Configuration) {
3799
5489
  const localVarAxiosParamCreator = GeneratorApiAxiosParamCreator(configuration)
@@ -3842,6 +5532,7 @@ export const GeneratorApiFp = function(configuration?: Configuration) {
3842
5532
 
3843
5533
  /**
3844
5534
  * GeneratorApi - factory interface
5535
+ * @export
3845
5536
  */
3846
5537
  export const GeneratorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3847
5538
  const localVarFp = GeneratorApiFp(configuration)
@@ -3881,6 +5572,9 @@ export const GeneratorApiFactory = function (configuration?: Configuration, base
3881
5572
 
3882
5573
  /**
3883
5574
  * GeneratorApi - object-oriented interface
5575
+ * @export
5576
+ * @class GeneratorApi
5577
+ * @extends {BaseAPI}
3884
5578
  */
3885
5579
  export class GeneratorApi extends BaseAPI {
3886
5580
  /**
@@ -3889,6 +5583,7 @@ export class GeneratorApi extends BaseAPI {
3889
5583
  * @param {AgentGenerateRequest} agentGenerateRequest
3890
5584
  * @param {*} [options] Override http request option.
3891
5585
  * @throws {RequiredError}
5586
+ * @memberof GeneratorApi
3892
5587
  */
3893
5588
  public generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig) {
3894
5589
  return GeneratorApiFp(this.configuration).generateAgent(agentGenerateRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3900,6 +5595,7 @@ export class GeneratorApi extends BaseAPI {
3900
5595
  * @param {string} projectId
3901
5596
  * @param {*} [options] Override http request option.
3902
5597
  * @throws {RequiredError}
5598
+ * @memberof GeneratorApi
3903
5599
  */
3904
5600
  public getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig) {
3905
5601
  return GeneratorApiFp(this.configuration).getGenerationHistory(projectId, options).then((request) => request(this.axios, this.basePath));
@@ -3911,6 +5607,7 @@ export class GeneratorApi extends BaseAPI {
3911
5607
  * @param {number} [limit]
3912
5608
  * @param {*} [options] Override http request option.
3913
5609
  * @throws {RequiredError}
5610
+ * @memberof GeneratorApi
3914
5611
  */
3915
5612
  public getGenerations(limit?: number, options?: RawAxiosRequestConfig) {
3916
5613
  return GeneratorApiFp(this.configuration).getGenerations(limit, options).then((request) => request(this.axios, this.basePath));
@@ -3921,6 +5618,7 @@ export class GeneratorApi extends BaseAPI {
3921
5618
 
3922
5619
  /**
3923
5620
  * HealthApi - axios parameter creator
5621
+ * @export
3924
5622
  */
3925
5623
  export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
3926
5624
  return {
@@ -3959,6 +5657,7 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
3959
5657
 
3960
5658
  /**
3961
5659
  * HealthApi - functional programming interface
5660
+ * @export
3962
5661
  */
3963
5662
  export const HealthApiFp = function(configuration?: Configuration) {
3964
5663
  const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
@@ -3980,6 +5679,7 @@ export const HealthApiFp = function(configuration?: Configuration) {
3980
5679
 
3981
5680
  /**
3982
5681
  * HealthApi - factory interface
5682
+ * @export
3983
5683
  */
3984
5684
  export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3985
5685
  const localVarFp = HealthApiFp(configuration)
@@ -3998,6 +5698,9 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
3998
5698
 
3999
5699
  /**
4000
5700
  * HealthApi - object-oriented interface
5701
+ * @export
5702
+ * @class HealthApi
5703
+ * @extends {BaseAPI}
4001
5704
  */
4002
5705
  export class HealthApi extends BaseAPI {
4003
5706
  /**
@@ -4005,6 +5708,7 @@ export class HealthApi extends BaseAPI {
4005
5708
  * @summary Health check endpoint
4006
5709
  * @param {*} [options] Override http request option.
4007
5710
  * @throws {RequiredError}
5711
+ * @memberof HealthApi
4008
5712
  */
4009
5713
  public healthCheck(options?: RawAxiosRequestConfig) {
4010
5714
  return HealthApiFp(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
@@ -4015,6 +5719,7 @@ export class HealthApi extends BaseAPI {
4015
5719
 
4016
5720
  /**
4017
5721
  * MetadataApi - axios parameter creator
5722
+ * @export
4018
5723
  */
4019
5724
  export const MetadataApiAxiosParamCreator = function (configuration?: Configuration) {
4020
5725
  return {
@@ -4189,6 +5894,7 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
4189
5894
 
4190
5895
  /**
4191
5896
  * MetadataApi - functional programming interface
5897
+ * @export
4192
5898
  */
4193
5899
  export const MetadataApiFp = function(configuration?: Configuration) {
4194
5900
  const localVarAxiosParamCreator = MetadataApiAxiosParamCreator(configuration)
@@ -4262,6 +5968,7 @@ export const MetadataApiFp = function(configuration?: Configuration) {
4262
5968
 
4263
5969
  /**
4264
5970
  * MetadataApi - factory interface
5971
+ * @export
4265
5972
  */
4266
5973
  export const MetadataApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4267
5974
  const localVarFp = MetadataApiFp(configuration)
@@ -4320,6 +6027,9 @@ export const MetadataApiFactory = function (configuration?: Configuration, baseP
4320
6027
 
4321
6028
  /**
4322
6029
  * MetadataApi - object-oriented interface
6030
+ * @export
6031
+ * @class MetadataApi
6032
+ * @extends {BaseAPI}
4323
6033
  */
4324
6034
  export class MetadataApi extends BaseAPI {
4325
6035
  /**
@@ -4327,6 +6037,7 @@ export class MetadataApi extends BaseAPI {
4327
6037
  * @summary Get agent schema
4328
6038
  * @param {*} [options] Override http request option.
4329
6039
  * @throws {RequiredError}
6040
+ * @memberof MetadataApi
4330
6041
  */
4331
6042
  public getAgentSchema(options?: RawAxiosRequestConfig) {
4332
6043
  return MetadataApiFp(this.configuration).getAgentSchema(options).then((request) => request(this.axios, this.basePath));
@@ -4337,6 +6048,7 @@ export class MetadataApi extends BaseAPI {
4337
6048
  * @summary Get all LLM models
4338
6049
  * @param {*} [options] Override http request option.
4339
6050
  * @throws {RequiredError}
6051
+ * @memberof MetadataApi
4340
6052
  */
4341
6053
  public getLlms(options?: RawAxiosRequestConfig) {
4342
6054
  return MetadataApiFp(this.configuration).getLlms(options).then((request) => request(this.axios, this.basePath));
@@ -4350,6 +6062,7 @@ export class MetadataApi extends BaseAPI {
4350
6062
  * @param {string} ext Icon file extension
4351
6063
  * @param {*} [options] Override http request option.
4352
6064
  * @throws {RequiredError}
6065
+ * @memberof MetadataApi
4353
6066
  */
4354
6067
  public getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig) {
4355
6068
  return MetadataApiFp(this.configuration).getSkillIcon(skill, iconName, ext, options).then((request) => request(this.axios, this.basePath));
@@ -4361,6 +6074,7 @@ export class MetadataApi extends BaseAPI {
4361
6074
  * @param {string} skill Skill name
4362
6075
  * @param {*} [options] Override http request option.
4363
6076
  * @throws {RequiredError}
6077
+ * @memberof MetadataApi
4364
6078
  */
4365
6079
  public getSkillSchema(skill: string, options?: RawAxiosRequestConfig) {
4366
6080
  return MetadataApiFp(this.configuration).getSkillSchema(skill, options).then((request) => request(this.axios, this.basePath));
@@ -4371,6 +6085,7 @@ export class MetadataApi extends BaseAPI {
4371
6085
  * @summary Get all skills
4372
6086
  * @param {*} [options] Override http request option.
4373
6087
  * @throws {RequiredError}
6088
+ * @memberof MetadataApi
4374
6089
  */
4375
6090
  public getSkills(options?: RawAxiosRequestConfig) {
4376
6091
  return MetadataApiFp(this.configuration).getSkills(options).then((request) => request(this.axios, this.basePath));
@@ -4381,6 +6096,7 @@ export class MetadataApi extends BaseAPI {
4381
6096
 
4382
6097
  /**
4383
6098
  * OAuthApi - axios parameter creator
6099
+ * @export
4384
6100
  */
4385
6101
  export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
4386
6102
  return {
@@ -4525,6 +6241,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
4525
6241
 
4526
6242
  /**
4527
6243
  * OAuthApi - functional programming interface
6244
+ * @export
4528
6245
  */
4529
6246
  export const OAuthApiFp = function(configuration?: Configuration) {
4530
6247
  const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
@@ -4576,6 +6293,7 @@ export const OAuthApiFp = function(configuration?: Configuration) {
4576
6293
 
4577
6294
  /**
4578
6295
  * OAuthApi - factory interface
6296
+ * @export
4579
6297
  */
4580
6298
  export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4581
6299
  const localVarFp = OAuthApiFp(configuration)
@@ -4618,6 +6336,9 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
4618
6336
 
4619
6337
  /**
4620
6338
  * OAuthApi - object-oriented interface
6339
+ * @export
6340
+ * @class OAuthApi
6341
+ * @extends {BaseAPI}
4621
6342
  */
4622
6343
  export class OAuthApi extends BaseAPI {
4623
6344
  /**
@@ -4627,6 +6348,7 @@ export class OAuthApi extends BaseAPI {
4627
6348
  * @param {string} redirectUri
4628
6349
  * @param {*} [options] Override http request option.
4629
6350
  * @throws {RequiredError}
6351
+ * @memberof OAuthApi
4630
6352
  */
4631
6353
  public getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig) {
4632
6354
  return OAuthApiFp(this.configuration).getTwitterAuthUrl(agentId, redirectUri, options).then((request) => request(this.axios, this.basePath));
@@ -4640,6 +6362,7 @@ export class OAuthApi extends BaseAPI {
4640
6362
  * @param {string | null} [error]
4641
6363
  * @param {*} [options] Override http request option.
4642
6364
  * @throws {RequiredError}
6365
+ * @memberof OAuthApi
4643
6366
  */
4644
6367
  public twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) {
4645
6368
  return OAuthApiFp(this.configuration).twitterOauthCallback(state, code, error, options).then((request) => request(this.axios, this.basePath));
@@ -4651,6 +6374,7 @@ export class OAuthApi extends BaseAPI {
4651
6374
  * @param {string} agentId ID of the agent to unlink from X
4652
6375
  * @param {*} [options] Override http request option.
4653
6376
  * @throws {RequiredError}
6377
+ * @memberof OAuthApi
4654
6378
  */
4655
6379
  public unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig) {
4656
6380
  return OAuthApiFp(this.configuration).unlinkTwitter(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -4661,6 +6385,7 @@ export class OAuthApi extends BaseAPI {
4661
6385
 
4662
6386
  /**
4663
6387
  * UserApi - axios parameter creator
6388
+ * @export
4664
6389
  */
4665
6390
  export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
4666
6391
  return {
@@ -4751,6 +6476,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
4751
6476
 
4752
6477
  /**
4753
6478
  * UserApi - functional programming interface
6479
+ * @export
4754
6480
  */
4755
6481
  export const UserApiFp = function(configuration?: Configuration) {
4756
6482
  const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
@@ -4787,6 +6513,7 @@ export const UserApiFp = function(configuration?: Configuration) {
4787
6513
 
4788
6514
  /**
4789
6515
  * UserApi - factory interface
6516
+ * @export
4790
6517
  */
4791
6518
  export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4792
6519
  const localVarFp = UserApiFp(configuration)
@@ -4817,6 +6544,9 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
4817
6544
 
4818
6545
  /**
4819
6546
  * UserApi - object-oriented interface
6547
+ * @export
6548
+ * @class UserApi
6549
+ * @extends {BaseAPI}
4820
6550
  */
4821
6551
  export class UserApi extends BaseAPI {
4822
6552
  /**
@@ -4825,6 +6555,7 @@ export class UserApi extends BaseAPI {
4825
6555
  * @param {string} agentId Agent ID
4826
6556
  * @param {*} [options] Override http request option.
4827
6557
  * @throws {RequiredError}
6558
+ * @memberof UserApi
4828
6559
  */
4829
6560
  public getUserAgentById(agentId: string, options?: RawAxiosRequestConfig) {
4830
6561
  return UserApiFp(this.configuration).getUserAgentById(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -4837,6 +6568,7 @@ export class UserApi extends BaseAPI {
4837
6568
  * @param {number} [limit] Maximum number of agents to return
4838
6569
  * @param {*} [options] Override http request option.
4839
6570
  * @throws {RequiredError}
6571
+ * @memberof UserApi
4840
6572
  */
4841
6573
  public getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
4842
6574
  return UserApiFp(this.configuration).getUserAgents(cursor, limit, options).then((request) => request(this.axios, this.basePath));