@thirdweb-dev/nebula 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +46 -0
  3. package/dist/cjs/client/client.gen.js +9 -0
  4. package/dist/cjs/client/client.gen.js.map +1 -0
  5. package/dist/cjs/client/index.js +7 -0
  6. package/dist/cjs/client/index.js.map +1 -0
  7. package/dist/cjs/client/sdk.gen.js +811 -0
  8. package/dist/cjs/client/sdk.gen.js.map +1 -0
  9. package/dist/cjs/client/types.gen.js +4 -0
  10. package/dist/cjs/client/types.gen.js.map +1 -0
  11. package/dist/cjs/configure.js +57 -0
  12. package/dist/cjs/configure.js.map +1 -0
  13. package/dist/cjs/exports/thirdweb.js +10 -0
  14. package/dist/cjs/exports/thirdweb.js.map +1 -0
  15. package/dist/cjs/package.json +1 -0
  16. package/dist/esm/client/client.gen.js +6 -0
  17. package/dist/esm/client/client.gen.js.map +1 -0
  18. package/dist/esm/client/index.js +4 -0
  19. package/dist/esm/client/index.js.map +1 -0
  20. package/dist/esm/client/sdk.gen.js +765 -0
  21. package/dist/esm/client/sdk.gen.js.map +1 -0
  22. package/dist/esm/client/types.gen.js +3 -0
  23. package/dist/esm/client/types.gen.js.map +1 -0
  24. package/dist/esm/configure.js +52 -0
  25. package/dist/esm/configure.js.map +1 -0
  26. package/dist/esm/exports/thirdweb.js +3 -0
  27. package/dist/esm/exports/thirdweb.js.map +1 -0
  28. package/dist/esm/package.json +1 -0
  29. package/dist/types/client/client.gen.d.ts +13 -0
  30. package/dist/types/client/client.gen.d.ts.map +1 -0
  31. package/dist/types/client/index.d.ts +3 -0
  32. package/dist/types/client/index.d.ts.map +1 -0
  33. package/dist/types/client/sdk.gen.d.ts +225 -0
  34. package/dist/types/client/sdk.gen.d.ts.map +1 -0
  35. package/dist/types/client/types.gen.d.ts +3803 -0
  36. package/dist/types/client/types.gen.d.ts.map +1 -0
  37. package/dist/types/configure.d.ts +13 -0
  38. package/dist/types/configure.d.ts.map +1 -0
  39. package/dist/types/exports/thirdweb.d.ts +4 -0
  40. package/dist/types/exports/thirdweb.d.ts.map +1 -0
  41. package/package.json +62 -0
  42. package/src/client/client.gen.ts +28 -0
  43. package/src/client/index.ts +4 -0
  44. package/src/client/sdk.gen.ts +1213 -0
  45. package/src/client/types.gen.ts +4270 -0
  46. package/src/configure.ts +76 -0
  47. package/src/exports/thirdweb.ts +8 -0
@@ -0,0 +1,3803 @@
1
+ /**
2
+ * AbiDocFormatted
3
+ */
4
+ export type AbiDocFormatted = {
5
+ /**
6
+ * Abi
7
+ */
8
+ abi: {
9
+ [key: string]: unknown;
10
+ };
11
+ /**
12
+ * Abi Inputs Parameters Description
13
+ */
14
+ abi_inputs_parameters_description: {
15
+ [key: string]: string;
16
+ } | null;
17
+ /**
18
+ * Abi Inputs Description
19
+ */
20
+ abi_inputs_description: string | null;
21
+ /**
22
+ * Abi Outputs Parameters Description
23
+ */
24
+ abi_outputs_parameters_description: {
25
+ [key: string]: string;
26
+ } | null;
27
+ /**
28
+ * Function Description
29
+ */
30
+ function_description: string | null;
31
+ /**
32
+ * Function Signature
33
+ */
34
+ function_signature: string;
35
+ /**
36
+ * Full Signature
37
+ */
38
+ full_signature: string;
39
+ };
40
+ /**
41
+ * AgentActionContext
42
+ */
43
+ export type AgentActionContext = {
44
+ /**
45
+ * Type
46
+ */
47
+ type?: "context";
48
+ /**
49
+ * Session Id
50
+ */
51
+ session_id: string;
52
+ /**
53
+ * Request Id
54
+ */
55
+ request_id: string;
56
+ /**
57
+ * Source
58
+ */
59
+ source?: string;
60
+ /**
61
+ * Tool Name
62
+ */
63
+ tool_name?: string | null;
64
+ /**
65
+ * Description
66
+ */
67
+ description?: string | null;
68
+ /**
69
+ * Kwargs
70
+ */
71
+ kwargs?: {
72
+ [key: string]: unknown;
73
+ } | null;
74
+ /**
75
+ * Data
76
+ */
77
+ data: CompletionContextOutput | string;
78
+ };
79
+ /**
80
+ * AgentActionEval
81
+ */
82
+ export type AgentActionEval = {
83
+ /**
84
+ * Type
85
+ */
86
+ type?: "eval";
87
+ /**
88
+ * Session Id
89
+ */
90
+ session_id: string;
91
+ /**
92
+ * Request Id
93
+ */
94
+ request_id: string;
95
+ /**
96
+ * Source
97
+ */
98
+ source?: string;
99
+ /**
100
+ * Tool Name
101
+ */
102
+ tool_name?: string | null;
103
+ /**
104
+ * Description
105
+ */
106
+ description?: string | null;
107
+ /**
108
+ * Kwargs
109
+ */
110
+ kwargs?: {
111
+ [key: string]: unknown;
112
+ } | null;
113
+ /**
114
+ * Data
115
+ */
116
+ data: string;
117
+ };
118
+ /**
119
+ * AgentActionExecution
120
+ */
121
+ export type AgentActionExecution = {
122
+ /**
123
+ * Type
124
+ */
125
+ type?: "execution";
126
+ /**
127
+ * Session Id
128
+ */
129
+ session_id: string;
130
+ /**
131
+ * Request Id
132
+ */
133
+ request_id: string;
134
+ /**
135
+ * Source
136
+ */
137
+ source?: string;
138
+ /**
139
+ * Tool Name
140
+ */
141
+ tool_name?: string | null;
142
+ /**
143
+ * Description
144
+ */
145
+ description?: string | null;
146
+ /**
147
+ * Kwargs
148
+ */
149
+ kwargs?: {
150
+ [key: string]: unknown;
151
+ } | null;
152
+ data: AgentTransactionExecution;
153
+ };
154
+ /**
155
+ * AgentActionImage
156
+ */
157
+ export type AgentActionImage = {
158
+ /**
159
+ * Type
160
+ */
161
+ type?: "image";
162
+ /**
163
+ * Session Id
164
+ */
165
+ session_id: string;
166
+ /**
167
+ * Request Id
168
+ */
169
+ request_id: string;
170
+ /**
171
+ * Source
172
+ */
173
+ source?: string;
174
+ /**
175
+ * Tool Name
176
+ */
177
+ tool_name?: string | null;
178
+ /**
179
+ * Description
180
+ */
181
+ description?: string | null;
182
+ /**
183
+ * Kwargs
184
+ */
185
+ kwargs?: {
186
+ [key: string]: unknown;
187
+ } | null;
188
+ data: AgentActionImageData;
189
+ };
190
+ /**
191
+ * AgentActionImageData
192
+ */
193
+ export type AgentActionImageData = {
194
+ /**
195
+ * Url
196
+ */
197
+ url: string;
198
+ /**
199
+ * Width
200
+ */
201
+ width: number;
202
+ /**
203
+ * Height
204
+ */
205
+ height: number;
206
+ };
207
+ /**
208
+ * AgentActionInit
209
+ */
210
+ export type AgentActionInit = {
211
+ /**
212
+ * Type
213
+ */
214
+ type?: "init";
215
+ /**
216
+ * Session Id
217
+ */
218
+ session_id: string;
219
+ /**
220
+ * Request Id
221
+ */
222
+ request_id: string;
223
+ /**
224
+ * Source
225
+ */
226
+ source?: string;
227
+ /**
228
+ * Tool Name
229
+ */
230
+ tool_name?: string | null;
231
+ /**
232
+ * Description
233
+ */
234
+ description?: string | null;
235
+ /**
236
+ * Kwargs
237
+ */
238
+ kwargs?: {
239
+ [key: string]: unknown;
240
+ } | null;
241
+ /**
242
+ * Data
243
+ */
244
+ data?: null;
245
+ };
246
+ /**
247
+ * AgentActionPresence
248
+ */
249
+ export type AgentActionPresence = {
250
+ /**
251
+ * Type
252
+ */
253
+ type?: "presence";
254
+ /**
255
+ * Session Id
256
+ */
257
+ session_id: string;
258
+ /**
259
+ * Request Id
260
+ */
261
+ request_id: string;
262
+ /**
263
+ * Source
264
+ */
265
+ source?: string;
266
+ /**
267
+ * Tool Name
268
+ */
269
+ tool_name?: string | null;
270
+ /**
271
+ * Description
272
+ */
273
+ description?: string | null;
274
+ /**
275
+ * Kwargs
276
+ */
277
+ kwargs?: {
278
+ [key: string]: unknown;
279
+ } | null;
280
+ /**
281
+ * Data
282
+ */
283
+ data: string;
284
+ };
285
+ /**
286
+ * AgentActionSignSwap
287
+ */
288
+ export type AgentActionSignSwap = {
289
+ /**
290
+ * Type
291
+ */
292
+ type?: "sign_swap";
293
+ /**
294
+ * Session Id
295
+ */
296
+ session_id: string;
297
+ /**
298
+ * Request Id
299
+ */
300
+ request_id: string;
301
+ /**
302
+ * Source
303
+ */
304
+ source?: string;
305
+ /**
306
+ * Tool Name
307
+ */
308
+ tool_name?: string | null;
309
+ /**
310
+ * Description
311
+ */
312
+ description?: string | null;
313
+ /**
314
+ * Kwargs
315
+ */
316
+ kwargs?: {
317
+ [key: string]: unknown;
318
+ } | null;
319
+ /**
320
+ * Data
321
+ */
322
+ data: AgentActionSignSwapData | string;
323
+ };
324
+ /**
325
+ * AgentActionSignSwapData
326
+ */
327
+ export type AgentActionSignSwapData = {
328
+ transaction: AgentActionSignTransactionData;
329
+ /**
330
+ * Action
331
+ */
332
+ action: string | null;
333
+ intent: AgentActionSignSwapDataIntent;
334
+ from: AgentActionSignSwapDataToken;
335
+ to: AgentActionSignSwapDataToken;
336
+ };
337
+ /**
338
+ * AgentActionSignSwapDataIntent
339
+ */
340
+ export type AgentActionSignSwapDataIntent = {
341
+ /**
342
+ * Originchainid
343
+ */
344
+ originChainId: number;
345
+ /**
346
+ * Origintokenaddress
347
+ */
348
+ originTokenAddress: string;
349
+ /**
350
+ * Destinationchainid
351
+ */
352
+ destinationChainId: number;
353
+ /**
354
+ * Destinationtokenaddress
355
+ */
356
+ destinationTokenAddress: string;
357
+ /**
358
+ * Amount
359
+ */
360
+ amount: string;
361
+ /**
362
+ * Sender
363
+ */
364
+ sender: string;
365
+ /**
366
+ * Receiver
367
+ */
368
+ receiver: string;
369
+ /**
370
+ * Maxsteps
371
+ */
372
+ maxSteps: number;
373
+ };
374
+ /**
375
+ * AgentActionSignSwapDataToken
376
+ */
377
+ export type AgentActionSignSwapDataToken = {
378
+ /**
379
+ * Address
380
+ */
381
+ address: string;
382
+ /**
383
+ * Chain Id
384
+ */
385
+ chain_id: number;
386
+ /**
387
+ * Amount
388
+ */
389
+ amount: string;
390
+ /**
391
+ * Symbol
392
+ */
393
+ symbol: string;
394
+ /**
395
+ * Decimals
396
+ */
397
+ decimals: number;
398
+ /**
399
+ * Price
400
+ */
401
+ price: number | null;
402
+ };
403
+ /**
404
+ * AgentActionSignTransaction
405
+ */
406
+ export type AgentActionSignTransaction = {
407
+ /**
408
+ * Type
409
+ */
410
+ type?: "sign_transaction";
411
+ /**
412
+ * Session Id
413
+ */
414
+ session_id: string;
415
+ /**
416
+ * Request Id
417
+ */
418
+ request_id: string;
419
+ /**
420
+ * Source
421
+ */
422
+ source?: string;
423
+ /**
424
+ * Tool Name
425
+ */
426
+ tool_name?: string | null;
427
+ /**
428
+ * Description
429
+ */
430
+ description?: string | null;
431
+ /**
432
+ * Kwargs
433
+ */
434
+ kwargs?: {
435
+ [key: string]: unknown;
436
+ } | null;
437
+ /**
438
+ * Data
439
+ */
440
+ data: AgentActionSignTransactionData | string;
441
+ };
442
+ /**
443
+ * AgentActionSignTransactionData
444
+ */
445
+ export type AgentActionSignTransactionData = {
446
+ /**
447
+ * Chainid
448
+ */
449
+ chainId: number;
450
+ /**
451
+ * Function
452
+ */
453
+ function?: string | null;
454
+ /**
455
+ * To
456
+ */
457
+ to: string;
458
+ /**
459
+ * Value
460
+ */
461
+ value: string;
462
+ /**
463
+ * Data
464
+ */
465
+ data: string;
466
+ };
467
+ /**
468
+ * AgentListResponse
469
+ */
470
+ export type AgentListResponse = {
471
+ /**
472
+ * Id
473
+ */
474
+ id: string;
475
+ /**
476
+ * Name
477
+ */
478
+ name: string;
479
+ /**
480
+ * Description
481
+ */
482
+ description?: string | null;
483
+ /**
484
+ * Created At
485
+ */
486
+ created_at: string;
487
+ /**
488
+ * Updated At
489
+ */
490
+ updated_at: string;
491
+ };
492
+ /**
493
+ * AgentMemoryResponse
494
+ */
495
+ export type AgentMemoryResponse = {
496
+ /**
497
+ * Id
498
+ */
499
+ id: string;
500
+ };
501
+ /**
502
+ * AgentResponse
503
+ */
504
+ export type AgentResponse = {
505
+ /**
506
+ * Id
507
+ */
508
+ id: string;
509
+ /**
510
+ * User Id
511
+ */
512
+ user_id: string;
513
+ /**
514
+ * Name
515
+ */
516
+ name: string;
517
+ /**
518
+ * Description
519
+ */
520
+ description?: string | null;
521
+ /**
522
+ * Model Name
523
+ */
524
+ model_name: string;
525
+ /**
526
+ * Is Public
527
+ */
528
+ is_public: boolean;
529
+ context: AgentTaskContext;
530
+ /**
531
+ * Prompts
532
+ */
533
+ prompts?: Array<ChatMessage>;
534
+ /**
535
+ * Tools
536
+ */
537
+ tools?: Array<AgentToolResponse>;
538
+ /**
539
+ * Triggers
540
+ */
541
+ triggers?: Array<AgentTriggerResponse>;
542
+ /**
543
+ * Memories
544
+ */
545
+ memories?: Array<AgentMemoryResponse>;
546
+ /**
547
+ * Wallets
548
+ */
549
+ wallets?: Array<AgentWalletResponse>;
550
+ /**
551
+ * Created At
552
+ */
553
+ created_at: string;
554
+ /**
555
+ * Updated At
556
+ */
557
+ updated_at: string;
558
+ };
559
+ /**
560
+ * AgentStepImage
561
+ */
562
+ export type AgentStepImage = {
563
+ /**
564
+ * Type
565
+ */
566
+ type?: "image";
567
+ image: AgentActionImageData;
568
+ };
569
+ /**
570
+ * AgentStepText
571
+ */
572
+ export type AgentStepText = {
573
+ /**
574
+ * Type
575
+ */
576
+ type?: "text";
577
+ /**
578
+ * Text
579
+ */
580
+ text: string;
581
+ };
582
+ /**
583
+ * AgentTaskContext
584
+ */
585
+ export type AgentTaskContext = {
586
+ /**
587
+ * Chain Ids
588
+ */
589
+ chain_ids?: Array<number> | null;
590
+ /**
591
+ * Chain Type
592
+ */
593
+ chain_type?: "all" | "mainnet" | "testnet";
594
+ /**
595
+ * Automatic Execution
596
+ */
597
+ automatic_execution?: boolean;
598
+ };
599
+ /**
600
+ * AgentTaskOptions
601
+ */
602
+ export type AgentTaskOptions = {
603
+ /**
604
+ * Temperature
605
+ */
606
+ temperature?: number | null;
607
+ /**
608
+ * Max Tokens
609
+ */
610
+ max_tokens?: number | null;
611
+ /**
612
+ * Seed
613
+ */
614
+ seed?: number | null;
615
+ };
616
+ /**
617
+ * AgentTaskUsage
618
+ */
619
+ export type AgentTaskUsageReadable = {
620
+ /**
621
+ * Input Cached Tokens
622
+ */
623
+ input_cached_tokens: number;
624
+ /**
625
+ * Input Text Tokens
626
+ */
627
+ input_text_tokens: number;
628
+ /**
629
+ * Input Image Tokens
630
+ */
631
+ input_image_tokens: number;
632
+ /**
633
+ * Output Text Tokens
634
+ */
635
+ output_text_tokens: number;
636
+ /**
637
+ * Output Image Tokens
638
+ */
639
+ output_image_tokens: number;
640
+ /**
641
+ * Output Reasoning Tokens
642
+ */
643
+ output_reasoning_tokens: number;
644
+ /**
645
+ * Tool Read Tokens
646
+ */
647
+ tool_read_tokens: number;
648
+ /**
649
+ * Tool Write Tokens
650
+ */
651
+ tool_write_tokens: number;
652
+ /**
653
+ * Tool Requests
654
+ */
655
+ tool_requests: number;
656
+ /**
657
+ * Input Tokens
658
+ */
659
+ readonly input_tokens: number;
660
+ /**
661
+ * Output Tokens
662
+ */
663
+ readonly output_tokens: number;
664
+ /**
665
+ * Total Tokens
666
+ */
667
+ readonly total_tokens: number;
668
+ /**
669
+ * Tool Tokens
670
+ */
671
+ readonly tool_tokens: number;
672
+ };
673
+ /**
674
+ * AgentTaskUsage
675
+ */
676
+ export type AgentTaskUsageWritable = {
677
+ /**
678
+ * Input Cached Tokens
679
+ */
680
+ input_cached_tokens: number;
681
+ /**
682
+ * Input Text Tokens
683
+ */
684
+ input_text_tokens: number;
685
+ /**
686
+ * Input Image Tokens
687
+ */
688
+ input_image_tokens: number;
689
+ /**
690
+ * Output Text Tokens
691
+ */
692
+ output_text_tokens: number;
693
+ /**
694
+ * Output Image Tokens
695
+ */
696
+ output_image_tokens: number;
697
+ /**
698
+ * Output Reasoning Tokens
699
+ */
700
+ output_reasoning_tokens: number;
701
+ /**
702
+ * Tool Read Tokens
703
+ */
704
+ tool_read_tokens: number;
705
+ /**
706
+ * Tool Write Tokens
707
+ */
708
+ tool_write_tokens: number;
709
+ /**
710
+ * Tool Requests
711
+ */
712
+ tool_requests: number;
713
+ };
714
+ /**
715
+ * AgentToolDataAgent
716
+ */
717
+ export type AgentToolDataAgent = {
718
+ /**
719
+ * Type
720
+ */
721
+ type?: "agent";
722
+ /**
723
+ * Agent Id
724
+ */
725
+ agent_id: string;
726
+ };
727
+ /**
728
+ * AgentToolDataMcp
729
+ */
730
+ export type AgentToolDataMcp = {
731
+ /**
732
+ * Type
733
+ */
734
+ type?: "mcp";
735
+ config: McpConfig;
736
+ };
737
+ /**
738
+ * AgentToolDescription
739
+ */
740
+ export type AgentToolDescription = {
741
+ /**
742
+ * Agent Id
743
+ */
744
+ agent_id: string;
745
+ /**
746
+ * Name
747
+ */
748
+ name: string;
749
+ /**
750
+ * Description
751
+ */
752
+ description: string;
753
+ };
754
+ /**
755
+ * AgentToolResponse
756
+ */
757
+ export type AgentToolResponse = {
758
+ /**
759
+ * Id
760
+ */
761
+ id: string;
762
+ /**
763
+ * Name
764
+ */
765
+ name: string | null;
766
+ /**
767
+ * Description
768
+ */
769
+ description: string | null;
770
+ /**
771
+ * Data
772
+ */
773
+ data: ({
774
+ type: "agent";
775
+ } & AgentToolDataAgent) | ({
776
+ type: "mcp";
777
+ } & AgentToolDataMcp);
778
+ /**
779
+ * Created At
780
+ */
781
+ created_at: string;
782
+ /**
783
+ * Updated At
784
+ */
785
+ updated_at: string;
786
+ };
787
+ /**
788
+ * AgentTransaction
789
+ */
790
+ export type AgentTransaction = {
791
+ /**
792
+ * Action
793
+ */
794
+ action: string;
795
+ /**
796
+ * Transactions
797
+ */
798
+ transactions: Array<AgentTransactionDataTransaction>;
799
+ simulation?: AgentTransactionDataSimulation | null;
800
+ /**
801
+ * Description
802
+ */
803
+ description?: string | null;
804
+ };
805
+ /**
806
+ * AgentTransactionDataSimulation
807
+ */
808
+ export type AgentTransactionDataSimulation = {
809
+ /**
810
+ * Success
811
+ */
812
+ success: boolean;
813
+ /**
814
+ * Message
815
+ */
816
+ message: string;
817
+ /**
818
+ * Chains
819
+ */
820
+ chains: Array<AgentTransactionDataSimulationChain>;
821
+ /**
822
+ * Contracts
823
+ */
824
+ contracts?: Array<AgentTransactionDataSimulationContract> | null;
825
+ /**
826
+ * Tokens
827
+ */
828
+ tokens?: Array<AgentTransactionDataSimulationToken> | null;
829
+ };
830
+ /**
831
+ * AgentTransactionDataSimulationChain
832
+ */
833
+ export type AgentTransactionDataSimulationChain = {
834
+ /**
835
+ * Chain Id
836
+ */
837
+ chain_id: number;
838
+ /**
839
+ * Name
840
+ */
841
+ name: string;
842
+ };
843
+ /**
844
+ * AgentTransactionDataSimulationContract
845
+ */
846
+ export type AgentTransactionDataSimulationContract = {
847
+ /**
848
+ * Chain Id
849
+ */
850
+ chain_id: number;
851
+ /**
852
+ * Address
853
+ */
854
+ address: string;
855
+ /**
856
+ * Name
857
+ */
858
+ name: string;
859
+ /**
860
+ * Type
861
+ */
862
+ type: "call" | "create";
863
+ /**
864
+ * Function Name
865
+ */
866
+ function_name?: string | null;
867
+ /**
868
+ * Function Args
869
+ */
870
+ function_args?: {
871
+ [key: string]: unknown;
872
+ } | null;
873
+ };
874
+ /**
875
+ * AgentTransactionDataSimulationToken
876
+ */
877
+ export type AgentTransactionDataSimulationToken = {
878
+ /**
879
+ * Chain Id
880
+ */
881
+ chain_id: number;
882
+ /**
883
+ * Address
884
+ */
885
+ address: string;
886
+ /**
887
+ * Name
888
+ */
889
+ name: string;
890
+ /**
891
+ * Symbol
892
+ */
893
+ symbol: string;
894
+ /**
895
+ * Decimals
896
+ */
897
+ decimals: number;
898
+ /**
899
+ * Amount
900
+ */
901
+ amount: number;
902
+ };
903
+ /**
904
+ * AgentTransactionDataTransaction
905
+ */
906
+ export type AgentTransactionDataTransaction = {
907
+ /**
908
+ * To
909
+ */
910
+ to: string;
911
+ /**
912
+ * Value
913
+ */
914
+ value: string;
915
+ /**
916
+ * Data
917
+ */
918
+ data: string;
919
+ /**
920
+ * Chain Id
921
+ */
922
+ chain_id: number;
923
+ };
924
+ /**
925
+ * AgentTransactionExecution
926
+ */
927
+ export type AgentTransactionExecution = {
928
+ /**
929
+ * Id
930
+ */
931
+ id: string;
932
+ /**
933
+ * Wallet Address
934
+ */
935
+ wallet_address: string;
936
+ /**
937
+ * Chain Id
938
+ */
939
+ chain_id: number;
940
+ /**
941
+ * Status
942
+ */
943
+ status: "pending" | "confirmed" | "failed";
944
+ /**
945
+ * Transaction Hash
946
+ */
947
+ transaction_hash?: string | null;
948
+ /**
949
+ * Error Message
950
+ */
951
+ error_message?: string | null;
952
+ /**
953
+ * Transactions
954
+ */
955
+ transactions?: Array<AgentTransactionDataTransaction> | null;
956
+ };
957
+ /**
958
+ * AgentTriggerData
959
+ */
960
+ export type AgentTriggerData = {
961
+ /**
962
+ * Type
963
+ */
964
+ type: unknown;
965
+ };
966
+ /**
967
+ * AgentTriggerDataContinuous
968
+ */
969
+ export type AgentTriggerDataContinuous = {
970
+ /**
971
+ * Type
972
+ */
973
+ type?: "continuous";
974
+ };
975
+ /**
976
+ * AgentTriggerDataTime
977
+ */
978
+ export type AgentTriggerDataTime = {
979
+ /**
980
+ * Type
981
+ */
982
+ type?: "time";
983
+ /**
984
+ * Cron Expression
985
+ */
986
+ cron_expression?: string | null;
987
+ };
988
+ /**
989
+ * AgentTriggerResponse
990
+ */
991
+ export type AgentTriggerResponse = {
992
+ /**
993
+ * Id
994
+ */
995
+ id: string;
996
+ /**
997
+ * Name
998
+ */
999
+ name: string;
1000
+ type: AgentTriggerType;
1001
+ data: AgentTriggerData;
1002
+ /**
1003
+ * Prompts
1004
+ */
1005
+ prompts: Array<ChatMessage>;
1006
+ /**
1007
+ * Is Paused
1008
+ */
1009
+ is_paused: boolean;
1010
+ /**
1011
+ * Created At
1012
+ */
1013
+ created_at: string;
1014
+ /**
1015
+ * Updated At
1016
+ */
1017
+ updated_at: string;
1018
+ };
1019
+ /**
1020
+ * AgentTriggerType
1021
+ */
1022
+ export type AgentTriggerType = "continuous" | "time";
1023
+ /**
1024
+ * AgentWalletResponse
1025
+ */
1026
+ export type AgentWalletResponse = {
1027
+ /**
1028
+ * Id
1029
+ */
1030
+ id: string;
1031
+ type: WalletType;
1032
+ /**
1033
+ * Address
1034
+ */
1035
+ address: string;
1036
+ /**
1037
+ * Data
1038
+ */
1039
+ data: ({
1040
+ type: "server";
1041
+ } & WalletDataServer) | ({
1042
+ type: "eip4337";
1043
+ } & WalletDataEip4337);
1044
+ /**
1045
+ * Transactions
1046
+ */
1047
+ transactions?: Array<WalletTransaction>;
1048
+ /**
1049
+ * Created At
1050
+ */
1051
+ created_at: string;
1052
+ /**
1053
+ * Updated At
1054
+ */
1055
+ updated_at: string;
1056
+ };
1057
+ /**
1058
+ * BlockchainEntity
1059
+ * Base class for all blockchain entities tracked in memory.
1060
+ */
1061
+ export type BlockchainEntity = {
1062
+ /**
1063
+ * Chain Id
1064
+ */
1065
+ chain_id: number;
1066
+ /**
1067
+ * Address
1068
+ */
1069
+ address: string;
1070
+ /**
1071
+ * Roles
1072
+ */
1073
+ roles?: Array<EntityRole>;
1074
+ /**
1075
+ * First Mentioned At
1076
+ */
1077
+ first_mentioned_at?: string;
1078
+ /**
1079
+ * Last Mentioned At
1080
+ */
1081
+ last_mentioned_at?: string;
1082
+ };
1083
+ /**
1084
+ * ChatContentImage
1085
+ */
1086
+ export type ChatContentImage = {
1087
+ /**
1088
+ * Type
1089
+ */
1090
+ type?: "image";
1091
+ /**
1092
+ * Image Url
1093
+ */
1094
+ image_url?: string | null;
1095
+ /**
1096
+ * B64
1097
+ */
1098
+ b64?: string | null;
1099
+ };
1100
+ /**
1101
+ * ChatContentText
1102
+ */
1103
+ export type ChatContentText = {
1104
+ /**
1105
+ * Type
1106
+ */
1107
+ type?: "text";
1108
+ /**
1109
+ * Text
1110
+ */
1111
+ text: string;
1112
+ };
1113
+ /**
1114
+ * ChatContentTransaction
1115
+ */
1116
+ export type ChatContentTransaction = {
1117
+ /**
1118
+ * Type
1119
+ */
1120
+ type?: "transaction";
1121
+ /**
1122
+ * Chain Id
1123
+ */
1124
+ chain_id: number;
1125
+ /**
1126
+ * Transaction Hash
1127
+ */
1128
+ transaction_hash: string;
1129
+ };
1130
+ /**
1131
+ * ChatMessage
1132
+ */
1133
+ export type ChatMessage = {
1134
+ /**
1135
+ * Role
1136
+ */
1137
+ role: "system" | "user" | "assistant";
1138
+ /**
1139
+ * Content
1140
+ */
1141
+ content: string | Array<({
1142
+ type: "image";
1143
+ } & ChatContentImage) | ({
1144
+ type: "text";
1145
+ } & ChatContentText) | ({
1146
+ type: "transaction";
1147
+ } & ChatContentTransaction)>;
1148
+ };
1149
+ /**
1150
+ * ChatParamsMultiMessages
1151
+ */
1152
+ export type ChatParamsMultiMessages = {
1153
+ /**
1154
+ * Stream
1155
+ */
1156
+ stream?: boolean | null;
1157
+ /**
1158
+ * Model Name
1159
+ */
1160
+ model_name?: string | null;
1161
+ /**
1162
+ * Session Id
1163
+ */
1164
+ session_id?: string | null;
1165
+ context?: CompletionContextInput | null;
1166
+ /**
1167
+ * Max Tokens
1168
+ */
1169
+ max_tokens?: number | null;
1170
+ /**
1171
+ * Max Completion Tokens
1172
+ */
1173
+ max_completion_tokens?: number | null;
1174
+ /**
1175
+ * Frequency Penalty
1176
+ */
1177
+ frequency_penalty?: number | null;
1178
+ /**
1179
+ * Presence Penalty
1180
+ */
1181
+ presence_penalty?: number | null;
1182
+ /**
1183
+ * Temperature
1184
+ */
1185
+ temperature?: number | null;
1186
+ /**
1187
+ * Top P
1188
+ */
1189
+ top_p?: number | null;
1190
+ /**
1191
+ * Response Format
1192
+ */
1193
+ response_format?: (({
1194
+ type: "json_object";
1195
+ } & CompletionResponseFormatJsonObject) | ({
1196
+ type: "json_schema";
1197
+ } & CompletionResponseFormatJsonSchema)) | null;
1198
+ /**
1199
+ * Messages
1200
+ */
1201
+ messages: Array<ChatMessage>;
1202
+ };
1203
+ /**
1204
+ * ChatParamsSingleMessage
1205
+ */
1206
+ export type ChatParamsSingleMessage = {
1207
+ /**
1208
+ * Stream
1209
+ */
1210
+ stream?: boolean | null;
1211
+ /**
1212
+ * Model Name
1213
+ */
1214
+ model_name?: string | null;
1215
+ /**
1216
+ * Session Id
1217
+ */
1218
+ session_id?: string | null;
1219
+ context?: CompletionContextInput | null;
1220
+ /**
1221
+ * Max Tokens
1222
+ */
1223
+ max_tokens?: number | null;
1224
+ /**
1225
+ * Max Completion Tokens
1226
+ */
1227
+ max_completion_tokens?: number | null;
1228
+ /**
1229
+ * Frequency Penalty
1230
+ */
1231
+ frequency_penalty?: number | null;
1232
+ /**
1233
+ * Presence Penalty
1234
+ */
1235
+ presence_penalty?: number | null;
1236
+ /**
1237
+ * Temperature
1238
+ */
1239
+ temperature?: number | null;
1240
+ /**
1241
+ * Top P
1242
+ */
1243
+ top_p?: number | null;
1244
+ /**
1245
+ * Response Format
1246
+ */
1247
+ response_format?: (({
1248
+ type: "json_object";
1249
+ } & CompletionResponseFormatJsonObject) | ({
1250
+ type: "json_schema";
1251
+ } & CompletionResponseFormatJsonSchema)) | null;
1252
+ /**
1253
+ * Message
1254
+ */
1255
+ message: string;
1256
+ };
1257
+ /**
1258
+ * ChatResponse
1259
+ */
1260
+ export type ChatResponse = {
1261
+ /**
1262
+ * Message
1263
+ */
1264
+ message: string;
1265
+ /**
1266
+ * Actions
1267
+ */
1268
+ actions: Array<({
1269
+ type: "init";
1270
+ } & AgentActionInit) | ({
1271
+ type: "eval";
1272
+ } & AgentActionEval) | ({
1273
+ type: "presence";
1274
+ } & AgentActionPresence) | ({
1275
+ type: "context";
1276
+ } & AgentActionContext) | ({
1277
+ type: "image";
1278
+ } & AgentActionImage) | ({
1279
+ type: "execution";
1280
+ } & AgentActionExecution) | ({
1281
+ type: "sign_transaction";
1282
+ } & AgentActionSignTransaction) | ({
1283
+ type: "sign_swap";
1284
+ } & AgentActionSignSwap)> | null;
1285
+ /**
1286
+ * Session Id
1287
+ */
1288
+ session_id: string | null;
1289
+ /**
1290
+ * Request Id
1291
+ */
1292
+ request_id: string | null;
1293
+ };
1294
+ /**
1295
+ * CompletionChoice
1296
+ */
1297
+ export type CompletionChoice = {
1298
+ message: CompletionChoiceChatMessage;
1299
+ /**
1300
+ * Finish Reason
1301
+ */
1302
+ finish_reason: "stop" | "length";
1303
+ /**
1304
+ * Index
1305
+ */
1306
+ index: number;
1307
+ };
1308
+ /**
1309
+ * CompletionChoiceChatMessage
1310
+ */
1311
+ export type CompletionChoiceChatMessage = {
1312
+ /**
1313
+ * Role
1314
+ */
1315
+ role: "user" | "assistant";
1316
+ /**
1317
+ * Content
1318
+ */
1319
+ content: string;
1320
+ };
1321
+ /**
1322
+ * CompletionContext
1323
+ */
1324
+ export type CompletionContextInput = {
1325
+ /**
1326
+ * Session Id
1327
+ */
1328
+ session_id?: string | null;
1329
+ /**
1330
+ * Wallet Address
1331
+ */
1332
+ wallet_address?: string | ({
1333
+ type: "server_wallet";
1334
+ } & ContextFilterServerWallet) | null;
1335
+ /**
1336
+ * Chain Ids
1337
+ */
1338
+ chain_ids?: Array<number> | null;
1339
+ /**
1340
+ * Networks
1341
+ */
1342
+ networks?: "all" | "mainnet" | "testnet";
1343
+ /**
1344
+ * Prompts
1345
+ */
1346
+ prompts?: Array<ChatMessage>;
1347
+ /**
1348
+ * Mcp Tools
1349
+ */
1350
+ mcp_tools?: Array<McpTool> | null;
1351
+ /**
1352
+ * Agent Tools
1353
+ */
1354
+ agent_tools?: Array<AgentToolDescription> | null;
1355
+ /**
1356
+ * Deployed Contracts
1357
+ */
1358
+ deployed_contracts?: Array<ContractBase>;
1359
+ /**
1360
+ * Entities
1361
+ */
1362
+ entities?: {
1363
+ [key: string]: BlockchainEntity;
1364
+ };
1365
+ };
1366
+ /**
1367
+ * CompletionContext
1368
+ */
1369
+ export type CompletionContextOutput = {
1370
+ /**
1371
+ * Session Id
1372
+ */
1373
+ session_id?: string | null;
1374
+ /**
1375
+ * Wallet Address
1376
+ */
1377
+ wallet_address?: string | ({
1378
+ type: "server_wallet";
1379
+ } & ContextFilterServerWallet) | null;
1380
+ /**
1381
+ * Chain Ids
1382
+ */
1383
+ chain_ids?: Array<number> | null;
1384
+ /**
1385
+ * Networks
1386
+ */
1387
+ networks?: "all" | "mainnet" | "testnet";
1388
+ /**
1389
+ * Prompts
1390
+ */
1391
+ prompts?: Array<ChatMessage>;
1392
+ };
1393
+ /**
1394
+ * CompletionParams
1395
+ */
1396
+ export type CompletionParams = {
1397
+ /**
1398
+ * Messages
1399
+ */
1400
+ messages: Array<ChatMessage>;
1401
+ /**
1402
+ * Model
1403
+ */
1404
+ model?: string | null;
1405
+ /**
1406
+ * Stream
1407
+ */
1408
+ stream?: boolean;
1409
+ /**
1410
+ * Max Tokens
1411
+ */
1412
+ max_tokens?: number | null;
1413
+ /**
1414
+ * Max Completion Tokens
1415
+ */
1416
+ max_completion_tokens?: number | null;
1417
+ /**
1418
+ * Frequency Penalty
1419
+ */
1420
+ frequency_penalty?: number | null;
1421
+ /**
1422
+ * Presence Penalty
1423
+ */
1424
+ presence_penalty?: number | null;
1425
+ /**
1426
+ * Temperature
1427
+ */
1428
+ temperature?: number | null;
1429
+ /**
1430
+ * Top P
1431
+ */
1432
+ top_p?: number | null;
1433
+ /**
1434
+ * Response Format
1435
+ */
1436
+ response_format?: (({
1437
+ type: "json_object";
1438
+ } & CompletionResponseFormatJsonObject) | ({
1439
+ type: "json_schema";
1440
+ } & CompletionResponseFormatJsonSchema)) | null;
1441
+ context?: CompletionContextInput | null;
1442
+ };
1443
+ /**
1444
+ * CompletionResponse
1445
+ */
1446
+ export type CompletionResponse = {
1447
+ /**
1448
+ * Id
1449
+ */
1450
+ id: string;
1451
+ /**
1452
+ * Choices
1453
+ */
1454
+ choices: Array<CompletionChoice>;
1455
+ /**
1456
+ * Created
1457
+ */
1458
+ created: number;
1459
+ /**
1460
+ * Object
1461
+ */
1462
+ object: "chat.completion";
1463
+ usage: CompletionUsage;
1464
+ /**
1465
+ * Actions
1466
+ */
1467
+ actions: Array<({
1468
+ type: "init";
1469
+ } & AgentActionInit) | ({
1470
+ type: "eval";
1471
+ } & AgentActionEval) | ({
1472
+ type: "presence";
1473
+ } & AgentActionPresence) | ({
1474
+ type: "context";
1475
+ } & AgentActionContext) | ({
1476
+ type: "image";
1477
+ } & AgentActionImage) | ({
1478
+ type: "execution";
1479
+ } & AgentActionExecution) | ({
1480
+ type: "sign_transaction";
1481
+ } & AgentActionSignTransaction) | ({
1482
+ type: "sign_swap";
1483
+ } & AgentActionSignSwap)> | null;
1484
+ context: CompletionContextOutput | null;
1485
+ };
1486
+ /**
1487
+ * CompletionResponseFormatJsonObject
1488
+ */
1489
+ export type CompletionResponseFormatJsonObject = {
1490
+ /**
1491
+ * Type
1492
+ */
1493
+ type: "json_object";
1494
+ };
1495
+ /**
1496
+ * CompletionResponseFormatJsonSchema
1497
+ */
1498
+ export type CompletionResponseFormatJsonSchema = {
1499
+ /**
1500
+ * Type
1501
+ */
1502
+ type: "json_schema";
1503
+ /**
1504
+ * Json Schema
1505
+ */
1506
+ json_schema: {
1507
+ [key: string]: unknown;
1508
+ };
1509
+ };
1510
+ /**
1511
+ * CompletionUsage
1512
+ */
1513
+ export type CompletionUsage = {
1514
+ /**
1515
+ * Prompt Tokens
1516
+ */
1517
+ prompt_tokens: number;
1518
+ /**
1519
+ * Completion Tokens
1520
+ */
1521
+ completion_tokens: number;
1522
+ /**
1523
+ * Total Tokens
1524
+ */
1525
+ total_tokens: number;
1526
+ };
1527
+ /**
1528
+ * ContextFilterServerWallet
1529
+ */
1530
+ export type ContextFilterServerWallet = {
1531
+ /**
1532
+ * Type
1533
+ */
1534
+ type: "server_wallet";
1535
+ /**
1536
+ * Server Wallet Id
1537
+ */
1538
+ server_wallet_id?: string | null;
1539
+ /**
1540
+ * Server Wallet Address
1541
+ */
1542
+ server_wallet_address?: string | null;
1543
+ };
1544
+ /**
1545
+ * ContractBase
1546
+ * Base class for contract-like entities that can be processed by ContractMetadata.
1547
+ */
1548
+ export type ContractBase = {
1549
+ /**
1550
+ * Chain Id
1551
+ */
1552
+ chain_id: number;
1553
+ /**
1554
+ * Address
1555
+ */
1556
+ address: string;
1557
+ /**
1558
+ * Roles
1559
+ */
1560
+ roles?: Array<EntityRole>;
1561
+ /**
1562
+ * First Mentioned At
1563
+ */
1564
+ first_mentioned_at?: string;
1565
+ /**
1566
+ * Last Mentioned At
1567
+ */
1568
+ last_mentioned_at?: string;
1569
+ /**
1570
+ * Name
1571
+ */
1572
+ name?: string | null;
1573
+ /**
1574
+ * Symbol
1575
+ */
1576
+ symbol?: string | null;
1577
+ /**
1578
+ * Standard
1579
+ */
1580
+ standard?: ("ERC20" | "ERC721" | "ERC1155" | "Unknown") | null;
1581
+ /**
1582
+ * Description
1583
+ */
1584
+ description?: string | null;
1585
+ /**
1586
+ * Total Supply
1587
+ */
1588
+ total_supply?: number | null;
1589
+ /**
1590
+ * Price
1591
+ */
1592
+ price?: string | null;
1593
+ /**
1594
+ * Abi
1595
+ */
1596
+ abi?: Array<AbiDocFormatted> | null;
1597
+ deployment_status?: DeploymentStatus;
1598
+ };
1599
+ /**
1600
+ * ConversationListResponse
1601
+ */
1602
+ export type ConversationListResponse = {
1603
+ /**
1604
+ * Id
1605
+ */
1606
+ id: string;
1607
+ /**
1608
+ * Title
1609
+ */
1610
+ title?: string;
1611
+ };
1612
+ /**
1613
+ * ConversationMessageResponse
1614
+ */
1615
+ export type ConversationMessageResponseReadable = {
1616
+ /**
1617
+ * Id
1618
+ */
1619
+ id: string;
1620
+ /**
1621
+ * Inputs
1622
+ */
1623
+ inputs?: Array<ChatMessage>;
1624
+ /**
1625
+ * Responses
1626
+ */
1627
+ responses?: Array<ChatMessage>;
1628
+ /**
1629
+ * Steps
1630
+ */
1631
+ steps?: Array<({
1632
+ type: "text";
1633
+ } & AgentStepText) | ({
1634
+ type: "image";
1635
+ } & AgentStepImage)>;
1636
+ /**
1637
+ * Transactions
1638
+ */
1639
+ transactions?: Array<AgentTransaction>;
1640
+ usage?: AgentTaskUsageReadable | null;
1641
+ };
1642
+ /**
1643
+ * ConversationMessageResponse
1644
+ */
1645
+ export type ConversationMessageResponseWritable = {
1646
+ /**
1647
+ * Id
1648
+ */
1649
+ id: string;
1650
+ /**
1651
+ * Inputs
1652
+ */
1653
+ inputs?: Array<ChatMessage>;
1654
+ /**
1655
+ * Responses
1656
+ */
1657
+ responses?: Array<ChatMessage>;
1658
+ /**
1659
+ * Steps
1660
+ */
1661
+ steps?: Array<({
1662
+ type: "text";
1663
+ } & AgentStepText) | ({
1664
+ type: "image";
1665
+ } & AgentStepImage)>;
1666
+ /**
1667
+ * Transactions
1668
+ */
1669
+ transactions?: Array<AgentTransaction>;
1670
+ usage?: AgentTaskUsageWritable | null;
1671
+ };
1672
+ /**
1673
+ * ConversationResponse
1674
+ */
1675
+ export type ConversationResponseReadable = {
1676
+ /**
1677
+ * Id
1678
+ */
1679
+ id: string;
1680
+ /**
1681
+ * Title
1682
+ */
1683
+ title: string;
1684
+ /**
1685
+ * User Id
1686
+ */
1687
+ user_id: string;
1688
+ /**
1689
+ * Agent Id
1690
+ */
1691
+ agent_id: string;
1692
+ /**
1693
+ * Is Public
1694
+ */
1695
+ is_public: boolean;
1696
+ /**
1697
+ * Created At
1698
+ */
1699
+ created_at: string;
1700
+ /**
1701
+ * Updated At
1702
+ */
1703
+ updated_at: string;
1704
+ /**
1705
+ * Messages
1706
+ */
1707
+ messages?: Array<ConversationMessageResponseReadable>;
1708
+ };
1709
+ /**
1710
+ * ConversationResponse
1711
+ */
1712
+ export type ConversationResponseWritable = {
1713
+ /**
1714
+ * Id
1715
+ */
1716
+ id: string;
1717
+ /**
1718
+ * Title
1719
+ */
1720
+ title: string;
1721
+ /**
1722
+ * User Id
1723
+ */
1724
+ user_id: string;
1725
+ /**
1726
+ * Agent Id
1727
+ */
1728
+ agent_id: string;
1729
+ /**
1730
+ * Is Public
1731
+ */
1732
+ is_public: boolean;
1733
+ /**
1734
+ * Created At
1735
+ */
1736
+ created_at: string;
1737
+ /**
1738
+ * Updated At
1739
+ */
1740
+ updated_at: string;
1741
+ /**
1742
+ * Messages
1743
+ */
1744
+ messages?: Array<ConversationMessageResponseWritable>;
1745
+ };
1746
+ /**
1747
+ * CreateAgentHandlerParams
1748
+ * inherits from CreateAgentParams, but adds triggers and tools
1749
+ */
1750
+ export type CreateAgentHandlerParams = {
1751
+ /**
1752
+ * Name
1753
+ */
1754
+ name: string;
1755
+ /**
1756
+ * Description
1757
+ */
1758
+ description?: string | null;
1759
+ /**
1760
+ * Prompts
1761
+ */
1762
+ prompts?: Array<ChatMessage> | null;
1763
+ /**
1764
+ * Triggers
1765
+ */
1766
+ triggers?: Array<CreateAgentTriggerParams> | null;
1767
+ /**
1768
+ * Tools
1769
+ */
1770
+ tools?: Array<CreateAgentToolParams> | null;
1771
+ };
1772
+ /**
1773
+ * CreateAgentToolParams
1774
+ */
1775
+ export type CreateAgentToolParams = {
1776
+ /**
1777
+ * Name
1778
+ */
1779
+ name: string;
1780
+ /**
1781
+ * Data
1782
+ */
1783
+ data: ({
1784
+ type: "agent";
1785
+ } & AgentToolDataAgent) | ({
1786
+ type: "mcp";
1787
+ } & AgentToolDataMcp);
1788
+ /**
1789
+ * Description
1790
+ */
1791
+ description?: string | null;
1792
+ };
1793
+ /**
1794
+ * CreateAgentTriggerParams
1795
+ */
1796
+ export type CreateAgentTriggerParams = {
1797
+ /**
1798
+ * Name
1799
+ */
1800
+ name: string;
1801
+ /**
1802
+ * Data
1803
+ */
1804
+ data: ({
1805
+ type: "continuous";
1806
+ } & AgentTriggerDataContinuous) | ({
1807
+ type: "time";
1808
+ } & AgentTriggerDataTime);
1809
+ /**
1810
+ * Prompts
1811
+ */
1812
+ prompts?: Array<ChatMessage> | null;
1813
+ };
1814
+ /**
1815
+ * CreateConversationHandlerParams
1816
+ */
1817
+ export type CreateConversationHandlerParams = {
1818
+ /**
1819
+ * Title
1820
+ */
1821
+ title?: string | null;
1822
+ /**
1823
+ * Is Public
1824
+ */
1825
+ is_public?: boolean | null;
1826
+ /**
1827
+ * Agent Id
1828
+ */
1829
+ agent_id: string;
1830
+ };
1831
+ /**
1832
+ * CreateMessageHandlerParams
1833
+ */
1834
+ export type CreateMessageHandlerParams = {
1835
+ /**
1836
+ * Inputs
1837
+ */
1838
+ inputs: Array<ChatMessage>;
1839
+ options?: AgentTaskOptions | null;
1840
+ context?: AgentTaskContext | null;
1841
+ /**
1842
+ * Stream
1843
+ */
1844
+ stream?: boolean;
1845
+ };
1846
+ /**
1847
+ * CreateSessionParams
1848
+ */
1849
+ export type CreateSessionParams = {
1850
+ /**
1851
+ * Model Name
1852
+ */
1853
+ model_name?: string;
1854
+ /**
1855
+ * Title
1856
+ */
1857
+ title?: string | null;
1858
+ /**
1859
+ * Is Public
1860
+ */
1861
+ is_public?: boolean | null;
1862
+ context?: CompletionContextInput | null;
1863
+ };
1864
+ /**
1865
+ * CreateUserWalletParams
1866
+ */
1867
+ export type CreateUserWalletParams = {
1868
+ type: WalletType;
1869
+ /**
1870
+ * Data
1871
+ */
1872
+ data?: WalletDataServer | WalletDataEip4337 | null;
1873
+ };
1874
+ /**
1875
+ * DeploymentStatus
1876
+ */
1877
+ export type DeploymentStatus = "unknown" | "pending" | "deployed" | "failed";
1878
+ /**
1879
+ * EntityRole
1880
+ */
1881
+ export type EntityRole = "mentioned" | "deployed" | "user";
1882
+ /**
1883
+ * Feedback
1884
+ */
1885
+ export type Feedback = {
1886
+ /**
1887
+ * Id
1888
+ */
1889
+ id: string;
1890
+ /**
1891
+ * Session Id
1892
+ */
1893
+ session_id: string;
1894
+ /**
1895
+ * Request Id
1896
+ */
1897
+ request_id: string;
1898
+ /**
1899
+ * Feedback Rating
1900
+ */
1901
+ feedback_rating: number | null;
1902
+ /**
1903
+ * Feedback Response
1904
+ */
1905
+ feedback_response: string | null;
1906
+ /**
1907
+ * Comment
1908
+ */
1909
+ comment: string | null;
1910
+ /**
1911
+ * Created At
1912
+ */
1913
+ created_at: string | null;
1914
+ /**
1915
+ * Updated At
1916
+ */
1917
+ updated_at: string | null;
1918
+ };
1919
+ /**
1920
+ * FeedbackParams
1921
+ */
1922
+ export type FeedbackParams = {
1923
+ /**
1924
+ * Session Id
1925
+ */
1926
+ session_id: string;
1927
+ /**
1928
+ * Request Id
1929
+ */
1930
+ request_id: string;
1931
+ /**
1932
+ * Feedback Rating
1933
+ */
1934
+ feedback_rating?: number | null;
1935
+ /**
1936
+ * Feedback Response
1937
+ */
1938
+ feedback_response?: string | null;
1939
+ /**
1940
+ * Comment
1941
+ */
1942
+ comment?: string | null;
1943
+ };
1944
+ /**
1945
+ * GetPayloadParams
1946
+ */
1947
+ export type GetPayloadParams = {
1948
+ /**
1949
+ * Address
1950
+ */
1951
+ address: string;
1952
+ /**
1953
+ * Chain Id
1954
+ */
1955
+ chain_id?: number | string | null;
1956
+ };
1957
+ /**
1958
+ * GetPayloadResponse
1959
+ */
1960
+ export type GetPayloadResponse = {
1961
+ payload: Payload;
1962
+ };
1963
+ /**
1964
+ * HTTPValidationError
1965
+ */
1966
+ export type HttpValidationError = {
1967
+ /**
1968
+ * Detail
1969
+ */
1970
+ detail?: Array<ValidationError>;
1971
+ };
1972
+ /**
1973
+ * LoginParams
1974
+ */
1975
+ export type LoginParams = {
1976
+ payload: Payload;
1977
+ /**
1978
+ * Signature
1979
+ */
1980
+ signature?: string | null;
1981
+ /**
1982
+ * Token
1983
+ */
1984
+ token?: string | null;
1985
+ };
1986
+ /**
1987
+ * LoginResponse
1988
+ */
1989
+ export type LoginResponse = {
1990
+ /**
1991
+ * Token
1992
+ */
1993
+ token: string;
1994
+ };
1995
+ /**
1996
+ * McpConfig
1997
+ */
1998
+ export type McpConfig = {
1999
+ /**
2000
+ * Url
2001
+ */
2002
+ url: string;
2003
+ /**
2004
+ * Headers
2005
+ */
2006
+ headers?: {
2007
+ [key: string]: unknown;
2008
+ } | null;
2009
+ };
2010
+ /**
2011
+ * McpTool
2012
+ */
2013
+ export type McpTool = {
2014
+ /**
2015
+ * Url
2016
+ */
2017
+ url: string;
2018
+ /**
2019
+ * Headers
2020
+ */
2021
+ headers?: {
2022
+ [key: string]: string;
2023
+ } | null;
2024
+ };
2025
+ /**
2026
+ * Model
2027
+ */
2028
+ export type Model = {
2029
+ /**
2030
+ * Id
2031
+ */
2032
+ id: string;
2033
+ /**
2034
+ * Object
2035
+ */
2036
+ object: "model";
2037
+ /**
2038
+ * Created
2039
+ */
2040
+ created: number;
2041
+ /**
2042
+ * Owned By
2043
+ */
2044
+ owned_by: "thirdweb";
2045
+ };
2046
+ /**
2047
+ * ModelResponse
2048
+ */
2049
+ export type ModelResponse = {
2050
+ /**
2051
+ * Object
2052
+ */
2053
+ object: "list";
2054
+ /**
2055
+ * Data
2056
+ */
2057
+ data: Array<Model>;
2058
+ };
2059
+ /**
2060
+ * Payload
2061
+ */
2062
+ export type Payload = {
2063
+ /**
2064
+ * Address
2065
+ */
2066
+ address: string;
2067
+ /**
2068
+ * Chain Id
2069
+ */
2070
+ chain_id: number | null;
2071
+ /**
2072
+ * Domain
2073
+ */
2074
+ domain: string;
2075
+ /**
2076
+ * Expiration Time
2077
+ */
2078
+ expiration_time: string;
2079
+ /**
2080
+ * Invalid Before
2081
+ */
2082
+ invalid_before: string;
2083
+ /**
2084
+ * Issued At
2085
+ */
2086
+ issued_at: string;
2087
+ /**
2088
+ * Nonce
2089
+ */
2090
+ nonce: string;
2091
+ /**
2092
+ * Statement
2093
+ */
2094
+ statement: string;
2095
+ /**
2096
+ * Version
2097
+ */
2098
+ version: string;
2099
+ /**
2100
+ * Resources
2101
+ */
2102
+ resources: Array<string> | null;
2103
+ /**
2104
+ * Uri
2105
+ */
2106
+ uri: string;
2107
+ };
2108
+ /**
2109
+ * RegistryAgentListResponse
2110
+ */
2111
+ export type RegistryAgentListResponse = {
2112
+ /**
2113
+ * Id
2114
+ */
2115
+ id: string;
2116
+ /**
2117
+ * User Id
2118
+ */
2119
+ user_id: string;
2120
+ /**
2121
+ * Name
2122
+ */
2123
+ name: string;
2124
+ /**
2125
+ * Description
2126
+ */
2127
+ description: string;
2128
+ /**
2129
+ * Created At
2130
+ */
2131
+ created_at: string;
2132
+ /**
2133
+ * Updated At
2134
+ */
2135
+ updated_at: string;
2136
+ };
2137
+ /**
2138
+ * ResponseModel[AgentResponse]
2139
+ */
2140
+ export type ResponseModelAgentResponse = {
2141
+ result: AgentResponse;
2142
+ };
2143
+ /**
2144
+ * ResponseModel[AgentToolResponse]
2145
+ */
2146
+ export type ResponseModelAgentToolResponse = {
2147
+ result: AgentToolResponse;
2148
+ };
2149
+ /**
2150
+ * ResponseModel[AgentTriggerResponse]
2151
+ */
2152
+ export type ResponseModelAgentTriggerResponse = {
2153
+ result: AgentTriggerResponse;
2154
+ };
2155
+ /**
2156
+ * ResponseModel[AgentWalletResponse]
2157
+ */
2158
+ export type ResponseModelAgentWalletResponse = {
2159
+ result: AgentWalletResponse;
2160
+ };
2161
+ /**
2162
+ * ResponseModel[ConversationMessageResponse]
2163
+ */
2164
+ export type ResponseModelConversationMessageResponseReadable = {
2165
+ result: ConversationMessageResponseReadable;
2166
+ };
2167
+ /**
2168
+ * ResponseModel[ConversationMessageResponse]
2169
+ */
2170
+ export type ResponseModelConversationMessageResponseWritable = {
2171
+ result: ConversationMessageResponseWritable;
2172
+ };
2173
+ /**
2174
+ * ResponseModel[ConversationResponse]
2175
+ */
2176
+ export type ResponseModelConversationResponseReadable = {
2177
+ result: ConversationResponseReadable;
2178
+ };
2179
+ /**
2180
+ * ResponseModel[ConversationResponse]
2181
+ */
2182
+ export type ResponseModelConversationResponseWritable = {
2183
+ result: ConversationResponseWritable;
2184
+ };
2185
+ /**
2186
+ * ResponseModel[Feedback]
2187
+ */
2188
+ export type ResponseModelFeedback = {
2189
+ result: Feedback;
2190
+ };
2191
+ /**
2192
+ * ResponseModel[GetPayloadResponse]
2193
+ */
2194
+ export type ResponseModelGetPayloadResponse = {
2195
+ result: GetPayloadResponse;
2196
+ };
2197
+ /**
2198
+ * ResponseModel[LoginResponse]
2199
+ */
2200
+ export type ResponseModelLoginResponse = {
2201
+ result: LoginResponse;
2202
+ };
2203
+ /**
2204
+ * ResponseModel[SessionDeleteResponse]
2205
+ */
2206
+ export type ResponseModelSessionDeleteResponse = {
2207
+ result: SessionDeleteResponse;
2208
+ };
2209
+ /**
2210
+ * ResponseModel[Session]
2211
+ */
2212
+ export type ResponseModelSession = {
2213
+ result: Session;
2214
+ };
2215
+ /**
2216
+ * ResponseModel[UUID]
2217
+ */
2218
+ export type ResponseModelUuid = {
2219
+ /**
2220
+ * Result
2221
+ */
2222
+ result: string;
2223
+ };
2224
+ /**
2225
+ * ResponseModel[UserResponse]
2226
+ */
2227
+ export type ResponseModelUserResponse = {
2228
+ result: UserResponse;
2229
+ };
2230
+ /**
2231
+ * ResponseModel[UserWalletResponse]
2232
+ */
2233
+ export type ResponseModelUserWalletResponse = {
2234
+ result: UserWalletResponse;
2235
+ };
2236
+ /**
2237
+ * ResponseModel[VerifyJwtResponse]
2238
+ */
2239
+ export type ResponseModelVerifyJwtResponse = {
2240
+ result: VerifyJwtResponse;
2241
+ };
2242
+ /**
2243
+ * ResponseModel[list[AgentListResponse]]
2244
+ */
2245
+ export type ResponseModelListAgentListResponse = {
2246
+ /**
2247
+ * Result
2248
+ */
2249
+ result: Array<AgentListResponse>;
2250
+ };
2251
+ /**
2252
+ * ResponseModel[list[AgentWalletResponse]]
2253
+ */
2254
+ export type ResponseModelListAgentWalletResponse = {
2255
+ /**
2256
+ * Result
2257
+ */
2258
+ result: Array<AgentWalletResponse>;
2259
+ };
2260
+ /**
2261
+ * ResponseModel[list[ConversationListResponse]]
2262
+ */
2263
+ export type ResponseModelListConversationListResponse = {
2264
+ /**
2265
+ * Result
2266
+ */
2267
+ result: Array<ConversationListResponse>;
2268
+ };
2269
+ /**
2270
+ * ResponseModel[list[RegistryAgentListResponse]]
2271
+ */
2272
+ export type ResponseModelListRegistryAgentListResponse = {
2273
+ /**
2274
+ * Result
2275
+ */
2276
+ result: Array<RegistryAgentListResponse>;
2277
+ };
2278
+ /**
2279
+ * ResponseModel[list[SessionList]]
2280
+ */
2281
+ export type ResponseModelListSessionList = {
2282
+ /**
2283
+ * Result
2284
+ */
2285
+ result: Array<SessionList>;
2286
+ };
2287
+ /**
2288
+ * ResponseModel[list[UserWalletResponse]]
2289
+ */
2290
+ export type ResponseModelListUserWalletResponse = {
2291
+ /**
2292
+ * Result
2293
+ */
2294
+ result: Array<UserWalletResponse>;
2295
+ };
2296
+ /**
2297
+ * Session
2298
+ */
2299
+ export type Session = {
2300
+ /**
2301
+ * Id
2302
+ */
2303
+ id: string;
2304
+ /**
2305
+ * Team Id
2306
+ */
2307
+ team_id: string;
2308
+ /**
2309
+ * Project Id
2310
+ */
2311
+ project_id: string | null;
2312
+ /**
2313
+ * Model Name
2314
+ */
2315
+ model_name: string;
2316
+ /**
2317
+ * Is Public
2318
+ */
2319
+ is_public: boolean | null;
2320
+ /**
2321
+ * Title
2322
+ */
2323
+ title: string | null;
2324
+ /**
2325
+ * Memory
2326
+ */
2327
+ memory: Array<{
2328
+ [key: string]: unknown;
2329
+ }> | null;
2330
+ /**
2331
+ * History
2332
+ */
2333
+ history: Array<{
2334
+ [key: string]: unknown;
2335
+ }> | null;
2336
+ /**
2337
+ * Action
2338
+ */
2339
+ action: Array<{
2340
+ [key: string]: unknown;
2341
+ }> | null;
2342
+ context?: CompletionContextOutput | null;
2343
+ /**
2344
+ * Archive At
2345
+ */
2346
+ archive_at: string | null;
2347
+ /**
2348
+ * Deleted At
2349
+ */
2350
+ deleted_at: string | null;
2351
+ /**
2352
+ * Created At
2353
+ */
2354
+ created_at: string | null;
2355
+ /**
2356
+ * Updated At
2357
+ */
2358
+ updated_at: string | null;
2359
+ };
2360
+ /**
2361
+ * SessionDeleteResponse
2362
+ */
2363
+ export type SessionDeleteResponse = {
2364
+ /**
2365
+ * Id
2366
+ */
2367
+ id: string;
2368
+ /**
2369
+ * Deleted At
2370
+ */
2371
+ deleted_at: string;
2372
+ };
2373
+ /**
2374
+ * SessionList
2375
+ */
2376
+ export type SessionList = {
2377
+ /**
2378
+ * Id
2379
+ */
2380
+ id: string;
2381
+ /**
2382
+ * Title
2383
+ */
2384
+ title: string | null;
2385
+ /**
2386
+ * Created At
2387
+ */
2388
+ created_at: string;
2389
+ /**
2390
+ * Updated At
2391
+ */
2392
+ updated_at: string;
2393
+ };
2394
+ /**
2395
+ * TransactionParams
2396
+ */
2397
+ export type TransactionParams = {
2398
+ /**
2399
+ * To
2400
+ */
2401
+ to: string;
2402
+ /**
2403
+ * Value
2404
+ */
2405
+ value: string;
2406
+ /**
2407
+ * Data
2408
+ */
2409
+ data: string;
2410
+ };
2411
+ /**
2412
+ * UpdateAgentHandlerParams
2413
+ */
2414
+ export type UpdateAgentHandlerParams = {
2415
+ /**
2416
+ * Name
2417
+ */
2418
+ name?: string | null;
2419
+ /**
2420
+ * Description
2421
+ */
2422
+ description?: string | null;
2423
+ /**
2424
+ * Prompts
2425
+ */
2426
+ prompts?: Array<ChatMessage> | null;
2427
+ };
2428
+ /**
2429
+ * UpdateAgentToolParams
2430
+ */
2431
+ export type UpdateAgentToolParams = {
2432
+ /**
2433
+ * Name
2434
+ */
2435
+ name?: string | null;
2436
+ /**
2437
+ * Data
2438
+ */
2439
+ data?: (({
2440
+ type: "agent";
2441
+ } & AgentToolDataAgent) | ({
2442
+ type: "mcp";
2443
+ } & AgentToolDataMcp)) | null;
2444
+ /**
2445
+ * Description
2446
+ */
2447
+ description?: string | null;
2448
+ };
2449
+ /**
2450
+ * UpdateAgentTriggerParams
2451
+ */
2452
+ export type UpdateAgentTriggerParams = {
2453
+ /**
2454
+ * Name
2455
+ */
2456
+ name?: string | null;
2457
+ /**
2458
+ * Data
2459
+ */
2460
+ data?: (({
2461
+ type: "continuous";
2462
+ } & AgentTriggerDataContinuous) | ({
2463
+ type: "time";
2464
+ } & AgentTriggerDataTime)) | null;
2465
+ /**
2466
+ * Is Paused
2467
+ */
2468
+ is_paused?: boolean | null;
2469
+ /**
2470
+ * Prompts
2471
+ */
2472
+ prompts?: Array<ChatMessage> | null;
2473
+ };
2474
+ /**
2475
+ * UpdateConversationHandlerParams
2476
+ */
2477
+ export type UpdateConversationHandlerParams = {
2478
+ /**
2479
+ * Title
2480
+ */
2481
+ title?: string | null;
2482
+ /**
2483
+ * Is Public
2484
+ */
2485
+ is_public?: boolean | null;
2486
+ };
2487
+ /**
2488
+ * UpdateMessageHandlerParams
2489
+ */
2490
+ export type UpdateMessageHandlerParams = {
2491
+ /**
2492
+ * Inputs
2493
+ */
2494
+ inputs?: Array<ChatMessage> | null;
2495
+ options?: AgentTaskOptions | null;
2496
+ /**
2497
+ * Stream
2498
+ */
2499
+ stream?: boolean;
2500
+ };
2501
+ /**
2502
+ * UpdateSessionParams
2503
+ */
2504
+ export type UpdateSessionParams = {
2505
+ /**
2506
+ * Title
2507
+ */
2508
+ title?: string | null;
2509
+ /**
2510
+ * Model Name
2511
+ */
2512
+ model_name?: string | null;
2513
+ /**
2514
+ * Is Public
2515
+ */
2516
+ is_public?: boolean | null;
2517
+ context?: CompletionContextInput | null;
2518
+ };
2519
+ /**
2520
+ * UpdateUserWalletParams
2521
+ */
2522
+ export type UpdateUserWalletParams = {
2523
+ type?: WalletType | null;
2524
+ /**
2525
+ * Data
2526
+ */
2527
+ data?: WalletDataServer | WalletDataEip4337 | null;
2528
+ };
2529
+ /**
2530
+ * UserAgentResponse
2531
+ */
2532
+ export type UserAgentResponse = {
2533
+ /**
2534
+ * Id
2535
+ */
2536
+ id: string;
2537
+ /**
2538
+ * Name
2539
+ */
2540
+ name: string;
2541
+ /**
2542
+ * Description
2543
+ */
2544
+ description?: string | null;
2545
+ /**
2546
+ * Created At
2547
+ */
2548
+ created_at: string;
2549
+ /**
2550
+ * Updated At
2551
+ */
2552
+ updated_at: string;
2553
+ };
2554
+ /**
2555
+ * UserConversationResponse
2556
+ */
2557
+ export type UserConversationResponse = {
2558
+ /**
2559
+ * Id
2560
+ */
2561
+ id: string;
2562
+ /**
2563
+ * Title
2564
+ */
2565
+ title: string;
2566
+ /**
2567
+ * Created At
2568
+ */
2569
+ created_at: string;
2570
+ /**
2571
+ * Updated At
2572
+ */
2573
+ updated_at: string;
2574
+ /**
2575
+ * Agent Id
2576
+ */
2577
+ agent_id: string;
2578
+ };
2579
+ /**
2580
+ * UserMemoryResponse
2581
+ */
2582
+ export type UserMemoryResponse = {
2583
+ /**
2584
+ * Id
2585
+ */
2586
+ id: string;
2587
+ };
2588
+ /**
2589
+ * UserResponse
2590
+ */
2591
+ export type UserResponse = {
2592
+ /**
2593
+ * Id
2594
+ */
2595
+ id: string;
2596
+ /**
2597
+ * Agents
2598
+ */
2599
+ agents: Array<UserAgentResponse>;
2600
+ /**
2601
+ * Memories
2602
+ */
2603
+ memories: Array<UserMemoryResponse>;
2604
+ /**
2605
+ * Conversations
2606
+ */
2607
+ conversations: Array<UserConversationResponse>;
2608
+ /**
2609
+ * Wallets
2610
+ */
2611
+ wallets: Array<UserWalletResponse>;
2612
+ };
2613
+ /**
2614
+ * UserWalletResponse
2615
+ */
2616
+ export type UserWalletResponse = {
2617
+ /**
2618
+ * Id
2619
+ */
2620
+ id: string;
2621
+ type: WalletType;
2622
+ /**
2623
+ * Address
2624
+ */
2625
+ address: string;
2626
+ /**
2627
+ * Data
2628
+ */
2629
+ data: ({
2630
+ type: "server";
2631
+ } & WalletDataServer) | ({
2632
+ type: "eip4337";
2633
+ } & WalletDataEip4337);
2634
+ /**
2635
+ * Transactions
2636
+ */
2637
+ transactions?: Array<WalletTransaction>;
2638
+ /**
2639
+ * Created At
2640
+ */
2641
+ created_at: string;
2642
+ /**
2643
+ * Updated At
2644
+ */
2645
+ updated_at: string;
2646
+ };
2647
+ /**
2648
+ * ValidationError
2649
+ */
2650
+ export type ValidationError = {
2651
+ /**
2652
+ * Location
2653
+ */
2654
+ loc: Array<string | number>;
2655
+ /**
2656
+ * Message
2657
+ */
2658
+ msg: string;
2659
+ /**
2660
+ * Error Type
2661
+ */
2662
+ type: string;
2663
+ };
2664
+ /**
2665
+ * VerifyJwtResponse
2666
+ */
2667
+ export type VerifyJwtResponse = {
2668
+ /**
2669
+ * Address
2670
+ */
2671
+ address: string;
2672
+ /**
2673
+ * Is Valid
2674
+ */
2675
+ is_valid: boolean;
2676
+ };
2677
+ /**
2678
+ * WalletDataEIP4337
2679
+ */
2680
+ export type WalletDataEip4337 = {
2681
+ /**
2682
+ * Type
2683
+ */
2684
+ type?: "eip4337";
2685
+ /**
2686
+ * Signer Address
2687
+ */
2688
+ signer_address: string;
2689
+ /**
2690
+ * Factory Address
2691
+ */
2692
+ factory_address: string;
2693
+ /**
2694
+ * Smart Account Address
2695
+ */
2696
+ smart_account_address: string;
2697
+ /**
2698
+ * Entrypoint Address
2699
+ */
2700
+ entrypoint_address: string;
2701
+ /**
2702
+ * Sponsor Gas
2703
+ */
2704
+ sponsor_gas?: boolean;
2705
+ /**
2706
+ * Chain Ids
2707
+ */
2708
+ chain_ids?: Array<number> | null;
2709
+ };
2710
+ /**
2711
+ * WalletDataServer
2712
+ */
2713
+ export type WalletDataServer = {
2714
+ /**
2715
+ * Type
2716
+ */
2717
+ type?: "server";
2718
+ /**
2719
+ * Smart Account Address
2720
+ */
2721
+ smart_account_address: string;
2722
+ };
2723
+ /**
2724
+ * WalletTransaction
2725
+ */
2726
+ export type WalletTransaction = {
2727
+ /**
2728
+ * Id
2729
+ */
2730
+ id: string;
2731
+ /**
2732
+ * Chain Id
2733
+ */
2734
+ chain_id: number;
2735
+ /**
2736
+ * Params
2737
+ */
2738
+ params: Array<TransactionParams>;
2739
+ /**
2740
+ * Hash
2741
+ */
2742
+ hash: string | null;
2743
+ /**
2744
+ * Submitted At
2745
+ */
2746
+ submitted_at: string | null;
2747
+ /**
2748
+ * Cancelled At
2749
+ */
2750
+ cancelled_at: string | null;
2751
+ /**
2752
+ * Errored At
2753
+ */
2754
+ errored_at: string | null;
2755
+ /**
2756
+ * Error Message
2757
+ */
2758
+ error_message: string | null;
2759
+ /**
2760
+ * Created At
2761
+ */
2762
+ created_at: string;
2763
+ /**
2764
+ * Updated At
2765
+ */
2766
+ updated_at: string;
2767
+ };
2768
+ /**
2769
+ * WalletType
2770
+ */
2771
+ export type WalletType = "eoa" | "server" | "eip4337" | "eip7702";
2772
+ export type DeprecatedGetSessionsData = {
2773
+ body?: never;
2774
+ path?: never;
2775
+ query?: never;
2776
+ url: "/session/list";
2777
+ };
2778
+ export type DeprecatedGetSessionsResponses = {
2779
+ /**
2780
+ * Successful Response
2781
+ */
2782
+ 200: ResponseModelListSessionList;
2783
+ };
2784
+ export type DeprecatedGetSessionsResponse = DeprecatedGetSessionsResponses[keyof DeprecatedGetSessionsResponses];
2785
+ export type DeprecatedDeleteSessionData = {
2786
+ body?: never;
2787
+ path: {
2788
+ /**
2789
+ * The id of the session to delete
2790
+ */
2791
+ session_id: string;
2792
+ };
2793
+ query?: never;
2794
+ url: "/session/{session_id}";
2795
+ };
2796
+ export type DeprecatedDeleteSessionErrors = {
2797
+ /**
2798
+ * Validation Error
2799
+ */
2800
+ 422: HttpValidationError;
2801
+ };
2802
+ export type DeprecatedDeleteSessionError = DeprecatedDeleteSessionErrors[keyof DeprecatedDeleteSessionErrors];
2803
+ export type DeprecatedDeleteSessionResponses = {
2804
+ /**
2805
+ * Successful Response
2806
+ */
2807
+ 200: ResponseModelSessionDeleteResponse;
2808
+ };
2809
+ export type DeprecatedDeleteSessionResponse = DeprecatedDeleteSessionResponses[keyof DeprecatedDeleteSessionResponses];
2810
+ export type DeprecatedGetSessionData = {
2811
+ body?: never;
2812
+ path: {
2813
+ /**
2814
+ * The id of the session to fetch
2815
+ */
2816
+ session_id: string;
2817
+ };
2818
+ query?: never;
2819
+ url: "/session/{session_id}";
2820
+ };
2821
+ export type DeprecatedGetSessionErrors = {
2822
+ /**
2823
+ * Validation Error
2824
+ */
2825
+ 422: HttpValidationError;
2826
+ };
2827
+ export type DeprecatedGetSessionError = DeprecatedGetSessionErrors[keyof DeprecatedGetSessionErrors];
2828
+ export type DeprecatedGetSessionResponses = {
2829
+ /**
2830
+ * Successful Response
2831
+ */
2832
+ 200: ResponseModelSession;
2833
+ };
2834
+ export type DeprecatedGetSessionResponse = DeprecatedGetSessionResponses[keyof DeprecatedGetSessionResponses];
2835
+ export type DeprecatedUpdateSessionData = {
2836
+ body: UpdateSessionParams;
2837
+ path: {
2838
+ /**
2839
+ * The id of the session to update
2840
+ */
2841
+ session_id: string;
2842
+ };
2843
+ query?: never;
2844
+ url: "/session/{session_id}";
2845
+ };
2846
+ export type DeprecatedUpdateSessionErrors = {
2847
+ /**
2848
+ * Validation Error
2849
+ */
2850
+ 422: HttpValidationError;
2851
+ };
2852
+ export type DeprecatedUpdateSessionError = DeprecatedUpdateSessionErrors[keyof DeprecatedUpdateSessionErrors];
2853
+ export type DeprecatedUpdateSessionResponses = {
2854
+ /**
2855
+ * Successful Response
2856
+ */
2857
+ 200: ResponseModelSession;
2858
+ };
2859
+ export type DeprecatedUpdateSessionResponse = DeprecatedUpdateSessionResponses[keyof DeprecatedUpdateSessionResponses];
2860
+ export type DeprecatedCreateSessionData = {
2861
+ body: CreateSessionParams;
2862
+ path?: never;
2863
+ query?: never;
2864
+ url: "/session";
2865
+ };
2866
+ export type DeprecatedCreateSessionErrors = {
2867
+ /**
2868
+ * Validation Error
2869
+ */
2870
+ 422: HttpValidationError;
2871
+ };
2872
+ export type DeprecatedCreateSessionError = DeprecatedCreateSessionErrors[keyof DeprecatedCreateSessionErrors];
2873
+ export type DeprecatedCreateSessionResponses = {
2874
+ /**
2875
+ * Successful Response
2876
+ */
2877
+ 200: ResponseModelSession;
2878
+ };
2879
+ export type DeprecatedCreateSessionResponse = DeprecatedCreateSessionResponses[keyof DeprecatedCreateSessionResponses];
2880
+ export type DeprecatedClearSessionData = {
2881
+ body?: never;
2882
+ path: {
2883
+ /**
2884
+ * The id of the session to update
2885
+ */
2886
+ session_id: string;
2887
+ };
2888
+ query?: never;
2889
+ url: "/session/{session_id}/clear";
2890
+ };
2891
+ export type DeprecatedClearSessionErrors = {
2892
+ /**
2893
+ * Validation Error
2894
+ */
2895
+ 422: HttpValidationError;
2896
+ };
2897
+ export type DeprecatedClearSessionError = DeprecatedClearSessionErrors[keyof DeprecatedClearSessionErrors];
2898
+ export type DeprecatedClearSessionResponses = {
2899
+ /**
2900
+ * Successful Response
2901
+ */
2902
+ 200: ResponseModelSession;
2903
+ };
2904
+ export type DeprecatedClearSessionResponse = DeprecatedClearSessionResponses[keyof DeprecatedClearSessionResponses];
2905
+ export type DeprecatedChatData = {
2906
+ /**
2907
+ * Req
2908
+ */
2909
+ body: ChatParamsSingleMessage | ChatParamsMultiMessages;
2910
+ path?: never;
2911
+ query?: never;
2912
+ url: "/chat";
2913
+ };
2914
+ export type DeprecatedChatErrors = {
2915
+ /**
2916
+ * Validation Error
2917
+ */
2918
+ 422: HttpValidationError;
2919
+ };
2920
+ export type DeprecatedChatError = DeprecatedChatErrors[keyof DeprecatedChatErrors];
2921
+ export type DeprecatedChatResponses = {
2922
+ /**
2923
+ * Successful Response
2924
+ */
2925
+ 200: ChatResponse;
2926
+ };
2927
+ export type DeprecatedChatResponse = DeprecatedChatResponses[keyof DeprecatedChatResponses];
2928
+ export type DeprecatedChatCompletionsData = {
2929
+ body: CompletionParams;
2930
+ path?: never;
2931
+ query?: never;
2932
+ url: "/chat/completions";
2933
+ };
2934
+ export type DeprecatedChatCompletionsErrors = {
2935
+ /**
2936
+ * Validation Error
2937
+ */
2938
+ 422: HttpValidationError;
2939
+ };
2940
+ export type DeprecatedChatCompletionsError = DeprecatedChatCompletionsErrors[keyof DeprecatedChatCompletionsErrors];
2941
+ export type DeprecatedChatCompletionsResponses = {
2942
+ /**
2943
+ * Successful Response
2944
+ */
2945
+ 200: CompletionResponse;
2946
+ };
2947
+ export type DeprecatedChatCompletionsResponse = DeprecatedChatCompletionsResponses[keyof DeprecatedChatCompletionsResponses];
2948
+ export type DeprecatedExecuteData = {
2949
+ /**
2950
+ * Req
2951
+ */
2952
+ body: ChatParamsSingleMessage | ChatParamsMultiMessages;
2953
+ path?: never;
2954
+ query?: never;
2955
+ url: "/execute";
2956
+ };
2957
+ export type DeprecatedExecuteErrors = {
2958
+ /**
2959
+ * Validation Error
2960
+ */
2961
+ 422: HttpValidationError;
2962
+ };
2963
+ export type DeprecatedExecuteError = DeprecatedExecuteErrors[keyof DeprecatedExecuteErrors];
2964
+ export type DeprecatedExecuteResponses = {
2965
+ /**
2966
+ * Successful Response
2967
+ */
2968
+ 200: ChatResponse;
2969
+ };
2970
+ export type DeprecatedExecuteResponse = DeprecatedExecuteResponses[keyof DeprecatedExecuteResponses];
2971
+ export type FeedbackData = {
2972
+ body: FeedbackParams;
2973
+ path?: never;
2974
+ query?: never;
2975
+ url: "/feedback";
2976
+ };
2977
+ export type FeedbackErrors = {
2978
+ /**
2979
+ * Validation Error
2980
+ */
2981
+ 422: HttpValidationError;
2982
+ };
2983
+ export type FeedbackError = FeedbackErrors[keyof FeedbackErrors];
2984
+ export type FeedbackResponses = {
2985
+ /**
2986
+ * Successful Response
2987
+ */
2988
+ 200: ResponseModelFeedback;
2989
+ };
2990
+ export type FeedbackResponse = FeedbackResponses[keyof FeedbackResponses];
2991
+ export type GetModelsData = {
2992
+ body?: never;
2993
+ path?: never;
2994
+ query?: never;
2995
+ url: "/models";
2996
+ };
2997
+ export type GetModelsResponses = {
2998
+ /**
2999
+ * Successful Response
3000
+ */
3001
+ 200: ModelResponse;
3002
+ };
3003
+ export type GetModelsResponse = GetModelsResponses[keyof GetModelsResponses];
3004
+ export type GetAuthDelegatePayloadData = {
3005
+ body: GetPayloadParams;
3006
+ path?: never;
3007
+ query?: never;
3008
+ url: "/auth/delegate/payload";
3009
+ };
3010
+ export type GetAuthDelegatePayloadErrors = {
3011
+ /**
3012
+ * Validation Error
3013
+ */
3014
+ 422: HttpValidationError;
3015
+ };
3016
+ export type GetAuthDelegatePayloadError = GetAuthDelegatePayloadErrors[keyof GetAuthDelegatePayloadErrors];
3017
+ export type GetAuthDelegatePayloadResponses = {
3018
+ /**
3019
+ * Successful Response
3020
+ */
3021
+ 200: ResponseModelGetPayloadResponse;
3022
+ };
3023
+ export type GetAuthDelegatePayloadResponse = GetAuthDelegatePayloadResponses[keyof GetAuthDelegatePayloadResponses];
3024
+ export type AuthDelegateLoginData = {
3025
+ body: LoginParams;
3026
+ path?: never;
3027
+ query?: never;
3028
+ url: "/auth/delegate/login";
3029
+ };
3030
+ export type AuthDelegateLoginErrors = {
3031
+ /**
3032
+ * Validation Error
3033
+ */
3034
+ 422: HttpValidationError;
3035
+ };
3036
+ export type AuthDelegateLoginError = AuthDelegateLoginErrors[keyof AuthDelegateLoginErrors];
3037
+ export type AuthDelegateLoginResponses = {
3038
+ /**
3039
+ * Successful Response
3040
+ */
3041
+ 200: ResponseModelLoginResponse;
3042
+ };
3043
+ export type AuthDelegateLoginResponse = AuthDelegateLoginResponses[keyof AuthDelegateLoginResponses];
3044
+ export type VerifyAuthData = {
3045
+ body?: never;
3046
+ path?: never;
3047
+ query?: never;
3048
+ url: "/auth/verify";
3049
+ };
3050
+ export type VerifyAuthResponses = {
3051
+ /**
3052
+ * Successful Response
3053
+ */
3054
+ 200: ResponseModelVerifyJwtResponse;
3055
+ };
3056
+ export type VerifyAuthResponse = VerifyAuthResponses[keyof VerifyAuthResponses];
3057
+ export type GetUserData = {
3058
+ body?: never;
3059
+ path?: never;
3060
+ query?: never;
3061
+ url: "/user";
3062
+ };
3063
+ export type GetUserResponses = {
3064
+ /**
3065
+ * Successful Response
3066
+ */
3067
+ 200: ResponseModelUserResponse;
3068
+ };
3069
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
3070
+ export type GetUserWalletsData = {
3071
+ body?: never;
3072
+ path?: never;
3073
+ query?: never;
3074
+ url: "/user/wallets";
3075
+ };
3076
+ export type GetUserWalletsResponses = {
3077
+ /**
3078
+ * Successful Response
3079
+ */
3080
+ 200: ResponseModelListUserWalletResponse;
3081
+ };
3082
+ export type GetUserWalletsResponse = GetUserWalletsResponses[keyof GetUserWalletsResponses];
3083
+ export type DeleteUserWalletData = {
3084
+ body?: never;
3085
+ path: {
3086
+ /**
3087
+ * Wallet Id
3088
+ */
3089
+ wallet_id: string;
3090
+ };
3091
+ query?: never;
3092
+ url: "/user/wallet/{wallet_id}";
3093
+ };
3094
+ export type DeleteUserWalletErrors = {
3095
+ /**
3096
+ * Validation Error
3097
+ */
3098
+ 422: HttpValidationError;
3099
+ };
3100
+ export type DeleteUserWalletError = DeleteUserWalletErrors[keyof DeleteUserWalletErrors];
3101
+ export type DeleteUserWalletResponses = {
3102
+ /**
3103
+ * Successful Response
3104
+ */
3105
+ 200: unknown;
3106
+ };
3107
+ export type GetUserWalletData = {
3108
+ body?: never;
3109
+ path: {
3110
+ /**
3111
+ * Wallet Id
3112
+ */
3113
+ wallet_id: string;
3114
+ };
3115
+ query?: never;
3116
+ url: "/user/wallet/{wallet_id}";
3117
+ };
3118
+ export type GetUserWalletErrors = {
3119
+ /**
3120
+ * Validation Error
3121
+ */
3122
+ 422: HttpValidationError;
3123
+ };
3124
+ export type GetUserWalletError = GetUserWalletErrors[keyof GetUserWalletErrors];
3125
+ export type GetUserWalletResponses = {
3126
+ /**
3127
+ * Successful Response
3128
+ */
3129
+ 200: ResponseModelUserWalletResponse;
3130
+ };
3131
+ export type GetUserWalletResponse = GetUserWalletResponses[keyof GetUserWalletResponses];
3132
+ export type UpdateUserWalletData = {
3133
+ body: UpdateUserWalletParams;
3134
+ path: {
3135
+ /**
3136
+ * Wallet Id
3137
+ */
3138
+ wallet_id: string;
3139
+ };
3140
+ query?: never;
3141
+ url: "/user/wallet/{wallet_id}";
3142
+ };
3143
+ export type UpdateUserWalletErrors = {
3144
+ /**
3145
+ * Validation Error
3146
+ */
3147
+ 422: HttpValidationError;
3148
+ };
3149
+ export type UpdateUserWalletError = UpdateUserWalletErrors[keyof UpdateUserWalletErrors];
3150
+ export type UpdateUserWalletResponses = {
3151
+ /**
3152
+ * Successful Response
3153
+ */
3154
+ 200: unknown;
3155
+ };
3156
+ export type CreateUserWalletData = {
3157
+ body: CreateUserWalletParams;
3158
+ path?: never;
3159
+ query?: never;
3160
+ url: "/user/wallet";
3161
+ };
3162
+ export type CreateUserWalletErrors = {
3163
+ /**
3164
+ * Validation Error
3165
+ */
3166
+ 422: HttpValidationError;
3167
+ };
3168
+ export type CreateUserWalletError = CreateUserWalletErrors[keyof CreateUserWalletErrors];
3169
+ export type CreateUserWalletResponses = {
3170
+ /**
3171
+ * Successful Response
3172
+ */
3173
+ 200: unknown;
3174
+ };
3175
+ export type GetAgentsData = {
3176
+ body?: never;
3177
+ path?: never;
3178
+ query?: never;
3179
+ url: "/agents";
3180
+ };
3181
+ export type GetAgentsResponses = {
3182
+ /**
3183
+ * Successful Response
3184
+ */
3185
+ 200: ResponseModelListAgentListResponse;
3186
+ };
3187
+ export type GetAgentsResponse = GetAgentsResponses[keyof GetAgentsResponses];
3188
+ export type DeleteAgentData = {
3189
+ body?: never;
3190
+ path: {
3191
+ /**
3192
+ * Agent Id
3193
+ */
3194
+ agent_id: string;
3195
+ };
3196
+ query?: never;
3197
+ url: "/agent/{agent_id}";
3198
+ };
3199
+ export type DeleteAgentErrors = {
3200
+ /**
3201
+ * Validation Error
3202
+ */
3203
+ 422: HttpValidationError;
3204
+ };
3205
+ export type DeleteAgentError = DeleteAgentErrors[keyof DeleteAgentErrors];
3206
+ export type DeleteAgentResponses = {
3207
+ /**
3208
+ * Successful Response
3209
+ */
3210
+ 200: ResponseModelUuid;
3211
+ };
3212
+ export type DeleteAgentResponse = DeleteAgentResponses[keyof DeleteAgentResponses];
3213
+ export type GetAgentData = {
3214
+ body?: never;
3215
+ path: {
3216
+ /**
3217
+ * Agent Id
3218
+ */
3219
+ agent_id: string;
3220
+ };
3221
+ query?: never;
3222
+ url: "/agent/{agent_id}";
3223
+ };
3224
+ export type GetAgentErrors = {
3225
+ /**
3226
+ * Validation Error
3227
+ */
3228
+ 422: HttpValidationError;
3229
+ };
3230
+ export type GetAgentError = GetAgentErrors[keyof GetAgentErrors];
3231
+ export type GetAgentResponses = {
3232
+ /**
3233
+ * Successful Response
3234
+ */
3235
+ 200: ResponseModelAgentResponse;
3236
+ };
3237
+ export type GetAgentResponse = GetAgentResponses[keyof GetAgentResponses];
3238
+ export type UpdateAgentData = {
3239
+ body: UpdateAgentHandlerParams;
3240
+ path: {
3241
+ /**
3242
+ * Agent Id
3243
+ */
3244
+ agent_id: string;
3245
+ };
3246
+ query?: never;
3247
+ url: "/agent/{agent_id}";
3248
+ };
3249
+ export type UpdateAgentErrors = {
3250
+ /**
3251
+ * Validation Error
3252
+ */
3253
+ 422: HttpValidationError;
3254
+ };
3255
+ export type UpdateAgentError = UpdateAgentErrors[keyof UpdateAgentErrors];
3256
+ export type UpdateAgentResponses = {
3257
+ /**
3258
+ * Successful Response
3259
+ */
3260
+ 200: ResponseModelAgentResponse;
3261
+ };
3262
+ export type UpdateAgentResponse = UpdateAgentResponses[keyof UpdateAgentResponses];
3263
+ export type CreateAgentData = {
3264
+ body: CreateAgentHandlerParams;
3265
+ path?: never;
3266
+ query?: never;
3267
+ url: "/agent";
3268
+ };
3269
+ export type CreateAgentErrors = {
3270
+ /**
3271
+ * Validation Error
3272
+ */
3273
+ 422: HttpValidationError;
3274
+ };
3275
+ export type CreateAgentError = CreateAgentErrors[keyof CreateAgentErrors];
3276
+ export type CreateAgentResponses = {
3277
+ /**
3278
+ * Successful Response
3279
+ */
3280
+ 200: ResponseModelAgentResponse;
3281
+ };
3282
+ export type CreateAgentResponse = CreateAgentResponses[keyof CreateAgentResponses];
3283
+ export type DeleteAgentTriggerData = {
3284
+ body?: never;
3285
+ path: {
3286
+ /**
3287
+ * Agent Id
3288
+ */
3289
+ agent_id: string;
3290
+ /**
3291
+ * Trigger Id
3292
+ */
3293
+ trigger_id: string;
3294
+ };
3295
+ query?: never;
3296
+ url: "/agent/{agent_id}/trigger/{trigger_id}";
3297
+ };
3298
+ export type DeleteAgentTriggerErrors = {
3299
+ /**
3300
+ * Validation Error
3301
+ */
3302
+ 422: HttpValidationError;
3303
+ };
3304
+ export type DeleteAgentTriggerError = DeleteAgentTriggerErrors[keyof DeleteAgentTriggerErrors];
3305
+ export type DeleteAgentTriggerResponses = {
3306
+ /**
3307
+ * Successful Response
3308
+ */
3309
+ 200: ResponseModelUuid;
3310
+ };
3311
+ export type DeleteAgentTriggerResponse = DeleteAgentTriggerResponses[keyof DeleteAgentTriggerResponses];
3312
+ export type GetAgentTriggerData = {
3313
+ body?: never;
3314
+ path: {
3315
+ /**
3316
+ * Agent Id
3317
+ */
3318
+ agent_id: string;
3319
+ /**
3320
+ * Trigger Id
3321
+ */
3322
+ trigger_id: string;
3323
+ };
3324
+ query?: never;
3325
+ url: "/agent/{agent_id}/trigger/{trigger_id}";
3326
+ };
3327
+ export type GetAgentTriggerErrors = {
3328
+ /**
3329
+ * Validation Error
3330
+ */
3331
+ 422: HttpValidationError;
3332
+ };
3333
+ export type GetAgentTriggerError = GetAgentTriggerErrors[keyof GetAgentTriggerErrors];
3334
+ export type GetAgentTriggerResponses = {
3335
+ /**
3336
+ * Successful Response
3337
+ */
3338
+ 200: ResponseModelAgentTriggerResponse;
3339
+ };
3340
+ export type GetAgentTriggerResponse = GetAgentTriggerResponses[keyof GetAgentTriggerResponses];
3341
+ export type UpdateAgentTriggerData = {
3342
+ body: UpdateAgentTriggerParams;
3343
+ path: {
3344
+ /**
3345
+ * Agent Id
3346
+ */
3347
+ agent_id: string;
3348
+ /**
3349
+ * Trigger Id
3350
+ */
3351
+ trigger_id: string;
3352
+ };
3353
+ query?: never;
3354
+ url: "/agent/{agent_id}/trigger/{trigger_id}";
3355
+ };
3356
+ export type UpdateAgentTriggerErrors = {
3357
+ /**
3358
+ * Validation Error
3359
+ */
3360
+ 422: HttpValidationError;
3361
+ };
3362
+ export type UpdateAgentTriggerError = UpdateAgentTriggerErrors[keyof UpdateAgentTriggerErrors];
3363
+ export type UpdateAgentTriggerResponses = {
3364
+ /**
3365
+ * Successful Response
3366
+ */
3367
+ 200: ResponseModelAgentTriggerResponse;
3368
+ };
3369
+ export type UpdateAgentTriggerResponse = UpdateAgentTriggerResponses[keyof UpdateAgentTriggerResponses];
3370
+ export type CreateAgentTriggerData = {
3371
+ body: CreateAgentTriggerParams;
3372
+ path: {
3373
+ /**
3374
+ * Agent Id
3375
+ */
3376
+ agent_id: string;
3377
+ };
3378
+ query?: never;
3379
+ url: "/agent/{agent_id}/trigger";
3380
+ };
3381
+ export type CreateAgentTriggerErrors = {
3382
+ /**
3383
+ * Validation Error
3384
+ */
3385
+ 422: HttpValidationError;
3386
+ };
3387
+ export type CreateAgentTriggerError = CreateAgentTriggerErrors[keyof CreateAgentTriggerErrors];
3388
+ export type CreateAgentTriggerResponses = {
3389
+ /**
3390
+ * Successful Response
3391
+ */
3392
+ 200: ResponseModelAgentTriggerResponse;
3393
+ };
3394
+ export type CreateAgentTriggerResponse = CreateAgentTriggerResponses[keyof CreateAgentTriggerResponses];
3395
+ export type DeleteAgentToolData = {
3396
+ body?: never;
3397
+ path: {
3398
+ /**
3399
+ * Agent Id
3400
+ */
3401
+ agent_id: string;
3402
+ /**
3403
+ * Tool Id
3404
+ */
3405
+ tool_id: string;
3406
+ };
3407
+ query?: never;
3408
+ url: "/agent/{agent_id}/tool/{tool_id}";
3409
+ };
3410
+ export type DeleteAgentToolErrors = {
3411
+ /**
3412
+ * Validation Error
3413
+ */
3414
+ 422: HttpValidationError;
3415
+ };
3416
+ export type DeleteAgentToolError = DeleteAgentToolErrors[keyof DeleteAgentToolErrors];
3417
+ export type DeleteAgentToolResponses = {
3418
+ /**
3419
+ * Successful Response
3420
+ */
3421
+ 200: ResponseModelUuid;
3422
+ };
3423
+ export type DeleteAgentToolResponse = DeleteAgentToolResponses[keyof DeleteAgentToolResponses];
3424
+ export type GetAgentToolData = {
3425
+ body?: never;
3426
+ path: {
3427
+ /**
3428
+ * Agent Id
3429
+ */
3430
+ agent_id: string;
3431
+ /**
3432
+ * Tool Id
3433
+ */
3434
+ tool_id: string;
3435
+ };
3436
+ query?: never;
3437
+ url: "/agent/{agent_id}/tool/{tool_id}";
3438
+ };
3439
+ export type GetAgentToolErrors = {
3440
+ /**
3441
+ * Validation Error
3442
+ */
3443
+ 422: HttpValidationError;
3444
+ };
3445
+ export type GetAgentToolError = GetAgentToolErrors[keyof GetAgentToolErrors];
3446
+ export type GetAgentToolResponses = {
3447
+ /**
3448
+ * Successful Response
3449
+ */
3450
+ 200: ResponseModelAgentToolResponse;
3451
+ };
3452
+ export type GetAgentToolResponse = GetAgentToolResponses[keyof GetAgentToolResponses];
3453
+ export type UpdateAgentToolData = {
3454
+ body: UpdateAgentToolParams;
3455
+ path: {
3456
+ /**
3457
+ * Agent Id
3458
+ */
3459
+ agent_id: string;
3460
+ /**
3461
+ * Tool Id
3462
+ */
3463
+ tool_id: string;
3464
+ };
3465
+ query?: never;
3466
+ url: "/agent/{agent_id}/tool/{tool_id}";
3467
+ };
3468
+ export type UpdateAgentToolErrors = {
3469
+ /**
3470
+ * Validation Error
3471
+ */
3472
+ 422: HttpValidationError;
3473
+ };
3474
+ export type UpdateAgentToolError = UpdateAgentToolErrors[keyof UpdateAgentToolErrors];
3475
+ export type UpdateAgentToolResponses = {
3476
+ /**
3477
+ * Successful Response
3478
+ */
3479
+ 200: ResponseModelAgentToolResponse;
3480
+ };
3481
+ export type UpdateAgentToolResponse = UpdateAgentToolResponses[keyof UpdateAgentToolResponses];
3482
+ export type CreateAgentToolData = {
3483
+ body: CreateAgentToolParams;
3484
+ path: {
3485
+ /**
3486
+ * Agent Id
3487
+ */
3488
+ agent_id: string;
3489
+ };
3490
+ query?: never;
3491
+ url: "/agent/{agent_id}/tool";
3492
+ };
3493
+ export type CreateAgentToolErrors = {
3494
+ /**
3495
+ * Validation Error
3496
+ */
3497
+ 422: HttpValidationError;
3498
+ };
3499
+ export type CreateAgentToolError = CreateAgentToolErrors[keyof CreateAgentToolErrors];
3500
+ export type CreateAgentToolResponses = {
3501
+ /**
3502
+ * Successful Response
3503
+ */
3504
+ 200: ResponseModelAgentToolResponse;
3505
+ };
3506
+ export type CreateAgentToolResponse = CreateAgentToolResponses[keyof CreateAgentToolResponses];
3507
+ export type GetAgentWalletsData = {
3508
+ body?: never;
3509
+ path: {
3510
+ /**
3511
+ * Agent Id
3512
+ */
3513
+ agent_id: string;
3514
+ };
3515
+ query?: never;
3516
+ url: "/agent/{agent_id}/wallets";
3517
+ };
3518
+ export type GetAgentWalletsErrors = {
3519
+ /**
3520
+ * Validation Error
3521
+ */
3522
+ 422: HttpValidationError;
3523
+ };
3524
+ export type GetAgentWalletsError = GetAgentWalletsErrors[keyof GetAgentWalletsErrors];
3525
+ export type GetAgentWalletsResponses = {
3526
+ /**
3527
+ * Successful Response
3528
+ */
3529
+ 200: ResponseModelListAgentWalletResponse;
3530
+ };
3531
+ export type GetAgentWalletsResponse = GetAgentWalletsResponses[keyof GetAgentWalletsResponses];
3532
+ export type GetAgentWalletData = {
3533
+ body?: never;
3534
+ path: {
3535
+ /**
3536
+ * Agent Id
3537
+ */
3538
+ agent_id: string;
3539
+ /**
3540
+ * Wallet Id
3541
+ */
3542
+ wallet_id: string;
3543
+ };
3544
+ query?: never;
3545
+ url: "/agent/{agent_id}/wallet/{wallet_id}";
3546
+ };
3547
+ export type GetAgentWalletErrors = {
3548
+ /**
3549
+ * Validation Error
3550
+ */
3551
+ 422: HttpValidationError;
3552
+ };
3553
+ export type GetAgentWalletError = GetAgentWalletErrors[keyof GetAgentWalletErrors];
3554
+ export type GetAgentWalletResponses = {
3555
+ /**
3556
+ * Successful Response
3557
+ */
3558
+ 200: ResponseModelAgentWalletResponse;
3559
+ };
3560
+ export type GetAgentWalletResponse = GetAgentWalletResponses[keyof GetAgentWalletResponses];
3561
+ export type GetConversationsData = {
3562
+ body?: never;
3563
+ path?: never;
3564
+ query?: {
3565
+ /**
3566
+ * Agent Id
3567
+ */
3568
+ agent_id?: string | null;
3569
+ };
3570
+ url: "/conversations";
3571
+ };
3572
+ export type GetConversationsErrors = {
3573
+ /**
3574
+ * Validation Error
3575
+ */
3576
+ 422: HttpValidationError;
3577
+ };
3578
+ export type GetConversationsError = GetConversationsErrors[keyof GetConversationsErrors];
3579
+ export type GetConversationsResponses = {
3580
+ /**
3581
+ * Successful Response
3582
+ */
3583
+ 200: ResponseModelListConversationListResponse;
3584
+ };
3585
+ export type GetConversationsResponse = GetConversationsResponses[keyof GetConversationsResponses];
3586
+ export type DeleteConversationData = {
3587
+ body?: never;
3588
+ path: {
3589
+ /**
3590
+ * Conversation Id
3591
+ */
3592
+ conversation_id: string;
3593
+ };
3594
+ query?: never;
3595
+ url: "/conversation/{conversation_id}";
3596
+ };
3597
+ export type DeleteConversationErrors = {
3598
+ /**
3599
+ * Validation Error
3600
+ */
3601
+ 422: HttpValidationError;
3602
+ };
3603
+ export type DeleteConversationError = DeleteConversationErrors[keyof DeleteConversationErrors];
3604
+ export type DeleteConversationResponses = {
3605
+ /**
3606
+ * Successful Response
3607
+ */
3608
+ 200: ResponseModelUuid;
3609
+ };
3610
+ export type DeleteConversationResponse = DeleteConversationResponses[keyof DeleteConversationResponses];
3611
+ export type GetConversationData = {
3612
+ body?: never;
3613
+ path: {
3614
+ /**
3615
+ * Conversation Id
3616
+ */
3617
+ conversation_id: string;
3618
+ };
3619
+ query?: never;
3620
+ url: "/conversation/{conversation_id}";
3621
+ };
3622
+ export type GetConversationErrors = {
3623
+ /**
3624
+ * Validation Error
3625
+ */
3626
+ 422: HttpValidationError;
3627
+ };
3628
+ export type GetConversationError = GetConversationErrors[keyof GetConversationErrors];
3629
+ export type GetConversationResponses = {
3630
+ /**
3631
+ * Successful Response
3632
+ */
3633
+ 200: ResponseModelConversationResponseReadable;
3634
+ };
3635
+ export type GetConversationResponse = GetConversationResponses[keyof GetConversationResponses];
3636
+ export type UpdateConversationData = {
3637
+ body: UpdateConversationHandlerParams;
3638
+ path: {
3639
+ /**
3640
+ * Conversation Id
3641
+ */
3642
+ conversation_id: string;
3643
+ };
3644
+ query?: never;
3645
+ url: "/conversation/{conversation_id}";
3646
+ };
3647
+ export type UpdateConversationErrors = {
3648
+ /**
3649
+ * Validation Error
3650
+ */
3651
+ 422: HttpValidationError;
3652
+ };
3653
+ export type UpdateConversationError = UpdateConversationErrors[keyof UpdateConversationErrors];
3654
+ export type UpdateConversationResponses = {
3655
+ /**
3656
+ * Successful Response
3657
+ */
3658
+ 200: ResponseModelConversationResponseReadable;
3659
+ };
3660
+ export type UpdateConversationResponse = UpdateConversationResponses[keyof UpdateConversationResponses];
3661
+ export type CreateConversationData = {
3662
+ body: CreateConversationHandlerParams;
3663
+ path?: never;
3664
+ query?: never;
3665
+ url: "/conversation";
3666
+ };
3667
+ export type CreateConversationErrors = {
3668
+ /**
3669
+ * Validation Error
3670
+ */
3671
+ 422: HttpValidationError;
3672
+ };
3673
+ export type CreateConversationError = CreateConversationErrors[keyof CreateConversationErrors];
3674
+ export type CreateConversationResponses = {
3675
+ /**
3676
+ * Successful Response
3677
+ */
3678
+ 200: ResponseModelConversationResponseReadable;
3679
+ };
3680
+ export type CreateConversationResponse = CreateConversationResponses[keyof CreateConversationResponses];
3681
+ export type CreateConversationMessageData = {
3682
+ body: CreateMessageHandlerParams;
3683
+ path: {
3684
+ /**
3685
+ * Conversation Id
3686
+ */
3687
+ conversation_id: string;
3688
+ };
3689
+ query?: never;
3690
+ url: "/conversation/{conversation_id}/message";
3691
+ };
3692
+ export type CreateConversationMessageErrors = {
3693
+ /**
3694
+ * Validation Error
3695
+ */
3696
+ 422: HttpValidationError;
3697
+ };
3698
+ export type CreateConversationMessageError = CreateConversationMessageErrors[keyof CreateConversationMessageErrors];
3699
+ export type CreateConversationMessageResponses = {
3700
+ /**
3701
+ * Successful Response
3702
+ */
3703
+ 200: ResponseModelConversationMessageResponseReadable;
3704
+ };
3705
+ export type CreateConversationMessageResponse = CreateConversationMessageResponses[keyof CreateConversationMessageResponses];
3706
+ export type UpdateConversationMessageData = {
3707
+ body: UpdateMessageHandlerParams;
3708
+ path: {
3709
+ /**
3710
+ * Conversation Id
3711
+ */
3712
+ conversation_id: string;
3713
+ /**
3714
+ * Message Id
3715
+ */
3716
+ message_id: string;
3717
+ };
3718
+ query?: never;
3719
+ url: "/conversation/{conversation_id}/message/{message_id}";
3720
+ };
3721
+ export type UpdateConversationMessageErrors = {
3722
+ /**
3723
+ * Validation Error
3724
+ */
3725
+ 422: HttpValidationError;
3726
+ };
3727
+ export type UpdateConversationMessageError = UpdateConversationMessageErrors[keyof UpdateConversationMessageErrors];
3728
+ export type UpdateConversationMessageResponses = {
3729
+ /**
3730
+ * Successful Response
3731
+ */
3732
+ 200: ResponseModelConversationMessageResponseReadable;
3733
+ };
3734
+ export type UpdateConversationMessageResponse = UpdateConversationMessageResponses[keyof UpdateConversationMessageResponses];
3735
+ export type GetRegistryAgentsData = {
3736
+ body?: never;
3737
+ path?: never;
3738
+ query?: {
3739
+ /**
3740
+ * User Id
3741
+ */
3742
+ user_id?: string | null;
3743
+ /**
3744
+ * Search Name
3745
+ */
3746
+ search_name?: string | null;
3747
+ /**
3748
+ * Search Description
3749
+ */
3750
+ search_description?: string | null;
3751
+ /**
3752
+ * Created After
3753
+ */
3754
+ created_after?: string | null;
3755
+ /**
3756
+ * Created Before
3757
+ */
3758
+ created_before?: string | null;
3759
+ /**
3760
+ * Updated After
3761
+ */
3762
+ updated_after?: string | null;
3763
+ /**
3764
+ * Updated Before
3765
+ */
3766
+ updated_before?: string | null;
3767
+ /**
3768
+ * Sort By
3769
+ */
3770
+ sort_by?: "created_at" | "updated_at" | "name";
3771
+ /**
3772
+ * Sort Order
3773
+ */
3774
+ sort_order?: "asc" | "desc";
3775
+ /**
3776
+ * Limit
3777
+ */
3778
+ limit?: number;
3779
+ /**
3780
+ * Offset
3781
+ */
3782
+ offset?: number;
3783
+ };
3784
+ url: "/registry/agents";
3785
+ };
3786
+ export type GetRegistryAgentsErrors = {
3787
+ /**
3788
+ * Validation Error
3789
+ */
3790
+ 422: HttpValidationError;
3791
+ };
3792
+ export type GetRegistryAgentsError = GetRegistryAgentsErrors[keyof GetRegistryAgentsErrors];
3793
+ export type GetRegistryAgentsResponses = {
3794
+ /**
3795
+ * Successful Response
3796
+ */
3797
+ 200: ResponseModelListRegistryAgentListResponse;
3798
+ };
3799
+ export type GetRegistryAgentsResponse = GetRegistryAgentsResponses[keyof GetRegistryAgentsResponses];
3800
+ export type ClientOptions = {
3801
+ baseUrl: "http://localhost:4242" | (string & {});
3802
+ };
3803
+ //# sourceMappingURL=types.gen.d.ts.map