@crestal/nation-sdk 0.6.29 → 0.6.31

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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.6.29
5
+ * The version of the OpenAPI document: 0.6.31
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -13,6 +13,283 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ * Agent model.
18
+ * @export
19
+ * @interface Agent
20
+ */
21
+ export interface Agent {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Agent
26
+ */
27
+ 'description'?: string | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Agent
32
+ */
33
+ 'external_website'?: string | null;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof Agent
38
+ */
39
+ 'ticker'?: string | null;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof Agent
44
+ */
45
+ 'token_address'?: string | null;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof Agent
50
+ */
51
+ 'token_pool'?: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof Agent
56
+ */
57
+ 'fee_percentage'?: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof Agent
62
+ */
63
+ 'example_intro'?: string | null;
64
+ /**
65
+ *
66
+ * @type {Array<AgentExample>}
67
+ * @memberof Agent
68
+ */
69
+ 'examples'?: Array<AgentExample> | null;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof Agent
74
+ */
75
+ 'name': string | null;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof Agent
80
+ */
81
+ 'picture'?: string | null;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof Agent
86
+ */
87
+ 'purpose'?: string | null;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof Agent
92
+ */
93
+ 'personality'?: string | null;
94
+ /**
95
+ *
96
+ * @type {string}
97
+ * @memberof Agent
98
+ */
99
+ 'principles'?: string | null;
100
+ /**
101
+ * AI model identifier to be used by this agent for processing requests.
102
+ * @type {string}
103
+ * @memberof Agent
104
+ */
105
+ 'model'?: string;
106
+ /**
107
+ *
108
+ * @type {string}
109
+ * @memberof Agent
110
+ */
111
+ 'prompt'?: string | null;
112
+ /**
113
+ *
114
+ * @type {string}
115
+ * @memberof Agent
116
+ */
117
+ 'prompt_append'?: string | null;
118
+ /**
119
+ *
120
+ * @type {number}
121
+ * @memberof Agent
122
+ */
123
+ 'temperature'?: number | null;
124
+ /**
125
+ *
126
+ * @type {number}
127
+ * @memberof Agent
128
+ */
129
+ 'frequency_penalty'?: number | null;
130
+ /**
131
+ *
132
+ * @type {number}
133
+ * @memberof Agent
134
+ */
135
+ 'presence_penalty'?: number | null;
136
+ /**
137
+ *
138
+ * @type {string}
139
+ * @memberof Agent
140
+ */
141
+ 'wallet_provider'?: AgentWalletProviderEnum | null;
142
+ /**
143
+ *
144
+ * @type {string}
145
+ * @memberof Agent
146
+ */
147
+ 'readonly_wallet_address'?: string | null;
148
+ /**
149
+ *
150
+ * @type {string}
151
+ * @memberof Agent
152
+ */
153
+ 'network_id'?: AgentNetworkIdEnum | null;
154
+ /**
155
+ *
156
+ * @type {object}
157
+ * @memberof Agent
158
+ */
159
+ 'skills'?: object | null;
160
+ /**
161
+ *
162
+ * @type {string}
163
+ * @memberof Agent
164
+ */
165
+ 'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
166
+ /**
167
+ *
168
+ * @type {Array<AgentAutonomous>}
169
+ * @memberof Agent
170
+ */
171
+ 'autonomous'?: Array<AgentAutonomous> | null;
172
+ /**
173
+ *
174
+ * @type {boolean}
175
+ * @memberof Agent
176
+ */
177
+ 'telegram_entrypoint_enabled'?: boolean | null;
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof Agent
182
+ */
183
+ 'telegram_entrypoint_prompt'?: string | null;
184
+ /**
185
+ *
186
+ * @type {object}
187
+ * @memberof Agent
188
+ */
189
+ 'telegram_config'?: object | null;
190
+ /**
191
+ *
192
+ * @type {string}
193
+ * @memberof Agent
194
+ */
195
+ 'xmtp_entrypoint_prompt'?: string | null;
196
+ /**
197
+ *
198
+ * @type {string}
199
+ * @memberof Agent
200
+ */
201
+ 'upstream_id'?: string | null;
202
+ /**
203
+ *
204
+ * @type {object}
205
+ * @memberof Agent
206
+ */
207
+ 'upstream_extra'?: object | null;
208
+ /**
209
+ * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
210
+ * @type {string}
211
+ * @memberof Agent
212
+ */
213
+ 'id'?: string;
214
+ /**
215
+ *
216
+ * @type {string}
217
+ * @memberof Agent
218
+ */
219
+ 'owner'?: string | null;
220
+ /**
221
+ *
222
+ * @type {string}
223
+ * @memberof Agent
224
+ */
225
+ 'slug'?: string | null;
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof Agent
230
+ */
231
+ 'version'?: string | null;
232
+ /**
233
+ *
234
+ * @type {object}
235
+ * @memberof Agent
236
+ */
237
+ 'statistics'?: object | null;
238
+ /**
239
+ *
240
+ * @type {object}
241
+ * @memberof Agent
242
+ */
243
+ 'assets'?: object | null;
244
+ /**
245
+ *
246
+ * @type {CreditAccount}
247
+ * @memberof Agent
248
+ */
249
+ 'account_snapshot'?: CreditAccount | null;
250
+ /**
251
+ *
252
+ * @type {object}
253
+ * @memberof Agent
254
+ */
255
+ 'extra'?: object | null;
256
+ /**
257
+ * Timestamp when the agent was created, will ignore when importing
258
+ * @type {string}
259
+ * @memberof Agent
260
+ */
261
+ 'created_at'?: string;
262
+ /**
263
+ * Timestamp when the agent was last updated, will ignore when importing
264
+ * @type {string}
265
+ * @memberof Agent
266
+ */
267
+ 'updated_at'?: string;
268
+ }
269
+ export declare const AgentWalletProviderEnum: {
270
+ readonly Cdp: "cdp";
271
+ readonly Readonly: "readonly";
272
+ };
273
+ export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
274
+ export declare const AgentNetworkIdEnum: {
275
+ readonly EthereumMainnet: "ethereum-mainnet";
276
+ readonly EthereumSepolia: "ethereum-sepolia";
277
+ readonly PolygonMainnet: "polygon-mainnet";
278
+ readonly PolygonMumbai: "polygon-mumbai";
279
+ readonly BaseMainnet: "base-mainnet";
280
+ readonly BaseSepolia: "base-sepolia";
281
+ readonly ArbitrumMainnet: "arbitrum-mainnet";
282
+ readonly ArbitrumSepolia: "arbitrum-sepolia";
283
+ readonly OptimismMainnet: "optimism-mainnet";
284
+ readonly OptimismSepolia: "optimism-sepolia";
285
+ readonly Solana: "solana";
286
+ };
287
+ export type AgentNetworkIdEnum = typeof AgentNetworkIdEnum[keyof typeof AgentNetworkIdEnum];
288
+ export declare const AgentShortTermMemoryStrategyEnum: {
289
+ readonly Trim: "trim";
290
+ readonly Summarize: "summarize";
291
+ };
292
+ export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
16
293
  /**
17
294
  * Response model for agent API key generation.
18
295
  * @export
@@ -161,357 +438,367 @@ export interface AgentAutonomous {
161
438
  'enabled'?: boolean | null;
162
439
  }
163
440
  /**
164
- * Agent example configuration.
441
+ * Agent create model.
165
442
  * @export
166
- * @interface AgentExample
443
+ * @interface AgentCreate
167
444
  */
168
- export interface AgentExample {
445
+ export interface AgentCreate {
169
446
  /**
170
- * Name of the example
447
+ *
171
448
  * @type {string}
172
- * @memberof AgentExample
449
+ * @memberof AgentCreate
173
450
  */
174
- 'name': string;
451
+ 'name': string | null;
175
452
  /**
176
- * Description of the example
453
+ *
177
454
  * @type {string}
178
- * @memberof AgentExample
455
+ * @memberof AgentCreate
179
456
  */
180
- 'description': string;
457
+ 'picture'?: string | null;
181
458
  /**
182
- * Example prompt
459
+ *
183
460
  * @type {string}
184
- * @memberof AgentExample
461
+ * @memberof AgentCreate
185
462
  */
186
- 'prompt': string;
187
- }
188
- /**
189
- * Request model for agent generation.
190
- * @export
191
- * @interface AgentGenerateRequest
192
- */
193
- export interface AgentGenerateRequest {
463
+ 'purpose'?: string | null;
194
464
  /**
195
- * Natural language description of the agent\'s desired capabilities
465
+ *
196
466
  * @type {string}
197
- * @memberof AgentGenerateRequest
467
+ * @memberof AgentCreate
198
468
  */
199
- 'prompt': string;
469
+ 'personality'?: string | null;
200
470
  /**
201
471
  *
202
- * @type {AgentInput}
203
- * @memberof AgentGenerateRequest
472
+ * @type {string}
473
+ * @memberof AgentCreate
204
474
  */
205
- 'existing_agent'?: AgentInput | null;
475
+ 'principles'?: string | null;
206
476
  /**
207
- *
477
+ * AI model identifier to be used by this agent for processing requests.
208
478
  * @type {string}
209
- * @memberof AgentGenerateRequest
479
+ * @memberof AgentCreate
210
480
  */
211
- 'project_id'?: string | null;
481
+ 'model'?: string;
212
482
  /**
213
483
  *
214
- * @type {boolean}
215
- * @memberof AgentGenerateRequest
216
- */
217
- 'deploy'?: boolean | null;
218
- }
219
- /**
220
- * Response model for agent generation.
221
- * @export
222
- * @interface AgentGenerateResponse
223
- */
224
- export interface AgentGenerateResponse {
225
- /**
226
- * The generated agent schema
227
- * @type {object}
228
- * @memberof AgentGenerateResponse
229
- */
230
- 'agent': object;
231
- /**
232
- * Project ID for this conversation session
233
484
  * @type {string}
234
- * @memberof AgentGenerateResponse
485
+ * @memberof AgentCreate
235
486
  */
236
- 'project_id': string;
487
+ 'prompt'?: string | null;
237
488
  /**
238
- * Human-readable summary of the generated agent
489
+ *
239
490
  * @type {string}
240
- * @memberof AgentGenerateResponse
491
+ * @memberof AgentCreate
241
492
  */
242
- 'summary': string;
493
+ 'prompt_append'?: string | null;
243
494
  /**
244
- * Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
245
- * @type {Array<{ [key: string]: number; }>}
246
- * @memberof AgentGenerateResponse
495
+ *
496
+ * @type {number}
497
+ * @memberof AgentCreate
247
498
  */
248
- 'tags'?: Array<{
249
- [key: string]: number;
250
- }>;
499
+ 'temperature'?: number | null;
251
500
  /**
252
501
  *
253
- * @type {Array<object>}
254
- * @memberof AgentGenerateResponse
502
+ * @type {number}
503
+ * @memberof AgentCreate
255
504
  */
256
- 'autonomous_tasks'?: Array<object> | null;
505
+ 'frequency_penalty'?: number | null;
257
506
  /**
258
507
  *
259
- * @type {Array<string>}
260
- * @memberof AgentGenerateResponse
508
+ * @type {number}
509
+ * @memberof AgentCreate
261
510
  */
262
- 'activated_skills'?: Array<string> | null;
263
- }
264
- /**
265
- * Agent model.
266
- * @export
267
- * @interface AgentInput
268
- */
269
- export interface AgentInput {
511
+ 'presence_penalty'?: number | null;
270
512
  /**
271
513
  *
272
514
  * @type {string}
273
- * @memberof AgentInput
515
+ * @memberof AgentCreate
274
516
  */
275
- 'name': string | null;
517
+ 'wallet_provider'?: AgentCreateWalletProviderEnum | null;
276
518
  /**
277
519
  *
278
520
  * @type {string}
279
- * @memberof AgentInput
521
+ * @memberof AgentCreate
280
522
  */
281
- 'slug'?: string | null;
523
+ 'readonly_wallet_address'?: string | null;
282
524
  /**
283
525
  *
284
526
  * @type {string}
285
- * @memberof AgentInput
527
+ * @memberof AgentCreate
286
528
  */
287
- 'description'?: string | null;
529
+ 'network_id'?: AgentCreateNetworkIdEnum | null;
288
530
  /**
289
531
  *
290
- * @type {string}
291
- * @memberof AgentInput
532
+ * @type {object}
533
+ * @memberof AgentCreate
292
534
  */
293
- 'external_website'?: string | null;
535
+ 'skills'?: object | null;
294
536
  /**
295
537
  *
296
538
  * @type {string}
297
- * @memberof AgentInput
539
+ * @memberof AgentCreate
298
540
  */
299
- 'picture'?: string | null;
541
+ 'short_term_memory_strategy'?: AgentCreateShortTermMemoryStrategyEnum | null;
542
+ /**
543
+ *
544
+ * @type {Array<AgentAutonomous>}
545
+ * @memberof AgentCreate
546
+ */
547
+ 'autonomous'?: Array<AgentAutonomous> | null;
548
+ /**
549
+ *
550
+ * @type {boolean}
551
+ * @memberof AgentCreate
552
+ */
553
+ 'telegram_entrypoint_enabled'?: boolean | null;
300
554
  /**
301
555
  *
302
556
  * @type {string}
303
- * @memberof AgentInput
557
+ * @memberof AgentCreate
304
558
  */
305
- 'ticker'?: string | null;
559
+ 'telegram_entrypoint_prompt'?: string | null;
560
+ /**
561
+ *
562
+ * @type {object}
563
+ * @memberof AgentCreate
564
+ */
565
+ 'telegram_config'?: object | null;
306
566
  /**
307
567
  *
308
568
  * @type {string}
309
- * @memberof AgentInput
569
+ * @memberof AgentCreate
310
570
  */
311
- 'token_address'?: string | null;
571
+ 'xmtp_entrypoint_prompt'?: string | null;
312
572
  /**
313
573
  *
314
574
  * @type {string}
315
- * @memberof AgentInput
575
+ * @memberof AgentCreate
316
576
  */
317
- 'token_pool'?: string | null;
577
+ 'upstream_id'?: string | null;
318
578
  /**
319
579
  *
580
+ * @type {object}
581
+ * @memberof AgentCreate
582
+ */
583
+ 'upstream_extra'?: object | null;
584
+ /**
585
+ * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
320
586
  * @type {string}
321
- * @memberof AgentInput
587
+ * @memberof AgentCreate
322
588
  */
323
- 'mode'?: AgentInputModeEnum | null;
589
+ 'id'?: string;
324
590
  /**
325
591
  *
326
- * @type {FeePercentage}
327
- * @memberof AgentInput
592
+ * @type {string}
593
+ * @memberof AgentCreate
328
594
  */
329
- 'fee_percentage'?: FeePercentage | null;
595
+ 'owner'?: string | null;
596
+ }
597
+ export declare const AgentCreateWalletProviderEnum: {
598
+ readonly Cdp: "cdp";
599
+ readonly Readonly: "readonly";
600
+ };
601
+ export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
602
+ export declare const AgentCreateNetworkIdEnum: {
603
+ readonly EthereumMainnet: "ethereum-mainnet";
604
+ readonly EthereumSepolia: "ethereum-sepolia";
605
+ readonly PolygonMainnet: "polygon-mainnet";
606
+ readonly PolygonMumbai: "polygon-mumbai";
607
+ readonly BaseMainnet: "base-mainnet";
608
+ readonly BaseSepolia: "base-sepolia";
609
+ readonly ArbitrumMainnet: "arbitrum-mainnet";
610
+ readonly ArbitrumSepolia: "arbitrum-sepolia";
611
+ readonly OptimismMainnet: "optimism-mainnet";
612
+ readonly OptimismSepolia: "optimism-sepolia";
613
+ readonly Solana: "solana";
614
+ };
615
+ export type AgentCreateNetworkIdEnum = typeof AgentCreateNetworkIdEnum[keyof typeof AgentCreateNetworkIdEnum];
616
+ export declare const AgentCreateShortTermMemoryStrategyEnum: {
617
+ readonly Trim: "trim";
618
+ readonly Summarize: "summarize";
619
+ };
620
+ export type AgentCreateShortTermMemoryStrategyEnum = typeof AgentCreateShortTermMemoryStrategyEnum[keyof typeof AgentCreateShortTermMemoryStrategyEnum];
621
+ /**
622
+ * Agent draft model.
623
+ * @export
624
+ * @interface AgentDraft
625
+ */
626
+ export interface AgentDraft {
330
627
  /**
331
628
  *
332
629
  * @type {string}
333
- * @memberof AgentInput
630
+ * @memberof AgentDraft
334
631
  */
335
- 'purpose': string | null;
632
+ 'name': string | null;
336
633
  /**
337
634
  *
338
635
  * @type {string}
339
- * @memberof AgentInput
636
+ * @memberof AgentDraft
340
637
  */
341
- 'personality': string | null;
638
+ 'picture'?: string | null;
342
639
  /**
343
640
  *
344
641
  * @type {string}
345
- * @memberof AgentInput
642
+ * @memberof AgentDraft
346
643
  */
347
- 'principles': string | null;
644
+ 'purpose'?: string | null;
348
645
  /**
349
646
  *
350
647
  * @type {string}
351
- * @memberof AgentInput
648
+ * @memberof AgentDraft
352
649
  */
353
- 'owner'?: string | null;
650
+ 'personality'?: string | null;
354
651
  /**
355
652
  *
356
653
  * @type {string}
357
- * @memberof AgentInput
358
- */
359
- 'upstream_id'?: string | null;
360
- /**
361
- *
362
- * @type {object}
363
- * @memberof AgentInput
654
+ * @memberof AgentDraft
364
655
  */
365
- 'upstream_extra'?: object | null;
656
+ 'principles'?: string | null;
366
657
  /**
367
658
  * AI model identifier to be used by this agent for processing requests.
368
659
  * @type {string}
369
- * @memberof AgentInput
660
+ * @memberof AgentDraft
370
661
  */
371
662
  'model'?: string;
372
663
  /**
373
664
  *
374
665
  * @type {string}
375
- * @memberof AgentInput
666
+ * @memberof AgentDraft
376
667
  */
377
668
  'prompt'?: string | null;
378
669
  /**
379
670
  *
380
671
  * @type {string}
381
- * @memberof AgentInput
672
+ * @memberof AgentDraft
382
673
  */
383
674
  'prompt_append'?: string | null;
384
675
  /**
385
676
  *
386
677
  * @type {number}
387
- * @memberof AgentInput
678
+ * @memberof AgentDraft
388
679
  */
389
680
  'temperature'?: number | null;
390
681
  /**
391
682
  *
392
683
  * @type {number}
393
- * @memberof AgentInput
684
+ * @memberof AgentDraft
394
685
  */
395
686
  'frequency_penalty'?: number | null;
396
687
  /**
397
688
  *
398
689
  * @type {number}
399
- * @memberof AgentInput
690
+ * @memberof AgentDraft
400
691
  */
401
692
  'presence_penalty'?: number | null;
402
693
  /**
403
694
  *
404
695
  * @type {string}
405
- * @memberof AgentInput
406
- */
407
- 'short_term_memory_strategy'?: AgentInputShortTermMemoryStrategyEnum | null;
408
- /**
409
- *
410
- * @type {Array<AgentAutonomous>}
411
- * @memberof AgentInput
696
+ * @memberof AgentDraft
412
697
  */
413
- 'autonomous'?: Array<AgentAutonomous> | null;
698
+ 'wallet_provider'?: AgentDraftWalletProviderEnum | null;
414
699
  /**
415
700
  *
416
701
  * @type {string}
417
- * @memberof AgentInput
702
+ * @memberof AgentDraft
418
703
  */
419
- 'example_intro'?: string | null;
704
+ 'readonly_wallet_address'?: string | null;
420
705
  /**
421
706
  *
422
- * @type {Array<AgentExample>}
423
- * @memberof AgentInput
707
+ * @type {string}
708
+ * @memberof AgentDraft
424
709
  */
425
- 'examples'?: Array<AgentExample> | null;
710
+ 'network_id'?: AgentDraftNetworkIdEnum | null;
426
711
  /**
427
712
  *
428
713
  * @type {object}
429
- * @memberof AgentInput
714
+ * @memberof AgentDraft
430
715
  */
431
716
  'skills'?: object | null;
432
717
  /**
433
718
  *
434
719
  * @type {string}
435
- * @memberof AgentInput
436
- */
437
- 'wallet_provider'?: AgentInputWalletProviderEnum | null;
438
- /**
439
- *
440
- * @type {string}
441
- * @memberof AgentInput
442
- */
443
- 'readonly_wallet_address'?: string | null;
444
- /**
445
- *
446
- * @type {string}
447
- * @memberof AgentInput
720
+ * @memberof AgentDraft
448
721
  */
449
- 'network_id'?: AgentInputNetworkIdEnum | null;
722
+ 'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
450
723
  /**
451
724
  *
452
- * @type {string}
453
- * @memberof AgentInput
725
+ * @type {Array<AgentAutonomous>}
726
+ * @memberof AgentDraft
454
727
  */
455
- 'cdp_network_id'?: AgentInputCdpNetworkIdEnum | null;
728
+ 'autonomous'?: Array<AgentAutonomous> | null;
456
729
  /**
457
730
  *
458
731
  * @type {boolean}
459
- * @memberof AgentInput
732
+ * @memberof AgentDraft
460
733
  */
461
734
  'telegram_entrypoint_enabled'?: boolean | null;
462
735
  /**
463
736
  *
464
737
  * @type {string}
465
- * @memberof AgentInput
738
+ * @memberof AgentDraft
466
739
  */
467
740
  'telegram_entrypoint_prompt'?: string | null;
468
741
  /**
469
742
  *
470
743
  * @type {object}
471
- * @memberof AgentInput
744
+ * @memberof AgentDraft
472
745
  */
473
746
  'telegram_config'?: object | null;
474
747
  /**
475
748
  *
476
749
  * @type {string}
477
- * @memberof AgentInput
750
+ * @memberof AgentDraft
478
751
  */
479
752
  'xmtp_entrypoint_prompt'?: string | null;
480
753
  /**
481
- * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
754
+ * Unique identifier for the draft
482
755
  * @type {string}
483
- * @memberof AgentInput
756
+ * @memberof AgentDraft
484
757
  */
485
758
  'id'?: string;
759
+ /**
760
+ * Agent id
761
+ * @type {string}
762
+ * @memberof AgentDraft
763
+ */
764
+ 'agent_id'?: string;
765
+ /**
766
+ *
767
+ * @type {string}
768
+ * @memberof AgentDraft
769
+ */
770
+ 'owner'?: string | null;
771
+ /**
772
+ *
773
+ * @type {string}
774
+ * @memberof AgentDraft
775
+ */
776
+ 'version'?: string | null;
777
+ /**
778
+ *
779
+ * @type {string}
780
+ * @memberof AgentDraft
781
+ */
782
+ 'deployed_at'?: string | null;
486
783
  /**
487
784
  * Timestamp when the agent was created, will ignore when importing
488
785
  * @type {string}
489
- * @memberof AgentInput
786
+ * @memberof AgentDraft
490
787
  */
491
788
  'created_at'?: string;
492
789
  /**
493
790
  * Timestamp when the agent was last updated, will ignore when importing
494
791
  * @type {string}
495
- * @memberof AgentInput
792
+ * @memberof AgentDraft
496
793
  */
497
794
  'updated_at'?: string;
498
795
  }
499
- export declare const AgentInputModeEnum: {
500
- readonly Public: "public";
501
- readonly Private: "private";
502
- };
503
- export type AgentInputModeEnum = typeof AgentInputModeEnum[keyof typeof AgentInputModeEnum];
504
- export declare const AgentInputShortTermMemoryStrategyEnum: {
505
- readonly Trim: "trim";
506
- readonly Summarize: "summarize";
507
- };
508
- export type AgentInputShortTermMemoryStrategyEnum = typeof AgentInputShortTermMemoryStrategyEnum[keyof typeof AgentInputShortTermMemoryStrategyEnum];
509
- export declare const AgentInputWalletProviderEnum: {
796
+ export declare const AgentDraftWalletProviderEnum: {
510
797
  readonly Cdp: "cdp";
511
798
  readonly Readonly: "readonly";
512
799
  };
513
- export type AgentInputWalletProviderEnum = typeof AgentInputWalletProviderEnum[keyof typeof AgentInputWalletProviderEnum];
514
- export declare const AgentInputNetworkIdEnum: {
800
+ export type AgentDraftWalletProviderEnum = typeof AgentDraftWalletProviderEnum[keyof typeof AgentDraftWalletProviderEnum];
801
+ export declare const AgentDraftNetworkIdEnum: {
515
802
  readonly EthereumMainnet: "ethereum-mainnet";
516
803
  readonly EthereumSepolia: "ethereum-sepolia";
517
804
  readonly PolygonMainnet: "polygon-mainnet";
@@ -524,412 +811,318 @@ export declare const AgentInputNetworkIdEnum: {
524
811
  readonly OptimismSepolia: "optimism-sepolia";
525
812
  readonly Solana: "solana";
526
813
  };
527
- export type AgentInputNetworkIdEnum = typeof AgentInputNetworkIdEnum[keyof typeof AgentInputNetworkIdEnum];
528
- export declare const AgentInputCdpNetworkIdEnum: {
529
- readonly EthereumMainnet: "ethereum-mainnet";
530
- readonly EthereumSepolia: "ethereum-sepolia";
531
- readonly PolygonMainnet: "polygon-mainnet";
532
- readonly PolygonMumbai: "polygon-mumbai";
533
- readonly BaseMainnet: "base-mainnet";
534
- readonly BaseSepolia: "base-sepolia";
535
- readonly ArbitrumMainnet: "arbitrum-mainnet";
536
- readonly ArbitrumSepolia: "arbitrum-sepolia";
537
- readonly OptimismMainnet: "optimism-mainnet";
538
- readonly OptimismSepolia: "optimism-sepolia";
814
+ export type AgentDraftNetworkIdEnum = typeof AgentDraftNetworkIdEnum[keyof typeof AgentDraftNetworkIdEnum];
815
+ export declare const AgentDraftShortTermMemoryStrategyEnum: {
816
+ readonly Trim: "trim";
817
+ readonly Summarize: "summarize";
539
818
  };
540
- export type AgentInputCdpNetworkIdEnum = typeof AgentInputCdpNetworkIdEnum[keyof typeof AgentInputCdpNetworkIdEnum];
819
+ export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
541
820
  /**
542
- * Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
821
+ * Agent example configuration.
543
822
  * @export
544
- * @interface AgentListResponse
823
+ * @interface AgentExample
545
824
  */
546
- export interface AgentListResponse {
825
+ export interface AgentExample {
547
826
  /**
548
- * List of agents
549
- * @type {Array<AgentResponse>}
550
- * @memberof AgentListResponse
827
+ * Name of the example
828
+ * @type {string}
829
+ * @memberof AgentExample
551
830
  */
552
- 'data': Array<AgentResponse>;
831
+ 'name': string;
553
832
  /**
554
- * Indicates if there are more items
555
- * @type {boolean}
556
- * @memberof AgentListResponse
833
+ * Description of the example
834
+ * @type {string}
835
+ * @memberof AgentExample
557
836
  */
558
- 'has_more': boolean;
837
+ 'description': string;
559
838
  /**
560
- *
839
+ * Example prompt
561
840
  * @type {string}
562
- * @memberof AgentListResponse
841
+ * @memberof AgentExample
563
842
  */
564
- 'next_cursor'?: string | null;
843
+ 'prompt': string;
565
844
  }
566
845
  /**
567
- * Agent model.
846
+ * Request model for agent generation.
568
847
  * @export
569
- * @interface AgentOutput
848
+ * @interface AgentGenerateRequest
570
849
  */
571
- export interface AgentOutput {
572
- /**
573
- *
574
- * @type {string}
575
- * @memberof AgentOutput
576
- */
577
- 'name': string | null;
578
- /**
579
- *
580
- * @type {string}
581
- * @memberof AgentOutput
582
- */
583
- 'slug'?: string | null;
584
- /**
585
- *
586
- * @type {string}
587
- * @memberof AgentOutput
588
- */
589
- 'description'?: string | null;
590
- /**
591
- *
592
- * @type {string}
593
- * @memberof AgentOutput
594
- */
595
- 'external_website'?: string | null;
596
- /**
597
- *
598
- * @type {string}
599
- * @memberof AgentOutput
600
- */
601
- 'picture'?: string | null;
602
- /**
603
- *
604
- * @type {string}
605
- * @memberof AgentOutput
606
- */
607
- 'ticker'?: string | null;
850
+ export interface AgentGenerateRequest {
608
851
  /**
609
- *
852
+ * Natural language description of the agent\'s desired capabilities
610
853
  * @type {string}
611
- * @memberof AgentOutput
854
+ * @memberof AgentGenerateRequest
612
855
  */
613
- 'token_address'?: string | null;
856
+ 'prompt': string;
614
857
  /**
615
858
  *
616
- * @type {string}
617
- * @memberof AgentOutput
859
+ * @type {AgentCreate}
860
+ * @memberof AgentGenerateRequest
618
861
  */
619
- 'token_pool'?: string | null;
862
+ 'existing_agent'?: AgentCreate | null;
620
863
  /**
621
864
  *
622
865
  * @type {string}
623
- * @memberof AgentOutput
866
+ * @memberof AgentGenerateRequest
624
867
  */
625
- 'mode'?: AgentOutputModeEnum | null;
868
+ 'project_id'?: string | null;
626
869
  /**
627
870
  *
628
- * @type {string}
629
- * @memberof AgentOutput
871
+ * @type {boolean}
872
+ * @memberof AgentGenerateRequest
630
873
  */
631
- 'fee_percentage'?: string | null;
874
+ 'deploy'?: boolean | null;
875
+ }
876
+ /**
877
+ * Response model for agent generation.
878
+ * @export
879
+ * @interface AgentGenerateResponse
880
+ */
881
+ export interface AgentGenerateResponse {
632
882
  /**
633
- *
634
- * @type {string}
635
- * @memberof AgentOutput
883
+ * The generated agent schema
884
+ * @type {object}
885
+ * @memberof AgentGenerateResponse
636
886
  */
637
- 'purpose': string | null;
887
+ 'agent': object;
638
888
  /**
639
- *
889
+ * Project ID for this conversation session
640
890
  * @type {string}
641
- * @memberof AgentOutput
891
+ * @memberof AgentGenerateResponse
642
892
  */
643
- 'personality': string | null;
893
+ 'project_id': string;
644
894
  /**
645
- *
895
+ * Human-readable summary of the generated agent
646
896
  * @type {string}
647
- * @memberof AgentOutput
897
+ * @memberof AgentGenerateResponse
648
898
  */
649
- 'principles': string | null;
899
+ 'summary': string;
650
900
  /**
651
- *
652
- * @type {string}
653
- * @memberof AgentOutput
901
+ * Generated tags for the agent as ID objects: [{\'id\': 1}, {\'id\': 2}]
902
+ * @type {Array<{ [key: string]: number; }>}
903
+ * @memberof AgentGenerateResponse
654
904
  */
655
- 'owner'?: string | null;
905
+ 'tags'?: Array<{
906
+ [key: string]: number;
907
+ }>;
656
908
  /**
657
909
  *
658
- * @type {string}
659
- * @memberof AgentOutput
910
+ * @type {Array<object>}
911
+ * @memberof AgentGenerateResponse
660
912
  */
661
- 'upstream_id'?: string | null;
913
+ 'autonomous_tasks'?: Array<object> | null;
662
914
  /**
663
915
  *
664
- * @type {object}
665
- * @memberof AgentOutput
916
+ * @type {Array<string>}
917
+ * @memberof AgentGenerateResponse
666
918
  */
667
- 'upstream_extra'?: object | null;
919
+ 'activated_skills'?: Array<string> | null;
920
+ }
921
+ /**
922
+ * Paginated response model for agents list. Contains a list of agents, a flag indicating if more items are available, and a cursor for pagination.
923
+ * @export
924
+ * @interface AgentListResponse
925
+ */
926
+ export interface AgentListResponse {
668
927
  /**
669
- * AI model identifier to be used by this agent for processing requests.
670
- * @type {string}
671
- * @memberof AgentOutput
928
+ * List of agents
929
+ * @type {Array<AgentResponse>}
930
+ * @memberof AgentListResponse
672
931
  */
673
- 'model'?: string;
932
+ 'data': Array<AgentResponse>;
674
933
  /**
675
- *
676
- * @type {string}
677
- * @memberof AgentOutput
934
+ * Indicates if there are more items
935
+ * @type {boolean}
936
+ * @memberof AgentListResponse
678
937
  */
679
- 'prompt'?: string | null;
938
+ 'has_more': boolean;
680
939
  /**
681
940
  *
682
941
  * @type {string}
683
- * @memberof AgentOutput
684
- */
685
- 'prompt_append'?: string | null;
686
- /**
687
- *
688
- * @type {number}
689
- * @memberof AgentOutput
690
- */
691
- 'temperature'?: number | null;
692
- /**
693
- *
694
- * @type {number}
695
- * @memberof AgentOutput
696
- */
697
- 'frequency_penalty'?: number | null;
698
- /**
699
- *
700
- * @type {number}
701
- * @memberof AgentOutput
942
+ * @memberof AgentListResponse
702
943
  */
703
- 'presence_penalty'?: number | null;
944
+ 'next_cursor'?: string | null;
945
+ }
946
+ /**
947
+ * Response model for Agent API.
948
+ * @export
949
+ * @interface AgentResponse
950
+ */
951
+ export interface AgentResponse {
704
952
  /**
705
953
  *
706
954
  * @type {string}
707
- * @memberof AgentOutput
708
- */
709
- 'short_term_memory_strategy'?: AgentOutputShortTermMemoryStrategyEnum | null;
710
- /**
711
- *
712
- * @type {Array<AgentAutonomous>}
713
- * @memberof AgentOutput
955
+ * @memberof AgentResponse
714
956
  */
715
- 'autonomous'?: Array<AgentAutonomous> | null;
957
+ 'description'?: string | null;
716
958
  /**
717
959
  *
718
960
  * @type {string}
719
- * @memberof AgentOutput
720
- */
721
- 'example_intro'?: string | null;
722
- /**
723
- *
724
- * @type {Array<AgentExample>}
725
- * @memberof AgentOutput
961
+ * @memberof AgentResponse
726
962
  */
727
- 'examples'?: Array<AgentExample> | null;
963
+ 'external_website'?: string | null;
728
964
  /**
729
965
  *
730
- * @type {object}
731
- * @memberof AgentOutput
966
+ * @type {string}
967
+ * @memberof AgentResponse
732
968
  */
733
- 'skills'?: object | null;
969
+ 'ticker'?: string | null;
734
970
  /**
735
971
  *
736
972
  * @type {string}
737
- * @memberof AgentOutput
973
+ * @memberof AgentResponse
738
974
  */
739
- 'wallet_provider'?: AgentOutputWalletProviderEnum | null;
975
+ 'token_address'?: string | null;
740
976
  /**
741
977
  *
742
978
  * @type {string}
743
- * @memberof AgentOutput
979
+ * @memberof AgentResponse
744
980
  */
745
- 'readonly_wallet_address'?: string | null;
981
+ 'token_pool'?: string | null;
746
982
  /**
747
983
  *
748
984
  * @type {string}
749
- * @memberof AgentOutput
985
+ * @memberof AgentResponse
750
986
  */
751
- 'network_id'?: AgentOutputNetworkIdEnum | null;
987
+ 'fee_percentage'?: string | null;
752
988
  /**
753
989
  *
754
990
  * @type {string}
755
- * @memberof AgentOutput
991
+ * @memberof AgentResponse
756
992
  */
757
- 'cdp_network_id'?: AgentOutputCdpNetworkIdEnum | null;
993
+ 'example_intro'?: string | null;
758
994
  /**
759
995
  *
760
- * @type {boolean}
761
- * @memberof AgentOutput
996
+ * @type {Array<AgentExample>}
997
+ * @memberof AgentResponse
762
998
  */
763
- 'telegram_entrypoint_enabled'?: boolean | null;
999
+ 'examples'?: Array<AgentExample> | null;
764
1000
  /**
765
1001
  *
766
1002
  * @type {string}
767
- * @memberof AgentOutput
1003
+ * @memberof AgentResponse
768
1004
  */
769
- 'telegram_entrypoint_prompt'?: string | null;
1005
+ 'name': string | null;
770
1006
  /**
771
1007
  *
772
- * @type {object}
773
- * @memberof AgentOutput
1008
+ * @type {string}
1009
+ * @memberof AgentResponse
774
1010
  */
775
- 'telegram_config'?: object | null;
1011
+ 'picture'?: string | null;
776
1012
  /**
777
1013
  *
778
1014
  * @type {string}
779
- * @memberof AgentOutput
1015
+ * @memberof AgentResponse
780
1016
  */
781
- 'xmtp_entrypoint_prompt'?: string | null;
1017
+ 'purpose'?: string | null;
782
1018
  /**
783
- * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
1019
+ *
784
1020
  * @type {string}
785
- * @memberof AgentOutput
1021
+ * @memberof AgentResponse
786
1022
  */
787
- 'id'?: string;
1023
+ 'personality'?: string | null;
788
1024
  /**
789
- * Timestamp when the agent was created, will ignore when importing
1025
+ *
790
1026
  * @type {string}
791
- * @memberof AgentOutput
1027
+ * @memberof AgentResponse
792
1028
  */
793
- 'created_at'?: string;
1029
+ 'principles'?: string | null;
794
1030
  /**
795
- * Timestamp when the agent was last updated, will ignore when importing
1031
+ * AI model identifier to be used by this agent for processing requests.
796
1032
  * @type {string}
797
- * @memberof AgentOutput
1033
+ * @memberof AgentResponse
798
1034
  */
799
- 'updated_at'?: string;
800
- }
801
- export declare const AgentOutputModeEnum: {
802
- readonly Public: "public";
803
- readonly Private: "private";
804
- };
805
- export type AgentOutputModeEnum = typeof AgentOutputModeEnum[keyof typeof AgentOutputModeEnum];
806
- export declare const AgentOutputShortTermMemoryStrategyEnum: {
807
- readonly Trim: "trim";
808
- readonly Summarize: "summarize";
809
- };
810
- export type AgentOutputShortTermMemoryStrategyEnum = typeof AgentOutputShortTermMemoryStrategyEnum[keyof typeof AgentOutputShortTermMemoryStrategyEnum];
811
- export declare const AgentOutputWalletProviderEnum: {
812
- readonly Cdp: "cdp";
813
- readonly Readonly: "readonly";
814
- };
815
- export type AgentOutputWalletProviderEnum = typeof AgentOutputWalletProviderEnum[keyof typeof AgentOutputWalletProviderEnum];
816
- export declare const AgentOutputNetworkIdEnum: {
817
- readonly EthereumMainnet: "ethereum-mainnet";
818
- readonly EthereumSepolia: "ethereum-sepolia";
819
- readonly PolygonMainnet: "polygon-mainnet";
820
- readonly PolygonMumbai: "polygon-mumbai";
821
- readonly BaseMainnet: "base-mainnet";
822
- readonly BaseSepolia: "base-sepolia";
823
- readonly ArbitrumMainnet: "arbitrum-mainnet";
824
- readonly ArbitrumSepolia: "arbitrum-sepolia";
825
- readonly OptimismMainnet: "optimism-mainnet";
826
- readonly OptimismSepolia: "optimism-sepolia";
827
- readonly Solana: "solana";
828
- };
829
- export type AgentOutputNetworkIdEnum = typeof AgentOutputNetworkIdEnum[keyof typeof AgentOutputNetworkIdEnum];
830
- export declare const AgentOutputCdpNetworkIdEnum: {
831
- readonly EthereumMainnet: "ethereum-mainnet";
832
- readonly EthereumSepolia: "ethereum-sepolia";
833
- readonly PolygonMainnet: "polygon-mainnet";
834
- readonly PolygonMumbai: "polygon-mumbai";
835
- readonly BaseMainnet: "base-mainnet";
836
- readonly BaseSepolia: "base-sepolia";
837
- readonly ArbitrumMainnet: "arbitrum-mainnet";
838
- readonly ArbitrumSepolia: "arbitrum-sepolia";
839
- readonly OptimismMainnet: "optimism-mainnet";
840
- readonly OptimismSepolia: "optimism-sepolia";
841
- };
842
- export type AgentOutputCdpNetworkIdEnum = typeof AgentOutputCdpNetworkIdEnum[keyof typeof AgentOutputCdpNetworkIdEnum];
843
- /**
844
- * Response model for Agent API.
845
- * @export
846
- * @interface AgentResponse
847
- */
848
- export interface AgentResponse {
1035
+ 'model'?: string;
849
1036
  /**
850
- * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
1037
+ *
851
1038
  * @type {string}
852
1039
  * @memberof AgentResponse
853
1040
  */
854
- 'id': string;
1041
+ 'prompt'?: string | null;
855
1042
  /**
856
- * Timestamp when the agent was created, will ignore when importing
1043
+ *
857
1044
  * @type {string}
858
1045
  * @memberof AgentResponse
859
1046
  */
860
- 'created_at': string;
1047
+ 'prompt_append'?: string | null;
861
1048
  /**
862
- * Timestamp when the agent was last updated, will ignore when importing
863
- * @type {string}
1049
+ *
1050
+ * @type {number}
864
1051
  * @memberof AgentResponse
865
1052
  */
866
- 'updated_at': string;
1053
+ 'temperature'?: number | null;
867
1054
  /**
868
1055
  *
869
- * @type {string}
1056
+ * @type {number}
870
1057
  * @memberof AgentResponse
871
1058
  */
872
- 'name'?: string | null;
1059
+ 'frequency_penalty'?: number | null;
873
1060
  /**
874
1061
  *
875
- * @type {string}
1062
+ * @type {number}
876
1063
  * @memberof AgentResponse
877
1064
  */
878
- 'slug'?: string | null;
1065
+ 'presence_penalty'?: number | null;
879
1066
  /**
880
1067
  *
881
1068
  * @type {string}
882
1069
  * @memberof AgentResponse
883
1070
  */
884
- 'description'?: string | null;
1071
+ 'wallet_provider'?: AgentResponseWalletProviderEnum | null;
885
1072
  /**
886
1073
  *
887
1074
  * @type {string}
888
1075
  * @memberof AgentResponse
889
1076
  */
890
- 'external_website'?: string | null;
1077
+ 'readonly_wallet_address'?: string | null;
891
1078
  /**
892
1079
  *
893
1080
  * @type {string}
894
1081
  * @memberof AgentResponse
895
1082
  */
896
- 'picture'?: string | null;
1083
+ 'network_id'?: AgentResponseNetworkIdEnum | null;
897
1084
  /**
898
1085
  *
899
- * @type {string}
1086
+ * @type {object}
900
1087
  * @memberof AgentResponse
901
1088
  */
902
- 'ticker'?: string | null;
1089
+ 'skills'?: object | null;
903
1090
  /**
904
1091
  *
905
1092
  * @type {string}
906
1093
  * @memberof AgentResponse
907
1094
  */
908
- 'token_address'?: string | null;
1095
+ 'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
909
1096
  /**
910
1097
  *
911
- * @type {string}
1098
+ * @type {Array<AgentAutonomous>}
912
1099
  * @memberof AgentResponse
913
1100
  */
914
- 'token_pool'?: string | null;
1101
+ 'autonomous'?: Array<AgentAutonomous> | null;
915
1102
  /**
916
1103
  *
917
- * @type {string}
1104
+ * @type {boolean}
918
1105
  * @memberof AgentResponse
919
1106
  */
920
- 'mode'?: AgentResponseModeEnum | null;
1107
+ 'telegram_entrypoint_enabled'?: boolean | null;
921
1108
  /**
922
1109
  *
923
1110
  * @type {string}
924
1111
  * @memberof AgentResponse
925
1112
  */
926
- 'fee_percentage'?: string | null;
1113
+ 'telegram_entrypoint_prompt'?: string | null;
1114
+ /**
1115
+ *
1116
+ * @type {object}
1117
+ * @memberof AgentResponse
1118
+ */
1119
+ 'telegram_config'?: object | null;
927
1120
  /**
928
1121
  *
929
1122
  * @type {string}
930
1123
  * @memberof AgentResponse
931
1124
  */
932
- 'owner'?: string | null;
1125
+ 'xmtp_entrypoint_prompt'?: string | null;
933
1126
  /**
934
1127
  *
935
1128
  * @type {string}
@@ -943,142 +1136,162 @@ export interface AgentResponse {
943
1136
  */
944
1137
  'upstream_extra'?: object | null;
945
1138
  /**
946
- * AI model identifier to be used by this agent for processing requests. Available models: gpt-4o, gpt-4o-mini, deepseek-chat, deepseek-reasoner, grok-2, eternalai, reigent
1139
+ * Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
947
1140
  * @type {string}
948
1141
  * @memberof AgentResponse
949
1142
  */
950
- 'model': string;
1143
+ 'id'?: string;
951
1144
  /**
952
1145
  *
953
- * @type {Array<object>}
1146
+ * @type {string}
954
1147
  * @memberof AgentResponse
955
1148
  */
956
- 'autonomous'?: Array<object> | null;
1149
+ 'owner'?: string | null;
957
1150
  /**
958
1151
  *
959
1152
  * @type {string}
960
1153
  * @memberof AgentResponse
961
1154
  */
962
- 'example_intro'?: string | null;
1155
+ 'slug'?: string | null;
963
1156
  /**
964
1157
  *
965
- * @type {Array<AgentExample>}
1158
+ * @type {string}
966
1159
  * @memberof AgentResponse
967
1160
  */
968
- 'examples'?: Array<AgentExample> | null;
1161
+ 'version'?: string | null;
969
1162
  /**
970
1163
  *
971
1164
  * @type {object}
972
1165
  * @memberof AgentResponse
973
1166
  */
974
- 'skills'?: object | null;
1167
+ 'statistics'?: object | null;
975
1168
  /**
976
1169
  *
977
- * @type {string}
1170
+ * @type {object}
978
1171
  * @memberof AgentResponse
979
1172
  */
980
- 'wallet_provider'?: AgentResponseWalletProviderEnum | null;
1173
+ 'assets'?: object | null;
981
1174
  /**
982
1175
  *
983
- * @type {string}
1176
+ * @type {CreditAccount}
984
1177
  * @memberof AgentResponse
985
1178
  */
986
- 'network_id'?: string | null;
1179
+ 'account_snapshot'?: CreditAccount | null;
987
1180
  /**
988
1181
  *
1182
+ * @type {object}
1183
+ * @memberof AgentResponse
1184
+ */
1185
+ 'extra'?: object | null;
1186
+ /**
1187
+ * Timestamp when the agent was created, will ignore when importing
989
1188
  * @type {string}
990
1189
  * @memberof AgentResponse
991
1190
  */
992
- 'cdp_network_id'?: string | null;
1191
+ 'created_at'?: string;
993
1192
  /**
994
- *
995
- * @type {boolean}
1193
+ * Timestamp when the agent was last updated, will ignore when importing
1194
+ * @type {string}
996
1195
  * @memberof AgentResponse
997
1196
  */
998
- 'telegram_entrypoint_enabled'?: boolean | null;
1197
+ 'updated_at'?: string;
999
1198
  /**
1000
1199
  *
1001
1200
  * @type {string}
1002
1201
  * @memberof AgentResponse
1003
1202
  */
1004
- 'cdp_wallet_address': string | null;
1203
+ 'cdp_wallet_address'?: string | null;
1005
1204
  /**
1006
1205
  *
1007
1206
  * @type {string}
1008
1207
  * @memberof AgentResponse
1009
1208
  */
1010
- 'evm_wallet_address': string | null;
1209
+ 'evm_wallet_address'?: string | null;
1011
1210
  /**
1012
1211
  *
1013
1212
  * @type {string}
1014
1213
  * @memberof AgentResponse
1015
1214
  */
1016
- 'solana_wallet_address': string | null;
1215
+ 'solana_wallet_address'?: string | null;
1017
1216
  /**
1018
1217
  * Whether the agent has linked their Twitter account
1019
1218
  * @type {boolean}
1020
1219
  * @memberof AgentResponse
1021
1220
  */
1022
- 'has_twitter_linked': boolean;
1221
+ 'has_twitter_linked'?: boolean;
1023
1222
  /**
1024
1223
  *
1025
1224
  * @type {string}
1026
1225
  * @memberof AgentResponse
1027
1226
  */
1028
- 'linked_twitter_username': string | null;
1227
+ 'linked_twitter_username'?: string | null;
1029
1228
  /**
1030
1229
  *
1031
1230
  * @type {string}
1032
1231
  * @memberof AgentResponse
1033
1232
  */
1034
- 'linked_twitter_name': string | null;
1233
+ 'linked_twitter_name'?: string | null;
1035
1234
  /**
1036
1235
  * Whether the agent has self-keyed their Twitter account
1037
1236
  * @type {boolean}
1038
1237
  * @memberof AgentResponse
1039
1238
  */
1040
- 'has_twitter_self_key': boolean;
1239
+ 'has_twitter_self_key'?: boolean;
1041
1240
  /**
1042
1241
  * Whether the agent has self-keyed their Telegram account
1043
1242
  * @type {boolean}
1044
1243
  * @memberof AgentResponse
1045
1244
  */
1046
- 'has_telegram_self_key': boolean;
1245
+ 'has_telegram_self_key'?: boolean;
1047
1246
  /**
1048
1247
  *
1049
1248
  * @type {string}
1050
1249
  * @memberof AgentResponse
1051
1250
  */
1052
- 'linked_telegram_username': string | null;
1251
+ 'linked_telegram_username'?: string | null;
1053
1252
  /**
1054
1253
  *
1055
1254
  * @type {string}
1056
1255
  * @memberof AgentResponse
1057
1256
  */
1058
- 'linked_telegram_name': string | null;
1257
+ 'linked_telegram_name'?: string | null;
1059
1258
  /**
1060
1259
  * Whether the agent accepts image inputs in public mode
1061
1260
  * @type {boolean}
1062
1261
  * @memberof AgentResponse
1063
1262
  */
1064
- 'accept_image_input': boolean;
1263
+ 'accept_image_input'?: boolean;
1065
1264
  /**
1066
1265
  * Whether the agent accepts image inputs in private mode
1067
1266
  * @type {boolean}
1068
1267
  * @memberof AgentResponse
1069
1268
  */
1070
- 'accept_image_input_private': boolean;
1269
+ 'accept_image_input_private'?: boolean;
1071
1270
  }
1072
- export declare const AgentResponseModeEnum: {
1073
- readonly Public: "public";
1074
- readonly Private: "private";
1075
- };
1076
- export type AgentResponseModeEnum = typeof AgentResponseModeEnum[keyof typeof AgentResponseModeEnum];
1077
1271
  export declare const AgentResponseWalletProviderEnum: {
1078
1272
  readonly Cdp: "cdp";
1079
1273
  readonly Readonly: "readonly";
1080
1274
  };
1081
1275
  export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
1276
+ export declare const AgentResponseNetworkIdEnum: {
1277
+ readonly EthereumMainnet: "ethereum-mainnet";
1278
+ readonly EthereumSepolia: "ethereum-sepolia";
1279
+ readonly PolygonMainnet: "polygon-mainnet";
1280
+ readonly PolygonMumbai: "polygon-mumbai";
1281
+ readonly BaseMainnet: "base-mainnet";
1282
+ readonly BaseSepolia: "base-sepolia";
1283
+ readonly ArbitrumMainnet: "arbitrum-mainnet";
1284
+ readonly ArbitrumSepolia: "arbitrum-sepolia";
1285
+ readonly OptimismMainnet: "optimism-mainnet";
1286
+ readonly OptimismSepolia: "optimism-sepolia";
1287
+ readonly Solana: "solana";
1288
+ };
1289
+ export type AgentResponseNetworkIdEnum = typeof AgentResponseNetworkIdEnum[keyof typeof AgentResponseNetworkIdEnum];
1290
+ export declare const AgentResponseShortTermMemoryStrategyEnum: {
1291
+ readonly Trim: "trim";
1292
+ readonly Summarize: "summarize";
1293
+ };
1294
+ export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
1082
1295
  /**
1083
1296
  * Sort options for agents list.
1084
1297
  * @export
@@ -1204,222 +1417,297 @@ export interface AgentUpdate {
1204
1417
  * @type {string}
1205
1418
  * @memberof AgentUpdate
1206
1419
  */
1207
- 'slug'?: string | null;
1420
+ 'picture'?: string | null;
1208
1421
  /**
1209
1422
  *
1210
1423
  * @type {string}
1211
1424
  * @memberof AgentUpdate
1212
1425
  */
1213
- 'description'?: string | null;
1426
+ 'purpose'?: string | null;
1214
1427
  /**
1215
1428
  *
1216
1429
  * @type {string}
1217
1430
  * @memberof AgentUpdate
1218
1431
  */
1219
- 'external_website'?: string | null;
1432
+ 'personality'?: string | null;
1220
1433
  /**
1221
1434
  *
1222
1435
  * @type {string}
1223
1436
  * @memberof AgentUpdate
1224
1437
  */
1225
- 'picture'?: string | null;
1438
+ 'principles'?: string | null;
1439
+ /**
1440
+ * AI model identifier to be used by this agent for processing requests.
1441
+ * @type {string}
1442
+ * @memberof AgentUpdate
1443
+ */
1444
+ 'model'?: string;
1226
1445
  /**
1227
1446
  *
1228
1447
  * @type {string}
1229
1448
  * @memberof AgentUpdate
1230
1449
  */
1231
- 'ticker'?: string | null;
1450
+ 'prompt'?: string | null;
1232
1451
  /**
1233
1452
  *
1234
1453
  * @type {string}
1235
1454
  * @memberof AgentUpdate
1236
1455
  */
1237
- 'token_address'?: string | null;
1456
+ 'prompt_append'?: string | null;
1457
+ /**
1458
+ *
1459
+ * @type {number}
1460
+ * @memberof AgentUpdate
1461
+ */
1462
+ 'temperature'?: number | null;
1463
+ /**
1464
+ *
1465
+ * @type {number}
1466
+ * @memberof AgentUpdate
1467
+ */
1468
+ 'frequency_penalty'?: number | null;
1469
+ /**
1470
+ *
1471
+ * @type {number}
1472
+ * @memberof AgentUpdate
1473
+ */
1474
+ 'presence_penalty'?: number | null;
1238
1475
  /**
1239
1476
  *
1240
1477
  * @type {string}
1241
1478
  * @memberof AgentUpdate
1242
1479
  */
1243
- 'token_pool'?: string | null;
1480
+ 'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
1481
+ /**
1482
+ *
1483
+ * @type {string}
1484
+ * @memberof AgentUpdate
1485
+ */
1486
+ 'readonly_wallet_address'?: string | null;
1487
+ /**
1488
+ *
1489
+ * @type {string}
1490
+ * @memberof AgentUpdate
1491
+ */
1492
+ 'network_id'?: AgentUpdateNetworkIdEnum | null;
1493
+ /**
1494
+ *
1495
+ * @type {object}
1496
+ * @memberof AgentUpdate
1497
+ */
1498
+ 'skills'?: object | null;
1499
+ /**
1500
+ *
1501
+ * @type {string}
1502
+ * @memberof AgentUpdate
1503
+ */
1504
+ 'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
1505
+ /**
1506
+ *
1507
+ * @type {Array<AgentAutonomous>}
1508
+ * @memberof AgentUpdate
1509
+ */
1510
+ 'autonomous'?: Array<AgentAutonomous> | null;
1511
+ /**
1512
+ *
1513
+ * @type {boolean}
1514
+ * @memberof AgentUpdate
1515
+ */
1516
+ 'telegram_entrypoint_enabled'?: boolean | null;
1517
+ /**
1518
+ *
1519
+ * @type {string}
1520
+ * @memberof AgentUpdate
1521
+ */
1522
+ 'telegram_entrypoint_prompt'?: string | null;
1523
+ /**
1524
+ *
1525
+ * @type {object}
1526
+ * @memberof AgentUpdate
1527
+ */
1528
+ 'telegram_config'?: object | null;
1244
1529
  /**
1245
1530
  *
1246
1531
  * @type {string}
1247
1532
  * @memberof AgentUpdate
1248
1533
  */
1249
- 'mode'?: AgentUpdateModeEnum | null;
1534
+ 'xmtp_entrypoint_prompt'?: string | null;
1250
1535
  /**
1251
1536
  *
1252
- * @type {FeePercentage}
1537
+ * @type {string}
1253
1538
  * @memberof AgentUpdate
1254
1539
  */
1255
- 'fee_percentage'?: FeePercentage | null;
1540
+ 'upstream_id'?: string | null;
1256
1541
  /**
1257
1542
  *
1258
- * @type {string}
1543
+ * @type {object}
1259
1544
  * @memberof AgentUpdate
1260
1545
  */
1261
- 'purpose': string | null;
1546
+ 'upstream_extra'?: object | null;
1547
+ }
1548
+ export declare const AgentUpdateWalletProviderEnum: {
1549
+ readonly Cdp: "cdp";
1550
+ readonly Readonly: "readonly";
1551
+ };
1552
+ export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
1553
+ export declare const AgentUpdateNetworkIdEnum: {
1554
+ readonly EthereumMainnet: "ethereum-mainnet";
1555
+ readonly EthereumSepolia: "ethereum-sepolia";
1556
+ readonly PolygonMainnet: "polygon-mainnet";
1557
+ readonly PolygonMumbai: "polygon-mumbai";
1558
+ readonly BaseMainnet: "base-mainnet";
1559
+ readonly BaseSepolia: "base-sepolia";
1560
+ readonly ArbitrumMainnet: "arbitrum-mainnet";
1561
+ readonly ArbitrumSepolia: "arbitrum-sepolia";
1562
+ readonly OptimismMainnet: "optimism-mainnet";
1563
+ readonly OptimismSepolia: "optimism-sepolia";
1564
+ readonly Solana: "solana";
1565
+ };
1566
+ export type AgentUpdateNetworkIdEnum = typeof AgentUpdateNetworkIdEnum[keyof typeof AgentUpdateNetworkIdEnum];
1567
+ export declare const AgentUpdateShortTermMemoryStrategyEnum: {
1568
+ readonly Trim: "trim";
1569
+ readonly Summarize: "summarize";
1570
+ };
1571
+ export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
1572
+ /**
1573
+ * Agent update model.
1574
+ * @export
1575
+ * @interface AgentUserInput
1576
+ */
1577
+ export interface AgentUserInput {
1262
1578
  /**
1263
1579
  *
1264
1580
  * @type {string}
1265
- * @memberof AgentUpdate
1581
+ * @memberof AgentUserInput
1266
1582
  */
1267
- 'personality': string | null;
1583
+ 'name': string | null;
1268
1584
  /**
1269
1585
  *
1270
1586
  * @type {string}
1271
- * @memberof AgentUpdate
1587
+ * @memberof AgentUserInput
1272
1588
  */
1273
- 'principles': string | null;
1589
+ 'picture'?: string | null;
1274
1590
  /**
1275
1591
  *
1276
1592
  * @type {string}
1277
- * @memberof AgentUpdate
1593
+ * @memberof AgentUserInput
1278
1594
  */
1279
- 'owner'?: string | null;
1595
+ 'purpose'?: string | null;
1280
1596
  /**
1281
1597
  *
1282
1598
  * @type {string}
1283
- * @memberof AgentUpdate
1599
+ * @memberof AgentUserInput
1284
1600
  */
1285
- 'upstream_id'?: string | null;
1601
+ 'personality'?: string | null;
1286
1602
  /**
1287
1603
  *
1288
- * @type {object}
1289
- * @memberof AgentUpdate
1604
+ * @type {string}
1605
+ * @memberof AgentUserInput
1290
1606
  */
1291
- 'upstream_extra'?: object | null;
1607
+ 'principles'?: string | null;
1292
1608
  /**
1293
1609
  * AI model identifier to be used by this agent for processing requests.
1294
1610
  * @type {string}
1295
- * @memberof AgentUpdate
1611
+ * @memberof AgentUserInput
1296
1612
  */
1297
1613
  'model'?: string;
1298
1614
  /**
1299
1615
  *
1300
1616
  * @type {string}
1301
- * @memberof AgentUpdate
1617
+ * @memberof AgentUserInput
1302
1618
  */
1303
1619
  'prompt'?: string | null;
1304
1620
  /**
1305
1621
  *
1306
1622
  * @type {string}
1307
- * @memberof AgentUpdate
1623
+ * @memberof AgentUserInput
1308
1624
  */
1309
1625
  'prompt_append'?: string | null;
1310
1626
  /**
1311
1627
  *
1312
1628
  * @type {number}
1313
- * @memberof AgentUpdate
1629
+ * @memberof AgentUserInput
1314
1630
  */
1315
1631
  'temperature'?: number | null;
1316
1632
  /**
1317
1633
  *
1318
1634
  * @type {number}
1319
- * @memberof AgentUpdate
1635
+ * @memberof AgentUserInput
1320
1636
  */
1321
1637
  'frequency_penalty'?: number | null;
1322
1638
  /**
1323
1639
  *
1324
1640
  * @type {number}
1325
- * @memberof AgentUpdate
1641
+ * @memberof AgentUserInput
1326
1642
  */
1327
1643
  'presence_penalty'?: number | null;
1328
1644
  /**
1329
1645
  *
1330
1646
  * @type {string}
1331
- * @memberof AgentUpdate
1332
- */
1333
- 'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
1334
- /**
1335
- *
1336
- * @type {Array<AgentAutonomous>}
1337
- * @memberof AgentUpdate
1647
+ * @memberof AgentUserInput
1338
1648
  */
1339
- 'autonomous'?: Array<AgentAutonomous> | null;
1649
+ 'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
1340
1650
  /**
1341
1651
  *
1342
1652
  * @type {string}
1343
- * @memberof AgentUpdate
1653
+ * @memberof AgentUserInput
1344
1654
  */
1345
- 'example_intro'?: string | null;
1655
+ 'readonly_wallet_address'?: string | null;
1346
1656
  /**
1347
1657
  *
1348
- * @type {Array<AgentExample>}
1349
- * @memberof AgentUpdate
1658
+ * @type {string}
1659
+ * @memberof AgentUserInput
1350
1660
  */
1351
- 'examples'?: Array<AgentExample> | null;
1661
+ 'network_id'?: AgentUserInputNetworkIdEnum | null;
1352
1662
  /**
1353
1663
  *
1354
1664
  * @type {object}
1355
- * @memberof AgentUpdate
1665
+ * @memberof AgentUserInput
1356
1666
  */
1357
1667
  'skills'?: object | null;
1358
1668
  /**
1359
1669
  *
1360
1670
  * @type {string}
1361
- * @memberof AgentUpdate
1362
- */
1363
- 'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
1364
- /**
1365
- *
1366
- * @type {string}
1367
- * @memberof AgentUpdate
1368
- */
1369
- 'readonly_wallet_address'?: string | null;
1370
- /**
1371
- *
1372
- * @type {string}
1373
- * @memberof AgentUpdate
1671
+ * @memberof AgentUserInput
1374
1672
  */
1375
- 'network_id'?: AgentUpdateNetworkIdEnum | null;
1673
+ 'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
1376
1674
  /**
1377
1675
  *
1378
- * @type {string}
1379
- * @memberof AgentUpdate
1676
+ * @type {Array<AgentAutonomous>}
1677
+ * @memberof AgentUserInput
1380
1678
  */
1381
- 'cdp_network_id'?: AgentUpdateCdpNetworkIdEnum | null;
1679
+ 'autonomous'?: Array<AgentAutonomous> | null;
1382
1680
  /**
1383
1681
  *
1384
1682
  * @type {boolean}
1385
- * @memberof AgentUpdate
1683
+ * @memberof AgentUserInput
1386
1684
  */
1387
1685
  'telegram_entrypoint_enabled'?: boolean | null;
1388
1686
  /**
1389
1687
  *
1390
1688
  * @type {string}
1391
- * @memberof AgentUpdate
1689
+ * @memberof AgentUserInput
1392
1690
  */
1393
1691
  'telegram_entrypoint_prompt'?: string | null;
1394
1692
  /**
1395
1693
  *
1396
1694
  * @type {object}
1397
- * @memberof AgentUpdate
1695
+ * @memberof AgentUserInput
1398
1696
  */
1399
1697
  'telegram_config'?: object | null;
1400
1698
  /**
1401
1699
  *
1402
1700
  * @type {string}
1403
- * @memberof AgentUpdate
1701
+ * @memberof AgentUserInput
1404
1702
  */
1405
1703
  'xmtp_entrypoint_prompt'?: string | null;
1406
1704
  }
1407
- export declare const AgentUpdateModeEnum: {
1408
- readonly Public: "public";
1409
- readonly Private: "private";
1410
- };
1411
- export type AgentUpdateModeEnum = typeof AgentUpdateModeEnum[keyof typeof AgentUpdateModeEnum];
1412
- export declare const AgentUpdateShortTermMemoryStrategyEnum: {
1413
- readonly Trim: "trim";
1414
- readonly Summarize: "summarize";
1415
- };
1416
- export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
1417
- export declare const AgentUpdateWalletProviderEnum: {
1705
+ export declare const AgentUserInputWalletProviderEnum: {
1418
1706
  readonly Cdp: "cdp";
1419
1707
  readonly Readonly: "readonly";
1420
1708
  };
1421
- export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
1422
- export declare const AgentUpdateNetworkIdEnum: {
1709
+ export type AgentUserInputWalletProviderEnum = typeof AgentUserInputWalletProviderEnum[keyof typeof AgentUserInputWalletProviderEnum];
1710
+ export declare const AgentUserInputNetworkIdEnum: {
1423
1711
  readonly EthereumMainnet: "ethereum-mainnet";
1424
1712
  readonly EthereumSepolia: "ethereum-sepolia";
1425
1713
  readonly PolygonMainnet: "polygon-mainnet";
@@ -1432,20 +1720,12 @@ export declare const AgentUpdateNetworkIdEnum: {
1432
1720
  readonly OptimismSepolia: "optimism-sepolia";
1433
1721
  readonly Solana: "solana";
1434
1722
  };
1435
- export type AgentUpdateNetworkIdEnum = typeof AgentUpdateNetworkIdEnum[keyof typeof AgentUpdateNetworkIdEnum];
1436
- export declare const AgentUpdateCdpNetworkIdEnum: {
1437
- readonly EthereumMainnet: "ethereum-mainnet";
1438
- readonly EthereumSepolia: "ethereum-sepolia";
1439
- readonly PolygonMainnet: "polygon-mainnet";
1440
- readonly PolygonMumbai: "polygon-mumbai";
1441
- readonly BaseMainnet: "base-mainnet";
1442
- readonly BaseSepolia: "base-sepolia";
1443
- readonly ArbitrumMainnet: "arbitrum-mainnet";
1444
- readonly ArbitrumSepolia: "arbitrum-sepolia";
1445
- readonly OptimismMainnet: "optimism-mainnet";
1446
- readonly OptimismSepolia: "optimism-sepolia";
1723
+ export type AgentUserInputNetworkIdEnum = typeof AgentUserInputNetworkIdEnum[keyof typeof AgentUserInputNetworkIdEnum];
1724
+ export declare const AgentUserInputShortTermMemoryStrategyEnum: {
1725
+ readonly Trim: "trim";
1726
+ readonly Summarize: "summarize";
1447
1727
  };
1448
- export type AgentUpdateCdpNetworkIdEnum = typeof AgentUpdateCdpNetworkIdEnum[keyof typeof AgentUpdateCdpNetworkIdEnum];
1728
+ export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
1449
1729
  /**
1450
1730
  * Model for individual asset with symbol and balance.
1451
1731
  * @export
@@ -2723,13 +3003,6 @@ export declare const EventType: {
2723
3003
  readonly RechargeBonus: "recharge_bonus";
2724
3004
  };
2725
3005
  export type EventType = typeof EventType[keyof typeof EventType];
2726
- /**
2727
- * Fee percentage of the agent
2728
- * @export
2729
- * @interface FeePercentage
2730
- */
2731
- export interface FeePercentage {
2732
- }
2733
3006
  /**
2734
3007
  * Response model for single generation detail.
2735
3008
  * @export
@@ -3267,15 +3540,6 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
3267
3540
  * @throws {RequiredError}
3268
3541
  */
3269
3542
  resetAgentApiKey: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3270
- /**
3271
- * Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
3272
- * @summary Update Agent
3273
- * @param {string} agentId ID of the agent to update
3274
- * @param {AgentUpdate} [agentUpdate]
3275
- * @param {*} [options] Override http request option.
3276
- * @throws {RequiredError}
3277
- */
3278
- updateAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3279
3543
  /**
3280
3544
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
3281
3545
  * @summary Validate Agent Create
@@ -3322,7 +3586,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3322
3586
  * @param {*} [options] Override http request option.
3323
3587
  * @throws {RequiredError}
3324
3588
  */
3325
- getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
3589
+ getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
3326
3590
  /**
3327
3591
  * Get the API keys for an agent. Returns both private (sk-) and public (pk-) API keys for the agent. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3328
3592
  * @summary Get Agent API Key
@@ -3384,7 +3648,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3384
3648
  * @param {*} [options] Override http request option.
3385
3649
  * @throws {RequiredError}
3386
3650
  */
3387
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
3651
+ overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentResponse>>;
3388
3652
  /**
3389
3653
  * Reset (regenerate) the API keys for an agent. Generates new private (sk-) and public (pk-) API keys for the agent, revoking any existing keys. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - New API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3390
3654
  * @summary Reset Agent API Key
@@ -3393,15 +3657,6 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
3393
3657
  * @throws {RequiredError}
3394
3658
  */
3395
3659
  resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentApiKeyResponse>>;
3396
- /**
3397
- * Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
3398
- * @summary Update Agent
3399
- * @param {string} agentId ID of the agent to update
3400
- * @param {AgentUpdate} [agentUpdate]
3401
- * @param {*} [options] Override http request option.
3402
- * @throws {RequiredError}
3403
- */
3404
- updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
3405
3660
  /**
3406
3661
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
3407
3662
  * @summary Validate Agent Create
@@ -3448,7 +3703,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3448
3703
  * @param {*} [options] Override http request option.
3449
3704
  * @throws {RequiredError}
3450
3705
  */
3451
- getAgent(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<any>;
3706
+ getAgent(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
3452
3707
  /**
3453
3708
  * Get the API keys for an agent. Returns both private (sk-) and public (pk-) API keys for the agent. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3454
3709
  * @summary Get Agent API Key
@@ -3510,7 +3765,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3510
3765
  * @param {*} [options] Override http request option.
3511
3766
  * @throws {RequiredError}
3512
3767
  */
3513
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
3768
+ overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<AgentResponse>;
3514
3769
  /**
3515
3770
  * Reset (regenerate) the API keys for an agent. Generates new private (sk-) and public (pk-) API keys for the agent, revoking any existing keys. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - New API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3516
3771
  * @summary Reset Agent API Key
@@ -3519,15 +3774,6 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
3519
3774
  * @throws {RequiredError}
3520
3775
  */
3521
3776
  resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentApiKeyResponse>;
3522
- /**
3523
- * Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
3524
- * @summary Update Agent
3525
- * @param {string} agentId ID of the agent to update
3526
- * @param {AgentUpdate} [agentUpdate]
3527
- * @param {*} [options] Override http request option.
3528
- * @throws {RequiredError}
3529
- */
3530
- updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
3531
3777
  /**
3532
3778
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
3533
3779
  * @summary Validate Agent Create
@@ -3561,7 +3807,7 @@ export declare class AgentApi extends BaseAPI {
3561
3807
  * @throws {RequiredError}
3562
3808
  * @memberof AgentApi
3563
3809
  */
3564
- createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any>>;
3810
+ createAgent(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
3565
3811
  /**
3566
3812
  * Export agent configuration as YAML. **Path Parameters:** * `agent_id` - ID of the agent to export **Returns:** * `str` - YAML configuration of the agent **Raises:** * `HTTPException`: - 404: Agent not found - 403: Not authorized to access this agent
3567
3813
  * @summary Export Agent
@@ -3570,7 +3816,7 @@ export declare class AgentApi extends BaseAPI {
3570
3816
  * @throws {RequiredError}
3571
3817
  * @memberof AgentApi
3572
3818
  */
3573
- exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3819
+ exportAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
3574
3820
  /**
3575
3821
  * Get a single agent by ID. **Path Parameters:** * `agent_id` - ID of the agent to retrieve **Returns:** * `AgentResponse` - Agent configuration with additional processed data **Raises:** * `HTTPException`: - 404: Agent not found
3576
3822
  * @summary Get Agent
@@ -3579,7 +3825,7 @@ export declare class AgentApi extends BaseAPI {
3579
3825
  * @throws {RequiredError}
3580
3826
  * @memberof AgentApi
3581
3827
  */
3582
- getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3828
+ getAgent(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
3583
3829
  /**
3584
3830
  * Get the API keys for an agent. Returns both private (sk-) and public (pk-) API keys for the agent. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3585
3831
  * @summary Get Agent API Key
@@ -3588,7 +3834,7 @@ export declare class AgentApi extends BaseAPI {
3588
3834
  * @throws {RequiredError}
3589
3835
  * @memberof AgentApi
3590
3836
  */
3591
- getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any>>;
3837
+ getAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
3592
3838
  /**
3593
3839
  * Get the assets and balances for an agent\'s wallet
3594
3840
  * @summary Get Agent Assets
@@ -3597,7 +3843,7 @@ export declare class AgentApi extends BaseAPI {
3597
3843
  * @throws {RequiredError}
3598
3844
  * @memberof AgentApi
3599
3845
  */
3600
- getAgentAssets(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentAssetsResponse, any>>;
3846
+ getAgentAssets(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentAssetsResponse, any, {}>>;
3601
3847
  /**
3602
3848
  * Get statistics for an agent account. This endpoint is not in readonly router, because it may create a new account.
3603
3849
  * @summary Get Agent Statistics
@@ -3606,7 +3852,7 @@ export declare class AgentApi extends BaseAPI {
3606
3852
  * @throws {RequiredError}
3607
3853
  * @memberof AgentApi
3608
3854
  */
3609
- getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any>>;
3855
+ getAgentStatistics(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentStatisticsResponse, any, {}>>;
3610
3856
  /**
3611
3857
  * Get all agents with their quota information. **Query Parameters:** * `sort` - Sort order for the agents list * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of agents with their quota information and additional processed data
3612
3858
  * @summary Get Agents
@@ -3617,7 +3863,7 @@ export declare class AgentApi extends BaseAPI {
3617
3863
  * @throws {RequiredError}
3618
3864
  * @memberof AgentApi
3619
3865
  */
3620
- getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
3866
+ getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
3621
3867
  /**
3622
3868
  * Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
3623
3869
  * @summary Skill History
@@ -3628,7 +3874,7 @@ export declare class AgentApi extends BaseAPI {
3628
3874
  * @throws {RequiredError}
3629
3875
  * @memberof AgentApi
3630
3876
  */
3631
- getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
3877
+ getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
3632
3878
  /**
3633
3879
  * Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
3634
3880
  * @summary Import Agent
@@ -3638,7 +3884,7 @@ export declare class AgentApi extends BaseAPI {
3638
3884
  * @throws {RequiredError}
3639
3885
  * @memberof AgentApi
3640
3886
  */
3641
- importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
3887
+ importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
3642
3888
  /**
3643
3889
  * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
3644
3890
  * @summary Override Agent
@@ -3648,7 +3894,7 @@ export declare class AgentApi extends BaseAPI {
3648
3894
  * @throws {RequiredError}
3649
3895
  * @memberof AgentApi
3650
3896
  */
3651
- overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3897
+ overrideAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentResponse, any, {}>>;
3652
3898
  /**
3653
3899
  * Reset (regenerate) the API keys for an agent. Generates new private (sk-) and public (pk-) API keys for the agent, revoking any existing keys. Private API key can access all skills (public and owner-only). Public API key can only access public skills. **Path Parameters:** * `agent_id` - ID of the agent **Returns:** * `AgentApiKeyResponse` - New API key information including private key, public key, and API documentation URLs **Raises:** * `HTTPException`: - 403: Not authorized to access this agent - 404: Agent not found - 500: Database error
3654
3900
  * @summary Reset Agent API Key
@@ -3657,17 +3903,7 @@ export declare class AgentApi extends BaseAPI {
3657
3903
  * @throws {RequiredError}
3658
3904
  * @memberof AgentApi
3659
3905
  */
3660
- resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any>>;
3661
- /**
3662
- * Update an existing agent. Use input to update agent configuration. If some fields are not provided, they will not be changed. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
3663
- * @summary Update Agent
3664
- * @param {string} agentId ID of the agent to update
3665
- * @param {AgentUpdate} [agentUpdate]
3666
- * @param {*} [options] Override http request option.
3667
- * @throws {RequiredError}
3668
- * @memberof AgentApi
3669
- */
3670
- updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3906
+ resetAgentApiKey(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentApiKeyResponse, any, {}>>;
3671
3907
  /**
3672
3908
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
3673
3909
  * @summary Validate Agent Create
@@ -3676,7 +3912,7 @@ export declare class AgentApi extends BaseAPI {
3676
3912
  * @throws {RequiredError}
3677
3913
  * @memberof AgentApi
3678
3914
  */
3679
- validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3915
+ validateAgentCreate(agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3680
3916
  /**
3681
3917
  * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
3682
3918
  * @summary Validate Agent Update
@@ -3686,7 +3922,7 @@ export declare class AgentApi extends BaseAPI {
3686
3922
  * @throws {RequiredError}
3687
3923
  * @memberof AgentApi
3688
3924
  */
3689
- validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3925
+ validateAgentUpdate(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3690
3926
  }
3691
3927
  /**
3692
3928
  * ChatApi - axios parameter creator
@@ -3997,7 +4233,7 @@ export declare class ChatApi extends BaseAPI {
3997
4233
  * @throws {RequiredError}
3998
4234
  * @memberof ChatApi
3999
4235
  */
4000
- createChatThread(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
4236
+ createChatThread(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
4001
4237
  /**
4002
4238
  * Delete a specific chat thread for the current user and agent. Returns 404 if not found or not owned by the user.
4003
4239
  * @summary Delete a chat thread
@@ -4007,7 +4243,7 @@ export declare class ChatApi extends BaseAPI {
4007
4243
  * @throws {RequiredError}
4008
4244
  * @memberof ChatApi
4009
4245
  */
4010
- deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4246
+ deleteChatThread(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4011
4247
  /**
4012
4248
  * Retrieve a specific chat thread by its ID for the current user and agent. Returns 404 if not found or not owned by the user.
4013
4249
  * @summary Get chat thread by ID
@@ -4017,7 +4253,7 @@ export declare class ChatApi extends BaseAPI {
4017
4253
  * @throws {RequiredError}
4018
4254
  * @memberof ChatApi
4019
4255
  */
4020
- getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
4256
+ getChatThreadById(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
4021
4257
  /**
4022
4258
  * Retrieve a specific chat message by its ID for the current user. Returns 404 if not found or not owned by the user.
4023
4259
  * @summary Get message by ID
@@ -4026,7 +4262,7 @@ export declare class ChatApi extends BaseAPI {
4026
4262
  * @throws {RequiredError}
4027
4263
  * @memberof ChatApi
4028
4264
  */
4029
- getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
4265
+ getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any, {}>>;
4030
4266
  /**
4031
4267
  * Get skill messages for a specific agent with cursor-based pagination. **Path Parameters:** * `aid` - Agent ID **Query Parameters:** * `cursor` - Optional cursor for pagination based on message ID * `limit` - Maximum number of messages to return (1-100, default: 20) **Returns:** * `ChatMessagesResponse` - Paginated list of skill messages with metadata **Raises:** * `404` - Agent not found
4032
4268
  * @summary Skill History
@@ -4037,7 +4273,7 @@ export declare class ChatApi extends BaseAPI {
4037
4273
  * @throws {RequiredError}
4038
4274
  * @memberof ChatApi
4039
4275
  */
4040
- getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
4276
+ getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
4041
4277
  /**
4042
4278
  * Retrieve all chat threads associated with a specific agent for the current user.
4043
4279
  * @summary List chat threads for an agent
@@ -4046,7 +4282,7 @@ export declare class ChatApi extends BaseAPI {
4046
4282
  * @throws {RequiredError}
4047
4283
  * @memberof ChatApi
4048
4284
  */
4049
- listChatsForAgent(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat[], any>>;
4285
+ listChatsForAgent(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat[], any, {}>>;
4050
4286
  /**
4051
4287
  * Retrieve the message history for a specific chat thread with cursor-based pagination.
4052
4288
  * @summary List messages in a chat thread
@@ -4058,7 +4294,7 @@ export declare class ChatApi extends BaseAPI {
4058
4294
  * @throws {RequiredError}
4059
4295
  * @memberof ChatApi
4060
4296
  */
4061
- listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any>>;
4297
+ listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessagesResponse, any, {}>>;
4062
4298
  /**
4063
4299
  * Retry sending the last message in a specific chat thread. If the last message is from an agent/system, returns all messages after the last user message. If the last message is from a user, generates a new agent response. Only works with non-streaming mode.
4064
4300
  * @summary Retry a message in a chat thread
@@ -4068,7 +4304,7 @@ export declare class ChatApi extends BaseAPI {
4068
4304
  * @throws {RequiredError}
4069
4305
  * @memberof ChatApi
4070
4306
  */
4071
- retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any>>;
4307
+ retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
4072
4308
  /**
4073
4309
  * Send a new message to a specific chat thread. The response is a list of messages generated by the agent. The response does not include the original user message. It could be skill calls, agent messages, or system error messages. If the stream mode is requested, the response will be a Server-Sent Events (SSE) stream with event type \'message\'.
4074
4310
  * @summary Send a message to a chat thread
@@ -4079,7 +4315,7 @@ export declare class ChatApi extends BaseAPI {
4079
4315
  * @throws {RequiredError}
4080
4316
  * @memberof ChatApi
4081
4317
  */
4082
- sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any>>;
4318
+ sendMessageToChat(aid: string, chatId: string, chatMessageRequest: ChatMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
4083
4319
  /**
4084
4320
  * Update details of a specific chat thread. Currently only supports updating the summary.
4085
4321
  * @summary Update a chat thread
@@ -4090,7 +4326,7 @@ export declare class ChatApi extends BaseAPI {
4090
4326
  * @throws {RequiredError}
4091
4327
  * @memberof ChatApi
4092
4328
  */
4093
- updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any>>;
4329
+ updateChatThread(aid: string, chatId: string, chatUpdateRequest: ChatUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Chat, any, {}>>;
4094
4330
  }
4095
4331
  /**
4096
4332
  * CreditApi - axios parameter creator
@@ -4266,7 +4502,7 @@ export declare class CreditApi extends BaseAPI {
4266
4502
  * @throws {RequiredError}
4267
4503
  * @memberof CreditApi
4268
4504
  */
4269
- fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEvent, any>>;
4505
+ fetchCreditEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEvent, any, {}>>;
4270
4506
  /**
4271
4507
  * Get or create a user\'s credit account. This endpoint will create a new account if it does not exist. Not in the readonly router because it may create a new account.
4272
4508
  * @summary Get User Account
@@ -4274,7 +4510,7 @@ export declare class CreditApi extends BaseAPI {
4274
4510
  * @throws {RequiredError}
4275
4511
  * @memberof CreditApi
4276
4512
  */
4277
- getUserAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditAccount, any>>;
4513
+ getUserAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditAccount, any, {}>>;
4278
4514
  /**
4279
4515
  * List all income events for an agent account, with authorization check. Returns a paginated list of income events for the specified agent, only if the agent belongs to the user.
4280
4516
  * @summary List Agent Income
@@ -4285,7 +4521,7 @@ export declare class CreditApi extends BaseAPI {
4285
4521
  * @throws {RequiredError}
4286
4522
  * @memberof CreditApi
4287
4523
  */
4288
- listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any>>;
4524
+ listAgentIncomeEvents(agentId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
4289
4525
  /**
4290
4526
  * List all credit events for a user account, with optional filtering by event types and direction. Returns a paginated list of events for the user.
4291
4527
  * @summary List User Events
@@ -4297,7 +4533,7 @@ export declare class CreditApi extends BaseAPI {
4297
4533
  * @throws {RequiredError}
4298
4534
  * @memberof CreditApi
4299
4535
  */
4300
- listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any>>;
4536
+ listUserEvents(eventType?: Array<EventType> | null, direction?: Direction | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditEventsResponse, any, {}>>;
4301
4537
  /**
4302
4538
  * List credit transactions for a user account, with optional filtering by transaction type and credit/debit. Returns a paginated list of transactions, each with optional associated event data.
4303
4539
  * @summary List User Transactions
@@ -4309,7 +4545,206 @@ export declare class CreditApi extends BaseAPI {
4309
4545
  * @throws {RequiredError}
4310
4546
  * @memberof CreditApi
4311
4547
  */
4312
- listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditTransactionsResponse, any>>;
4548
+ listUserTransactions(txType?: Array<TransactionType> | null, creditDebit?: CreditDebit | null, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreditTransactionsResponse, any, {}>>;
4549
+ }
4550
+ /**
4551
+ * DraftApi - axios parameter creator
4552
+ * @export
4553
+ */
4554
+ export declare const DraftApiAxiosParamCreator: (configuration?: Configuration) => {
4555
+ /**
4556
+ * Create a new agent draft. Creates a new draft with the provided agent configuration. The draft will be assigned a unique ID and agent ID, with the current user as the owner. The version is calculated as a hash of the input configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 500: Internal server error
4557
+ * @summary Create Agent Draft
4558
+ * @param {AgentUserInput} agentUserInput
4559
+ * @param {*} [options] Override http request option.
4560
+ * @throws {RequiredError}
4561
+ */
4562
+ createAgentDraft: (agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4563
+ /**
4564
+ * Get a specific draft by ID. Retrieves a specific draft for the given agent and draft ID. This endpoint is useful for viewing detailed information about a particular draft version. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found or user doesn\'t have access to this draft - 500: Internal server error
4565
+ * @summary Get Agent Draft By Id
4566
+ * @param {string} agentId Agent ID
4567
+ * @param {string} draftId Draft ID
4568
+ * @param {*} [options] Override http request option.
4569
+ * @throws {RequiredError}
4570
+ */
4571
+ getAgentDraftById: (agentId: string, draftId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4572
+ /**
4573
+ * Get drafts for an agent. Retrieves the latest 10 drafts for the specified agent, ordered by creation time (most recent first). This endpoint is useful for viewing draft history and finding rollback targets. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4574
+ * @summary Get Agent Drafts
4575
+ * @param {string} agentId Agent ID
4576
+ * @param {*} [options] Override http request option.
4577
+ * @throws {RequiredError}
4578
+ */
4579
+ getAgentDrafts: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4580
+ /**
4581
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4582
+ * @summary Get Agent Latest Draft
4583
+ * @param {string} agentId Agent ID
4584
+ * @param {*} [options] Override http request option.
4585
+ * @throws {RequiredError}
4586
+ */
4587
+ getAgentLatestDraft: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4588
+ /**
4589
+ * 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
4590
+ * @summary Update Agent Draft
4591
+ * @param {string} agentId Agent ID
4592
+ * @param {AgentUserInput} agentUserInput
4593
+ * @param {*} [options] Override http request option.
4594
+ * @throws {RequiredError}
4595
+ */
4596
+ updateAgentDraft: (agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4597
+ };
4598
+ /**
4599
+ * DraftApi - functional programming interface
4600
+ * @export
4601
+ */
4602
+ export declare const DraftApiFp: (configuration?: Configuration) => {
4603
+ /**
4604
+ * Create a new agent draft. Creates a new draft with the provided agent configuration. The draft will be assigned a unique ID and agent ID, with the current user as the owner. The version is calculated as a hash of the input configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 500: Internal server error
4605
+ * @summary Create Agent Draft
4606
+ * @param {AgentUserInput} agentUserInput
4607
+ * @param {*} [options] Override http request option.
4608
+ * @throws {RequiredError}
4609
+ */
4610
+ createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentDraft>>;
4611
+ /**
4612
+ * Get a specific draft by ID. Retrieves a specific draft for the given agent and draft ID. This endpoint is useful for viewing detailed information about a particular draft version. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found or user doesn\'t have access to this draft - 500: Internal server error
4613
+ * @summary Get Agent Draft By Id
4614
+ * @param {string} agentId Agent ID
4615
+ * @param {string} draftId Draft ID
4616
+ * @param {*} [options] Override http request option.
4617
+ * @throws {RequiredError}
4618
+ */
4619
+ getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentDraft>>;
4620
+ /**
4621
+ * Get drafts for an agent. Retrieves the latest 10 drafts for the specified agent, ordered by creation time (most recent first). This endpoint is useful for viewing draft history and finding rollback targets. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4622
+ * @summary Get Agent Drafts
4623
+ * @param {string} agentId Agent ID
4624
+ * @param {*} [options] Override http request option.
4625
+ * @throws {RequiredError}
4626
+ */
4627
+ getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AgentDraft>>>;
4628
+ /**
4629
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4630
+ * @summary Get Agent Latest Draft
4631
+ * @param {string} agentId Agent ID
4632
+ * @param {*} [options] Override http request option.
4633
+ * @throws {RequiredError}
4634
+ */
4635
+ getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentDraft>>;
4636
+ /**
4637
+ * 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
4638
+ * @summary Update Agent Draft
4639
+ * @param {string} agentId Agent ID
4640
+ * @param {AgentUserInput} agentUserInput
4641
+ * @param {*} [options] Override http request option.
4642
+ * @throws {RequiredError}
4643
+ */
4644
+ updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentDraft>>;
4645
+ };
4646
+ /**
4647
+ * DraftApi - factory interface
4648
+ * @export
4649
+ */
4650
+ export declare const DraftApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4651
+ /**
4652
+ * Create a new agent draft. Creates a new draft with the provided agent configuration. The draft will be assigned a unique ID and agent ID, with the current user as the owner. The version is calculated as a hash of the input configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 500: Internal server error
4653
+ * @summary Create Agent Draft
4654
+ * @param {AgentUserInput} agentUserInput
4655
+ * @param {*} [options] Override http request option.
4656
+ * @throws {RequiredError}
4657
+ */
4658
+ createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): AxiosPromise<AgentDraft>;
4659
+ /**
4660
+ * Get a specific draft by ID. Retrieves a specific draft for the given agent and draft ID. This endpoint is useful for viewing detailed information about a particular draft version. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found or user doesn\'t have access to this draft - 500: Internal server error
4661
+ * @summary Get Agent Draft By Id
4662
+ * @param {string} agentId Agent ID
4663
+ * @param {string} draftId Draft ID
4664
+ * @param {*} [options] Override http request option.
4665
+ * @throws {RequiredError}
4666
+ */
4667
+ getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentDraft>;
4668
+ /**
4669
+ * Get drafts for an agent. Retrieves the latest 10 drafts for the specified agent, ordered by creation time (most recent first). This endpoint is useful for viewing draft history and finding rollback targets. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4670
+ * @summary Get Agent Drafts
4671
+ * @param {string} agentId Agent ID
4672
+ * @param {*} [options] Override http request option.
4673
+ * @throws {RequiredError}
4674
+ */
4675
+ getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<AgentDraft>>;
4676
+ /**
4677
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4678
+ * @summary Get Agent Latest Draft
4679
+ * @param {string} agentId Agent ID
4680
+ * @param {*} [options] Override http request option.
4681
+ * @throws {RequiredError}
4682
+ */
4683
+ getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentDraft>;
4684
+ /**
4685
+ * 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
4686
+ * @summary Update Agent Draft
4687
+ * @param {string} agentId Agent ID
4688
+ * @param {AgentUserInput} agentUserInput
4689
+ * @param {*} [options] Override http request option.
4690
+ * @throws {RequiredError}
4691
+ */
4692
+ updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): AxiosPromise<AgentDraft>;
4693
+ };
4694
+ /**
4695
+ * DraftApi - object-oriented interface
4696
+ * @export
4697
+ * @class DraftApi
4698
+ * @extends {BaseAPI}
4699
+ */
4700
+ export declare class DraftApi extends BaseAPI {
4701
+ /**
4702
+ * Create a new agent draft. Creates a new draft with the provided agent configuration. The draft will be assigned a unique ID and agent ID, with the current user as the owner. The version is calculated as a hash of the input configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 500: Internal server error
4703
+ * @summary Create Agent Draft
4704
+ * @param {AgentUserInput} agentUserInput
4705
+ * @param {*} [options] Override http request option.
4706
+ * @throws {RequiredError}
4707
+ * @memberof DraftApi
4708
+ */
4709
+ createAgentDraft(agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
4710
+ /**
4711
+ * Get a specific draft by ID. Retrieves a specific draft for the given agent and draft ID. This endpoint is useful for viewing detailed information about a particular draft version. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found or user doesn\'t have access to this draft - 500: Internal server error
4712
+ * @summary Get Agent Draft By Id
4713
+ * @param {string} agentId Agent ID
4714
+ * @param {string} draftId Draft ID
4715
+ * @param {*} [options] Override http request option.
4716
+ * @throws {RequiredError}
4717
+ * @memberof DraftApi
4718
+ */
4719
+ getAgentDraftById(agentId: string, draftId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
4720
+ /**
4721
+ * Get drafts for an agent. Retrieves the latest 10 drafts for the specified agent, ordered by creation time (most recent first). This endpoint is useful for viewing draft history and finding rollback targets. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4722
+ * @summary Get Agent Drafts
4723
+ * @param {string} agentId Agent ID
4724
+ * @param {*} [options] Override http request option.
4725
+ * @throws {RequiredError}
4726
+ * @memberof DraftApi
4727
+ */
4728
+ getAgentDrafts(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft[], any, {}>>;
4729
+ /**
4730
+ * Get the latest draft for an agent. Retrieves the most recent draft for the specified agent. The draft is ordered by creation time, with the most recent draft returned. Possible HTTP errors: - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
4731
+ * @summary Get Agent Latest Draft
4732
+ * @param {string} agentId Agent ID
4733
+ * @param {*} [options] Override http request option.
4734
+ * @throws {RequiredError}
4735
+ * @memberof DraftApi
4736
+ */
4737
+ getAgentLatestDraft(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
4738
+ /**
4739
+ * 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
4740
+ * @summary Update Agent Draft
4741
+ * @param {string} agentId Agent ID
4742
+ * @param {AgentUserInput} agentUserInput
4743
+ * @param {*} [options] Override http request option.
4744
+ * @throws {RequiredError}
4745
+ * @memberof DraftApi
4746
+ */
4747
+ updateAgentDraft(agentId: string, agentUserInput: AgentUserInput, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentDraft, any, {}>>;
4313
4748
  }
4314
4749
  /**
4315
4750
  * GeneratorApi - axios parameter creator
@@ -4416,7 +4851,7 @@ export declare class GeneratorApi extends BaseAPI {
4416
4851
  * @throws {RequiredError}
4417
4852
  * @memberof GeneratorApi
4418
4853
  */
4419
- generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any>>;
4854
+ generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any, {}>>;
4420
4855
  /**
4421
4856
  * Get specific project conversation history. **Path Parameters:** * `project_id` - Project ID to get conversation history for **Query Parameters:** * `user_id` - Optional user ID for access validation **Returns:** * `GenerationDetailResponse` - Contains full conversation history for the project **Raises:** * `HTTPException`: - 404: Project not found or access denied - 500: Failed to retrieve generation detail
4422
4857
  * @summary Get Generation Detail by Project ID
@@ -4425,7 +4860,7 @@ export declare class GeneratorApi extends BaseAPI {
4425
4860
  * @throws {RequiredError}
4426
4861
  * @memberof GeneratorApi
4427
4862
  */
4428
- getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any>>;
4863
+ getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any, {}>>;
4429
4864
  /**
4430
4865
  * Get all projects/generations for a user. **Query Parameters:** * `user_id` - Optional user ID to filter projects * `limit` - Maximum number of recent projects to return (default: 50, max: 100) **Returns:** * `GenerationsListResponse` - Contains list of projects with their conversation history **Raises:** * `HTTPException`: - 400: Invalid parameters - 500: Failed to retrieve generations
4431
4866
  * @summary Get Generations List by User
@@ -4434,7 +4869,7 @@ export declare class GeneratorApi extends BaseAPI {
4434
4869
  * @throws {RequiredError}
4435
4870
  * @memberof GeneratorApi
4436
4871
  */
4437
- getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any>>;
4872
+ getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any, {}>>;
4438
4873
  }
4439
4874
  /**
4440
4875
  * HealthApi - axios parameter creator
@@ -4489,7 +4924,7 @@ export declare class HealthApi extends BaseAPI {
4489
4924
  * @throws {RequiredError}
4490
4925
  * @memberof HealthApi
4491
4926
  */
4492
- healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
4927
+ healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
4493
4928
  }
4494
4929
  /**
4495
4930
  * MetadataApi - axios parameter creator
@@ -4640,7 +5075,7 @@ export declare class MetadataApi extends BaseAPI {
4640
5075
  * @throws {RequiredError}
4641
5076
  * @memberof MetadataApi
4642
5077
  */
4643
- getAgentSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
5078
+ getAgentSchema(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
4644
5079
  /**
4645
5080
  * Returns a list of all available LLM models in the system
4646
5081
  * @summary Get all LLM models
@@ -4648,7 +5083,7 @@ export declare class MetadataApi extends BaseAPI {
4648
5083
  * @throws {RequiredError}
4649
5084
  * @memberof MetadataApi
4650
5085
  */
4651
- getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any>>;
5086
+ getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any, {}>>;
4652
5087
  /**
4653
5088
  * Get the icon for a specific skill
4654
5089
  * @summary Get skill icon
@@ -4659,7 +5094,7 @@ export declare class MetadataApi extends BaseAPI {
4659
5094
  * @throws {RequiredError}
4660
5095
  * @memberof MetadataApi
4661
5096
  */
4662
- getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
5097
+ getSkillIcon(skill: string, iconName: string, ext: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
4663
5098
  /**
4664
5099
  * Get the JSON schema for a specific skill
4665
5100
  * @summary Get skill schema
@@ -4668,7 +5103,7 @@ export declare class MetadataApi extends BaseAPI {
4668
5103
  * @throws {RequiredError}
4669
5104
  * @memberof MetadataApi
4670
5105
  */
4671
- getSkillSchema(skill: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
5106
+ getSkillSchema(skill: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
4672
5107
  /**
4673
5108
  * Returns a list of all available skills in the system
4674
5109
  * @summary Get all skills
@@ -4676,7 +5111,7 @@ export declare class MetadataApi extends BaseAPI {
4676
5111
  * @throws {RequiredError}
4677
5112
  * @memberof MetadataApi
4678
5113
  */
4679
- getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any>>;
5114
+ getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any, {}>>;
4680
5115
  }
4681
5116
  /**
4682
5117
  * OAuthApi - axios parameter creator
@@ -4793,7 +5228,7 @@ export declare class OAuthApi extends BaseAPI {
4793
5228
  * @throws {RequiredError}
4794
5229
  * @memberof OAuthApi
4795
5230
  */
4796
- getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any>>;
5231
+ getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any, {}>>;
4797
5232
  /**
4798
5233
  * Handle Twitter OAuth2 callback. This endpoint is called by Twitter after the user authorizes the application. It exchanges the authorization code for access and refresh tokens, then stores them in the database. **Query Parameters:** * `state` - URL-encoded state containing agent_id and redirect_uri * `code` - Authorization code from Twitter * `error` - Error message from Twitter (optional) **Returns:** * JSONResponse or RedirectResponse depending on redirect_uri
4799
5234
  * @summary Twitter Oauth Callback
@@ -4804,7 +5239,7 @@ export declare class OAuthApi extends BaseAPI {
4804
5239
  * @throws {RequiredError}
4805
5240
  * @memberof OAuthApi
4806
5241
  */
4807
- twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
5242
+ twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any, {}>>;
4808
5243
  /**
4809
5244
  * Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
4810
5245
  * @summary Unlink Twitter Endpoint
@@ -4813,7 +5248,7 @@ export declare class OAuthApi extends BaseAPI {
4813
5248
  * @throws {RequiredError}
4814
5249
  * @memberof OAuthApi
4815
5250
  */
4816
- unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
5251
+ unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4817
5252
  }
4818
5253
  /**
4819
5254
  * UserApi - axios parameter creator
@@ -4850,7 +5285,7 @@ export declare const UserApiFp: (configuration?: Configuration) => {
4850
5285
  * @param {*} [options] Override http request option.
4851
5286
  * @throws {RequiredError}
4852
5287
  */
4853
- getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentOutput>>;
5288
+ getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Agent>>;
4854
5289
  /**
4855
5290
  * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4856
5291
  * @summary Get User Agents
@@ -4873,7 +5308,7 @@ export declare const UserApiFactory: (configuration?: Configuration, basePath?:
4873
5308
  * @param {*} [options] Override http request option.
4874
5309
  * @throws {RequiredError}
4875
5310
  */
4876
- getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<AgentOutput>;
5311
+ getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<Agent>;
4877
5312
  /**
4878
5313
  * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4879
5314
  * @summary Get User Agents
@@ -4899,7 +5334,7 @@ export declare class UserApi extends BaseAPI {
4899
5334
  * @throws {RequiredError}
4900
5335
  * @memberof UserApi
4901
5336
  */
4902
- getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentOutput, any>>;
5337
+ getUserAgentById(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Agent, any, {}>>;
4903
5338
  /**
4904
5339
  * Get all agents owned by the authenticated user. **Query Parameters:** * `cursor` - Cursor for pagination * `limit` - Maximum number of agents to return (1-100) **Returns:** * `AgentListResponse` - Paginated list of user\'s agents with their quota information and additional processed data
4905
5340
  * @summary Get User Agents
@@ -4909,5 +5344,5 @@ export declare class UserApi extends BaseAPI {
4909
5344
  * @throws {RequiredError}
4910
5345
  * @memberof UserApi
4911
5346
  */
4912
- getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
5347
+ getUserAgents(cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any, {}>>;
4913
5348
  }