@mimicprotocol/sdk 0.0.1-rc.2 → 0.0.1-rc.21
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/axia/constants.d.ts +17 -2
- package/dist/axia/constants.d.ts.map +1 -1
- package/dist/axia/constants.js +20 -2
- package/dist/axia/constants.js.map +1 -1
- package/dist/axia/types.d.ts +3 -1
- package/dist/axia/types.d.ts.map +1 -1
- package/dist/axia/validators.d.ts +1932 -585
- package/dist/axia/validators.d.ts.map +1 -1
- package/dist/axia/validators.js +28 -11
- package/dist/axia/validators.js.map +1 -1
- package/dist/client/core/auth.d.ts +2 -1
- package/dist/client/core/auth.d.ts.map +1 -1
- package/dist/client/core/auth.js +3 -2
- package/dist/client/core/auth.js.map +1 -1
- package/dist/client/core/config.d.ts +2 -2
- package/dist/client/core/config.d.ts.map +1 -1
- package/dist/client/core/config.js +7 -5
- package/dist/client/core/config.js.map +1 -1
- package/dist/client/domains/BalancesClient.d.ts +8 -0
- package/dist/client/domains/BalancesClient.d.ts.map +1 -0
- package/dist/client/domains/BalancesClient.js +17 -0
- package/dist/client/domains/BalancesClient.js.map +1 -0
- package/dist/client/domains/Client.d.ts.map +1 -1
- package/dist/client/domains/Client.js +4 -2
- package/dist/client/domains/Client.js.map +1 -1
- package/dist/client/domains/ConfigsClient.d.ts +4 -1
- package/dist/client/domains/ConfigsClient.d.ts.map +1 -1
- package/dist/client/domains/ConfigsClient.js +33 -3
- package/dist/client/domains/ConfigsClient.js.map +1 -1
- package/dist/client/domains/IntentsClient.d.ts +22 -5
- package/dist/client/domains/IntentsClient.d.ts.map +1 -1
- package/dist/client/domains/IntentsClient.js +26 -4
- package/dist/client/domains/IntentsClient.js.map +1 -1
- package/dist/client/domains/TasksClient.d.ts.map +1 -1
- package/dist/client/domains/TasksClient.js +1 -4
- package/dist/client/domains/TasksClient.js.map +1 -1
- package/dist/client/domains/UsersClient.d.ts +16 -0
- package/dist/client/domains/UsersClient.d.ts.map +1 -0
- package/dist/client/domains/UsersClient.js +45 -0
- package/dist/client/domains/UsersClient.js.map +1 -0
- package/dist/client/domains/index.d.ts +2 -0
- package/dist/client/domains/index.d.ts.map +1 -1
- package/dist/client/domains/index.js +5 -1
- package/dist/client/domains/index.js.map +1 -1
- package/dist/client/index.d.ts +7 -2
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +25 -6
- package/dist/client/index.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/oracle/eip712Types.d.ts +44 -4
- package/dist/oracle/eip712Types.d.ts.map +1 -1
- package/dist/oracle/eip712Types.js +48 -9
- package/dist/oracle/eip712Types.js.map +1 -1
- package/dist/oracle/types.d.ts +15 -1
- package/dist/oracle/types.d.ts.map +1 -1
- package/dist/oracle/validators.d.ts +854 -232
- package/dist/oracle/validators.d.ts.map +1 -1
- package/dist/oracle/validators.js +36 -6
- package/dist/oracle/validators.js.map +1 -1
- package/dist/registry/AuthSigner.d.ts +5 -4
- package/dist/registry/AuthSigner.d.ts.map +1 -1
- package/dist/registry/AuthSigner.js +6 -5
- package/dist/registry/AuthSigner.js.map +1 -1
- package/dist/registry/ConfigSigner.d.ts +2 -1
- package/dist/registry/ConfigSigner.d.ts.map +1 -1
- package/dist/registry/ConfigSigner.js +32 -13
- package/dist/registry/ConfigSigner.js.map +1 -1
- package/dist/registry/eip712Types.d.ts +25 -0
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +24 -2
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/types.d.ts +9 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js.map +1 -1
- package/dist/registry/validations.d.ts +2 -2
- package/dist/registry/validations.d.ts.map +1 -1
- package/dist/registry/validations.js +5 -5
- package/dist/registry/validations.js.map +1 -1
- package/dist/registry/validators.d.ts +391 -167
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +50 -14
- package/dist/registry/validators.js.map +1 -1
- package/dist/relayer/eip712Types.d.ts +4 -0
- package/dist/relayer/eip712Types.d.ts.map +1 -1
- package/dist/relayer/types.d.ts +2 -1
- package/dist/relayer/types.d.ts.map +1 -1
- package/dist/relayer/validators.d.ts +1719 -401
- package/dist/relayer/validators.d.ts.map +1 -1
- package/dist/relayer/validators.js +7 -15
- package/dist/relayer/validators.js.map +1 -1
- package/dist/runner/validators.d.ts +763 -169
- package/dist/runner/validators.d.ts.map +1 -1
- package/dist/runner/validators.js +10 -1
- package/dist/runner/validators.js.map +1 -1
- package/dist/shared/codec/chains/evm.d.ts +9 -0
- package/dist/shared/codec/chains/evm.d.ts.map +1 -0
- package/dist/shared/codec/chains/evm.js +122 -0
- package/dist/shared/codec/chains/evm.js.map +1 -0
- package/dist/shared/codec/chains/svm.d.ts +22 -0
- package/dist/shared/codec/chains/svm.d.ts.map +1 -0
- package/dist/shared/codec/chains/svm.js +233 -0
- package/dist/shared/codec/chains/svm.js.map +1 -0
- package/dist/shared/codec/decoder.d.ts +6 -2
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +42 -44
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +97 -4
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +32 -54
- package/dist/shared/codec/encoder.js.map +1 -1
- package/dist/shared/codec/index.d.ts +1 -0
- package/dist/shared/codec/index.d.ts.map +1 -1
- package/dist/shared/codec/index.js +14 -0
- package/dist/shared/codec/index.js.map +1 -1
- package/dist/shared/eip712Types/index.d.ts +10 -1
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +18 -6
- package/dist/shared/eip712Types/index.js.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.d.ts.map +1 -1
- package/dist/shared/signer/WindowEthereumSigner.js +1 -6
- package/dist/shared/signer/WindowEthereumSigner.js.map +1 -1
- package/dist/shared/types/executions.d.ts +1 -2
- package/dist/shared/types/executions.d.ts.map +1 -1
- package/dist/shared/types/index.d.ts +0 -1
- package/dist/shared/types/index.d.ts.map +1 -1
- package/dist/shared/types/index.js +0 -1
- package/dist/shared/types/index.js.map +1 -1
- package/dist/shared/types/intents.d.ts +11 -4
- package/dist/shared/types/intents.d.ts.map +1 -1
- package/dist/shared/types/primitives.d.ts +3 -1
- package/dist/shared/types/primitives.d.ts.map +1 -1
- package/dist/shared/utils/addresses.d.ts +2 -0
- package/dist/shared/utils/addresses.d.ts.map +1 -1
- package/dist/shared/utils/addresses.js +9 -0
- package/dist/shared/utils/addresses.js.map +1 -1
- package/dist/shared/utils/bytes.d.ts +2 -0
- package/dist/shared/utils/bytes.d.ts.map +1 -1
- package/dist/shared/utils/bytes.js +10 -0
- package/dist/shared/utils/bytes.js.map +1 -1
- package/dist/shared/utils/chains.d.ts +2 -0
- package/dist/shared/utils/chains.d.ts.map +1 -1
- package/dist/shared/utils/chains.js +2 -0
- package/dist/shared/utils/chains.js.map +1 -1
- package/dist/shared/utils/index.d.ts +1 -0
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/index.js +1 -0
- package/dist/shared/utils/index.js.map +1 -1
- package/dist/shared/utils/numbers.d.ts +7 -6
- package/dist/shared/utils/numbers.d.ts.map +1 -1
- package/dist/shared/utils/numbers.js +61 -22
- package/dist/shared/utils/numbers.js.map +1 -1
- package/dist/shared/utils/random.d.ts +4 -1
- package/dist/shared/utils/random.d.ts.map +1 -1
- package/dist/shared/utils/random.js +22 -4
- package/dist/shared/utils/random.js.map +1 -1
- package/dist/shared/utils/time.d.ts +12 -0
- package/dist/shared/utils/time.d.ts.map +1 -0
- package/dist/shared/utils/time.js +47 -0
- package/dist/shared/utils/time.js.map +1 -0
- package/dist/shared/utils/validations.d.ts +7 -1
- package/dist/shared/utils/validations.d.ts.map +1 -1
- package/dist/shared/utils/validations.js +36 -3
- package/dist/shared/utils/validations.js.map +1 -1
- package/dist/shared/validators/executions.d.ts +20 -37
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +4 -17
- package/dist/shared/validators/executions.js.map +1 -1
- package/dist/shared/validators/index.d.ts +0 -1
- package/dist/shared/validators/index.d.ts.map +1 -1
- package/dist/shared/validators/index.js +0 -1
- package/dist/shared/validators/index.js.map +1 -1
- package/dist/shared/validators/intents.d.ts +423 -21
- package/dist/shared/validators/intents.d.ts.map +1 -1
- package/dist/shared/validators/intents.js +35 -8
- package/dist/shared/validators/intents.js.map +1 -1
- package/dist/shared/validators/primitives.d.ts +26 -2
- package/dist/shared/validators/primitives.d.ts.map +1 -1
- package/dist/shared/validators/primitives.js +18 -5
- package/dist/shared/validators/primitives.js.map +1 -1
- package/dist/validator/ValidatorSigner.d.ts +10 -4
- package/dist/validator/ValidatorSigner.d.ts.map +1 -1
- package/dist/validator/ValidatorSigner.js +14 -8
- package/dist/validator/ValidatorSigner.js.map +1 -1
- package/dist/validator/eip712Types.d.ts.map +1 -1
- package/dist/validator/eip712Types.js +5 -2
- package/dist/validator/eip712Types.js.map +1 -1
- package/package.json +4 -1
- package/dist/shared/types/events.d.ts +0 -4
- package/dist/shared/types/events.d.ts.map +0 -1
- package/dist/shared/types/events.js +0 -3
- package/dist/shared/types/events.js.map +0 -1
- package/dist/shared/validators/events.d.ts +0 -20
- package/dist/shared/validators/events.d.ts.map +0 -1
- package/dist/shared/validators/events.js +0 -17
- package/dist/shared/validators/events.js.map +0 -1
|
@@ -4,7 +4,44 @@ export declare const SemVerValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
|
4
4
|
export declare const DeltaValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
5
5
|
export declare const CronValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
6
6
|
export declare const SolidityTypeValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ManifestInputTypeValidator: z.ZodEffects<z.ZodString, string, string>;
|
|
8
|
+
export declare const TokenValidator: z.ZodObject<{
|
|
9
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
10
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
address: string;
|
|
13
|
+
chainId: number;
|
|
14
|
+
}, {
|
|
15
|
+
address: string;
|
|
16
|
+
chainId: number;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const TokenAmountValidator: z.ZodObject<{
|
|
19
|
+
token: z.ZodObject<{
|
|
20
|
+
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
21
|
+
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
address: string;
|
|
24
|
+
chainId: number;
|
|
25
|
+
}, {
|
|
26
|
+
address: string;
|
|
27
|
+
chainId: number;
|
|
28
|
+
}>;
|
|
29
|
+
amount: z.ZodEffects<z.ZodNumber, string, number>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
token: {
|
|
32
|
+
address: string;
|
|
33
|
+
chainId: number;
|
|
34
|
+
};
|
|
35
|
+
amount: string;
|
|
36
|
+
}, {
|
|
37
|
+
token: {
|
|
38
|
+
address: string;
|
|
39
|
+
chainId: number;
|
|
40
|
+
};
|
|
41
|
+
amount: number;
|
|
42
|
+
}>;
|
|
43
|
+
export declare const EventTopicValidator: z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
44
|
+
export declare const EventTopicsValidator: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
8
45
|
export declare const CronTriggerValidator: z.ZodObject<{
|
|
9
46
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
10
47
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -25,39 +62,45 @@ export declare const EventTriggerValidator: z.ZodObject<{
|
|
|
25
62
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
26
63
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
27
64
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
28
|
-
|
|
65
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
29
66
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
67
|
+
endDate: z.ZodNumber;
|
|
30
68
|
}, "strict", z.ZodTypeAny, {
|
|
31
69
|
chainId: number;
|
|
32
70
|
type: TriggerType.Event;
|
|
33
|
-
|
|
71
|
+
topics: string[][];
|
|
34
72
|
delta: string;
|
|
35
|
-
|
|
73
|
+
endDate: number;
|
|
74
|
+
contract: string;
|
|
36
75
|
}, {
|
|
37
76
|
chainId: number;
|
|
38
77
|
type: TriggerType.Event;
|
|
39
|
-
|
|
78
|
+
topics: string[][];
|
|
40
79
|
delta: string;
|
|
41
|
-
|
|
80
|
+
endDate: number;
|
|
81
|
+
contract: string;
|
|
42
82
|
}>;
|
|
43
83
|
export declare const TriggerValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
44
84
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
45
85
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
46
86
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
47
|
-
|
|
87
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
48
88
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
89
|
+
endDate: z.ZodNumber;
|
|
49
90
|
}, "strict", z.ZodTypeAny, {
|
|
50
91
|
chainId: number;
|
|
51
92
|
type: TriggerType.Event;
|
|
52
|
-
|
|
93
|
+
topics: string[][];
|
|
53
94
|
delta: string;
|
|
54
|
-
|
|
95
|
+
endDate: number;
|
|
96
|
+
contract: string;
|
|
55
97
|
}, {
|
|
56
98
|
chainId: number;
|
|
57
99
|
type: TriggerType.Event;
|
|
58
|
-
|
|
100
|
+
topics: string[][];
|
|
59
101
|
delta: string;
|
|
60
|
-
|
|
102
|
+
endDate: number;
|
|
103
|
+
contract: string;
|
|
61
104
|
}>, z.ZodObject<{
|
|
62
105
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
63
106
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -145,11 +188,11 @@ export declare const UserAuthenticationValidator: z.ZodObject<{
|
|
|
145
188
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
146
189
|
token: z.ZodString;
|
|
147
190
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
address: string;
|
|
149
191
|
token: string;
|
|
150
|
-
}, {
|
|
151
192
|
address: string;
|
|
193
|
+
}, {
|
|
152
194
|
token: string;
|
|
195
|
+
address: string;
|
|
153
196
|
}>;
|
|
154
197
|
export declare const UserNonceRequestValidator: z.ZodObject<{
|
|
155
198
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -162,11 +205,11 @@ export declare const UserNonceValidator: z.ZodObject<{
|
|
|
162
205
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
163
206
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
164
207
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
address: string;
|
|
166
208
|
nonce: string;
|
|
167
|
-
}, {
|
|
168
209
|
address: string;
|
|
210
|
+
}, {
|
|
169
211
|
nonce: string;
|
|
212
|
+
address: string;
|
|
170
213
|
}>;
|
|
171
214
|
export declare const UserApiKeyValidator: z.ZodObject<{
|
|
172
215
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -189,8 +232,8 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
189
232
|
logo: z.ZodString;
|
|
190
233
|
}, "strip", z.ZodTypeAny, {
|
|
191
234
|
symbol: string;
|
|
192
|
-
chainId: number;
|
|
193
235
|
address: string;
|
|
236
|
+
chainId: number;
|
|
194
237
|
balance: string;
|
|
195
238
|
decimals: number;
|
|
196
239
|
allowance: string;
|
|
@@ -198,8 +241,8 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
198
241
|
logo: string;
|
|
199
242
|
}, {
|
|
200
243
|
symbol: string;
|
|
201
|
-
chainId: number;
|
|
202
244
|
address: string;
|
|
245
|
+
chainId: number;
|
|
203
246
|
balance: string;
|
|
204
247
|
decimals: number;
|
|
205
248
|
allowance: string;
|
|
@@ -217,8 +260,8 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
217
260
|
logo: z.ZodString;
|
|
218
261
|
}, "strip", z.ZodTypeAny, {
|
|
219
262
|
symbol: string;
|
|
220
|
-
chainId: number;
|
|
221
263
|
address: string;
|
|
264
|
+
chainId: number;
|
|
222
265
|
balance: string;
|
|
223
266
|
decimals: number;
|
|
224
267
|
allowance: string;
|
|
@@ -226,8 +269,8 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
226
269
|
logo: string;
|
|
227
270
|
}, {
|
|
228
271
|
symbol: string;
|
|
229
|
-
chainId: number;
|
|
230
272
|
address: string;
|
|
273
|
+
chainId: number;
|
|
231
274
|
balance: string;
|
|
232
275
|
decimals: number;
|
|
233
276
|
allowance: string;
|
|
@@ -257,14 +300,14 @@ export declare const BalanceValidator: z.ZodObject<{
|
|
|
257
300
|
description: z.ZodString;
|
|
258
301
|
createdAt: z.ZodDate;
|
|
259
302
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
address: string;
|
|
261
303
|
amount: number;
|
|
304
|
+
address: string;
|
|
262
305
|
createdAt: Date;
|
|
263
306
|
description: string;
|
|
264
307
|
expiresAt?: Date | undefined;
|
|
265
308
|
}, {
|
|
266
|
-
address: string;
|
|
267
309
|
amount: number;
|
|
310
|
+
address: string;
|
|
268
311
|
createdAt: Date;
|
|
269
312
|
description: string;
|
|
270
313
|
expiresAt?: Date | undefined;
|
|
@@ -276,14 +319,14 @@ export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
|
276
319
|
description: z.ZodString;
|
|
277
320
|
createdAt: z.ZodDate;
|
|
278
321
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
address: string;
|
|
280
322
|
amount: number;
|
|
323
|
+
address: string;
|
|
281
324
|
createdAt: Date;
|
|
282
325
|
description: string;
|
|
283
326
|
expiresAt?: Date | undefined;
|
|
284
327
|
}, {
|
|
285
|
-
address: string;
|
|
286
328
|
amount: number;
|
|
329
|
+
address: string;
|
|
287
330
|
createdAt: Date;
|
|
288
331
|
description: string;
|
|
289
332
|
expiresAt?: Date | undefined;
|
|
@@ -303,12 +346,12 @@ export declare const BalancesCreateRequestValidator: z.ZodObject<{
|
|
|
303
346
|
amount: z.ZodNumber;
|
|
304
347
|
description: z.ZodString;
|
|
305
348
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
address: string;
|
|
307
349
|
amount: number;
|
|
350
|
+
address: string;
|
|
308
351
|
description: string;
|
|
309
352
|
}, {
|
|
310
|
-
address: string;
|
|
311
353
|
amount: number;
|
|
354
|
+
address: string;
|
|
312
355
|
description: string;
|
|
313
356
|
}>;
|
|
314
357
|
export declare const TasksGetRequestValidator: z.ZodObject<{
|
|
@@ -332,21 +375,18 @@ export declare const TaskValidator: z.ZodObject<{
|
|
|
332
375
|
name: z.ZodString;
|
|
333
376
|
version: z.ZodString;
|
|
334
377
|
description: z.ZodString;
|
|
335
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
336
378
|
createdAt: z.ZodDate;
|
|
337
379
|
}, "strip", z.ZodTypeAny, {
|
|
338
380
|
name: string;
|
|
339
|
-
createdAt: Date;
|
|
340
381
|
version: string;
|
|
382
|
+
createdAt: Date;
|
|
341
383
|
description: string;
|
|
342
|
-
creator: string;
|
|
343
384
|
CID: string;
|
|
344
385
|
}, {
|
|
345
386
|
name: string;
|
|
346
|
-
createdAt: Date;
|
|
347
387
|
version: string;
|
|
388
|
+
createdAt: Date;
|
|
348
389
|
description: string;
|
|
349
|
-
creator: string;
|
|
350
390
|
CID: string;
|
|
351
391
|
}>;
|
|
352
392
|
export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -354,21 +394,18 @@ export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
|
354
394
|
name: z.ZodString;
|
|
355
395
|
version: z.ZodString;
|
|
356
396
|
description: z.ZodString;
|
|
357
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
358
397
|
createdAt: z.ZodDate;
|
|
359
398
|
}, "strip", z.ZodTypeAny, {
|
|
360
399
|
name: string;
|
|
361
|
-
createdAt: Date;
|
|
362
400
|
version: string;
|
|
401
|
+
createdAt: Date;
|
|
363
402
|
description: string;
|
|
364
|
-
creator: string;
|
|
365
403
|
CID: string;
|
|
366
404
|
}, {
|
|
367
405
|
name: string;
|
|
368
|
-
createdAt: Date;
|
|
369
406
|
version: string;
|
|
407
|
+
createdAt: Date;
|
|
370
408
|
description: string;
|
|
371
|
-
creator: string;
|
|
372
409
|
CID: string;
|
|
373
410
|
}>, "many">;
|
|
374
411
|
export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
@@ -394,7 +431,7 @@ export declare const ConfigTypedDataFieldValidator: z.ZodObject<{
|
|
|
394
431
|
name: string;
|
|
395
432
|
type: string;
|
|
396
433
|
}>;
|
|
397
|
-
export declare const ConfigTypesValidator: z.ZodObject<{
|
|
434
|
+
export declare const ConfigTypesValidator: z.ZodIntersection<z.ZodObject<{
|
|
398
435
|
Input: z.ZodArray<z.ZodObject<{
|
|
399
436
|
name: z.ZodString;
|
|
400
437
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -407,23 +444,32 @@ export declare const ConfigTypesValidator: z.ZodObject<{
|
|
|
407
444
|
}>, "many">;
|
|
408
445
|
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
409
446
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
410
|
-
}, "
|
|
411
|
-
Config: [any, ...any[]];
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
448
|
Input: {
|
|
413
449
|
name: string;
|
|
414
450
|
type: string;
|
|
415
451
|
}[];
|
|
416
452
|
Trigger: [any, ...any[]];
|
|
417
|
-
}, {
|
|
418
453
|
Config: [any, ...any[]];
|
|
454
|
+
}, {
|
|
419
455
|
Input: {
|
|
420
456
|
name: string;
|
|
421
457
|
type: string;
|
|
422
458
|
}[];
|
|
423
459
|
Trigger: [any, ...any[]];
|
|
424
|
-
|
|
460
|
+
Config: [any, ...any[]];
|
|
461
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
462
|
+
name: z.ZodString;
|
|
463
|
+
type: z.ZodString;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
name: string;
|
|
466
|
+
type: string;
|
|
467
|
+
}, {
|
|
468
|
+
name: string;
|
|
469
|
+
type: string;
|
|
470
|
+
}>, "many">>>;
|
|
425
471
|
export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
426
|
-
types: z.ZodObject<{
|
|
472
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
427
473
|
Input: z.ZodArray<z.ZodObject<{
|
|
428
474
|
name: z.ZodString;
|
|
429
475
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -436,21 +482,30 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
436
482
|
}>, "many">;
|
|
437
483
|
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
438
484
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
439
|
-
}, "
|
|
440
|
-
Config: [any, ...any[]];
|
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
486
|
Input: {
|
|
442
487
|
name: string;
|
|
443
488
|
type: string;
|
|
444
489
|
}[];
|
|
445
490
|
Trigger: [any, ...any[]];
|
|
446
|
-
}, {
|
|
447
491
|
Config: [any, ...any[]];
|
|
492
|
+
}, {
|
|
448
493
|
Input: {
|
|
449
494
|
name: string;
|
|
450
495
|
type: string;
|
|
451
496
|
}[];
|
|
452
497
|
Trigger: [any, ...any[]];
|
|
453
|
-
|
|
498
|
+
Config: [any, ...any[]];
|
|
499
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
500
|
+
name: z.ZodString;
|
|
501
|
+
type: z.ZodString;
|
|
502
|
+
}, "strip", z.ZodTypeAny, {
|
|
503
|
+
name: string;
|
|
504
|
+
type: string;
|
|
505
|
+
}, {
|
|
506
|
+
name: string;
|
|
507
|
+
type: string;
|
|
508
|
+
}>, "many">>>;
|
|
454
509
|
values: z.ZodObject<{
|
|
455
510
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
456
511
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -459,20 +514,23 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
459
514
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
460
515
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
461
516
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
462
|
-
|
|
517
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
463
518
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
519
|
+
endDate: z.ZodNumber;
|
|
464
520
|
}, "strict", z.ZodTypeAny, {
|
|
465
521
|
chainId: number;
|
|
466
522
|
type: TriggerType.Event;
|
|
467
|
-
|
|
523
|
+
topics: string[][];
|
|
468
524
|
delta: string;
|
|
469
|
-
|
|
525
|
+
endDate: number;
|
|
526
|
+
contract: string;
|
|
470
527
|
}, {
|
|
471
528
|
chainId: number;
|
|
472
529
|
type: TriggerType.Event;
|
|
473
|
-
|
|
530
|
+
topics: string[][];
|
|
474
531
|
delta: string;
|
|
475
|
-
|
|
532
|
+
endDate: number;
|
|
533
|
+
contract: string;
|
|
476
534
|
}>, z.ZodObject<{
|
|
477
535
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
478
536
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -490,10 +548,10 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
490
548
|
endDate: number;
|
|
491
549
|
}>]>;
|
|
492
550
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
551
|
+
minValidations: z.ZodNumber;
|
|
493
552
|
}, "strict", z.ZodTypeAny, {
|
|
553
|
+
minValidations: number;
|
|
494
554
|
version: string;
|
|
495
|
-
taskCid: string;
|
|
496
|
-
input: Record<string, unknown>;
|
|
497
555
|
trigger: {
|
|
498
556
|
type: TriggerType.Cron;
|
|
499
557
|
schedule: string;
|
|
@@ -502,15 +560,17 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
502
560
|
} | {
|
|
503
561
|
chainId: number;
|
|
504
562
|
type: TriggerType.Event;
|
|
505
|
-
|
|
563
|
+
topics: string[][];
|
|
506
564
|
delta: string;
|
|
507
|
-
|
|
565
|
+
endDate: number;
|
|
566
|
+
contract: string;
|
|
508
567
|
};
|
|
568
|
+
taskCid: string;
|
|
569
|
+
input: Record<string, unknown>;
|
|
509
570
|
executionFeeLimit: string;
|
|
510
571
|
}, {
|
|
572
|
+
minValidations: number;
|
|
511
573
|
version: string;
|
|
512
|
-
taskCid: string;
|
|
513
|
-
input: Record<string, unknown>;
|
|
514
574
|
trigger: {
|
|
515
575
|
type: TriggerType.Cron;
|
|
516
576
|
schedule: string;
|
|
@@ -519,17 +579,19 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
519
579
|
} | {
|
|
520
580
|
chainId: number;
|
|
521
581
|
type: TriggerType.Event;
|
|
522
|
-
|
|
582
|
+
topics: string[][];
|
|
523
583
|
delta: string;
|
|
524
|
-
|
|
584
|
+
endDate: number;
|
|
585
|
+
contract: string;
|
|
525
586
|
};
|
|
587
|
+
taskCid: string;
|
|
588
|
+
input: Record<string, unknown>;
|
|
526
589
|
executionFeeLimit: string;
|
|
527
590
|
}>;
|
|
528
591
|
}, "strip", z.ZodTypeAny, {
|
|
529
592
|
values: {
|
|
593
|
+
minValidations: number;
|
|
530
594
|
version: string;
|
|
531
|
-
taskCid: string;
|
|
532
|
-
input: Record<string, unknown>;
|
|
533
595
|
trigger: {
|
|
534
596
|
type: TriggerType.Cron;
|
|
535
597
|
schedule: string;
|
|
@@ -538,25 +600,30 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
538
600
|
} | {
|
|
539
601
|
chainId: number;
|
|
540
602
|
type: TriggerType.Event;
|
|
541
|
-
|
|
603
|
+
topics: string[][];
|
|
542
604
|
delta: string;
|
|
543
|
-
|
|
605
|
+
endDate: number;
|
|
606
|
+
contract: string;
|
|
544
607
|
};
|
|
608
|
+
taskCid: string;
|
|
609
|
+
input: Record<string, unknown>;
|
|
545
610
|
executionFeeLimit: string;
|
|
546
611
|
};
|
|
547
612
|
types: {
|
|
548
|
-
Config: [any, ...any[]];
|
|
549
613
|
Input: {
|
|
550
614
|
name: string;
|
|
551
615
|
type: string;
|
|
552
616
|
}[];
|
|
553
617
|
Trigger: [any, ...any[]];
|
|
554
|
-
|
|
618
|
+
Config: [any, ...any[]];
|
|
619
|
+
} & Record<string, {
|
|
620
|
+
name: string;
|
|
621
|
+
type: string;
|
|
622
|
+
}[]>;
|
|
555
623
|
}, {
|
|
556
624
|
values: {
|
|
625
|
+
minValidations: number;
|
|
557
626
|
version: string;
|
|
558
|
-
taskCid: string;
|
|
559
|
-
input: Record<string, unknown>;
|
|
560
627
|
trigger: {
|
|
561
628
|
type: TriggerType.Cron;
|
|
562
629
|
schedule: string;
|
|
@@ -565,25 +632,31 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
565
632
|
} | {
|
|
566
633
|
chainId: number;
|
|
567
634
|
type: TriggerType.Event;
|
|
568
|
-
|
|
635
|
+
topics: string[][];
|
|
569
636
|
delta: string;
|
|
570
|
-
|
|
637
|
+
endDate: number;
|
|
638
|
+
contract: string;
|
|
571
639
|
};
|
|
640
|
+
taskCid: string;
|
|
641
|
+
input: Record<string, unknown>;
|
|
572
642
|
executionFeeLimit: string;
|
|
573
643
|
};
|
|
574
644
|
types: {
|
|
575
|
-
Config: [any, ...any[]];
|
|
576
645
|
Input: {
|
|
577
646
|
name: string;
|
|
578
647
|
type: string;
|
|
579
648
|
}[];
|
|
580
649
|
Trigger: [any, ...any[]];
|
|
581
|
-
|
|
650
|
+
Config: [any, ...any[]];
|
|
651
|
+
} & Record<string, {
|
|
652
|
+
name: string;
|
|
653
|
+
type: string;
|
|
654
|
+
}[]>;
|
|
582
655
|
}>;
|
|
583
656
|
export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
584
657
|
description: z.ZodString;
|
|
585
658
|
typedData: z.ZodObject<{
|
|
586
|
-
types: z.ZodObject<{
|
|
659
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
587
660
|
Input: z.ZodArray<z.ZodObject<{
|
|
588
661
|
name: z.ZodString;
|
|
589
662
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -596,21 +669,30 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
596
669
|
}>, "many">;
|
|
597
670
|
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
598
671
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
599
|
-
}, "
|
|
600
|
-
Config: [any, ...any[]];
|
|
672
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
673
|
Input: {
|
|
602
674
|
name: string;
|
|
603
675
|
type: string;
|
|
604
676
|
}[];
|
|
605
677
|
Trigger: [any, ...any[]];
|
|
606
|
-
}, {
|
|
607
678
|
Config: [any, ...any[]];
|
|
679
|
+
}, {
|
|
608
680
|
Input: {
|
|
609
681
|
name: string;
|
|
610
682
|
type: string;
|
|
611
683
|
}[];
|
|
612
684
|
Trigger: [any, ...any[]];
|
|
613
|
-
|
|
685
|
+
Config: [any, ...any[]];
|
|
686
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
687
|
+
name: z.ZodString;
|
|
688
|
+
type: z.ZodString;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
name: string;
|
|
691
|
+
type: string;
|
|
692
|
+
}, {
|
|
693
|
+
name: string;
|
|
694
|
+
type: string;
|
|
695
|
+
}>, "many">>>;
|
|
614
696
|
values: z.ZodObject<{
|
|
615
697
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
616
698
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -619,20 +701,23 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
619
701
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
620
702
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
621
703
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
622
|
-
|
|
704
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
623
705
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
706
|
+
endDate: z.ZodNumber;
|
|
624
707
|
}, "strict", z.ZodTypeAny, {
|
|
625
708
|
chainId: number;
|
|
626
709
|
type: TriggerType.Event;
|
|
627
|
-
|
|
710
|
+
topics: string[][];
|
|
628
711
|
delta: string;
|
|
629
|
-
|
|
712
|
+
endDate: number;
|
|
713
|
+
contract: string;
|
|
630
714
|
}, {
|
|
631
715
|
chainId: number;
|
|
632
716
|
type: TriggerType.Event;
|
|
633
|
-
|
|
717
|
+
topics: string[][];
|
|
634
718
|
delta: string;
|
|
635
|
-
|
|
719
|
+
endDate: number;
|
|
720
|
+
contract: string;
|
|
636
721
|
}>, z.ZodObject<{
|
|
637
722
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
638
723
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -650,10 +735,10 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
650
735
|
endDate: number;
|
|
651
736
|
}>]>;
|
|
652
737
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
738
|
+
minValidations: z.ZodNumber;
|
|
653
739
|
}, "strict", z.ZodTypeAny, {
|
|
740
|
+
minValidations: number;
|
|
654
741
|
version: string;
|
|
655
|
-
taskCid: string;
|
|
656
|
-
input: Record<string, unknown>;
|
|
657
742
|
trigger: {
|
|
658
743
|
type: TriggerType.Cron;
|
|
659
744
|
schedule: string;
|
|
@@ -662,15 +747,17 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
662
747
|
} | {
|
|
663
748
|
chainId: number;
|
|
664
749
|
type: TriggerType.Event;
|
|
665
|
-
|
|
750
|
+
topics: string[][];
|
|
666
751
|
delta: string;
|
|
667
|
-
|
|
752
|
+
endDate: number;
|
|
753
|
+
contract: string;
|
|
668
754
|
};
|
|
755
|
+
taskCid: string;
|
|
756
|
+
input: Record<string, unknown>;
|
|
669
757
|
executionFeeLimit: string;
|
|
670
758
|
}, {
|
|
759
|
+
minValidations: number;
|
|
671
760
|
version: string;
|
|
672
|
-
taskCid: string;
|
|
673
|
-
input: Record<string, unknown>;
|
|
674
761
|
trigger: {
|
|
675
762
|
type: TriggerType.Cron;
|
|
676
763
|
schedule: string;
|
|
@@ -679,17 +766,19 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
679
766
|
} | {
|
|
680
767
|
chainId: number;
|
|
681
768
|
type: TriggerType.Event;
|
|
682
|
-
|
|
769
|
+
topics: string[][];
|
|
683
770
|
delta: string;
|
|
684
|
-
|
|
771
|
+
endDate: number;
|
|
772
|
+
contract: string;
|
|
685
773
|
};
|
|
774
|
+
taskCid: string;
|
|
775
|
+
input: Record<string, unknown>;
|
|
686
776
|
executionFeeLimit: string;
|
|
687
777
|
}>;
|
|
688
778
|
}, "strip", z.ZodTypeAny, {
|
|
689
779
|
values: {
|
|
780
|
+
minValidations: number;
|
|
690
781
|
version: string;
|
|
691
|
-
taskCid: string;
|
|
692
|
-
input: Record<string, unknown>;
|
|
693
782
|
trigger: {
|
|
694
783
|
type: TriggerType.Cron;
|
|
695
784
|
schedule: string;
|
|
@@ -698,25 +787,30 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
698
787
|
} | {
|
|
699
788
|
chainId: number;
|
|
700
789
|
type: TriggerType.Event;
|
|
701
|
-
|
|
790
|
+
topics: string[][];
|
|
702
791
|
delta: string;
|
|
703
|
-
|
|
792
|
+
endDate: number;
|
|
793
|
+
contract: string;
|
|
704
794
|
};
|
|
795
|
+
taskCid: string;
|
|
796
|
+
input: Record<string, unknown>;
|
|
705
797
|
executionFeeLimit: string;
|
|
706
798
|
};
|
|
707
799
|
types: {
|
|
708
|
-
Config: [any, ...any[]];
|
|
709
800
|
Input: {
|
|
710
801
|
name: string;
|
|
711
802
|
type: string;
|
|
712
803
|
}[];
|
|
713
804
|
Trigger: [any, ...any[]];
|
|
714
|
-
|
|
805
|
+
Config: [any, ...any[]];
|
|
806
|
+
} & Record<string, {
|
|
807
|
+
name: string;
|
|
808
|
+
type: string;
|
|
809
|
+
}[]>;
|
|
715
810
|
}, {
|
|
716
811
|
values: {
|
|
812
|
+
minValidations: number;
|
|
717
813
|
version: string;
|
|
718
|
-
taskCid: string;
|
|
719
|
-
input: Record<string, unknown>;
|
|
720
814
|
trigger: {
|
|
721
815
|
type: TriggerType.Cron;
|
|
722
816
|
schedule: string;
|
|
@@ -725,30 +819,35 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
725
819
|
} | {
|
|
726
820
|
chainId: number;
|
|
727
821
|
type: TriggerType.Event;
|
|
728
|
-
|
|
822
|
+
topics: string[][];
|
|
729
823
|
delta: string;
|
|
730
|
-
|
|
824
|
+
endDate: number;
|
|
825
|
+
contract: string;
|
|
731
826
|
};
|
|
827
|
+
taskCid: string;
|
|
828
|
+
input: Record<string, unknown>;
|
|
732
829
|
executionFeeLimit: string;
|
|
733
830
|
};
|
|
734
831
|
types: {
|
|
735
|
-
Config: [any, ...any[]];
|
|
736
832
|
Input: {
|
|
737
833
|
name: string;
|
|
738
834
|
type: string;
|
|
739
835
|
}[];
|
|
740
836
|
Trigger: [any, ...any[]];
|
|
741
|
-
|
|
837
|
+
Config: [any, ...any[]];
|
|
838
|
+
} & Record<string, {
|
|
839
|
+
name: string;
|
|
840
|
+
type: string;
|
|
841
|
+
}[]>;
|
|
742
842
|
}>;
|
|
743
843
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
744
|
-
signer: z.ZodEffects<z.
|
|
844
|
+
signer: z.ZodEffects<z.ZodString, string, string>;
|
|
745
845
|
}, "strip", z.ZodTypeAny, {
|
|
746
846
|
description: string;
|
|
747
847
|
typedData: {
|
|
748
848
|
values: {
|
|
849
|
+
minValidations: number;
|
|
749
850
|
version: string;
|
|
750
|
-
taskCid: string;
|
|
751
|
-
input: Record<string, unknown>;
|
|
752
851
|
trigger: {
|
|
753
852
|
type: TriggerType.Cron;
|
|
754
853
|
schedule: string;
|
|
@@ -757,20 +856,26 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
757
856
|
} | {
|
|
758
857
|
chainId: number;
|
|
759
858
|
type: TriggerType.Event;
|
|
760
|
-
|
|
859
|
+
topics: string[][];
|
|
761
860
|
delta: string;
|
|
762
|
-
|
|
861
|
+
endDate: number;
|
|
862
|
+
contract: string;
|
|
763
863
|
};
|
|
864
|
+
taskCid: string;
|
|
865
|
+
input: Record<string, unknown>;
|
|
764
866
|
executionFeeLimit: string;
|
|
765
867
|
};
|
|
766
868
|
types: {
|
|
767
|
-
Config: [any, ...any[]];
|
|
768
869
|
Input: {
|
|
769
870
|
name: string;
|
|
770
871
|
type: string;
|
|
771
872
|
}[];
|
|
772
873
|
Trigger: [any, ...any[]];
|
|
773
|
-
|
|
874
|
+
Config: [any, ...any[]];
|
|
875
|
+
} & Record<string, {
|
|
876
|
+
name: string;
|
|
877
|
+
type: string;
|
|
878
|
+
}[]>;
|
|
774
879
|
};
|
|
775
880
|
sig: string;
|
|
776
881
|
signer: string;
|
|
@@ -778,9 +883,8 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
778
883
|
description: string;
|
|
779
884
|
typedData: {
|
|
780
885
|
values: {
|
|
886
|
+
minValidations: number;
|
|
781
887
|
version: string;
|
|
782
|
-
taskCid: string;
|
|
783
|
-
input: Record<string, unknown>;
|
|
784
888
|
trigger: {
|
|
785
889
|
type: TriggerType.Cron;
|
|
786
890
|
schedule: string;
|
|
@@ -789,20 +893,26 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
789
893
|
} | {
|
|
790
894
|
chainId: number;
|
|
791
895
|
type: TriggerType.Event;
|
|
792
|
-
|
|
896
|
+
topics: string[][];
|
|
793
897
|
delta: string;
|
|
794
|
-
|
|
898
|
+
endDate: number;
|
|
899
|
+
contract: string;
|
|
795
900
|
};
|
|
901
|
+
taskCid: string;
|
|
902
|
+
input: Record<string, unknown>;
|
|
796
903
|
executionFeeLimit: string;
|
|
797
904
|
};
|
|
798
905
|
types: {
|
|
799
|
-
Config: [any, ...any[]];
|
|
800
906
|
Input: {
|
|
801
907
|
name: string;
|
|
802
908
|
type: string;
|
|
803
909
|
}[];
|
|
804
910
|
Trigger: [any, ...any[]];
|
|
805
|
-
|
|
911
|
+
Config: [any, ...any[]];
|
|
912
|
+
} & Record<string, {
|
|
913
|
+
name: string;
|
|
914
|
+
type: string;
|
|
915
|
+
}[]>;
|
|
806
916
|
};
|
|
807
917
|
sig: string;
|
|
808
918
|
signer: string;
|
|
@@ -843,28 +953,31 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
843
953
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
844
954
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
845
955
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
846
|
-
active: z.ZodBoolean;
|
|
847
956
|
description: z.ZodString;
|
|
957
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
848
958
|
createdAt: z.ZodDate;
|
|
849
959
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
850
960
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
851
961
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
852
962
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
853
963
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
854
|
-
|
|
964
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
855
965
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
966
|
+
endDate: z.ZodNumber;
|
|
856
967
|
}, "strict", z.ZodTypeAny, {
|
|
857
968
|
chainId: number;
|
|
858
969
|
type: TriggerType.Event;
|
|
859
|
-
|
|
970
|
+
topics: string[][];
|
|
860
971
|
delta: string;
|
|
861
|
-
|
|
972
|
+
endDate: number;
|
|
973
|
+
contract: string;
|
|
862
974
|
}, {
|
|
863
975
|
chainId: number;
|
|
864
976
|
type: TriggerType.Event;
|
|
865
|
-
|
|
977
|
+
topics: string[][];
|
|
866
978
|
delta: string;
|
|
867
|
-
|
|
979
|
+
endDate: number;
|
|
980
|
+
contract: string;
|
|
868
981
|
}>, z.ZodObject<{
|
|
869
982
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
870
983
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -882,7 +995,8 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
882
995
|
endDate: number;
|
|
883
996
|
}>]>;
|
|
884
997
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
885
|
-
|
|
998
|
+
minValidations: z.ZodNumber;
|
|
999
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
886
1000
|
Input: z.ZodArray<z.ZodObject<{
|
|
887
1001
|
name: z.ZodString;
|
|
888
1002
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -895,27 +1009,35 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
895
1009
|
}>, "many">;
|
|
896
1010
|
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
897
1011
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
898
|
-
}, "
|
|
899
|
-
Config: [any, ...any[]];
|
|
1012
|
+
}, "strip", z.ZodTypeAny, {
|
|
900
1013
|
Input: {
|
|
901
1014
|
name: string;
|
|
902
1015
|
type: string;
|
|
903
1016
|
}[];
|
|
904
1017
|
Trigger: [any, ...any[]];
|
|
905
|
-
}, {
|
|
906
1018
|
Config: [any, ...any[]];
|
|
1019
|
+
}, {
|
|
907
1020
|
Input: {
|
|
908
1021
|
name: string;
|
|
909
1022
|
type: string;
|
|
910
1023
|
}[];
|
|
911
1024
|
Trigger: [any, ...any[]];
|
|
912
|
-
|
|
1025
|
+
Config: [any, ...any[]];
|
|
1026
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1027
|
+
name: z.ZodString;
|
|
1028
|
+
type: z.ZodString;
|
|
1029
|
+
}, "strip", z.ZodTypeAny, {
|
|
1030
|
+
name: string;
|
|
1031
|
+
type: string;
|
|
1032
|
+
}, {
|
|
1033
|
+
name: string;
|
|
1034
|
+
type: string;
|
|
1035
|
+
}>, "many">>>;
|
|
913
1036
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
|
|
1037
|
+
minValidations: number;
|
|
915
1038
|
version: string;
|
|
1039
|
+
createdAt: Date;
|
|
916
1040
|
description: string;
|
|
917
|
-
taskCid: string;
|
|
918
|
-
input: Record<string, unknown>;
|
|
919
1041
|
trigger: {
|
|
920
1042
|
type: TriggerType.Cron;
|
|
921
1043
|
schedule: string;
|
|
@@ -924,28 +1046,33 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
924
1046
|
} | {
|
|
925
1047
|
chainId: number;
|
|
926
1048
|
type: TriggerType.Event;
|
|
927
|
-
|
|
1049
|
+
topics: string[][];
|
|
928
1050
|
delta: string;
|
|
929
|
-
|
|
1051
|
+
endDate: number;
|
|
1052
|
+
contract: string;
|
|
930
1053
|
};
|
|
1054
|
+
taskCid: string;
|
|
1055
|
+
input: Record<string, unknown>;
|
|
931
1056
|
executionFeeLimit: string;
|
|
932
1057
|
types: {
|
|
933
|
-
Config: [any, ...any[]];
|
|
934
1058
|
Input: {
|
|
935
1059
|
name: string;
|
|
936
1060
|
type: string;
|
|
937
1061
|
}[];
|
|
938
1062
|
Trigger: [any, ...any[]];
|
|
939
|
-
|
|
1063
|
+
Config: [any, ...any[]];
|
|
1064
|
+
} & Record<string, {
|
|
1065
|
+
name: string;
|
|
1066
|
+
type: string;
|
|
1067
|
+
}[]>;
|
|
940
1068
|
sig: string;
|
|
941
1069
|
signer: string;
|
|
942
|
-
|
|
1070
|
+
deactivateSig?: string | undefined;
|
|
943
1071
|
}, {
|
|
944
|
-
|
|
1072
|
+
minValidations: number;
|
|
945
1073
|
version: string;
|
|
1074
|
+
createdAt: Date;
|
|
946
1075
|
description: string;
|
|
947
|
-
taskCid: string;
|
|
948
|
-
input: Record<string, unknown>;
|
|
949
1076
|
trigger: {
|
|
950
1077
|
type: TriggerType.Cron;
|
|
951
1078
|
schedule: string;
|
|
@@ -954,50 +1081,59 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
954
1081
|
} | {
|
|
955
1082
|
chainId: number;
|
|
956
1083
|
type: TriggerType.Event;
|
|
957
|
-
|
|
1084
|
+
topics: string[][];
|
|
958
1085
|
delta: string;
|
|
959
|
-
|
|
1086
|
+
endDate: number;
|
|
1087
|
+
contract: string;
|
|
960
1088
|
};
|
|
1089
|
+
taskCid: string;
|
|
1090
|
+
input: Record<string, unknown>;
|
|
961
1091
|
executionFeeLimit: string;
|
|
962
1092
|
types: {
|
|
963
|
-
Config: [any, ...any[]];
|
|
964
1093
|
Input: {
|
|
965
1094
|
name: string;
|
|
966
1095
|
type: string;
|
|
967
1096
|
}[];
|
|
968
1097
|
Trigger: [any, ...any[]];
|
|
969
|
-
|
|
1098
|
+
Config: [any, ...any[]];
|
|
1099
|
+
} & Record<string, {
|
|
1100
|
+
name: string;
|
|
1101
|
+
type: string;
|
|
1102
|
+
}[]>;
|
|
970
1103
|
sig: string;
|
|
971
1104
|
signer: string;
|
|
972
|
-
|
|
1105
|
+
deactivateSig?: string | undefined;
|
|
973
1106
|
}>;
|
|
974
1107
|
export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
975
1108
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
976
1109
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
977
1110
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
978
1111
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
979
|
-
active: z.ZodBoolean;
|
|
980
1112
|
description: z.ZodString;
|
|
1113
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
981
1114
|
createdAt: z.ZodDate;
|
|
982
1115
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
983
1116
|
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
984
1117
|
type: z.ZodLiteral<TriggerType.Event>;
|
|
985
1118
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
986
1119
|
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
987
|
-
|
|
1120
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
988
1121
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1122
|
+
endDate: z.ZodNumber;
|
|
989
1123
|
}, "strict", z.ZodTypeAny, {
|
|
990
1124
|
chainId: number;
|
|
991
1125
|
type: TriggerType.Event;
|
|
992
|
-
|
|
1126
|
+
topics: string[][];
|
|
993
1127
|
delta: string;
|
|
994
|
-
|
|
1128
|
+
endDate: number;
|
|
1129
|
+
contract: string;
|
|
995
1130
|
}, {
|
|
996
1131
|
chainId: number;
|
|
997
1132
|
type: TriggerType.Event;
|
|
998
|
-
|
|
1133
|
+
topics: string[][];
|
|
999
1134
|
delta: string;
|
|
1000
|
-
|
|
1135
|
+
endDate: number;
|
|
1136
|
+
contract: string;
|
|
1001
1137
|
}>, z.ZodObject<{
|
|
1002
1138
|
type: z.ZodLiteral<TriggerType.Cron>;
|
|
1003
1139
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1015,7 +1151,8 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1015
1151
|
endDate: number;
|
|
1016
1152
|
}>]>;
|
|
1017
1153
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1018
|
-
|
|
1154
|
+
minValidations: z.ZodNumber;
|
|
1155
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
1019
1156
|
Input: z.ZodArray<z.ZodObject<{
|
|
1020
1157
|
name: z.ZodString;
|
|
1021
1158
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1028,27 +1165,35 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1028
1165
|
}>, "many">;
|
|
1029
1166
|
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1030
1167
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1031
|
-
}, "
|
|
1032
|
-
Config: [any, ...any[]];
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1033
1169
|
Input: {
|
|
1034
1170
|
name: string;
|
|
1035
1171
|
type: string;
|
|
1036
1172
|
}[];
|
|
1037
1173
|
Trigger: [any, ...any[]];
|
|
1038
|
-
}, {
|
|
1039
1174
|
Config: [any, ...any[]];
|
|
1175
|
+
}, {
|
|
1040
1176
|
Input: {
|
|
1041
1177
|
name: string;
|
|
1042
1178
|
type: string;
|
|
1043
1179
|
}[];
|
|
1044
1180
|
Trigger: [any, ...any[]];
|
|
1045
|
-
|
|
1181
|
+
Config: [any, ...any[]];
|
|
1182
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1183
|
+
name: z.ZodString;
|
|
1184
|
+
type: z.ZodString;
|
|
1185
|
+
}, "strip", z.ZodTypeAny, {
|
|
1186
|
+
name: string;
|
|
1187
|
+
type: string;
|
|
1188
|
+
}, {
|
|
1189
|
+
name: string;
|
|
1190
|
+
type: string;
|
|
1191
|
+
}>, "many">>>;
|
|
1046
1192
|
}, "strip", z.ZodTypeAny, {
|
|
1047
|
-
|
|
1193
|
+
minValidations: number;
|
|
1048
1194
|
version: string;
|
|
1195
|
+
createdAt: Date;
|
|
1049
1196
|
description: string;
|
|
1050
|
-
taskCid: string;
|
|
1051
|
-
input: Record<string, unknown>;
|
|
1052
1197
|
trigger: {
|
|
1053
1198
|
type: TriggerType.Cron;
|
|
1054
1199
|
schedule: string;
|
|
@@ -1057,28 +1202,33 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1057
1202
|
} | {
|
|
1058
1203
|
chainId: number;
|
|
1059
1204
|
type: TriggerType.Event;
|
|
1060
|
-
|
|
1205
|
+
topics: string[][];
|
|
1061
1206
|
delta: string;
|
|
1062
|
-
|
|
1207
|
+
endDate: number;
|
|
1208
|
+
contract: string;
|
|
1063
1209
|
};
|
|
1210
|
+
taskCid: string;
|
|
1211
|
+
input: Record<string, unknown>;
|
|
1064
1212
|
executionFeeLimit: string;
|
|
1065
1213
|
types: {
|
|
1066
|
-
Config: [any, ...any[]];
|
|
1067
1214
|
Input: {
|
|
1068
1215
|
name: string;
|
|
1069
1216
|
type: string;
|
|
1070
1217
|
}[];
|
|
1071
1218
|
Trigger: [any, ...any[]];
|
|
1072
|
-
|
|
1219
|
+
Config: [any, ...any[]];
|
|
1220
|
+
} & Record<string, {
|
|
1221
|
+
name: string;
|
|
1222
|
+
type: string;
|
|
1223
|
+
}[]>;
|
|
1073
1224
|
sig: string;
|
|
1074
1225
|
signer: string;
|
|
1075
|
-
|
|
1226
|
+
deactivateSig?: string | undefined;
|
|
1076
1227
|
}, {
|
|
1077
|
-
|
|
1228
|
+
minValidations: number;
|
|
1078
1229
|
version: string;
|
|
1230
|
+
createdAt: Date;
|
|
1079
1231
|
description: string;
|
|
1080
|
-
taskCid: string;
|
|
1081
|
-
input: Record<string, unknown>;
|
|
1082
1232
|
trigger: {
|
|
1083
1233
|
type: TriggerType.Cron;
|
|
1084
1234
|
schedule: string;
|
|
@@ -1087,22 +1237,28 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1087
1237
|
} | {
|
|
1088
1238
|
chainId: number;
|
|
1089
1239
|
type: TriggerType.Event;
|
|
1090
|
-
|
|
1240
|
+
topics: string[][];
|
|
1091
1241
|
delta: string;
|
|
1092
|
-
|
|
1242
|
+
endDate: number;
|
|
1243
|
+
contract: string;
|
|
1093
1244
|
};
|
|
1245
|
+
taskCid: string;
|
|
1246
|
+
input: Record<string, unknown>;
|
|
1094
1247
|
executionFeeLimit: string;
|
|
1095
1248
|
types: {
|
|
1096
|
-
Config: [any, ...any[]];
|
|
1097
1249
|
Input: {
|
|
1098
1250
|
name: string;
|
|
1099
1251
|
type: string;
|
|
1100
1252
|
}[];
|
|
1101
1253
|
Trigger: [any, ...any[]];
|
|
1102
|
-
|
|
1254
|
+
Config: [any, ...any[]];
|
|
1255
|
+
} & Record<string, {
|
|
1256
|
+
name: string;
|
|
1257
|
+
type: string;
|
|
1258
|
+
}[]>;
|
|
1103
1259
|
sig: string;
|
|
1104
1260
|
signer: string;
|
|
1105
|
-
|
|
1261
|
+
deactivateSig?: string | undefined;
|
|
1106
1262
|
}>, "many">;
|
|
1107
1263
|
export declare const ConfigDeactivateRequestValidator: z.ZodObject<{
|
|
1108
1264
|
deactivateSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1158,6 +1314,9 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1158
1314
|
rpcCall: z.ZodNumber;
|
|
1159
1315
|
priceQuery: z.ZodNumber;
|
|
1160
1316
|
relevantTokensQuery: z.ZodNumber;
|
|
1317
|
+
subgraphQuery: z.ZodNumber;
|
|
1318
|
+
cronTrigger: z.ZodNumber;
|
|
1319
|
+
eventTrigger: z.ZodNumber;
|
|
1161
1320
|
protocolFeePct: z.ZodNumber;
|
|
1162
1321
|
createdAt: z.ZodDate;
|
|
1163
1322
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1169,6 +1328,9 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1169
1328
|
rpcCall: number;
|
|
1170
1329
|
priceQuery: number;
|
|
1171
1330
|
relevantTokensQuery: number;
|
|
1331
|
+
subgraphQuery: number;
|
|
1332
|
+
cronTrigger: number;
|
|
1333
|
+
eventTrigger: number;
|
|
1172
1334
|
protocolFeePct: number;
|
|
1173
1335
|
}, {
|
|
1174
1336
|
intent: number;
|
|
@@ -1179,6 +1341,9 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1179
1341
|
rpcCall: number;
|
|
1180
1342
|
priceQuery: number;
|
|
1181
1343
|
relevantTokensQuery: number;
|
|
1344
|
+
subgraphQuery: number;
|
|
1345
|
+
cronTrigger: number;
|
|
1346
|
+
eventTrigger: number;
|
|
1182
1347
|
protocolFeePct: number;
|
|
1183
1348
|
}>;
|
|
1184
1349
|
export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -1189,6 +1354,9 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1189
1354
|
rpcCall: z.ZodNumber;
|
|
1190
1355
|
priceQuery: z.ZodNumber;
|
|
1191
1356
|
relevantTokensQuery: z.ZodNumber;
|
|
1357
|
+
subgraphQuery: z.ZodNumber;
|
|
1358
|
+
cronTrigger: z.ZodNumber;
|
|
1359
|
+
eventTrigger: z.ZodNumber;
|
|
1192
1360
|
protocolFeePct: z.ZodNumber;
|
|
1193
1361
|
createdAt: z.ZodDate;
|
|
1194
1362
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1200,6 +1368,9 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1200
1368
|
rpcCall: number;
|
|
1201
1369
|
priceQuery: number;
|
|
1202
1370
|
relevantTokensQuery: number;
|
|
1371
|
+
subgraphQuery: number;
|
|
1372
|
+
cronTrigger: number;
|
|
1373
|
+
eventTrigger: number;
|
|
1203
1374
|
protocolFeePct: number;
|
|
1204
1375
|
}, {
|
|
1205
1376
|
intent: number;
|
|
@@ -1210,6 +1381,59 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1210
1381
|
rpcCall: number;
|
|
1211
1382
|
priceQuery: number;
|
|
1212
1383
|
relevantTokensQuery: number;
|
|
1384
|
+
subgraphQuery: number;
|
|
1385
|
+
cronTrigger: number;
|
|
1386
|
+
eventTrigger: number;
|
|
1213
1387
|
protocolFeePct: number;
|
|
1214
1388
|
}>, "many">;
|
|
1389
|
+
export declare const UserDataValidator: z.ZodObject<{
|
|
1390
|
+
userAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1391
|
+
name: z.ZodString;
|
|
1392
|
+
intendedUse: z.ZodString;
|
|
1393
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
name: string;
|
|
1396
|
+
userAddress: string;
|
|
1397
|
+
intendedUse: string;
|
|
1398
|
+
email?: string | null | undefined;
|
|
1399
|
+
}, {
|
|
1400
|
+
name: string;
|
|
1401
|
+
userAddress: string;
|
|
1402
|
+
intendedUse: string;
|
|
1403
|
+
email?: string | null | undefined;
|
|
1404
|
+
}>;
|
|
1405
|
+
export declare const UserDataUpdateRequestValidator: z.ZodObject<{
|
|
1406
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
intendedUse: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
}, "strip", z.ZodTypeAny, {
|
|
1409
|
+
name?: string | undefined;
|
|
1410
|
+
intendedUse?: string | undefined;
|
|
1411
|
+
}, {
|
|
1412
|
+
name?: string | undefined;
|
|
1413
|
+
intendedUse?: string | undefined;
|
|
1414
|
+
}>;
|
|
1415
|
+
export declare const EmailVerificationCreateRequestValidator: z.ZodObject<{
|
|
1416
|
+
email: z.ZodString;
|
|
1417
|
+
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
email: string;
|
|
1419
|
+
}, {
|
|
1420
|
+
email: string;
|
|
1421
|
+
}>;
|
|
1422
|
+
export declare const EmailVerificationVerifyRequestValidator: z.ZodObject<{
|
|
1423
|
+
otp: z.ZodNumber;
|
|
1424
|
+
}, "strip", z.ZodTypeAny, {
|
|
1425
|
+
otp: number;
|
|
1426
|
+
}, {
|
|
1427
|
+
otp: number;
|
|
1428
|
+
}>;
|
|
1429
|
+
export declare const EmailVerificationValidator: z.ZodObject<{
|
|
1430
|
+
email: z.ZodString;
|
|
1431
|
+
expiresAt: z.ZodDate;
|
|
1432
|
+
}, "strip", z.ZodTypeAny, {
|
|
1433
|
+
email: string;
|
|
1434
|
+
expiresAt: Date;
|
|
1435
|
+
}, {
|
|
1436
|
+
email: string;
|
|
1437
|
+
expiresAt: Date;
|
|
1438
|
+
}>;
|
|
1215
1439
|
//# sourceMappingURL=validators.d.ts.map
|