@eco-foundation/api-schemas 0.1.0 → 0.2.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.
- package/README.md +75 -10
- package/dist/generated/build-digest.json +1 -1
- package/dist/v1/endpoints/chains.d.ts +8 -8
- package/dist/v1/endpoints/deposit-addresses.d.ts +8 -8
- package/dist/v1/endpoints/deposit-addresses.js +3 -3
- package/dist/v1/endpoints/deposit-addresses.js.map +1 -1
- package/dist/v1/endpoints/quotes.d.ts +86 -86
- package/dist/v1/endpoints/registry.d.ts +48 -48
- package/dist/v1/endpoints/routes.d.ts +4 -4
- package/dist/v1/endpoints/submit.js +16 -8
- package/dist/v1/endpoints/submit.js.map +1 -1
- package/dist/v1/endpoints/tokens.d.ts +2 -2
- package/dist/v1/errors/catalog.js +1 -1
- package/dist/v1/errors/catalog.js.map +1 -1
- package/dist/v1/errors/problem.d.ts +8 -2
- package/dist/v1/errors/problem.js +34 -1
- package/dist/v1/errors/problem.js.map +1 -1
- package/dist/v1/primitives.d.ts +2 -1
- package/dist/v1/primitives.js +12 -3
- package/dist/v1/primitives.js.map +1 -1
- package/openapi/v1.json +227 -184
- package/package.json +11 -4
- package/v1/signature.d.ts +9 -0
- package/v1/signature.js +6 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const DestinationCallSchema: z.ZodObject<{
|
|
3
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
3
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
4
4
|
data: z.ZodString;
|
|
5
5
|
value: z.ZodString;
|
|
6
|
-
tokenOut: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.
|
|
6
|
+
tokenOut: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
7
7
|
gasLimit: z.ZodOptional<z.ZodString>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export declare const QuoteRequestSchema: z.ZodObject<{
|
|
@@ -14,24 +14,24 @@ export declare const QuoteRequestSchema: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
source: z.ZodObject<{
|
|
16
16
|
chainId: z.ZodNumber;
|
|
17
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
17
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
18
18
|
amount: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
destination: z.ZodObject<{
|
|
21
21
|
chainId: z.ZodNumber;
|
|
22
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
22
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
23
23
|
amount: z.ZodOptional<z.ZodString>;
|
|
24
|
-
recipient: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.
|
|
24
|
+
recipient: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
25
25
|
calls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
26
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
27
27
|
data: z.ZodString;
|
|
28
28
|
value: z.ZodString;
|
|
29
|
-
tokenOut: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.
|
|
29
|
+
tokenOut: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
30
30
|
gasLimit: z.ZodOptional<z.ZodString>;
|
|
31
31
|
}, z.core.$strip>>>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
funder: z.ZodUnion<readonly [z.ZodString, z.
|
|
34
|
-
refundRecipient: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.
|
|
33
|
+
funder: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
34
|
+
refundRecipient: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
35
35
|
slippage: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
dappId: z.ZodOptional<z.ZodString>;
|
|
37
37
|
options: z.ZodOptional<z.ZodObject<{
|
|
@@ -47,7 +47,7 @@ export declare const QuoteRequestSchema: z.ZodObject<{
|
|
|
47
47
|
export type QuoteRequest = z.input<typeof QuoteRequestSchema>;
|
|
48
48
|
export declare const FeeTokenSchema: z.ZodObject<{
|
|
49
49
|
chainId: z.ZodNumber;
|
|
50
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
50
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
51
51
|
symbol: z.ZodNullable<z.ZodString>;
|
|
52
52
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
53
53
|
}, z.core.$loose>;
|
|
@@ -61,7 +61,7 @@ export declare const FeeSchema: z.ZodObject<{
|
|
|
61
61
|
amount: z.ZodString;
|
|
62
62
|
token: z.ZodObject<{
|
|
63
63
|
chainId: z.ZodNumber;
|
|
64
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
64
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
65
65
|
symbol: z.ZodNullable<z.ZodString>;
|
|
66
66
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
67
67
|
}, z.core.$loose>;
|
|
@@ -69,7 +69,7 @@ export declare const FeeSchema: z.ZodObject<{
|
|
|
69
69
|
}, z.core.$loose>;
|
|
70
70
|
export declare const StepLegSchema: z.ZodObject<{
|
|
71
71
|
chainId: z.ZodNumber;
|
|
72
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
72
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
73
73
|
amount: z.ZodString;
|
|
74
74
|
}, z.core.$loose>;
|
|
75
75
|
export declare const StepSchema: z.ZodObject<{
|
|
@@ -83,12 +83,12 @@ export declare const StepSchema: z.ZodObject<{
|
|
|
83
83
|
aggregator: z.ZodOptional<z.ZodString>;
|
|
84
84
|
from: z.ZodObject<{
|
|
85
85
|
chainId: z.ZodNumber;
|
|
86
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
86
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
87
87
|
amount: z.ZodString;
|
|
88
88
|
}, z.core.$loose>;
|
|
89
89
|
to: z.ZodObject<{
|
|
90
90
|
chainId: z.ZodNumber;
|
|
91
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
91
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
92
92
|
amount: z.ZodString;
|
|
93
93
|
}, z.core.$loose>;
|
|
94
94
|
fees: z.ZodArray<z.ZodObject<{
|
|
@@ -101,7 +101,7 @@ export declare const StepSchema: z.ZodObject<{
|
|
|
101
101
|
amount: z.ZodString;
|
|
102
102
|
token: z.ZodObject<{
|
|
103
103
|
chainId: z.ZodNumber;
|
|
104
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
104
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
105
105
|
symbol: z.ZodNullable<z.ZodString>;
|
|
106
106
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
107
107
|
}, z.core.$loose>;
|
|
@@ -120,7 +120,7 @@ export declare const RelatedIntentSchema: z.ZodObject<{
|
|
|
120
120
|
bucketIndex: z.ZodOptional<z.ZodNumber>;
|
|
121
121
|
}, z.core.$loose>;
|
|
122
122
|
export declare const SolverIdentitySchema: z.ZodObject<{
|
|
123
|
-
id: z.ZodUnion<readonly [z.ZodString, z.
|
|
123
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
124
124
|
name: z.ZodOptional<z.ZodString>;
|
|
125
125
|
}, z.core.$loose>;
|
|
126
126
|
export declare const EvmTransactionSchema: z.ZodObject<{
|
|
@@ -147,11 +147,11 @@ export declare const FundingTransactionSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
147
147
|
serializedTransaction: z.ZodString;
|
|
148
148
|
}, z.core.$loose>], "kind">;
|
|
149
149
|
export declare const IntentTokenAmountSchema: z.ZodObject<{
|
|
150
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
150
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
151
151
|
amount: z.ZodString;
|
|
152
152
|
}, z.core.$loose>;
|
|
153
153
|
export declare const IntentCallSchema: z.ZodObject<{
|
|
154
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
154
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
155
155
|
data: z.ZodString;
|
|
156
156
|
value: z.ZodString;
|
|
157
157
|
}, z.core.$loose>;
|
|
@@ -160,25 +160,25 @@ export declare const IntentRouteSchema: z.ZodObject<{
|
|
|
160
160
|
deadline: z.ZodNumber;
|
|
161
161
|
source: z.ZodNumber;
|
|
162
162
|
destination: z.ZodNumber;
|
|
163
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
163
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
164
164
|
nativeAmount: z.ZodString;
|
|
165
165
|
tokens: z.ZodArray<z.ZodObject<{
|
|
166
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
166
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
167
167
|
amount: z.ZodString;
|
|
168
168
|
}, z.core.$loose>>;
|
|
169
169
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
170
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
170
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
171
171
|
data: z.ZodString;
|
|
172
172
|
value: z.ZodString;
|
|
173
173
|
}, z.core.$loose>>>;
|
|
174
174
|
}, z.core.$loose>;
|
|
175
175
|
export declare const IntentRewardSchema: z.ZodObject<{
|
|
176
176
|
deadline: z.ZodNumber;
|
|
177
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
178
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
177
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
178
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
179
179
|
nativeAmount: z.ZodString;
|
|
180
180
|
tokens: z.ZodArray<z.ZodObject<{
|
|
181
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
181
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
182
182
|
amount: z.ZodString;
|
|
183
183
|
}, z.core.$loose>>;
|
|
184
184
|
}, z.core.$loose>;
|
|
@@ -200,25 +200,25 @@ export declare const ExecutionSchema: z.ZodObject<{
|
|
|
200
200
|
deadline: z.ZodNumber;
|
|
201
201
|
source: z.ZodNumber;
|
|
202
202
|
destination: z.ZodNumber;
|
|
203
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
203
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
204
204
|
nativeAmount: z.ZodString;
|
|
205
205
|
tokens: z.ZodArray<z.ZodObject<{
|
|
206
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
206
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
207
207
|
amount: z.ZodString;
|
|
208
208
|
}, z.core.$loose>>;
|
|
209
209
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
210
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
210
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
211
211
|
data: z.ZodString;
|
|
212
212
|
value: z.ZodString;
|
|
213
213
|
}, z.core.$loose>>>;
|
|
214
214
|
}, z.core.$loose>;
|
|
215
215
|
reward: z.ZodObject<{
|
|
216
216
|
deadline: z.ZodNumber;
|
|
217
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
218
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
217
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
218
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
219
219
|
nativeAmount: z.ZodString;
|
|
220
220
|
tokens: z.ZodArray<z.ZodObject<{
|
|
221
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
221
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
222
222
|
amount: z.ZodString;
|
|
223
223
|
}, z.core.$loose>>;
|
|
224
224
|
}, z.core.$loose>;
|
|
@@ -243,17 +243,17 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
243
243
|
}>;
|
|
244
244
|
source: z.ZodObject<{
|
|
245
245
|
chainId: z.ZodNumber;
|
|
246
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
246
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
247
247
|
amount: z.ZodString;
|
|
248
248
|
symbol: z.ZodNullable<z.ZodString>;
|
|
249
249
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
250
250
|
}, z.core.$loose>;
|
|
251
251
|
destination: z.ZodObject<{
|
|
252
252
|
chainId: z.ZodNumber;
|
|
253
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
253
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
254
254
|
amount: z.ZodString;
|
|
255
255
|
minAmountOut: z.ZodString;
|
|
256
|
-
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.
|
|
256
|
+
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
257
257
|
symbol: z.ZodNullable<z.ZodString>;
|
|
258
258
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
259
259
|
}, z.core.$loose>;
|
|
@@ -268,7 +268,7 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
268
268
|
amount: z.ZodString;
|
|
269
269
|
token: z.ZodObject<{
|
|
270
270
|
chainId: z.ZodNumber;
|
|
271
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
271
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
272
272
|
symbol: z.ZodNullable<z.ZodString>;
|
|
273
273
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
274
274
|
}, z.core.$loose>;
|
|
@@ -285,12 +285,12 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
285
285
|
aggregator: z.ZodOptional<z.ZodString>;
|
|
286
286
|
from: z.ZodObject<{
|
|
287
287
|
chainId: z.ZodNumber;
|
|
288
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
288
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
289
289
|
amount: z.ZodString;
|
|
290
290
|
}, z.core.$loose>;
|
|
291
291
|
to: z.ZodObject<{
|
|
292
292
|
chainId: z.ZodNumber;
|
|
293
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
293
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
294
294
|
amount: z.ZodString;
|
|
295
295
|
}, z.core.$loose>;
|
|
296
296
|
fees: z.ZodArray<z.ZodObject<{
|
|
@@ -303,7 +303,7 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
303
303
|
amount: z.ZodString;
|
|
304
304
|
token: z.ZodObject<{
|
|
305
305
|
chainId: z.ZodNumber;
|
|
306
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
306
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
307
307
|
symbol: z.ZodNullable<z.ZodString>;
|
|
308
308
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
309
309
|
}, z.core.$loose>;
|
|
@@ -322,7 +322,7 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
322
322
|
bucketIndex: z.ZodOptional<z.ZodNumber>;
|
|
323
323
|
}, z.core.$loose>>;
|
|
324
324
|
solver: z.ZodObject<{
|
|
325
|
-
id: z.ZodUnion<readonly [z.ZodString, z.
|
|
325
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
326
326
|
name: z.ZodOptional<z.ZodString>;
|
|
327
327
|
}, z.core.$loose>;
|
|
328
328
|
intentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -344,25 +344,25 @@ export declare const QuoteCoreSchema: z.ZodObject<{
|
|
|
344
344
|
deadline: z.ZodNumber;
|
|
345
345
|
source: z.ZodNumber;
|
|
346
346
|
destination: z.ZodNumber;
|
|
347
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
347
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
348
348
|
nativeAmount: z.ZodString;
|
|
349
349
|
tokens: z.ZodArray<z.ZodObject<{
|
|
350
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
350
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
351
351
|
amount: z.ZodString;
|
|
352
352
|
}, z.core.$loose>>;
|
|
353
353
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
354
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
354
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
355
355
|
data: z.ZodString;
|
|
356
356
|
value: z.ZodString;
|
|
357
357
|
}, z.core.$loose>>>;
|
|
358
358
|
}, z.core.$loose>;
|
|
359
359
|
reward: z.ZodObject<{
|
|
360
360
|
deadline: z.ZodNumber;
|
|
361
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
362
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
361
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
362
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
363
363
|
nativeAmount: z.ZodString;
|
|
364
364
|
tokens: z.ZodArray<z.ZodObject<{
|
|
365
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
365
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
366
366
|
amount: z.ZodString;
|
|
367
367
|
}, z.core.$loose>>;
|
|
368
368
|
}, z.core.$loose>;
|
|
@@ -390,17 +390,17 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
390
390
|
}>;
|
|
391
391
|
source: z.ZodObject<{
|
|
392
392
|
chainId: z.ZodNumber;
|
|
393
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
393
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
394
394
|
amount: z.ZodString;
|
|
395
395
|
symbol: z.ZodNullable<z.ZodString>;
|
|
396
396
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
397
397
|
}, z.core.$loose>;
|
|
398
398
|
destination: z.ZodObject<{
|
|
399
399
|
chainId: z.ZodNumber;
|
|
400
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
400
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
401
401
|
amount: z.ZodString;
|
|
402
402
|
minAmountOut: z.ZodString;
|
|
403
|
-
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.
|
|
403
|
+
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
404
404
|
symbol: z.ZodNullable<z.ZodString>;
|
|
405
405
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
406
406
|
}, z.core.$loose>;
|
|
@@ -415,7 +415,7 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
415
415
|
amount: z.ZodString;
|
|
416
416
|
token: z.ZodObject<{
|
|
417
417
|
chainId: z.ZodNumber;
|
|
418
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
418
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
419
419
|
symbol: z.ZodNullable<z.ZodString>;
|
|
420
420
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
421
421
|
}, z.core.$loose>;
|
|
@@ -432,12 +432,12 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
432
432
|
aggregator: z.ZodOptional<z.ZodString>;
|
|
433
433
|
from: z.ZodObject<{
|
|
434
434
|
chainId: z.ZodNumber;
|
|
435
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
435
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
436
436
|
amount: z.ZodString;
|
|
437
437
|
}, z.core.$loose>;
|
|
438
438
|
to: z.ZodObject<{
|
|
439
439
|
chainId: z.ZodNumber;
|
|
440
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
440
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
441
441
|
amount: z.ZodString;
|
|
442
442
|
}, z.core.$loose>;
|
|
443
443
|
fees: z.ZodArray<z.ZodObject<{
|
|
@@ -450,7 +450,7 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
450
450
|
amount: z.ZodString;
|
|
451
451
|
token: z.ZodObject<{
|
|
452
452
|
chainId: z.ZodNumber;
|
|
453
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
453
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
454
454
|
symbol: z.ZodNullable<z.ZodString>;
|
|
455
455
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
456
456
|
}, z.core.$loose>;
|
|
@@ -469,7 +469,7 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
469
469
|
bucketIndex: z.ZodOptional<z.ZodNumber>;
|
|
470
470
|
}, z.core.$loose>>;
|
|
471
471
|
solver: z.ZodObject<{
|
|
472
|
-
id: z.ZodUnion<readonly [z.ZodString, z.
|
|
472
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
473
473
|
name: z.ZodOptional<z.ZodString>;
|
|
474
474
|
}, z.core.$loose>;
|
|
475
475
|
intentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -491,25 +491,25 @@ export declare const RankedQuoteEntrySchema: z.ZodObject<{
|
|
|
491
491
|
deadline: z.ZodNumber;
|
|
492
492
|
source: z.ZodNumber;
|
|
493
493
|
destination: z.ZodNumber;
|
|
494
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
494
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
495
495
|
nativeAmount: z.ZodString;
|
|
496
496
|
tokens: z.ZodArray<z.ZodObject<{
|
|
497
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
497
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
498
498
|
amount: z.ZodString;
|
|
499
499
|
}, z.core.$loose>>;
|
|
500
500
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
501
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
501
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
502
502
|
data: z.ZodString;
|
|
503
503
|
value: z.ZodString;
|
|
504
504
|
}, z.core.$loose>>>;
|
|
505
505
|
}, z.core.$loose>;
|
|
506
506
|
reward: z.ZodObject<{
|
|
507
507
|
deadline: z.ZodNumber;
|
|
508
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
509
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
508
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
509
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
510
510
|
nativeAmount: z.ZodString;
|
|
511
511
|
tokens: z.ZodArray<z.ZodObject<{
|
|
512
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
512
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
513
513
|
amount: z.ZodString;
|
|
514
514
|
}, z.core.$loose>>;
|
|
515
515
|
}, z.core.$loose>;
|
|
@@ -538,17 +538,17 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
538
538
|
}>;
|
|
539
539
|
source: z.ZodObject<{
|
|
540
540
|
chainId: z.ZodNumber;
|
|
541
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
541
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
542
542
|
amount: z.ZodString;
|
|
543
543
|
symbol: z.ZodNullable<z.ZodString>;
|
|
544
544
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
545
545
|
}, z.core.$loose>;
|
|
546
546
|
destination: z.ZodObject<{
|
|
547
547
|
chainId: z.ZodNumber;
|
|
548
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
548
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
549
549
|
amount: z.ZodString;
|
|
550
550
|
minAmountOut: z.ZodString;
|
|
551
|
-
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.
|
|
551
|
+
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
552
552
|
symbol: z.ZodNullable<z.ZodString>;
|
|
553
553
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
554
554
|
}, z.core.$loose>;
|
|
@@ -563,7 +563,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
563
563
|
amount: z.ZodString;
|
|
564
564
|
token: z.ZodObject<{
|
|
565
565
|
chainId: z.ZodNumber;
|
|
566
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
566
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
567
567
|
symbol: z.ZodNullable<z.ZodString>;
|
|
568
568
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
569
569
|
}, z.core.$loose>;
|
|
@@ -580,12 +580,12 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
580
580
|
aggregator: z.ZodOptional<z.ZodString>;
|
|
581
581
|
from: z.ZodObject<{
|
|
582
582
|
chainId: z.ZodNumber;
|
|
583
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
583
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
584
584
|
amount: z.ZodString;
|
|
585
585
|
}, z.core.$loose>;
|
|
586
586
|
to: z.ZodObject<{
|
|
587
587
|
chainId: z.ZodNumber;
|
|
588
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
588
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
589
589
|
amount: z.ZodString;
|
|
590
590
|
}, z.core.$loose>;
|
|
591
591
|
fees: z.ZodArray<z.ZodObject<{
|
|
@@ -598,7 +598,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
598
598
|
amount: z.ZodString;
|
|
599
599
|
token: z.ZodObject<{
|
|
600
600
|
chainId: z.ZodNumber;
|
|
601
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
601
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
602
602
|
symbol: z.ZodNullable<z.ZodString>;
|
|
603
603
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
604
604
|
}, z.core.$loose>;
|
|
@@ -617,7 +617,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
617
617
|
bucketIndex: z.ZodOptional<z.ZodNumber>;
|
|
618
618
|
}, z.core.$loose>>;
|
|
619
619
|
solver: z.ZodObject<{
|
|
620
|
-
id: z.ZodUnion<readonly [z.ZodString, z.
|
|
620
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
621
621
|
name: z.ZodOptional<z.ZodString>;
|
|
622
622
|
}, z.core.$loose>;
|
|
623
623
|
intentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -639,25 +639,25 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
639
639
|
deadline: z.ZodNumber;
|
|
640
640
|
source: z.ZodNumber;
|
|
641
641
|
destination: z.ZodNumber;
|
|
642
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
642
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
643
643
|
nativeAmount: z.ZodString;
|
|
644
644
|
tokens: z.ZodArray<z.ZodObject<{
|
|
645
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
645
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
646
646
|
amount: z.ZodString;
|
|
647
647
|
}, z.core.$loose>>;
|
|
648
648
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
649
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
649
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
650
650
|
data: z.ZodString;
|
|
651
651
|
value: z.ZodString;
|
|
652
652
|
}, z.core.$loose>>>;
|
|
653
653
|
}, z.core.$loose>;
|
|
654
654
|
reward: z.ZodObject<{
|
|
655
655
|
deadline: z.ZodNumber;
|
|
656
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
657
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
656
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
657
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
658
658
|
nativeAmount: z.ZodString;
|
|
659
659
|
tokens: z.ZodArray<z.ZodObject<{
|
|
660
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
660
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
661
661
|
amount: z.ZodString;
|
|
662
662
|
}, z.core.$loose>>;
|
|
663
663
|
}, z.core.$loose>;
|
|
@@ -684,17 +684,17 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
684
684
|
}>;
|
|
685
685
|
source: z.ZodObject<{
|
|
686
686
|
chainId: z.ZodNumber;
|
|
687
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
687
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
688
688
|
amount: z.ZodString;
|
|
689
689
|
symbol: z.ZodNullable<z.ZodString>;
|
|
690
690
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
691
691
|
}, z.core.$loose>;
|
|
692
692
|
destination: z.ZodObject<{
|
|
693
693
|
chainId: z.ZodNumber;
|
|
694
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
694
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
695
695
|
amount: z.ZodString;
|
|
696
696
|
minAmountOut: z.ZodString;
|
|
697
|
-
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.
|
|
697
|
+
recipient: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>>;
|
|
698
698
|
symbol: z.ZodNullable<z.ZodString>;
|
|
699
699
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
700
700
|
}, z.core.$loose>;
|
|
@@ -709,7 +709,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
709
709
|
amount: z.ZodString;
|
|
710
710
|
token: z.ZodObject<{
|
|
711
711
|
chainId: z.ZodNumber;
|
|
712
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
712
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
713
713
|
symbol: z.ZodNullable<z.ZodString>;
|
|
714
714
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
715
715
|
}, z.core.$loose>;
|
|
@@ -726,12 +726,12 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
726
726
|
aggregator: z.ZodOptional<z.ZodString>;
|
|
727
727
|
from: z.ZodObject<{
|
|
728
728
|
chainId: z.ZodNumber;
|
|
729
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
729
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
730
730
|
amount: z.ZodString;
|
|
731
731
|
}, z.core.$loose>;
|
|
732
732
|
to: z.ZodObject<{
|
|
733
733
|
chainId: z.ZodNumber;
|
|
734
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
734
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
735
735
|
amount: z.ZodString;
|
|
736
736
|
}, z.core.$loose>;
|
|
737
737
|
fees: z.ZodArray<z.ZodObject<{
|
|
@@ -744,7 +744,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
744
744
|
amount: z.ZodString;
|
|
745
745
|
token: z.ZodObject<{
|
|
746
746
|
chainId: z.ZodNumber;
|
|
747
|
-
address: z.ZodUnion<readonly [z.ZodString, z.
|
|
747
|
+
address: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
748
748
|
symbol: z.ZodNullable<z.ZodString>;
|
|
749
749
|
decimals: z.ZodNullable<z.ZodNumber>;
|
|
750
750
|
}, z.core.$loose>;
|
|
@@ -763,7 +763,7 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
763
763
|
bucketIndex: z.ZodOptional<z.ZodNumber>;
|
|
764
764
|
}, z.core.$loose>>;
|
|
765
765
|
solver: z.ZodObject<{
|
|
766
|
-
id: z.ZodUnion<readonly [z.ZodString, z.
|
|
766
|
+
id: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
767
767
|
name: z.ZodOptional<z.ZodString>;
|
|
768
768
|
}, z.core.$loose>;
|
|
769
769
|
intentHash: z.ZodNullable<z.ZodString>;
|
|
@@ -785,25 +785,25 @@ export declare const QuoteResponseSchema: z.ZodObject<{
|
|
|
785
785
|
deadline: z.ZodNumber;
|
|
786
786
|
source: z.ZodNumber;
|
|
787
787
|
destination: z.ZodNumber;
|
|
788
|
-
portal: z.ZodUnion<readonly [z.ZodString, z.
|
|
788
|
+
portal: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
789
789
|
nativeAmount: z.ZodString;
|
|
790
790
|
tokens: z.ZodArray<z.ZodObject<{
|
|
791
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
791
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
792
792
|
amount: z.ZodString;
|
|
793
793
|
}, z.core.$loose>>;
|
|
794
794
|
calls: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
795
|
-
target: z.ZodUnion<readonly [z.ZodString, z.
|
|
795
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
796
796
|
data: z.ZodString;
|
|
797
797
|
value: z.ZodString;
|
|
798
798
|
}, z.core.$loose>>>;
|
|
799
799
|
}, z.core.$loose>;
|
|
800
800
|
reward: z.ZodObject<{
|
|
801
801
|
deadline: z.ZodNumber;
|
|
802
|
-
creator: z.ZodUnion<readonly [z.ZodString, z.
|
|
803
|
-
prover: z.ZodUnion<readonly [z.ZodString, z.
|
|
802
|
+
creator: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
803
|
+
prover: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
804
804
|
nativeAmount: z.ZodString;
|
|
805
805
|
tokens: z.ZodArray<z.ZodObject<{
|
|
806
|
-
token: z.ZodUnion<readonly [z.ZodString, z.
|
|
806
|
+
token: z.ZodUnion<readonly [z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodString]>, z.ZodString]>;
|
|
807
807
|
amount: z.ZodString;
|
|
808
808
|
}, z.core.$loose>>;
|
|
809
809
|
}, z.core.$loose>;
|