@illalabs/interfaces 0.3.0-canary.76d235f0 → 0.3.0-canary.842eb5db

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 (39) hide show
  1. package/dist/schemas/chatContext.d.ts +3 -0
  2. package/dist/schemas/chatContext.d.ts.map +1 -1
  3. package/dist/schemas/chatRequestBody.d.ts +12 -0
  4. package/dist/schemas/chatRequestBody.d.ts.map +1 -1
  5. package/dist/schemas/messages.d.ts +473 -0
  6. package/dist/schemas/messages.d.ts.map +1 -1
  7. package/dist/schemas/messages.js +64 -0
  8. package/dist/schemas/messages.js.map +1 -1
  9. package/dist/schemas/telemetryEvents.d.ts +772 -0
  10. package/dist/schemas/telemetryEvents.d.ts.map +1 -1
  11. package/dist/schemas/userContext.d.ts +3 -0
  12. package/dist/schemas/userContext.d.ts.map +1 -1
  13. package/dist/schemas/userContext.js +4 -0
  14. package/dist/schemas/userContext.js.map +1 -1
  15. package/dist/types/actions/inputs.d.ts +5 -2
  16. package/dist/types/actions/inputs.d.ts.map +1 -1
  17. package/dist/types/actions/outputs.d.ts +19 -1
  18. package/dist/types/actions/outputs.d.ts.map +1 -1
  19. package/dist/types/actions/tools/getWalletBalanceAction.d.ts +2 -1
  20. package/dist/types/actions/tools/getWalletBalanceAction.d.ts.map +1 -1
  21. package/dist/types/actions/tools/index.d.ts +9 -0
  22. package/dist/types/actions/tools/index.d.ts.map +1 -1
  23. package/dist/types/actions/tools/polymarketPostOrderAction.d.ts +83 -0
  24. package/dist/types/actions/tools/polymarketPostOrderAction.d.ts.map +1 -0
  25. package/dist/types/actions/tools/polymarketPostOrderAction.js +2 -0
  26. package/dist/types/actions/tools/polymarketPostOrderAction.js.map +1 -0
  27. package/dist/types/actions/tools/predictionMarketsBetAction.d.ts +19 -0
  28. package/dist/types/actions/tools/predictionMarketsBetAction.d.ts.map +1 -0
  29. package/dist/types/actions/tools/predictionMarketsBetAction.js +2 -0
  30. package/dist/types/actions/tools/predictionMarketsBetAction.js.map +1 -0
  31. package/dist/types/actions/tools/predictionMarketsPositionsAction.d.ts +25 -0
  32. package/dist/types/actions/tools/predictionMarketsPositionsAction.d.ts.map +1 -0
  33. package/dist/types/actions/tools/predictionMarketsPositionsAction.js +2 -0
  34. package/dist/types/actions/tools/predictionMarketsPositionsAction.js.map +1 -0
  35. package/dist/utils/constants.d.ts +2 -2
  36. package/dist/utils/constants.d.ts.map +1 -1
  37. package/dist/utils/constants.js +4 -1
  38. package/dist/utils/constants.js.map +1 -1
  39. package/package.json +1 -1
@@ -983,6 +983,256 @@ export declare const resultEventDataSchema: z.ZodObject<{
983
983
  } | undefined;
984
984
  };
985
985
  type: "SingleTransaction";
986
+ }>, z.ZodObject<{
987
+ type: z.ZodLiteral<"SignatureRequests">;
988
+ value: z.ZodObject<{
989
+ signatureRequests: z.ZodArray<z.ZodDiscriminatedUnion<"signMethod", [z.ZodObject<{
990
+ id: z.ZodString;
991
+ signerAddress: z.ZodString;
992
+ description: z.ZodOptional<z.ZodString>;
993
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
994
+ } & {
995
+ signMethod: z.ZodLiteral<"typedData">;
996
+ typedData: z.ZodObject<{
997
+ types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
998
+ name: z.ZodString;
999
+ type: z.ZodString;
1000
+ }, "strip", z.ZodTypeAny, {
1001
+ type: string;
1002
+ name: string;
1003
+ }, {
1004
+ type: string;
1005
+ name: string;
1006
+ }>, "many">>;
1007
+ domain: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1008
+ message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1009
+ primaryType: z.ZodString;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ message: Record<string, unknown>;
1012
+ types: Record<string, {
1013
+ type: string;
1014
+ name: string;
1015
+ }[]>;
1016
+ domain: Record<string, unknown>;
1017
+ primaryType: string;
1018
+ }, {
1019
+ message: Record<string, unknown>;
1020
+ types: Record<string, {
1021
+ type: string;
1022
+ name: string;
1023
+ }[]>;
1024
+ domain: Record<string, unknown>;
1025
+ primaryType: string;
1026
+ }>;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ id: string;
1029
+ signerAddress: string;
1030
+ signMethod: "typedData";
1031
+ typedData: {
1032
+ message: Record<string, unknown>;
1033
+ types: Record<string, {
1034
+ type: string;
1035
+ name: string;
1036
+ }[]>;
1037
+ domain: Record<string, unknown>;
1038
+ primaryType: string;
1039
+ };
1040
+ description?: string | undefined;
1041
+ metadata?: Record<string, unknown> | undefined;
1042
+ }, {
1043
+ id: string;
1044
+ signerAddress: string;
1045
+ signMethod: "typedData";
1046
+ typedData: {
1047
+ message: Record<string, unknown>;
1048
+ types: Record<string, {
1049
+ type: string;
1050
+ name: string;
1051
+ }[]>;
1052
+ domain: Record<string, unknown>;
1053
+ primaryType: string;
1054
+ };
1055
+ description?: string | undefined;
1056
+ metadata?: Record<string, unknown> | undefined;
1057
+ }>, z.ZodObject<{
1058
+ id: z.ZodString;
1059
+ signerAddress: z.ZodString;
1060
+ description: z.ZodOptional<z.ZodString>;
1061
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1062
+ } & {
1063
+ signMethod: z.ZodLiteral<"message">;
1064
+ rawHash: z.ZodString;
1065
+ }, "strip", z.ZodTypeAny, {
1066
+ id: string;
1067
+ signerAddress: string;
1068
+ signMethod: "message";
1069
+ rawHash: string;
1070
+ description?: string | undefined;
1071
+ metadata?: Record<string, unknown> | undefined;
1072
+ }, {
1073
+ id: string;
1074
+ signerAddress: string;
1075
+ signMethod: "message";
1076
+ rawHash: string;
1077
+ description?: string | undefined;
1078
+ metadata?: Record<string, unknown> | undefined;
1079
+ }>]>, "many">;
1080
+ transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1081
+ transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
1082
+ metadata: z.ZodOptional<z.ZodObject<{
1083
+ explorerUrl: z.ZodOptional<z.ZodString>;
1084
+ usdValue: z.ZodOptional<z.ZodString>;
1085
+ }, "strip", z.ZodTypeAny, {
1086
+ explorerUrl?: string | undefined;
1087
+ usdValue?: string | undefined;
1088
+ }, {
1089
+ explorerUrl?: string | undefined;
1090
+ usdValue?: string | undefined;
1091
+ }>>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1094
+ metadata?: {
1095
+ explorerUrl?: string | undefined;
1096
+ usdValue?: string | undefined;
1097
+ } | undefined;
1098
+ }, {
1099
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1100
+ metadata?: {
1101
+ explorerUrl?: string | undefined;
1102
+ usdValue?: string | undefined;
1103
+ } | undefined;
1104
+ }>, "many">>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ signatureRequests: ({
1107
+ id: string;
1108
+ signerAddress: string;
1109
+ signMethod: "typedData";
1110
+ typedData: {
1111
+ message: Record<string, unknown>;
1112
+ types: Record<string, {
1113
+ type: string;
1114
+ name: string;
1115
+ }[]>;
1116
+ domain: Record<string, unknown>;
1117
+ primaryType: string;
1118
+ };
1119
+ description?: string | undefined;
1120
+ metadata?: Record<string, unknown> | undefined;
1121
+ } | {
1122
+ id: string;
1123
+ signerAddress: string;
1124
+ signMethod: "message";
1125
+ rawHash: string;
1126
+ description?: string | undefined;
1127
+ metadata?: Record<string, unknown> | undefined;
1128
+ })[];
1129
+ transactions?: {
1130
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1131
+ metadata?: {
1132
+ explorerUrl?: string | undefined;
1133
+ usdValue?: string | undefined;
1134
+ } | undefined;
1135
+ }[] | undefined;
1136
+ }, {
1137
+ signatureRequests: ({
1138
+ id: string;
1139
+ signerAddress: string;
1140
+ signMethod: "typedData";
1141
+ typedData: {
1142
+ message: Record<string, unknown>;
1143
+ types: Record<string, {
1144
+ type: string;
1145
+ name: string;
1146
+ }[]>;
1147
+ domain: Record<string, unknown>;
1148
+ primaryType: string;
1149
+ };
1150
+ description?: string | undefined;
1151
+ metadata?: Record<string, unknown> | undefined;
1152
+ } | {
1153
+ id: string;
1154
+ signerAddress: string;
1155
+ signMethod: "message";
1156
+ rawHash: string;
1157
+ description?: string | undefined;
1158
+ metadata?: Record<string, unknown> | undefined;
1159
+ })[];
1160
+ transactions?: {
1161
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1162
+ metadata?: {
1163
+ explorerUrl?: string | undefined;
1164
+ usdValue?: string | undefined;
1165
+ } | undefined;
1166
+ }[] | undefined;
1167
+ }>;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ value: {
1170
+ signatureRequests: ({
1171
+ id: string;
1172
+ signerAddress: string;
1173
+ signMethod: "typedData";
1174
+ typedData: {
1175
+ message: Record<string, unknown>;
1176
+ types: Record<string, {
1177
+ type: string;
1178
+ name: string;
1179
+ }[]>;
1180
+ domain: Record<string, unknown>;
1181
+ primaryType: string;
1182
+ };
1183
+ description?: string | undefined;
1184
+ metadata?: Record<string, unknown> | undefined;
1185
+ } | {
1186
+ id: string;
1187
+ signerAddress: string;
1188
+ signMethod: "message";
1189
+ rawHash: string;
1190
+ description?: string | undefined;
1191
+ metadata?: Record<string, unknown> | undefined;
1192
+ })[];
1193
+ transactions?: {
1194
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1195
+ metadata?: {
1196
+ explorerUrl?: string | undefined;
1197
+ usdValue?: string | undefined;
1198
+ } | undefined;
1199
+ }[] | undefined;
1200
+ };
1201
+ type: "SignatureRequests";
1202
+ }, {
1203
+ value: {
1204
+ signatureRequests: ({
1205
+ id: string;
1206
+ signerAddress: string;
1207
+ signMethod: "typedData";
1208
+ typedData: {
1209
+ message: Record<string, unknown>;
1210
+ types: Record<string, {
1211
+ type: string;
1212
+ name: string;
1213
+ }[]>;
1214
+ domain: Record<string, unknown>;
1215
+ primaryType: string;
1216
+ };
1217
+ description?: string | undefined;
1218
+ metadata?: Record<string, unknown> | undefined;
1219
+ } | {
1220
+ id: string;
1221
+ signerAddress: string;
1222
+ signMethod: "message";
1223
+ rawHash: string;
1224
+ description?: string | undefined;
1225
+ metadata?: Record<string, unknown> | undefined;
1226
+ })[];
1227
+ transactions?: {
1228
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1229
+ metadata?: {
1230
+ explorerUrl?: string | undefined;
1231
+ usdValue?: string | undefined;
1232
+ } | undefined;
1233
+ }[] | undefined;
1234
+ };
1235
+ type: "SignatureRequests";
986
1236
  }>]>;
987
1237
  }, "strict", z.ZodTypeAny, {
988
1238
  type: "tool-call";
@@ -1004,6 +1254,40 @@ export declare const resultEventDataSchema: z.ZodObject<{
1004
1254
  } | undefined;
1005
1255
  };
1006
1256
  type: "SingleTransaction";
1257
+ } | {
1258
+ value: {
1259
+ signatureRequests: ({
1260
+ id: string;
1261
+ signerAddress: string;
1262
+ signMethod: "typedData";
1263
+ typedData: {
1264
+ message: Record<string, unknown>;
1265
+ types: Record<string, {
1266
+ type: string;
1267
+ name: string;
1268
+ }[]>;
1269
+ domain: Record<string, unknown>;
1270
+ primaryType: string;
1271
+ };
1272
+ description?: string | undefined;
1273
+ metadata?: Record<string, unknown> | undefined;
1274
+ } | {
1275
+ id: string;
1276
+ signerAddress: string;
1277
+ signMethod: "message";
1278
+ rawHash: string;
1279
+ description?: string | undefined;
1280
+ metadata?: Record<string, unknown> | undefined;
1281
+ })[];
1282
+ transactions?: {
1283
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1284
+ metadata?: {
1285
+ explorerUrl?: string | undefined;
1286
+ usdValue?: string | undefined;
1287
+ } | undefined;
1288
+ }[] | undefined;
1289
+ };
1290
+ type: "SignatureRequests";
1007
1291
  };
1008
1292
  toolCallId: string;
1009
1293
  toolName: string;
@@ -1027,6 +1311,40 @@ export declare const resultEventDataSchema: z.ZodObject<{
1027
1311
  } | undefined;
1028
1312
  };
1029
1313
  type: "SingleTransaction";
1314
+ } | {
1315
+ value: {
1316
+ signatureRequests: ({
1317
+ id: string;
1318
+ signerAddress: string;
1319
+ signMethod: "typedData";
1320
+ typedData: {
1321
+ message: Record<string, unknown>;
1322
+ types: Record<string, {
1323
+ type: string;
1324
+ name: string;
1325
+ }[]>;
1326
+ domain: Record<string, unknown>;
1327
+ primaryType: string;
1328
+ };
1329
+ description?: string | undefined;
1330
+ metadata?: Record<string, unknown> | undefined;
1331
+ } | {
1332
+ id: string;
1333
+ signerAddress: string;
1334
+ signMethod: "message";
1335
+ rawHash: string;
1336
+ description?: string | undefined;
1337
+ metadata?: Record<string, unknown> | undefined;
1338
+ })[];
1339
+ transactions?: {
1340
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1341
+ metadata?: {
1342
+ explorerUrl?: string | undefined;
1343
+ usdValue?: string | undefined;
1344
+ } | undefined;
1345
+ }[] | undefined;
1346
+ };
1347
+ type: "SignatureRequests";
1030
1348
  };
1031
1349
  toolCallId: string;
1032
1350
  toolName: string;
@@ -1140,6 +1458,40 @@ export declare const resultEventDataSchema: z.ZodObject<{
1140
1458
  } | undefined;
1141
1459
  };
1142
1460
  type: "SingleTransaction";
1461
+ } | {
1462
+ value: {
1463
+ signatureRequests: ({
1464
+ id: string;
1465
+ signerAddress: string;
1466
+ signMethod: "typedData";
1467
+ typedData: {
1468
+ message: Record<string, unknown>;
1469
+ types: Record<string, {
1470
+ type: string;
1471
+ name: string;
1472
+ }[]>;
1473
+ domain: Record<string, unknown>;
1474
+ primaryType: string;
1475
+ };
1476
+ description?: string | undefined;
1477
+ metadata?: Record<string, unknown> | undefined;
1478
+ } | {
1479
+ id: string;
1480
+ signerAddress: string;
1481
+ signMethod: "message";
1482
+ rawHash: string;
1483
+ description?: string | undefined;
1484
+ metadata?: Record<string, unknown> | undefined;
1485
+ })[];
1486
+ transactions?: {
1487
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1488
+ metadata?: {
1489
+ explorerUrl?: string | undefined;
1490
+ usdValue?: string | undefined;
1491
+ } | undefined;
1492
+ }[] | undefined;
1493
+ };
1494
+ type: "SignatureRequests";
1143
1495
  };
1144
1496
  toolCallId: string;
1145
1497
  toolName: string;
@@ -1190,6 +1542,40 @@ export declare const resultEventDataSchema: z.ZodObject<{
1190
1542
  } | undefined;
1191
1543
  };
1192
1544
  type: "SingleTransaction";
1545
+ } | {
1546
+ value: {
1547
+ signatureRequests: ({
1548
+ id: string;
1549
+ signerAddress: string;
1550
+ signMethod: "typedData";
1551
+ typedData: {
1552
+ message: Record<string, unknown>;
1553
+ types: Record<string, {
1554
+ type: string;
1555
+ name: string;
1556
+ }[]>;
1557
+ domain: Record<string, unknown>;
1558
+ primaryType: string;
1559
+ };
1560
+ description?: string | undefined;
1561
+ metadata?: Record<string, unknown> | undefined;
1562
+ } | {
1563
+ id: string;
1564
+ signerAddress: string;
1565
+ signMethod: "message";
1566
+ rawHash: string;
1567
+ description?: string | undefined;
1568
+ metadata?: Record<string, unknown> | undefined;
1569
+ })[];
1570
+ transactions?: {
1571
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1572
+ metadata?: {
1573
+ explorerUrl?: string | undefined;
1574
+ usdValue?: string | undefined;
1575
+ } | undefined;
1576
+ }[] | undefined;
1577
+ };
1578
+ type: "SignatureRequests";
1193
1579
  };
1194
1580
  toolCallId: string;
1195
1581
  toolName: string;
@@ -1368,6 +1754,256 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1368
1754
  } | undefined;
1369
1755
  };
1370
1756
  type: "SingleTransaction";
1757
+ }>, z.ZodObject<{
1758
+ type: z.ZodLiteral<"SignatureRequests">;
1759
+ value: z.ZodObject<{
1760
+ signatureRequests: z.ZodArray<z.ZodDiscriminatedUnion<"signMethod", [z.ZodObject<{
1761
+ id: z.ZodString;
1762
+ signerAddress: z.ZodString;
1763
+ description: z.ZodOptional<z.ZodString>;
1764
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1765
+ } & {
1766
+ signMethod: z.ZodLiteral<"typedData">;
1767
+ typedData: z.ZodObject<{
1768
+ types: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1769
+ name: z.ZodString;
1770
+ type: z.ZodString;
1771
+ }, "strip", z.ZodTypeAny, {
1772
+ type: string;
1773
+ name: string;
1774
+ }, {
1775
+ type: string;
1776
+ name: string;
1777
+ }>, "many">>;
1778
+ domain: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1779
+ message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1780
+ primaryType: z.ZodString;
1781
+ }, "strip", z.ZodTypeAny, {
1782
+ message: Record<string, unknown>;
1783
+ types: Record<string, {
1784
+ type: string;
1785
+ name: string;
1786
+ }[]>;
1787
+ domain: Record<string, unknown>;
1788
+ primaryType: string;
1789
+ }, {
1790
+ message: Record<string, unknown>;
1791
+ types: Record<string, {
1792
+ type: string;
1793
+ name: string;
1794
+ }[]>;
1795
+ domain: Record<string, unknown>;
1796
+ primaryType: string;
1797
+ }>;
1798
+ }, "strip", z.ZodTypeAny, {
1799
+ id: string;
1800
+ signerAddress: string;
1801
+ signMethod: "typedData";
1802
+ typedData: {
1803
+ message: Record<string, unknown>;
1804
+ types: Record<string, {
1805
+ type: string;
1806
+ name: string;
1807
+ }[]>;
1808
+ domain: Record<string, unknown>;
1809
+ primaryType: string;
1810
+ };
1811
+ description?: string | undefined;
1812
+ metadata?: Record<string, unknown> | undefined;
1813
+ }, {
1814
+ id: string;
1815
+ signerAddress: string;
1816
+ signMethod: "typedData";
1817
+ typedData: {
1818
+ message: Record<string, unknown>;
1819
+ types: Record<string, {
1820
+ type: string;
1821
+ name: string;
1822
+ }[]>;
1823
+ domain: Record<string, unknown>;
1824
+ primaryType: string;
1825
+ };
1826
+ description?: string | undefined;
1827
+ metadata?: Record<string, unknown> | undefined;
1828
+ }>, z.ZodObject<{
1829
+ id: z.ZodString;
1830
+ signerAddress: z.ZodString;
1831
+ description: z.ZodOptional<z.ZodString>;
1832
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1833
+ } & {
1834
+ signMethod: z.ZodLiteral<"message">;
1835
+ rawHash: z.ZodString;
1836
+ }, "strip", z.ZodTypeAny, {
1837
+ id: string;
1838
+ signerAddress: string;
1839
+ signMethod: "message";
1840
+ rawHash: string;
1841
+ description?: string | undefined;
1842
+ metadata?: Record<string, unknown> | undefined;
1843
+ }, {
1844
+ id: string;
1845
+ signerAddress: string;
1846
+ signMethod: "message";
1847
+ rawHash: string;
1848
+ description?: string | undefined;
1849
+ metadata?: Record<string, unknown> | undefined;
1850
+ }>]>, "many">;
1851
+ transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1852
+ transaction: z.ZodType<import("viem").PrepareTransactionRequestReturnType>;
1853
+ metadata: z.ZodOptional<z.ZodObject<{
1854
+ explorerUrl: z.ZodOptional<z.ZodString>;
1855
+ usdValue: z.ZodOptional<z.ZodString>;
1856
+ }, "strip", z.ZodTypeAny, {
1857
+ explorerUrl?: string | undefined;
1858
+ usdValue?: string | undefined;
1859
+ }, {
1860
+ explorerUrl?: string | undefined;
1861
+ usdValue?: string | undefined;
1862
+ }>>;
1863
+ }, "strip", z.ZodTypeAny, {
1864
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1865
+ metadata?: {
1866
+ explorerUrl?: string | undefined;
1867
+ usdValue?: string | undefined;
1868
+ } | undefined;
1869
+ }, {
1870
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1871
+ metadata?: {
1872
+ explorerUrl?: string | undefined;
1873
+ usdValue?: string | undefined;
1874
+ } | undefined;
1875
+ }>, "many">>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ signatureRequests: ({
1878
+ id: string;
1879
+ signerAddress: string;
1880
+ signMethod: "typedData";
1881
+ typedData: {
1882
+ message: Record<string, unknown>;
1883
+ types: Record<string, {
1884
+ type: string;
1885
+ name: string;
1886
+ }[]>;
1887
+ domain: Record<string, unknown>;
1888
+ primaryType: string;
1889
+ };
1890
+ description?: string | undefined;
1891
+ metadata?: Record<string, unknown> | undefined;
1892
+ } | {
1893
+ id: string;
1894
+ signerAddress: string;
1895
+ signMethod: "message";
1896
+ rawHash: string;
1897
+ description?: string | undefined;
1898
+ metadata?: Record<string, unknown> | undefined;
1899
+ })[];
1900
+ transactions?: {
1901
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1902
+ metadata?: {
1903
+ explorerUrl?: string | undefined;
1904
+ usdValue?: string | undefined;
1905
+ } | undefined;
1906
+ }[] | undefined;
1907
+ }, {
1908
+ signatureRequests: ({
1909
+ id: string;
1910
+ signerAddress: string;
1911
+ signMethod: "typedData";
1912
+ typedData: {
1913
+ message: Record<string, unknown>;
1914
+ types: Record<string, {
1915
+ type: string;
1916
+ name: string;
1917
+ }[]>;
1918
+ domain: Record<string, unknown>;
1919
+ primaryType: string;
1920
+ };
1921
+ description?: string | undefined;
1922
+ metadata?: Record<string, unknown> | undefined;
1923
+ } | {
1924
+ id: string;
1925
+ signerAddress: string;
1926
+ signMethod: "message";
1927
+ rawHash: string;
1928
+ description?: string | undefined;
1929
+ metadata?: Record<string, unknown> | undefined;
1930
+ })[];
1931
+ transactions?: {
1932
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1933
+ metadata?: {
1934
+ explorerUrl?: string | undefined;
1935
+ usdValue?: string | undefined;
1936
+ } | undefined;
1937
+ }[] | undefined;
1938
+ }>;
1939
+ }, "strip", z.ZodTypeAny, {
1940
+ value: {
1941
+ signatureRequests: ({
1942
+ id: string;
1943
+ signerAddress: string;
1944
+ signMethod: "typedData";
1945
+ typedData: {
1946
+ message: Record<string, unknown>;
1947
+ types: Record<string, {
1948
+ type: string;
1949
+ name: string;
1950
+ }[]>;
1951
+ domain: Record<string, unknown>;
1952
+ primaryType: string;
1953
+ };
1954
+ description?: string | undefined;
1955
+ metadata?: Record<string, unknown> | undefined;
1956
+ } | {
1957
+ id: string;
1958
+ signerAddress: string;
1959
+ signMethod: "message";
1960
+ rawHash: string;
1961
+ description?: string | undefined;
1962
+ metadata?: Record<string, unknown> | undefined;
1963
+ })[];
1964
+ transactions?: {
1965
+ transaction: import("viem").PrepareTransactionRequestReturnType;
1966
+ metadata?: {
1967
+ explorerUrl?: string | undefined;
1968
+ usdValue?: string | undefined;
1969
+ } | undefined;
1970
+ }[] | undefined;
1971
+ };
1972
+ type: "SignatureRequests";
1973
+ }, {
1974
+ value: {
1975
+ signatureRequests: ({
1976
+ id: string;
1977
+ signerAddress: string;
1978
+ signMethod: "typedData";
1979
+ typedData: {
1980
+ message: Record<string, unknown>;
1981
+ types: Record<string, {
1982
+ type: string;
1983
+ name: string;
1984
+ }[]>;
1985
+ domain: Record<string, unknown>;
1986
+ primaryType: string;
1987
+ };
1988
+ description?: string | undefined;
1989
+ metadata?: Record<string, unknown> | undefined;
1990
+ } | {
1991
+ id: string;
1992
+ signerAddress: string;
1993
+ signMethod: "message";
1994
+ rawHash: string;
1995
+ description?: string | undefined;
1996
+ metadata?: Record<string, unknown> | undefined;
1997
+ })[];
1998
+ transactions?: {
1999
+ transaction: import("viem").PrepareTransactionRequestReturnType;
2000
+ metadata?: {
2001
+ explorerUrl?: string | undefined;
2002
+ usdValue?: string | undefined;
2003
+ } | undefined;
2004
+ }[] | undefined;
2005
+ };
2006
+ type: "SignatureRequests";
1371
2007
  }>]>;
1372
2008
  }, "strict", z.ZodTypeAny, {
1373
2009
  type: "tool-call";
@@ -1389,6 +2025,40 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1389
2025
  } | undefined;
1390
2026
  };
1391
2027
  type: "SingleTransaction";
2028
+ } | {
2029
+ value: {
2030
+ signatureRequests: ({
2031
+ id: string;
2032
+ signerAddress: string;
2033
+ signMethod: "typedData";
2034
+ typedData: {
2035
+ message: Record<string, unknown>;
2036
+ types: Record<string, {
2037
+ type: string;
2038
+ name: string;
2039
+ }[]>;
2040
+ domain: Record<string, unknown>;
2041
+ primaryType: string;
2042
+ };
2043
+ description?: string | undefined;
2044
+ metadata?: Record<string, unknown> | undefined;
2045
+ } | {
2046
+ id: string;
2047
+ signerAddress: string;
2048
+ signMethod: "message";
2049
+ rawHash: string;
2050
+ description?: string | undefined;
2051
+ metadata?: Record<string, unknown> | undefined;
2052
+ })[];
2053
+ transactions?: {
2054
+ transaction: import("viem").PrepareTransactionRequestReturnType;
2055
+ metadata?: {
2056
+ explorerUrl?: string | undefined;
2057
+ usdValue?: string | undefined;
2058
+ } | undefined;
2059
+ }[] | undefined;
2060
+ };
2061
+ type: "SignatureRequests";
1392
2062
  };
1393
2063
  toolCallId: string;
1394
2064
  toolName: string;
@@ -1412,6 +2082,40 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1412
2082
  } | undefined;
1413
2083
  };
1414
2084
  type: "SingleTransaction";
2085
+ } | {
2086
+ value: {
2087
+ signatureRequests: ({
2088
+ id: string;
2089
+ signerAddress: string;
2090
+ signMethod: "typedData";
2091
+ typedData: {
2092
+ message: Record<string, unknown>;
2093
+ types: Record<string, {
2094
+ type: string;
2095
+ name: string;
2096
+ }[]>;
2097
+ domain: Record<string, unknown>;
2098
+ primaryType: string;
2099
+ };
2100
+ description?: string | undefined;
2101
+ metadata?: Record<string, unknown> | undefined;
2102
+ } | {
2103
+ id: string;
2104
+ signerAddress: string;
2105
+ signMethod: "message";
2106
+ rawHash: string;
2107
+ description?: string | undefined;
2108
+ metadata?: Record<string, unknown> | undefined;
2109
+ })[];
2110
+ transactions?: {
2111
+ transaction: import("viem").PrepareTransactionRequestReturnType;
2112
+ metadata?: {
2113
+ explorerUrl?: string | undefined;
2114
+ usdValue?: string | undefined;
2115
+ } | undefined;
2116
+ }[] | undefined;
2117
+ };
2118
+ type: "SignatureRequests";
1415
2119
  };
1416
2120
  toolCallId: string;
1417
2121
  toolName: string;
@@ -1525,6 +2229,40 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1525
2229
  } | undefined;
1526
2230
  };
1527
2231
  type: "SingleTransaction";
2232
+ } | {
2233
+ value: {
2234
+ signatureRequests: ({
2235
+ id: string;
2236
+ signerAddress: string;
2237
+ signMethod: "typedData";
2238
+ typedData: {
2239
+ message: Record<string, unknown>;
2240
+ types: Record<string, {
2241
+ type: string;
2242
+ name: string;
2243
+ }[]>;
2244
+ domain: Record<string, unknown>;
2245
+ primaryType: string;
2246
+ };
2247
+ description?: string | undefined;
2248
+ metadata?: Record<string, unknown> | undefined;
2249
+ } | {
2250
+ id: string;
2251
+ signerAddress: string;
2252
+ signMethod: "message";
2253
+ rawHash: string;
2254
+ description?: string | undefined;
2255
+ metadata?: Record<string, unknown> | undefined;
2256
+ })[];
2257
+ transactions?: {
2258
+ transaction: import("viem").PrepareTransactionRequestReturnType;
2259
+ metadata?: {
2260
+ explorerUrl?: string | undefined;
2261
+ usdValue?: string | undefined;
2262
+ } | undefined;
2263
+ }[] | undefined;
2264
+ };
2265
+ type: "SignatureRequests";
1528
2266
  };
1529
2267
  toolCallId: string;
1530
2268
  toolName: string;
@@ -1575,6 +2313,40 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
1575
2313
  } | undefined;
1576
2314
  };
1577
2315
  type: "SingleTransaction";
2316
+ } | {
2317
+ value: {
2318
+ signatureRequests: ({
2319
+ id: string;
2320
+ signerAddress: string;
2321
+ signMethod: "typedData";
2322
+ typedData: {
2323
+ message: Record<string, unknown>;
2324
+ types: Record<string, {
2325
+ type: string;
2326
+ name: string;
2327
+ }[]>;
2328
+ domain: Record<string, unknown>;
2329
+ primaryType: string;
2330
+ };
2331
+ description?: string | undefined;
2332
+ metadata?: Record<string, unknown> | undefined;
2333
+ } | {
2334
+ id: string;
2335
+ signerAddress: string;
2336
+ signMethod: "message";
2337
+ rawHash: string;
2338
+ description?: string | undefined;
2339
+ metadata?: Record<string, unknown> | undefined;
2340
+ })[];
2341
+ transactions?: {
2342
+ transaction: import("viem").PrepareTransactionRequestReturnType;
2343
+ metadata?: {
2344
+ explorerUrl?: string | undefined;
2345
+ usdValue?: string | undefined;
2346
+ } | undefined;
2347
+ }[] | undefined;
2348
+ };
2349
+ type: "SignatureRequests";
1578
2350
  };
1579
2351
  toolCallId: string;
1580
2352
  toolName: string;