@channel.io/app-sdk-core 0.6.11 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/extensions/apikey.d.ts +23 -0
- package/dist/extensions/apikey.d.ts.map +1 -1
- package/dist/extensions/apikey.js +12 -0
- package/dist/extensions/apikey.js.map +1 -1
- package/dist/extensions/command.d.ts +48 -48
- package/dist/extensions/config.d.ts +11302 -0
- package/dist/extensions/config.d.ts.map +1 -0
- package/dist/extensions/config.js +230 -0
- package/dist/extensions/config.js.map +1 -0
- package/dist/extensions/index.d.ts +2 -1
- package/dist/extensions/index.d.ts.map +1 -1
- package/dist/extensions/index.js +4 -1
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/interfaces/apikey.d.ts +11 -0
- package/dist/extensions/interfaces/apikey.d.ts.map +1 -1
- package/dist/extensions/interfaces/apikey.js +2 -0
- package/dist/extensions/interfaces/apikey.js.map +1 -1
- package/dist/extensions/interfaces/config.d.ts +73 -0
- package/dist/extensions/interfaces/config.d.ts.map +1 -0
- package/dist/extensions/interfaces/config.js +8 -0
- package/dist/extensions/interfaces/config.js.map +1 -0
- package/dist/extensions/interfaces/index.d.ts +1 -0
- package/dist/extensions/interfaces/index.d.ts.map +1 -1
- package/dist/extensions/interfaces/index.js +1 -0
- package/dist/extensions/interfaces/index.js.map +1 -1
- package/dist/extensions/interfaces/wms.d.ts +2 -58
- package/dist/extensions/interfaces/wms.d.ts.map +1 -1
- package/dist/extensions/interfaces/wms.js.map +1 -1
- package/dist/extensions/order.d.ts +14 -14
- package/dist/extensions/wms.d.ts +671 -50
- package/dist/extensions/wms.d.ts.map +1 -1
- package/dist/extensions/wms.js +96 -2
- package/dist/extensions/wms.js.map +1 -1
- package/dist/types/context.d.ts +6 -0
- package/dist/types/context.d.ts.map +1 -1
- package/dist/types/extension.d.ts +6 -1
- package/dist/types/extension.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/extensions/wms.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export declare const WmsShippingInfoSchema: z.ZodObject<{
|
|
|
16
16
|
message: z.ZodOptional<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
name: string;
|
|
19
|
-
zipcode: string;
|
|
20
19
|
address1: string;
|
|
21
20
|
address2: string;
|
|
21
|
+
zipcode: string;
|
|
22
22
|
mobileNumber: string;
|
|
23
23
|
message?: string | undefined;
|
|
24
24
|
country?: string | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const WmsShippingInfoSchema: z.ZodObject<{
|
|
|
28
28
|
landlineNumber?: string | undefined;
|
|
29
29
|
}, {
|
|
30
30
|
name: string;
|
|
31
|
-
zipcode: string;
|
|
32
31
|
address1: string;
|
|
33
32
|
address2: string;
|
|
33
|
+
zipcode: string;
|
|
34
34
|
mobileNumber: string;
|
|
35
35
|
message?: string | undefined;
|
|
36
36
|
country?: string | undefined;
|
|
@@ -60,12 +60,14 @@ export type WmsDelivery = z.infer<typeof WmsDeliverySchema>;
|
|
|
60
60
|
export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
61
61
|
extId: z.ZodString;
|
|
62
62
|
extCommerceOrderItemId: z.ZodString;
|
|
63
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
64
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
63
65
|
state: z.ZodOptional<z.ZodString>;
|
|
64
66
|
packageId: z.ZodOptional<z.ZodString>;
|
|
65
67
|
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
66
68
|
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
67
69
|
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
68
|
-
shippingInfo: z.ZodObject<{
|
|
70
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
69
71
|
name: z.ZodString;
|
|
70
72
|
firstName: z.ZodOptional<z.ZodString>;
|
|
71
73
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -79,9 +81,9 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
79
81
|
message: z.ZodOptional<z.ZodString>;
|
|
80
82
|
}, "strip", z.ZodTypeAny, {
|
|
81
83
|
name: string;
|
|
82
|
-
zipcode: string;
|
|
83
84
|
address1: string;
|
|
84
85
|
address2: string;
|
|
86
|
+
zipcode: string;
|
|
85
87
|
mobileNumber: string;
|
|
86
88
|
message?: string | undefined;
|
|
87
89
|
country?: string | undefined;
|
|
@@ -91,9 +93,9 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
91
93
|
landlineNumber?: string | undefined;
|
|
92
94
|
}, {
|
|
93
95
|
name: string;
|
|
94
|
-
zipcode: string;
|
|
95
96
|
address1: string;
|
|
96
97
|
address2: string;
|
|
98
|
+
zipcode: string;
|
|
97
99
|
mobileNumber: string;
|
|
98
100
|
message?: string | undefined;
|
|
99
101
|
country?: string | undefined;
|
|
@@ -101,15 +103,22 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
101
103
|
firstName?: string | undefined;
|
|
102
104
|
lastName?: string | undefined;
|
|
103
105
|
landlineNumber?: string | undefined;
|
|
104
|
-
}
|
|
106
|
+
}>>;
|
|
105
107
|
}, "strip", z.ZodTypeAny, {
|
|
106
108
|
extId: string;
|
|
107
109
|
extCommerceOrderItemId: string;
|
|
108
|
-
|
|
110
|
+
state?: string | undefined;
|
|
111
|
+
quantity?: number | undefined;
|
|
112
|
+
estimatedShipDate?: string | undefined;
|
|
113
|
+
productName?: string | undefined;
|
|
114
|
+
packageId?: string | undefined;
|
|
115
|
+
invoiceNumber?: string | undefined;
|
|
116
|
+
deliveryCompany?: string | undefined;
|
|
117
|
+
shippingInfo?: {
|
|
109
118
|
name: string;
|
|
110
|
-
zipcode: string;
|
|
111
119
|
address1: string;
|
|
112
120
|
address2: string;
|
|
121
|
+
zipcode: string;
|
|
113
122
|
mobileNumber: string;
|
|
114
123
|
message?: string | undefined;
|
|
115
124
|
country?: string | undefined;
|
|
@@ -117,20 +126,22 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
117
126
|
firstName?: string | undefined;
|
|
118
127
|
lastName?: string | undefined;
|
|
119
128
|
landlineNumber?: string | undefined;
|
|
120
|
-
};
|
|
129
|
+
} | undefined;
|
|
130
|
+
}, {
|
|
131
|
+
extId: string;
|
|
132
|
+
extCommerceOrderItemId: string;
|
|
121
133
|
state?: string | undefined;
|
|
134
|
+
quantity?: number | undefined;
|
|
122
135
|
estimatedShipDate?: string | undefined;
|
|
136
|
+
productName?: string | undefined;
|
|
123
137
|
packageId?: string | undefined;
|
|
124
138
|
invoiceNumber?: string | undefined;
|
|
125
139
|
deliveryCompany?: string | undefined;
|
|
126
|
-
|
|
127
|
-
extId: string;
|
|
128
|
-
extCommerceOrderItemId: string;
|
|
129
|
-
shippingInfo: {
|
|
140
|
+
shippingInfo?: {
|
|
130
141
|
name: string;
|
|
131
|
-
zipcode: string;
|
|
132
142
|
address1: string;
|
|
133
143
|
address2: string;
|
|
144
|
+
zipcode: string;
|
|
134
145
|
mobileNumber: string;
|
|
135
146
|
message?: string | undefined;
|
|
136
147
|
country?: string | undefined;
|
|
@@ -138,12 +149,7 @@ export declare const WmsOrderItemSchema: z.ZodObject<{
|
|
|
138
149
|
firstName?: string | undefined;
|
|
139
150
|
lastName?: string | undefined;
|
|
140
151
|
landlineNumber?: string | undefined;
|
|
141
|
-
};
|
|
142
|
-
state?: string | undefined;
|
|
143
|
-
estimatedShipDate?: string | undefined;
|
|
144
|
-
packageId?: string | undefined;
|
|
145
|
-
invoiceNumber?: string | undefined;
|
|
146
|
-
deliveryCompany?: string | undefined;
|
|
152
|
+
} | undefined;
|
|
147
153
|
}>;
|
|
148
154
|
export type WmsOrderItem = z.infer<typeof WmsOrderItemSchema>;
|
|
149
155
|
/**
|
|
@@ -155,12 +161,14 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
155
161
|
items: z.ZodArray<z.ZodObject<{
|
|
156
162
|
extId: z.ZodString;
|
|
157
163
|
extCommerceOrderItemId: z.ZodString;
|
|
164
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
165
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
158
166
|
state: z.ZodOptional<z.ZodString>;
|
|
159
167
|
packageId: z.ZodOptional<z.ZodString>;
|
|
160
168
|
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
161
169
|
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
162
170
|
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
163
|
-
shippingInfo: z.ZodObject<{
|
|
171
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
164
172
|
name: z.ZodString;
|
|
165
173
|
firstName: z.ZodOptional<z.ZodString>;
|
|
166
174
|
lastName: z.ZodOptional<z.ZodString>;
|
|
@@ -174,9 +182,9 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
174
182
|
message: z.ZodOptional<z.ZodString>;
|
|
175
183
|
}, "strip", z.ZodTypeAny, {
|
|
176
184
|
name: string;
|
|
177
|
-
zipcode: string;
|
|
178
185
|
address1: string;
|
|
179
186
|
address2: string;
|
|
187
|
+
zipcode: string;
|
|
180
188
|
mobileNumber: string;
|
|
181
189
|
message?: string | undefined;
|
|
182
190
|
country?: string | undefined;
|
|
@@ -186,9 +194,9 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
186
194
|
landlineNumber?: string | undefined;
|
|
187
195
|
}, {
|
|
188
196
|
name: string;
|
|
189
|
-
zipcode: string;
|
|
190
197
|
address1: string;
|
|
191
198
|
address2: string;
|
|
199
|
+
zipcode: string;
|
|
192
200
|
mobileNumber: string;
|
|
193
201
|
message?: string | undefined;
|
|
194
202
|
country?: string | undefined;
|
|
@@ -196,15 +204,22 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
196
204
|
firstName?: string | undefined;
|
|
197
205
|
lastName?: string | undefined;
|
|
198
206
|
landlineNumber?: string | undefined;
|
|
199
|
-
}
|
|
207
|
+
}>>;
|
|
200
208
|
}, "strip", z.ZodTypeAny, {
|
|
201
209
|
extId: string;
|
|
202
210
|
extCommerceOrderItemId: string;
|
|
203
|
-
|
|
211
|
+
state?: string | undefined;
|
|
212
|
+
quantity?: number | undefined;
|
|
213
|
+
estimatedShipDate?: string | undefined;
|
|
214
|
+
productName?: string | undefined;
|
|
215
|
+
packageId?: string | undefined;
|
|
216
|
+
invoiceNumber?: string | undefined;
|
|
217
|
+
deliveryCompany?: string | undefined;
|
|
218
|
+
shippingInfo?: {
|
|
204
219
|
name: string;
|
|
205
|
-
zipcode: string;
|
|
206
220
|
address1: string;
|
|
207
221
|
address2: string;
|
|
222
|
+
zipcode: string;
|
|
208
223
|
mobileNumber: string;
|
|
209
224
|
message?: string | undefined;
|
|
210
225
|
country?: string | undefined;
|
|
@@ -212,20 +227,22 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
212
227
|
firstName?: string | undefined;
|
|
213
228
|
lastName?: string | undefined;
|
|
214
229
|
landlineNumber?: string | undefined;
|
|
215
|
-
};
|
|
230
|
+
} | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
extId: string;
|
|
233
|
+
extCommerceOrderItemId: string;
|
|
216
234
|
state?: string | undefined;
|
|
235
|
+
quantity?: number | undefined;
|
|
217
236
|
estimatedShipDate?: string | undefined;
|
|
237
|
+
productName?: string | undefined;
|
|
218
238
|
packageId?: string | undefined;
|
|
219
239
|
invoiceNumber?: string | undefined;
|
|
220
240
|
deliveryCompany?: string | undefined;
|
|
221
|
-
|
|
222
|
-
extId: string;
|
|
223
|
-
extCommerceOrderItemId: string;
|
|
224
|
-
shippingInfo: {
|
|
241
|
+
shippingInfo?: {
|
|
225
242
|
name: string;
|
|
226
|
-
zipcode: string;
|
|
227
243
|
address1: string;
|
|
228
244
|
address2: string;
|
|
245
|
+
zipcode: string;
|
|
229
246
|
mobileNumber: string;
|
|
230
247
|
message?: string | undefined;
|
|
231
248
|
country?: string | undefined;
|
|
@@ -233,12 +250,7 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
233
250
|
firstName?: string | undefined;
|
|
234
251
|
lastName?: string | undefined;
|
|
235
252
|
landlineNumber?: string | undefined;
|
|
236
|
-
};
|
|
237
|
-
state?: string | undefined;
|
|
238
|
-
estimatedShipDate?: string | undefined;
|
|
239
|
-
packageId?: string | undefined;
|
|
240
|
-
invoiceNumber?: string | undefined;
|
|
241
|
-
deliveryCompany?: string | undefined;
|
|
253
|
+
} | undefined;
|
|
242
254
|
}>, "many">;
|
|
243
255
|
deliveries: z.ZodArray<z.ZodObject<{
|
|
244
256
|
extId: z.ZodString;
|
|
@@ -254,11 +266,18 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
254
266
|
items: {
|
|
255
267
|
extId: string;
|
|
256
268
|
extCommerceOrderItemId: string;
|
|
257
|
-
|
|
269
|
+
state?: string | undefined;
|
|
270
|
+
quantity?: number | undefined;
|
|
271
|
+
estimatedShipDate?: string | undefined;
|
|
272
|
+
productName?: string | undefined;
|
|
273
|
+
packageId?: string | undefined;
|
|
274
|
+
invoiceNumber?: string | undefined;
|
|
275
|
+
deliveryCompany?: string | undefined;
|
|
276
|
+
shippingInfo?: {
|
|
258
277
|
name: string;
|
|
259
|
-
zipcode: string;
|
|
260
278
|
address1: string;
|
|
261
279
|
address2: string;
|
|
280
|
+
zipcode: string;
|
|
262
281
|
mobileNumber: string;
|
|
263
282
|
message?: string | undefined;
|
|
264
283
|
country?: string | undefined;
|
|
@@ -266,12 +285,38 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
266
285
|
firstName?: string | undefined;
|
|
267
286
|
lastName?: string | undefined;
|
|
268
287
|
landlineNumber?: string | undefined;
|
|
269
|
-
};
|
|
288
|
+
} | undefined;
|
|
289
|
+
}[];
|
|
290
|
+
extCommerceOrderId: string;
|
|
291
|
+
deliveries: {
|
|
292
|
+
itemIds: string[];
|
|
293
|
+
extId: string;
|
|
294
|
+
}[];
|
|
295
|
+
extId?: string | undefined;
|
|
296
|
+
}, {
|
|
297
|
+
items: {
|
|
298
|
+
extId: string;
|
|
299
|
+
extCommerceOrderItemId: string;
|
|
270
300
|
state?: string | undefined;
|
|
301
|
+
quantity?: number | undefined;
|
|
271
302
|
estimatedShipDate?: string | undefined;
|
|
303
|
+
productName?: string | undefined;
|
|
272
304
|
packageId?: string | undefined;
|
|
273
305
|
invoiceNumber?: string | undefined;
|
|
274
306
|
deliveryCompany?: string | undefined;
|
|
307
|
+
shippingInfo?: {
|
|
308
|
+
name: string;
|
|
309
|
+
address1: string;
|
|
310
|
+
address2: string;
|
|
311
|
+
zipcode: string;
|
|
312
|
+
mobileNumber: string;
|
|
313
|
+
message?: string | undefined;
|
|
314
|
+
country?: string | undefined;
|
|
315
|
+
province?: string | undefined;
|
|
316
|
+
firstName?: string | undefined;
|
|
317
|
+
lastName?: string | undefined;
|
|
318
|
+
landlineNumber?: string | undefined;
|
|
319
|
+
} | undefined;
|
|
275
320
|
}[];
|
|
276
321
|
extCommerceOrderId: string;
|
|
277
322
|
deliveries: {
|
|
@@ -279,15 +324,374 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
279
324
|
extId: string;
|
|
280
325
|
}[];
|
|
281
326
|
extId?: string | undefined;
|
|
327
|
+
}>;
|
|
328
|
+
export type WmsOrder = z.infer<typeof WmsOrderSchema>;
|
|
329
|
+
/**
|
|
330
|
+
* Generic commerce identifier map retained for older imports.
|
|
331
|
+
*/
|
|
332
|
+
export declare const CommerceIdentifiersSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
333
|
+
export type CommerceIdentifiers = z.infer<typeof CommerceIdentifiersSchema>;
|
|
334
|
+
export declare const GetWmsOrdersInputSchema: z.ZodObject<{
|
|
335
|
+
commerceOrderIds: z.ZodOptional<z.ZodString>;
|
|
336
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
337
|
+
packageIds: z.ZodOptional<z.ZodString>;
|
|
338
|
+
shopId: z.ZodOptional<z.ZodString>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
commerceOrderIds?: string | undefined;
|
|
341
|
+
orderIds?: string | undefined;
|
|
342
|
+
packageIds?: string | undefined;
|
|
343
|
+
shopId?: string | undefined;
|
|
282
344
|
}, {
|
|
283
|
-
|
|
345
|
+
commerceOrderIds?: string | undefined;
|
|
346
|
+
orderIds?: string | undefined;
|
|
347
|
+
packageIds?: string | undefined;
|
|
348
|
+
shopId?: string | undefined;
|
|
349
|
+
}>;
|
|
350
|
+
export type GetWmsOrdersInput = z.infer<typeof GetWmsOrdersInputSchema>;
|
|
351
|
+
export declare const GetWmsOrdersOutputSchema: z.ZodObject<{
|
|
352
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
353
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
354
|
+
extCommerceOrderId: z.ZodString;
|
|
355
|
+
items: z.ZodArray<z.ZodObject<{
|
|
356
|
+
extId: z.ZodString;
|
|
357
|
+
extCommerceOrderItemId: z.ZodString;
|
|
358
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
359
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
state: z.ZodOptional<z.ZodString>;
|
|
361
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
363
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
364
|
+
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
365
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
name: z.ZodString;
|
|
367
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
368
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
369
|
+
mobileNumber: z.ZodString;
|
|
370
|
+
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
371
|
+
zipcode: z.ZodString;
|
|
372
|
+
address1: z.ZodString;
|
|
373
|
+
address2: z.ZodString;
|
|
374
|
+
country: z.ZodOptional<z.ZodString>;
|
|
375
|
+
province: z.ZodOptional<z.ZodString>;
|
|
376
|
+
message: z.ZodOptional<z.ZodString>;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
name: string;
|
|
379
|
+
address1: string;
|
|
380
|
+
address2: string;
|
|
381
|
+
zipcode: string;
|
|
382
|
+
mobileNumber: string;
|
|
383
|
+
message?: string | undefined;
|
|
384
|
+
country?: string | undefined;
|
|
385
|
+
province?: string | undefined;
|
|
386
|
+
firstName?: string | undefined;
|
|
387
|
+
lastName?: string | undefined;
|
|
388
|
+
landlineNumber?: string | undefined;
|
|
389
|
+
}, {
|
|
390
|
+
name: string;
|
|
391
|
+
address1: string;
|
|
392
|
+
address2: string;
|
|
393
|
+
zipcode: string;
|
|
394
|
+
mobileNumber: string;
|
|
395
|
+
message?: string | undefined;
|
|
396
|
+
country?: string | undefined;
|
|
397
|
+
province?: string | undefined;
|
|
398
|
+
firstName?: string | undefined;
|
|
399
|
+
lastName?: string | undefined;
|
|
400
|
+
landlineNumber?: string | undefined;
|
|
401
|
+
}>>;
|
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
extId: string;
|
|
404
|
+
extCommerceOrderItemId: string;
|
|
405
|
+
state?: string | undefined;
|
|
406
|
+
quantity?: number | undefined;
|
|
407
|
+
estimatedShipDate?: string | undefined;
|
|
408
|
+
productName?: string | undefined;
|
|
409
|
+
packageId?: string | undefined;
|
|
410
|
+
invoiceNumber?: string | undefined;
|
|
411
|
+
deliveryCompany?: string | undefined;
|
|
412
|
+
shippingInfo?: {
|
|
413
|
+
name: string;
|
|
414
|
+
address1: string;
|
|
415
|
+
address2: string;
|
|
416
|
+
zipcode: string;
|
|
417
|
+
mobileNumber: string;
|
|
418
|
+
message?: string | undefined;
|
|
419
|
+
country?: string | undefined;
|
|
420
|
+
province?: string | undefined;
|
|
421
|
+
firstName?: string | undefined;
|
|
422
|
+
lastName?: string | undefined;
|
|
423
|
+
landlineNumber?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
}, {
|
|
426
|
+
extId: string;
|
|
427
|
+
extCommerceOrderItemId: string;
|
|
428
|
+
state?: string | undefined;
|
|
429
|
+
quantity?: number | undefined;
|
|
430
|
+
estimatedShipDate?: string | undefined;
|
|
431
|
+
productName?: string | undefined;
|
|
432
|
+
packageId?: string | undefined;
|
|
433
|
+
invoiceNumber?: string | undefined;
|
|
434
|
+
deliveryCompany?: string | undefined;
|
|
435
|
+
shippingInfo?: {
|
|
436
|
+
name: string;
|
|
437
|
+
address1: string;
|
|
438
|
+
address2: string;
|
|
439
|
+
zipcode: string;
|
|
440
|
+
mobileNumber: string;
|
|
441
|
+
message?: string | undefined;
|
|
442
|
+
country?: string | undefined;
|
|
443
|
+
province?: string | undefined;
|
|
444
|
+
firstName?: string | undefined;
|
|
445
|
+
lastName?: string | undefined;
|
|
446
|
+
landlineNumber?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
448
|
+
}>, "many">;
|
|
449
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
450
|
+
extId: z.ZodString;
|
|
451
|
+
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
itemIds: string[];
|
|
454
|
+
extId: string;
|
|
455
|
+
}, {
|
|
456
|
+
itemIds: string[];
|
|
457
|
+
extId: string;
|
|
458
|
+
}>, "many">;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
items: {
|
|
461
|
+
extId: string;
|
|
462
|
+
extCommerceOrderItemId: string;
|
|
463
|
+
state?: string | undefined;
|
|
464
|
+
quantity?: number | undefined;
|
|
465
|
+
estimatedShipDate?: string | undefined;
|
|
466
|
+
productName?: string | undefined;
|
|
467
|
+
packageId?: string | undefined;
|
|
468
|
+
invoiceNumber?: string | undefined;
|
|
469
|
+
deliveryCompany?: string | undefined;
|
|
470
|
+
shippingInfo?: {
|
|
471
|
+
name: string;
|
|
472
|
+
address1: string;
|
|
473
|
+
address2: string;
|
|
474
|
+
zipcode: string;
|
|
475
|
+
mobileNumber: string;
|
|
476
|
+
message?: string | undefined;
|
|
477
|
+
country?: string | undefined;
|
|
478
|
+
province?: string | undefined;
|
|
479
|
+
firstName?: string | undefined;
|
|
480
|
+
lastName?: string | undefined;
|
|
481
|
+
landlineNumber?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
}[];
|
|
484
|
+
extCommerceOrderId: string;
|
|
485
|
+
deliveries: {
|
|
486
|
+
itemIds: string[];
|
|
487
|
+
extId: string;
|
|
488
|
+
}[];
|
|
489
|
+
extId?: string | undefined;
|
|
490
|
+
}, {
|
|
491
|
+
items: {
|
|
492
|
+
extId: string;
|
|
493
|
+
extCommerceOrderItemId: string;
|
|
494
|
+
state?: string | undefined;
|
|
495
|
+
quantity?: number | undefined;
|
|
496
|
+
estimatedShipDate?: string | undefined;
|
|
497
|
+
productName?: string | undefined;
|
|
498
|
+
packageId?: string | undefined;
|
|
499
|
+
invoiceNumber?: string | undefined;
|
|
500
|
+
deliveryCompany?: string | undefined;
|
|
501
|
+
shippingInfo?: {
|
|
502
|
+
name: string;
|
|
503
|
+
address1: string;
|
|
504
|
+
address2: string;
|
|
505
|
+
zipcode: string;
|
|
506
|
+
mobileNumber: string;
|
|
507
|
+
message?: string | undefined;
|
|
508
|
+
country?: string | undefined;
|
|
509
|
+
province?: string | undefined;
|
|
510
|
+
firstName?: string | undefined;
|
|
511
|
+
lastName?: string | undefined;
|
|
512
|
+
landlineNumber?: string | undefined;
|
|
513
|
+
} | undefined;
|
|
514
|
+
}[];
|
|
515
|
+
extCommerceOrderId: string;
|
|
516
|
+
deliveries: {
|
|
517
|
+
itemIds: string[];
|
|
518
|
+
extId: string;
|
|
519
|
+
}[];
|
|
520
|
+
extId?: string | undefined;
|
|
521
|
+
}>, "many">;
|
|
522
|
+
}, "strip", z.ZodTypeAny, {
|
|
523
|
+
orders: {
|
|
524
|
+
items: {
|
|
525
|
+
extId: string;
|
|
526
|
+
extCommerceOrderItemId: string;
|
|
527
|
+
state?: string | undefined;
|
|
528
|
+
quantity?: number | undefined;
|
|
529
|
+
estimatedShipDate?: string | undefined;
|
|
530
|
+
productName?: string | undefined;
|
|
531
|
+
packageId?: string | undefined;
|
|
532
|
+
invoiceNumber?: string | undefined;
|
|
533
|
+
deliveryCompany?: string | undefined;
|
|
534
|
+
shippingInfo?: {
|
|
535
|
+
name: string;
|
|
536
|
+
address1: string;
|
|
537
|
+
address2: string;
|
|
538
|
+
zipcode: string;
|
|
539
|
+
mobileNumber: string;
|
|
540
|
+
message?: string | undefined;
|
|
541
|
+
country?: string | undefined;
|
|
542
|
+
province?: string | undefined;
|
|
543
|
+
firstName?: string | undefined;
|
|
544
|
+
lastName?: string | undefined;
|
|
545
|
+
landlineNumber?: string | undefined;
|
|
546
|
+
} | undefined;
|
|
547
|
+
}[];
|
|
548
|
+
extCommerceOrderId: string;
|
|
549
|
+
deliveries: {
|
|
550
|
+
itemIds: string[];
|
|
551
|
+
extId: string;
|
|
552
|
+
}[];
|
|
553
|
+
extId?: string | undefined;
|
|
554
|
+
}[];
|
|
555
|
+
}, {
|
|
556
|
+
orders: {
|
|
557
|
+
items: {
|
|
558
|
+
extId: string;
|
|
559
|
+
extCommerceOrderItemId: string;
|
|
560
|
+
state?: string | undefined;
|
|
561
|
+
quantity?: number | undefined;
|
|
562
|
+
estimatedShipDate?: string | undefined;
|
|
563
|
+
productName?: string | undefined;
|
|
564
|
+
packageId?: string | undefined;
|
|
565
|
+
invoiceNumber?: string | undefined;
|
|
566
|
+
deliveryCompany?: string | undefined;
|
|
567
|
+
shippingInfo?: {
|
|
568
|
+
name: string;
|
|
569
|
+
address1: string;
|
|
570
|
+
address2: string;
|
|
571
|
+
zipcode: string;
|
|
572
|
+
mobileNumber: string;
|
|
573
|
+
message?: string | undefined;
|
|
574
|
+
country?: string | undefined;
|
|
575
|
+
province?: string | undefined;
|
|
576
|
+
firstName?: string | undefined;
|
|
577
|
+
lastName?: string | undefined;
|
|
578
|
+
landlineNumber?: string | undefined;
|
|
579
|
+
} | undefined;
|
|
580
|
+
}[];
|
|
581
|
+
extCommerceOrderId: string;
|
|
582
|
+
deliveries: {
|
|
583
|
+
itemIds: string[];
|
|
584
|
+
extId: string;
|
|
585
|
+
}[];
|
|
586
|
+
extId?: string | undefined;
|
|
587
|
+
}[];
|
|
588
|
+
}>;
|
|
589
|
+
export type GetWmsOrdersOutput = z.infer<typeof GetWmsOrdersOutputSchema>;
|
|
590
|
+
export declare const GetWmsOrderInputSchema: z.ZodObject<{
|
|
591
|
+
commerceOrderId: z.ZodOptional<z.ZodString>;
|
|
592
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
593
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
594
|
+
shopId: z.ZodOptional<z.ZodString>;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
packageId?: string | undefined;
|
|
597
|
+
shopId?: string | undefined;
|
|
598
|
+
commerceOrderId?: string | undefined;
|
|
599
|
+
orderId?: string | undefined;
|
|
600
|
+
}, {
|
|
601
|
+
packageId?: string | undefined;
|
|
602
|
+
shopId?: string | undefined;
|
|
603
|
+
commerceOrderId?: string | undefined;
|
|
604
|
+
orderId?: string | undefined;
|
|
605
|
+
}>;
|
|
606
|
+
export type GetWmsOrderInput = z.infer<typeof GetWmsOrderInputSchema>;
|
|
607
|
+
export declare const GetWmsOrderOutputSchema: z.ZodObject<{
|
|
608
|
+
extId: z.ZodOptional<z.ZodString>;
|
|
609
|
+
extCommerceOrderId: z.ZodString;
|
|
610
|
+
items: z.ZodArray<z.ZodObject<{
|
|
611
|
+
extId: z.ZodString;
|
|
612
|
+
extCommerceOrderItemId: z.ZodString;
|
|
613
|
+
productName: z.ZodOptional<z.ZodString>;
|
|
614
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
state: z.ZodOptional<z.ZodString>;
|
|
616
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
617
|
+
estimatedShipDate: z.ZodOptional<z.ZodString>;
|
|
618
|
+
invoiceNumber: z.ZodOptional<z.ZodString>;
|
|
619
|
+
deliveryCompany: z.ZodOptional<z.ZodString>;
|
|
620
|
+
shippingInfo: z.ZodOptional<z.ZodObject<{
|
|
621
|
+
name: z.ZodString;
|
|
622
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
623
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
624
|
+
mobileNumber: z.ZodString;
|
|
625
|
+
landlineNumber: z.ZodOptional<z.ZodString>;
|
|
626
|
+
zipcode: z.ZodString;
|
|
627
|
+
address1: z.ZodString;
|
|
628
|
+
address2: z.ZodString;
|
|
629
|
+
country: z.ZodOptional<z.ZodString>;
|
|
630
|
+
province: z.ZodOptional<z.ZodString>;
|
|
631
|
+
message: z.ZodOptional<z.ZodString>;
|
|
632
|
+
}, "strip", z.ZodTypeAny, {
|
|
633
|
+
name: string;
|
|
634
|
+
address1: string;
|
|
635
|
+
address2: string;
|
|
636
|
+
zipcode: string;
|
|
637
|
+
mobileNumber: string;
|
|
638
|
+
message?: string | undefined;
|
|
639
|
+
country?: string | undefined;
|
|
640
|
+
province?: string | undefined;
|
|
641
|
+
firstName?: string | undefined;
|
|
642
|
+
lastName?: string | undefined;
|
|
643
|
+
landlineNumber?: string | undefined;
|
|
644
|
+
}, {
|
|
645
|
+
name: string;
|
|
646
|
+
address1: string;
|
|
647
|
+
address2: string;
|
|
648
|
+
zipcode: string;
|
|
649
|
+
mobileNumber: string;
|
|
650
|
+
message?: string | undefined;
|
|
651
|
+
country?: string | undefined;
|
|
652
|
+
province?: string | undefined;
|
|
653
|
+
firstName?: string | undefined;
|
|
654
|
+
lastName?: string | undefined;
|
|
655
|
+
landlineNumber?: string | undefined;
|
|
656
|
+
}>>;
|
|
657
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
658
|
extId: string;
|
|
285
659
|
extCommerceOrderItemId: string;
|
|
286
|
-
|
|
660
|
+
state?: string | undefined;
|
|
661
|
+
quantity?: number | undefined;
|
|
662
|
+
estimatedShipDate?: string | undefined;
|
|
663
|
+
productName?: string | undefined;
|
|
664
|
+
packageId?: string | undefined;
|
|
665
|
+
invoiceNumber?: string | undefined;
|
|
666
|
+
deliveryCompany?: string | undefined;
|
|
667
|
+
shippingInfo?: {
|
|
287
668
|
name: string;
|
|
669
|
+
address1: string;
|
|
670
|
+
address2: string;
|
|
288
671
|
zipcode: string;
|
|
672
|
+
mobileNumber: string;
|
|
673
|
+
message?: string | undefined;
|
|
674
|
+
country?: string | undefined;
|
|
675
|
+
province?: string | undefined;
|
|
676
|
+
firstName?: string | undefined;
|
|
677
|
+
lastName?: string | undefined;
|
|
678
|
+
landlineNumber?: string | undefined;
|
|
679
|
+
} | undefined;
|
|
680
|
+
}, {
|
|
681
|
+
extId: string;
|
|
682
|
+
extCommerceOrderItemId: string;
|
|
683
|
+
state?: string | undefined;
|
|
684
|
+
quantity?: number | undefined;
|
|
685
|
+
estimatedShipDate?: string | undefined;
|
|
686
|
+
productName?: string | undefined;
|
|
687
|
+
packageId?: string | undefined;
|
|
688
|
+
invoiceNumber?: string | undefined;
|
|
689
|
+
deliveryCompany?: string | undefined;
|
|
690
|
+
shippingInfo?: {
|
|
691
|
+
name: string;
|
|
289
692
|
address1: string;
|
|
290
693
|
address2: string;
|
|
694
|
+
zipcode: string;
|
|
291
695
|
mobileNumber: string;
|
|
292
696
|
message?: string | undefined;
|
|
293
697
|
country?: string | undefined;
|
|
@@ -295,12 +699,73 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
295
699
|
firstName?: string | undefined;
|
|
296
700
|
lastName?: string | undefined;
|
|
297
701
|
landlineNumber?: string | undefined;
|
|
298
|
-
};
|
|
702
|
+
} | undefined;
|
|
703
|
+
}>, "many">;
|
|
704
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
705
|
+
extId: z.ZodString;
|
|
706
|
+
itemIds: z.ZodArray<z.ZodString, "many">;
|
|
707
|
+
}, "strip", z.ZodTypeAny, {
|
|
708
|
+
itemIds: string[];
|
|
709
|
+
extId: string;
|
|
710
|
+
}, {
|
|
711
|
+
itemIds: string[];
|
|
712
|
+
extId: string;
|
|
713
|
+
}>, "many">;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
items: {
|
|
716
|
+
extId: string;
|
|
717
|
+
extCommerceOrderItemId: string;
|
|
299
718
|
state?: string | undefined;
|
|
719
|
+
quantity?: number | undefined;
|
|
300
720
|
estimatedShipDate?: string | undefined;
|
|
721
|
+
productName?: string | undefined;
|
|
301
722
|
packageId?: string | undefined;
|
|
302
723
|
invoiceNumber?: string | undefined;
|
|
303
724
|
deliveryCompany?: string | undefined;
|
|
725
|
+
shippingInfo?: {
|
|
726
|
+
name: string;
|
|
727
|
+
address1: string;
|
|
728
|
+
address2: string;
|
|
729
|
+
zipcode: string;
|
|
730
|
+
mobileNumber: string;
|
|
731
|
+
message?: string | undefined;
|
|
732
|
+
country?: string | undefined;
|
|
733
|
+
province?: string | undefined;
|
|
734
|
+
firstName?: string | undefined;
|
|
735
|
+
lastName?: string | undefined;
|
|
736
|
+
landlineNumber?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
}[];
|
|
739
|
+
extCommerceOrderId: string;
|
|
740
|
+
deliveries: {
|
|
741
|
+
itemIds: string[];
|
|
742
|
+
extId: string;
|
|
743
|
+
}[];
|
|
744
|
+
extId?: string | undefined;
|
|
745
|
+
}, {
|
|
746
|
+
items: {
|
|
747
|
+
extId: string;
|
|
748
|
+
extCommerceOrderItemId: string;
|
|
749
|
+
state?: string | undefined;
|
|
750
|
+
quantity?: number | undefined;
|
|
751
|
+
estimatedShipDate?: string | undefined;
|
|
752
|
+
productName?: string | undefined;
|
|
753
|
+
packageId?: string | undefined;
|
|
754
|
+
invoiceNumber?: string | undefined;
|
|
755
|
+
deliveryCompany?: string | undefined;
|
|
756
|
+
shippingInfo?: {
|
|
757
|
+
name: string;
|
|
758
|
+
address1: string;
|
|
759
|
+
address2: string;
|
|
760
|
+
zipcode: string;
|
|
761
|
+
mobileNumber: string;
|
|
762
|
+
message?: string | undefined;
|
|
763
|
+
country?: string | undefined;
|
|
764
|
+
province?: string | undefined;
|
|
765
|
+
firstName?: string | undefined;
|
|
766
|
+
lastName?: string | undefined;
|
|
767
|
+
landlineNumber?: string | undefined;
|
|
768
|
+
} | undefined;
|
|
304
769
|
}[];
|
|
305
770
|
extCommerceOrderId: string;
|
|
306
771
|
deliveries: {
|
|
@@ -309,10 +774,166 @@ export declare const WmsOrderSchema: z.ZodObject<{
|
|
|
309
774
|
}[];
|
|
310
775
|
extId?: string | undefined;
|
|
311
776
|
}>;
|
|
312
|
-
export type
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
777
|
+
export type GetWmsOrderOutput = z.infer<typeof GetWmsOrderOutputSchema>;
|
|
778
|
+
export declare const GetWmsShopIdInputSchema: z.ZodObject<{
|
|
779
|
+
commerceType: z.ZodString;
|
|
780
|
+
commerceKey: z.ZodString;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
commerceType: string;
|
|
783
|
+
commerceKey: string;
|
|
784
|
+
}, {
|
|
785
|
+
commerceType: string;
|
|
786
|
+
commerceKey: string;
|
|
787
|
+
}>;
|
|
788
|
+
export type GetWmsShopIdInput = z.infer<typeof GetWmsShopIdInputSchema>;
|
|
789
|
+
export declare const GetWmsShopIdOutputSchema: z.ZodObject<{
|
|
790
|
+
shopId: z.ZodNullable<z.ZodString>;
|
|
791
|
+
message: z.ZodOptional<z.ZodString>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
shopId: string | null;
|
|
794
|
+
message?: string | undefined;
|
|
795
|
+
}, {
|
|
796
|
+
shopId: string | null;
|
|
797
|
+
message?: string | undefined;
|
|
798
|
+
}>;
|
|
799
|
+
export type GetWmsShopIdOutput = z.infer<typeof GetWmsShopIdOutputSchema>;
|
|
800
|
+
export declare const CancelWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
801
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
802
|
+
/** @deprecated Use orderId instead. */
|
|
803
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
804
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
orderIds?: string | undefined;
|
|
807
|
+
orderId?: string | undefined;
|
|
808
|
+
reason?: string | undefined;
|
|
809
|
+
}, {
|
|
810
|
+
orderIds?: string | undefined;
|
|
811
|
+
orderId?: string | undefined;
|
|
812
|
+
reason?: string | undefined;
|
|
813
|
+
}>, {
|
|
814
|
+
orderIds?: string | undefined;
|
|
815
|
+
orderId?: string | undefined;
|
|
816
|
+
reason?: string | undefined;
|
|
817
|
+
}, {
|
|
818
|
+
orderIds?: string | undefined;
|
|
819
|
+
orderId?: string | undefined;
|
|
820
|
+
reason?: string | undefined;
|
|
821
|
+
}>;
|
|
822
|
+
export type CancelWmsOrderInput = z.infer<typeof CancelWmsOrderInputSchema>;
|
|
823
|
+
export declare const ReturnWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
824
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
825
|
+
/** @deprecated Use orderId instead. */
|
|
826
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
827
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
828
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
orderIds?: string | undefined;
|
|
831
|
+
orderId?: string | undefined;
|
|
832
|
+
reason?: string | undefined;
|
|
833
|
+
memo?: string | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
orderIds?: string | undefined;
|
|
836
|
+
orderId?: string | undefined;
|
|
837
|
+
reason?: string | undefined;
|
|
838
|
+
memo?: string | undefined;
|
|
839
|
+
}>, {
|
|
840
|
+
orderIds?: string | undefined;
|
|
841
|
+
orderId?: string | undefined;
|
|
842
|
+
reason?: string | undefined;
|
|
843
|
+
memo?: string | undefined;
|
|
844
|
+
}, {
|
|
845
|
+
orderIds?: string | undefined;
|
|
846
|
+
orderId?: string | undefined;
|
|
847
|
+
reason?: string | undefined;
|
|
848
|
+
memo?: string | undefined;
|
|
849
|
+
}>;
|
|
850
|
+
export type ReturnWmsOrderInput = z.infer<typeof ReturnWmsOrderInputSchema>;
|
|
851
|
+
export declare const ExchangeWmsOrderInputSchema: z.ZodEffects<z.ZodObject<{
|
|
852
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
853
|
+
/** @deprecated Use orderId instead. */
|
|
854
|
+
orderIds: z.ZodOptional<z.ZodString>;
|
|
855
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
856
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
857
|
+
}, "strip", z.ZodTypeAny, {
|
|
858
|
+
orderIds?: string | undefined;
|
|
859
|
+
orderId?: string | undefined;
|
|
860
|
+
reason?: string | undefined;
|
|
861
|
+
memo?: string | undefined;
|
|
862
|
+
}, {
|
|
863
|
+
orderIds?: string | undefined;
|
|
864
|
+
orderId?: string | undefined;
|
|
865
|
+
reason?: string | undefined;
|
|
866
|
+
memo?: string | undefined;
|
|
867
|
+
}>, {
|
|
868
|
+
orderIds?: string | undefined;
|
|
869
|
+
orderId?: string | undefined;
|
|
870
|
+
reason?: string | undefined;
|
|
871
|
+
memo?: string | undefined;
|
|
872
|
+
}, {
|
|
873
|
+
orderIds?: string | undefined;
|
|
874
|
+
orderId?: string | undefined;
|
|
875
|
+
reason?: string | undefined;
|
|
876
|
+
memo?: string | undefined;
|
|
877
|
+
}>;
|
|
878
|
+
export type ExchangeWmsOrderInput = z.infer<typeof ExchangeWmsOrderInputSchema>;
|
|
879
|
+
export declare const ChangeWmsShippingAddressInputSchema: z.ZodObject<{
|
|
880
|
+
orderId: z.ZodString;
|
|
881
|
+
recipient: z.ZodString;
|
|
882
|
+
phone: z.ZodString;
|
|
883
|
+
address1: z.ZodString;
|
|
884
|
+
postalCode: z.ZodString;
|
|
885
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
886
|
+
message: z.ZodOptional<z.ZodString>;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
888
|
+
recipient: string;
|
|
889
|
+
phone: string;
|
|
890
|
+
address1: string;
|
|
891
|
+
orderId: string;
|
|
892
|
+
postalCode: string;
|
|
893
|
+
message?: string | undefined;
|
|
894
|
+
address2?: string | undefined;
|
|
895
|
+
}, {
|
|
896
|
+
recipient: string;
|
|
897
|
+
phone: string;
|
|
898
|
+
address1: string;
|
|
899
|
+
orderId: string;
|
|
900
|
+
postalCode: string;
|
|
901
|
+
message?: string | undefined;
|
|
902
|
+
address2?: string | undefined;
|
|
903
|
+
}>;
|
|
904
|
+
export type ChangeWmsShippingAddressInput = z.infer<typeof ChangeWmsShippingAddressInputSchema>;
|
|
905
|
+
export declare const RestoreWmsOrderInputSchema: z.ZodObject<{
|
|
906
|
+
orderId: z.ZodString;
|
|
907
|
+
memo: z.ZodOptional<z.ZodString>;
|
|
908
|
+
prdSeq: z.ZodOptional<z.ZodString>;
|
|
909
|
+
restorePack: z.ZodOptional<z.ZodBoolean>;
|
|
910
|
+
restockNormal: z.ZodOptional<z.ZodBoolean>;
|
|
911
|
+
restockBad: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
orderId: string;
|
|
914
|
+
memo?: string | undefined;
|
|
915
|
+
prdSeq?: string | undefined;
|
|
916
|
+
restorePack?: boolean | undefined;
|
|
917
|
+
restockNormal?: boolean | undefined;
|
|
918
|
+
restockBad?: boolean | undefined;
|
|
919
|
+
}, {
|
|
920
|
+
orderId: string;
|
|
921
|
+
memo?: string | undefined;
|
|
922
|
+
prdSeq?: string | undefined;
|
|
923
|
+
restorePack?: boolean | undefined;
|
|
924
|
+
restockNormal?: boolean | undefined;
|
|
925
|
+
restockBad?: boolean | undefined;
|
|
926
|
+
}>;
|
|
927
|
+
export type RestoreWmsOrderInput = z.infer<typeof RestoreWmsOrderInputSchema>;
|
|
928
|
+
export declare const WmsSuccessOutputSchema: z.ZodObject<{
|
|
929
|
+
success: z.ZodBoolean;
|
|
930
|
+
message: z.ZodOptional<z.ZodString>;
|
|
931
|
+
}, "strip", z.ZodTypeAny, {
|
|
932
|
+
success: boolean;
|
|
933
|
+
message?: string | undefined;
|
|
934
|
+
}, {
|
|
935
|
+
success: boolean;
|
|
936
|
+
message?: string | undefined;
|
|
937
|
+
}>;
|
|
938
|
+
export type WmsSuccessOutput = z.infer<typeof WmsSuccessOutputSchema>;
|
|
318
939
|
//# sourceMappingURL=wms.d.ts.map
|