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