@illalabs/interfaces 0.8.0 → 0.8.1-canary-beta-9cda8b33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interfaces/chat/response.d.ts +5 -5
- package/dist/interfaces/chat/response.d.ts.map +1 -1
- package/dist/schemas/chatContext.d.ts +3 -3
- package/dist/schemas/chatRequestBody.d.ts +12 -12
- package/dist/schemas/executionCheckerQueryParams.d.ts +2 -2
- package/dist/schemas/illaTools.d.ts +6 -6
- package/dist/schemas/illaTools.d.ts.map +1 -1
- package/dist/schemas/illaTools.js +3 -2
- package/dist/schemas/illaTools.js.map +1 -1
- package/dist/schemas/messages.d.ts +12 -12
- package/dist/schemas/messages.d.ts.map +1 -1
- package/dist/schemas/messages.js +2 -1
- package/dist/schemas/messages.js.map +1 -1
- package/dist/schemas/planningRuntime.d.ts +6 -6
- package/dist/schemas/telemetryEvents.d.ts +81 -81
- package/dist/schemas/telemetryEvents.d.ts.map +1 -1
- package/dist/schemas/telemetryEvents.js +2 -1
- package/dist/schemas/telemetryEvents.js.map +1 -1
- package/dist/tools/IllaToolError.d.ts +6 -5
- package/dist/tools/IllaToolError.d.ts.map +1 -1
- package/dist/tools/IllaToolError.js.map +1 -1
- package/dist/tools/IllaToolOutcome.d.ts +4 -3
- package/dist/tools/IllaToolOutcome.d.ts.map +1 -1
- package/dist/tools/IllaToolOutcome.js.map +1 -1
- package/dist/types/actions/index.d.ts +1 -0
- package/dist/types/actions/index.d.ts.map +1 -1
- package/dist/types/actions/index.js +1 -0
- package/dist/types/actions/index.js.map +1 -1
- package/dist/types/actions/outputs/defi.output.d.ts +11 -0
- package/dist/types/actions/outputs/defi.output.d.ts.map +1 -0
- package/dist/types/actions/outputs/defi.output.js +2 -0
- package/dist/types/actions/outputs/defi.output.js.map +1 -0
- package/dist/types/actions/outputs/exchangeRate.output.d.ts +15 -0
- package/dist/types/actions/outputs/exchangeRate.output.d.ts.map +1 -0
- package/dist/types/actions/outputs/exchangeRate.output.js +2 -0
- package/dist/types/actions/outputs/exchangeRate.output.js.map +1 -0
- package/dist/types/actions/outputs/index.d.ts +7 -0
- package/dist/types/actions/outputs/index.d.ts.map +1 -0
- package/dist/types/actions/outputs/index.js +6 -0
- package/dist/types/actions/outputs/index.js.map +1 -0
- package/dist/types/actions/outputs/polymarket.output.d.ts +37 -0
- package/dist/types/actions/outputs/polymarket.output.d.ts.map +1 -0
- package/dist/types/actions/outputs/polymarket.output.js +2 -0
- package/dist/types/actions/outputs/polymarket.output.js.map +1 -0
- package/dist/types/actions/outputs/predictionMarket.output.d.ts +68 -0
- package/dist/types/actions/outputs/predictionMarket.output.d.ts.map +1 -0
- package/dist/types/actions/outputs/predictionMarket.output.js +2 -0
- package/dist/types/actions/outputs/predictionMarket.output.js.map +1 -0
- package/dist/types/actions/outputs/walletBalance.output.d.ts +18 -0
- package/dist/types/actions/outputs/walletBalance.output.d.ts.map +1 -0
- package/dist/types/actions/outputs/walletBalance.output.js +2 -0
- package/dist/types/actions/outputs/walletBalance.output.js.map +1 -0
- package/dist/types/actions/outputs.d.ts +39 -0
- package/dist/types/actions/outputs.d.ts.map +1 -1
- package/dist/types/illaMessage.d.ts +57 -0
- package/dist/types/illaMessage.d.ts.map +1 -0
- package/dist/types/illaMessage.js +2 -0
- package/dist/types/illaMessage.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/telemetry.d.ts +28 -5
- package/dist/types/telemetry.d.ts.map +1 -1
- package/dist/types/telemetry.js +1 -1
- package/dist/types/telemetry.js.map +1 -1
- package/dist/types/typedToolTypes.d.ts +65 -0
- package/dist/types/typedToolTypes.d.ts.map +1 -0
- package/dist/types/typedToolTypes.js +2 -0
- package/dist/types/typedToolTypes.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ModelMessage } from "@ai-sdk/provider-utils";
|
|
2
1
|
import { z } from "zod";
|
|
2
|
+
import type { IllaMessage } from "../types/illaMessage.js";
|
|
3
3
|
/**
|
|
4
4
|
* Telemetry event type enum values.
|
|
5
5
|
* Used to infer TelemetryEventType in types/telemetry.ts
|
|
@@ -1055,20 +1055,20 @@ export declare const planStepVerificationPassedEventSchema: z.ZodObject<{
|
|
|
1055
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1056
1056
|
stepNumber: number;
|
|
1057
1057
|
planId: string;
|
|
1058
|
-
confidence: number;
|
|
1059
1058
|
reason: string;
|
|
1059
|
+
confidence: number;
|
|
1060
1060
|
}, {
|
|
1061
1061
|
stepNumber: number;
|
|
1062
1062
|
planId: string;
|
|
1063
|
-
confidence: number;
|
|
1064
1063
|
reason: string;
|
|
1064
|
+
confidence: number;
|
|
1065
1065
|
}>;
|
|
1066
1066
|
}, "strip", z.ZodTypeAny, {
|
|
1067
1067
|
data: {
|
|
1068
1068
|
stepNumber: number;
|
|
1069
1069
|
planId: string;
|
|
1070
|
-
confidence: number;
|
|
1071
1070
|
reason: string;
|
|
1071
|
+
confidence: number;
|
|
1072
1072
|
};
|
|
1073
1073
|
type: "plan_step_verification_passed";
|
|
1074
1074
|
requestId: string;
|
|
@@ -1077,8 +1077,8 @@ export declare const planStepVerificationPassedEventSchema: z.ZodObject<{
|
|
|
1077
1077
|
data: {
|
|
1078
1078
|
stepNumber: number;
|
|
1079
1079
|
planId: string;
|
|
1080
|
-
confidence: number;
|
|
1081
1080
|
reason: string;
|
|
1081
|
+
confidence: number;
|
|
1082
1082
|
};
|
|
1083
1083
|
type: "plan_step_verification_passed";
|
|
1084
1084
|
requestId: string;
|
|
@@ -1119,9 +1119,9 @@ export declare const planStepVerificationFailedEventSchema: z.ZodObject<{
|
|
|
1119
1119
|
message: string;
|
|
1120
1120
|
suggestion?: string | undefined;
|
|
1121
1121
|
}[];
|
|
1122
|
-
confidence: number;
|
|
1123
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
1124
1122
|
reason: string;
|
|
1123
|
+
confidence: number;
|
|
1124
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
1125
1125
|
}, {
|
|
1126
1126
|
stepNumber: number;
|
|
1127
1127
|
planId: string;
|
|
@@ -1130,9 +1130,9 @@ export declare const planStepVerificationFailedEventSchema: z.ZodObject<{
|
|
|
1130
1130
|
message: string;
|
|
1131
1131
|
suggestion?: string | undefined;
|
|
1132
1132
|
}[];
|
|
1133
|
-
confidence: number;
|
|
1134
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
1135
1133
|
reason: string;
|
|
1134
|
+
confidence: number;
|
|
1135
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
1136
1136
|
}>;
|
|
1137
1137
|
}, "strip", z.ZodTypeAny, {
|
|
1138
1138
|
data: {
|
|
@@ -1143,9 +1143,9 @@ export declare const planStepVerificationFailedEventSchema: z.ZodObject<{
|
|
|
1143
1143
|
message: string;
|
|
1144
1144
|
suggestion?: string | undefined;
|
|
1145
1145
|
}[];
|
|
1146
|
-
confidence: number;
|
|
1147
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
1148
1146
|
reason: string;
|
|
1147
|
+
confidence: number;
|
|
1148
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
1149
1149
|
};
|
|
1150
1150
|
type: "plan_step_verification_failed";
|
|
1151
1151
|
requestId: string;
|
|
@@ -1159,9 +1159,9 @@ export declare const planStepVerificationFailedEventSchema: z.ZodObject<{
|
|
|
1159
1159
|
message: string;
|
|
1160
1160
|
suggestion?: string | undefined;
|
|
1161
1161
|
}[];
|
|
1162
|
-
confidence: number;
|
|
1163
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
1164
1162
|
reason: string;
|
|
1163
|
+
confidence: number;
|
|
1164
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
1165
1165
|
};
|
|
1166
1166
|
type: "plan_step_verification_failed";
|
|
1167
1167
|
requestId: string;
|
|
@@ -1182,17 +1182,17 @@ export declare const planExecutionFailedEventSchema: z.ZodObject<{
|
|
|
1182
1182
|
}, "strip", z.ZodTypeAny, {
|
|
1183
1183
|
error: string;
|
|
1184
1184
|
planId: string;
|
|
1185
|
-
phase: "completed" | "failed" | "
|
|
1185
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
1186
1186
|
}, {
|
|
1187
1187
|
error: string;
|
|
1188
1188
|
planId: string;
|
|
1189
|
-
phase: "completed" | "failed" | "
|
|
1189
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
1190
1190
|
}>;
|
|
1191
1191
|
}, "strip", z.ZodTypeAny, {
|
|
1192
1192
|
data: {
|
|
1193
1193
|
error: string;
|
|
1194
1194
|
planId: string;
|
|
1195
|
-
phase: "completed" | "failed" | "
|
|
1195
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
1196
1196
|
};
|
|
1197
1197
|
type: "plan_execution_failed";
|
|
1198
1198
|
requestId: string;
|
|
@@ -1201,7 +1201,7 @@ export declare const planExecutionFailedEventSchema: z.ZodObject<{
|
|
|
1201
1201
|
data: {
|
|
1202
1202
|
error: string;
|
|
1203
1203
|
planId: string;
|
|
1204
|
-
phase: "completed" | "failed" | "
|
|
1204
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
1205
1205
|
};
|
|
1206
1206
|
type: "plan_execution_failed";
|
|
1207
1207
|
requestId: string;
|
|
@@ -2145,20 +2145,20 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2145
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2146
2146
|
stepNumber: number;
|
|
2147
2147
|
planId: string;
|
|
2148
|
-
confidence: number;
|
|
2149
2148
|
reason: string;
|
|
2149
|
+
confidence: number;
|
|
2150
2150
|
}, {
|
|
2151
2151
|
stepNumber: number;
|
|
2152
2152
|
planId: string;
|
|
2153
|
-
confidence: number;
|
|
2154
2153
|
reason: string;
|
|
2154
|
+
confidence: number;
|
|
2155
2155
|
}>;
|
|
2156
2156
|
}, "strip", z.ZodTypeAny, {
|
|
2157
2157
|
data: {
|
|
2158
2158
|
stepNumber: number;
|
|
2159
2159
|
planId: string;
|
|
2160
|
-
confidence: number;
|
|
2161
2160
|
reason: string;
|
|
2161
|
+
confidence: number;
|
|
2162
2162
|
};
|
|
2163
2163
|
type: "plan_step_verification_passed";
|
|
2164
2164
|
requestId: string;
|
|
@@ -2167,8 +2167,8 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2167
2167
|
data: {
|
|
2168
2168
|
stepNumber: number;
|
|
2169
2169
|
planId: string;
|
|
2170
|
-
confidence: number;
|
|
2171
2170
|
reason: string;
|
|
2171
|
+
confidence: number;
|
|
2172
2172
|
};
|
|
2173
2173
|
type: "plan_step_verification_passed";
|
|
2174
2174
|
requestId: string;
|
|
@@ -2205,9 +2205,9 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2205
2205
|
message: string;
|
|
2206
2206
|
suggestion?: string | undefined;
|
|
2207
2207
|
}[];
|
|
2208
|
-
confidence: number;
|
|
2209
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
2210
2208
|
reason: string;
|
|
2209
|
+
confidence: number;
|
|
2210
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
2211
2211
|
}, {
|
|
2212
2212
|
stepNumber: number;
|
|
2213
2213
|
planId: string;
|
|
@@ -2216,9 +2216,9 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2216
2216
|
message: string;
|
|
2217
2217
|
suggestion?: string | undefined;
|
|
2218
2218
|
}[];
|
|
2219
|
-
confidence: number;
|
|
2220
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
2221
2219
|
reason: string;
|
|
2220
|
+
confidence: number;
|
|
2221
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
2222
2222
|
}>;
|
|
2223
2223
|
}, "strip", z.ZodTypeAny, {
|
|
2224
2224
|
data: {
|
|
@@ -2229,9 +2229,9 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2229
2229
|
message: string;
|
|
2230
2230
|
suggestion?: string | undefined;
|
|
2231
2231
|
}[];
|
|
2232
|
-
confidence: number;
|
|
2233
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
2234
2232
|
reason: string;
|
|
2233
|
+
confidence: number;
|
|
2234
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
2235
2235
|
};
|
|
2236
2236
|
type: "plan_step_verification_failed";
|
|
2237
2237
|
requestId: string;
|
|
@@ -2245,9 +2245,9 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2245
2245
|
message: string;
|
|
2246
2246
|
suggestion?: string | undefined;
|
|
2247
2247
|
}[];
|
|
2248
|
-
confidence: number;
|
|
2249
|
-
recommendedAction: "continue" | "replan" | "ask_user";
|
|
2250
2248
|
reason: string;
|
|
2249
|
+
confidence: number;
|
|
2250
|
+
recommendedAction: "continue" | "ask_user" | "replan";
|
|
2251
2251
|
};
|
|
2252
2252
|
type: "plan_step_verification_failed";
|
|
2253
2253
|
requestId: string;
|
|
@@ -2264,17 +2264,17 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2264
2264
|
}, "strip", z.ZodTypeAny, {
|
|
2265
2265
|
error: string;
|
|
2266
2266
|
planId: string;
|
|
2267
|
-
phase: "completed" | "failed" | "
|
|
2267
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
2268
2268
|
}, {
|
|
2269
2269
|
error: string;
|
|
2270
2270
|
planId: string;
|
|
2271
|
-
phase: "completed" | "failed" | "
|
|
2271
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
2272
2272
|
}>;
|
|
2273
2273
|
}, "strip", z.ZodTypeAny, {
|
|
2274
2274
|
data: {
|
|
2275
2275
|
error: string;
|
|
2276
2276
|
planId: string;
|
|
2277
|
-
phase: "completed" | "failed" | "
|
|
2277
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
2278
2278
|
};
|
|
2279
2279
|
type: "plan_execution_failed";
|
|
2280
2280
|
requestId: string;
|
|
@@ -2283,7 +2283,7 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2283
2283
|
data: {
|
|
2284
2284
|
error: string;
|
|
2285
2285
|
planId: string;
|
|
2286
|
-
phase: "completed" | "failed" | "
|
|
2286
|
+
phase: "completed" | "failed" | "idle" | "generating_plan" | "replanning" | "expired" | "awaiting_plan_acceptance" | "executing" | "awaiting_user_execution" | "awaiting_user_decision";
|
|
2287
2287
|
};
|
|
2288
2288
|
type: "plan_execution_failed";
|
|
2289
2289
|
requestId: string;
|
|
@@ -2297,12 +2297,12 @@ export declare const telemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
2297
2297
|
export declare const resultEventDataSchema: z.ZodObject<{
|
|
2298
2298
|
type: z.ZodLiteral<"result">;
|
|
2299
2299
|
status: z.ZodLiteral<200>;
|
|
2300
|
-
messages: z.ZodArray<z.ZodType<
|
|
2300
|
+
messages: z.ZodArray<z.ZodType<IllaMessage, z.ZodTypeDef, IllaMessage>, "many">;
|
|
2301
2301
|
text: z.ZodString;
|
|
2302
2302
|
pendingTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2303
2303
|
type: z.ZodLiteral<"tool-call">;
|
|
2304
2304
|
toolCallId: z.ZodString;
|
|
2305
|
-
toolName: z.
|
|
2305
|
+
toolName: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
2306
2306
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2307
2307
|
type: z.ZodLiteral<"BatchTransactions">;
|
|
2308
2308
|
value: z.ZodArray<z.ZodObject<{
|
|
@@ -3109,7 +3109,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3109
3109
|
errorMessage?: string | undefined;
|
|
3110
3110
|
errorExplanation?: string | undefined;
|
|
3111
3111
|
simulationId?: string | undefined;
|
|
3112
|
-
actionType?: "
|
|
3112
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3113
3113
|
sourceChainId?: number | undefined;
|
|
3114
3114
|
destChainId?: number | undefined;
|
|
3115
3115
|
actionMetadata?: {
|
|
@@ -3154,7 +3154,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3154
3154
|
errorMessage?: string | undefined;
|
|
3155
3155
|
errorExplanation?: string | undefined;
|
|
3156
3156
|
simulationId?: string | undefined;
|
|
3157
|
-
actionType?: "
|
|
3157
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3158
3158
|
sourceChainId?: number | undefined;
|
|
3159
3159
|
destChainId?: number | undefined;
|
|
3160
3160
|
actionMetadata?: {
|
|
@@ -3179,7 +3179,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3179
3179
|
}>>;
|
|
3180
3180
|
}, "strict", z.ZodTypeAny, {
|
|
3181
3181
|
toolCallId: string;
|
|
3182
|
-
toolName:
|
|
3182
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3183
3183
|
input: {
|
|
3184
3184
|
type: "BatchTransactions";
|
|
3185
3185
|
value: {
|
|
@@ -3299,7 +3299,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3299
3299
|
errorMessage?: string | undefined;
|
|
3300
3300
|
errorExplanation?: string | undefined;
|
|
3301
3301
|
simulationId?: string | undefined;
|
|
3302
|
-
actionType?: "
|
|
3302
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3303
3303
|
sourceChainId?: number | undefined;
|
|
3304
3304
|
destChainId?: number | undefined;
|
|
3305
3305
|
actionMetadata?: {
|
|
@@ -3324,7 +3324,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3324
3324
|
} | undefined;
|
|
3325
3325
|
}, {
|
|
3326
3326
|
toolCallId: string;
|
|
3327
|
-
toolName:
|
|
3327
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3328
3328
|
input: {
|
|
3329
3329
|
type: "BatchTransactions";
|
|
3330
3330
|
value: {
|
|
@@ -3444,7 +3444,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3444
3444
|
errorMessage?: string | undefined;
|
|
3445
3445
|
errorExplanation?: string | undefined;
|
|
3446
3446
|
simulationId?: string | undefined;
|
|
3447
|
-
actionType?: "
|
|
3447
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3448
3448
|
sourceChainId?: number | undefined;
|
|
3449
3449
|
destChainId?: number | undefined;
|
|
3450
3450
|
actionMetadata?: {
|
|
@@ -3470,20 +3470,20 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3470
3470
|
}>, "many">>;
|
|
3471
3471
|
incompleteTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3472
3472
|
toolCallId: z.ZodString;
|
|
3473
|
-
toolName: z.
|
|
3473
|
+
toolName: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
3474
3474
|
toolInput: z.ZodOptional<z.ZodUnknown>;
|
|
3475
3475
|
}, "strip", z.ZodTypeAny, {
|
|
3476
3476
|
toolCallId: string;
|
|
3477
|
-
toolName:
|
|
3477
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3478
3478
|
toolInput?: unknown;
|
|
3479
3479
|
}, {
|
|
3480
3480
|
toolCallId: string;
|
|
3481
|
-
toolName:
|
|
3481
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3482
3482
|
toolInput?: unknown;
|
|
3483
3483
|
}>, "many">>;
|
|
3484
3484
|
toolErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3485
3485
|
id: z.ZodString;
|
|
3486
|
-
name: z.
|
|
3486
|
+
name: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
3487
3487
|
data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3488
3488
|
type: z.ZodLiteral<"input">;
|
|
3489
3489
|
errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3534,7 +3534,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3534
3534
|
details?: unknown;
|
|
3535
3535
|
};
|
|
3536
3536
|
id: string;
|
|
3537
|
-
name:
|
|
3537
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3538
3538
|
}, {
|
|
3539
3539
|
data: {
|
|
3540
3540
|
type: "input";
|
|
@@ -3548,18 +3548,18 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3548
3548
|
details?: unknown;
|
|
3549
3549
|
};
|
|
3550
3550
|
id: string;
|
|
3551
|
-
name:
|
|
3551
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3552
3552
|
}>, "many">>;
|
|
3553
3553
|
requestId: z.ZodString;
|
|
3554
3554
|
}, "strip", z.ZodTypeAny, {
|
|
3555
3555
|
text: string;
|
|
3556
3556
|
type: "result";
|
|
3557
3557
|
status: 200;
|
|
3558
|
-
messages:
|
|
3558
|
+
messages: IllaMessage[];
|
|
3559
3559
|
requestId: string;
|
|
3560
3560
|
pendingTools?: {
|
|
3561
3561
|
toolCallId: string;
|
|
3562
|
-
toolName:
|
|
3562
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3563
3563
|
input: {
|
|
3564
3564
|
type: "BatchTransactions";
|
|
3565
3565
|
value: {
|
|
@@ -3679,7 +3679,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3679
3679
|
errorMessage?: string | undefined;
|
|
3680
3680
|
errorExplanation?: string | undefined;
|
|
3681
3681
|
simulationId?: string | undefined;
|
|
3682
|
-
actionType?: "
|
|
3682
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3683
3683
|
sourceChainId?: number | undefined;
|
|
3684
3684
|
destChainId?: number | undefined;
|
|
3685
3685
|
actionMetadata?: {
|
|
@@ -3705,7 +3705,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3705
3705
|
}[] | undefined;
|
|
3706
3706
|
incompleteTools?: {
|
|
3707
3707
|
toolCallId: string;
|
|
3708
|
-
toolName:
|
|
3708
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3709
3709
|
toolInput?: unknown;
|
|
3710
3710
|
}[] | undefined;
|
|
3711
3711
|
toolErrors?: {
|
|
@@ -3721,17 +3721,17 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3721
3721
|
details?: unknown;
|
|
3722
3722
|
};
|
|
3723
3723
|
id: string;
|
|
3724
|
-
name:
|
|
3724
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3725
3725
|
}[] | undefined;
|
|
3726
3726
|
}, {
|
|
3727
3727
|
text: string;
|
|
3728
3728
|
type: "result";
|
|
3729
3729
|
status: 200;
|
|
3730
|
-
messages:
|
|
3730
|
+
messages: IllaMessage[];
|
|
3731
3731
|
requestId: string;
|
|
3732
3732
|
pendingTools?: {
|
|
3733
3733
|
toolCallId: string;
|
|
3734
|
-
toolName:
|
|
3734
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3735
3735
|
input: {
|
|
3736
3736
|
type: "BatchTransactions";
|
|
3737
3737
|
value: {
|
|
@@ -3851,7 +3851,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3851
3851
|
errorMessage?: string | undefined;
|
|
3852
3852
|
errorExplanation?: string | undefined;
|
|
3853
3853
|
simulationId?: string | undefined;
|
|
3854
|
-
actionType?: "
|
|
3854
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
3855
3855
|
sourceChainId?: number | undefined;
|
|
3856
3856
|
destChainId?: number | undefined;
|
|
3857
3857
|
actionMetadata?: {
|
|
@@ -3877,7 +3877,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3877
3877
|
}[] | undefined;
|
|
3878
3878
|
incompleteTools?: {
|
|
3879
3879
|
toolCallId: string;
|
|
3880
|
-
toolName:
|
|
3880
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3881
3881
|
toolInput?: unknown;
|
|
3882
3882
|
}[] | undefined;
|
|
3883
3883
|
toolErrors?: {
|
|
@@ -3893,7 +3893,7 @@ export declare const resultEventDataSchema: z.ZodObject<{
|
|
|
3893
3893
|
details?: unknown;
|
|
3894
3894
|
};
|
|
3895
3895
|
id: string;
|
|
3896
|
-
name:
|
|
3896
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
3897
3897
|
}[] | undefined;
|
|
3898
3898
|
}>;
|
|
3899
3899
|
/**
|
|
@@ -3953,12 +3953,12 @@ export declare const streamEndEventDataSchema: z.ZodObject<{
|
|
|
3953
3953
|
export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3954
3954
|
type: z.ZodLiteral<"result">;
|
|
3955
3955
|
status: z.ZodLiteral<200>;
|
|
3956
|
-
messages: z.ZodArray<z.ZodType<
|
|
3956
|
+
messages: z.ZodArray<z.ZodType<IllaMessage, z.ZodTypeDef, IllaMessage>, "many">;
|
|
3957
3957
|
text: z.ZodString;
|
|
3958
3958
|
pendingTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3959
3959
|
type: z.ZodLiteral<"tool-call">;
|
|
3960
3960
|
toolCallId: z.ZodString;
|
|
3961
|
-
toolName: z.
|
|
3961
|
+
toolName: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
3962
3962
|
input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3963
3963
|
type: z.ZodLiteral<"BatchTransactions">;
|
|
3964
3964
|
value: z.ZodArray<z.ZodObject<{
|
|
@@ -4765,7 +4765,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4765
4765
|
errorMessage?: string | undefined;
|
|
4766
4766
|
errorExplanation?: string | undefined;
|
|
4767
4767
|
simulationId?: string | undefined;
|
|
4768
|
-
actionType?: "
|
|
4768
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
4769
4769
|
sourceChainId?: number | undefined;
|
|
4770
4770
|
destChainId?: number | undefined;
|
|
4771
4771
|
actionMetadata?: {
|
|
@@ -4810,7 +4810,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4810
4810
|
errorMessage?: string | undefined;
|
|
4811
4811
|
errorExplanation?: string | undefined;
|
|
4812
4812
|
simulationId?: string | undefined;
|
|
4813
|
-
actionType?: "
|
|
4813
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
4814
4814
|
sourceChainId?: number | undefined;
|
|
4815
4815
|
destChainId?: number | undefined;
|
|
4816
4816
|
actionMetadata?: {
|
|
@@ -4835,7 +4835,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4835
4835
|
}>>;
|
|
4836
4836
|
}, "strict", z.ZodTypeAny, {
|
|
4837
4837
|
toolCallId: string;
|
|
4838
|
-
toolName:
|
|
4838
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
4839
4839
|
input: {
|
|
4840
4840
|
type: "BatchTransactions";
|
|
4841
4841
|
value: {
|
|
@@ -4955,7 +4955,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4955
4955
|
errorMessage?: string | undefined;
|
|
4956
4956
|
errorExplanation?: string | undefined;
|
|
4957
4957
|
simulationId?: string | undefined;
|
|
4958
|
-
actionType?: "
|
|
4958
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
4959
4959
|
sourceChainId?: number | undefined;
|
|
4960
4960
|
destChainId?: number | undefined;
|
|
4961
4961
|
actionMetadata?: {
|
|
@@ -4980,7 +4980,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
4980
4980
|
} | undefined;
|
|
4981
4981
|
}, {
|
|
4982
4982
|
toolCallId: string;
|
|
4983
|
-
toolName:
|
|
4983
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
4984
4984
|
input: {
|
|
4985
4985
|
type: "BatchTransactions";
|
|
4986
4986
|
value: {
|
|
@@ -5100,7 +5100,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5100
5100
|
errorMessage?: string | undefined;
|
|
5101
5101
|
errorExplanation?: string | undefined;
|
|
5102
5102
|
simulationId?: string | undefined;
|
|
5103
|
-
actionType?: "
|
|
5103
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
5104
5104
|
sourceChainId?: number | undefined;
|
|
5105
5105
|
destChainId?: number | undefined;
|
|
5106
5106
|
actionMetadata?: {
|
|
@@ -5126,20 +5126,20 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5126
5126
|
}>, "many">>;
|
|
5127
5127
|
incompleteTools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5128
5128
|
toolCallId: z.ZodString;
|
|
5129
|
-
toolName: z.
|
|
5129
|
+
toolName: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
5130
5130
|
toolInput: z.ZodOptional<z.ZodUnknown>;
|
|
5131
5131
|
}, "strip", z.ZodTypeAny, {
|
|
5132
5132
|
toolCallId: string;
|
|
5133
|
-
toolName:
|
|
5133
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5134
5134
|
toolInput?: unknown;
|
|
5135
5135
|
}, {
|
|
5136
5136
|
toolCallId: string;
|
|
5137
|
-
toolName:
|
|
5137
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5138
5138
|
toolInput?: unknown;
|
|
5139
5139
|
}>, "many">>;
|
|
5140
5140
|
toolErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5141
5141
|
id: z.ZodString;
|
|
5142
|
-
name: z.
|
|
5142
|
+
name: z.ZodEnum<["tokenTransfer", "exchangeRate", "getWalletBalance", "defiFetchListings", "defiPositions", "defiSupply", "defiWithdraw", "swap", "bridge", "predictionMarketsFetch", "predictionMarketsBet", "predictionMarketsPositions", "predictionMarketsRedeem", "polymarketPostOrder", "polymarketPostRedeem", "polymarketAuth", "polymarketPostGetOrders", "polymarketPostCancelOrder"]>;
|
|
5143
5143
|
data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5144
5144
|
type: z.ZodLiteral<"input">;
|
|
5145
5145
|
errors: z.ZodArray<z.ZodObject<{
|
|
@@ -5190,7 +5190,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5190
5190
|
details?: unknown;
|
|
5191
5191
|
};
|
|
5192
5192
|
id: string;
|
|
5193
|
-
name:
|
|
5193
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5194
5194
|
}, {
|
|
5195
5195
|
data: {
|
|
5196
5196
|
type: "input";
|
|
@@ -5204,18 +5204,18 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5204
5204
|
details?: unknown;
|
|
5205
5205
|
};
|
|
5206
5206
|
id: string;
|
|
5207
|
-
name:
|
|
5207
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5208
5208
|
}>, "many">>;
|
|
5209
5209
|
requestId: z.ZodString;
|
|
5210
5210
|
}, "strip", z.ZodTypeAny, {
|
|
5211
5211
|
text: string;
|
|
5212
5212
|
type: "result";
|
|
5213
5213
|
status: 200;
|
|
5214
|
-
messages:
|
|
5214
|
+
messages: IllaMessage[];
|
|
5215
5215
|
requestId: string;
|
|
5216
5216
|
pendingTools?: {
|
|
5217
5217
|
toolCallId: string;
|
|
5218
|
-
toolName:
|
|
5218
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5219
5219
|
input: {
|
|
5220
5220
|
type: "BatchTransactions";
|
|
5221
5221
|
value: {
|
|
@@ -5335,7 +5335,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5335
5335
|
errorMessage?: string | undefined;
|
|
5336
5336
|
errorExplanation?: string | undefined;
|
|
5337
5337
|
simulationId?: string | undefined;
|
|
5338
|
-
actionType?: "
|
|
5338
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
5339
5339
|
sourceChainId?: number | undefined;
|
|
5340
5340
|
destChainId?: number | undefined;
|
|
5341
5341
|
actionMetadata?: {
|
|
@@ -5361,7 +5361,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5361
5361
|
}[] | undefined;
|
|
5362
5362
|
incompleteTools?: {
|
|
5363
5363
|
toolCallId: string;
|
|
5364
|
-
toolName:
|
|
5364
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5365
5365
|
toolInput?: unknown;
|
|
5366
5366
|
}[] | undefined;
|
|
5367
5367
|
toolErrors?: {
|
|
@@ -5377,17 +5377,17 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5377
5377
|
details?: unknown;
|
|
5378
5378
|
};
|
|
5379
5379
|
id: string;
|
|
5380
|
-
name:
|
|
5380
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5381
5381
|
}[] | undefined;
|
|
5382
5382
|
}, {
|
|
5383
5383
|
text: string;
|
|
5384
5384
|
type: "result";
|
|
5385
5385
|
status: 200;
|
|
5386
|
-
messages:
|
|
5386
|
+
messages: IllaMessage[];
|
|
5387
5387
|
requestId: string;
|
|
5388
5388
|
pendingTools?: {
|
|
5389
5389
|
toolCallId: string;
|
|
5390
|
-
toolName:
|
|
5390
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5391
5391
|
input: {
|
|
5392
5392
|
type: "BatchTransactions";
|
|
5393
5393
|
value: {
|
|
@@ -5507,7 +5507,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5507
5507
|
errorMessage?: string | undefined;
|
|
5508
5508
|
errorExplanation?: string | undefined;
|
|
5509
5509
|
simulationId?: string | undefined;
|
|
5510
|
-
actionType?: "
|
|
5510
|
+
actionType?: "swap" | "bridge" | "transfer" | "supply" | "withdraw" | "contract" | undefined;
|
|
5511
5511
|
sourceChainId?: number | undefined;
|
|
5512
5512
|
destChainId?: number | undefined;
|
|
5513
5513
|
actionMetadata?: {
|
|
@@ -5533,7 +5533,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5533
5533
|
}[] | undefined;
|
|
5534
5534
|
incompleteTools?: {
|
|
5535
5535
|
toolCallId: string;
|
|
5536
|
-
toolName:
|
|
5536
|
+
toolName: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5537
5537
|
toolInput?: unknown;
|
|
5538
5538
|
}[] | undefined;
|
|
5539
5539
|
toolErrors?: {
|
|
@@ -5549,7 +5549,7 @@ export declare const streamEventDataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
|
|
|
5549
5549
|
details?: unknown;
|
|
5550
5550
|
};
|
|
5551
5551
|
id: string;
|
|
5552
|
-
name:
|
|
5552
|
+
name: "tokenTransfer" | "exchangeRate" | "getWalletBalance" | "defiFetchListings" | "defiPositions" | "defiSupply" | "defiWithdraw" | "swap" | "bridge" | "predictionMarketsFetch" | "predictionMarketsBet" | "predictionMarketsPositions" | "predictionMarketsRedeem" | "polymarketPostOrder" | "polymarketPostRedeem" | "polymarketAuth" | "polymarketPostGetOrders" | "polymarketPostCancelOrder";
|
|
5553
5553
|
}[] | undefined;
|
|
5554
5554
|
}>, z.ZodObject<{
|
|
5555
5555
|
type: z.ZodLiteral<"error">;
|