@bosonprotocol/agentic-commerce 1.0.0-alpha.97 → 1.2.2-alpha.5
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/LICENSE +201 -0
- package/README.md +19 -6
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts +14 -5
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js +26 -0
- package/dist/boson/goat-sdk-plugin/boson-protocol-plugin.service.js.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.d.ts +525 -320
- package/dist/boson/goat-sdk-plugin/parameters.d.ts.map +1 -1
- package/dist/boson/goat-sdk-plugin/parameters.js +4 -1
- package/dist/boson/goat-sdk-plugin/parameters.js.map +1 -1
- package/dist/boson/mcp-client/index.d.ts +407 -1
- package/dist/boson/mcp-client/index.d.ts.map +1 -1
- package/dist/boson/mcp-client/index.js +12 -0
- package/dist/boson/mcp-client/index.js.map +1 -1
- package/dist/boson/mcp-server/handlers/accounts.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/accounts.js +30 -2
- package/dist/boson/mcp-server/handlers/accounts.js.map +1 -1
- package/dist/boson/mcp-server/handlers/bosonMetaTx.d.ts +53 -0
- package/dist/boson/mcp-server/handlers/bosonMetaTx.d.ts.map +1 -0
- package/dist/boson/mcp-server/handlers/bosonMetaTx.js +65 -0
- package/dist/boson/mcp-server/handlers/bosonMetaTx.js.map +1 -0
- package/dist/boson/mcp-server/handlers/disputes.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/disputes.js +53 -5
- package/dist/boson/mcp-server/handlers/disputes.js.map +1 -1
- package/dist/boson/mcp-server/handlers/exchanges.d.ts +2 -1
- package/dist/boson/mcp-server/handlers/exchanges.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/exchanges.js +38 -1
- package/dist/boson/mcp-server/handlers/exchanges.js.map +1 -1
- package/dist/boson/mcp-server/handlers/funds.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/funds.js +25 -4
- package/dist/boson/mcp-server/handlers/funds.js.map +1 -1
- package/dist/boson/mcp-server/handlers/metaTx.d.ts +21 -0
- package/dist/boson/mcp-server/handlers/metaTx.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/metaTx.js +13 -6
- package/dist/boson/mcp-server/handlers/metaTx.js.map +1 -1
- package/dist/boson/mcp-server/handlers/offers.d.ts +2 -1
- package/dist/boson/mcp-server/handlers/offers.d.ts.map +1 -1
- package/dist/boson/mcp-server/handlers/offers.js +79 -6
- package/dist/boson/mcp-server/handlers/offers.js.map +1 -1
- package/dist/boson/mcp-server/index.d.ts +1 -0
- package/dist/boson/mcp-server/index.d.ts.map +1 -1
- package/dist/boson/mcp-server/index.js +131 -67
- package/dist/boson/mcp-server/index.js.map +1 -1
- package/dist/boson/mcp-server/validation.d.ts +636 -383
- package/dist/boson/mcp-server/validation.d.ts.map +1 -1
- package/dist/boson/mcp-server/validation.js +263 -100
- package/dist/boson/mcp-server/validation.js.map +1 -1
- package/dist/common/mcp-server/configValidation.d.ts.map +1 -1
- package/dist/common/mcp-server/configValidation.js +25 -10
- package/dist/common/mcp-server/configValidation.js.map +1 -1
- package/dist/common/mcp-server/transactionSigning.d.ts +3 -3
- package/dist/common/mcp-server/transactionSigning.d.ts.map +1 -1
- package/dist/common/mcp-server/transactionSigning.js +89 -34
- package/dist/common/mcp-server/transactionSigning.js.map +1 -1
- package/dist/common/mcp-server/validationUtils.d.ts.map +1 -1
- package/dist/common/mcp-server/validationUtils.js +7 -3
- package/dist/common/mcp-server/validationUtils.js.map +1 -1
- package/package.json +13 -13
|
@@ -9,22 +9,29 @@ export declare const contextValidation: z.ZodObject<{
|
|
|
9
9
|
configId?: string;
|
|
10
10
|
signerAddress?: string;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const royaltyInfoValidation: z.ZodObject<{
|
|
12
|
+
export declare const royaltyInfoValidation: z.ZodEffects<z.ZodObject<{
|
|
13
13
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
14
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
14
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
recipients?: string[];
|
|
17
17
|
bps?: string[];
|
|
18
18
|
}, {
|
|
19
19
|
recipients?: string[];
|
|
20
20
|
bps?: string[];
|
|
21
|
+
}>, {
|
|
22
|
+
recipients?: string[];
|
|
23
|
+
bps?: string[];
|
|
24
|
+
}, {
|
|
25
|
+
recipients?: string[];
|
|
26
|
+
bps?: string[];
|
|
21
27
|
}>;
|
|
28
|
+
export declare const executionModeValidation: z.ZodEnum<["direct", "metaTx"]>;
|
|
22
29
|
export declare const createOfferNonMetadataFields: z.ZodObject<{
|
|
23
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
24
|
-
price: z.ZodString
|
|
25
|
-
sellerDeposit: z.ZodString
|
|
26
|
-
agentId: z.ZodOptional<z.ZodString
|
|
27
|
-
buyerCancellationPenalty: z.ZodString
|
|
30
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
31
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
32
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
33
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
34
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
28
35
|
quantityAvailable: z.ZodNumber;
|
|
29
36
|
validFromDateInMS: z.ZodNumber;
|
|
30
37
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -34,18 +41,24 @@ export declare const createOfferNonMetadataFields: z.ZodObject<{
|
|
|
34
41
|
voucherValidDurationInMS: z.ZodNumber;
|
|
35
42
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
36
43
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
37
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
38
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
44
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
45
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
39
46
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
41
48
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
42
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
49
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
43
50
|
}, "strip", z.ZodTypeAny, {
|
|
44
51
|
recipients?: string[];
|
|
45
52
|
bps?: string[];
|
|
46
53
|
}, {
|
|
47
54
|
recipients?: string[];
|
|
48
55
|
bps?: string[];
|
|
56
|
+
}>, {
|
|
57
|
+
recipients?: string[];
|
|
58
|
+
bps?: string[];
|
|
59
|
+
}, {
|
|
60
|
+
recipients?: string[];
|
|
61
|
+
bps?: string[];
|
|
49
62
|
}>>;
|
|
50
63
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
51
64
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -99,11 +112,11 @@ export declare const createOfferNonMetadataFields: z.ZodObject<{
|
|
|
99
112
|
drMutualizerAddress?: string;
|
|
100
113
|
}>;
|
|
101
114
|
export declare const createOfferValidation: z.ZodObject<{
|
|
102
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
103
|
-
price: z.ZodString
|
|
104
|
-
sellerDeposit: z.ZodString
|
|
105
|
-
agentId: z.ZodOptional<z.ZodString
|
|
106
|
-
buyerCancellationPenalty: z.ZodString
|
|
115
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
116
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
117
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
118
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
119
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
107
120
|
quantityAvailable: z.ZodNumber;
|
|
108
121
|
validFromDateInMS: z.ZodNumber;
|
|
109
122
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -113,32 +126,39 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
113
126
|
voucherValidDurationInMS: z.ZodNumber;
|
|
114
127
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
115
128
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
117
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
129
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
130
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
118
131
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
119
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
132
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
120
133
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
121
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
134
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
122
135
|
}, "strip", z.ZodTypeAny, {
|
|
123
136
|
recipients?: string[];
|
|
124
137
|
bps?: string[];
|
|
125
138
|
}, {
|
|
126
139
|
recipients?: string[];
|
|
127
140
|
bps?: string[];
|
|
141
|
+
}>, {
|
|
142
|
+
recipients?: string[];
|
|
143
|
+
bps?: string[];
|
|
144
|
+
}, {
|
|
145
|
+
recipients?: string[];
|
|
146
|
+
bps?: string[];
|
|
128
147
|
}>>;
|
|
129
148
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
130
149
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
131
150
|
metadataUri: z.ZodString;
|
|
132
151
|
metadataHash: z.ZodString;
|
|
152
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
133
153
|
} & {
|
|
134
154
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
135
155
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
136
156
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
137
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
138
|
-
price: z.ZodString
|
|
139
|
-
sellerDeposit: z.ZodString
|
|
140
|
-
agentId: z.ZodOptional<z.ZodString
|
|
141
|
-
buyerCancellationPenalty: z.ZodString
|
|
157
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
158
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
159
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
160
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
161
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
142
162
|
quantityAvailable: z.ZodNumber;
|
|
143
163
|
validFromDateInMS: z.ZodNumber;
|
|
144
164
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -148,32 +168,39 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
148
168
|
voucherValidDurationInMS: z.ZodNumber;
|
|
149
169
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
150
170
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
151
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
152
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
171
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
172
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
153
173
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
154
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
174
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
155
175
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
156
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
176
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
157
177
|
}, "strip", z.ZodTypeAny, {
|
|
158
178
|
recipients?: string[];
|
|
159
179
|
bps?: string[];
|
|
160
180
|
}, {
|
|
161
181
|
recipients?: string[];
|
|
162
182
|
bps?: string[];
|
|
183
|
+
}>, {
|
|
184
|
+
recipients?: string[];
|
|
185
|
+
bps?: string[];
|
|
186
|
+
}, {
|
|
187
|
+
recipients?: string[];
|
|
188
|
+
bps?: string[];
|
|
163
189
|
}>>;
|
|
164
190
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
165
191
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
166
192
|
metadataUri: z.ZodString;
|
|
167
193
|
metadataHash: z.ZodString;
|
|
194
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
168
195
|
} & {
|
|
169
196
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
170
197
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
171
198
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
172
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
173
|
-
price: z.ZodString
|
|
174
|
-
sellerDeposit: z.ZodString
|
|
175
|
-
agentId: z.ZodOptional<z.ZodString
|
|
176
|
-
buyerCancellationPenalty: z.ZodString
|
|
199
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
200
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
201
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
202
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
203
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
177
204
|
quantityAvailable: z.ZodNumber;
|
|
178
205
|
validFromDateInMS: z.ZodNumber;
|
|
179
206
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -183,23 +210,30 @@ export declare const createOfferValidation: z.ZodObject<{
|
|
|
183
210
|
voucherValidDurationInMS: z.ZodNumber;
|
|
184
211
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
185
212
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
186
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
187
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
213
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
214
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
188
215
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
189
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
216
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
190
217
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
191
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
218
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
192
219
|
}, "strip", z.ZodTypeAny, {
|
|
193
220
|
recipients?: string[];
|
|
194
221
|
bps?: string[];
|
|
195
222
|
}, {
|
|
196
223
|
recipients?: string[];
|
|
197
224
|
bps?: string[];
|
|
225
|
+
}>, {
|
|
226
|
+
recipients?: string[];
|
|
227
|
+
bps?: string[];
|
|
228
|
+
}, {
|
|
229
|
+
recipients?: string[];
|
|
230
|
+
bps?: string[];
|
|
198
231
|
}>>;
|
|
199
232
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
200
233
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
201
234
|
metadataUri: z.ZodString;
|
|
202
235
|
metadataHash: z.ZodString;
|
|
236
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
203
237
|
} & {
|
|
204
238
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
205
239
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -222,10 +256,10 @@ export declare const conditionValidation: z.ZodObject<{
|
|
|
222
256
|
tokenType: z.ZodNumber;
|
|
223
257
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
224
258
|
gatingType: z.ZodNumber;
|
|
225
|
-
minTokenId: z.ZodString
|
|
226
|
-
maxTokenId: z.ZodString
|
|
227
|
-
threshold: z.ZodString
|
|
228
|
-
maxCommits: z.ZodString
|
|
259
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
260
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
261
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
262
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
229
263
|
}, "strip", z.ZodTypeAny, {
|
|
230
264
|
tokenAddress?: string;
|
|
231
265
|
tokenType?: number;
|
|
@@ -251,10 +285,10 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
251
285
|
tokenType: z.ZodNumber;
|
|
252
286
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
253
287
|
gatingType: z.ZodNumber;
|
|
254
|
-
minTokenId: z.ZodString
|
|
255
|
-
maxTokenId: z.ZodString
|
|
256
|
-
threshold: z.ZodString
|
|
257
|
-
maxCommits: z.ZodString
|
|
288
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
289
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
290
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
291
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
258
292
|
}, "strip", z.ZodTypeAny, {
|
|
259
293
|
tokenAddress?: string;
|
|
260
294
|
tokenType?: number;
|
|
@@ -275,11 +309,11 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
275
309
|
gatingType?: number;
|
|
276
310
|
}>;
|
|
277
311
|
} & {
|
|
278
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
279
|
-
price: z.ZodString
|
|
280
|
-
sellerDeposit: z.ZodString
|
|
281
|
-
agentId: z.ZodOptional<z.ZodString
|
|
282
|
-
buyerCancellationPenalty: z.ZodString
|
|
312
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
313
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
314
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
315
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
316
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
283
317
|
quantityAvailable: z.ZodNumber;
|
|
284
318
|
validFromDateInMS: z.ZodNumber;
|
|
285
319
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -289,23 +323,30 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
289
323
|
voucherValidDurationInMS: z.ZodNumber;
|
|
290
324
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
291
325
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
292
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
293
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
326
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
327
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
294
328
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
295
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
296
330
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
297
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
331
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
298
332
|
}, "strip", z.ZodTypeAny, {
|
|
299
333
|
recipients?: string[];
|
|
300
334
|
bps?: string[];
|
|
301
335
|
}, {
|
|
302
336
|
recipients?: string[];
|
|
303
337
|
bps?: string[];
|
|
338
|
+
}>, {
|
|
339
|
+
recipients?: string[];
|
|
340
|
+
bps?: string[];
|
|
341
|
+
}, {
|
|
342
|
+
recipients?: string[];
|
|
343
|
+
bps?: string[];
|
|
304
344
|
}>>;
|
|
305
345
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
306
346
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
307
347
|
metadataUri: z.ZodString;
|
|
308
348
|
metadataHash: z.ZodString;
|
|
349
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
309
350
|
} & {
|
|
310
351
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
311
352
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -315,10 +356,10 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
315
356
|
tokenType: z.ZodNumber;
|
|
316
357
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
317
358
|
gatingType: z.ZodNumber;
|
|
318
|
-
minTokenId: z.ZodString
|
|
319
|
-
maxTokenId: z.ZodString
|
|
320
|
-
threshold: z.ZodString
|
|
321
|
-
maxCommits: z.ZodString
|
|
359
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
360
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
361
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
362
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
322
363
|
}, "strip", z.ZodTypeAny, {
|
|
323
364
|
tokenAddress?: string;
|
|
324
365
|
tokenType?: number;
|
|
@@ -339,11 +380,11 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
339
380
|
gatingType?: number;
|
|
340
381
|
}>;
|
|
341
382
|
} & {
|
|
342
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
343
|
-
price: z.ZodString
|
|
344
|
-
sellerDeposit: z.ZodString
|
|
345
|
-
agentId: z.ZodOptional<z.ZodString
|
|
346
|
-
buyerCancellationPenalty: z.ZodString
|
|
383
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
384
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
385
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
386
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
387
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
347
388
|
quantityAvailable: z.ZodNumber;
|
|
348
389
|
validFromDateInMS: z.ZodNumber;
|
|
349
390
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -353,23 +394,30 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
353
394
|
voucherValidDurationInMS: z.ZodNumber;
|
|
354
395
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
355
396
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
356
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
357
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
397
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
398
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
358
399
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
359
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
400
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
360
401
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
361
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
402
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
362
403
|
}, "strip", z.ZodTypeAny, {
|
|
363
404
|
recipients?: string[];
|
|
364
405
|
bps?: string[];
|
|
365
406
|
}, {
|
|
366
407
|
recipients?: string[];
|
|
367
408
|
bps?: string[];
|
|
409
|
+
}>, {
|
|
410
|
+
recipients?: string[];
|
|
411
|
+
bps?: string[];
|
|
412
|
+
}, {
|
|
413
|
+
recipients?: string[];
|
|
414
|
+
bps?: string[];
|
|
368
415
|
}>>;
|
|
369
416
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
370
417
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
371
418
|
metadataUri: z.ZodString;
|
|
372
419
|
metadataHash: z.ZodString;
|
|
420
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
373
421
|
} & {
|
|
374
422
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
375
423
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -379,10 +427,10 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
379
427
|
tokenType: z.ZodNumber;
|
|
380
428
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
381
429
|
gatingType: z.ZodNumber;
|
|
382
|
-
minTokenId: z.ZodString
|
|
383
|
-
maxTokenId: z.ZodString
|
|
384
|
-
threshold: z.ZodString
|
|
385
|
-
maxCommits: z.ZodString
|
|
430
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
431
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
432
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
433
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
386
434
|
}, "strip", z.ZodTypeAny, {
|
|
387
435
|
tokenAddress?: string;
|
|
388
436
|
tokenType?: number;
|
|
@@ -403,11 +451,11 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
403
451
|
gatingType?: number;
|
|
404
452
|
}>;
|
|
405
453
|
} & {
|
|
406
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
407
|
-
price: z.ZodString
|
|
408
|
-
sellerDeposit: z.ZodString
|
|
409
|
-
agentId: z.ZodOptional<z.ZodString
|
|
410
|
-
buyerCancellationPenalty: z.ZodString
|
|
454
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
455
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
456
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
457
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
458
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
411
459
|
quantityAvailable: z.ZodNumber;
|
|
412
460
|
validFromDateInMS: z.ZodNumber;
|
|
413
461
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -417,23 +465,30 @@ export declare const createOfferWithConditionValidation: z.ZodObject<{
|
|
|
417
465
|
voucherValidDurationInMS: z.ZodNumber;
|
|
418
466
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
419
467
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
420
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
421
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
468
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
469
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
422
470
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
423
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
424
472
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
425
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
473
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
426
474
|
}, "strip", z.ZodTypeAny, {
|
|
427
475
|
recipients?: string[];
|
|
428
476
|
bps?: string[];
|
|
429
477
|
}, {
|
|
430
478
|
recipients?: string[];
|
|
431
479
|
bps?: string[];
|
|
480
|
+
}>, {
|
|
481
|
+
recipients?: string[];
|
|
482
|
+
bps?: string[];
|
|
483
|
+
}, {
|
|
484
|
+
recipients?: string[];
|
|
485
|
+
bps?: string[];
|
|
432
486
|
}>>;
|
|
433
487
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
434
488
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
435
489
|
metadataUri: z.ZodString;
|
|
436
490
|
metadataHash: z.ZodString;
|
|
491
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
437
492
|
} & {
|
|
438
493
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
439
494
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -444,10 +499,10 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
444
499
|
tokenType: z.ZodNumber;
|
|
445
500
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
446
501
|
gatingType: z.ZodNumber;
|
|
447
|
-
minTokenId: z.ZodString
|
|
448
|
-
maxTokenId: z.ZodString
|
|
449
|
-
threshold: z.ZodString
|
|
450
|
-
maxCommits: z.ZodString
|
|
502
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
503
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
504
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
505
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
451
506
|
}, "strip", z.ZodTypeAny, {
|
|
452
507
|
tokenAddress?: string;
|
|
453
508
|
tokenType?: number;
|
|
@@ -468,14 +523,14 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
468
523
|
gatingType?: number;
|
|
469
524
|
}>>;
|
|
470
525
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
471
|
-
sellerId: z.ZodString
|
|
472
|
-
buyerId: z.ZodString
|
|
473
|
-
} & {
|
|
474
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
475
|
-
price: z.ZodString
|
|
476
|
-
sellerDeposit: z.ZodString
|
|
477
|
-
agentId: z.ZodOptional<z.ZodString
|
|
478
|
-
buyerCancellationPenalty: z.ZodString
|
|
526
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
527
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
528
|
+
} & {
|
|
529
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
530
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
531
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
532
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
533
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
479
534
|
quantityAvailable: z.ZodNumber;
|
|
480
535
|
validFromDateInMS: z.ZodNumber;
|
|
481
536
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -485,23 +540,30 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
485
540
|
voucherValidDurationInMS: z.ZodNumber;
|
|
486
541
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
487
542
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
488
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
489
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
543
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
544
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
490
545
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
491
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
492
547
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
493
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
548
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
494
549
|
}, "strip", z.ZodTypeAny, {
|
|
495
550
|
recipients?: string[];
|
|
496
551
|
bps?: string[];
|
|
497
552
|
}, {
|
|
498
553
|
recipients?: string[];
|
|
499
554
|
bps?: string[];
|
|
555
|
+
}>, {
|
|
556
|
+
recipients?: string[];
|
|
557
|
+
bps?: string[];
|
|
558
|
+
}, {
|
|
559
|
+
recipients?: string[];
|
|
560
|
+
bps?: string[];
|
|
500
561
|
}>>;
|
|
501
562
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
502
563
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
503
564
|
metadataUri: z.ZodString;
|
|
504
565
|
metadataHash: z.ZodString;
|
|
566
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
505
567
|
} & {
|
|
506
568
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
507
569
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -511,10 +573,10 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
511
573
|
tokenType: z.ZodNumber;
|
|
512
574
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
513
575
|
gatingType: z.ZodNumber;
|
|
514
|
-
minTokenId: z.ZodString
|
|
515
|
-
maxTokenId: z.ZodString
|
|
516
|
-
threshold: z.ZodString
|
|
517
|
-
maxCommits: z.ZodString
|
|
576
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
577
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
578
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
579
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
518
580
|
}, "strip", z.ZodTypeAny, {
|
|
519
581
|
tokenAddress?: string;
|
|
520
582
|
tokenType?: number;
|
|
@@ -535,14 +597,14 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
535
597
|
gatingType?: number;
|
|
536
598
|
}>>;
|
|
537
599
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
538
|
-
sellerId: z.ZodString
|
|
539
|
-
buyerId: z.ZodString
|
|
540
|
-
} & {
|
|
541
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
542
|
-
price: z.ZodString
|
|
543
|
-
sellerDeposit: z.ZodString
|
|
544
|
-
agentId: z.ZodOptional<z.ZodString
|
|
545
|
-
buyerCancellationPenalty: z.ZodString
|
|
600
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
601
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
602
|
+
} & {
|
|
603
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
604
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
605
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
606
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
607
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
546
608
|
quantityAvailable: z.ZodNumber;
|
|
547
609
|
validFromDateInMS: z.ZodNumber;
|
|
548
610
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -552,23 +614,30 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
552
614
|
voucherValidDurationInMS: z.ZodNumber;
|
|
553
615
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
554
616
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
555
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
556
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
617
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
618
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
557
619
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
558
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
620
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
559
621
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
560
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
622
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
561
623
|
}, "strip", z.ZodTypeAny, {
|
|
562
624
|
recipients?: string[];
|
|
563
625
|
bps?: string[];
|
|
564
626
|
}, {
|
|
565
627
|
recipients?: string[];
|
|
566
628
|
bps?: string[];
|
|
629
|
+
}>, {
|
|
630
|
+
recipients?: string[];
|
|
631
|
+
bps?: string[];
|
|
632
|
+
}, {
|
|
633
|
+
recipients?: string[];
|
|
634
|
+
bps?: string[];
|
|
567
635
|
}>>;
|
|
568
636
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
569
637
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
570
638
|
metadataUri: z.ZodString;
|
|
571
639
|
metadataHash: z.ZodString;
|
|
640
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
572
641
|
} & {
|
|
573
642
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
574
643
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -578,10 +647,10 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
578
647
|
tokenType: z.ZodNumber;
|
|
579
648
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
580
649
|
gatingType: z.ZodNumber;
|
|
581
|
-
minTokenId: z.ZodString
|
|
582
|
-
maxTokenId: z.ZodString
|
|
583
|
-
threshold: z.ZodString
|
|
584
|
-
maxCommits: z.ZodString
|
|
650
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
651
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
652
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
653
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
585
654
|
}, "strip", z.ZodTypeAny, {
|
|
586
655
|
tokenAddress?: string;
|
|
587
656
|
tokenType?: number;
|
|
@@ -602,14 +671,14 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
602
671
|
gatingType?: number;
|
|
603
672
|
}>>;
|
|
604
673
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
605
|
-
sellerId: z.ZodString
|
|
606
|
-
buyerId: z.ZodString
|
|
607
|
-
} & {
|
|
608
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
609
|
-
price: z.ZodString
|
|
610
|
-
sellerDeposit: z.ZodString
|
|
611
|
-
agentId: z.ZodOptional<z.ZodString
|
|
612
|
-
buyerCancellationPenalty: z.ZodString
|
|
674
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
675
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
676
|
+
} & {
|
|
677
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
678
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
679
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
680
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
681
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
613
682
|
quantityAvailable: z.ZodNumber;
|
|
614
683
|
validFromDateInMS: z.ZodNumber;
|
|
615
684
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -619,34 +688,41 @@ export declare const voidNonListedOfferValidation: z.ZodObject<{
|
|
|
619
688
|
voucherValidDurationInMS: z.ZodNumber;
|
|
620
689
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
621
690
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
622
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
623
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
691
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
692
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
624
693
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
625
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
694
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
626
695
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
627
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
696
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
628
697
|
}, "strip", z.ZodTypeAny, {
|
|
629
698
|
recipients?: string[];
|
|
630
699
|
bps?: string[];
|
|
631
700
|
}, {
|
|
632
701
|
recipients?: string[];
|
|
633
702
|
bps?: string[];
|
|
703
|
+
}>, {
|
|
704
|
+
recipients?: string[];
|
|
705
|
+
bps?: string[];
|
|
706
|
+
}, {
|
|
707
|
+
recipients?: string[];
|
|
708
|
+
bps?: string[];
|
|
634
709
|
}>>;
|
|
635
710
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
636
711
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
637
712
|
metadataUri: z.ZodString;
|
|
638
713
|
metadataHash: z.ZodString;
|
|
714
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
639
715
|
} & {
|
|
640
716
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
641
717
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
642
718
|
}, z.ZodTypeAny, "passthrough">>;
|
|
643
719
|
export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
644
720
|
fullOffers: z.ZodArray<z.ZodObject<{
|
|
645
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
646
|
-
price: z.ZodString
|
|
647
|
-
sellerDeposit: z.ZodString
|
|
648
|
-
agentId: z.ZodOptional<z.ZodString
|
|
649
|
-
buyerCancellationPenalty: z.ZodString
|
|
721
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
722
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
723
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
724
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
725
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
650
726
|
quantityAvailable: z.ZodNumber;
|
|
651
727
|
validFromDateInMS: z.ZodNumber;
|
|
652
728
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -656,18 +732,24 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
656
732
|
voucherValidDurationInMS: z.ZodNumber;
|
|
657
733
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
658
734
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
659
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
660
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
735
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
736
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
661
737
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
662
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
663
739
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
664
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
740
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
665
741
|
}, "strip", z.ZodTypeAny, {
|
|
666
742
|
recipients?: string[];
|
|
667
743
|
bps?: string[];
|
|
668
744
|
}, {
|
|
669
745
|
recipients?: string[];
|
|
670
746
|
bps?: string[];
|
|
747
|
+
}>, {
|
|
748
|
+
recipients?: string[];
|
|
749
|
+
bps?: string[];
|
|
750
|
+
}, {
|
|
751
|
+
recipients?: string[];
|
|
752
|
+
bps?: string[];
|
|
671
753
|
}>>;
|
|
672
754
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
673
755
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -678,10 +760,10 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
678
760
|
tokenType: z.ZodNumber;
|
|
679
761
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
680
762
|
gatingType: z.ZodNumber;
|
|
681
|
-
minTokenId: z.ZodString
|
|
682
|
-
maxTokenId: z.ZodString
|
|
683
|
-
threshold: z.ZodString
|
|
684
|
-
maxCommits: z.ZodString
|
|
763
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
764
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
765
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
766
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
685
767
|
}, "strip", z.ZodTypeAny, {
|
|
686
768
|
tokenAddress?: string;
|
|
687
769
|
tokenType?: number;
|
|
@@ -702,8 +784,8 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
702
784
|
gatingType?: number;
|
|
703
785
|
}>>;
|
|
704
786
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
705
|
-
sellerId: z.ZodString
|
|
706
|
-
buyerId: z.ZodString
|
|
787
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
788
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
707
789
|
}, "strip", z.ZodTypeAny, {
|
|
708
790
|
sellerId?: string;
|
|
709
791
|
disputeResolverId?: string;
|
|
@@ -788,11 +870,11 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
788
870
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
789
871
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
790
872
|
fullOffers: z.ZodArray<z.ZodObject<{
|
|
791
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
792
|
-
price: z.ZodString
|
|
793
|
-
sellerDeposit: z.ZodString
|
|
794
|
-
agentId: z.ZodOptional<z.ZodString
|
|
795
|
-
buyerCancellationPenalty: z.ZodString
|
|
873
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
874
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
875
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
876
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
877
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
796
878
|
quantityAvailable: z.ZodNumber;
|
|
797
879
|
validFromDateInMS: z.ZodNumber;
|
|
798
880
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -802,18 +884,24 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
802
884
|
voucherValidDurationInMS: z.ZodNumber;
|
|
803
885
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
804
886
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
805
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
806
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
887
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
888
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
807
889
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
808
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
890
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
809
891
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
810
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
892
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
811
893
|
}, "strip", z.ZodTypeAny, {
|
|
812
894
|
recipients?: string[];
|
|
813
895
|
bps?: string[];
|
|
814
896
|
}, {
|
|
815
897
|
recipients?: string[];
|
|
816
898
|
bps?: string[];
|
|
899
|
+
}>, {
|
|
900
|
+
recipients?: string[];
|
|
901
|
+
bps?: string[];
|
|
902
|
+
}, {
|
|
903
|
+
recipients?: string[];
|
|
904
|
+
bps?: string[];
|
|
817
905
|
}>>;
|
|
818
906
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
819
907
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -824,10 +912,10 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
824
912
|
tokenType: z.ZodNumber;
|
|
825
913
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
826
914
|
gatingType: z.ZodNumber;
|
|
827
|
-
minTokenId: z.ZodString
|
|
828
|
-
maxTokenId: z.ZodString
|
|
829
|
-
threshold: z.ZodString
|
|
830
|
-
maxCommits: z.ZodString
|
|
915
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
916
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
917
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
918
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
831
919
|
}, "strip", z.ZodTypeAny, {
|
|
832
920
|
tokenAddress?: string;
|
|
833
921
|
tokenType?: number;
|
|
@@ -848,8 +936,8 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
848
936
|
gatingType?: number;
|
|
849
937
|
}>>;
|
|
850
938
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
851
|
-
sellerId: z.ZodString
|
|
852
|
-
buyerId: z.ZodString
|
|
939
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
940
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
853
941
|
}, "strip", z.ZodTypeAny, {
|
|
854
942
|
sellerId?: string;
|
|
855
943
|
disputeResolverId?: string;
|
|
@@ -934,11 +1022,11 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
934
1022
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
935
1023
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
936
1024
|
fullOffers: z.ZodArray<z.ZodObject<{
|
|
937
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
938
|
-
price: z.ZodString
|
|
939
|
-
sellerDeposit: z.ZodString
|
|
940
|
-
agentId: z.ZodOptional<z.ZodString
|
|
941
|
-
buyerCancellationPenalty: z.ZodString
|
|
1025
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1026
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
1027
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
1028
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1029
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
942
1030
|
quantityAvailable: z.ZodNumber;
|
|
943
1031
|
validFromDateInMS: z.ZodNumber;
|
|
944
1032
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -948,18 +1036,24 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
948
1036
|
voucherValidDurationInMS: z.ZodNumber;
|
|
949
1037
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
950
1038
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
951
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
952
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
1039
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1040
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
953
1041
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
954
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
1042
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
955
1043
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
956
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
1044
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
957
1045
|
}, "strip", z.ZodTypeAny, {
|
|
958
1046
|
recipients?: string[];
|
|
959
1047
|
bps?: string[];
|
|
960
1048
|
}, {
|
|
961
1049
|
recipients?: string[];
|
|
962
1050
|
bps?: string[];
|
|
1051
|
+
}>, {
|
|
1052
|
+
recipients?: string[];
|
|
1053
|
+
bps?: string[];
|
|
1054
|
+
}, {
|
|
1055
|
+
recipients?: string[];
|
|
1056
|
+
bps?: string[];
|
|
963
1057
|
}>>;
|
|
964
1058
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
965
1059
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
@@ -970,10 +1064,10 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
970
1064
|
tokenType: z.ZodNumber;
|
|
971
1065
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
972
1066
|
gatingType: z.ZodNumber;
|
|
973
|
-
minTokenId: z.ZodString
|
|
974
|
-
maxTokenId: z.ZodString
|
|
975
|
-
threshold: z.ZodString
|
|
976
|
-
maxCommits: z.ZodString
|
|
1067
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1068
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1069
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
1070
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
977
1071
|
}, "strip", z.ZodTypeAny, {
|
|
978
1072
|
tokenAddress?: string;
|
|
979
1073
|
tokenType?: number;
|
|
@@ -994,8 +1088,8 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
994
1088
|
gatingType?: number;
|
|
995
1089
|
}>>;
|
|
996
1090
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
997
|
-
sellerId: z.ZodString
|
|
998
|
-
buyerId: z.ZodString
|
|
1091
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1092
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
999
1093
|
}, "strip", z.ZodTypeAny, {
|
|
1000
1094
|
sellerId?: string;
|
|
1001
1095
|
disputeResolverId?: string;
|
|
@@ -1082,17 +1176,17 @@ export declare const voidNonListedOfferBatchValidation: z.ZodObject<{
|
|
|
1082
1176
|
export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
1083
1177
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
1084
1178
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
1085
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
1179
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1086
1180
|
} & {
|
|
1087
1181
|
condition: z.ZodOptional<z.ZodObject<{
|
|
1088
1182
|
method: z.ZodNumber;
|
|
1089
1183
|
tokenType: z.ZodNumber;
|
|
1090
1184
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1091
1185
|
gatingType: z.ZodNumber;
|
|
1092
|
-
minTokenId: z.ZodString
|
|
1093
|
-
maxTokenId: z.ZodString
|
|
1094
|
-
threshold: z.ZodString
|
|
1095
|
-
maxCommits: z.ZodString
|
|
1186
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1187
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1188
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
1189
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
1096
1190
|
}, "strip", z.ZodTypeAny, {
|
|
1097
1191
|
tokenAddress?: string;
|
|
1098
1192
|
tokenType?: number;
|
|
@@ -1113,13 +1207,13 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1113
1207
|
gatingType?: number;
|
|
1114
1208
|
}>>;
|
|
1115
1209
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
1116
|
-
sellerId: z.ZodString
|
|
1117
|
-
buyerId: z.ZodString
|
|
1118
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
1119
|
-
price: z.ZodString
|
|
1120
|
-
sellerDeposit: z.ZodString
|
|
1121
|
-
agentId: z.ZodOptional<z.ZodString
|
|
1122
|
-
buyerCancellationPenalty: z.ZodString
|
|
1210
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1211
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1212
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1213
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
1214
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
1215
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1216
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
1123
1217
|
quantityAvailable: z.ZodNumber;
|
|
1124
1218
|
validFromDateInMS: z.ZodNumber;
|
|
1125
1219
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -1129,39 +1223,46 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1129
1223
|
voucherValidDurationInMS: z.ZodNumber;
|
|
1130
1224
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
1131
1225
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
1132
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
1133
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
1226
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1227
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1134
1228
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
1135
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
1229
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1136
1230
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1137
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
1231
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1138
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1139
1233
|
recipients?: string[];
|
|
1140
1234
|
bps?: string[];
|
|
1141
1235
|
}, {
|
|
1142
1236
|
recipients?: string[];
|
|
1143
1237
|
bps?: string[];
|
|
1238
|
+
}>, {
|
|
1239
|
+
recipients?: string[];
|
|
1240
|
+
bps?: string[];
|
|
1241
|
+
}, {
|
|
1242
|
+
recipients?: string[];
|
|
1243
|
+
bps?: string[];
|
|
1144
1244
|
}>>;
|
|
1145
1245
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
1146
1246
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1147
1247
|
metadataUri: z.ZodString;
|
|
1148
1248
|
metadataHash: z.ZodString;
|
|
1249
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1149
1250
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1150
1251
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1151
1252
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1152
1253
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
1153
1254
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
1154
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
1255
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1155
1256
|
} & {
|
|
1156
1257
|
condition: z.ZodOptional<z.ZodObject<{
|
|
1157
1258
|
method: z.ZodNumber;
|
|
1158
1259
|
tokenType: z.ZodNumber;
|
|
1159
1260
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1160
1261
|
gatingType: z.ZodNumber;
|
|
1161
|
-
minTokenId: z.ZodString
|
|
1162
|
-
maxTokenId: z.ZodString
|
|
1163
|
-
threshold: z.ZodString
|
|
1164
|
-
maxCommits: z.ZodString
|
|
1262
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1263
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1264
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
1265
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
1165
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1166
1267
|
tokenAddress?: string;
|
|
1167
1268
|
tokenType?: number;
|
|
@@ -1182,13 +1283,13 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1182
1283
|
gatingType?: number;
|
|
1183
1284
|
}>>;
|
|
1184
1285
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
1185
|
-
sellerId: z.ZodString
|
|
1186
|
-
buyerId: z.ZodString
|
|
1187
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
1188
|
-
price: z.ZodString
|
|
1189
|
-
sellerDeposit: z.ZodString
|
|
1190
|
-
agentId: z.ZodOptional<z.ZodString
|
|
1191
|
-
buyerCancellationPenalty: z.ZodString
|
|
1286
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1287
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1288
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1289
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
1290
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
1291
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1292
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
1192
1293
|
quantityAvailable: z.ZodNumber;
|
|
1193
1294
|
validFromDateInMS: z.ZodNumber;
|
|
1194
1295
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -1198,39 +1299,46 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1198
1299
|
voucherValidDurationInMS: z.ZodNumber;
|
|
1199
1300
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
1200
1301
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
1201
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
1202
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
1302
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1303
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1203
1304
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
1204
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
1305
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1205
1306
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1206
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
1307
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1207
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1208
1309
|
recipients?: string[];
|
|
1209
1310
|
bps?: string[];
|
|
1210
1311
|
}, {
|
|
1211
1312
|
recipients?: string[];
|
|
1212
1313
|
bps?: string[];
|
|
1314
|
+
}>, {
|
|
1315
|
+
recipients?: string[];
|
|
1316
|
+
bps?: string[];
|
|
1317
|
+
}, {
|
|
1318
|
+
recipients?: string[];
|
|
1319
|
+
bps?: string[];
|
|
1213
1320
|
}>>;
|
|
1214
1321
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
1215
1322
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1216
1323
|
metadataUri: z.ZodString;
|
|
1217
1324
|
metadataHash: z.ZodString;
|
|
1325
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1218
1326
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1219
1327
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1220
1328
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1221
1329
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
1222
1330
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
1223
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
1331
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1224
1332
|
} & {
|
|
1225
1333
|
condition: z.ZodOptional<z.ZodObject<{
|
|
1226
1334
|
method: z.ZodNumber;
|
|
1227
1335
|
tokenType: z.ZodNumber;
|
|
1228
1336
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1229
1337
|
gatingType: z.ZodNumber;
|
|
1230
|
-
minTokenId: z.ZodString
|
|
1231
|
-
maxTokenId: z.ZodString
|
|
1232
|
-
threshold: z.ZodString
|
|
1233
|
-
maxCommits: z.ZodString
|
|
1338
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1339
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1340
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
1341
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
1234
1342
|
}, "strip", z.ZodTypeAny, {
|
|
1235
1343
|
tokenAddress?: string;
|
|
1236
1344
|
tokenType?: number;
|
|
@@ -1251,13 +1359,13 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1251
1359
|
gatingType?: number;
|
|
1252
1360
|
}>>;
|
|
1253
1361
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
1254
|
-
sellerId: z.ZodString
|
|
1255
|
-
buyerId: z.ZodString
|
|
1256
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
1257
|
-
price: z.ZodString
|
|
1258
|
-
sellerDeposit: z.ZodString
|
|
1259
|
-
agentId: z.ZodOptional<z.ZodString
|
|
1260
|
-
buyerCancellationPenalty: z.ZodString
|
|
1362
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1363
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1364
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1365
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
1366
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
1367
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1368
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
1261
1369
|
quantityAvailable: z.ZodNumber;
|
|
1262
1370
|
validFromDateInMS: z.ZodNumber;
|
|
1263
1371
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -1267,23 +1375,30 @@ export declare const fullOfferUnsignedValidation: z.ZodObject<{
|
|
|
1267
1375
|
voucherValidDurationInMS: z.ZodNumber;
|
|
1268
1376
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
1269
1377
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
1270
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
1271
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
1378
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1379
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1272
1380
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
1273
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
1381
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1274
1382
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1275
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
1383
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1276
1384
|
}, "strip", z.ZodTypeAny, {
|
|
1277
1385
|
recipients?: string[];
|
|
1278
1386
|
bps?: string[];
|
|
1279
1387
|
}, {
|
|
1280
1388
|
recipients?: string[];
|
|
1281
1389
|
bps?: string[];
|
|
1390
|
+
}>, {
|
|
1391
|
+
recipients?: string[];
|
|
1392
|
+
bps?: string[];
|
|
1393
|
+
}, {
|
|
1394
|
+
recipients?: string[];
|
|
1395
|
+
bps?: string[];
|
|
1282
1396
|
}>>;
|
|
1283
1397
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
1284
1398
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1285
1399
|
metadataUri: z.ZodString;
|
|
1286
1400
|
metadataHash: z.ZodString;
|
|
1401
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1287
1402
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1288
1403
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1289
1404
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1323,11 +1438,32 @@ export declare const storeBaseMetadataValidation: z.ZodObject<{
|
|
|
1323
1438
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1324
1439
|
type: z.ZodEnum<["BASE"]>;
|
|
1325
1440
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1441
|
+
export declare const validateMetadataValidation: z.ZodObject<{
|
|
1442
|
+
metadata: z.ZodObject<{
|
|
1443
|
+
type: z.ZodString;
|
|
1444
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1445
|
+
type: z.ZodString;
|
|
1446
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1447
|
+
type: z.ZodString;
|
|
1448
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1449
|
+
}, "strip", z.ZodTypeAny, {
|
|
1450
|
+
metadata?: {
|
|
1451
|
+
type?: string;
|
|
1452
|
+
} & {
|
|
1453
|
+
[k: string]: unknown;
|
|
1454
|
+
};
|
|
1455
|
+
}, {
|
|
1456
|
+
metadata?: {
|
|
1457
|
+
type?: string;
|
|
1458
|
+
} & {
|
|
1459
|
+
[k: string]: unknown;
|
|
1460
|
+
};
|
|
1461
|
+
}>;
|
|
1326
1462
|
export declare const withdrawFundsValidationShape: {
|
|
1327
|
-
entityId: z.ZodString
|
|
1463
|
+
entityId: z.ZodEffects<z.ZodString, string, string>;
|
|
1328
1464
|
list: z.ZodArray<z.ZodObject<{
|
|
1329
1465
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1330
|
-
amount: z.ZodString
|
|
1466
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1331
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1332
1468
|
tokenAddress?: string;
|
|
1333
1469
|
amount?: string;
|
|
@@ -1337,10 +1473,10 @@ export declare const withdrawFundsValidationShape: {
|
|
|
1337
1473
|
}>, "many">;
|
|
1338
1474
|
};
|
|
1339
1475
|
export declare const withdrawFundsValidation: z.ZodObject<{
|
|
1340
|
-
entityId: z.ZodString
|
|
1476
|
+
entityId: z.ZodEffects<z.ZodString, string, string>;
|
|
1341
1477
|
list: z.ZodArray<z.ZodObject<{
|
|
1342
1478
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1343
|
-
amount: z.ZodString
|
|
1479
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1344
1480
|
}, "strip", z.ZodTypeAny, {
|
|
1345
1481
|
tokenAddress?: string;
|
|
1346
1482
|
amount?: string;
|
|
@@ -1351,10 +1487,13 @@ export declare const withdrawFundsValidation: z.ZodObject<{
|
|
|
1351
1487
|
} & {
|
|
1352
1488
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1353
1489
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1490
|
+
} & {
|
|
1491
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1354
1492
|
}, "strip", z.ZodTypeAny, {
|
|
1355
1493
|
entityId?: string;
|
|
1356
1494
|
configId?: string;
|
|
1357
1495
|
signerAddress?: string;
|
|
1496
|
+
executionMode?: "metaTx" | "direct";
|
|
1358
1497
|
list?: {
|
|
1359
1498
|
tokenAddress?: string;
|
|
1360
1499
|
amount?: string;
|
|
@@ -1363,35 +1502,40 @@ export declare const withdrawFundsValidation: z.ZodObject<{
|
|
|
1363
1502
|
entityId?: string;
|
|
1364
1503
|
configId?: string;
|
|
1365
1504
|
signerAddress?: string;
|
|
1505
|
+
executionMode?: "metaTx" | "direct";
|
|
1366
1506
|
list?: {
|
|
1367
1507
|
tokenAddress?: string;
|
|
1368
1508
|
amount?: string;
|
|
1369
1509
|
}[];
|
|
1370
1510
|
}>;
|
|
1371
1511
|
export declare const depositFundsValidationShape: {
|
|
1372
|
-
entityId: z.ZodString
|
|
1512
|
+
entityId: z.ZodEffects<z.ZodString, string, string>;
|
|
1373
1513
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1374
|
-
amount: z.ZodString
|
|
1514
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1375
1515
|
};
|
|
1376
1516
|
export declare const depositFundsValidation: z.ZodObject<{
|
|
1377
|
-
entityId: z.ZodString
|
|
1517
|
+
entityId: z.ZodEffects<z.ZodString, string, string>;
|
|
1378
1518
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1379
|
-
amount: z.ZodString
|
|
1519
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
1380
1520
|
} & {
|
|
1381
1521
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1382
1522
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1523
|
+
} & {
|
|
1524
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1383
1525
|
}, "strip", z.ZodTypeAny, {
|
|
1384
1526
|
tokenAddress?: string;
|
|
1385
1527
|
amount?: string;
|
|
1386
1528
|
entityId?: string;
|
|
1387
1529
|
configId?: string;
|
|
1388
1530
|
signerAddress?: string;
|
|
1531
|
+
executionMode?: "metaTx" | "direct";
|
|
1389
1532
|
}, {
|
|
1390
1533
|
tokenAddress?: string;
|
|
1391
1534
|
amount?: string;
|
|
1392
1535
|
entityId?: string;
|
|
1393
1536
|
configId?: string;
|
|
1394
1537
|
signerAddress?: string;
|
|
1538
|
+
executionMode?: "metaTx" | "direct";
|
|
1395
1539
|
}>;
|
|
1396
1540
|
export declare const getFundsValidation: z.ZodObject<{
|
|
1397
1541
|
fundsSkip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1449,8 +1593,8 @@ export declare const createSellerNonMetadataFields: z.ZodObject<{
|
|
|
1449
1593
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1450
1594
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1451
1595
|
contractUri: z.ZodString;
|
|
1452
|
-
royaltyPercentage: z.ZodString
|
|
1453
|
-
authTokenId: z.ZodString
|
|
1596
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1597
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1454
1598
|
authTokenType: z.ZodNumber;
|
|
1455
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1456
1600
|
assistant?: string;
|
|
@@ -1470,14 +1614,14 @@ export declare const createSellerNonMetadataFields: z.ZodObject<{
|
|
|
1470
1614
|
authTokenId?: string;
|
|
1471
1615
|
}>;
|
|
1472
1616
|
export declare const updateSellerNonMetadataFields: z.ZodObject<{
|
|
1473
|
-
id: z.ZodString
|
|
1617
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1474
1618
|
} & Omit<{
|
|
1475
1619
|
assistant: z.ZodEffects<z.ZodString, string, string>;
|
|
1476
1620
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1477
1621
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1478
1622
|
contractUri: z.ZodString;
|
|
1479
|
-
royaltyPercentage: z.ZodString
|
|
1480
|
-
authTokenId: z.ZodString
|
|
1623
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1624
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1481
1625
|
authTokenType: z.ZodNumber;
|
|
1482
1626
|
}, "royaltyPercentage" | "contractUri">, "strip", z.ZodTypeAny, {
|
|
1483
1627
|
id?: string;
|
|
@@ -1499,9 +1643,10 @@ export declare const createSellerValidation: z.ZodObject<{
|
|
|
1499
1643
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1500
1644
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1501
1645
|
contractUri: z.ZodString;
|
|
1502
|
-
royaltyPercentage: z.ZodString
|
|
1503
|
-
authTokenId: z.ZodString
|
|
1646
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1647
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1504
1648
|
authTokenType: z.ZodNumber;
|
|
1649
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1505
1650
|
} & {
|
|
1506
1651
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1507
1652
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1510,9 +1655,10 @@ export declare const createSellerValidation: z.ZodObject<{
|
|
|
1510
1655
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1511
1656
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1512
1657
|
contractUri: z.ZodString;
|
|
1513
|
-
royaltyPercentage: z.ZodString
|
|
1514
|
-
authTokenId: z.ZodString
|
|
1658
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1659
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1515
1660
|
authTokenType: z.ZodNumber;
|
|
1661
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1516
1662
|
} & {
|
|
1517
1663
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1518
1664
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1521,117 +1667,131 @@ export declare const createSellerValidation: z.ZodObject<{
|
|
|
1521
1667
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1522
1668
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1523
1669
|
contractUri: z.ZodString;
|
|
1524
|
-
royaltyPercentage: z.ZodString
|
|
1525
|
-
authTokenId: z.ZodString
|
|
1670
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1671
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1526
1672
|
authTokenType: z.ZodNumber;
|
|
1673
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1527
1674
|
} & {
|
|
1528
1675
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1529
1676
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1530
1677
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1531
1678
|
export declare const updateSellerValidation: z.ZodObject<{
|
|
1532
|
-
id: z.ZodString
|
|
1679
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1533
1680
|
assistant: z.ZodEffects<z.ZodString, string, string>;
|
|
1534
1681
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1535
1682
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1536
1683
|
authTokenType: z.ZodNumber;
|
|
1537
|
-
authTokenId: z.ZodString
|
|
1684
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1685
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1538
1686
|
} & {
|
|
1539
1687
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1540
1688
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1541
1689
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1542
|
-
id: z.ZodString
|
|
1690
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1543
1691
|
assistant: z.ZodEffects<z.ZodString, string, string>;
|
|
1544
1692
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1545
1693
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1546
1694
|
authTokenType: z.ZodNumber;
|
|
1547
|
-
authTokenId: z.ZodString
|
|
1695
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1696
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1548
1697
|
} & {
|
|
1549
1698
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1550
1699
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1551
1700
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1552
|
-
id: z.ZodString
|
|
1701
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1553
1702
|
assistant: z.ZodEffects<z.ZodString, string, string>;
|
|
1554
1703
|
admin: z.ZodEffects<z.ZodString, string, string>;
|
|
1555
1704
|
treasury: z.ZodEffects<z.ZodString, string, string>;
|
|
1556
1705
|
authTokenType: z.ZodNumber;
|
|
1557
|
-
authTokenId: z.ZodString
|
|
1706
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1707
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1558
1708
|
} & {
|
|
1559
1709
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1560
1710
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1561
1711
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1562
1712
|
export declare const createSellerValidationSimple: z.ZodObject<{
|
|
1563
|
-
royaltyPercentage: z.ZodString
|
|
1713
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1564
1714
|
authTokenType: z.ZodNumber;
|
|
1565
1715
|
contractUri: z.ZodString;
|
|
1566
|
-
authTokenId: z.ZodString
|
|
1716
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1717
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1567
1718
|
} & {
|
|
1568
1719
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1569
1720
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1570
1721
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1571
|
-
royaltyPercentage: z.ZodString
|
|
1722
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1572
1723
|
authTokenType: z.ZodNumber;
|
|
1573
1724
|
contractUri: z.ZodString;
|
|
1574
|
-
authTokenId: z.ZodString
|
|
1725
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1726
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1575
1727
|
} & {
|
|
1576
1728
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1577
1729
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1578
1730
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1579
|
-
royaltyPercentage: z.ZodString
|
|
1731
|
+
royaltyPercentage: z.ZodEffects<z.ZodString, string, string>;
|
|
1580
1732
|
authTokenType: z.ZodNumber;
|
|
1581
1733
|
contractUri: z.ZodString;
|
|
1582
|
-
authTokenId: z.ZodString
|
|
1734
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1735
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1583
1736
|
} & {
|
|
1584
1737
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1585
1738
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1586
1739
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1587
1740
|
export declare const updateSellerValidationSimple: z.ZodObject<{
|
|
1588
|
-
id: z.ZodString
|
|
1741
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1589
1742
|
authTokenType: z.ZodNumber;
|
|
1590
|
-
authTokenId: z.ZodString
|
|
1743
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1744
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1591
1745
|
} & {
|
|
1592
1746
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1593
1747
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1594
1748
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1595
|
-
id: z.ZodString
|
|
1749
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1596
1750
|
authTokenType: z.ZodNumber;
|
|
1597
|
-
authTokenId: z.ZodString
|
|
1751
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1752
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1598
1753
|
} & {
|
|
1599
1754
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1600
1755
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1601
1756
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1602
|
-
id: z.ZodString
|
|
1757
|
+
id: z.ZodEffects<z.ZodString, string, string>;
|
|
1603
1758
|
authTokenType: z.ZodNumber;
|
|
1604
|
-
authTokenId: z.ZodString
|
|
1759
|
+
authTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
1760
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1605
1761
|
} & {
|
|
1606
1762
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1607
1763
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1608
1764
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1609
1765
|
export declare const extendDisputeTimeoutValidationShape: {
|
|
1610
|
-
exchangeId: z.ZodString
|
|
1611
|
-
newDisputeTimeout: z.ZodString
|
|
1766
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1767
|
+
newDisputeTimeout: z.ZodEffects<z.ZodString, string, string>;
|
|
1612
1768
|
};
|
|
1613
1769
|
export declare const extendDisputeTimeoutValidation: z.ZodObject<{
|
|
1614
|
-
exchangeId: z.ZodString
|
|
1615
|
-
newDisputeTimeout: z.ZodString
|
|
1770
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1771
|
+
newDisputeTimeout: z.ZodEffects<z.ZodString, string, string>;
|
|
1616
1772
|
} & {
|
|
1617
1773
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1618
1774
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1775
|
+
} & {
|
|
1776
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1619
1777
|
}, "strip", z.ZodTypeAny, {
|
|
1620
1778
|
exchangeId?: string;
|
|
1621
1779
|
newDisputeTimeout?: string;
|
|
1622
1780
|
configId?: string;
|
|
1623
1781
|
signerAddress?: string;
|
|
1782
|
+
executionMode?: "metaTx" | "direct";
|
|
1624
1783
|
}, {
|
|
1625
1784
|
exchangeId?: string;
|
|
1626
1785
|
newDisputeTimeout?: string;
|
|
1627
1786
|
configId?: string;
|
|
1628
1787
|
signerAddress?: string;
|
|
1788
|
+
executionMode?: "metaTx" | "direct";
|
|
1629
1789
|
}>;
|
|
1630
1790
|
export declare const expireDisputeValidationShape: {
|
|
1631
|
-
exchangeId: z.ZodString
|
|
1791
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1632
1792
|
};
|
|
1633
1793
|
export declare const expireDisputeValidation: z.ZodObject<{
|
|
1634
|
-
exchangeId: z.ZodString
|
|
1794
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1635
1795
|
} & {
|
|
1636
1796
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1637
1797
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1645,10 +1805,10 @@ export declare const expireDisputeValidation: z.ZodObject<{
|
|
|
1645
1805
|
signerAddress?: string;
|
|
1646
1806
|
}>;
|
|
1647
1807
|
export declare const expireDisputeBatchValidationShape: {
|
|
1648
|
-
exchangeIds: z.ZodArray<z.ZodString, "many">;
|
|
1808
|
+
exchangeIds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1649
1809
|
};
|
|
1650
1810
|
export declare const expireDisputeBatchValidation: z.ZodObject<{
|
|
1651
|
-
exchangeIds: z.ZodArray<z.ZodString, "many">;
|
|
1811
|
+
exchangeIds: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1652
1812
|
} & {
|
|
1653
1813
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1654
1814
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1662,63 +1822,75 @@ export declare const expireDisputeBatchValidation: z.ZodObject<{
|
|
|
1662
1822
|
exchangeIds?: string[];
|
|
1663
1823
|
}>;
|
|
1664
1824
|
export declare const raiseDisputeValidationShape: {
|
|
1665
|
-
exchangeId: z.ZodString
|
|
1825
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1666
1826
|
};
|
|
1667
1827
|
export declare const raiseDisputeValidation: z.ZodObject<{
|
|
1668
|
-
exchangeId: z.ZodString
|
|
1828
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1669
1829
|
} & {
|
|
1670
1830
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1671
1831
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1832
|
+
} & {
|
|
1833
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1672
1834
|
}, "strip", z.ZodTypeAny, {
|
|
1673
1835
|
exchangeId?: string;
|
|
1674
1836
|
configId?: string;
|
|
1675
1837
|
signerAddress?: string;
|
|
1838
|
+
executionMode?: "metaTx" | "direct";
|
|
1676
1839
|
}, {
|
|
1677
1840
|
exchangeId?: string;
|
|
1678
1841
|
configId?: string;
|
|
1679
1842
|
signerAddress?: string;
|
|
1843
|
+
executionMode?: "metaTx" | "direct";
|
|
1680
1844
|
}>;
|
|
1681
1845
|
export declare const retractDisputeValidationShape: {
|
|
1682
|
-
exchangeId: z.ZodString
|
|
1846
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1683
1847
|
};
|
|
1684
1848
|
export declare const retractDisputeValidation: z.ZodObject<{
|
|
1685
|
-
exchangeId: z.ZodString
|
|
1849
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1686
1850
|
} & {
|
|
1687
1851
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1688
1852
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1853
|
+
} & {
|
|
1854
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1689
1855
|
}, "strip", z.ZodTypeAny, {
|
|
1690
1856
|
exchangeId?: string;
|
|
1691
1857
|
configId?: string;
|
|
1692
1858
|
signerAddress?: string;
|
|
1859
|
+
executionMode?: "metaTx" | "direct";
|
|
1693
1860
|
}, {
|
|
1694
1861
|
exchangeId?: string;
|
|
1695
1862
|
configId?: string;
|
|
1696
1863
|
signerAddress?: string;
|
|
1864
|
+
executionMode?: "metaTx" | "direct";
|
|
1697
1865
|
}>;
|
|
1698
1866
|
export declare const escalateDisputeValidationShape: {
|
|
1699
|
-
exchangeId: z.ZodString
|
|
1867
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1700
1868
|
};
|
|
1701
1869
|
export declare const escalateDisputeValidation: z.ZodObject<{
|
|
1702
|
-
exchangeId: z.ZodString
|
|
1870
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1703
1871
|
} & {
|
|
1704
1872
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1705
1873
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1874
|
+
} & {
|
|
1875
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1706
1876
|
}, "strip", z.ZodTypeAny, {
|
|
1707
1877
|
exchangeId?: string;
|
|
1708
1878
|
configId?: string;
|
|
1709
1879
|
signerAddress?: string;
|
|
1880
|
+
executionMode?: "metaTx" | "direct";
|
|
1710
1881
|
}, {
|
|
1711
1882
|
exchangeId?: string;
|
|
1712
1883
|
configId?: string;
|
|
1713
1884
|
signerAddress?: string;
|
|
1885
|
+
executionMode?: "metaTx" | "direct";
|
|
1714
1886
|
}>;
|
|
1715
1887
|
export declare const decideDisputeValidationShape: {
|
|
1716
|
-
exchangeId: z.ZodString
|
|
1717
|
-
buyerPercent: z.ZodString
|
|
1888
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1889
|
+
buyerPercent: z.ZodEffects<z.ZodString, string, string>;
|
|
1718
1890
|
};
|
|
1719
1891
|
export declare const decideDisputeValidation: z.ZodObject<{
|
|
1720
|
-
exchangeId: z.ZodString
|
|
1721
|
-
buyerPercent: z.ZodString
|
|
1892
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1893
|
+
buyerPercent: z.ZodEffects<z.ZodString, string, string>;
|
|
1722
1894
|
} & {
|
|
1723
1895
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1724
1896
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1734,10 +1906,10 @@ export declare const decideDisputeValidation: z.ZodObject<{
|
|
|
1734
1906
|
signerAddress?: string;
|
|
1735
1907
|
}>;
|
|
1736
1908
|
export declare const refuseEscalatedDisputeValidationShape: {
|
|
1737
|
-
exchangeId: z.ZodString
|
|
1909
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1738
1910
|
};
|
|
1739
1911
|
export declare const refuseEscalatedDisputeValidation: z.ZodObject<{
|
|
1740
|
-
exchangeId: z.ZodString
|
|
1912
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1741
1913
|
} & {
|
|
1742
1914
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1743
1915
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1751,10 +1923,10 @@ export declare const refuseEscalatedDisputeValidation: z.ZodObject<{
|
|
|
1751
1923
|
signerAddress?: string;
|
|
1752
1924
|
}>;
|
|
1753
1925
|
export declare const expireEscalatedDisputeValidationShape: {
|
|
1754
|
-
exchangeId: z.ZodString
|
|
1926
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1755
1927
|
};
|
|
1756
1928
|
export declare const expireEscalatedDisputeValidation: z.ZodObject<{
|
|
1757
|
-
exchangeId: z.ZodString
|
|
1929
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1758
1930
|
} & {
|
|
1759
1931
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1760
1932
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1768,11 +1940,11 @@ export declare const expireEscalatedDisputeValidation: z.ZodObject<{
|
|
|
1768
1940
|
signerAddress?: string;
|
|
1769
1941
|
}>;
|
|
1770
1942
|
export declare const getDisputeByIdValidationShape: {
|
|
1771
|
-
disputeId: z.ZodString
|
|
1943
|
+
disputeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1772
1944
|
queryVars: z.ZodOptional<z.ZodAny>;
|
|
1773
1945
|
};
|
|
1774
1946
|
export declare const getDisputeByIdValidation: z.ZodObject<{
|
|
1775
|
-
disputeId: z.ZodString
|
|
1947
|
+
disputeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1776
1948
|
queryVars: z.ZodOptional<z.ZodAny>;
|
|
1777
1949
|
} & {
|
|
1778
1950
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1786,10 +1958,10 @@ export declare const getDisputeByIdValidation: z.ZodObject<{
|
|
|
1786
1958
|
queryVars?: any;
|
|
1787
1959
|
}>;
|
|
1788
1960
|
export declare const completeExchangeValidationShape: {
|
|
1789
|
-
exchangeId: z.ZodString
|
|
1961
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1790
1962
|
};
|
|
1791
1963
|
export declare const completeExchangeValidation: z.ZodObject<{
|
|
1792
|
-
exchangeId: z.ZodString
|
|
1964
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1793
1965
|
} & {
|
|
1794
1966
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1795
1967
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1803,21 +1975,23 @@ export declare const completeExchangeValidation: z.ZodObject<{
|
|
|
1803
1975
|
signerAddress?: string;
|
|
1804
1976
|
}>;
|
|
1805
1977
|
export declare const resolveDisputeValidationShape: {
|
|
1806
|
-
exchangeId: z.ZodString
|
|
1807
|
-
buyerPercentBasisPoints: z.ZodString
|
|
1978
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1979
|
+
buyerPercentBasisPoints: z.ZodEffects<z.ZodString, string, string>;
|
|
1808
1980
|
sigR: z.ZodString;
|
|
1809
1981
|
sigS: z.ZodString;
|
|
1810
|
-
sigV: z.ZodString
|
|
1982
|
+
sigV: z.ZodEffects<z.ZodString, string, string>;
|
|
1811
1983
|
};
|
|
1812
1984
|
export declare const resolveDisputeValidation: z.ZodObject<{
|
|
1813
|
-
exchangeId: z.ZodString
|
|
1814
|
-
buyerPercentBasisPoints: z.ZodString
|
|
1985
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1986
|
+
buyerPercentBasisPoints: z.ZodEffects<z.ZodString, string, string>;
|
|
1815
1987
|
sigR: z.ZodString;
|
|
1816
1988
|
sigS: z.ZodString;
|
|
1817
|
-
sigV: z.ZodString
|
|
1989
|
+
sigV: z.ZodEffects<z.ZodString, string, string>;
|
|
1818
1990
|
} & {
|
|
1819
1991
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1820
1992
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
1993
|
+
} & {
|
|
1994
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1821
1995
|
}, "strip", z.ZodTypeAny, {
|
|
1822
1996
|
exchangeId?: string;
|
|
1823
1997
|
sigR?: string;
|
|
@@ -1825,6 +1999,7 @@ export declare const resolveDisputeValidation: z.ZodObject<{
|
|
|
1825
1999
|
sigV?: string;
|
|
1826
2000
|
configId?: string;
|
|
1827
2001
|
signerAddress?: string;
|
|
2002
|
+
executionMode?: "metaTx" | "direct";
|
|
1828
2003
|
buyerPercentBasisPoints?: string;
|
|
1829
2004
|
}, {
|
|
1830
2005
|
exchangeId?: string;
|
|
@@ -1833,15 +2008,16 @@ export declare const resolveDisputeValidation: z.ZodObject<{
|
|
|
1833
2008
|
sigV?: string;
|
|
1834
2009
|
configId?: string;
|
|
1835
2010
|
signerAddress?: string;
|
|
2011
|
+
executionMode?: "metaTx" | "direct";
|
|
1836
2012
|
buyerPercentBasisPoints?: string;
|
|
1837
2013
|
}>;
|
|
1838
2014
|
export declare const createDisputeResolutionProposalValidationShape: {
|
|
1839
|
-
exchangeId: z.ZodString
|
|
1840
|
-
buyerPercentBasisPoints: z.ZodString
|
|
2015
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2016
|
+
buyerPercentBasisPoints: z.ZodEffects<z.ZodString, string, string>;
|
|
1841
2017
|
};
|
|
1842
2018
|
export declare const createDisputeResolutionProposalValidation: z.ZodObject<{
|
|
1843
|
-
exchangeId: z.ZodString
|
|
1844
|
-
buyerPercentBasisPoints: z.ZodString
|
|
2019
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2020
|
+
buyerPercentBasisPoints: z.ZodEffects<z.ZodString, string, string>;
|
|
1845
2021
|
} & {
|
|
1846
2022
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1847
2023
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1908,10 +2084,10 @@ export declare const getDisputesResourceValidation: z.ZodObject<{
|
|
|
1908
2084
|
disputesOrderDirection?: string;
|
|
1909
2085
|
}>;
|
|
1910
2086
|
export declare const revokeVoucherValidationShape: {
|
|
1911
|
-
exchangeId: z.ZodString
|
|
2087
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1912
2088
|
};
|
|
1913
2089
|
export declare const revokeVoucherValidation: z.ZodObject<{
|
|
1914
|
-
exchangeId: z.ZodString
|
|
2090
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
1915
2091
|
} & {
|
|
1916
2092
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1917
2093
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1925,58 +2101,76 @@ export declare const revokeVoucherValidation: z.ZodObject<{
|
|
|
1925
2101
|
signerAddress?: string;
|
|
1926
2102
|
}>;
|
|
1927
2103
|
export declare const commitToOfferValidationShape: {
|
|
1928
|
-
offerId: z.ZodString
|
|
2104
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1929
2105
|
buyer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1930
2106
|
};
|
|
1931
2107
|
export declare const commitToOfferValidation: z.ZodObject<{
|
|
1932
|
-
offerId: z.ZodString
|
|
2108
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
1933
2109
|
buyer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1934
2110
|
} & {
|
|
1935
2111
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1936
2112
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2113
|
+
} & {
|
|
2114
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1937
2115
|
}, "strip", z.ZodTypeAny, {
|
|
1938
2116
|
buyer?: string;
|
|
1939
2117
|
offerId?: string;
|
|
1940
2118
|
configId?: string;
|
|
1941
2119
|
signerAddress?: string;
|
|
2120
|
+
executionMode?: "metaTx" | "direct";
|
|
1942
2121
|
}, {
|
|
1943
2122
|
buyer?: string;
|
|
1944
2123
|
offerId?: string;
|
|
1945
2124
|
configId?: string;
|
|
1946
2125
|
signerAddress?: string;
|
|
2126
|
+
executionMode?: "metaTx" | "direct";
|
|
1947
2127
|
}>;
|
|
1948
2128
|
export declare const commitToBuyerOfferValidationShape: {
|
|
1949
|
-
offerId: z.ZodString
|
|
1950
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
1951
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
2129
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2130
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2131
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1952
2132
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1953
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
2133
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1954
2134
|
}, "strip", z.ZodTypeAny, {
|
|
1955
2135
|
recipients?: string[];
|
|
1956
2136
|
bps?: string[];
|
|
1957
2137
|
}, {
|
|
1958
2138
|
recipients?: string[];
|
|
1959
2139
|
bps?: string[];
|
|
2140
|
+
}>, {
|
|
2141
|
+
recipients?: string[];
|
|
2142
|
+
bps?: string[];
|
|
2143
|
+
}, {
|
|
2144
|
+
recipients?: string[];
|
|
2145
|
+
bps?: string[];
|
|
1960
2146
|
}>>;
|
|
1961
2147
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1962
2148
|
};
|
|
1963
2149
|
export declare const commitToBuyerOfferValidation: z.ZodObject<{
|
|
1964
|
-
offerId: z.ZodString
|
|
1965
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
1966
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
2150
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2151
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2152
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1967
2153
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1968
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
2154
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
1969
2155
|
}, "strip", z.ZodTypeAny, {
|
|
1970
2156
|
recipients?: string[];
|
|
1971
2157
|
bps?: string[];
|
|
1972
2158
|
}, {
|
|
1973
2159
|
recipients?: string[];
|
|
1974
2160
|
bps?: string[];
|
|
2161
|
+
}>, {
|
|
2162
|
+
recipients?: string[];
|
|
2163
|
+
bps?: string[];
|
|
2164
|
+
}, {
|
|
2165
|
+
recipients?: string[];
|
|
2166
|
+
bps?: string[];
|
|
1975
2167
|
}>>;
|
|
1976
2168
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1977
2169
|
} & {
|
|
1978
2170
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
1979
2171
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2172
|
+
} & {
|
|
2173
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
1980
2174
|
}, "strip", z.ZodTypeAny, {
|
|
1981
2175
|
collectionIndex?: string;
|
|
1982
2176
|
offerId?: string;
|
|
@@ -1987,6 +2181,7 @@ export declare const commitToBuyerOfferValidation: z.ZodObject<{
|
|
|
1987
2181
|
configId?: string;
|
|
1988
2182
|
signerAddress?: string;
|
|
1989
2183
|
drMutualizerAddress?: string;
|
|
2184
|
+
executionMode?: "metaTx" | "direct";
|
|
1990
2185
|
}, {
|
|
1991
2186
|
collectionIndex?: string;
|
|
1992
2187
|
offerId?: string;
|
|
@@ -1997,23 +2192,23 @@ export declare const commitToBuyerOfferValidation: z.ZodObject<{
|
|
|
1997
2192
|
configId?: string;
|
|
1998
2193
|
signerAddress?: string;
|
|
1999
2194
|
drMutualizerAddress?: string;
|
|
2195
|
+
executionMode?: "metaTx" | "direct";
|
|
2000
2196
|
}>;
|
|
2001
2197
|
export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
2002
2198
|
signature: z.ZodEffects<z.ZodString, string, string>;
|
|
2003
2199
|
} & {
|
|
2004
2200
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
2005
2201
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
2006
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
2007
|
-
} & {
|
|
2202
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2008
2203
|
condition: z.ZodOptional<z.ZodObject<{
|
|
2009
2204
|
method: z.ZodNumber;
|
|
2010
2205
|
tokenType: z.ZodNumber;
|
|
2011
2206
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2012
2207
|
gatingType: z.ZodNumber;
|
|
2013
|
-
minTokenId: z.ZodString
|
|
2014
|
-
maxTokenId: z.ZodString
|
|
2015
|
-
threshold: z.ZodString
|
|
2016
|
-
maxCommits: z.ZodString
|
|
2208
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2209
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2210
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
2211
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
2017
2212
|
}, "strip", z.ZodTypeAny, {
|
|
2018
2213
|
tokenAddress?: string;
|
|
2019
2214
|
tokenType?: number;
|
|
@@ -2034,13 +2229,13 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2034
2229
|
gatingType?: number;
|
|
2035
2230
|
}>>;
|
|
2036
2231
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
2037
|
-
sellerId: z.ZodString
|
|
2038
|
-
buyerId: z.ZodString
|
|
2039
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
2040
|
-
price: z.ZodString
|
|
2041
|
-
sellerDeposit: z.ZodString
|
|
2042
|
-
agentId: z.ZodOptional<z.ZodString
|
|
2043
|
-
buyerCancellationPenalty: z.ZodString
|
|
2232
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2233
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2234
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2235
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
2236
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
2237
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2238
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
2044
2239
|
quantityAvailable: z.ZodNumber;
|
|
2045
2240
|
validFromDateInMS: z.ZodNumber;
|
|
2046
2241
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -2050,23 +2245,30 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2050
2245
|
voucherValidDurationInMS: z.ZodNumber;
|
|
2051
2246
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
2052
2247
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
2053
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
2054
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
2248
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2249
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2055
2250
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
2056
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
2251
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2057
2252
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2058
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
2253
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2059
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2060
2255
|
recipients?: string[];
|
|
2061
2256
|
bps?: string[];
|
|
2062
2257
|
}, {
|
|
2063
2258
|
recipients?: string[];
|
|
2064
2259
|
bps?: string[];
|
|
2260
|
+
}>, {
|
|
2261
|
+
recipients?: string[];
|
|
2262
|
+
bps?: string[];
|
|
2263
|
+
}, {
|
|
2264
|
+
recipients?: string[];
|
|
2265
|
+
bps?: string[];
|
|
2065
2266
|
}>>;
|
|
2066
2267
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
2067
2268
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2068
2269
|
metadataUri: z.ZodString;
|
|
2069
2270
|
metadataHash: z.ZodString;
|
|
2271
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2070
2272
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2071
2273
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2072
2274
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -2074,17 +2276,16 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2074
2276
|
} & {
|
|
2075
2277
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
2076
2278
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
2077
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
2078
|
-
} & {
|
|
2279
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2079
2280
|
condition: z.ZodOptional<z.ZodObject<{
|
|
2080
2281
|
method: z.ZodNumber;
|
|
2081
2282
|
tokenType: z.ZodNumber;
|
|
2082
2283
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2083
2284
|
gatingType: z.ZodNumber;
|
|
2084
|
-
minTokenId: z.ZodString
|
|
2085
|
-
maxTokenId: z.ZodString
|
|
2086
|
-
threshold: z.ZodString
|
|
2087
|
-
maxCommits: z.ZodString
|
|
2285
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2286
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2287
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
2288
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
2088
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2089
2290
|
tokenAddress?: string;
|
|
2090
2291
|
tokenType?: number;
|
|
@@ -2105,13 +2306,13 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2105
2306
|
gatingType?: number;
|
|
2106
2307
|
}>>;
|
|
2107
2308
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
2108
|
-
sellerId: z.ZodString
|
|
2109
|
-
buyerId: z.ZodString
|
|
2110
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
2111
|
-
price: z.ZodString
|
|
2112
|
-
sellerDeposit: z.ZodString
|
|
2113
|
-
agentId: z.ZodOptional<z.ZodString
|
|
2114
|
-
buyerCancellationPenalty: z.ZodString
|
|
2309
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2310
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2311
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2312
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
2313
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
2314
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2315
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
2115
2316
|
quantityAvailable: z.ZodNumber;
|
|
2116
2317
|
validFromDateInMS: z.ZodNumber;
|
|
2117
2318
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -2121,23 +2322,30 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2121
2322
|
voucherValidDurationInMS: z.ZodNumber;
|
|
2122
2323
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
2123
2324
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
2124
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
2125
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
2325
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2326
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2126
2327
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
2127
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
2328
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2128
2329
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2129
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
2330
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2130
2331
|
}, "strip", z.ZodTypeAny, {
|
|
2131
2332
|
recipients?: string[];
|
|
2132
2333
|
bps?: string[];
|
|
2133
2334
|
}, {
|
|
2134
2335
|
recipients?: string[];
|
|
2135
2336
|
bps?: string[];
|
|
2337
|
+
}>, {
|
|
2338
|
+
recipients?: string[];
|
|
2339
|
+
bps?: string[];
|
|
2340
|
+
}, {
|
|
2341
|
+
recipients?: string[];
|
|
2342
|
+
bps?: string[];
|
|
2136
2343
|
}>>;
|
|
2137
2344
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
2138
2345
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2139
2346
|
metadataUri: z.ZodString;
|
|
2140
2347
|
metadataHash: z.ZodString;
|
|
2348
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2141
2349
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2142
2350
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2143
2351
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -2145,17 +2353,16 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2145
2353
|
} & {
|
|
2146
2354
|
offerCreator: z.ZodEffects<z.ZodString, string, string>;
|
|
2147
2355
|
committer: z.ZodEffects<z.ZodString, string, string>;
|
|
2148
|
-
conditionalTokenId: z.ZodOptional<z.ZodString
|
|
2149
|
-
} & {
|
|
2356
|
+
conditionalTokenId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2150
2357
|
condition: z.ZodOptional<z.ZodObject<{
|
|
2151
2358
|
method: z.ZodNumber;
|
|
2152
2359
|
tokenType: z.ZodNumber;
|
|
2153
2360
|
tokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2154
2361
|
gatingType: z.ZodNumber;
|
|
2155
|
-
minTokenId: z.ZodString
|
|
2156
|
-
maxTokenId: z.ZodString
|
|
2157
|
-
threshold: z.ZodString
|
|
2158
|
-
maxCommits: z.ZodString
|
|
2362
|
+
minTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2363
|
+
maxTokenId: z.ZodEffects<z.ZodString, string, string>;
|
|
2364
|
+
threshold: z.ZodEffects<z.ZodString, string, string>;
|
|
2365
|
+
maxCommits: z.ZodEffects<z.ZodString, string, string>;
|
|
2159
2366
|
}, "strip", z.ZodTypeAny, {
|
|
2160
2367
|
tokenAddress?: string;
|
|
2161
2368
|
tokenType?: number;
|
|
@@ -2176,13 +2383,13 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2176
2383
|
gatingType?: number;
|
|
2177
2384
|
}>>;
|
|
2178
2385
|
useDepositedFunds: z.ZodOptional<z.ZodBoolean>;
|
|
2179
|
-
sellerId: z.ZodString
|
|
2180
|
-
buyerId: z.ZodString
|
|
2181
|
-
exchangeTokenAddress: z.ZodOptional<z.ZodString
|
|
2182
|
-
price: z.ZodString
|
|
2183
|
-
sellerDeposit: z.ZodString
|
|
2184
|
-
agentId: z.ZodOptional<z.ZodString
|
|
2185
|
-
buyerCancellationPenalty: z.ZodString
|
|
2386
|
+
sellerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2387
|
+
buyerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2388
|
+
exchangeTokenAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2389
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
2390
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
2391
|
+
agentId: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2392
|
+
buyerCancellationPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
2186
2393
|
quantityAvailable: z.ZodNumber;
|
|
2187
2394
|
validFromDateInMS: z.ZodNumber;
|
|
2188
2395
|
validUntilDateInMS: z.ZodNumber;
|
|
@@ -2192,48 +2399,84 @@ export declare const createOfferAndCommitValidation: z.ZodObject<{
|
|
|
2192
2399
|
voucherValidDurationInMS: z.ZodNumber;
|
|
2193
2400
|
resolutionPeriodDurationInMS: z.ZodNumber;
|
|
2194
2401
|
disputeResolverId: z.ZodOptional<z.ZodString>;
|
|
2195
|
-
collectionIndex: z.ZodOptional<z.ZodString
|
|
2196
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
2402
|
+
collectionIndex: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2403
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2197
2404
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
2198
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
2405
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2199
2406
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2200
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
2407
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2201
2408
|
}, "strip", z.ZodTypeAny, {
|
|
2202
2409
|
recipients?: string[];
|
|
2203
2410
|
bps?: string[];
|
|
2204
2411
|
}, {
|
|
2205
2412
|
recipients?: string[];
|
|
2206
2413
|
bps?: string[];
|
|
2414
|
+
}>, {
|
|
2415
|
+
recipients?: string[];
|
|
2416
|
+
bps?: string[];
|
|
2417
|
+
}, {
|
|
2418
|
+
recipients?: string[];
|
|
2419
|
+
bps?: string[];
|
|
2207
2420
|
}>>;
|
|
2208
2421
|
creator: z.ZodOptional<z.ZodEnum<["SELLER", "BUYER"]>>;
|
|
2209
2422
|
drMutualizerAddress: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2210
2423
|
metadataUri: z.ZodString;
|
|
2211
2424
|
metadataHash: z.ZodString;
|
|
2425
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2212
2426
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2213
2427
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2214
2428
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2429
|
+
export declare const approveExchangeTokenValidationShape: {
|
|
2430
|
+
exchangeTokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2431
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
2432
|
+
};
|
|
2433
|
+
export declare const approveExchangeTokenValidation: z.ZodObject<{
|
|
2434
|
+
exchangeTokenAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2435
|
+
amount: z.ZodEffects<z.ZodString, string, string>;
|
|
2436
|
+
} & {
|
|
2437
|
+
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2438
|
+
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2439
|
+
} & {
|
|
2440
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2441
|
+
}, "strip", z.ZodTypeAny, {
|
|
2442
|
+
amount?: string;
|
|
2443
|
+
configId?: string;
|
|
2444
|
+
signerAddress?: string;
|
|
2445
|
+
exchangeTokenAddress?: string;
|
|
2446
|
+
executionMode?: "metaTx" | "direct";
|
|
2447
|
+
}, {
|
|
2448
|
+
amount?: string;
|
|
2449
|
+
configId?: string;
|
|
2450
|
+
signerAddress?: string;
|
|
2451
|
+
exchangeTokenAddress?: string;
|
|
2452
|
+
executionMode?: "metaTx" | "direct";
|
|
2453
|
+
}>;
|
|
2215
2454
|
export declare const voidOfferValidationShape: {
|
|
2216
|
-
offerId: z.ZodString
|
|
2455
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2217
2456
|
};
|
|
2218
2457
|
export declare const voidOfferValidation: z.ZodObject<{
|
|
2219
|
-
offerId: z.ZodString
|
|
2458
|
+
offerId: z.ZodEffects<z.ZodString, string, string>;
|
|
2220
2459
|
} & {
|
|
2221
2460
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2222
2461
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2462
|
+
} & {
|
|
2463
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2223
2464
|
}, "strip", z.ZodTypeAny, {
|
|
2224
2465
|
offerId?: string;
|
|
2225
2466
|
configId?: string;
|
|
2226
2467
|
signerAddress?: string;
|
|
2468
|
+
executionMode?: "metaTx" | "direct";
|
|
2227
2469
|
}, {
|
|
2228
2470
|
offerId?: string;
|
|
2229
2471
|
configId?: string;
|
|
2230
2472
|
signerAddress?: string;
|
|
2473
|
+
executionMode?: "metaTx" | "direct";
|
|
2231
2474
|
}>;
|
|
2232
2475
|
export declare const cancelVoucherValidationShape: {
|
|
2233
|
-
exchangeId: z.ZodString
|
|
2476
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2234
2477
|
};
|
|
2235
2478
|
export declare const cancelVoucherValidation: z.ZodObject<{
|
|
2236
|
-
exchangeId: z.ZodString
|
|
2479
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2237
2480
|
} & {
|
|
2238
2481
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2239
2482
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2247,21 +2490,25 @@ export declare const cancelVoucherValidation: z.ZodObject<{
|
|
|
2247
2490
|
signerAddress?: string;
|
|
2248
2491
|
}>;
|
|
2249
2492
|
export declare const redeemVoucherValidationShape: {
|
|
2250
|
-
exchangeId: z.ZodString
|
|
2493
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2251
2494
|
};
|
|
2252
2495
|
export declare const redeemVoucherValidation: z.ZodObject<{
|
|
2253
|
-
exchangeId: z.ZodString
|
|
2496
|
+
exchangeId: z.ZodEffects<z.ZodString, string, string>;
|
|
2254
2497
|
} & {
|
|
2255
2498
|
configId: z.ZodEffects<z.ZodString, string, string>;
|
|
2256
2499
|
signerAddress: z.ZodEffects<z.ZodString, string, string>;
|
|
2500
|
+
} & {
|
|
2501
|
+
executionMode: z.ZodOptional<z.ZodEnum<["direct", "metaTx"]>>;
|
|
2257
2502
|
}, "strip", z.ZodTypeAny, {
|
|
2258
2503
|
exchangeId?: string;
|
|
2259
2504
|
configId?: string;
|
|
2260
2505
|
signerAddress?: string;
|
|
2506
|
+
executionMode?: "metaTx" | "direct";
|
|
2261
2507
|
}, {
|
|
2262
2508
|
exchangeId?: string;
|
|
2263
2509
|
configId?: string;
|
|
2264
2510
|
signerAddress?: string;
|
|
2511
|
+
executionMode?: "metaTx" | "direct";
|
|
2265
2512
|
}>;
|
|
2266
2513
|
export declare const getExchangesValidation: z.ZodObject<{
|
|
2267
2514
|
exchangesSkip: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2735,34 +2982,40 @@ export declare const getTokensValidation: z.ZodObject<{
|
|
|
2735
2982
|
export declare const renderContractualAgreementValidation: z.ZodObject<{
|
|
2736
2983
|
template: z.ZodString;
|
|
2737
2984
|
offerData: z.ZodObject<{
|
|
2738
|
-
price: z.ZodString
|
|
2739
|
-
sellerDeposit: z.ZodString
|
|
2740
|
-
agentId: z.ZodString
|
|
2741
|
-
buyerCancelPenalty: z.ZodString
|
|
2742
|
-
quantityAvailable: z.ZodString
|
|
2743
|
-
validFromDateInMS: z.ZodString
|
|
2744
|
-
validUntilDateInMS: z.ZodString
|
|
2745
|
-
voucherRedeemableFromDateInMS: z.ZodString
|
|
2746
|
-
voucherRedeemableUntilDateInMS: z.ZodString
|
|
2747
|
-
disputePeriodDurationInMS: z.ZodString
|
|
2748
|
-
voucherValidDurationInMS: z.ZodOptional<z.ZodString
|
|
2749
|
-
resolutionPeriodDurationInMS: z.ZodString
|
|
2985
|
+
price: z.ZodEffects<z.ZodString, string, string>;
|
|
2986
|
+
sellerDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
2987
|
+
agentId: z.ZodEffects<z.ZodString, string, string>;
|
|
2988
|
+
buyerCancelPenalty: z.ZodEffects<z.ZodString, string, string>;
|
|
2989
|
+
quantityAvailable: z.ZodEffects<z.ZodString, string, string>;
|
|
2990
|
+
validFromDateInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2991
|
+
validUntilDateInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2992
|
+
voucherRedeemableFromDateInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2993
|
+
voucherRedeemableUntilDateInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2994
|
+
disputePeriodDurationInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2995
|
+
voucherValidDurationInMS: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2996
|
+
resolutionPeriodDurationInMS: z.ZodEffects<z.ZodString, string, string>;
|
|
2750
2997
|
exchangeToken: z.ZodEffects<z.ZodString, string, string>;
|
|
2751
|
-
disputeResolverId: z.ZodString
|
|
2998
|
+
disputeResolverId: z.ZodEffects<z.ZodString, string, string>;
|
|
2752
2999
|
metadataUri: z.ZodString;
|
|
2753
3000
|
metadataHash: z.ZodString;
|
|
2754
|
-
collectionIndex: z.ZodString
|
|
2755
|
-
feeLimit: z.ZodOptional<z.ZodString
|
|
3001
|
+
collectionIndex: z.ZodEffects<z.ZodString, string, string>;
|
|
3002
|
+
feeLimit: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2756
3003
|
priceType: z.ZodOptional<z.ZodNumber>;
|
|
2757
|
-
royaltyInfo: z.ZodOptional<z.ZodObject<{
|
|
3004
|
+
royaltyInfo: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2758
3005
|
recipients: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2759
|
-
bps: z.ZodArray<z.ZodString, "many">;
|
|
3006
|
+
bps: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
|
|
2760
3007
|
}, "strip", z.ZodTypeAny, {
|
|
2761
3008
|
recipients?: string[];
|
|
2762
3009
|
bps?: string[];
|
|
2763
3010
|
}, {
|
|
2764
3011
|
recipients?: string[];
|
|
2765
3012
|
bps?: string[];
|
|
3013
|
+
}>, {
|
|
3014
|
+
recipients?: string[];
|
|
3015
|
+
bps?: string[];
|
|
3016
|
+
}, {
|
|
3017
|
+
recipients?: string[];
|
|
3018
|
+
bps?: string[];
|
|
2766
3019
|
}>>;
|
|
2767
3020
|
}, "strict", z.ZodTypeAny, {
|
|
2768
3021
|
disputeResolverId?: string;
|
|
@@ -2816,8 +3069,8 @@ export declare const renderContractualAgreementValidation: z.ZodObject<{
|
|
|
2816
3069
|
offerMetadata: z.ZodObject<{
|
|
2817
3070
|
sellerContactMethod: z.ZodString;
|
|
2818
3071
|
disputeResolverContactMethod: z.ZodString;
|
|
2819
|
-
escalationDeposit: z.ZodString
|
|
2820
|
-
escalationResponsePeriodInSec: z.ZodString
|
|
3072
|
+
escalationDeposit: z.ZodEffects<z.ZodString, string, string>;
|
|
3073
|
+
escalationResponsePeriodInSec: z.ZodEffects<z.ZodString, string, string>;
|
|
2821
3074
|
sellerTradingName: z.ZodString;
|
|
2822
3075
|
returnPeriodInDays: z.ZodNumber;
|
|
2823
3076
|
}, "strict", z.ZodTypeAny, {
|