@mimicprotocol/sdk 0.0.1-rc.3 → 0.0.1-rc.31
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 +2163 -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 +27 -1
- package/dist/registry/eip712Types.d.ts.map +1 -1
- package/dist/registry/eip712Types.js +32 -3
- package/dist/registry/eip712Types.js.map +1 -1
- package/dist/registry/types.d.ts +12 -1
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/registry/types.js +5 -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 +794 -215
- package/dist/registry/validators.d.ts.map +1 -1
- package/dist/registry/validators.js +77 -13
- 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 +766 -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 +7 -2
- package/dist/shared/codec/decoder.d.ts.map +1 -1
- package/dist/shared/codec/decoder.js +51 -41
- package/dist/shared/codec/decoder.js.map +1 -1
- package/dist/shared/codec/encoder.d.ts +98 -5
- package/dist/shared/codec/encoder.d.ts.map +1 -1
- package/dist/shared/codec/encoder.js +36 -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 +11 -1
- package/dist/shared/eip712Types/index.d.ts.map +1 -1
- package/dist/shared/eip712Types/index.js +19 -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 +3 -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 +80 -43
- package/dist/shared/validators/executions.d.ts.map +1 -1
- package/dist/shared/validators/executions.js +15 -21
- 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,79 +1,186 @@
|
|
|
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:
|
|
76
|
+
type: 1;
|
|
77
|
+
delta: string;
|
|
78
|
+
endDate: number;
|
|
39
79
|
contract: string;
|
|
80
|
+
topics: string[][];
|
|
81
|
+
}>;
|
|
82
|
+
export declare const OnceTriggerValidator: z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<2>;
|
|
84
|
+
startDate: z.ZodNumber;
|
|
85
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
86
|
+
endDate: z.ZodNumber;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
type: 2;
|
|
89
|
+
delta: string;
|
|
90
|
+
endDate: number;
|
|
91
|
+
startDate: number;
|
|
92
|
+
}, {
|
|
93
|
+
type: 2;
|
|
40
94
|
delta: string;
|
|
41
|
-
|
|
95
|
+
endDate: number;
|
|
96
|
+
startDate: number;
|
|
42
97
|
}>;
|
|
43
|
-
export declare const TriggerValidator: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
44
|
-
type: z.ZodLiteral<
|
|
98
|
+
export declare const TriggerValidator: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
99
|
+
type: z.ZodLiteral<1>;
|
|
45
100
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
46
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
47
|
-
|
|
101
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
102
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
48
103
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
104
|
+
endDate: z.ZodNumber;
|
|
49
105
|
}, "strict", z.ZodTypeAny, {
|
|
50
106
|
chainId: number;
|
|
51
|
-
type:
|
|
52
|
-
contract: string;
|
|
107
|
+
type: 1;
|
|
53
108
|
delta: string;
|
|
54
|
-
|
|
109
|
+
endDate: number;
|
|
110
|
+
contract: string;
|
|
111
|
+
topics: string[][];
|
|
55
112
|
}, {
|
|
56
113
|
chainId: number;
|
|
57
|
-
type:
|
|
58
|
-
contract: string;
|
|
114
|
+
type: 1;
|
|
59
115
|
delta: string;
|
|
60
|
-
|
|
116
|
+
endDate: number;
|
|
117
|
+
contract: string;
|
|
118
|
+
topics: string[][];
|
|
61
119
|
}>, z.ZodObject<{
|
|
62
|
-
type: z.ZodLiteral<
|
|
120
|
+
type: z.ZodLiteral<0>;
|
|
63
121
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
64
122
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
65
123
|
endDate: z.ZodNumber;
|
|
66
124
|
}, "strict", z.ZodTypeAny, {
|
|
67
|
-
type:
|
|
125
|
+
type: 0;
|
|
68
126
|
schedule: string;
|
|
69
127
|
delta: string;
|
|
70
128
|
endDate: number;
|
|
71
129
|
}, {
|
|
72
|
-
type:
|
|
130
|
+
type: 0;
|
|
73
131
|
schedule: string;
|
|
74
132
|
delta: string;
|
|
75
133
|
endDate: number;
|
|
76
|
-
}
|
|
134
|
+
}>, z.ZodObject<{
|
|
135
|
+
type: z.ZodLiteral<2>;
|
|
136
|
+
startDate: z.ZodNumber;
|
|
137
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
138
|
+
endDate: z.ZodNumber;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
type: 2;
|
|
141
|
+
delta: string;
|
|
142
|
+
endDate: number;
|
|
143
|
+
startDate: number;
|
|
144
|
+
}, {
|
|
145
|
+
type: 2;
|
|
146
|
+
delta: string;
|
|
147
|
+
endDate: number;
|
|
148
|
+
startDate: number;
|
|
149
|
+
}>]>, {
|
|
150
|
+
type: 0;
|
|
151
|
+
schedule: string;
|
|
152
|
+
delta: string;
|
|
153
|
+
endDate: number;
|
|
154
|
+
} | {
|
|
155
|
+
chainId: number;
|
|
156
|
+
type: 1;
|
|
157
|
+
delta: string;
|
|
158
|
+
endDate: number;
|
|
159
|
+
contract: string;
|
|
160
|
+
topics: string[][];
|
|
161
|
+
} | {
|
|
162
|
+
type: 2;
|
|
163
|
+
delta: string;
|
|
164
|
+
endDate: number;
|
|
165
|
+
startDate: number;
|
|
166
|
+
}, {
|
|
167
|
+
type: 0;
|
|
168
|
+
schedule: string;
|
|
169
|
+
delta: string;
|
|
170
|
+
endDate: number;
|
|
171
|
+
} | {
|
|
172
|
+
chainId: number;
|
|
173
|
+
type: 1;
|
|
174
|
+
delta: string;
|
|
175
|
+
endDate: number;
|
|
176
|
+
contract: string;
|
|
177
|
+
topics: string[][];
|
|
178
|
+
} | {
|
|
179
|
+
type: 2;
|
|
180
|
+
delta: string;
|
|
181
|
+
endDate: number;
|
|
182
|
+
startDate: number;
|
|
183
|
+
}>;
|
|
77
184
|
export declare const ManifestInputsValidator: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
185
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
79
186
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -108,8 +215,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
108
215
|
}>;
|
|
109
216
|
}, "strip", z.ZodTypeAny, {
|
|
110
217
|
name: string;
|
|
111
|
-
version: string;
|
|
112
218
|
description: string;
|
|
219
|
+
version: string;
|
|
113
220
|
inputs: Record<string, string | {
|
|
114
221
|
type: string;
|
|
115
222
|
description?: string | undefined;
|
|
@@ -120,8 +227,8 @@ export declare const ManifestValidator: z.ZodObject<{
|
|
|
120
227
|
};
|
|
121
228
|
}, {
|
|
122
229
|
name: string;
|
|
123
|
-
version: string;
|
|
124
230
|
description: string;
|
|
231
|
+
version: string;
|
|
125
232
|
inputs: Record<string, string | {
|
|
126
233
|
type: string;
|
|
127
234
|
description?: string | undefined;
|
|
@@ -144,12 +251,15 @@ export declare const UserAuthenticationRequestValidator: z.ZodObject<{
|
|
|
144
251
|
export declare const UserAuthenticationValidator: z.ZodObject<{
|
|
145
252
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
146
253
|
token: z.ZodString;
|
|
254
|
+
email: z.ZodOptional<z.ZodString>;
|
|
147
255
|
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
address: string;
|
|
149
256
|
token: string;
|
|
150
|
-
}, {
|
|
151
257
|
address: string;
|
|
258
|
+
email?: string | undefined;
|
|
259
|
+
}, {
|
|
152
260
|
token: string;
|
|
261
|
+
address: string;
|
|
262
|
+
email?: string | undefined;
|
|
153
263
|
}>;
|
|
154
264
|
export declare const UserNonceRequestValidator: z.ZodObject<{
|
|
155
265
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -162,11 +272,11 @@ export declare const UserNonceValidator: z.ZodObject<{
|
|
|
162
272
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
163
273
|
nonce: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
164
274
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
address: string;
|
|
166
275
|
nonce: string;
|
|
167
|
-
}, {
|
|
168
276
|
address: string;
|
|
277
|
+
}, {
|
|
169
278
|
nonce: string;
|
|
279
|
+
address: string;
|
|
170
280
|
}>;
|
|
171
281
|
export declare const UserApiKeyValidator: z.ZodObject<{
|
|
172
282
|
address: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -189,8 +299,8 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
189
299
|
logo: z.ZodString;
|
|
190
300
|
}, "strip", z.ZodTypeAny, {
|
|
191
301
|
symbol: string;
|
|
192
|
-
chainId: number;
|
|
193
302
|
address: string;
|
|
303
|
+
chainId: number;
|
|
194
304
|
balance: string;
|
|
195
305
|
decimals: number;
|
|
196
306
|
allowance: string;
|
|
@@ -198,8 +308,8 @@ export declare const UserTokenValidator: z.ZodObject<{
|
|
|
198
308
|
logo: string;
|
|
199
309
|
}, {
|
|
200
310
|
symbol: string;
|
|
201
|
-
chainId: number;
|
|
202
311
|
address: string;
|
|
312
|
+
chainId: number;
|
|
203
313
|
balance: string;
|
|
204
314
|
decimals: number;
|
|
205
315
|
allowance: string;
|
|
@@ -217,8 +327,8 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
217
327
|
logo: z.ZodString;
|
|
218
328
|
}, "strip", z.ZodTypeAny, {
|
|
219
329
|
symbol: string;
|
|
220
|
-
chainId: number;
|
|
221
330
|
address: string;
|
|
331
|
+
chainId: number;
|
|
222
332
|
balance: string;
|
|
223
333
|
decimals: number;
|
|
224
334
|
allowance: string;
|
|
@@ -226,8 +336,8 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
226
336
|
logo: string;
|
|
227
337
|
}, {
|
|
228
338
|
symbol: string;
|
|
229
|
-
chainId: number;
|
|
230
339
|
address: string;
|
|
340
|
+
chainId: number;
|
|
231
341
|
balance: string;
|
|
232
342
|
decimals: number;
|
|
233
343
|
allowance: string;
|
|
@@ -236,12 +346,15 @@ export declare const UserTokensValidator: z.ZodArray<z.ZodObject<{
|
|
|
236
346
|
}>, "many">;
|
|
237
347
|
export declare const BalancesGetRequestValidator: z.ZodObject<{
|
|
238
348
|
address: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
239
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
349
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
350
|
+
readonly asc: 1;
|
|
351
|
+
readonly desc: -1;
|
|
352
|
+
}>, 1 | -1, unknown>>;
|
|
240
353
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
241
354
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
242
355
|
}, "strip", z.ZodTypeAny, {
|
|
243
356
|
address?: string | undefined;
|
|
244
|
-
sort?:
|
|
357
|
+
sort?: 1 | -1 | undefined;
|
|
245
358
|
offset?: number | undefined;
|
|
246
359
|
limit?: number | undefined;
|
|
247
360
|
}, {
|
|
@@ -257,16 +370,16 @@ export declare const BalanceValidator: z.ZodObject<{
|
|
|
257
370
|
description: z.ZodString;
|
|
258
371
|
createdAt: z.ZodDate;
|
|
259
372
|
}, "strip", z.ZodTypeAny, {
|
|
260
|
-
address: string;
|
|
261
373
|
amount: number;
|
|
262
|
-
|
|
374
|
+
address: string;
|
|
263
375
|
description: string;
|
|
376
|
+
createdAt: Date;
|
|
264
377
|
expiresAt?: Date | undefined;
|
|
265
378
|
}, {
|
|
266
|
-
address: string;
|
|
267
379
|
amount: number;
|
|
268
|
-
|
|
380
|
+
address: string;
|
|
269
381
|
description: string;
|
|
382
|
+
createdAt: Date;
|
|
270
383
|
expiresAt?: Date | undefined;
|
|
271
384
|
}>;
|
|
272
385
|
export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -276,16 +389,16 @@ export declare const BalancesValidator: z.ZodArray<z.ZodObject<{
|
|
|
276
389
|
description: z.ZodString;
|
|
277
390
|
createdAt: z.ZodDate;
|
|
278
391
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
-
address: string;
|
|
280
392
|
amount: number;
|
|
281
|
-
|
|
393
|
+
address: string;
|
|
282
394
|
description: string;
|
|
395
|
+
createdAt: Date;
|
|
283
396
|
expiresAt?: Date | undefined;
|
|
284
397
|
}, {
|
|
285
|
-
address: string;
|
|
286
398
|
amount: number;
|
|
287
|
-
|
|
399
|
+
address: string;
|
|
288
400
|
description: string;
|
|
401
|
+
createdAt: Date;
|
|
289
402
|
expiresAt?: Date | undefined;
|
|
290
403
|
}>, "many">;
|
|
291
404
|
export declare const BalanceTotalValidator: z.ZodObject<{
|
|
@@ -303,12 +416,12 @@ export declare const BalancesCreateRequestValidator: z.ZodObject<{
|
|
|
303
416
|
amount: z.ZodNumber;
|
|
304
417
|
description: z.ZodString;
|
|
305
418
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
address: string;
|
|
307
419
|
amount: number;
|
|
420
|
+
address: string;
|
|
308
421
|
description: string;
|
|
309
422
|
}, {
|
|
310
|
-
address: string;
|
|
311
423
|
amount: number;
|
|
424
|
+
address: string;
|
|
312
425
|
description: string;
|
|
313
426
|
}>;
|
|
314
427
|
export declare const TasksGetRequestValidator: z.ZodObject<{
|
|
@@ -332,21 +445,18 @@ export declare const TaskValidator: z.ZodObject<{
|
|
|
332
445
|
name: z.ZodString;
|
|
333
446
|
version: z.ZodString;
|
|
334
447
|
description: z.ZodString;
|
|
335
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
336
448
|
createdAt: z.ZodDate;
|
|
337
449
|
}, "strip", z.ZodTypeAny, {
|
|
338
450
|
name: string;
|
|
339
|
-
createdAt: Date;
|
|
340
|
-
version: string;
|
|
341
451
|
description: string;
|
|
342
|
-
|
|
452
|
+
version: string;
|
|
453
|
+
createdAt: Date;
|
|
343
454
|
CID: string;
|
|
344
455
|
}, {
|
|
345
456
|
name: string;
|
|
346
|
-
createdAt: Date;
|
|
347
|
-
version: string;
|
|
348
457
|
description: string;
|
|
349
|
-
|
|
458
|
+
version: string;
|
|
459
|
+
createdAt: Date;
|
|
350
460
|
CID: string;
|
|
351
461
|
}>;
|
|
352
462
|
export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -354,21 +464,18 @@ export declare const TasksValidator: z.ZodArray<z.ZodObject<{
|
|
|
354
464
|
name: z.ZodString;
|
|
355
465
|
version: z.ZodString;
|
|
356
466
|
description: z.ZodString;
|
|
357
|
-
creator: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
358
467
|
createdAt: z.ZodDate;
|
|
359
468
|
}, "strip", z.ZodTypeAny, {
|
|
360
469
|
name: string;
|
|
361
|
-
createdAt: Date;
|
|
362
|
-
version: string;
|
|
363
470
|
description: string;
|
|
364
|
-
|
|
471
|
+
version: string;
|
|
472
|
+
createdAt: Date;
|
|
365
473
|
CID: string;
|
|
366
474
|
}, {
|
|
367
475
|
name: string;
|
|
368
|
-
createdAt: Date;
|
|
369
|
-
version: string;
|
|
370
476
|
description: string;
|
|
371
|
-
|
|
477
|
+
version: string;
|
|
478
|
+
createdAt: Date;
|
|
372
479
|
CID: string;
|
|
373
480
|
}>, "many">;
|
|
374
481
|
export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
@@ -383,7 +490,8 @@ export declare const TaskCreateRequestValidator: z.ZodObject<{
|
|
|
383
490
|
}>;
|
|
384
491
|
export declare const CronTriggerTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
385
492
|
export declare const EventTriggerTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
386
|
-
export declare const
|
|
493
|
+
export declare const OnceTriggerTypeValidator: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
494
|
+
export declare const TriggerTypeValidator: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
387
495
|
export declare const ConfigTypedDataFieldValidator: z.ZodObject<{
|
|
388
496
|
name: z.ZodString;
|
|
389
497
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -394,7 +502,7 @@ export declare const ConfigTypedDataFieldValidator: z.ZodObject<{
|
|
|
394
502
|
name: string;
|
|
395
503
|
type: string;
|
|
396
504
|
}>;
|
|
397
|
-
export declare const ConfigTypesValidator: z.ZodObject<{
|
|
505
|
+
export declare const ConfigTypesValidator: z.ZodIntersection<z.ZodObject<{
|
|
398
506
|
Input: z.ZodArray<z.ZodObject<{
|
|
399
507
|
name: z.ZodString;
|
|
400
508
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -405,9 +513,9 @@ export declare const ConfigTypesValidator: z.ZodObject<{
|
|
|
405
513
|
name: string;
|
|
406
514
|
type: string;
|
|
407
515
|
}>, "many">;
|
|
408
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
516
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
409
517
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
410
|
-
}, "
|
|
518
|
+
}, "strip", z.ZodTypeAny, {
|
|
411
519
|
Input: {
|
|
412
520
|
name: string;
|
|
413
521
|
type: string;
|
|
@@ -421,9 +529,18 @@ export declare const ConfigTypesValidator: z.ZodObject<{
|
|
|
421
529
|
}[];
|
|
422
530
|
Trigger: [any, ...any[]];
|
|
423
531
|
Config: [any, ...any[]];
|
|
424
|
-
}
|
|
532
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
533
|
+
name: z.ZodString;
|
|
534
|
+
type: z.ZodString;
|
|
535
|
+
}, "strip", z.ZodTypeAny, {
|
|
536
|
+
name: string;
|
|
537
|
+
type: string;
|
|
538
|
+
}, {
|
|
539
|
+
name: string;
|
|
540
|
+
type: string;
|
|
541
|
+
}>, "many">>>;
|
|
425
542
|
export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
426
|
-
types: z.ZodObject<{
|
|
543
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
427
544
|
Input: z.ZodArray<z.ZodObject<{
|
|
428
545
|
name: z.ZodString;
|
|
429
546
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -434,9 +551,9 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
434
551
|
name: string;
|
|
435
552
|
type: string;
|
|
436
553
|
}>, "many">;
|
|
437
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
554
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
438
555
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
439
|
-
}, "
|
|
556
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
557
|
Input: {
|
|
441
558
|
name: string;
|
|
442
559
|
type: string;
|
|
@@ -450,97 +567,180 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
450
567
|
}[];
|
|
451
568
|
Trigger: [any, ...any[]];
|
|
452
569
|
Config: [any, ...any[]];
|
|
453
|
-
}
|
|
570
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
571
|
+
name: z.ZodString;
|
|
572
|
+
type: z.ZodString;
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
|
+
name: string;
|
|
575
|
+
type: string;
|
|
576
|
+
}, {
|
|
577
|
+
name: string;
|
|
578
|
+
type: string;
|
|
579
|
+
}>, "many">>>;
|
|
454
580
|
values: z.ZodObject<{
|
|
455
581
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
456
582
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
457
583
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
458
|
-
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
459
|
-
type: z.ZodLiteral<
|
|
584
|
+
trigger: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
585
|
+
type: z.ZodLiteral<1>;
|
|
460
586
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
461
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
462
|
-
|
|
587
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
588
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
463
589
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
590
|
+
endDate: z.ZodNumber;
|
|
464
591
|
}, "strict", z.ZodTypeAny, {
|
|
465
592
|
chainId: number;
|
|
466
|
-
type:
|
|
467
|
-
contract: string;
|
|
593
|
+
type: 1;
|
|
468
594
|
delta: string;
|
|
469
|
-
|
|
595
|
+
endDate: number;
|
|
596
|
+
contract: string;
|
|
597
|
+
topics: string[][];
|
|
470
598
|
}, {
|
|
471
599
|
chainId: number;
|
|
472
|
-
type:
|
|
473
|
-
contract: string;
|
|
600
|
+
type: 1;
|
|
474
601
|
delta: string;
|
|
475
|
-
|
|
602
|
+
endDate: number;
|
|
603
|
+
contract: string;
|
|
604
|
+
topics: string[][];
|
|
476
605
|
}>, z.ZodObject<{
|
|
477
|
-
type: z.ZodLiteral<
|
|
606
|
+
type: z.ZodLiteral<0>;
|
|
478
607
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
479
608
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
480
609
|
endDate: z.ZodNumber;
|
|
481
610
|
}, "strict", z.ZodTypeAny, {
|
|
482
|
-
type:
|
|
611
|
+
type: 0;
|
|
483
612
|
schedule: string;
|
|
484
613
|
delta: string;
|
|
485
614
|
endDate: number;
|
|
486
615
|
}, {
|
|
487
|
-
type:
|
|
616
|
+
type: 0;
|
|
488
617
|
schedule: string;
|
|
489
618
|
delta: string;
|
|
490
619
|
endDate: number;
|
|
491
|
-
}
|
|
620
|
+
}>, z.ZodObject<{
|
|
621
|
+
type: z.ZodLiteral<2>;
|
|
622
|
+
startDate: z.ZodNumber;
|
|
623
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
624
|
+
endDate: z.ZodNumber;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
type: 2;
|
|
627
|
+
delta: string;
|
|
628
|
+
endDate: number;
|
|
629
|
+
startDate: number;
|
|
630
|
+
}, {
|
|
631
|
+
type: 2;
|
|
632
|
+
delta: string;
|
|
633
|
+
endDate: number;
|
|
634
|
+
startDate: number;
|
|
635
|
+
}>]>, {
|
|
636
|
+
type: 0;
|
|
637
|
+
schedule: string;
|
|
638
|
+
delta: string;
|
|
639
|
+
endDate: number;
|
|
640
|
+
} | {
|
|
641
|
+
chainId: number;
|
|
642
|
+
type: 1;
|
|
643
|
+
delta: string;
|
|
644
|
+
endDate: number;
|
|
645
|
+
contract: string;
|
|
646
|
+
topics: string[][];
|
|
647
|
+
} | {
|
|
648
|
+
type: 2;
|
|
649
|
+
delta: string;
|
|
650
|
+
endDate: number;
|
|
651
|
+
startDate: number;
|
|
652
|
+
}, {
|
|
653
|
+
type: 0;
|
|
654
|
+
schedule: string;
|
|
655
|
+
delta: string;
|
|
656
|
+
endDate: number;
|
|
657
|
+
} | {
|
|
658
|
+
chainId: number;
|
|
659
|
+
type: 1;
|
|
660
|
+
delta: string;
|
|
661
|
+
endDate: number;
|
|
662
|
+
contract: string;
|
|
663
|
+
topics: string[][];
|
|
664
|
+
} | {
|
|
665
|
+
type: 2;
|
|
666
|
+
delta: string;
|
|
667
|
+
endDate: number;
|
|
668
|
+
startDate: number;
|
|
669
|
+
}>;
|
|
492
670
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
671
|
+
minValidations: z.ZodNumber;
|
|
493
672
|
}, "strict", z.ZodTypeAny, {
|
|
673
|
+
minValidations: number;
|
|
494
674
|
version: string;
|
|
495
675
|
taskCid: string;
|
|
496
676
|
input: Record<string, unknown>;
|
|
497
677
|
trigger: {
|
|
498
|
-
type:
|
|
678
|
+
type: 0;
|
|
499
679
|
schedule: string;
|
|
500
680
|
delta: string;
|
|
501
681
|
endDate: number;
|
|
502
682
|
} | {
|
|
503
683
|
chainId: number;
|
|
504
|
-
type:
|
|
684
|
+
type: 1;
|
|
685
|
+
delta: string;
|
|
686
|
+
endDate: number;
|
|
505
687
|
contract: string;
|
|
688
|
+
topics: string[][];
|
|
689
|
+
} | {
|
|
690
|
+
type: 2;
|
|
506
691
|
delta: string;
|
|
507
|
-
|
|
692
|
+
endDate: number;
|
|
693
|
+
startDate: number;
|
|
508
694
|
};
|
|
509
695
|
executionFeeLimit: string;
|
|
510
696
|
}, {
|
|
697
|
+
minValidations: number;
|
|
511
698
|
version: string;
|
|
512
699
|
taskCid: string;
|
|
513
700
|
input: Record<string, unknown>;
|
|
514
701
|
trigger: {
|
|
515
|
-
type:
|
|
702
|
+
type: 0;
|
|
516
703
|
schedule: string;
|
|
517
704
|
delta: string;
|
|
518
705
|
endDate: number;
|
|
519
706
|
} | {
|
|
520
707
|
chainId: number;
|
|
521
|
-
type:
|
|
708
|
+
type: 1;
|
|
709
|
+
delta: string;
|
|
710
|
+
endDate: number;
|
|
522
711
|
contract: string;
|
|
712
|
+
topics: string[][];
|
|
713
|
+
} | {
|
|
714
|
+
type: 2;
|
|
523
715
|
delta: string;
|
|
524
|
-
|
|
716
|
+
endDate: number;
|
|
717
|
+
startDate: number;
|
|
525
718
|
};
|
|
526
719
|
executionFeeLimit: string;
|
|
527
720
|
}>;
|
|
528
721
|
}, "strip", z.ZodTypeAny, {
|
|
529
722
|
values: {
|
|
723
|
+
minValidations: number;
|
|
530
724
|
version: string;
|
|
531
725
|
taskCid: string;
|
|
532
726
|
input: Record<string, unknown>;
|
|
533
727
|
trigger: {
|
|
534
|
-
type:
|
|
728
|
+
type: 0;
|
|
535
729
|
schedule: string;
|
|
536
730
|
delta: string;
|
|
537
731
|
endDate: number;
|
|
538
732
|
} | {
|
|
539
733
|
chainId: number;
|
|
540
|
-
type:
|
|
734
|
+
type: 1;
|
|
735
|
+
delta: string;
|
|
736
|
+
endDate: number;
|
|
541
737
|
contract: string;
|
|
738
|
+
topics: string[][];
|
|
739
|
+
} | {
|
|
740
|
+
type: 2;
|
|
542
741
|
delta: string;
|
|
543
|
-
|
|
742
|
+
endDate: number;
|
|
743
|
+
startDate: number;
|
|
544
744
|
};
|
|
545
745
|
executionFeeLimit: string;
|
|
546
746
|
};
|
|
@@ -551,23 +751,33 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
551
751
|
}[];
|
|
552
752
|
Trigger: [any, ...any[]];
|
|
553
753
|
Config: [any, ...any[]];
|
|
554
|
-
}
|
|
754
|
+
} & Record<string, {
|
|
755
|
+
name: string;
|
|
756
|
+
type: string;
|
|
757
|
+
}[]>;
|
|
555
758
|
}, {
|
|
556
759
|
values: {
|
|
760
|
+
minValidations: number;
|
|
557
761
|
version: string;
|
|
558
762
|
taskCid: string;
|
|
559
763
|
input: Record<string, unknown>;
|
|
560
764
|
trigger: {
|
|
561
|
-
type:
|
|
765
|
+
type: 0;
|
|
562
766
|
schedule: string;
|
|
563
767
|
delta: string;
|
|
564
768
|
endDate: number;
|
|
565
769
|
} | {
|
|
566
770
|
chainId: number;
|
|
567
|
-
type:
|
|
771
|
+
type: 1;
|
|
772
|
+
delta: string;
|
|
773
|
+
endDate: number;
|
|
568
774
|
contract: string;
|
|
775
|
+
topics: string[][];
|
|
776
|
+
} | {
|
|
777
|
+
type: 2;
|
|
569
778
|
delta: string;
|
|
570
|
-
|
|
779
|
+
endDate: number;
|
|
780
|
+
startDate: number;
|
|
571
781
|
};
|
|
572
782
|
executionFeeLimit: string;
|
|
573
783
|
};
|
|
@@ -578,12 +788,15 @@ export declare const ConfigTypedDataValidator: z.ZodObject<{
|
|
|
578
788
|
}[];
|
|
579
789
|
Trigger: [any, ...any[]];
|
|
580
790
|
Config: [any, ...any[]];
|
|
581
|
-
}
|
|
791
|
+
} & Record<string, {
|
|
792
|
+
name: string;
|
|
793
|
+
type: string;
|
|
794
|
+
}[]>;
|
|
582
795
|
}>;
|
|
583
796
|
export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
584
797
|
description: z.ZodString;
|
|
585
798
|
typedData: z.ZodObject<{
|
|
586
|
-
types: z.ZodObject<{
|
|
799
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
587
800
|
Input: z.ZodArray<z.ZodObject<{
|
|
588
801
|
name: z.ZodString;
|
|
589
802
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -594,9 +807,9 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
594
807
|
name: string;
|
|
595
808
|
type: string;
|
|
596
809
|
}>, "many">;
|
|
597
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
810
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
598
811
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
599
|
-
}, "
|
|
812
|
+
}, "strip", z.ZodTypeAny, {
|
|
600
813
|
Input: {
|
|
601
814
|
name: string;
|
|
602
815
|
type: string;
|
|
@@ -610,97 +823,180 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
610
823
|
}[];
|
|
611
824
|
Trigger: [any, ...any[]];
|
|
612
825
|
Config: [any, ...any[]];
|
|
613
|
-
}
|
|
826
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
827
|
+
name: z.ZodString;
|
|
828
|
+
type: z.ZodString;
|
|
829
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
name: string;
|
|
831
|
+
type: string;
|
|
832
|
+
}, {
|
|
833
|
+
name: string;
|
|
834
|
+
type: string;
|
|
835
|
+
}>, "many">>>;
|
|
614
836
|
values: z.ZodObject<{
|
|
615
837
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
616
838
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
617
839
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
618
|
-
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
619
|
-
type: z.ZodLiteral<
|
|
840
|
+
trigger: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
841
|
+
type: z.ZodLiteral<1>;
|
|
620
842
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
621
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
622
|
-
|
|
843
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
844
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
623
845
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
846
|
+
endDate: z.ZodNumber;
|
|
624
847
|
}, "strict", z.ZodTypeAny, {
|
|
625
848
|
chainId: number;
|
|
626
|
-
type:
|
|
627
|
-
contract: string;
|
|
849
|
+
type: 1;
|
|
628
850
|
delta: string;
|
|
629
|
-
|
|
851
|
+
endDate: number;
|
|
852
|
+
contract: string;
|
|
853
|
+
topics: string[][];
|
|
630
854
|
}, {
|
|
631
855
|
chainId: number;
|
|
632
|
-
type:
|
|
633
|
-
contract: string;
|
|
856
|
+
type: 1;
|
|
634
857
|
delta: string;
|
|
635
|
-
|
|
858
|
+
endDate: number;
|
|
859
|
+
contract: string;
|
|
860
|
+
topics: string[][];
|
|
636
861
|
}>, z.ZodObject<{
|
|
637
|
-
type: z.ZodLiteral<
|
|
862
|
+
type: z.ZodLiteral<0>;
|
|
638
863
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
639
864
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
640
865
|
endDate: z.ZodNumber;
|
|
641
866
|
}, "strict", z.ZodTypeAny, {
|
|
642
|
-
type:
|
|
867
|
+
type: 0;
|
|
868
|
+
schedule: string;
|
|
869
|
+
delta: string;
|
|
870
|
+
endDate: number;
|
|
871
|
+
}, {
|
|
872
|
+
type: 0;
|
|
873
|
+
schedule: string;
|
|
874
|
+
delta: string;
|
|
875
|
+
endDate: number;
|
|
876
|
+
}>, z.ZodObject<{
|
|
877
|
+
type: z.ZodLiteral<2>;
|
|
878
|
+
startDate: z.ZodNumber;
|
|
879
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
880
|
+
endDate: z.ZodNumber;
|
|
881
|
+
}, "strip", z.ZodTypeAny, {
|
|
882
|
+
type: 2;
|
|
883
|
+
delta: string;
|
|
884
|
+
endDate: number;
|
|
885
|
+
startDate: number;
|
|
886
|
+
}, {
|
|
887
|
+
type: 2;
|
|
888
|
+
delta: string;
|
|
889
|
+
endDate: number;
|
|
890
|
+
startDate: number;
|
|
891
|
+
}>]>, {
|
|
892
|
+
type: 0;
|
|
643
893
|
schedule: string;
|
|
644
894
|
delta: string;
|
|
645
895
|
endDate: number;
|
|
896
|
+
} | {
|
|
897
|
+
chainId: number;
|
|
898
|
+
type: 1;
|
|
899
|
+
delta: string;
|
|
900
|
+
endDate: number;
|
|
901
|
+
contract: string;
|
|
902
|
+
topics: string[][];
|
|
903
|
+
} | {
|
|
904
|
+
type: 2;
|
|
905
|
+
delta: string;
|
|
906
|
+
endDate: number;
|
|
907
|
+
startDate: number;
|
|
646
908
|
}, {
|
|
647
|
-
type:
|
|
909
|
+
type: 0;
|
|
648
910
|
schedule: string;
|
|
649
911
|
delta: string;
|
|
650
912
|
endDate: number;
|
|
651
|
-
}
|
|
913
|
+
} | {
|
|
914
|
+
chainId: number;
|
|
915
|
+
type: 1;
|
|
916
|
+
delta: string;
|
|
917
|
+
endDate: number;
|
|
918
|
+
contract: string;
|
|
919
|
+
topics: string[][];
|
|
920
|
+
} | {
|
|
921
|
+
type: 2;
|
|
922
|
+
delta: string;
|
|
923
|
+
endDate: number;
|
|
924
|
+
startDate: number;
|
|
925
|
+
}>;
|
|
652
926
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
927
|
+
minValidations: z.ZodNumber;
|
|
653
928
|
}, "strict", z.ZodTypeAny, {
|
|
929
|
+
minValidations: number;
|
|
654
930
|
version: string;
|
|
655
931
|
taskCid: string;
|
|
656
932
|
input: Record<string, unknown>;
|
|
657
933
|
trigger: {
|
|
658
|
-
type:
|
|
934
|
+
type: 0;
|
|
659
935
|
schedule: string;
|
|
660
936
|
delta: string;
|
|
661
937
|
endDate: number;
|
|
662
938
|
} | {
|
|
663
939
|
chainId: number;
|
|
664
|
-
type:
|
|
940
|
+
type: 1;
|
|
941
|
+
delta: string;
|
|
942
|
+
endDate: number;
|
|
665
943
|
contract: string;
|
|
944
|
+
topics: string[][];
|
|
945
|
+
} | {
|
|
946
|
+
type: 2;
|
|
666
947
|
delta: string;
|
|
667
|
-
|
|
948
|
+
endDate: number;
|
|
949
|
+
startDate: number;
|
|
668
950
|
};
|
|
669
951
|
executionFeeLimit: string;
|
|
670
952
|
}, {
|
|
953
|
+
minValidations: number;
|
|
671
954
|
version: string;
|
|
672
955
|
taskCid: string;
|
|
673
956
|
input: Record<string, unknown>;
|
|
674
957
|
trigger: {
|
|
675
|
-
type:
|
|
958
|
+
type: 0;
|
|
676
959
|
schedule: string;
|
|
677
960
|
delta: string;
|
|
678
961
|
endDate: number;
|
|
679
962
|
} | {
|
|
680
963
|
chainId: number;
|
|
681
|
-
type:
|
|
964
|
+
type: 1;
|
|
965
|
+
delta: string;
|
|
966
|
+
endDate: number;
|
|
682
967
|
contract: string;
|
|
968
|
+
topics: string[][];
|
|
969
|
+
} | {
|
|
970
|
+
type: 2;
|
|
683
971
|
delta: string;
|
|
684
|
-
|
|
972
|
+
endDate: number;
|
|
973
|
+
startDate: number;
|
|
685
974
|
};
|
|
686
975
|
executionFeeLimit: string;
|
|
687
976
|
}>;
|
|
688
977
|
}, "strip", z.ZodTypeAny, {
|
|
689
978
|
values: {
|
|
979
|
+
minValidations: number;
|
|
690
980
|
version: string;
|
|
691
981
|
taskCid: string;
|
|
692
982
|
input: Record<string, unknown>;
|
|
693
983
|
trigger: {
|
|
694
|
-
type:
|
|
984
|
+
type: 0;
|
|
695
985
|
schedule: string;
|
|
696
986
|
delta: string;
|
|
697
987
|
endDate: number;
|
|
698
988
|
} | {
|
|
699
989
|
chainId: number;
|
|
700
|
-
type:
|
|
990
|
+
type: 1;
|
|
991
|
+
delta: string;
|
|
992
|
+
endDate: number;
|
|
701
993
|
contract: string;
|
|
994
|
+
topics: string[][];
|
|
995
|
+
} | {
|
|
996
|
+
type: 2;
|
|
702
997
|
delta: string;
|
|
703
|
-
|
|
998
|
+
endDate: number;
|
|
999
|
+
startDate: number;
|
|
704
1000
|
};
|
|
705
1001
|
executionFeeLimit: string;
|
|
706
1002
|
};
|
|
@@ -711,23 +1007,33 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
711
1007
|
}[];
|
|
712
1008
|
Trigger: [any, ...any[]];
|
|
713
1009
|
Config: [any, ...any[]];
|
|
714
|
-
}
|
|
1010
|
+
} & Record<string, {
|
|
1011
|
+
name: string;
|
|
1012
|
+
type: string;
|
|
1013
|
+
}[]>;
|
|
715
1014
|
}, {
|
|
716
1015
|
values: {
|
|
1016
|
+
minValidations: number;
|
|
717
1017
|
version: string;
|
|
718
1018
|
taskCid: string;
|
|
719
1019
|
input: Record<string, unknown>;
|
|
720
1020
|
trigger: {
|
|
721
|
-
type:
|
|
1021
|
+
type: 0;
|
|
722
1022
|
schedule: string;
|
|
723
1023
|
delta: string;
|
|
724
1024
|
endDate: number;
|
|
725
1025
|
} | {
|
|
726
1026
|
chainId: number;
|
|
727
|
-
type:
|
|
1027
|
+
type: 1;
|
|
1028
|
+
delta: string;
|
|
1029
|
+
endDate: number;
|
|
728
1030
|
contract: string;
|
|
1031
|
+
topics: string[][];
|
|
1032
|
+
} | {
|
|
1033
|
+
type: 2;
|
|
729
1034
|
delta: string;
|
|
730
|
-
|
|
1035
|
+
endDate: number;
|
|
1036
|
+
startDate: number;
|
|
731
1037
|
};
|
|
732
1038
|
executionFeeLimit: string;
|
|
733
1039
|
};
|
|
@@ -738,28 +1044,38 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
738
1044
|
}[];
|
|
739
1045
|
Trigger: [any, ...any[]];
|
|
740
1046
|
Config: [any, ...any[]];
|
|
741
|
-
}
|
|
1047
|
+
} & Record<string, {
|
|
1048
|
+
name: string;
|
|
1049
|
+
type: string;
|
|
1050
|
+
}[]>;
|
|
742
1051
|
}>;
|
|
743
1052
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
744
|
-
signer: z.ZodEffects<z.
|
|
1053
|
+
signer: z.ZodEffects<z.ZodString, string, string>;
|
|
745
1054
|
}, "strip", z.ZodTypeAny, {
|
|
746
1055
|
description: string;
|
|
747
1056
|
typedData: {
|
|
748
1057
|
values: {
|
|
1058
|
+
minValidations: number;
|
|
749
1059
|
version: string;
|
|
750
1060
|
taskCid: string;
|
|
751
1061
|
input: Record<string, unknown>;
|
|
752
1062
|
trigger: {
|
|
753
|
-
type:
|
|
1063
|
+
type: 0;
|
|
754
1064
|
schedule: string;
|
|
755
1065
|
delta: string;
|
|
756
1066
|
endDate: number;
|
|
757
1067
|
} | {
|
|
758
1068
|
chainId: number;
|
|
759
|
-
type:
|
|
1069
|
+
type: 1;
|
|
1070
|
+
delta: string;
|
|
1071
|
+
endDate: number;
|
|
760
1072
|
contract: string;
|
|
1073
|
+
topics: string[][];
|
|
1074
|
+
} | {
|
|
1075
|
+
type: 2;
|
|
761
1076
|
delta: string;
|
|
762
|
-
|
|
1077
|
+
endDate: number;
|
|
1078
|
+
startDate: number;
|
|
763
1079
|
};
|
|
764
1080
|
executionFeeLimit: string;
|
|
765
1081
|
};
|
|
@@ -770,7 +1086,10 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
770
1086
|
}[];
|
|
771
1087
|
Trigger: [any, ...any[]];
|
|
772
1088
|
Config: [any, ...any[]];
|
|
773
|
-
}
|
|
1089
|
+
} & Record<string, {
|
|
1090
|
+
name: string;
|
|
1091
|
+
type: string;
|
|
1092
|
+
}[]>;
|
|
774
1093
|
};
|
|
775
1094
|
sig: string;
|
|
776
1095
|
signer: string;
|
|
@@ -778,20 +1097,27 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
778
1097
|
description: string;
|
|
779
1098
|
typedData: {
|
|
780
1099
|
values: {
|
|
1100
|
+
minValidations: number;
|
|
781
1101
|
version: string;
|
|
782
1102
|
taskCid: string;
|
|
783
1103
|
input: Record<string, unknown>;
|
|
784
1104
|
trigger: {
|
|
785
|
-
type:
|
|
1105
|
+
type: 0;
|
|
786
1106
|
schedule: string;
|
|
787
1107
|
delta: string;
|
|
788
1108
|
endDate: number;
|
|
789
1109
|
} | {
|
|
790
1110
|
chainId: number;
|
|
791
|
-
type:
|
|
1111
|
+
type: 1;
|
|
1112
|
+
delta: string;
|
|
1113
|
+
endDate: number;
|
|
792
1114
|
contract: string;
|
|
1115
|
+
topics: string[][];
|
|
1116
|
+
} | {
|
|
1117
|
+
type: 2;
|
|
793
1118
|
delta: string;
|
|
794
|
-
|
|
1119
|
+
endDate: number;
|
|
1120
|
+
startDate: number;
|
|
795
1121
|
};
|
|
796
1122
|
executionFeeLimit: string;
|
|
797
1123
|
};
|
|
@@ -802,7 +1128,10 @@ export declare const ConfigCreateRequestValidator: z.ZodObject<{
|
|
|
802
1128
|
}[];
|
|
803
1129
|
Trigger: [any, ...any[]];
|
|
804
1130
|
Config: [any, ...any[]];
|
|
805
|
-
}
|
|
1131
|
+
} & Record<string, {
|
|
1132
|
+
name: string;
|
|
1133
|
+
type: string;
|
|
1134
|
+
}[]>;
|
|
806
1135
|
};
|
|
807
1136
|
sig: string;
|
|
808
1137
|
signer: string;
|
|
@@ -816,73 +1145,129 @@ export declare const ConfigsGetRequestValidator: z.ZodObject<{
|
|
|
816
1145
|
createdBefore: z.ZodOptional<z.ZodNumber>;
|
|
817
1146
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
818
1147
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
819
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
1148
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
1149
|
+
readonly asc: 1;
|
|
1150
|
+
readonly desc: -1;
|
|
1151
|
+
}>, 1 | -1, unknown>>;
|
|
820
1152
|
}, "strip", z.ZodTypeAny, {
|
|
821
|
-
sort?:
|
|
1153
|
+
sort?: 1 | -1 | undefined;
|
|
822
1154
|
offset?: number | undefined;
|
|
823
1155
|
limit?: number | undefined;
|
|
824
|
-
createdAfter?: number | undefined;
|
|
825
|
-
createdBefore?: number | undefined;
|
|
826
1156
|
taskCid?: string | undefined;
|
|
827
1157
|
signer?: string | undefined;
|
|
828
1158
|
sigs?: string[] | undefined;
|
|
829
1159
|
active?: boolean | undefined;
|
|
1160
|
+
createdAfter?: number | undefined;
|
|
1161
|
+
createdBefore?: number | undefined;
|
|
830
1162
|
}, {
|
|
831
1163
|
sort?: unknown;
|
|
832
1164
|
offset?: number | undefined;
|
|
833
1165
|
limit?: number | undefined;
|
|
834
|
-
createdAfter?: number | undefined;
|
|
835
|
-
createdBefore?: number | undefined;
|
|
836
1166
|
taskCid?: string | undefined;
|
|
837
1167
|
signer?: string | undefined;
|
|
838
1168
|
sigs?: unknown;
|
|
839
1169
|
active?: unknown;
|
|
1170
|
+
createdAfter?: number | undefined;
|
|
1171
|
+
createdBefore?: number | undefined;
|
|
840
1172
|
}>;
|
|
841
1173
|
export declare const ConfigValidator: z.ZodObject<{
|
|
842
1174
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
843
1175
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
844
1176
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
845
1177
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
846
|
-
active: z.ZodBoolean;
|
|
847
1178
|
description: z.ZodString;
|
|
1179
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
848
1180
|
createdAt: z.ZodDate;
|
|
849
1181
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
850
|
-
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
851
|
-
type: z.ZodLiteral<
|
|
1182
|
+
trigger: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1183
|
+
type: z.ZodLiteral<1>;
|
|
852
1184
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
853
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
854
|
-
|
|
1185
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
1186
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
855
1187
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1188
|
+
endDate: z.ZodNumber;
|
|
856
1189
|
}, "strict", z.ZodTypeAny, {
|
|
857
1190
|
chainId: number;
|
|
858
|
-
type:
|
|
859
|
-
contract: string;
|
|
1191
|
+
type: 1;
|
|
860
1192
|
delta: string;
|
|
861
|
-
|
|
1193
|
+
endDate: number;
|
|
1194
|
+
contract: string;
|
|
1195
|
+
topics: string[][];
|
|
862
1196
|
}, {
|
|
863
1197
|
chainId: number;
|
|
864
|
-
type:
|
|
865
|
-
contract: string;
|
|
1198
|
+
type: 1;
|
|
866
1199
|
delta: string;
|
|
867
|
-
|
|
1200
|
+
endDate: number;
|
|
1201
|
+
contract: string;
|
|
1202
|
+
topics: string[][];
|
|
868
1203
|
}>, z.ZodObject<{
|
|
869
|
-
type: z.ZodLiteral<
|
|
1204
|
+
type: z.ZodLiteral<0>;
|
|
870
1205
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
871
1206
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
872
1207
|
endDate: z.ZodNumber;
|
|
873
1208
|
}, "strict", z.ZodTypeAny, {
|
|
874
|
-
type:
|
|
1209
|
+
type: 0;
|
|
1210
|
+
schedule: string;
|
|
1211
|
+
delta: string;
|
|
1212
|
+
endDate: number;
|
|
1213
|
+
}, {
|
|
1214
|
+
type: 0;
|
|
1215
|
+
schedule: string;
|
|
1216
|
+
delta: string;
|
|
1217
|
+
endDate: number;
|
|
1218
|
+
}>, z.ZodObject<{
|
|
1219
|
+
type: z.ZodLiteral<2>;
|
|
1220
|
+
startDate: z.ZodNumber;
|
|
1221
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1222
|
+
endDate: z.ZodNumber;
|
|
1223
|
+
}, "strip", z.ZodTypeAny, {
|
|
1224
|
+
type: 2;
|
|
1225
|
+
delta: string;
|
|
1226
|
+
endDate: number;
|
|
1227
|
+
startDate: number;
|
|
1228
|
+
}, {
|
|
1229
|
+
type: 2;
|
|
1230
|
+
delta: string;
|
|
1231
|
+
endDate: number;
|
|
1232
|
+
startDate: number;
|
|
1233
|
+
}>]>, {
|
|
1234
|
+
type: 0;
|
|
875
1235
|
schedule: string;
|
|
876
1236
|
delta: string;
|
|
877
1237
|
endDate: number;
|
|
1238
|
+
} | {
|
|
1239
|
+
chainId: number;
|
|
1240
|
+
type: 1;
|
|
1241
|
+
delta: string;
|
|
1242
|
+
endDate: number;
|
|
1243
|
+
contract: string;
|
|
1244
|
+
topics: string[][];
|
|
1245
|
+
} | {
|
|
1246
|
+
type: 2;
|
|
1247
|
+
delta: string;
|
|
1248
|
+
endDate: number;
|
|
1249
|
+
startDate: number;
|
|
878
1250
|
}, {
|
|
879
|
-
type:
|
|
1251
|
+
type: 0;
|
|
880
1252
|
schedule: string;
|
|
881
1253
|
delta: string;
|
|
882
1254
|
endDate: number;
|
|
883
|
-
}
|
|
1255
|
+
} | {
|
|
1256
|
+
chainId: number;
|
|
1257
|
+
type: 1;
|
|
1258
|
+
delta: string;
|
|
1259
|
+
endDate: number;
|
|
1260
|
+
contract: string;
|
|
1261
|
+
topics: string[][];
|
|
1262
|
+
} | {
|
|
1263
|
+
type: 2;
|
|
1264
|
+
delta: string;
|
|
1265
|
+
endDate: number;
|
|
1266
|
+
startDate: number;
|
|
1267
|
+
}>;
|
|
884
1268
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
885
|
-
|
|
1269
|
+
minValidations: z.ZodNumber;
|
|
1270
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
886
1271
|
Input: z.ZodArray<z.ZodObject<{
|
|
887
1272
|
name: z.ZodString;
|
|
888
1273
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -893,9 +1278,9 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
893
1278
|
name: string;
|
|
894
1279
|
type: string;
|
|
895
1280
|
}>, "many">;
|
|
896
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1281
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
897
1282
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
898
|
-
}, "
|
|
1283
|
+
}, "strip", z.ZodTypeAny, {
|
|
899
1284
|
Input: {
|
|
900
1285
|
name: string;
|
|
901
1286
|
type: string;
|
|
@@ -909,24 +1294,42 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
909
1294
|
}[];
|
|
910
1295
|
Trigger: [any, ...any[]];
|
|
911
1296
|
Config: [any, ...any[]];
|
|
912
|
-
}
|
|
1297
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1298
|
+
name: z.ZodString;
|
|
1299
|
+
type: z.ZodString;
|
|
1300
|
+
}, "strip", z.ZodTypeAny, {
|
|
1301
|
+
name: string;
|
|
1302
|
+
type: string;
|
|
1303
|
+
}, {
|
|
1304
|
+
name: string;
|
|
1305
|
+
type: string;
|
|
1306
|
+
}>, "many">>>;
|
|
1307
|
+
endDate: z.ZodNumber;
|
|
913
1308
|
}, "strip", z.ZodTypeAny, {
|
|
914
|
-
|
|
915
|
-
|
|
1309
|
+
minValidations: number;
|
|
1310
|
+
endDate: number;
|
|
916
1311
|
description: string;
|
|
1312
|
+
version: string;
|
|
1313
|
+
createdAt: Date;
|
|
917
1314
|
taskCid: string;
|
|
918
1315
|
input: Record<string, unknown>;
|
|
919
1316
|
trigger: {
|
|
920
|
-
type:
|
|
1317
|
+
type: 0;
|
|
921
1318
|
schedule: string;
|
|
922
1319
|
delta: string;
|
|
923
1320
|
endDate: number;
|
|
924
1321
|
} | {
|
|
925
1322
|
chainId: number;
|
|
926
|
-
type:
|
|
1323
|
+
type: 1;
|
|
1324
|
+
delta: string;
|
|
1325
|
+
endDate: number;
|
|
927
1326
|
contract: string;
|
|
1327
|
+
topics: string[][];
|
|
1328
|
+
} | {
|
|
1329
|
+
type: 2;
|
|
928
1330
|
delta: string;
|
|
929
|
-
|
|
1331
|
+
endDate: number;
|
|
1332
|
+
startDate: number;
|
|
930
1333
|
};
|
|
931
1334
|
executionFeeLimit: string;
|
|
932
1335
|
types: {
|
|
@@ -936,27 +1339,38 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
936
1339
|
}[];
|
|
937
1340
|
Trigger: [any, ...any[]];
|
|
938
1341
|
Config: [any, ...any[]];
|
|
939
|
-
}
|
|
1342
|
+
} & Record<string, {
|
|
1343
|
+
name: string;
|
|
1344
|
+
type: string;
|
|
1345
|
+
}[]>;
|
|
940
1346
|
sig: string;
|
|
941
1347
|
signer: string;
|
|
942
|
-
|
|
1348
|
+
deactivateSig?: string | undefined;
|
|
943
1349
|
}, {
|
|
944
|
-
|
|
945
|
-
|
|
1350
|
+
minValidations: number;
|
|
1351
|
+
endDate: number;
|
|
946
1352
|
description: string;
|
|
1353
|
+
version: string;
|
|
1354
|
+
createdAt: Date;
|
|
947
1355
|
taskCid: string;
|
|
948
1356
|
input: Record<string, unknown>;
|
|
949
1357
|
trigger: {
|
|
950
|
-
type:
|
|
1358
|
+
type: 0;
|
|
951
1359
|
schedule: string;
|
|
952
1360
|
delta: string;
|
|
953
1361
|
endDate: number;
|
|
954
1362
|
} | {
|
|
955
1363
|
chainId: number;
|
|
956
|
-
type:
|
|
1364
|
+
type: 1;
|
|
1365
|
+
delta: string;
|
|
1366
|
+
endDate: number;
|
|
957
1367
|
contract: string;
|
|
1368
|
+
topics: string[][];
|
|
1369
|
+
} | {
|
|
1370
|
+
type: 2;
|
|
958
1371
|
delta: string;
|
|
959
|
-
|
|
1372
|
+
endDate: number;
|
|
1373
|
+
startDate: number;
|
|
960
1374
|
};
|
|
961
1375
|
executionFeeLimit: string;
|
|
962
1376
|
types: {
|
|
@@ -966,56 +1380,112 @@ export declare const ConfigValidator: z.ZodObject<{
|
|
|
966
1380
|
}[];
|
|
967
1381
|
Trigger: [any, ...any[]];
|
|
968
1382
|
Config: [any, ...any[]];
|
|
969
|
-
}
|
|
1383
|
+
} & Record<string, {
|
|
1384
|
+
name: string;
|
|
1385
|
+
type: string;
|
|
1386
|
+
}[]>;
|
|
970
1387
|
sig: string;
|
|
971
1388
|
signer: string;
|
|
972
|
-
|
|
1389
|
+
deactivateSig?: string | undefined;
|
|
973
1390
|
}>;
|
|
974
1391
|
export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
975
1392
|
sig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
976
1393
|
taskCid: z.ZodEffects<z.ZodString, string, string>;
|
|
977
1394
|
signer: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
978
1395
|
version: z.ZodEffects<z.ZodString, string, string>;
|
|
979
|
-
active: z.ZodBoolean;
|
|
980
1396
|
description: z.ZodString;
|
|
1397
|
+
deactivateSig: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
981
1398
|
createdAt: z.ZodDate;
|
|
982
1399
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
983
|
-
trigger: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
984
|
-
type: z.ZodLiteral<
|
|
1400
|
+
trigger: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1401
|
+
type: z.ZodLiteral<1>;
|
|
985
1402
|
chainId: z.ZodEffects<z.ZodNumber, number, number>;
|
|
986
|
-
contract: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
987
|
-
|
|
1403
|
+
contract: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, z.ZodLiteral<"any">]>;
|
|
1404
|
+
topics: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">, "many">;
|
|
988
1405
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1406
|
+
endDate: z.ZodNumber;
|
|
989
1407
|
}, "strict", z.ZodTypeAny, {
|
|
990
1408
|
chainId: number;
|
|
991
|
-
type:
|
|
992
|
-
contract: string;
|
|
1409
|
+
type: 1;
|
|
993
1410
|
delta: string;
|
|
994
|
-
|
|
1411
|
+
endDate: number;
|
|
1412
|
+
contract: string;
|
|
1413
|
+
topics: string[][];
|
|
995
1414
|
}, {
|
|
996
1415
|
chainId: number;
|
|
997
|
-
type:
|
|
998
|
-
contract: string;
|
|
1416
|
+
type: 1;
|
|
999
1417
|
delta: string;
|
|
1000
|
-
|
|
1418
|
+
endDate: number;
|
|
1419
|
+
contract: string;
|
|
1420
|
+
topics: string[][];
|
|
1001
1421
|
}>, z.ZodObject<{
|
|
1002
|
-
type: z.ZodLiteral<
|
|
1422
|
+
type: z.ZodLiteral<0>;
|
|
1003
1423
|
schedule: z.ZodEffects<z.ZodString, string, string>;
|
|
1004
1424
|
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1005
1425
|
endDate: z.ZodNumber;
|
|
1006
1426
|
}, "strict", z.ZodTypeAny, {
|
|
1007
|
-
type:
|
|
1427
|
+
type: 0;
|
|
1008
1428
|
schedule: string;
|
|
1009
1429
|
delta: string;
|
|
1010
1430
|
endDate: number;
|
|
1011
1431
|
}, {
|
|
1012
|
-
type:
|
|
1432
|
+
type: 0;
|
|
1013
1433
|
schedule: string;
|
|
1014
1434
|
delta: string;
|
|
1015
1435
|
endDate: number;
|
|
1016
|
-
}
|
|
1436
|
+
}>, z.ZodObject<{
|
|
1437
|
+
type: z.ZodLiteral<2>;
|
|
1438
|
+
startDate: z.ZodNumber;
|
|
1439
|
+
delta: z.ZodEffects<z.ZodString, string, string>;
|
|
1440
|
+
endDate: z.ZodNumber;
|
|
1441
|
+
}, "strip", z.ZodTypeAny, {
|
|
1442
|
+
type: 2;
|
|
1443
|
+
delta: string;
|
|
1444
|
+
endDate: number;
|
|
1445
|
+
startDate: number;
|
|
1446
|
+
}, {
|
|
1447
|
+
type: 2;
|
|
1448
|
+
delta: string;
|
|
1449
|
+
endDate: number;
|
|
1450
|
+
startDate: number;
|
|
1451
|
+
}>]>, {
|
|
1452
|
+
type: 0;
|
|
1453
|
+
schedule: string;
|
|
1454
|
+
delta: string;
|
|
1455
|
+
endDate: number;
|
|
1456
|
+
} | {
|
|
1457
|
+
chainId: number;
|
|
1458
|
+
type: 1;
|
|
1459
|
+
delta: string;
|
|
1460
|
+
endDate: number;
|
|
1461
|
+
contract: string;
|
|
1462
|
+
topics: string[][];
|
|
1463
|
+
} | {
|
|
1464
|
+
type: 2;
|
|
1465
|
+
delta: string;
|
|
1466
|
+
endDate: number;
|
|
1467
|
+
startDate: number;
|
|
1468
|
+
}, {
|
|
1469
|
+
type: 0;
|
|
1470
|
+
schedule: string;
|
|
1471
|
+
delta: string;
|
|
1472
|
+
endDate: number;
|
|
1473
|
+
} | {
|
|
1474
|
+
chainId: number;
|
|
1475
|
+
type: 1;
|
|
1476
|
+
delta: string;
|
|
1477
|
+
endDate: number;
|
|
1478
|
+
contract: string;
|
|
1479
|
+
topics: string[][];
|
|
1480
|
+
} | {
|
|
1481
|
+
type: 2;
|
|
1482
|
+
delta: string;
|
|
1483
|
+
endDate: number;
|
|
1484
|
+
startDate: number;
|
|
1485
|
+
}>;
|
|
1017
1486
|
executionFeeLimit: z.ZodEffects<z.ZodString, string, string>;
|
|
1018
|
-
|
|
1487
|
+
minValidations: z.ZodNumber;
|
|
1488
|
+
types: z.ZodIntersection<z.ZodObject<{
|
|
1019
1489
|
Input: z.ZodArray<z.ZodObject<{
|
|
1020
1490
|
name: z.ZodString;
|
|
1021
1491
|
type: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1026,9 +1496,9 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1026
1496
|
name: string;
|
|
1027
1497
|
type: string;
|
|
1028
1498
|
}>, "many">;
|
|
1029
|
-
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1499
|
+
Trigger: z.ZodUnion<[z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>, z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>]>;
|
|
1030
1500
|
Config: z.ZodTuple<[z.ZodTypeAny, ...z.ZodTypeAny[]], null>;
|
|
1031
|
-
}, "
|
|
1501
|
+
}, "strip", z.ZodTypeAny, {
|
|
1032
1502
|
Input: {
|
|
1033
1503
|
name: string;
|
|
1034
1504
|
type: string;
|
|
@@ -1042,24 +1512,42 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1042
1512
|
}[];
|
|
1043
1513
|
Trigger: [any, ...any[]];
|
|
1044
1514
|
Config: [any, ...any[]];
|
|
1045
|
-
}
|
|
1515
|
+
}>, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1516
|
+
name: z.ZodString;
|
|
1517
|
+
type: z.ZodString;
|
|
1518
|
+
}, "strip", z.ZodTypeAny, {
|
|
1519
|
+
name: string;
|
|
1520
|
+
type: string;
|
|
1521
|
+
}, {
|
|
1522
|
+
name: string;
|
|
1523
|
+
type: string;
|
|
1524
|
+
}>, "many">>>;
|
|
1525
|
+
endDate: z.ZodNumber;
|
|
1046
1526
|
}, "strip", z.ZodTypeAny, {
|
|
1047
|
-
|
|
1048
|
-
|
|
1527
|
+
minValidations: number;
|
|
1528
|
+
endDate: number;
|
|
1049
1529
|
description: string;
|
|
1530
|
+
version: string;
|
|
1531
|
+
createdAt: Date;
|
|
1050
1532
|
taskCid: string;
|
|
1051
1533
|
input: Record<string, unknown>;
|
|
1052
1534
|
trigger: {
|
|
1053
|
-
type:
|
|
1535
|
+
type: 0;
|
|
1054
1536
|
schedule: string;
|
|
1055
1537
|
delta: string;
|
|
1056
1538
|
endDate: number;
|
|
1057
1539
|
} | {
|
|
1058
1540
|
chainId: number;
|
|
1059
|
-
type:
|
|
1541
|
+
type: 1;
|
|
1542
|
+
delta: string;
|
|
1543
|
+
endDate: number;
|
|
1060
1544
|
contract: string;
|
|
1545
|
+
topics: string[][];
|
|
1546
|
+
} | {
|
|
1547
|
+
type: 2;
|
|
1061
1548
|
delta: string;
|
|
1062
|
-
|
|
1549
|
+
endDate: number;
|
|
1550
|
+
startDate: number;
|
|
1063
1551
|
};
|
|
1064
1552
|
executionFeeLimit: string;
|
|
1065
1553
|
types: {
|
|
@@ -1069,27 +1557,38 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1069
1557
|
}[];
|
|
1070
1558
|
Trigger: [any, ...any[]];
|
|
1071
1559
|
Config: [any, ...any[]];
|
|
1072
|
-
}
|
|
1560
|
+
} & Record<string, {
|
|
1561
|
+
name: string;
|
|
1562
|
+
type: string;
|
|
1563
|
+
}[]>;
|
|
1073
1564
|
sig: string;
|
|
1074
1565
|
signer: string;
|
|
1075
|
-
|
|
1566
|
+
deactivateSig?: string | undefined;
|
|
1076
1567
|
}, {
|
|
1077
|
-
|
|
1078
|
-
|
|
1568
|
+
minValidations: number;
|
|
1569
|
+
endDate: number;
|
|
1079
1570
|
description: string;
|
|
1571
|
+
version: string;
|
|
1572
|
+
createdAt: Date;
|
|
1080
1573
|
taskCid: string;
|
|
1081
1574
|
input: Record<string, unknown>;
|
|
1082
1575
|
trigger: {
|
|
1083
|
-
type:
|
|
1576
|
+
type: 0;
|
|
1084
1577
|
schedule: string;
|
|
1085
1578
|
delta: string;
|
|
1086
1579
|
endDate: number;
|
|
1087
1580
|
} | {
|
|
1088
1581
|
chainId: number;
|
|
1089
|
-
type:
|
|
1582
|
+
type: 1;
|
|
1583
|
+
delta: string;
|
|
1584
|
+
endDate: number;
|
|
1090
1585
|
contract: string;
|
|
1586
|
+
topics: string[][];
|
|
1587
|
+
} | {
|
|
1588
|
+
type: 2;
|
|
1091
1589
|
delta: string;
|
|
1092
|
-
|
|
1590
|
+
endDate: number;
|
|
1591
|
+
startDate: number;
|
|
1093
1592
|
};
|
|
1094
1593
|
executionFeeLimit: string;
|
|
1095
1594
|
types: {
|
|
@@ -1099,10 +1598,13 @@ export declare const ConfigsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1099
1598
|
}[];
|
|
1100
1599
|
Trigger: [any, ...any[]];
|
|
1101
1600
|
Config: [any, ...any[]];
|
|
1102
|
-
}
|
|
1601
|
+
} & Record<string, {
|
|
1602
|
+
name: string;
|
|
1603
|
+
type: string;
|
|
1604
|
+
}[]>;
|
|
1103
1605
|
sig: string;
|
|
1104
1606
|
signer: string;
|
|
1105
|
-
|
|
1607
|
+
deactivateSig?: string | undefined;
|
|
1106
1608
|
}>, "many">;
|
|
1107
1609
|
export declare const ConfigDeactivateRequestValidator: z.ZodObject<{
|
|
1108
1610
|
deactivateSig: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1134,11 +1636,14 @@ export declare const RelayerValidator: z.ZodObject<{
|
|
|
1134
1636
|
export declare const ExecutionPricingsGetRequestValidator: z.ZodObject<{
|
|
1135
1637
|
createdAfter: z.ZodOptional<z.ZodNumber>;
|
|
1136
1638
|
createdBefore: z.ZodOptional<z.ZodNumber>;
|
|
1137
|
-
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<
|
|
1639
|
+
sort: z.ZodOptional<z.ZodEffects<z.ZodNativeEnum<{
|
|
1640
|
+
readonly asc: 1;
|
|
1641
|
+
readonly desc: -1;
|
|
1642
|
+
}>, 1 | -1, unknown>>;
|
|
1138
1643
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
1139
1644
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1140
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1141
|
-
sort?:
|
|
1646
|
+
sort?: 1 | -1 | undefined;
|
|
1142
1647
|
offset?: number | undefined;
|
|
1143
1648
|
limit?: number | undefined;
|
|
1144
1649
|
createdAfter?: number | undefined;
|
|
@@ -1158,6 +1663,10 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1158
1663
|
rpcCall: z.ZodNumber;
|
|
1159
1664
|
priceQuery: z.ZodNumber;
|
|
1160
1665
|
relevantTokensQuery: z.ZodNumber;
|
|
1666
|
+
subgraphQuery: z.ZodNumber;
|
|
1667
|
+
cronTrigger: z.ZodNumber;
|
|
1668
|
+
eventTrigger: z.ZodNumber;
|
|
1669
|
+
onceTrigger: z.ZodNumber;
|
|
1161
1670
|
protocolFeePct: z.ZodNumber;
|
|
1162
1671
|
createdAt: z.ZodDate;
|
|
1163
1672
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1169,6 +1678,10 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1169
1678
|
rpcCall: number;
|
|
1170
1679
|
priceQuery: number;
|
|
1171
1680
|
relevantTokensQuery: number;
|
|
1681
|
+
subgraphQuery: number;
|
|
1682
|
+
cronTrigger: number;
|
|
1683
|
+
eventTrigger: number;
|
|
1684
|
+
onceTrigger: number;
|
|
1172
1685
|
protocolFeePct: number;
|
|
1173
1686
|
}, {
|
|
1174
1687
|
intent: number;
|
|
@@ -1179,6 +1692,10 @@ export declare const ExecutionPricingValidator: z.ZodObject<{
|
|
|
1179
1692
|
rpcCall: number;
|
|
1180
1693
|
priceQuery: number;
|
|
1181
1694
|
relevantTokensQuery: number;
|
|
1695
|
+
subgraphQuery: number;
|
|
1696
|
+
cronTrigger: number;
|
|
1697
|
+
eventTrigger: number;
|
|
1698
|
+
onceTrigger: number;
|
|
1182
1699
|
protocolFeePct: number;
|
|
1183
1700
|
}>;
|
|
1184
1701
|
export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
@@ -1189,6 +1706,10 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1189
1706
|
rpcCall: z.ZodNumber;
|
|
1190
1707
|
priceQuery: z.ZodNumber;
|
|
1191
1708
|
relevantTokensQuery: z.ZodNumber;
|
|
1709
|
+
subgraphQuery: z.ZodNumber;
|
|
1710
|
+
cronTrigger: z.ZodNumber;
|
|
1711
|
+
eventTrigger: z.ZodNumber;
|
|
1712
|
+
onceTrigger: z.ZodNumber;
|
|
1192
1713
|
protocolFeePct: z.ZodNumber;
|
|
1193
1714
|
createdAt: z.ZodDate;
|
|
1194
1715
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1200,6 +1721,10 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1200
1721
|
rpcCall: number;
|
|
1201
1722
|
priceQuery: number;
|
|
1202
1723
|
relevantTokensQuery: number;
|
|
1724
|
+
subgraphQuery: number;
|
|
1725
|
+
cronTrigger: number;
|
|
1726
|
+
eventTrigger: number;
|
|
1727
|
+
onceTrigger: number;
|
|
1203
1728
|
protocolFeePct: number;
|
|
1204
1729
|
}, {
|
|
1205
1730
|
intent: number;
|
|
@@ -1210,6 +1735,60 @@ export declare const ExecutionPricingsValidator: z.ZodArray<z.ZodObject<{
|
|
|
1210
1735
|
rpcCall: number;
|
|
1211
1736
|
priceQuery: number;
|
|
1212
1737
|
relevantTokensQuery: number;
|
|
1738
|
+
subgraphQuery: number;
|
|
1739
|
+
cronTrigger: number;
|
|
1740
|
+
eventTrigger: number;
|
|
1741
|
+
onceTrigger: number;
|
|
1213
1742
|
protocolFeePct: number;
|
|
1214
1743
|
}>, "many">;
|
|
1744
|
+
export declare const UserDataValidator: z.ZodObject<{
|
|
1745
|
+
userAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1746
|
+
name: z.ZodString;
|
|
1747
|
+
intendedUse: z.ZodString;
|
|
1748
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1749
|
+
}, "strip", z.ZodTypeAny, {
|
|
1750
|
+
name: string;
|
|
1751
|
+
userAddress: string;
|
|
1752
|
+
intendedUse: string;
|
|
1753
|
+
email?: string | null | undefined;
|
|
1754
|
+
}, {
|
|
1755
|
+
name: string;
|
|
1756
|
+
userAddress: string;
|
|
1757
|
+
intendedUse: string;
|
|
1758
|
+
email?: string | null | undefined;
|
|
1759
|
+
}>;
|
|
1760
|
+
export declare const UserDataUpdateRequestValidator: z.ZodObject<{
|
|
1761
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
intendedUse: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
name?: string | undefined;
|
|
1765
|
+
intendedUse?: string | undefined;
|
|
1766
|
+
}, {
|
|
1767
|
+
name?: string | undefined;
|
|
1768
|
+
intendedUse?: string | undefined;
|
|
1769
|
+
}>;
|
|
1770
|
+
export declare const EmailVerificationCreateRequestValidator: z.ZodObject<{
|
|
1771
|
+
email: z.ZodString;
|
|
1772
|
+
}, "strip", z.ZodTypeAny, {
|
|
1773
|
+
email: string;
|
|
1774
|
+
}, {
|
|
1775
|
+
email: string;
|
|
1776
|
+
}>;
|
|
1777
|
+
export declare const EmailVerificationVerifyRequestValidator: z.ZodObject<{
|
|
1778
|
+
otp: z.ZodNumber;
|
|
1779
|
+
}, "strip", z.ZodTypeAny, {
|
|
1780
|
+
otp: number;
|
|
1781
|
+
}, {
|
|
1782
|
+
otp: number;
|
|
1783
|
+
}>;
|
|
1784
|
+
export declare const EmailVerificationValidator: z.ZodObject<{
|
|
1785
|
+
email: z.ZodString;
|
|
1786
|
+
expiresAt: z.ZodDate;
|
|
1787
|
+
}, "strip", z.ZodTypeAny, {
|
|
1788
|
+
email: string;
|
|
1789
|
+
expiresAt: Date;
|
|
1790
|
+
}, {
|
|
1791
|
+
email: string;
|
|
1792
|
+
expiresAt: Date;
|
|
1793
|
+
}>;
|
|
1215
1794
|
//# sourceMappingURL=validators.d.ts.map
|