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