@crestal/nation-sdk 0.7.4 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.7.4
7
+ * The version of the OpenAPI document: 0.7.7
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -25,59 +25,254 @@ 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
  'description'?: string | null;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof Agent
42
+ */
31
43
  'external_website'?: string | null;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof Agent
48
+ */
32
49
  'ticker'?: string | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof Agent
54
+ */
33
55
  'token_address'?: string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof Agent
60
+ */
34
61
  'token_pool'?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof Agent
66
+ */
35
67
  'fee_percentage'?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof Agent
72
+ */
36
73
  'example_intro'?: string | null;
74
+ /**
75
+ *
76
+ * @type {Array<AgentExample>}
77
+ * @memberof Agent
78
+ */
37
79
  'examples'?: Array<AgentExample> | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof Agent
84
+ */
38
85
  'name': string | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof Agent
90
+ */
39
91
  'picture'?: 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;
43
110
  /**
44
111
  * AI model identifier to be used by this agent for processing requests.
112
+ * @type {string}
113
+ * @memberof Agent
45
114
  */
46
115
  'model'?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof Agent
120
+ */
47
121
  'prompt'?: string | null;
122
+ /**
123
+ *
124
+ * @type {string}
125
+ * @memberof Agent
126
+ */
48
127
  'prompt_append'?: string | null;
128
+ /**
129
+ *
130
+ * @type {number}
131
+ * @memberof Agent
132
+ */
49
133
  'temperature'?: number | null;
134
+ /**
135
+ *
136
+ * @type {number}
137
+ * @memberof Agent
138
+ */
50
139
  'frequency_penalty'?: number | null;
140
+ /**
141
+ *
142
+ * @type {number}
143
+ * @memberof Agent
144
+ */
51
145
  'presence_penalty'?: number | null;
146
+ /**
147
+ *
148
+ * @type {string}
149
+ * @memberof Agent
150
+ */
52
151
  'wallet_provider'?: AgentWalletProviderEnum | null;
152
+ /**
153
+ *
154
+ * @type {string}
155
+ * @memberof Agent
156
+ */
53
157
  'readonly_wallet_address'?: string | null;
158
+ /**
159
+ *
160
+ * @type {string}
161
+ * @memberof Agent
162
+ */
54
163
  'network_id'?: AgentNetworkIdEnum | null;
164
+ /**
165
+ *
166
+ * @type {object}
167
+ * @memberof Agent
168
+ */
55
169
  'skills'?: object | null;
170
+ /**
171
+ *
172
+ * @type {string}
173
+ * @memberof Agent
174
+ */
56
175
  'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
176
+ /**
177
+ *
178
+ * @type {Array<AgentAutonomous>}
179
+ * @memberof Agent
180
+ */
57
181
  'autonomous'?: Array<AgentAutonomous> | null;
182
+ /**
183
+ *
184
+ * @type {boolean}
185
+ * @memberof Agent
186
+ */
58
187
  'telegram_entrypoint_enabled'?: boolean | null;
188
+ /**
189
+ *
190
+ * @type {string}
191
+ * @memberof Agent
192
+ */
59
193
  'telegram_entrypoint_prompt'?: string | null;
194
+ /**
195
+ *
196
+ * @type {object}
197
+ * @memberof Agent
198
+ */
60
199
  'telegram_config'?: object | null;
200
+ /**
201
+ *
202
+ * @type {string}
203
+ * @memberof Agent
204
+ */
61
205
  'xmtp_entrypoint_prompt'?: string | null;
206
+ /**
207
+ *
208
+ * @type {string}
209
+ * @memberof Agent
210
+ */
62
211
  'upstream_id'?: string | null;
212
+ /**
213
+ *
214
+ * @type {object}
215
+ * @memberof Agent
216
+ */
63
217
  'upstream_extra'?: object | null;
64
218
  /**
65
219
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
220
+ * @type {string}
221
+ * @memberof Agent
66
222
  */
67
223
  'id'?: string;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof Agent
228
+ */
68
229
  'owner'?: string | null;
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof Agent
234
+ */
69
235
  'slug'?: string | null;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof Agent
240
+ */
70
241
  'version'?: string | null;
242
+ /**
243
+ *
244
+ * @type {object}
245
+ * @memberof Agent
246
+ */
71
247
  'statistics'?: object | null;
248
+ /**
249
+ *
250
+ * @type {object}
251
+ * @memberof Agent
252
+ */
72
253
  'assets'?: object | null;
254
+ /**
255
+ *
256
+ * @type {CreditAccount}
257
+ * @memberof Agent
258
+ */
73
259
  'account_snapshot'?: CreditAccount | null;
260
+ /**
261
+ *
262
+ * @type {object}
263
+ * @memberof Agent
264
+ */
74
265
  'extra'?: object | null;
75
266
  /**
76
267
  * Timestamp when the agent was created, will ignore when importing
268
+ * @type {string}
269
+ * @memberof Agent
77
270
  */
78
271
  'created_at'?: string;
79
272
  /**
80
273
  * Timestamp when the agent was last updated, will ignore when importing
274
+ * @type {string}
275
+ * @memberof Agent
81
276
  */
82
277
  'updated_at'?: string;
83
278
  }
@@ -112,107 +307,306 @@ export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrate
112
307
 
113
308
  /**
114
309
  * Response model for agent API key generation.
310
+ * @export
311
+ * @interface AgentApiKeyResponse
115
312
  */
116
313
  export interface AgentApiKeyResponse {
117
314
  /**
118
315
  * The private API key for the agent (sk-)
316
+ * @type {string}
317
+ * @memberof AgentApiKeyResponse
119
318
  */
120
319
  'api_key': string;
121
320
  /**
122
321
  * The public API key for the agent (pk-)
322
+ * @type {string}
323
+ * @memberof AgentApiKeyResponse
123
324
  */
124
325
  'api_key_public': string;
125
326
  /**
126
327
  * The base URL for the API
328
+ * @type {string}
329
+ * @memberof AgentApiKeyResponse
127
330
  */
128
331
  'base_url': string;
129
332
  /**
130
333
  * API documentation URL
334
+ * @type {string}
335
+ * @memberof AgentApiKeyResponse
131
336
  */
132
337
  'api_doc': string;
133
338
  /**
134
339
  * OpenAPI JSON URL for AI integration
340
+ * @type {string}
341
+ * @memberof AgentApiKeyResponse
135
342
  */
136
343
  'doc_for_ai': string;
137
344
  }
138
345
  /**
139
346
  * Response model for agent assets.
347
+ * @export
348
+ * @interface AgentAssetsResponse
140
349
  */
141
350
  export interface AgentAssetsResponse {
142
351
  /**
143
352
  * ID of the agent
353
+ * @type {string}
354
+ * @memberof AgentAssetsResponse
144
355
  */
145
356
  'agent_id': string;
357
+ /**
358
+ *
359
+ * @type {string}
360
+ * @memberof AgentAssetsResponse
361
+ */
146
362
  'network_id': string | null;
363
+ /**
364
+ *
365
+ * @type {string}
366
+ * @memberof AgentAssetsResponse
367
+ */
147
368
  'wallet_address': string | null;
369
+ /**
370
+ *
371
+ * @type {string}
372
+ * @memberof AgentAssetsResponse
373
+ */
148
374
  'ticker': string | null;
375
+ /**
376
+ *
377
+ * @type {string}
378
+ * @memberof AgentAssetsResponse
379
+ */
149
380
  'token_address': string | null;
381
+ /**
382
+ *
383
+ * @type {string}
384
+ * @memberof AgentAssetsResponse
385
+ */
150
386
  'token_pool': string | null;
151
387
  /**
152
388
  * Total value locked, set to 0 for this version
389
+ * @type {string}
390
+ * @memberof AgentAssetsResponse
153
391
  */
154
392
  'tvl'?: string;
155
393
  /**
156
394
  * List of assets with symbol and balance
395
+ * @type {Array<Asset>}
396
+ * @memberof AgentAssetsResponse
157
397
  */
158
398
  'assets': Array<Asset>;
159
399
  /**
160
400
  * Credit account information
401
+ * @type {CreditAccount}
402
+ * @memberof AgentAssetsResponse
161
403
  */
162
404
  'account': CreditAccount;
163
405
  }
164
406
  /**
165
407
  * Autonomous agent configuration.
408
+ * @export
409
+ * @interface AgentAutonomous
166
410
  */
167
411
  export interface AgentAutonomous {
168
412
  /**
169
413
  * Unique identifier for the autonomous configuration
414
+ * @type {string}
415
+ * @memberof AgentAutonomous
170
416
  */
171
417
  'id'?: string;
418
+ /**
419
+ *
420
+ * @type {string}
421
+ * @memberof AgentAutonomous
422
+ */
172
423
  'name'?: string | null;
424
+ /**
425
+ *
426
+ * @type {string}
427
+ * @memberof AgentAutonomous
428
+ */
173
429
  'description'?: string | null;
430
+ /**
431
+ *
432
+ * @type {number}
433
+ * @memberof AgentAutonomous
434
+ */
174
435
  'minutes'?: number | null;
436
+ /**
437
+ *
438
+ * @type {string}
439
+ * @memberof AgentAutonomous
440
+ */
175
441
  'cron'?: string | null;
176
442
  /**
177
443
  * Special prompt used during autonomous operation
444
+ * @type {string}
445
+ * @memberof AgentAutonomous
178
446
  */
179
447
  'prompt': string;
448
+ /**
449
+ *
450
+ * @type {boolean}
451
+ * @memberof AgentAutonomous
452
+ */
180
453
  'enabled'?: boolean | null;
181
454
  }
182
455
  /**
183
456
  * Agent create model.
457
+ * @export
458
+ * @interface AgentCreate
184
459
  */
185
460
  export interface AgentCreate {
461
+ /**
462
+ *
463
+ * @type {string}
464
+ * @memberof AgentCreate
465
+ */
186
466
  'name': string | null;
467
+ /**
468
+ *
469
+ * @type {string}
470
+ * @memberof AgentCreate
471
+ */
187
472
  'picture'?: string | null;
473
+ /**
474
+ *
475
+ * @type {string}
476
+ * @memberof AgentCreate
477
+ */
188
478
  'purpose'?: string | null;
479
+ /**
480
+ *
481
+ * @type {string}
482
+ * @memberof AgentCreate
483
+ */
189
484
  'personality'?: string | null;
485
+ /**
486
+ *
487
+ * @type {string}
488
+ * @memberof AgentCreate
489
+ */
190
490
  'principles'?: string | null;
191
491
  /**
192
492
  * AI model identifier to be used by this agent for processing requests.
493
+ * @type {string}
494
+ * @memberof AgentCreate
193
495
  */
194
496
  'model'?: string;
497
+ /**
498
+ *
499
+ * @type {string}
500
+ * @memberof AgentCreate
501
+ */
195
502
  'prompt'?: string | null;
503
+ /**
504
+ *
505
+ * @type {string}
506
+ * @memberof AgentCreate
507
+ */
196
508
  'prompt_append'?: string | null;
509
+ /**
510
+ *
511
+ * @type {number}
512
+ * @memberof AgentCreate
513
+ */
197
514
  'temperature'?: number | null;
515
+ /**
516
+ *
517
+ * @type {number}
518
+ * @memberof AgentCreate
519
+ */
198
520
  'frequency_penalty'?: number | null;
521
+ /**
522
+ *
523
+ * @type {number}
524
+ * @memberof AgentCreate
525
+ */
199
526
  'presence_penalty'?: number | null;
527
+ /**
528
+ *
529
+ * @type {string}
530
+ * @memberof AgentCreate
531
+ */
200
532
  'wallet_provider'?: AgentCreateWalletProviderEnum | null;
533
+ /**
534
+ *
535
+ * @type {string}
536
+ * @memberof AgentCreate
537
+ */
201
538
  'readonly_wallet_address'?: string | null;
539
+ /**
540
+ *
541
+ * @type {string}
542
+ * @memberof AgentCreate
543
+ */
202
544
  'network_id'?: AgentCreateNetworkIdEnum | null;
545
+ /**
546
+ *
547
+ * @type {object}
548
+ * @memberof AgentCreate
549
+ */
203
550
  'skills'?: object | null;
551
+ /**
552
+ *
553
+ * @type {string}
554
+ * @memberof AgentCreate
555
+ */
204
556
  'short_term_memory_strategy'?: AgentCreateShortTermMemoryStrategyEnum | null;
557
+ /**
558
+ *
559
+ * @type {Array<AgentAutonomous>}
560
+ * @memberof AgentCreate
561
+ */
205
562
  'autonomous'?: Array<AgentAutonomous> | null;
563
+ /**
564
+ *
565
+ * @type {boolean}
566
+ * @memberof AgentCreate
567
+ */
206
568
  'telegram_entrypoint_enabled'?: boolean | null;
569
+ /**
570
+ *
571
+ * @type {string}
572
+ * @memberof AgentCreate
573
+ */
207
574
  'telegram_entrypoint_prompt'?: string | null;
575
+ /**
576
+ *
577
+ * @type {object}
578
+ * @memberof AgentCreate
579
+ */
208
580
  'telegram_config'?: object | null;
581
+ /**
582
+ *
583
+ * @type {string}
584
+ * @memberof AgentCreate
585
+ */
209
586
  'xmtp_entrypoint_prompt'?: string | null;
587
+ /**
588
+ *
589
+ * @type {string}
590
+ * @memberof AgentCreate
591
+ */
210
592
  'upstream_id'?: string | null;
593
+ /**
594
+ *
595
+ * @type {object}
596
+ * @memberof AgentCreate
597
+ */
211
598
  'upstream_extra'?: object | null;
212
599
  /**
213
600
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
601
+ * @type {string}
602
+ * @memberof AgentCreate
214
603
  */
215
604
  'id'?: string;
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof AgentCreate
609
+ */
216
610
  'owner'?: string | null;
217
611
  }
218
612
 
@@ -246,66 +640,207 @@ export type AgentCreateShortTermMemoryStrategyEnum = typeof AgentCreateShortTerm
246
640
 
247
641
  /**
248
642
  * Request model for agent deployment.
643
+ * @export
644
+ * @interface AgentDeployRequest
249
645
  */
250
646
  export interface AgentDeployRequest {
251
647
  /**
252
648
  * Agent ID to deploy
649
+ * @type {string}
650
+ * @memberof AgentDeployRequest
253
651
  */
254
652
  'agent_id': string;
255
653
  /**
256
654
  * Draft ID to deploy
655
+ * @type {string}
656
+ * @memberof AgentDeployRequest
257
657
  */
258
658
  'draft_id': string;
259
659
  /**
260
660
  * Transaction ID for upstream tracking
661
+ * @type {string}
662
+ * @memberof AgentDeployRequest
261
663
  */
262
664
  'tx_id': string;
263
665
  }
264
666
  /**
265
667
  * Agent draft model.
668
+ * @export
669
+ * @interface AgentDraft
266
670
  */
267
671
  export interface AgentDraft {
672
+ /**
673
+ *
674
+ * @type {string}
675
+ * @memberof AgentDraft
676
+ */
268
677
  'name': string | null;
678
+ /**
679
+ *
680
+ * @type {string}
681
+ * @memberof AgentDraft
682
+ */
269
683
  'picture'?: string | null;
684
+ /**
685
+ *
686
+ * @type {string}
687
+ * @memberof AgentDraft
688
+ */
270
689
  'purpose'?: string | null;
690
+ /**
691
+ *
692
+ * @type {string}
693
+ * @memberof AgentDraft
694
+ */
271
695
  'personality'?: string | null;
696
+ /**
697
+ *
698
+ * @type {string}
699
+ * @memberof AgentDraft
700
+ */
272
701
  'principles'?: string | null;
273
702
  /**
274
703
  * AI model identifier to be used by this agent for processing requests.
704
+ * @type {string}
705
+ * @memberof AgentDraft
275
706
  */
276
707
  'model'?: string;
708
+ /**
709
+ *
710
+ * @type {string}
711
+ * @memberof AgentDraft
712
+ */
277
713
  'prompt'?: string | null;
714
+ /**
715
+ *
716
+ * @type {string}
717
+ * @memberof AgentDraft
718
+ */
278
719
  'prompt_append'?: string | null;
720
+ /**
721
+ *
722
+ * @type {number}
723
+ * @memberof AgentDraft
724
+ */
279
725
  'temperature'?: number | null;
726
+ /**
727
+ *
728
+ * @type {number}
729
+ * @memberof AgentDraft
730
+ */
280
731
  'frequency_penalty'?: number | null;
732
+ /**
733
+ *
734
+ * @type {number}
735
+ * @memberof AgentDraft
736
+ */
281
737
  'presence_penalty'?: number | null;
738
+ /**
739
+ *
740
+ * @type {string}
741
+ * @memberof AgentDraft
742
+ */
282
743
  'wallet_provider'?: AgentDraftWalletProviderEnum | null;
744
+ /**
745
+ *
746
+ * @type {string}
747
+ * @memberof AgentDraft
748
+ */
283
749
  'readonly_wallet_address'?: string | null;
750
+ /**
751
+ *
752
+ * @type {string}
753
+ * @memberof AgentDraft
754
+ */
284
755
  'network_id'?: AgentDraftNetworkIdEnum | null;
756
+ /**
757
+ *
758
+ * @type {object}
759
+ * @memberof AgentDraft
760
+ */
285
761
  'skills'?: object | null;
762
+ /**
763
+ *
764
+ * @type {string}
765
+ * @memberof AgentDraft
766
+ */
286
767
  'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
768
+ /**
769
+ *
770
+ * @type {Array<AgentAutonomous>}
771
+ * @memberof AgentDraft
772
+ */
287
773
  'autonomous'?: Array<AgentAutonomous> | null;
774
+ /**
775
+ *
776
+ * @type {boolean}
777
+ * @memberof AgentDraft
778
+ */
288
779
  'telegram_entrypoint_enabled'?: boolean | null;
780
+ /**
781
+ *
782
+ * @type {string}
783
+ * @memberof AgentDraft
784
+ */
289
785
  'telegram_entrypoint_prompt'?: string | null;
786
+ /**
787
+ *
788
+ * @type {object}
789
+ * @memberof AgentDraft
790
+ */
290
791
  'telegram_config'?: object | null;
792
+ /**
793
+ *
794
+ * @type {string}
795
+ * @memberof AgentDraft
796
+ */
291
797
  'xmtp_entrypoint_prompt'?: string | null;
292
798
  /**
293
799
  * Unique identifier for the draft
800
+ * @type {string}
801
+ * @memberof AgentDraft
294
802
  */
295
803
  'id'?: string;
296
804
  /**
297
805
  * Agent id
806
+ * @type {string}
807
+ * @memberof AgentDraft
298
808
  */
299
809
  'agent_id'?: string;
810
+ /**
811
+ *
812
+ * @type {string}
813
+ * @memberof AgentDraft
814
+ */
300
815
  'owner'?: string | null;
816
+ /**
817
+ *
818
+ * @type {string}
819
+ * @memberof AgentDraft
820
+ */
301
821
  'version'?: string | null;
822
+ /**
823
+ *
824
+ * @type {string}
825
+ * @memberof AgentDraft
826
+ */
827
+ 'last_draft_id'?: string | null;
828
+ /**
829
+ *
830
+ * @type {string}
831
+ * @memberof AgentDraft
832
+ */
302
833
  'deployed_at'?: string | null;
303
834
  /**
304
835
  * Timestamp when the agent was created, will ignore when importing
836
+ * @type {string}
837
+ * @memberof AgentDraft
305
838
  */
306
839
  'created_at'?: string;
307
840
  /**
308
841
  * Timestamp when the agent was last updated, will ignore when importing
842
+ * @type {string}
843
+ * @memberof AgentDraft
309
844
  */
310
845
  'updated_at'?: string;
311
846
  }
@@ -340,142 +875,390 @@ export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMe
340
875
 
341
876
  /**
342
877
  * Agent example configuration.
878
+ * @export
879
+ * @interface AgentExample
343
880
  */
344
881
  export interface AgentExample {
345
882
  /**
346
883
  * Name of the example
884
+ * @type {string}
885
+ * @memberof AgentExample
347
886
  */
348
887
  'name': string;
349
888
  /**
350
889
  * Description of the example
890
+ * @type {string}
891
+ * @memberof AgentExample
351
892
  */
352
893
  'description': string;
353
894
  /**
354
895
  * Example prompt
896
+ * @type {string}
897
+ * @memberof AgentExample
355
898
  */
356
899
  'prompt': string;
357
900
  }
358
901
  /**
359
902
  * Request model for agent generation.
903
+ * @export
904
+ * @interface AgentGenerateRequest
360
905
  */
361
906
  export interface AgentGenerateRequest {
362
907
  /**
363
908
  * Natural language description of the agent\'s desired capabilities
909
+ * @type {string}
910
+ * @memberof AgentGenerateRequest
364
911
  */
365
912
  'prompt': string;
913
+ /**
914
+ *
915
+ * @type {AgentCreate}
916
+ * @memberof AgentGenerateRequest
917
+ */
366
918
  'existing_agent'?: AgentCreate | null;
919
+ /**
920
+ *
921
+ * @type {string}
922
+ * @memberof AgentGenerateRequest
923
+ */
367
924
  'project_id'?: string | null;
925
+ /**
926
+ *
927
+ * @type {boolean}
928
+ * @memberof AgentGenerateRequest
929
+ */
368
930
  'deploy'?: boolean | null;
369
931
  }
370
932
  /**
371
933
  * Response model for agent generation.
934
+ * @export
935
+ * @interface AgentGenerateResponse
372
936
  */
373
937
  export interface AgentGenerateResponse {
374
938
  /**
375
939
  * The generated agent schema
940
+ * @type {object}
941
+ * @memberof AgentGenerateResponse
376
942
  */
377
943
  'agent': object;
378
944
  /**
379
945
  * Project ID for this conversation session
946
+ * @type {string}
947
+ * @memberof AgentGenerateResponse
380
948
  */
381
949
  'project_id': string;
382
950
  /**
383
951
  * Human-readable summary of the generated agent
952
+ * @type {string}
953
+ * @memberof AgentGenerateResponse
384
954
  */
385
955
  'summary': string;
386
956
  /**
387
957
  * Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
958
+ * @type {Array<{ [key: string]: number; }>}
959
+ * @memberof AgentGenerateResponse
388
960
  */
389
961
  'tags'?: Array<{ [key: string]: number; }>;
962
+ /**
963
+ *
964
+ * @type {Array<object>}
965
+ * @memberof AgentGenerateResponse
966
+ */
390
967
  'autonomous_tasks'?: Array<object> | null;
968
+ /**
969
+ *
970
+ * @type {Array<string>}
971
+ * @memberof AgentGenerateResponse
972
+ */
391
973
  'activated_skills'?: Array<string> | null;
392
974
  }
393
975
  /**
394
976
  * Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
977
+ * @export
978
+ * @interface AgentListResponse
395
979
  */
396
980
  export interface AgentListResponse {
397
981
  /**
398
982
  * List of agents
983
+ * @type {Array<AgentResponse>}
984
+ * @memberof AgentListResponse
399
985
  */
400
986
  'data': Array<AgentResponse>;
401
987
  /**
402
988
  * Indicates if there are more items
989
+ * @type {boolean}
990
+ * @memberof AgentListResponse
403
991
  */
404
992
  'has_more': boolean;
993
+ /**
994
+ *
995
+ * @type {string}
996
+ * @memberof AgentListResponse
997
+ */
405
998
  'next_cursor'?: string | null;
406
999
  }
407
1000
  /**
408
1001
  * Agent response model that excludes sensitive fields from JSON output and schema.
1002
+ * @export
1003
+ * @interface AgentResponse
409
1004
  */
410
1005
  export interface AgentResponse {
1006
+ /**
1007
+ *
1008
+ * @type {string}
1009
+ * @memberof AgentResponse
1010
+ */
411
1011
  'description'?: string | null;
1012
+ /**
1013
+ *
1014
+ * @type {string}
1015
+ * @memberof AgentResponse
1016
+ */
412
1017
  'external_website'?: string | null;
1018
+ /**
1019
+ *
1020
+ * @type {string}
1021
+ * @memberof AgentResponse
1022
+ */
413
1023
  'ticker'?: string | null;
1024
+ /**
1025
+ *
1026
+ * @type {string}
1027
+ * @memberof AgentResponse
1028
+ */
414
1029
  'token_address'?: string | null;
1030
+ /**
1031
+ *
1032
+ * @type {string}
1033
+ * @memberof AgentResponse
1034
+ */
415
1035
  'token_pool'?: string | null;
1036
+ /**
1037
+ *
1038
+ * @type {string}
1039
+ * @memberof AgentResponse
1040
+ */
416
1041
  'fee_percentage'?: string | null;
1042
+ /**
1043
+ *
1044
+ * @type {string}
1045
+ * @memberof AgentResponse
1046
+ */
417
1047
  'example_intro'?: string | null;
1048
+ /**
1049
+ *
1050
+ * @type {Array<AgentExample>}
1051
+ * @memberof AgentResponse
1052
+ */
418
1053
  'examples'?: Array<AgentExample> | null;
1054
+ /**
1055
+ *
1056
+ * @type {string}
1057
+ * @memberof AgentResponse
1058
+ */
419
1059
  'name': string | null;
1060
+ /**
1061
+ *
1062
+ * @type {string}
1063
+ * @memberof AgentResponse
1064
+ */
420
1065
  'picture'?: string | null;
421
1066
  /**
422
1067
  * AI model identifier to be used by this agent for processing requests.
1068
+ * @type {string}
1069
+ * @memberof AgentResponse
423
1070
  */
424
1071
  'model'?: string;
1072
+ /**
1073
+ *
1074
+ * @type {number}
1075
+ * @memberof AgentResponse
1076
+ */
425
1077
  'presence_penalty'?: number | null;
1078
+ /**
1079
+ *
1080
+ * @type {string}
1081
+ * @memberof AgentResponse
1082
+ */
426
1083
  'wallet_provider'?: AgentResponseWalletProviderEnum | null;
1084
+ /**
1085
+ *
1086
+ * @type {string}
1087
+ * @memberof AgentResponse
1088
+ */
427
1089
  'readonly_wallet_address'?: string | null;
1090
+ /**
1091
+ *
1092
+ * @type {string}
1093
+ * @memberof AgentResponse
1094
+ */
428
1095
  'network_id'?: AgentResponseNetworkIdEnum | null;
1096
+ /**
1097
+ *
1098
+ * @type {object}
1099
+ * @memberof AgentResponse
1100
+ */
429
1101
  'skills'?: object | null;
1102
+ /**
1103
+ *
1104
+ * @type {string}
1105
+ * @memberof AgentResponse
1106
+ */
430
1107
  'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
1108
+ /**
1109
+ *
1110
+ * @type {Array<AgentAutonomous>}
1111
+ * @memberof AgentResponse
1112
+ */
431
1113
  'autonomous'?: Array<AgentAutonomous> | null;
1114
+ /**
1115
+ *
1116
+ * @type {boolean}
1117
+ * @memberof AgentResponse
1118
+ */
432
1119
  'telegram_entrypoint_enabled'?: boolean | null;
1120
+ /**
1121
+ *
1122
+ * @type {string}
1123
+ * @memberof AgentResponse
1124
+ */
433
1125
  'upstream_id'?: string | null;
1126
+ /**
1127
+ *
1128
+ * @type {object}
1129
+ * @memberof AgentResponse
1130
+ */
434
1131
  'upstream_extra'?: object | null;
435
1132
  /**
436
1133
  * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
1134
+ * @type {string}
1135
+ * @memberof AgentResponse
437
1136
  */
438
1137
  'id'?: string;
1138
+ /**
1139
+ *
1140
+ * @type {string}
1141
+ * @memberof AgentResponse
1142
+ */
439
1143
  'owner'?: string | null;
1144
+ /**
1145
+ *
1146
+ * @type {string}
1147
+ * @memberof AgentResponse
1148
+ */
440
1149
  'slug'?: string | null;
1150
+ /**
1151
+ *
1152
+ * @type {string}
1153
+ * @memberof AgentResponse
1154
+ */
441
1155
  'version'?: string | null;
1156
+ /**
1157
+ *
1158
+ * @type {object}
1159
+ * @memberof AgentResponse
1160
+ */
442
1161
  'statistics'?: object | null;
1162
+ /**
1163
+ *
1164
+ * @type {object}
1165
+ * @memberof AgentResponse
1166
+ */
443
1167
  'assets'?: object | null;
1168
+ /**
1169
+ *
1170
+ * @type {CreditAccount}
1171
+ * @memberof AgentResponse
1172
+ */
444
1173
  'account_snapshot'?: CreditAccount | null;
1174
+ /**
1175
+ *
1176
+ * @type {object}
1177
+ * @memberof AgentResponse
1178
+ */
445
1179
  'extra'?: object | null;
446
1180
  /**
447
1181
  * Timestamp when the agent was created, will ignore when importing
1182
+ * @type {string}
1183
+ * @memberof AgentResponse
448
1184
  */
449
1185
  'created_at'?: string;
450
1186
  /**
451
1187
  * Timestamp when the agent was last updated, will ignore when importing
1188
+ * @type {string}
1189
+ * @memberof AgentResponse
452
1190
  */
453
1191
  'updated_at'?: string;
1192
+ /**
1193
+ *
1194
+ * @type {string}
1195
+ * @memberof AgentResponse
1196
+ */
454
1197
  'cdp_wallet_address'?: string | null;
1198
+ /**
1199
+ *
1200
+ * @type {string}
1201
+ * @memberof AgentResponse
1202
+ */
455
1203
  'evm_wallet_address'?: string | null;
1204
+ /**
1205
+ *
1206
+ * @type {string}
1207
+ * @memberof AgentResponse
1208
+ */
456
1209
  'solana_wallet_address'?: string | null;
457
1210
  /**
458
1211
  * Whether the agent has Twitter linked
1212
+ * @type {boolean}
1213
+ * @memberof AgentResponse
459
1214
  */
460
1215
  'has_twitter_linked'?: boolean;
1216
+ /**
1217
+ *
1218
+ * @type {string}
1219
+ * @memberof AgentResponse
1220
+ */
461
1221
  'linked_twitter_username'?: string | null;
1222
+ /**
1223
+ *
1224
+ * @type {string}
1225
+ * @memberof AgentResponse
1226
+ */
462
1227
  'linked_twitter_name'?: string | null;
463
1228
  /**
464
1229
  * Whether the agent has Twitter self key
1230
+ * @type {boolean}
1231
+ * @memberof AgentResponse
465
1232
  */
466
1233
  'has_twitter_self_key'?: boolean;
467
1234
  /**
468
1235
  * Whether the agent has Telegram self key
1236
+ * @type {boolean}
1237
+ * @memberof AgentResponse
469
1238
  */
470
1239
  'has_telegram_self_key'?: boolean;
1240
+ /**
1241
+ *
1242
+ * @type {string}
1243
+ * @memberof AgentResponse
1244
+ */
471
1245
  'linked_telegram_username'?: string | null;
1246
+ /**
1247
+ *
1248
+ * @type {string}
1249
+ * @memberof AgentResponse
1250
+ */
472
1251
  'linked_telegram_name'?: string | null;
473
1252
  /**
474
1253
  * Whether the agent accepts image input
1254
+ * @type {boolean}
1255
+ * @memberof AgentResponse
475
1256
  */
476
1257
  'accept_image_input'?: boolean;
477
1258
  /**
478
1259
  * Whether the agent accepts image input in private mode
1260
+ * @type {boolean}
1261
+ * @memberof AgentResponse
479
1262
  */
480
1263
  'accept_image_input_private'?: boolean;
481
1264
  }
@@ -510,6 +1293,8 @@ export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShort
510
1293
 
511
1294
  /**
512
1295
  * Sort options for agents list.
1296
+ * @export
1297
+ * @enum {string}
513
1298
  */
514
1299
 
515
1300
  export const AgentSortOption = {
@@ -523,98 +1308,244 @@ export type AgentSortOption = typeof AgentSortOption[keyof typeof AgentSortOptio
523
1308
 
524
1309
  /**
525
1310
  * Response model for agent statistics.
1311
+ * @export
1312
+ * @interface AgentStatisticsResponse
526
1313
  */
527
1314
  export interface AgentStatisticsResponse {
528
1315
  /**
529
1316
  * ID of the agent
1317
+ * @type {string}
1318
+ * @memberof AgentStatisticsResponse
530
1319
  */
531
1320
  'agent_id': string;
532
1321
  /**
533
1322
  * ID of the agent\'s credit account
1323
+ * @type {string}
1324
+ * @memberof AgentStatisticsResponse
534
1325
  */
535
1326
  'account_id': string;
536
1327
  /**
537
1328
  * Total balance of the agent\'s account
1329
+ * @type {string}
1330
+ * @memberof AgentStatisticsResponse
538
1331
  */
539
1332
  'balance': string;
540
1333
  /**
541
1334
  * Total income from all credit events
1335
+ * @type {string}
1336
+ * @memberof AgentStatisticsResponse
542
1337
  */
543
1338
  'total_income': string;
544
1339
  /**
545
1340
  * Net income from all credit events
1341
+ * @type {string}
1342
+ * @memberof AgentStatisticsResponse
546
1343
  */
547
1344
  'net_income': string;
548
1345
  /**
549
1346
  * Permanent income from all credit events
1347
+ * @type {string}
1348
+ * @memberof AgentStatisticsResponse
550
1349
  */
551
1350
  'permanent_income': string;
552
1351
  /**
553
1352
  * Permanent profit from all credit events
1353
+ * @type {string}
1354
+ * @memberof AgentStatisticsResponse
554
1355
  */
555
1356
  'permanent_profit': string;
556
1357
  /**
557
1358
  * Income from last 24 hours
1359
+ * @type {string}
1360
+ * @memberof AgentStatisticsResponse
558
1361
  */
559
1362
  'last_24h_income': string;
560
1363
  /**
561
1364
  * Permanent income from last 24 hours
1365
+ * @type {string}
1366
+ * @memberof AgentStatisticsResponse
562
1367
  */
563
1368
  'last_24h_permanent_income': string;
564
1369
  /**
565
1370
  * Average action cost
1371
+ * @type {string}
1372
+ * @memberof AgentStatisticsResponse
566
1373
  */
567
1374
  'avg_action_cost': string;
568
1375
  /**
569
1376
  * Minimum action cost
1377
+ * @type {string}
1378
+ * @memberof AgentStatisticsResponse
570
1379
  */
571
1380
  'min_action_cost': string;
572
1381
  /**
573
1382
  * Maximum action cost
1383
+ * @type {string}
1384
+ * @memberof AgentStatisticsResponse
574
1385
  */
575
1386
  'max_action_cost': string;
576
1387
  /**
577
1388
  * Low action cost
1389
+ * @type {string}
1390
+ * @memberof AgentStatisticsResponse
578
1391
  */
579
1392
  'low_action_cost': string;
580
1393
  /**
581
1394
  * Medium action cost
1395
+ * @type {string}
1396
+ * @memberof AgentStatisticsResponse
582
1397
  */
583
1398
  'medium_action_cost': string;
584
1399
  /**
585
1400
  * High action cost
1401
+ * @type {string}
1402
+ * @memberof AgentStatisticsResponse
586
1403
  */
587
1404
  'high_action_cost': string;
588
1405
  }
589
1406
  /**
590
1407
  * Agent update model.
1408
+ * @export
1409
+ * @interface AgentUpdate
591
1410
  */
592
1411
  export interface AgentUpdate {
1412
+ /**
1413
+ *
1414
+ * @type {string}
1415
+ * @memberof AgentUpdate
1416
+ */
593
1417
  'name': string | null;
1418
+ /**
1419
+ *
1420
+ * @type {string}
1421
+ * @memberof AgentUpdate
1422
+ */
594
1423
  'picture'?: string | null;
1424
+ /**
1425
+ *
1426
+ * @type {string}
1427
+ * @memberof AgentUpdate
1428
+ */
595
1429
  'purpose'?: string | null;
1430
+ /**
1431
+ *
1432
+ * @type {string}
1433
+ * @memberof AgentUpdate
1434
+ */
596
1435
  'personality'?: string | null;
1436
+ /**
1437
+ *
1438
+ * @type {string}
1439
+ * @memberof AgentUpdate
1440
+ */
597
1441
  'principles'?: string | null;
598
1442
  /**
599
1443
  * AI model identifier to be used by this agent for processing requests.
1444
+ * @type {string}
1445
+ * @memberof AgentUpdate
600
1446
  */
601
1447
  'model'?: string;
1448
+ /**
1449
+ *
1450
+ * @type {string}
1451
+ * @memberof AgentUpdate
1452
+ */
602
1453
  'prompt'?: string | null;
1454
+ /**
1455
+ *
1456
+ * @type {string}
1457
+ * @memberof AgentUpdate
1458
+ */
603
1459
  'prompt_append'?: string | null;
1460
+ /**
1461
+ *
1462
+ * @type {number}
1463
+ * @memberof AgentUpdate
1464
+ */
604
1465
  'temperature'?: number | null;
1466
+ /**
1467
+ *
1468
+ * @type {number}
1469
+ * @memberof AgentUpdate
1470
+ */
605
1471
  'frequency_penalty'?: number | null;
1472
+ /**
1473
+ *
1474
+ * @type {number}
1475
+ * @memberof AgentUpdate
1476
+ */
606
1477
  'presence_penalty'?: number | null;
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof AgentUpdate
1482
+ */
607
1483
  'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
1484
+ /**
1485
+ *
1486
+ * @type {string}
1487
+ * @memberof AgentUpdate
1488
+ */
608
1489
  'readonly_wallet_address'?: string | null;
1490
+ /**
1491
+ *
1492
+ * @type {string}
1493
+ * @memberof AgentUpdate
1494
+ */
609
1495
  'network_id'?: AgentUpdateNetworkIdEnum | null;
1496
+ /**
1497
+ *
1498
+ * @type {object}
1499
+ * @memberof AgentUpdate
1500
+ */
610
1501
  'skills'?: object | null;
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof AgentUpdate
1506
+ */
611
1507
  'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
1508
+ /**
1509
+ *
1510
+ * @type {Array<AgentAutonomous>}
1511
+ * @memberof AgentUpdate
1512
+ */
612
1513
  'autonomous'?: Array<AgentAutonomous> | null;
1514
+ /**
1515
+ *
1516
+ * @type {boolean}
1517
+ * @memberof AgentUpdate
1518
+ */
613
1519
  'telegram_entrypoint_enabled'?: boolean | null;
1520
+ /**
1521
+ *
1522
+ * @type {string}
1523
+ * @memberof AgentUpdate
1524
+ */
614
1525
  'telegram_entrypoint_prompt'?: string | null;
1526
+ /**
1527
+ *
1528
+ * @type {object}
1529
+ * @memberof AgentUpdate
1530
+ */
615
1531
  'telegram_config'?: object | null;
1532
+ /**
1533
+ *
1534
+ * @type {string}
1535
+ * @memberof AgentUpdate
1536
+ */
616
1537
  'xmtp_entrypoint_prompt'?: string | null;
1538
+ /**
1539
+ *
1540
+ * @type {string}
1541
+ * @memberof AgentUpdate
1542
+ */
617
1543
  'upstream_id'?: string | null;
1544
+ /**
1545
+ *
1546
+ * @type {object}
1547
+ * @memberof AgentUpdate
1548
+ */
618
1549
  'upstream_extra'?: object | null;
619
1550
  }
620
1551
 
@@ -648,31 +1579,135 @@ export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTerm
648
1579
 
649
1580
  /**
650
1581
  * Agent update model.
1582
+ * @export
1583
+ * @interface AgentUserInput
651
1584
  */
652
1585
  export interface AgentUserInput {
1586
+ /**
1587
+ *
1588
+ * @type {string}
1589
+ * @memberof AgentUserInput
1590
+ */
653
1591
  'name': string | null;
1592
+ /**
1593
+ *
1594
+ * @type {string}
1595
+ * @memberof AgentUserInput
1596
+ */
654
1597
  'picture'?: string | null;
1598
+ /**
1599
+ *
1600
+ * @type {string}
1601
+ * @memberof AgentUserInput
1602
+ */
655
1603
  'purpose'?: string | null;
1604
+ /**
1605
+ *
1606
+ * @type {string}
1607
+ * @memberof AgentUserInput
1608
+ */
656
1609
  'personality'?: string | null;
1610
+ /**
1611
+ *
1612
+ * @type {string}
1613
+ * @memberof AgentUserInput
1614
+ */
657
1615
  'principles'?: string | null;
658
1616
  /**
659
1617
  * AI model identifier to be used by this agent for processing requests.
1618
+ * @type {string}
1619
+ * @memberof AgentUserInput
660
1620
  */
661
1621
  'model'?: string;
1622
+ /**
1623
+ *
1624
+ * @type {string}
1625
+ * @memberof AgentUserInput
1626
+ */
662
1627
  'prompt'?: string | null;
1628
+ /**
1629
+ *
1630
+ * @type {string}
1631
+ * @memberof AgentUserInput
1632
+ */
663
1633
  'prompt_append'?: string | null;
1634
+ /**
1635
+ *
1636
+ * @type {number}
1637
+ * @memberof AgentUserInput
1638
+ */
664
1639
  'temperature'?: number | null;
1640
+ /**
1641
+ *
1642
+ * @type {number}
1643
+ * @memberof AgentUserInput
1644
+ */
665
1645
  'frequency_penalty'?: number | null;
1646
+ /**
1647
+ *
1648
+ * @type {number}
1649
+ * @memberof AgentUserInput
1650
+ */
666
1651
  'presence_penalty'?: number | null;
1652
+ /**
1653
+ *
1654
+ * @type {string}
1655
+ * @memberof AgentUserInput
1656
+ */
667
1657
  'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
1658
+ /**
1659
+ *
1660
+ * @type {string}
1661
+ * @memberof AgentUserInput
1662
+ */
668
1663
  'readonly_wallet_address'?: string | null;
1664
+ /**
1665
+ *
1666
+ * @type {string}
1667
+ * @memberof AgentUserInput
1668
+ */
669
1669
  'network_id'?: AgentUserInputNetworkIdEnum | null;
1670
+ /**
1671
+ *
1672
+ * @type {object}
1673
+ * @memberof AgentUserInput
1674
+ */
670
1675
  'skills'?: object | null;
1676
+ /**
1677
+ *
1678
+ * @type {string}
1679
+ * @memberof AgentUserInput
1680
+ */
671
1681
  'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
1682
+ /**
1683
+ *
1684
+ * @type {Array<AgentAutonomous>}
1685
+ * @memberof AgentUserInput
1686
+ */
672
1687
  'autonomous'?: Array<AgentAutonomous> | null;
1688
+ /**
1689
+ *
1690
+ * @type {boolean}
1691
+ * @memberof AgentUserInput
1692
+ */
673
1693
  'telegram_entrypoint_enabled'?: boolean | null;
1694
+ /**
1695
+ *
1696
+ * @type {string}
1697
+ * @memberof AgentUserInput
1698
+ */
674
1699
  'telegram_entrypoint_prompt'?: string | null;
1700
+ /**
1701
+ *
1702
+ * @type {object}
1703
+ * @memberof AgentUserInput
1704
+ */
675
1705
  'telegram_config'?: object | null;
1706
+ /**
1707
+ *
1708
+ * @type {string}
1709
+ * @memberof AgentUserInput
1710
+ */
676
1711
  'xmtp_entrypoint_prompt'?: string | null;
677
1712
  }
678
1713
 
@@ -706,19 +1741,27 @@ export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputSho
706
1741
 
707
1742
  /**
708
1743
  * Model for individual asset with symbol and balance.
1744
+ * @export
1745
+ * @interface Asset
709
1746
  */
710
1747
  export interface Asset {
711
1748
  /**
712
1749
  * Asset symbol (e.g., ETH, USDC, NATION)
1750
+ * @type {string}
1751
+ * @memberof Asset
713
1752
  */
714
1753
  'symbol': string;
715
1754
  /**
716
1755
  * Asset balance as decimal
1756
+ * @type {string}
1757
+ * @memberof Asset
717
1758
  */
718
1759
  'balance': string;
719
1760
  }
720
1761
  /**
721
1762
  * Type of message author.
1763
+ * @export
1764
+ * @enum {string}
722
1765
  */
723
1766
 
724
1767
  export const AuthorType = {
@@ -738,95 +1781,195 @@ export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
738
1781
 
739
1782
  /**
740
1783
  * Chat model with all fields including server-generated ones.
1784
+ * @export
1785
+ * @interface Chat
741
1786
  */
742
1787
  export interface Chat {
743
1788
  /**
744
1789
  * Unique identifier for the chat
1790
+ * @type {string}
1791
+ * @memberof Chat
745
1792
  */
746
1793
  'id'?: string;
747
1794
  /**
748
1795
  * ID of the agent this chat belongs to
1796
+ * @type {string}
1797
+ * @memberof Chat
749
1798
  */
750
1799
  'agent_id': string;
751
1800
  /**
752
1801
  * User ID of the chat
1802
+ * @type {string}
1803
+ * @memberof Chat
753
1804
  */
754
1805
  'user_id': string;
755
1806
  /**
756
1807
  * Summary of the chat
1808
+ * @type {string}
1809
+ * @memberof Chat
757
1810
  */
758
1811
  'summary'?: string;
759
1812
  /**
760
1813
  * Number of rounds in the chat
1814
+ * @type {number}
1815
+ * @memberof Chat
761
1816
  */
762
1817
  'rounds'?: number;
763
1818
  /**
764
1819
  * Timestamp when this chat was created
1820
+ * @type {string}
1821
+ * @memberof Chat
765
1822
  */
766
1823
  'created_at': string;
767
1824
  /**
768
1825
  * Timestamp when this chat was updated
1826
+ * @type {string}
1827
+ * @memberof Chat
769
1828
  */
770
1829
  'updated_at': string;
771
1830
  }
772
1831
  /**
773
1832
  * Chat message model with all fields including server-generated ones.
1833
+ * @export
1834
+ * @interface ChatMessage
774
1835
  */
775
1836
  export interface ChatMessage {
776
1837
  /**
777
1838
  * Unique identifier for the chat message
1839
+ * @type {string}
1840
+ * @memberof ChatMessage
778
1841
  */
779
1842
  'id'?: string;
780
1843
  /**
781
1844
  * ID of the agent this message belongs to
1845
+ * @type {string}
1846
+ * @memberof ChatMessage
782
1847
  */
783
1848
  'agent_id': string;
784
1849
  /**
785
1850
  * ID of the chat this message belongs to
1851
+ * @type {string}
1852
+ * @memberof ChatMessage
786
1853
  */
787
1854
  'chat_id': string;
1855
+ /**
1856
+ *
1857
+ * @type {string}
1858
+ * @memberof ChatMessage
1859
+ */
788
1860
  'user_id': string | null;
789
1861
  /**
790
1862
  * ID of the message author
1863
+ * @type {string}
1864
+ * @memberof ChatMessage
791
1865
  */
792
1866
  'author_id': string;
793
1867
  /**
794
1868
  * Type of the message author
1869
+ * @type {AuthorType}
1870
+ * @memberof ChatMessage
795
1871
  */
796
1872
  'author_type': AuthorType;
1873
+ /**
1874
+ *
1875
+ * @type {string}
1876
+ * @memberof ChatMessage
1877
+ */
797
1878
  'model'?: string | null;
1879
+ /**
1880
+ *
1881
+ * @type {AuthorType}
1882
+ * @memberof ChatMessage
1883
+ */
798
1884
  'thread_type'?: AuthorType | null;
1885
+ /**
1886
+ *
1887
+ * @type {string}
1888
+ * @memberof ChatMessage
1889
+ */
799
1890
  'reply_to'?: string | null;
800
1891
  /**
801
1892
  * Content of the message
1893
+ * @type {string}
1894
+ * @memberof ChatMessage
802
1895
  */
803
1896
  'message': string;
1897
+ /**
1898
+ *
1899
+ * @type {Array<ChatMessageAttachment>}
1900
+ * @memberof ChatMessage
1901
+ */
804
1902
  'attachments'?: Array<ChatMessageAttachment> | null;
1903
+ /**
1904
+ *
1905
+ * @type {Array<ChatMessageSkillCall>}
1906
+ * @memberof ChatMessage
1907
+ */
805
1908
  'skill_calls'?: Array<ChatMessageSkillCall> | null;
806
1909
  /**
807
1910
  * Number of tokens in the input message
1911
+ * @type {number}
1912
+ * @memberof ChatMessage
808
1913
  */
809
1914
  'input_tokens'?: number;
810
1915
  /**
811
1916
  * Number of tokens in the output message
1917
+ * @type {number}
1918
+ * @memberof ChatMessage
812
1919
  */
813
1920
  'output_tokens'?: number;
814
1921
  /**
815
1922
  * Time cost for the message in seconds
1923
+ * @type {number}
1924
+ * @memberof ChatMessage
816
1925
  */
817
1926
  'time_cost'?: number;
1927
+ /**
1928
+ *
1929
+ * @type {string}
1930
+ * @memberof ChatMessage
1931
+ */
818
1932
  'credit_event_id'?: string | null;
1933
+ /**
1934
+ *
1935
+ * @type {string}
1936
+ * @memberof ChatMessage
1937
+ */
819
1938
  'credit_cost'?: string | null;
820
1939
  /**
821
1940
  * Cost for the cold start of the message in seconds
1941
+ * @type {number}
1942
+ * @memberof ChatMessage
822
1943
  */
823
1944
  'cold_start_cost'?: number;
1945
+ /**
1946
+ *
1947
+ * @type {string}
1948
+ * @memberof ChatMessage
1949
+ */
824
1950
  'app_id'?: string | null;
1951
+ /**
1952
+ *
1953
+ * @type {boolean}
1954
+ * @memberof ChatMessage
1955
+ */
825
1956
  'search_mode'?: boolean | null;
1957
+ /**
1958
+ *
1959
+ * @type {boolean}
1960
+ * @memberof ChatMessage
1961
+ */
826
1962
  'super_mode'?: boolean | null;
1963
+ /**
1964
+ *
1965
+ * @type {SystemMessageType}
1966
+ * @memberof ChatMessage
1967
+ */
827
1968
  'error_type'?: SystemMessageType | null;
828
1969
  /**
829
1970
  * Timestamp when this message was created
1971
+ * @type {string}
1972
+ * @memberof ChatMessage
830
1973
  */
831
1974
  'created_at': string;
832
1975
  }
@@ -834,19 +1977,35 @@ export interface ChatMessage {
834
1977
 
835
1978
  /**
836
1979
  * Chat message attachment model. An attachment can be a link, image, or file that is associated with a chat message.
1980
+ * @export
1981
+ * @interface ChatMessageAttachment
837
1982
  */
838
1983
  export interface ChatMessageAttachment {
839
1984
  /**
840
1985
  * Type of the attachment (link, image, or file)
1986
+ * @type {ChatMessageAttachmentType}
1987
+ * @memberof ChatMessageAttachment
841
1988
  */
842
1989
  'type': ChatMessageAttachmentType;
1990
+ /**
1991
+ *
1992
+ * @type {string}
1993
+ * @memberof ChatMessageAttachment
1994
+ */
843
1995
  'url': string | null;
1996
+ /**
1997
+ *
1998
+ * @type {object}
1999
+ * @memberof ChatMessageAttachment
2000
+ */
844
2001
  'json'?: object | null;
845
2002
  }
846
2003
 
847
2004
 
848
2005
  /**
849
2006
  * Type of chat message attachment.
2007
+ * @export
2008
+ * @enum {string}
850
2009
  */
851
2010
 
852
2011
  export const ChatMessageAttachmentType = {
@@ -861,125 +2020,270 @@ export type ChatMessageAttachmentType = typeof ChatMessageAttachmentType[keyof t
861
2020
 
862
2021
  /**
863
2022
  * 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.
2023
+ * @export
2024
+ * @interface ChatMessageRequest
864
2025
  */
865
2026
  export interface ChatMessageRequest {
2027
+ /**
2028
+ *
2029
+ * @type {string}
2030
+ * @memberof ChatMessageRequest
2031
+ */
866
2032
  'app_id'?: string | null;
867
2033
  /**
868
2034
  * Content of the message
2035
+ * @type {string}
2036
+ * @memberof ChatMessageRequest
869
2037
  */
870
2038
  'message': string;
2039
+ /**
2040
+ *
2041
+ * @type {boolean}
2042
+ * @memberof ChatMessageRequest
2043
+ */
871
2044
  'stream'?: boolean | null;
2045
+ /**
2046
+ *
2047
+ * @type {boolean}
2048
+ * @memberof ChatMessageRequest
2049
+ */
872
2050
  'search_mode'?: boolean | null;
2051
+ /**
2052
+ *
2053
+ * @type {boolean}
2054
+ * @memberof ChatMessageRequest
2055
+ */
873
2056
  'super_mode'?: boolean | null;
2057
+ /**
2058
+ *
2059
+ * @type {Array<ChatMessageAttachment>}
2060
+ * @memberof ChatMessageRequest
2061
+ */
874
2062
  'attachments'?: Array<ChatMessageAttachment> | null;
875
2063
  }
876
2064
  /**
877
2065
  * TypedDict for skill call details.
2066
+ * @export
2067
+ * @interface ChatMessageSkillCall
878
2068
  */
879
2069
  export interface ChatMessageSkillCall {
2070
+ /**
2071
+ *
2072
+ * @type {string}
2073
+ * @memberof ChatMessageSkillCall
2074
+ */
880
2075
  'id'?: string;
2076
+ /**
2077
+ *
2078
+ * @type {string}
2079
+ * @memberof ChatMessageSkillCall
2080
+ */
881
2081
  'name': string;
2082
+ /**
2083
+ *
2084
+ * @type {object}
2085
+ * @memberof ChatMessageSkillCall
2086
+ */
882
2087
  'parameters': object;
2088
+ /**
2089
+ *
2090
+ * @type {boolean}
2091
+ * @memberof ChatMessageSkillCall
2092
+ */
883
2093
  'success': boolean;
2094
+ /**
2095
+ *
2096
+ * @type {string}
2097
+ * @memberof ChatMessageSkillCall
2098
+ */
884
2099
  'response'?: string;
2100
+ /**
2101
+ *
2102
+ * @type {string}
2103
+ * @memberof ChatMessageSkillCall
2104
+ */
885
2105
  'error_message'?: string;
2106
+ /**
2107
+ *
2108
+ * @type {string}
2109
+ * @memberof ChatMessageSkillCall
2110
+ */
886
2111
  'credit_event_id'?: string;
2112
+ /**
2113
+ *
2114
+ * @type {string}
2115
+ * @memberof ChatMessageSkillCall
2116
+ */
887
2117
  'credit_cost'?: string;
888
2118
  }
889
2119
  /**
890
2120
  * Response model for chat messages with pagination.
2121
+ * @export
2122
+ * @interface ChatMessagesResponse
891
2123
  */
892
2124
  export interface ChatMessagesResponse {
2125
+ /**
2126
+ *
2127
+ * @type {Array<ChatMessage>}
2128
+ * @memberof ChatMessagesResponse
2129
+ */
893
2130
  'data': Array<ChatMessage>;
2131
+ /**
2132
+ *
2133
+ * @type {boolean}
2134
+ * @memberof ChatMessagesResponse
2135
+ */
894
2136
  'has_more'?: boolean;
2137
+ /**
2138
+ *
2139
+ * @type {string}
2140
+ * @memberof ChatMessagesResponse
2141
+ */
895
2142
  'next_cursor'?: string | null;
896
2143
  }
897
2144
  /**
898
2145
  * Request model for updating a chat thread.
2146
+ * @export
2147
+ * @interface ChatUpdateRequest
899
2148
  */
900
2149
  export interface ChatUpdateRequest {
901
2150
  /**
902
2151
  * Updated summary for the chat thread
2152
+ * @type {string}
2153
+ * @memberof ChatUpdateRequest
903
2154
  */
904
2155
  'summary': string;
905
2156
  }
906
2157
  /**
907
2158
  * Credit account model with all fields.
2159
+ * @export
2160
+ * @interface CreditAccount
908
2161
  */
909
2162
  export interface CreditAccount {
910
2163
  /**
911
2164
  * Unique identifier for the credit account
2165
+ * @type {string}
2166
+ * @memberof CreditAccount
912
2167
  */
913
2168
  'id'?: string;
914
2169
  /**
915
2170
  * Type of the account owner
2171
+ * @type {OwnerType}
2172
+ * @memberof CreditAccount
916
2173
  */
917
2174
  'owner_type': OwnerType;
918
2175
  /**
919
2176
  * ID of the account owner
2177
+ * @type {string}
2178
+ * @memberof CreditAccount
920
2179
  */
921
2180
  'owner_id': string;
922
2181
  /**
923
2182
  * Daily credit quota that resets each day
2183
+ * @type {string}
2184
+ * @memberof CreditAccount
924
2185
  */
925
2186
  'free_quota'?: string;
926
2187
  /**
927
2188
  * Amount to refill hourly, not exceeding free_quota
2189
+ * @type {string}
2190
+ * @memberof CreditAccount
928
2191
  */
929
2192
  'refill_amount'?: string;
930
2193
  /**
931
2194
  * Current available daily credits
2195
+ * @type {string}
2196
+ * @memberof CreditAccount
932
2197
  */
933
2198
  'free_credits'?: string;
934
2199
  /**
935
2200
  * Reward credits earned through rewards
2201
+ * @type {string}
2202
+ * @memberof CreditAccount
936
2203
  */
937
2204
  'reward_credits'?: string;
938
2205
  /**
939
2206
  * Credits added through top-ups
2207
+ * @type {string}
2208
+ * @memberof CreditAccount
940
2209
  */
941
2210
  'credits'?: string;
2211
+ /**
2212
+ *
2213
+ * @type {string}
2214
+ * @memberof CreditAccount
2215
+ */
942
2216
  'income_at'?: string | null;
2217
+ /**
2218
+ *
2219
+ * @type {string}
2220
+ * @memberof CreditAccount
2221
+ */
943
2222
  'expense_at'?: string | null;
2223
+ /**
2224
+ *
2225
+ * @type {string}
2226
+ * @memberof CreditAccount
2227
+ */
944
2228
  'last_event_id'?: string | null;
945
2229
  /**
946
2230
  * Total income from all credit transactions
2231
+ * @type {string}
2232
+ * @memberof CreditAccount
947
2233
  */
948
2234
  'total_income'?: string;
949
2235
  /**
950
2236
  * Total income from free credit transactions
2237
+ * @type {string}
2238
+ * @memberof CreditAccount
951
2239
  */
952
2240
  'total_free_income'?: string;
953
2241
  /**
954
2242
  * Total income from reward credit transactions
2243
+ * @type {string}
2244
+ * @memberof CreditAccount
955
2245
  */
956
2246
  'total_reward_income'?: string;
957
2247
  /**
958
2248
  * Total income from permanent credit transactions
2249
+ * @type {string}
2250
+ * @memberof CreditAccount
959
2251
  */
960
2252
  'total_permanent_income'?: string;
961
2253
  /**
962
2254
  * Total expense from all credit transactions
2255
+ * @type {string}
2256
+ * @memberof CreditAccount
963
2257
  */
964
2258
  'total_expense'?: string;
965
2259
  /**
966
2260
  * Total expense from free credit transactions
2261
+ * @type {string}
2262
+ * @memberof CreditAccount
967
2263
  */
968
2264
  'total_free_expense'?: string;
969
2265
  /**
970
2266
  * Total expense from reward credit transactions
2267
+ * @type {string}
2268
+ * @memberof CreditAccount
971
2269
  */
972
2270
  'total_reward_expense'?: string;
973
2271
  /**
974
2272
  * Total expense from permanent credit transactions
2273
+ * @type {string}
2274
+ * @memberof CreditAccount
975
2275
  */
976
2276
  'total_permanent_expense'?: string;
977
2277
  /**
978
2278
  * Timestamp when this account was created
2279
+ * @type {string}
2280
+ * @memberof CreditAccount
979
2281
  */
980
2282
  'created_at': string;
981
2283
  /**
982
2284
  * Timestamp when this account was last updated
2285
+ * @type {string}
2286
+ * @memberof CreditAccount
983
2287
  */
984
2288
  'updated_at': string;
985
2289
  }
@@ -987,6 +2291,8 @@ export interface CreditAccount {
987
2291
 
988
2292
  /**
989
2293
  * Credit or debit transaction.
2294
+ * @export
2295
+ * @enum {string}
990
2296
  */
991
2297
 
992
2298
  export const CreditDebit = {
@@ -999,81 +2305,278 @@ export type CreditDebit = typeof CreditDebit[keyof typeof CreditDebit];
999
2305
 
1000
2306
  /**
1001
2307
  * Credit event model with all fields.
2308
+ * @export
2309
+ * @interface CreditEvent
1002
2310
  */
1003
2311
  export interface CreditEvent {
1004
2312
  /**
1005
2313
  * Unique identifier for the credit event
2314
+ * @type {string}
2315
+ * @memberof CreditEvent
1006
2316
  */
1007
2317
  'id'?: string;
1008
2318
  /**
1009
2319
  * Account ID from which credits flow
2320
+ * @type {string}
2321
+ * @memberof CreditEvent
1010
2322
  */
1011
2323
  'account_id'?: string;
1012
2324
  /**
1013
2325
  * Type of the event
2326
+ * @type {EventType}
2327
+ * @memberof CreditEvent
1014
2328
  */
1015
2329
  'event_type': EventType;
2330
+ /**
2331
+ *
2332
+ * @type {string}
2333
+ * @memberof CreditEvent
2334
+ */
1016
2335
  'user_id'?: string | null;
1017
2336
  /**
1018
2337
  * Type of upstream transaction
2338
+ * @type {UpstreamType}
2339
+ * @memberof CreditEvent
1019
2340
  */
1020
2341
  'upstream_type': UpstreamType;
1021
2342
  /**
1022
2343
  * Upstream transaction ID if any
2344
+ * @type {string}
2345
+ * @memberof CreditEvent
1023
2346
  */
1024
2347
  'upstream_tx_id': string;
2348
+ /**
2349
+ *
2350
+ * @type {string}
2351
+ * @memberof CreditEvent
2352
+ */
1025
2353
  'agent_id'?: string | null;
2354
+ /**
2355
+ *
2356
+ * @type {string}
2357
+ * @memberof CreditEvent
2358
+ */
1026
2359
  'agent_wallet_address'?: string | null;
2360
+ /**
2361
+ *
2362
+ * @type {string}
2363
+ * @memberof CreditEvent
2364
+ */
1027
2365
  'start_message_id'?: string | null;
2366
+ /**
2367
+ *
2368
+ * @type {string}
2369
+ * @memberof CreditEvent
2370
+ */
1028
2371
  'message_id'?: string | null;
2372
+ /**
2373
+ *
2374
+ * @type {string}
2375
+ * @memberof CreditEvent
2376
+ */
1029
2377
  'model'?: string | null;
2378
+ /**
2379
+ *
2380
+ * @type {string}
2381
+ * @memberof CreditEvent
2382
+ */
1030
2383
  'skill_call_id'?: string | null;
2384
+ /**
2385
+ *
2386
+ * @type {string}
2387
+ * @memberof CreditEvent
2388
+ */
1031
2389
  'skill_name'?: string | null;
1032
2390
  /**
1033
2391
  * Direction of the credit flow
2392
+ * @type {Direction}
2393
+ * @memberof CreditEvent
1034
2394
  */
1035
2395
  'direction': Direction;
1036
2396
  /**
1037
2397
  * Total amount (after discount) of credits involved
2398
+ * @type {string}
2399
+ * @memberof CreditEvent
1038
2400
  */
1039
2401
  'total_amount'?: string;
1040
2402
  /**
1041
2403
  * Type of credits involved
2404
+ * @type {CreditType}
2405
+ * @memberof CreditEvent
1042
2406
  */
1043
2407
  'credit_type': CreditType;
2408
+ /**
2409
+ *
2410
+ * @type {Array<CreditType>}
2411
+ * @memberof CreditEvent
2412
+ */
1044
2413
  'credit_types'?: Array<CreditType> | null;
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof CreditEvent
2418
+ */
1045
2419
  'balance_after'?: string | null;
1046
2420
  /**
1047
2421
  * Base amount of credits involved
2422
+ * @type {string}
2423
+ * @memberof CreditEvent
1048
2424
  */
1049
2425
  'base_amount'?: string;
2426
+ /**
2427
+ *
2428
+ * @type {string}
2429
+ * @memberof CreditEvent
2430
+ */
1050
2431
  'base_discount_amount'?: string | null;
2432
+ /**
2433
+ *
2434
+ * @type {string}
2435
+ * @memberof CreditEvent
2436
+ */
1051
2437
  'base_original_amount'?: string | null;
2438
+ /**
2439
+ *
2440
+ * @type {string}
2441
+ * @memberof CreditEvent
2442
+ */
1052
2443
  'base_llm_amount'?: string | null;
2444
+ /**
2445
+ *
2446
+ * @type {string}
2447
+ * @memberof CreditEvent
2448
+ */
1053
2449
  'base_skill_amount'?: string | null;
2450
+ /**
2451
+ *
2452
+ * @type {string}
2453
+ * @memberof CreditEvent
2454
+ */
1054
2455
  'base_free_amount'?: string | null;
2456
+ /**
2457
+ *
2458
+ * @type {string}
2459
+ * @memberof CreditEvent
2460
+ */
1055
2461
  'base_reward_amount'?: string | null;
2462
+ /**
2463
+ *
2464
+ * @type {string}
2465
+ * @memberof CreditEvent
2466
+ */
1056
2467
  'base_permanent_amount'?: string | null;
2468
+ /**
2469
+ *
2470
+ * @type {string}
2471
+ * @memberof CreditEvent
2472
+ */
1057
2473
  'fee_platform_amount'?: string | null;
2474
+ /**
2475
+ *
2476
+ * @type {string}
2477
+ * @memberof CreditEvent
2478
+ */
1058
2479
  'fee_platform_free_amount'?: string | null;
2480
+ /**
2481
+ *
2482
+ * @type {string}
2483
+ * @memberof CreditEvent
2484
+ */
1059
2485
  'fee_platform_reward_amount'?: string | null;
2486
+ /**
2487
+ *
2488
+ * @type {string}
2489
+ * @memberof CreditEvent
2490
+ */
1060
2491
  'fee_platform_permanent_amount'?: string | null;
2492
+ /**
2493
+ *
2494
+ * @type {string}
2495
+ * @memberof CreditEvent
2496
+ */
1061
2497
  'fee_dev_account'?: string | null;
2498
+ /**
2499
+ *
2500
+ * @type {string}
2501
+ * @memberof CreditEvent
2502
+ */
1062
2503
  'fee_dev_amount'?: string | null;
2504
+ /**
2505
+ *
2506
+ * @type {string}
2507
+ * @memberof CreditEvent
2508
+ */
1063
2509
  'fee_dev_free_amount'?: string | null;
2510
+ /**
2511
+ *
2512
+ * @type {string}
2513
+ * @memberof CreditEvent
2514
+ */
1064
2515
  'fee_dev_reward_amount'?: string | null;
2516
+ /**
2517
+ *
2518
+ * @type {string}
2519
+ * @memberof CreditEvent
2520
+ */
1065
2521
  'fee_dev_permanent_amount'?: string | null;
2522
+ /**
2523
+ *
2524
+ * @type {string}
2525
+ * @memberof CreditEvent
2526
+ */
1066
2527
  'fee_agent_account'?: string | null;
2528
+ /**
2529
+ *
2530
+ * @type {string}
2531
+ * @memberof CreditEvent
2532
+ */
1067
2533
  'fee_agent_amount'?: string | null;
2534
+ /**
2535
+ *
2536
+ * @type {string}
2537
+ * @memberof CreditEvent
2538
+ */
1068
2539
  'fee_agent_free_amount'?: string | null;
2540
+ /**
2541
+ *
2542
+ * @type {string}
2543
+ * @memberof CreditEvent
2544
+ */
1069
2545
  'fee_agent_reward_amount'?: string | null;
2546
+ /**
2547
+ *
2548
+ * @type {string}
2549
+ * @memberof CreditEvent
2550
+ */
1070
2551
  'fee_agent_permanent_amount'?: string | null;
2552
+ /**
2553
+ *
2554
+ * @type {string}
2555
+ * @memberof CreditEvent
2556
+ */
1071
2557
  'free_amount'?: string | null;
2558
+ /**
2559
+ *
2560
+ * @type {string}
2561
+ * @memberof CreditEvent
2562
+ */
1072
2563
  'reward_amount'?: string | null;
2564
+ /**
2565
+ *
2566
+ * @type {string}
2567
+ * @memberof CreditEvent
2568
+ */
1073
2569
  'permanent_amount'?: string | null;
2570
+ /**
2571
+ *
2572
+ * @type {string}
2573
+ * @memberof CreditEvent
2574
+ */
1074
2575
  'note'?: string | null;
1075
2576
  /**
1076
2577
  * Timestamp when this event was created
2578
+ * @type {string}
2579
+ * @memberof CreditEvent
1077
2580
  */
1078
2581
  'created_at': string;
1079
2582
  }
@@ -1081,169 +2584,424 @@ export interface CreditEvent {
1081
2584
 
1082
2585
  /**
1083
2586
  * Credit event response model with agent name. Extends CreditEvent to include the agent name for better user experience.
2587
+ * @export
2588
+ * @interface CreditEventWithAgent
1084
2589
  */
1085
2590
  export interface CreditEventWithAgent {
1086
2591
  /**
1087
2592
  * Unique identifier for the credit event
2593
+ * @type {string}
2594
+ * @memberof CreditEventWithAgent
1088
2595
  */
1089
2596
  'id'?: string;
1090
2597
  /**
1091
2598
  * Account ID from which credits flow
2599
+ * @type {string}
2600
+ * @memberof CreditEventWithAgent
1092
2601
  */
1093
2602
  'account_id'?: string;
1094
2603
  /**
1095
2604
  * Type of the event
2605
+ * @type {EventType}
2606
+ * @memberof CreditEventWithAgent
1096
2607
  */
1097
2608
  'event_type': EventType;
2609
+ /**
2610
+ *
2611
+ * @type {string}
2612
+ * @memberof CreditEventWithAgent
2613
+ */
1098
2614
  'user_id'?: string | null;
1099
2615
  /**
1100
2616
  * Type of upstream transaction
2617
+ * @type {UpstreamType}
2618
+ * @memberof CreditEventWithAgent
1101
2619
  */
1102
2620
  'upstream_type': UpstreamType;
1103
2621
  /**
1104
2622
  * Upstream transaction ID if any
2623
+ * @type {string}
2624
+ * @memberof CreditEventWithAgent
1105
2625
  */
1106
2626
  'upstream_tx_id': string;
2627
+ /**
2628
+ *
2629
+ * @type {string}
2630
+ * @memberof CreditEventWithAgent
2631
+ */
1107
2632
  'agent_id'?: string | null;
2633
+ /**
2634
+ *
2635
+ * @type {string}
2636
+ * @memberof CreditEventWithAgent
2637
+ */
1108
2638
  'agent_wallet_address'?: string | null;
2639
+ /**
2640
+ *
2641
+ * @type {string}
2642
+ * @memberof CreditEventWithAgent
2643
+ */
1109
2644
  'start_message_id'?: string | null;
2645
+ /**
2646
+ *
2647
+ * @type {string}
2648
+ * @memberof CreditEventWithAgent
2649
+ */
1110
2650
  'message_id'?: string | null;
2651
+ /**
2652
+ *
2653
+ * @type {string}
2654
+ * @memberof CreditEventWithAgent
2655
+ */
1111
2656
  'model'?: string | null;
2657
+ /**
2658
+ *
2659
+ * @type {string}
2660
+ * @memberof CreditEventWithAgent
2661
+ */
1112
2662
  'skill_call_id'?: string | null;
2663
+ /**
2664
+ *
2665
+ * @type {string}
2666
+ * @memberof CreditEventWithAgent
2667
+ */
1113
2668
  'skill_name'?: string | null;
1114
2669
  /**
1115
2670
  * Direction of the credit flow
2671
+ * @type {Direction}
2672
+ * @memberof CreditEventWithAgent
1116
2673
  */
1117
2674
  'direction': Direction;
1118
2675
  /**
1119
2676
  * Total amount (after discount) of credits involved
2677
+ * @type {string}
2678
+ * @memberof CreditEventWithAgent
1120
2679
  */
1121
2680
  'total_amount'?: string;
1122
2681
  /**
1123
2682
  * Type of credits involved
2683
+ * @type {CreditType}
2684
+ * @memberof CreditEventWithAgent
1124
2685
  */
1125
2686
  'credit_type': CreditType;
2687
+ /**
2688
+ *
2689
+ * @type {Array<CreditType>}
2690
+ * @memberof CreditEventWithAgent
2691
+ */
1126
2692
  'credit_types'?: Array<CreditType> | null;
2693
+ /**
2694
+ *
2695
+ * @type {string}
2696
+ * @memberof CreditEventWithAgent
2697
+ */
1127
2698
  'balance_after'?: string | null;
1128
2699
  /**
1129
2700
  * Base amount of credits involved
2701
+ * @type {string}
2702
+ * @memberof CreditEventWithAgent
1130
2703
  */
1131
2704
  'base_amount'?: string;
2705
+ /**
2706
+ *
2707
+ * @type {string}
2708
+ * @memberof CreditEventWithAgent
2709
+ */
1132
2710
  'base_discount_amount'?: string | null;
2711
+ /**
2712
+ *
2713
+ * @type {string}
2714
+ * @memberof CreditEventWithAgent
2715
+ */
1133
2716
  'base_original_amount'?: string | null;
2717
+ /**
2718
+ *
2719
+ * @type {string}
2720
+ * @memberof CreditEventWithAgent
2721
+ */
1134
2722
  'base_llm_amount'?: string | null;
2723
+ /**
2724
+ *
2725
+ * @type {string}
2726
+ * @memberof CreditEventWithAgent
2727
+ */
1135
2728
  'base_skill_amount'?: string | null;
2729
+ /**
2730
+ *
2731
+ * @type {string}
2732
+ * @memberof CreditEventWithAgent
2733
+ */
1136
2734
  'base_free_amount'?: string | null;
2735
+ /**
2736
+ *
2737
+ * @type {string}
2738
+ * @memberof CreditEventWithAgent
2739
+ */
1137
2740
  'base_reward_amount'?: string | null;
2741
+ /**
2742
+ *
2743
+ * @type {string}
2744
+ * @memberof CreditEventWithAgent
2745
+ */
1138
2746
  'base_permanent_amount'?: string | null;
2747
+ /**
2748
+ *
2749
+ * @type {string}
2750
+ * @memberof CreditEventWithAgent
2751
+ */
1139
2752
  'fee_platform_amount'?: string | null;
2753
+ /**
2754
+ *
2755
+ * @type {string}
2756
+ * @memberof CreditEventWithAgent
2757
+ */
1140
2758
  'fee_platform_free_amount'?: string | null;
2759
+ /**
2760
+ *
2761
+ * @type {string}
2762
+ * @memberof CreditEventWithAgent
2763
+ */
1141
2764
  'fee_platform_reward_amount'?: string | null;
2765
+ /**
2766
+ *
2767
+ * @type {string}
2768
+ * @memberof CreditEventWithAgent
2769
+ */
1142
2770
  'fee_platform_permanent_amount'?: string | null;
2771
+ /**
2772
+ *
2773
+ * @type {string}
2774
+ * @memberof CreditEventWithAgent
2775
+ */
1143
2776
  'fee_dev_account'?: string | null;
2777
+ /**
2778
+ *
2779
+ * @type {string}
2780
+ * @memberof CreditEventWithAgent
2781
+ */
1144
2782
  'fee_dev_amount'?: string | null;
2783
+ /**
2784
+ *
2785
+ * @type {string}
2786
+ * @memberof CreditEventWithAgent
2787
+ */
1145
2788
  'fee_dev_free_amount'?: string | null;
2789
+ /**
2790
+ *
2791
+ * @type {string}
2792
+ * @memberof CreditEventWithAgent
2793
+ */
1146
2794
  'fee_dev_reward_amount'?: string | null;
2795
+ /**
2796
+ *
2797
+ * @type {string}
2798
+ * @memberof CreditEventWithAgent
2799
+ */
1147
2800
  'fee_dev_permanent_amount'?: string | null;
2801
+ /**
2802
+ *
2803
+ * @type {string}
2804
+ * @memberof CreditEventWithAgent
2805
+ */
1148
2806
  'fee_agent_account'?: string | null;
2807
+ /**
2808
+ *
2809
+ * @type {string}
2810
+ * @memberof CreditEventWithAgent
2811
+ */
1149
2812
  'fee_agent_amount'?: string | null;
2813
+ /**
2814
+ *
2815
+ * @type {string}
2816
+ * @memberof CreditEventWithAgent
2817
+ */
1150
2818
  'fee_agent_free_amount'?: string | null;
2819
+ /**
2820
+ *
2821
+ * @type {string}
2822
+ * @memberof CreditEventWithAgent
2823
+ */
1151
2824
  'fee_agent_reward_amount'?: string | null;
2825
+ /**
2826
+ *
2827
+ * @type {string}
2828
+ * @memberof CreditEventWithAgent
2829
+ */
1152
2830
  'fee_agent_permanent_amount'?: string | null;
2831
+ /**
2832
+ *
2833
+ * @type {string}
2834
+ * @memberof CreditEventWithAgent
2835
+ */
1153
2836
  'free_amount'?: string | null;
2837
+ /**
2838
+ *
2839
+ * @type {string}
2840
+ * @memberof CreditEventWithAgent
2841
+ */
1154
2842
  'reward_amount'?: string | null;
2843
+ /**
2844
+ *
2845
+ * @type {string}
2846
+ * @memberof CreditEventWithAgent
2847
+ */
1155
2848
  'permanent_amount'?: string | null;
2849
+ /**
2850
+ *
2851
+ * @type {string}
2852
+ * @memberof CreditEventWithAgent
2853
+ */
1156
2854
  'note'?: string | null;
1157
2855
  /**
1158
2856
  * Timestamp when this event was created
2857
+ * @type {string}
2858
+ * @memberof CreditEventWithAgent
1159
2859
  */
1160
2860
  'created_at': string;
2861
+ /**
2862
+ *
2863
+ * @type {string}
2864
+ * @memberof CreditEventWithAgent
2865
+ */
1161
2866
  'agent_name'?: string | null;
1162
2867
  }
1163
2868
 
1164
2869
 
1165
2870
  /**
1166
2871
  * 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.
2872
+ * @export
2873
+ * @interface CreditEventsResponse
1167
2874
  */
1168
2875
  export interface CreditEventsResponse {
1169
2876
  /**
1170
2877
  * List of credit events with agent names
2878
+ * @type {Array<CreditEventWithAgent>}
2879
+ * @memberof CreditEventsResponse
1171
2880
  */
1172
2881
  'data': Array<CreditEventWithAgent>;
1173
2882
  /**
1174
2883
  * Indicates if there are more items
2884
+ * @type {boolean}
2885
+ * @memberof CreditEventsResponse
1175
2886
  */
1176
2887
  'has_more': boolean;
2888
+ /**
2889
+ *
2890
+ * @type {string}
2891
+ * @memberof CreditEventsResponse
2892
+ */
1177
2893
  'next_cursor'?: string | null;
1178
2894
  }
1179
2895
  /**
1180
2896
  * Credit transaction response model with associated event data. Extends CreditTransaction to include the related CreditEvent if available.
2897
+ * @export
2898
+ * @interface CreditTransactionResp
1181
2899
  */
1182
2900
  export interface CreditTransactionResp {
1183
2901
  /**
1184
2902
  * Unique identifier for the credit transaction
2903
+ * @type {string}
2904
+ * @memberof CreditTransactionResp
1185
2905
  */
1186
2906
  'id'?: string;
1187
2907
  /**
1188
2908
  * ID of the account this transaction belongs to
2909
+ * @type {string}
2910
+ * @memberof CreditTransactionResp
1189
2911
  */
1190
2912
  'account_id': string;
1191
2913
  /**
1192
2914
  * ID of the event that triggered this transaction
2915
+ * @type {string}
2916
+ * @memberof CreditTransactionResp
1193
2917
  */
1194
2918
  'event_id': string;
1195
2919
  /**
1196
2920
  * Type of the transaction
2921
+ * @type {TransactionType}
2922
+ * @memberof CreditTransactionResp
1197
2923
  */
1198
2924
  'tx_type': TransactionType;
1199
2925
  /**
1200
2926
  * Whether this is a credit or debit transaction
2927
+ * @type {CreditDebit}
2928
+ * @memberof CreditTransactionResp
1201
2929
  */
1202
2930
  'credit_debit': CreditDebit;
1203
2931
  /**
1204
2932
  * Amount of credits changed
2933
+ * @type {string}
2934
+ * @memberof CreditTransactionResp
1205
2935
  */
1206
2936
  'change_amount'?: string;
1207
2937
  /**
1208
2938
  * Amount of free credits changed
2939
+ * @type {string}
2940
+ * @memberof CreditTransactionResp
1209
2941
  */
1210
2942
  'free_amount'?: string;
1211
2943
  /**
1212
2944
  * Amount of reward credits changed
2945
+ * @type {string}
2946
+ * @memberof CreditTransactionResp
1213
2947
  */
1214
2948
  'reward_amount'?: string;
1215
2949
  /**
1216
2950
  * Amount of permanent credits changed
2951
+ * @type {string}
2952
+ * @memberof CreditTransactionResp
1217
2953
  */
1218
2954
  'permanent_amount'?: string;
1219
2955
  /**
1220
2956
  * Type of credits involved
2957
+ * @type {CreditType}
2958
+ * @memberof CreditTransactionResp
1221
2959
  */
1222
2960
  'credit_type': CreditType;
1223
2961
  /**
1224
2962
  * Timestamp when this transaction was created
2963
+ * @type {string}
2964
+ * @memberof CreditTransactionResp
1225
2965
  */
1226
2966
  'created_at': string;
2967
+ /**
2968
+ *
2969
+ * @type {CreditEvent}
2970
+ * @memberof CreditTransactionResp
2971
+ */
1227
2972
  'event'?: CreditEvent | null;
1228
2973
  }
1229
2974
 
1230
2975
 
1231
2976
  /**
1232
2977
  * Paginated response model for credit transactions. Contains a list of credit transactions (with event data), a flag for more items, and a pagination cursor.
2978
+ * @export
2979
+ * @interface CreditTransactionsResponse
1233
2980
  */
1234
2981
  export interface CreditTransactionsResponse {
1235
2982
  /**
1236
2983
  * List of credit transactions
2984
+ * @type {Array<CreditTransactionResp>}
2985
+ * @memberof CreditTransactionsResponse
1237
2986
  */
1238
2987
  'data': Array<CreditTransactionResp>;
1239
2988
  /**
1240
2989
  * Indicates if there are more items
2990
+ * @type {boolean}
2991
+ * @memberof CreditTransactionsResponse
1241
2992
  */
1242
2993
  'has_more': boolean;
2994
+ /**
2995
+ *
2996
+ * @type {string}
2997
+ * @memberof CreditTransactionsResponse
2998
+ */
1243
2999
  'next_cursor'?: string | null;
1244
3000
  }
1245
3001
  /**
1246
3002
  * Credit type is used in db column names, do not change it.
3003
+ * @export
3004
+ * @enum {string}
1247
3005
  */
1248
3006
 
1249
3007
  export const CreditType = {
@@ -1257,6 +3015,8 @@ export type CreditType = typeof CreditType[keyof typeof CreditType];
1257
3015
 
1258
3016
  /**
1259
3017
  * Direction of credit flow.
3018
+ * @export
3019
+ * @enum {string}
1260
3020
  */
1261
3021
 
1262
3022
  export const Direction = {
@@ -1269,6 +3029,8 @@ export type Direction = typeof Direction[keyof typeof Direction];
1269
3029
 
1270
3030
  /**
1271
3031
  * Type of credit event.
3032
+ * @export
3033
+ * @enum {string}
1272
3034
  */
1273
3035
 
1274
3036
  export const EventType = {
@@ -1292,88 +3054,262 @@ export type EventType = typeof EventType[keyof typeof EventType];
1292
3054
 
1293
3055
  /**
1294
3056
  * Response model for file upload.
3057
+ * @export
3058
+ * @interface FileUploadResponse
1295
3059
  */
1296
3060
  export interface FileUploadResponse {
1297
3061
  /**
1298
3062
  * CDN URL of the uploaded file
3063
+ * @type {string}
3064
+ * @memberof FileUploadResponse
1299
3065
  */
1300
3066
  'file_url': string;
1301
3067
  /**
1302
3068
  * Unique identifier for the uploaded file
3069
+ * @type {string}
3070
+ * @memberof FileUploadResponse
1303
3071
  */
1304
3072
  'file_id': string;
1305
3073
  }
1306
3074
  /**
1307
3075
  * Response model for single generation detail.
3076
+ * @export
3077
+ * @interface GenerationDetailResponse
1308
3078
  */
1309
3079
  export interface GenerationDetailResponse {
1310
3080
  /**
1311
3081
  * Project ID
3082
+ * @type {string}
3083
+ * @memberof GenerationDetailResponse
1312
3084
  */
1313
3085
  'project_id': string;
3086
+ /**
3087
+ *
3088
+ * @type {string}
3089
+ * @memberof GenerationDetailResponse
3090
+ */
1314
3091
  'user_id'?: string | null;
3092
+ /**
3093
+ *
3094
+ * @type {string}
3095
+ * @memberof GenerationDetailResponse
3096
+ */
1315
3097
  'created_at'?: string | null;
3098
+ /**
3099
+ *
3100
+ * @type {string}
3101
+ * @memberof GenerationDetailResponse
3102
+ */
1316
3103
  'last_activity'?: string | null;
1317
3104
  /**
1318
3105
  * Number of messages in conversation
3106
+ * @type {number}
3107
+ * @memberof GenerationDetailResponse
1319
3108
  */
1320
3109
  'message_count': number;
3110
+ /**
3111
+ *
3112
+ * @type {object}
3113
+ * @memberof GenerationDetailResponse
3114
+ */
1321
3115
  'last_message'?: object | null;
3116
+ /**
3117
+ *
3118
+ * @type {object}
3119
+ * @memberof GenerationDetailResponse
3120
+ */
1322
3121
  'first_message'?: object | null;
1323
3122
  /**
1324
3123
  * Full conversation history
3124
+ * @type {Array<object>}
3125
+ * @memberof GenerationDetailResponse
1325
3126
  */
1326
3127
  'conversation_history': Array<object>;
1327
3128
  }
1328
3129
  /**
1329
3130
  * Response model for generations list.
3131
+ * @export
3132
+ * @interface GenerationsListResponse
1330
3133
  */
1331
3134
  export interface GenerationsListResponse {
1332
3135
  /**
1333
3136
  * List of recent projects with their conversation history
3137
+ * @type {Array<object>}
3138
+ * @memberof GenerationsListResponse
1334
3139
  */
1335
3140
  'projects': Array<object>;
1336
3141
  }
3142
+ /**
3143
+ *
3144
+ * @export
3145
+ * @interface HTTPValidationError
3146
+ */
1337
3147
  export interface HTTPValidationError {
3148
+ /**
3149
+ *
3150
+ * @type {Array<ValidationError>}
3151
+ * @memberof HTTPValidationError
3152
+ */
1338
3153
  'detail'?: Array<ValidationError>;
1339
3154
  }
1340
3155
  /**
1341
3156
  * LLM model information with provider display name.
3157
+ * @export
3158
+ * @interface LLMModelInfoWithProviderName
1342
3159
  */
1343
3160
  export interface LLMModelInfoWithProviderName {
3161
+ /**
3162
+ *
3163
+ * @type {string}
3164
+ * @memberof LLMModelInfoWithProviderName
3165
+ */
1344
3166
  'id': string;
3167
+ /**
3168
+ *
3169
+ * @type {string}
3170
+ * @memberof LLMModelInfoWithProviderName
3171
+ */
1345
3172
  'name': string;
3173
+ /**
3174
+ *
3175
+ * @type {LLMProvider}
3176
+ * @memberof LLMModelInfoWithProviderName
3177
+ */
1346
3178
  'provider': LLMProvider;
3179
+ /**
3180
+ *
3181
+ * @type {boolean}
3182
+ * @memberof LLMModelInfoWithProviderName
3183
+ */
1347
3184
  'enabled'?: boolean;
3185
+ /**
3186
+ *
3187
+ * @type {string}
3188
+ * @memberof LLMModelInfoWithProviderName
3189
+ */
1348
3190
  'input_price': string;
3191
+ /**
3192
+ *
3193
+ * @type {string}
3194
+ * @memberof LLMModelInfoWithProviderName
3195
+ */
1349
3196
  'output_price': string;
3197
+ /**
3198
+ *
3199
+ * @type {number}
3200
+ * @memberof LLMModelInfoWithProviderName
3201
+ */
1350
3202
  'price_level'?: number | null;
3203
+ /**
3204
+ *
3205
+ * @type {number}
3206
+ * @memberof LLMModelInfoWithProviderName
3207
+ */
1351
3208
  'context_length': number;
3209
+ /**
3210
+ *
3211
+ * @type {number}
3212
+ * @memberof LLMModelInfoWithProviderName
3213
+ */
1352
3214
  'output_length': number;
3215
+ /**
3216
+ *
3217
+ * @type {number}
3218
+ * @memberof LLMModelInfoWithProviderName
3219
+ */
1353
3220
  'intelligence': number;
3221
+ /**
3222
+ *
3223
+ * @type {number}
3224
+ * @memberof LLMModelInfoWithProviderName
3225
+ */
1354
3226
  'speed': number;
3227
+ /**
3228
+ *
3229
+ * @type {boolean}
3230
+ * @memberof LLMModelInfoWithProviderName
3231
+ */
1355
3232
  'supports_image_input'?: boolean;
3233
+ /**
3234
+ *
3235
+ * @type {boolean}
3236
+ * @memberof LLMModelInfoWithProviderName
3237
+ */
1356
3238
  'supports_skill_calls'?: boolean;
3239
+ /**
3240
+ *
3241
+ * @type {boolean}
3242
+ * @memberof LLMModelInfoWithProviderName
3243
+ */
1357
3244
  'supports_structured_output'?: boolean;
3245
+ /**
3246
+ *
3247
+ * @type {boolean}
3248
+ * @memberof LLMModelInfoWithProviderName
3249
+ */
1358
3250
  'has_reasoning'?: boolean;
3251
+ /**
3252
+ *
3253
+ * @type {boolean}
3254
+ * @memberof LLMModelInfoWithProviderName
3255
+ */
1359
3256
  'supports_search'?: boolean;
3257
+ /**
3258
+ *
3259
+ * @type {boolean}
3260
+ * @memberof LLMModelInfoWithProviderName
3261
+ */
1360
3262
  'supports_temperature'?: boolean;
3263
+ /**
3264
+ *
3265
+ * @type {boolean}
3266
+ * @memberof LLMModelInfoWithProviderName
3267
+ */
1361
3268
  'supports_frequency_penalty'?: boolean;
3269
+ /**
3270
+ *
3271
+ * @type {boolean}
3272
+ * @memberof LLMModelInfoWithProviderName
3273
+ */
1362
3274
  'supports_presence_penalty'?: boolean;
3275
+ /**
3276
+ *
3277
+ * @type {string}
3278
+ * @memberof LLMModelInfoWithProviderName
3279
+ */
1363
3280
  'api_base'?: string | null;
3281
+ /**
3282
+ *
3283
+ * @type {number}
3284
+ * @memberof LLMModelInfoWithProviderName
3285
+ */
1364
3286
  'timeout'?: number;
1365
3287
  /**
1366
3288
  * Timestamp when this data was created
3289
+ * @type {string}
3290
+ * @memberof LLMModelInfoWithProviderName
1367
3291
  */
1368
3292
  'created_at'?: string;
1369
3293
  /**
1370
3294
  * Timestamp when this data was updated
3295
+ * @type {string}
3296
+ * @memberof LLMModelInfoWithProviderName
1371
3297
  */
1372
3298
  'updated_at'?: string;
3299
+ /**
3300
+ *
3301
+ * @type {string}
3302
+ * @memberof LLMModelInfoWithProviderName
3303
+ */
1373
3304
  'provider_name': string;
1374
3305
  }
1375
3306
 
1376
3307
 
3308
+ /**
3309
+ *
3310
+ * @export
3311
+ * @enum {string}
3312
+ */
1377
3313
 
1378
3314
  export const LLMProvider = {
1379
3315
  Openai: 'openai',
@@ -1389,6 +3325,8 @@ export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
1389
3325
 
1390
3326
  /**
1391
3327
  * Type of credit account owner.
3328
+ * @export
3329
+ * @enum {string}
1392
3330
  */
1393
3331
 
1394
3332
  export const OwnerType = {
@@ -1402,44 +3340,87 @@ export type OwnerType = typeof OwnerType[keyof typeof OwnerType];
1402
3340
 
1403
3341
  /**
1404
3342
  * Pydantic model for Skill.
3343
+ * @export
3344
+ * @interface Skill
1405
3345
  */
1406
3346
  export interface Skill {
1407
3347
  /**
1408
3348
  * Name of the skill
3349
+ * @type {string}
3350
+ * @memberof Skill
1409
3351
  */
1410
3352
  'name': string;
1411
3353
  /**
1412
3354
  * Is this skill enabled?
3355
+ * @type {boolean}
3356
+ * @memberof Skill
1413
3357
  */
1414
3358
  'enabled': boolean;
1415
3359
  /**
1416
3360
  * Category of the skill
3361
+ * @type {string}
3362
+ * @memberof Skill
1417
3363
  */
1418
3364
  'category': string;
3365
+ /**
3366
+ *
3367
+ * @type {string}
3368
+ * @memberof Skill
3369
+ */
1419
3370
  'config_name': string | null;
3371
+ /**
3372
+ *
3373
+ * @type {number}
3374
+ * @memberof Skill
3375
+ */
1420
3376
  'price_level': number | null;
1421
3377
  /**
1422
3378
  * Price for this skill
3379
+ * @type {string}
3380
+ * @memberof Skill
1423
3381
  */
1424
3382
  'price'?: string;
1425
3383
  /**
1426
3384
  * Price for this skill with self key
3385
+ * @type {string}
3386
+ * @memberof Skill
1427
3387
  */
1428
3388
  'price_self_key'?: string;
3389
+ /**
3390
+ *
3391
+ * @type {number}
3392
+ * @memberof Skill
3393
+ */
1429
3394
  'rate_limit_count': number | null;
3395
+ /**
3396
+ *
3397
+ * @type {number}
3398
+ * @memberof Skill
3399
+ */
1430
3400
  'rate_limit_minutes': number | null;
3401
+ /**
3402
+ *
3403
+ * @type {string}
3404
+ * @memberof Skill
3405
+ */
1431
3406
  'author': string | null;
1432
3407
  /**
1433
3408
  * Timestamp when this record was created
3409
+ * @type {string}
3410
+ * @memberof Skill
1434
3411
  */
1435
3412
  'created_at': string;
1436
3413
  /**
1437
3414
  * Timestamp when this record was last updated
3415
+ * @type {string}
3416
+ * @memberof Skill
1438
3417
  */
1439
3418
  'updated_at': string;
1440
3419
  }
1441
3420
  /**
1442
3421
  * Type of system message.
3422
+ * @export
3423
+ * @enum {string}
1443
3424
  */
1444
3425
 
1445
3426
  export const SystemMessageType = {
@@ -1456,6 +3437,8 @@ export type SystemMessageType = typeof SystemMessageType[keyof typeof SystemMess
1456
3437
 
1457
3438
  /**
1458
3439
  * Type of credit transaction.
3440
+ * @export
3441
+ * @enum {string}
1459
3442
  */
1460
3443
 
1461
3444
  export const TransactionType = {
@@ -1481,12 +3464,29 @@ export const TransactionType = {
1481
3464
  export type TransactionType = typeof TransactionType[keyof typeof TransactionType];
1482
3465
 
1483
3466
 
3467
+ /**
3468
+ *
3469
+ * @export
3470
+ * @interface TwitterAuthResponse
3471
+ */
1484
3472
  export interface TwitterAuthResponse {
3473
+ /**
3474
+ *
3475
+ * @type {string}
3476
+ * @memberof TwitterAuthResponse
3477
+ */
1485
3478
  'agent_id': string;
3479
+ /**
3480
+ *
3481
+ * @type {string}
3482
+ * @memberof TwitterAuthResponse
3483
+ */
1486
3484
  'url': string;
1487
3485
  }
1488
3486
  /**
1489
3487
  * Type of upstream transaction.
3488
+ * @export
3489
+ * @enum {string}
1490
3490
  */
1491
3491
 
1492
3492
  export const UpstreamType = {
@@ -1499,16 +3499,42 @@ export const UpstreamType = {
1499
3499
  export type UpstreamType = typeof UpstreamType[keyof typeof UpstreamType];
1500
3500
 
1501
3501
 
3502
+ /**
3503
+ *
3504
+ * @export
3505
+ * @interface ValidationError
3506
+ */
1502
3507
  export interface ValidationError {
3508
+ /**
3509
+ *
3510
+ * @type {Array<ValidationErrorLocInner>}
3511
+ * @memberof ValidationError
3512
+ */
1503
3513
  'loc': Array<ValidationErrorLocInner>;
3514
+ /**
3515
+ *
3516
+ * @type {string}
3517
+ * @memberof ValidationError
3518
+ */
1504
3519
  'msg': string;
3520
+ /**
3521
+ *
3522
+ * @type {string}
3523
+ * @memberof ValidationError
3524
+ */
1505
3525
  'type': string;
1506
3526
  }
3527
+ /**
3528
+ *
3529
+ * @export
3530
+ * @interface ValidationErrorLocInner
3531
+ */
1507
3532
  export interface ValidationErrorLocInner {
1508
3533
  }
1509
3534
 
1510
3535
  /**
1511
3536
  * AgentApi - axios parameter creator
3537
+ * @export
1512
3538
  */
1513
3539
  export const AgentApiAxiosParamCreator = function (configuration?: Configuration) {
1514
3540
  return {
@@ -2035,6 +4061,7 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
2035
4061
 
2036
4062
  /**
2037
4063
  * AgentApi - functional programming interface
4064
+ * @export
2038
4065
  */
2039
4066
  export const AgentApiFp = function(configuration?: Configuration) {
2040
4067
  const localVarAxiosParamCreator = AgentApiAxiosParamCreator(configuration)
@@ -2220,6 +4247,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
2220
4247
 
2221
4248
  /**
2222
4249
  * AgentApi - factory interface
4250
+ * @export
2223
4251
  */
2224
4252
  export const AgentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
2225
4253
  const localVarFp = AgentApiFp(configuration)
@@ -2366,6 +4394,9 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
2366
4394
 
2367
4395
  /**
2368
4396
  * AgentApi - object-oriented interface
4397
+ * @export
4398
+ * @class AgentApi
4399
+ * @extends {BaseAPI}
2369
4400
  */
2370
4401
  export class AgentApi extends BaseAPI {
2371
4402
  /**
@@ -2374,6 +4405,7 @@ export class AgentApi extends BaseAPI {
2374
4405
  * @param {AgentUpdate} [agentUpdate]
2375
4406
  * @param {*} [options] Override http request option.
2376
4407
  * @throws {RequiredError}
4408
+ * @memberof AgentApi
2377
4409
  */
2378
4410
  public createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2379
4411
  return AgentApiFp(this.configuration).createAgent(agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2385,6 +4417,7 @@ export class AgentApi extends BaseAPI {
2385
4417
  * @param {string} agentId ID of the agent to export
2386
4418
  * @param {*} [options] Override http request option.
2387
4419
  * @throws {RequiredError}
4420
+ * @memberof AgentApi
2388
4421
  */
2389
4422
  public exportAgent(agentId: string, options?: RawAxiosRequestConfig) {
2390
4423
  return AgentApiFp(this.configuration).exportAgent(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2396,6 +4429,7 @@ export class AgentApi extends BaseAPI {
2396
4429
  * @param {string} agentId ID of the agent to retrieve
2397
4430
  * @param {*} [options] Override http request option.
2398
4431
  * @throws {RequiredError}
4432
+ * @memberof AgentApi
2399
4433
  */
2400
4434
  public getAgent(agentId: string, options?: RawAxiosRequestConfig) {
2401
4435
  return AgentApiFp(this.configuration).getAgent(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2407,6 +4441,7 @@ export class AgentApi extends BaseAPI {
2407
4441
  * @param {string} agentId ID of the agent
2408
4442
  * @param {*} [options] Override http request option.
2409
4443
  * @throws {RequiredError}
4444
+ * @memberof AgentApi
2410
4445
  */
2411
4446
  public getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig) {
2412
4447
  return AgentApiFp(this.configuration).getAgentApiKey(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2418,6 +4453,7 @@ export class AgentApi extends BaseAPI {
2418
4453
  * @param {string} agentId ID of the agent
2419
4454
  * @param {*} [options] Override http request option.
2420
4455
  * @throws {RequiredError}
4456
+ * @memberof AgentApi
2421
4457
  */
2422
4458
  public getAgentAssets(agentId: string, options?: RawAxiosRequestConfig) {
2423
4459
  return AgentApiFp(this.configuration).getAgentAssets(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2429,6 +4465,7 @@ export class AgentApi extends BaseAPI {
2429
4465
  * @param {string} aid ID of the agent
2430
4466
  * @param {*} [options] Override http request option.
2431
4467
  * @throws {RequiredError}
4468
+ * @memberof AgentApi
2432
4469
  */
2433
4470
  public getAgentStatistics(aid: string, options?: RawAxiosRequestConfig) {
2434
4471
  return AgentApiFp(this.configuration).getAgentStatistics(aid, options).then((request) => request(this.axios, this.basePath));
@@ -2442,6 +4479,7 @@ export class AgentApi extends BaseAPI {
2442
4479
  * @param {number} [limit] Maximum number of agents to return
2443
4480
  * @param {*} [options] Override http request option.
2444
4481
  * @throws {RequiredError}
4482
+ * @memberof AgentApi
2445
4483
  */
2446
4484
  public getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
2447
4485
  return AgentApiFp(this.configuration).getAgents(sort, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -2455,6 +4493,7 @@ export class AgentApi extends BaseAPI {
2455
4493
  * @param {number} [limit] Maximum number of messages to return
2456
4494
  * @param {*} [options] Override http request option.
2457
4495
  * @throws {RequiredError}
4496
+ * @memberof AgentApi
2458
4497
  */
2459
4498
  public getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
2460
4499
  return AgentApiFp(this.configuration).getSkillHistory(aid, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -2467,6 +4506,7 @@ export class AgentApi extends BaseAPI {
2467
4506
  * @param {File} file YAML file containing agent configuration
2468
4507
  * @param {*} [options] Override http request option.
2469
4508
  * @throws {RequiredError}
4509
+ * @memberof AgentApi
2470
4510
  */
2471
4511
  public importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig) {
2472
4512
  return AgentApiFp(this.configuration).importAgent(agentId, file, options).then((request) => request(this.axios, this.basePath));
@@ -2479,6 +4519,7 @@ export class AgentApi extends BaseAPI {
2479
4519
  * @param {AgentUpdate} [agentUpdate]
2480
4520
  * @param {*} [options] Override http request option.
2481
4521
  * @throws {RequiredError}
4522
+ * @memberof AgentApi
2482
4523
  */
2483
4524
  public overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2484
4525
  return AgentApiFp(this.configuration).overrideAgent(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2490,6 +4531,7 @@ export class AgentApi extends BaseAPI {
2490
4531
  * @param {string} agentId ID of the agent
2491
4532
  * @param {*} [options] Override http request option.
2492
4533
  * @throws {RequiredError}
4534
+ * @memberof AgentApi
2493
4535
  */
2494
4536
  public resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig) {
2495
4537
  return AgentApiFp(this.configuration).resetAgentApiKey(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -2501,6 +4543,7 @@ export class AgentApi extends BaseAPI {
2501
4543
  * @param {AgentUpdate} [agentUpdate]
2502
4544
  * @param {*} [options] Override http request option.
2503
4545
  * @throws {RequiredError}
4546
+ * @memberof AgentApi
2504
4547
  */
2505
4548
  public validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2506
4549
  return AgentApiFp(this.configuration).validateAgentCreate(agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2513,6 +4556,7 @@ export class AgentApi extends BaseAPI {
2513
4556
  * @param {AgentUpdate} [agentUpdate]
2514
4557
  * @param {*} [options] Override http request option.
2515
4558
  * @throws {RequiredError}
4559
+ * @memberof AgentApi
2516
4560
  */
2517
4561
  public validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) {
2518
4562
  return AgentApiFp(this.configuration).validateAgentUpdate(agentId, agentUpdate, options).then((request) => request(this.axios, this.basePath));
@@ -2523,6 +4567,7 @@ export class AgentApi extends BaseAPI {
2523
4567
 
2524
4568
  /**
2525
4569
  * ChatApi - axios parameter creator
4570
+ * @export
2526
4571
  */
2527
4572
  export const ChatApiAxiosParamCreator = function (configuration?: Configuration) {
2528
4573
  return {
@@ -2967,6 +5012,7 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
2967
5012
 
2968
5013
  /**
2969
5014
  * ChatApi - functional programming interface
5015
+ * @export
2970
5016
  */
2971
5017
  export const ChatApiFp = function(configuration?: Configuration) {
2972
5018
  const localVarAxiosParamCreator = ChatApiAxiosParamCreator(configuration)
@@ -3118,6 +5164,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
3118
5164
 
3119
5165
  /**
3120
5166
  * ChatApi - factory interface
5167
+ * @export
3121
5168
  */
3122
5169
  export const ChatApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3123
5170
  const localVarFp = ChatApiFp(configuration)
@@ -3239,6 +5286,9 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
3239
5286
 
3240
5287
  /**
3241
5288
  * ChatApi - object-oriented interface
5289
+ * @export
5290
+ * @class ChatApi
5291
+ * @extends {BaseAPI}
3242
5292
  */
3243
5293
  export class ChatApi extends BaseAPI {
3244
5294
  /**
@@ -3247,6 +5297,7 @@ export class ChatApi extends BaseAPI {
3247
5297
  * @param {string} aid Agent ID
3248
5298
  * @param {*} [options] Override http request option.
3249
5299
  * @throws {RequiredError}
5300
+ * @memberof ChatApi
3250
5301
  */
3251
5302
  public createChatThread(aid: string, options?: RawAxiosRequestConfig) {
3252
5303
  return ChatApiFp(this.configuration).createChatThread(aid, options).then((request) => request(this.axios, this.basePath));
@@ -3259,6 +5310,7 @@ export class ChatApi extends BaseAPI {
3259
5310
  * @param {string} chatId Chat ID
3260
5311
  * @param {*} [options] Override http request option.
3261
5312
  * @throws {RequiredError}
5313
+ * @memberof ChatApi
3262
5314
  */
3263
5315
  public deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3264
5316
  return ChatApiFp(this.configuration).deleteChatThread(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3271,6 +5323,7 @@ export class ChatApi extends BaseAPI {
3271
5323
  * @param {string} chatId Chat ID
3272
5324
  * @param {*} [options] Override http request option.
3273
5325
  * @throws {RequiredError}
5326
+ * @memberof ChatApi
3274
5327
  */
3275
5328
  public getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3276
5329
  return ChatApiFp(this.configuration).getChatThreadById(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3282,6 +5335,7 @@ export class ChatApi extends BaseAPI {
3282
5335
  * @param {string} messageId Message ID
3283
5336
  * @param {*} [options] Override http request option.
3284
5337
  * @throws {RequiredError}
5338
+ * @memberof ChatApi
3285
5339
  */
3286
5340
  public getMessageById(messageId: string, options?: RawAxiosRequestConfig) {
3287
5341
  return ChatApiFp(this.configuration).getMessageById(messageId, options).then((request) => request(this.axios, this.basePath));
@@ -3295,6 +5349,7 @@ export class ChatApi extends BaseAPI {
3295
5349
  * @param {number} [limit] Maximum number of messages to return
3296
5350
  * @param {*} [options] Override http request option.
3297
5351
  * @throws {RequiredError}
5352
+ * @memberof ChatApi
3298
5353
  */
3299
5354
  public getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3300
5355
  return ChatApiFp(this.configuration).getSkillHistory(aid, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3306,6 +5361,7 @@ export class ChatApi extends BaseAPI {
3306
5361
  * @param {string} aid Agent ID
3307
5362
  * @param {*} [options] Override http request option.
3308
5363
  * @throws {RequiredError}
5364
+ * @memberof ChatApi
3309
5365
  */
3310
5366
  public listChatsForAgent(aid: string, options?: RawAxiosRequestConfig) {
3311
5367
  return ChatApiFp(this.configuration).listChatsForAgent(aid, options).then((request) => request(this.axios, this.basePath));
@@ -3320,6 +5376,7 @@ export class ChatApi extends BaseAPI {
3320
5376
  * @param {number} [limit] Maximum number of messages to return
3321
5377
  * @param {*} [options] Override http request option.
3322
5378
  * @throws {RequiredError}
5379
+ * @memberof ChatApi
3323
5380
  */
3324
5381
  public listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3325
5382
  return ChatApiFp(this.configuration).listMessagesInChat(aid, chatId, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3332,6 +5389,7 @@ export class ChatApi extends BaseAPI {
3332
5389
  * @param {string} chatId Chat ID
3333
5390
  * @param {*} [options] Override http request option.
3334
5391
  * @throws {RequiredError}
5392
+ * @memberof ChatApi
3335
5393
  */
3336
5394
  public retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig) {
3337
5395
  return ChatApiFp(this.configuration).retryMessageInChat(aid, chatId, options).then((request) => request(this.axios, this.basePath));
@@ -3345,6 +5403,7 @@ export class ChatApi extends BaseAPI {
3345
5403
  * @param {ChatMessageRequest} chatMessageRequest
3346
5404
  * @param {*} [options] Override http request option.
3347
5405
  * @throws {RequiredError}
5406
+ * @memberof ChatApi
3348
5407
  */
3349
5408
  public sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig) {
3350
5409
  return ChatApiFp(this.configuration).sendMessageToChat(aid, chatId, chatMessageRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3358,6 +5417,7 @@ export class ChatApi extends BaseAPI {
3358
5417
  * @param {ChatUpdateRequest} chatUpdateRequest
3359
5418
  * @param {*} [options] Override http request option.
3360
5419
  * @throws {RequiredError}
5420
+ * @memberof ChatApi
3361
5421
  */
3362
5422
  public updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig) {
3363
5423
  return ChatApiFp(this.configuration).updateChatThread(aid, chatId, chatUpdateRequest, options).then((request) => request(this.axios, this.basePath));
@@ -3368,6 +5428,7 @@ export class ChatApi extends BaseAPI {
3368
5428
 
3369
5429
  /**
3370
5430
  * CreditApi - axios parameter creator
5431
+ * @export
3371
5432
  */
3372
5433
  export const CreditApiAxiosParamCreator = function (configuration?: Configuration) {
3373
5434
  return {
@@ -3604,6 +5665,7 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
3604
5665
 
3605
5666
  /**
3606
5667
  * CreditApi - functional programming interface
5668
+ * @export
3607
5669
  */
3608
5670
  export const CreditApiFp = function(configuration?: Configuration) {
3609
5671
  const localVarAxiosParamCreator = CreditApiAxiosParamCreator(configuration)
@@ -3685,6 +5747,7 @@ export const CreditApiFp = function(configuration?: Configuration) {
3685
5747
 
3686
5748
  /**
3687
5749
  * CreditApi - factory interface
5750
+ * @export
3688
5751
  */
3689
5752
  export const CreditApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3690
5753
  const localVarFp = CreditApiFp(configuration)
@@ -3751,6 +5814,9 @@ export const CreditApiFactory = function (configuration?: Configuration, basePat
3751
5814
 
3752
5815
  /**
3753
5816
  * CreditApi - object-oriented interface
5817
+ * @export
5818
+ * @class CreditApi
5819
+ * @extends {BaseAPI}
3754
5820
  */
3755
5821
  export class CreditApi extends BaseAPI {
3756
5822
  /**
@@ -3759,6 +5825,7 @@ export class CreditApi extends BaseAPI {
3759
5825
  * @param {string} eventId Credit event ID
3760
5826
  * @param {*} [options] Override http request option.
3761
5827
  * @throws {RequiredError}
5828
+ * @memberof CreditApi
3762
5829
  */
3763
5830
  public fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig) {
3764
5831
  return CreditApiFp(this.configuration).fetchCreditEvent(eventId, options).then((request) => request(this.axios, this.basePath));
@@ -3769,6 +5836,7 @@ export class CreditApi extends BaseAPI {
3769
5836
  * @summary Get User Account
3770
5837
  * @param {*} [options] Override http request option.
3771
5838
  * @throws {RequiredError}
5839
+ * @memberof CreditApi
3772
5840
  */
3773
5841
  public getUserAccount(options?: RawAxiosRequestConfig) {
3774
5842
  return CreditApiFp(this.configuration).getUserAccount(options).then((request) => request(this.axios, this.basePath));
@@ -3782,6 +5850,7 @@ export class CreditApi extends BaseAPI {
3782
5850
  * @param {number} [limit] Maximum number of events to return
3783
5851
  * @param {*} [options] Override http request option.
3784
5852
  * @throws {RequiredError}
5853
+ * @memberof CreditApi
3785
5854
  */
3786
5855
  public listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3787
5856
  return CreditApiFp(this.configuration).listAgentIncomeEvents(agentId, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3796,6 +5865,7 @@ export class CreditApi extends BaseAPI {
3796
5865
  * @param {number} [limit] Maximum number of events to return
3797
5866
  * @param {*} [options] Override http request option.
3798
5867
  * @throws {RequiredError}
5868
+ * @memberof CreditApi
3799
5869
  */
3800
5870
  public listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3801
5871
  return CreditApiFp(this.configuration).listUserEvents(eventType, direction, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3810,6 +5880,7 @@ export class CreditApi extends BaseAPI {
3810
5880
  * @param {number} [limit] Maximum number of transactions to return
3811
5881
  * @param {*} [options] Override http request option.
3812
5882
  * @throws {RequiredError}
5883
+ * @memberof CreditApi
3813
5884
  */
3814
5885
  public listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
3815
5886
  return CreditApiFp(this.configuration).listUserTransactions(txType, creditDebit, cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -3820,6 +5891,7 @@ export class CreditApi extends BaseAPI {
3820
5891
 
3821
5892
  /**
3822
5893
  * DraftApi - axios parameter creator
5894
+ * @export
3823
5895
  */
3824
5896
  export const DraftApiAxiosParamCreator = function (configuration?: Configuration) {
3825
5897
  return {
@@ -3863,6 +5935,44 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
3863
5935
  options: localVarRequestOptions,
3864
5936
  };
3865
5937
  },
5938
+ /**
5939
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
5940
+ * @summary Delete Agent Draft
5941
+ * @param {string} draftId Draft ID
5942
+ * @param {*} [options] Override http request option.
5943
+ * @throws {RequiredError}
5944
+ */
5945
+ deleteAgentDraft: async (draftId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5946
+ // verify required parameter 'draftId' is not null or undefined
5947
+ assertParamExists('deleteAgentDraft', 'draftId', draftId)
5948
+ const localVarPath = `/agent/drafts/{draft_id}`
5949
+ .replace(`{${"draft_id"}}`, encodeURIComponent(String(draftId)));
5950
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5951
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5952
+ let baseOptions;
5953
+ if (configuration) {
5954
+ baseOptions = configuration.baseOptions;
5955
+ }
5956
+
5957
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
5958
+ const localVarHeaderParameter = {} as any;
5959
+ const localVarQueryParameter = {} as any;
5960
+
5961
+ // authentication HTTPBearer required
5962
+ // http bearer authentication required
5963
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5964
+
5965
+
5966
+
5967
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5968
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5969
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5970
+
5971
+ return {
5972
+ url: toPathString(localVarUrlObj),
5973
+ options: localVarRequestOptions,
5974
+ };
5975
+ },
3866
5976
  /**
3867
5977
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
3868
5978
  * @summary Deploy Agent From Draft
@@ -4022,12 +6132,13 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
4022
6132
  };
4023
6133
  },
4024
6134
  /**
4025
- * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
6135
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). The hasDeployment parameter allows filtering: - false: Never deployed drafts (no last_draft_id) - true: Has deployment but unpublished drafts (has last_draft_id) - null/omitted: All unpublished drafts Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
4026
6136
  * @summary Get User Unpublished Drafts
6137
+ * @param {boolean | null} [hasDeployment] Filter by deployment status: false for never deployed, true for has deployment but unpublished drafts, null for all unpublished drafts
4027
6138
  * @param {*} [options] Override http request option.
4028
6139
  * @throws {RequiredError}
4029
6140
  */
4030
- getUserUnpublishedDrafts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6141
+ getUserUnpublishedDrafts: async (hasDeployment?: boolean | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4031
6142
  const localVarPath = `/agent/drafts`;
4032
6143
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4033
6144
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4044,6 +6155,10 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
4044
6155
  // http bearer authentication required
4045
6156
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
4046
6157
 
6158
+ if (hasDeployment !== undefined) {
6159
+ localVarQueryParameter['hasDeployment'] = hasDeployment;
6160
+ }
6161
+
4047
6162
 
4048
6163
 
4049
6164
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4104,6 +6219,7 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
4104
6219
 
4105
6220
  /**
4106
6221
  * DraftApi - functional programming interface
6222
+ * @export
4107
6223
  */
4108
6224
  export const DraftApiFp = function(configuration?: Configuration) {
4109
6225
  const localVarAxiosParamCreator = DraftApiAxiosParamCreator(configuration)
@@ -4121,6 +6237,19 @@ export const DraftApiFp = function(configuration?: Configuration) {
4121
6237
  const localVarOperationServerBasePath = operationServerMap['DraftApi.createAgentDraft']?.[localVarOperationServerIndex]?.url;
4122
6238
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4123
6239
  },
6240
+ /**
6241
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
6242
+ * @summary Delete Agent Draft
6243
+ * @param {string} draftId Draft ID
6244
+ * @param {*} [options] Override http request option.
6245
+ * @throws {RequiredError}
6246
+ */
6247
+ async deleteAgentDraft(draftId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
6248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAgentDraft(draftId, options);
6249
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
6250
+ const localVarOperationServerBasePath = operationServerMap['DraftApi.deleteAgentDraft']?.[localVarOperationServerIndex]?.url;
6251
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6252
+ },
4124
6253
  /**
4125
6254
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
4126
6255
  * @summary Deploy Agent From Draft
@@ -4175,13 +6304,14 @@ export const DraftApiFp = function(configuration?: Configuration) {
4175
6304
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4176
6305
  },
4177
6306
  /**
4178
- * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
6307
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). The hasDeployment parameter allows filtering: - false: Never deployed drafts (no last_draft_id) - true: Has deployment but unpublished drafts (has last_draft_id) - null/omitted: All unpublished drafts Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
4179
6308
  * @summary Get User Unpublished Drafts
6309
+ * @param {boolean | null} [hasDeployment] Filter by deployment status: false for never deployed, true for has deployment but unpublished drafts, null for all unpublished drafts
4180
6310
  * @param {*} [options] Override http request option.
4181
6311
  * @throws {RequiredError}
4182
6312
  */
4183
- async getUserUnpublishedDrafts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentDraft>>> {
4184
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUserUnpublishedDrafts(options);
6313
+ async getUserUnpublishedDrafts(hasDeployment?: boolean | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentDraft>>> {
6314
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getUserUnpublishedDrafts(hasDeployment, options);
4185
6315
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4186
6316
  const localVarOperationServerBasePath = operationServerMap['DraftApi.getUserUnpublishedDrafts']?.[localVarOperationServerIndex]?.url;
4187
6317
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4205,6 +6335,7 @@ export const DraftApiFp = function(configuration?: Configuration) {
4205
6335
 
4206
6336
  /**
4207
6337
  * DraftApi - factory interface
6338
+ * @export
4208
6339
  */
4209
6340
  export const DraftApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4210
6341
  const localVarFp = DraftApiFp(configuration)
@@ -4219,6 +6350,16 @@ export const DraftApiFactory = function (configuration?: Configuration, basePath
4219
6350
  createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): AxiosPromise<AgentDraft> {
4220
6351
  return localVarFp.createAgentDraft(agentUserInput, options).then((request) => request(axios, basePath));
4221
6352
  },
6353
+ /**
6354
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
6355
+ * @summary Delete Agent Draft
6356
+ * @param {string} draftId Draft ID
6357
+ * @param {*} [options] Override http request option.
6358
+ * @throws {RequiredError}
6359
+ */
6360
+ deleteAgentDraft(draftId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
6361
+ return localVarFp.deleteAgentDraft(draftId, options).then((request) => request(axios, basePath));
6362
+ },
4222
6363
  /**
4223
6364
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
4224
6365
  * @summary Deploy Agent From Draft
@@ -4261,13 +6402,14 @@ export const DraftApiFactory = function (configuration?: Configuration, basePath
4261
6402
  return localVarFp.getAgentLatestDraft(agentId, options).then((request) => request(axios, basePath));
4262
6403
  },
4263
6404
  /**
4264
- * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
6405
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). The hasDeployment parameter allows filtering: - false: Never deployed drafts (no last_draft_id) - true: Has deployment but unpublished drafts (has last_draft_id) - null/omitted: All unpublished drafts Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
4265
6406
  * @summary Get User Unpublished Drafts
6407
+ * @param {boolean | null} [hasDeployment] Filter by deployment status: false for never deployed, true for has deployment but unpublished drafts, null for all unpublished drafts
4266
6408
  * @param {*} [options] Override http request option.
4267
6409
  * @throws {RequiredError}
4268
6410
  */
4269
- getUserUnpublishedDrafts(options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentDraft>> {
4270
- return localVarFp.getUserUnpublishedDrafts(options).then((request) => request(axios, basePath));
6411
+ getUserUnpublishedDrafts(hasDeployment?: boolean | null, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentDraft>> {
6412
+ return localVarFp.getUserUnpublishedDrafts(hasDeployment, options).then((request) => request(axios, basePath));
4271
6413
  },
4272
6414
  /**
4273
6415
  * Update an agent draft. Updates the latest draft for the specified agent. If the latest draft has been deployed (has deployed_at timestamp), creates a new draft. Otherwise, updates the existing draft with the new configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
@@ -4285,6 +6427,9 @@ export const DraftApiFactory = function (configuration?: Configuration, basePath
4285
6427
 
4286
6428
  /**
4287
6429
  * DraftApi - object-oriented interface
6430
+ * @export
6431
+ * @class DraftApi
6432
+ * @extends {BaseAPI}
4288
6433
  */
4289
6434
  export class DraftApi extends BaseAPI {
4290
6435
  /**
@@ -4293,17 +6438,31 @@ export class DraftApi extends BaseAPI {
4293
6438
  * @param {AgentUserInput} agentUserInput
4294
6439
  * @param {*} [options] Override http request option.
4295
6440
  * @throws {RequiredError}
6441
+ * @memberof DraftApi
4296
6442
  */
4297
6443
  public createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig) {
4298
6444
  return DraftApiFp(this.configuration).createAgentDraft(agentUserInput, options).then((request) => request(this.axios, this.basePath));
4299
6445
  }
4300
6446
 
6447
+ /**
6448
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
6449
+ * @summary Delete Agent Draft
6450
+ * @param {string} draftId Draft ID
6451
+ * @param {*} [options] Override http request option.
6452
+ * @throws {RequiredError}
6453
+ * @memberof DraftApi
6454
+ */
6455
+ public deleteAgentDraft(draftId: string, options?: RawAxiosRequestConfig) {
6456
+ return DraftApiFp(this.configuration).deleteAgentDraft(draftId, options).then((request) => request(this.axios, this.basePath));
6457
+ }
6458
+
4301
6459
  /**
4302
6460
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
4303
6461
  * @summary Deploy Agent From Draft
4304
6462
  * @param {AgentDeployRequest} agentDeployRequest
4305
6463
  * @param {*} [options] Override http request option.
4306
6464
  * @throws {RequiredError}
6465
+ * @memberof DraftApi
4307
6466
  */
4308
6467
  public deployAgentFromDraft(agentDeployRequest: AgentDeployRequest, options?: RawAxiosRequestConfig) {
4309
6468
  return DraftApiFp(this.configuration).deployAgentFromDraft(agentDeployRequest, options).then((request) => request(this.axios, this.basePath));
@@ -4316,6 +6475,7 @@ export class DraftApi extends BaseAPI {
4316
6475
  * @param {string} draftId Draft ID
4317
6476
  * @param {*} [options] Override http request option.
4318
6477
  * @throws {RequiredError}
6478
+ * @memberof DraftApi
4319
6479
  */
4320
6480
  public getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig) {
4321
6481
  return DraftApiFp(this.configuration).getAgentDraftById(agentId, draftId, options).then((request) => request(this.axios, this.basePath));
@@ -4327,6 +6487,7 @@ export class DraftApi extends BaseAPI {
4327
6487
  * @param {string} agentId Agent ID
4328
6488
  * @param {*} [options] Override http request option.
4329
6489
  * @throws {RequiredError}
6490
+ * @memberof DraftApi
4330
6491
  */
4331
6492
  public getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig) {
4332
6493
  return DraftApiFp(this.configuration).getAgentDrafts(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -4338,19 +6499,22 @@ export class DraftApi extends BaseAPI {
4338
6499
  * @param {string} agentId Agent ID
4339
6500
  * @param {*} [options] Override http request option.
4340
6501
  * @throws {RequiredError}
6502
+ * @memberof DraftApi
4341
6503
  */
4342
6504
  public getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig) {
4343
6505
  return DraftApiFp(this.configuration).getAgentLatestDraft(agentId, options).then((request) => request(this.axios, this.basePath));
4344
6506
  }
4345
6507
 
4346
6508
  /**
4347
- * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
6509
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). The hasDeployment parameter allows filtering: - false: Never deployed drafts (no last_draft_id) - true: Has deployment but unpublished drafts (has last_draft_id) - null/omitted: All unpublished drafts Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
4348
6510
  * @summary Get User Unpublished Drafts
6511
+ * @param {boolean | null} [hasDeployment] Filter by deployment status: false for never deployed, true for has deployment but unpublished drafts, null for all unpublished drafts
4349
6512
  * @param {*} [options] Override http request option.
4350
6513
  * @throws {RequiredError}
6514
+ * @memberof DraftApi
4351
6515
  */
4352
- public getUserUnpublishedDrafts(options?: RawAxiosRequestConfig) {
4353
- return DraftApiFp(this.configuration).getUserUnpublishedDrafts(options).then((request) => request(this.axios, this.basePath));
6516
+ public getUserUnpublishedDrafts(hasDeployment?: boolean | null, options?: RawAxiosRequestConfig) {
6517
+ return DraftApiFp(this.configuration).getUserUnpublishedDrafts(hasDeployment, options).then((request) => request(this.axios, this.basePath));
4354
6518
  }
4355
6519
 
4356
6520
  /**
@@ -4360,6 +6524,7 @@ export class DraftApi extends BaseAPI {
4360
6524
  * @param {AgentUserInput} agentUserInput
4361
6525
  * @param {*} [options] Override http request option.
4362
6526
  * @throws {RequiredError}
6527
+ * @memberof DraftApi
4363
6528
  */
4364
6529
  public updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig) {
4365
6530
  return DraftApiFp(this.configuration).updateAgentDraft(agentId, agentUserInput, options).then((request) => request(this.axios, this.basePath));
@@ -4370,6 +6535,7 @@ export class DraftApi extends BaseAPI {
4370
6535
 
4371
6536
  /**
4372
6537
  * GeneratorApi - axios parameter creator
6538
+ * @export
4373
6539
  */
4374
6540
  export const GeneratorApiAxiosParamCreator = function (configuration?: Configuration) {
4375
6541
  return {
@@ -4495,6 +6661,7 @@ export const GeneratorApiAxiosParamCreator = function (configuration?: Configura
4495
6661
 
4496
6662
  /**
4497
6663
  * GeneratorApi - functional programming interface
6664
+ * @export
4498
6665
  */
4499
6666
  export const GeneratorApiFp = function(configuration?: Configuration) {
4500
6667
  const localVarAxiosParamCreator = GeneratorApiAxiosParamCreator(configuration)
@@ -4543,6 +6710,7 @@ export const GeneratorApiFp = function(configuration?: Configuration) {
4543
6710
 
4544
6711
  /**
4545
6712
  * GeneratorApi - factory interface
6713
+ * @export
4546
6714
  */
4547
6715
  export const GeneratorApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4548
6716
  const localVarFp = GeneratorApiFp(configuration)
@@ -4582,6 +6750,9 @@ export const GeneratorApiFactory = function (configuration?: Configuration, base
4582
6750
 
4583
6751
  /**
4584
6752
  * GeneratorApi - object-oriented interface
6753
+ * @export
6754
+ * @class GeneratorApi
6755
+ * @extends {BaseAPI}
4585
6756
  */
4586
6757
  export class GeneratorApi extends BaseAPI {
4587
6758
  /**
@@ -4590,6 +6761,7 @@ export class GeneratorApi extends BaseAPI {
4590
6761
  * @param {AgentGenerateRequest} agentGenerateRequest
4591
6762
  * @param {*} [options] Override http request option.
4592
6763
  * @throws {RequiredError}
6764
+ * @memberof GeneratorApi
4593
6765
  */
4594
6766
  public generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig) {
4595
6767
  return GeneratorApiFp(this.configuration).generateAgent(agentGenerateRequest, options).then((request) => request(this.axios, this.basePath));
@@ -4601,6 +6773,7 @@ export class GeneratorApi extends BaseAPI {
4601
6773
  * @param {string} projectId
4602
6774
  * @param {*} [options] Override http request option.
4603
6775
  * @throws {RequiredError}
6776
+ * @memberof GeneratorApi
4604
6777
  */
4605
6778
  public getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig) {
4606
6779
  return GeneratorApiFp(this.configuration).getGenerationHistory(projectId, options).then((request) => request(this.axios, this.basePath));
@@ -4612,6 +6785,7 @@ export class GeneratorApi extends BaseAPI {
4612
6785
  * @param {number} [limit]
4613
6786
  * @param {*} [options] Override http request option.
4614
6787
  * @throws {RequiredError}
6788
+ * @memberof GeneratorApi
4615
6789
  */
4616
6790
  public getGenerations(limit?: number, options?: RawAxiosRequestConfig) {
4617
6791
  return GeneratorApiFp(this.configuration).getGenerations(limit, options).then((request) => request(this.axios, this.basePath));
@@ -4622,6 +6796,7 @@ export class GeneratorApi extends BaseAPI {
4622
6796
 
4623
6797
  /**
4624
6798
  * HealthApi - axios parameter creator
6799
+ * @export
4625
6800
  */
4626
6801
  export const HealthApiAxiosParamCreator = function (configuration?: Configuration) {
4627
6802
  return {
@@ -4660,6 +6835,7 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
4660
6835
 
4661
6836
  /**
4662
6837
  * HealthApi - functional programming interface
6838
+ * @export
4663
6839
  */
4664
6840
  export const HealthApiFp = function(configuration?: Configuration) {
4665
6841
  const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration)
@@ -4681,6 +6857,7 @@ export const HealthApiFp = function(configuration?: Configuration) {
4681
6857
 
4682
6858
  /**
4683
6859
  * HealthApi - factory interface
6860
+ * @export
4684
6861
  */
4685
6862
  export const HealthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4686
6863
  const localVarFp = HealthApiFp(configuration)
@@ -4699,6 +6876,9 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
4699
6876
 
4700
6877
  /**
4701
6878
  * HealthApi - object-oriented interface
6879
+ * @export
6880
+ * @class HealthApi
6881
+ * @extends {BaseAPI}
4702
6882
  */
4703
6883
  export class HealthApi extends BaseAPI {
4704
6884
  /**
@@ -4706,6 +6886,7 @@ export class HealthApi extends BaseAPI {
4706
6886
  * @summary Health check endpoint
4707
6887
  * @param {*} [options] Override http request option.
4708
6888
  * @throws {RequiredError}
6889
+ * @memberof HealthApi
4709
6890
  */
4710
6891
  public healthCheck(options?: RawAxiosRequestConfig) {
4711
6892
  return HealthApiFp(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
@@ -4716,6 +6897,7 @@ export class HealthApi extends BaseAPI {
4716
6897
 
4717
6898
  /**
4718
6899
  * MetadataApi - axios parameter creator
6900
+ * @export
4719
6901
  */
4720
6902
  export const MetadataApiAxiosParamCreator = function (configuration?: Configuration) {
4721
6903
  return {
@@ -4890,6 +7072,7 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
4890
7072
 
4891
7073
  /**
4892
7074
  * MetadataApi - functional programming interface
7075
+ * @export
4893
7076
  */
4894
7077
  export const MetadataApiFp = function(configuration?: Configuration) {
4895
7078
  const localVarAxiosParamCreator = MetadataApiAxiosParamCreator(configuration)
@@ -4963,6 +7146,7 @@ export const MetadataApiFp = function(configuration?: Configuration) {
4963
7146
 
4964
7147
  /**
4965
7148
  * MetadataApi - factory interface
7149
+ * @export
4966
7150
  */
4967
7151
  export const MetadataApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4968
7152
  const localVarFp = MetadataApiFp(configuration)
@@ -5021,6 +7205,9 @@ export const MetadataApiFactory = function (configuration?: Configuration, baseP
5021
7205
 
5022
7206
  /**
5023
7207
  * MetadataApi - object-oriented interface
7208
+ * @export
7209
+ * @class MetadataApi
7210
+ * @extends {BaseAPI}
5024
7211
  */
5025
7212
  export class MetadataApi extends BaseAPI {
5026
7213
  /**
@@ -5028,6 +7215,7 @@ export class MetadataApi extends BaseAPI {
5028
7215
  * @summary Get agent schema
5029
7216
  * @param {*} [options] Override http request option.
5030
7217
  * @throws {RequiredError}
7218
+ * @memberof MetadataApi
5031
7219
  */
5032
7220
  public getAgentSchema(options?: RawAxiosRequestConfig) {
5033
7221
  return MetadataApiFp(this.configuration).getAgentSchema(options).then((request) => request(this.axios, this.basePath));
@@ -5038,6 +7226,7 @@ export class MetadataApi extends BaseAPI {
5038
7226
  * @summary Get all LLM models
5039
7227
  * @param {*} [options] Override http request option.
5040
7228
  * @throws {RequiredError}
7229
+ * @memberof MetadataApi
5041
7230
  */
5042
7231
  public getLlms(options?: RawAxiosRequestConfig) {
5043
7232
  return MetadataApiFp(this.configuration).getLlms(options).then((request) => request(this.axios, this.basePath));
@@ -5051,6 +7240,7 @@ export class MetadataApi extends BaseAPI {
5051
7240
  * @param {string} ext Icon file extension
5052
7241
  * @param {*} [options] Override http request option.
5053
7242
  * @throws {RequiredError}
7243
+ * @memberof MetadataApi
5054
7244
  */
5055
7245
  public getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig) {
5056
7246
  return MetadataApiFp(this.configuration).getSkillIcon(skill, iconName, ext, options).then((request) => request(this.axios, this.basePath));
@@ -5062,6 +7252,7 @@ export class MetadataApi extends BaseAPI {
5062
7252
  * @param {string} skill Skill name
5063
7253
  * @param {*} [options] Override http request option.
5064
7254
  * @throws {RequiredError}
7255
+ * @memberof MetadataApi
5065
7256
  */
5066
7257
  public getSkillSchema(skill: string, options?: RawAxiosRequestConfig) {
5067
7258
  return MetadataApiFp(this.configuration).getSkillSchema(skill, options).then((request) => request(this.axios, this.basePath));
@@ -5072,6 +7263,7 @@ export class MetadataApi extends BaseAPI {
5072
7263
  * @summary Get all skills
5073
7264
  * @param {*} [options] Override http request option.
5074
7265
  * @throws {RequiredError}
7266
+ * @memberof MetadataApi
5075
7267
  */
5076
7268
  public getSkills(options?: RawAxiosRequestConfig) {
5077
7269
  return MetadataApiFp(this.configuration).getSkills(options).then((request) => request(this.axios, this.basePath));
@@ -5082,6 +7274,7 @@ export class MetadataApi extends BaseAPI {
5082
7274
 
5083
7275
  /**
5084
7276
  * OAuthApi - axios parameter creator
7277
+ * @export
5085
7278
  */
5086
7279
  export const OAuthApiAxiosParamCreator = function (configuration?: Configuration) {
5087
7280
  return {
@@ -5226,6 +7419,7 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
5226
7419
 
5227
7420
  /**
5228
7421
  * OAuthApi - functional programming interface
7422
+ * @export
5229
7423
  */
5230
7424
  export const OAuthApiFp = function(configuration?: Configuration) {
5231
7425
  const localVarAxiosParamCreator = OAuthApiAxiosParamCreator(configuration)
@@ -5277,6 +7471,7 @@ export const OAuthApiFp = function(configuration?: Configuration) {
5277
7471
 
5278
7472
  /**
5279
7473
  * OAuthApi - factory interface
7474
+ * @export
5280
7475
  */
5281
7476
  export const OAuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5282
7477
  const localVarFp = OAuthApiFp(configuration)
@@ -5319,6 +7514,9 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
5319
7514
 
5320
7515
  /**
5321
7516
  * OAuthApi - object-oriented interface
7517
+ * @export
7518
+ * @class OAuthApi
7519
+ * @extends {BaseAPI}
5322
7520
  */
5323
7521
  export class OAuthApi extends BaseAPI {
5324
7522
  /**
@@ -5328,6 +7526,7 @@ export class OAuthApi extends BaseAPI {
5328
7526
  * @param {string} redirectUri
5329
7527
  * @param {*} [options] Override http request option.
5330
7528
  * @throws {RequiredError}
7529
+ * @memberof OAuthApi
5331
7530
  */
5332
7531
  public getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig) {
5333
7532
  return OAuthApiFp(this.configuration).getTwitterAuthUrl(agentId, redirectUri, options).then((request) => request(this.axios, this.basePath));
@@ -5341,6 +7540,7 @@ export class OAuthApi extends BaseAPI {
5341
7540
  * @param {string | null} [error]
5342
7541
  * @param {*} [options] Override http request option.
5343
7542
  * @throws {RequiredError}
7543
+ * @memberof OAuthApi
5344
7544
  */
5345
7545
  public twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) {
5346
7546
  return OAuthApiFp(this.configuration).twitterOauthCallback(state, code, error, options).then((request) => request(this.axios, this.basePath));
@@ -5352,6 +7552,7 @@ export class OAuthApi extends BaseAPI {
5352
7552
  * @param {string} agentId ID of the agent to unlink from X
5353
7553
  * @param {*} [options] Override http request option.
5354
7554
  * @throws {RequiredError}
7555
+ * @memberof OAuthApi
5355
7556
  */
5356
7557
  public unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig) {
5357
7558
  return OAuthApiFp(this.configuration).unlinkTwitter(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -5362,6 +7563,7 @@ export class OAuthApi extends BaseAPI {
5362
7563
 
5363
7564
  /**
5364
7565
  * UserApi - axios parameter creator
7566
+ * @export
5365
7567
  */
5366
7568
  export const UserApiAxiosParamCreator = function (configuration?: Configuration) {
5367
7569
  return {
@@ -5497,6 +7699,7 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
5497
7699
 
5498
7700
  /**
5499
7701
  * UserApi - functional programming interface
7702
+ * @export
5500
7703
  */
5501
7704
  export const UserApiFp = function(configuration?: Configuration) {
5502
7705
  const localVarAxiosParamCreator = UserApiAxiosParamCreator(configuration)
@@ -5546,6 +7749,7 @@ export const UserApiFp = function(configuration?: Configuration) {
5546
7749
 
5547
7750
  /**
5548
7751
  * UserApi - factory interface
7752
+ * @export
5549
7753
  */
5550
7754
  export const UserApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5551
7755
  const localVarFp = UserApiFp(configuration)
@@ -5586,6 +7790,9 @@ export const UserApiFactory = function (configuration?: Configuration, basePath?
5586
7790
 
5587
7791
  /**
5588
7792
  * UserApi - object-oriented interface
7793
+ * @export
7794
+ * @class UserApi
7795
+ * @extends {BaseAPI}
5589
7796
  */
5590
7797
  export class UserApi extends BaseAPI {
5591
7798
  /**
@@ -5594,6 +7801,7 @@ export class UserApi extends BaseAPI {
5594
7801
  * @param {string} agentId Agent ID
5595
7802
  * @param {*} [options] Override http request option.
5596
7803
  * @throws {RequiredError}
7804
+ * @memberof UserApi
5597
7805
  */
5598
7806
  public getUserAgentById(agentId: string, options?: RawAxiosRequestConfig) {
5599
7807
  return UserApiFp(this.configuration).getUserAgentById(agentId, options).then((request) => request(this.axios, this.basePath));
@@ -5606,6 +7814,7 @@ export class UserApi extends BaseAPI {
5606
7814
  * @param {number} [limit] Maximum number of agents to return
5607
7815
  * @param {*} [options] Override http request option.
5608
7816
  * @throws {RequiredError}
7817
+ * @memberof UserApi
5609
7818
  */
5610
7819
  public getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) {
5611
7820
  return UserApiFp(this.configuration).getUserAgents(cursor, limit, options).then((request) => request(this.axios, this.basePath));
@@ -5617,6 +7826,7 @@ export class UserApi extends BaseAPI {
5617
7826
  * @param {File} file File to upload
5618
7827
  * @param {*} [options] Override http request option.
5619
7828
  * @throws {RequiredError}
7829
+ * @memberof UserApi
5620
7830
  */
5621
7831
  public uploadUserFile(file: File, options?: RawAxiosRequestConfig) {
5622
7832
  return UserApiFp(this.configuration).uploadUserFile(file, options).then((request) => request(this.axios, this.basePath));