@medusajs/medusa 2.8.8-snapshot-20250712101342 → 2.8.8-snapshot-20250714090316
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/api/admin/api-keys/validators.d.ts +13 -27
- package/dist/api/admin/api-keys/validators.d.ts.map +1 -1
- package/dist/api/admin/campaigns/validators.d.ts +23 -37
- package/dist/api/admin/campaigns/validators.d.ts.map +1 -1
- package/dist/api/admin/claims/validators.d.ts +64 -61
- package/dist/api/admin/claims/validators.d.ts.map +1 -1
- package/dist/api/admin/collections/validators.d.ts +14 -28
- package/dist/api/admin/collections/validators.d.ts.map +1 -1
- package/dist/api/admin/currencies/validators.d.ts +7 -21
- package/dist/api/admin/currencies/validators.d.ts.map +1 -1
- package/dist/api/admin/customer-groups/validators.d.ts +45 -59
- package/dist/api/admin/customer-groups/validators.d.ts.map +1 -1
- package/dist/api/admin/customers/validators.d.ts +44 -56
- package/dist/api/admin/customers/validators.d.ts.map +1 -1
- package/dist/api/admin/draft-orders/validators.d.ts +128 -154
- package/dist/api/admin/draft-orders/validators.d.ts.map +1 -1
- package/dist/api/admin/exchanges/validators.d.ts +52 -49
- package/dist/api/admin/exchanges/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-providers/validators.d.ts +9 -7
- package/dist/api/admin/fulfillment-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts +8 -4
- package/dist/api/admin/fulfillment-sets/validators/geo-zone.d.ts.map +1 -1
- package/dist/api/admin/fulfillment-sets/validators.d.ts +42 -30
- package/dist/api/admin/fulfillment-sets/validators.d.ts.map +1 -1
- package/dist/api/admin/fulfillments/validators.d.ts +6 -6
- package/dist/api/admin/inventory-items/validators.d.ts +68 -96
- package/dist/api/admin/inventory-items/validators.d.ts.map +1 -1
- package/dist/api/admin/invites/validators.d.ts +8 -21
- package/dist/api/admin/invites/validators.d.ts.map +1 -1
- package/dist/api/admin/notifications/validators.d.ts +7 -21
- package/dist/api/admin/notifications/validators.d.ts.map +1 -1
- package/dist/api/admin/order-edits/validators.d.ts +22 -22
- package/dist/api/admin/orders/validators.d.ts +51 -46
- package/dist/api/admin/orders/validators.d.ts.map +1 -1
- package/dist/api/admin/payments/validators.d.ts +14 -42
- package/dist/api/admin/payments/validators.d.ts.map +1 -1
- package/dist/api/admin/price-lists/validators.d.ts +34 -48
- package/dist/api/admin/price-lists/validators.d.ts.map +1 -1
- package/dist/api/admin/price-preferences/validators.d.ts +11 -25
- package/dist/api/admin/price-preferences/validators.d.ts.map +1 -1
- package/dist/api/admin/product-categories/validators.d.ts +29 -42
- package/dist/api/admin/product-categories/validators.d.ts.map +1 -1
- package/dist/api/admin/product-tags/validators.d.ts +7 -21
- package/dist/api/admin/product-tags/validators.d.ts.map +1 -1
- package/dist/api/admin/product-types/validators.d.ts +7 -21
- package/dist/api/admin/product-types/validators.d.ts.map +1 -1
- package/dist/api/admin/product-variants/validators.d.ts +11 -25
- package/dist/api/admin/product-variants/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.d.ts +477 -521
- package/dist/api/admin/products/validators.d.ts.map +1 -1
- package/dist/api/admin/products/validators.js.map +1 -1
- package/dist/api/admin/promotions/validators.d.ts +108 -119
- package/dist/api/admin/promotions/validators.d.ts.map +1 -1
- package/dist/api/admin/refund-reasons/validators.d.ts +12 -10
- package/dist/api/admin/refund-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/regions/validators.d.ts +21 -35
- package/dist/api/admin/regions/validators.d.ts.map +1 -1
- package/dist/api/admin/reservations/validators.d.ts +25 -23
- package/dist/api/admin/reservations/validators.d.ts.map +1 -1
- package/dist/api/admin/return-reasons/validators.d.ts +26 -39
- package/dist/api/admin/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/admin/returns/validators.d.ts +48 -45
- package/dist/api/admin/returns/validators.d.ts.map +1 -1
- package/dist/api/admin/sales-channels/validators.d.ts +29 -20
- package/dist/api/admin/sales-channels/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-options/validators.d.ts +69 -67
- package/dist/api/admin/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/admin/shipping-profiles/validators.d.ts +11 -25
- package/dist/api/admin/shipping-profiles/validators.d.ts.map +1 -1
- package/dist/api/admin/stock-locations/validators.d.ts +59 -50
- package/dist/api/admin/stock-locations/validators.d.ts.map +1 -1
- package/dist/api/admin/stores/validators.d.ts +18 -32
- package/dist/api/admin/stores/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-providers/validators.d.ts +5 -19
- package/dist/api/admin/tax-providers/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-rates/validators.d.ts +22 -36
- package/dist/api/admin/tax-rates/validators.d.ts.map +1 -1
- package/dist/api/admin/tax-regions/validators.d.ts +22 -36
- package/dist/api/admin/tax-regions/validators.d.ts.map +1 -1
- package/dist/api/admin/users/validators.d.ts +15 -13
- package/dist/api/admin/users/validators.d.ts.map +1 -1
- package/dist/api/admin/workflows-executions/validators.d.ts +7 -5
- package/dist/api/admin/workflows-executions/validators.d.ts.map +1 -1
- package/dist/api/store/carts/validators.d.ts +44 -44
- package/dist/api/store/collections/validators.d.ts +10 -24
- package/dist/api/store/collections/validators.d.ts.map +1 -1
- package/dist/api/store/currencies/validators.d.ts +7 -21
- package/dist/api/store/currencies/validators.d.ts.map +1 -1
- package/dist/api/store/customers/validators.d.ts +17 -13
- package/dist/api/store/customers/validators.d.ts.map +1 -1
- package/dist/api/store/orders/validators.d.ts +5 -19
- package/dist/api/store/orders/validators.d.ts.map +1 -1
- package/dist/api/store/payment-providers/validators.d.ts +3 -1
- package/dist/api/store/payment-providers/validators.d.ts.map +1 -1
- package/dist/api/store/product-categories/validators.d.ts +14 -27
- package/dist/api/store/product-categories/validators.d.ts.map +1 -1
- package/dist/api/store/product-tags/validators.d.ts +7 -21
- package/dist/api/store/product-tags/validators.d.ts.map +1 -1
- package/dist/api/store/product-types/validators.d.ts +7 -21
- package/dist/api/store/product-types/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.d.ts +40 -71
- package/dist/api/store/products/validators.d.ts.map +1 -1
- package/dist/api/store/products/validators.js.map +1 -1
- package/dist/api/store/regions/validators.d.ts +9 -23
- package/dist/api/store/regions/validators.d.ts.map +1 -1
- package/dist/api/store/return-reasons/validators.d.ts +3 -2
- package/dist/api/store/return-reasons/validators.d.ts.map +1 -1
- package/dist/api/store/returns/validators.d.ts +7 -21
- package/dist/api/store/returns/validators.d.ts.map +1 -1
- package/dist/api/store/shipping-options/validators.d.ts +5 -19
- package/dist/api/store/shipping-options/validators.d.ts.map +1 -1
- package/dist/api/utils/common-validators/common.d.ts +7 -20
- package/dist/api/utils/common-validators/common.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.d.ts +17 -16
- package/dist/api/utils/common-validators/products/index.d.ts.map +1 -1
- package/dist/api/utils/common-validators/products/index.js +14 -14
- package/dist/api/utils/common-validators/products/index.js.map +1 -1
- package/dist/api/utils/validators.d.ts +5 -4
- package/dist/api/utils/validators.d.ts.map +1 -1
- package/package.json +50 -50
@@ -1,6 +1,7 @@
|
|
1
1
|
import { z } from "zod";
|
2
2
|
export declare const AdminGetOrdersOrderParams: z.ZodObject<{
|
3
3
|
fields: z.ZodOptional<z.ZodString>;
|
4
|
+
} & {
|
4
5
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
5
6
|
status: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
6
7
|
created_at: z.ZodOptional<z.ZodUnion<[any, z.ZodObject<{
|
@@ -124,30 +125,32 @@ export declare const AdminGetOrdersOrderParams: z.ZodObject<{
|
|
124
125
|
$lte?: any;
|
125
126
|
}>]>>;
|
126
127
|
}, "strip", z.ZodTypeAny, {
|
127
|
-
fields?: string | undefined;
|
128
128
|
id?: string | string[] | undefined;
|
129
|
-
|
129
|
+
fields?: string | undefined;
|
130
130
|
created_at?: any;
|
131
131
|
updated_at?: any;
|
132
132
|
deleted_at?: any;
|
133
|
+
status?: string | string[] | undefined;
|
133
134
|
}, {
|
134
|
-
fields?: string | undefined;
|
135
135
|
id?: string | string[] | undefined;
|
136
|
-
|
136
|
+
fields?: string | undefined;
|
137
137
|
created_at?: any;
|
138
138
|
updated_at?: any;
|
139
139
|
deleted_at?: any;
|
140
|
+
status?: string | string[] | undefined;
|
140
141
|
}>;
|
141
142
|
export type AdminGetOrdersOrderParamsType = z.infer<typeof AdminGetOrdersOrderParams>;
|
142
143
|
/**
|
143
144
|
* Parameters used to filter and configure the pagination of the retrieved order.
|
144
145
|
*/
|
145
146
|
export declare const AdminGetOrdersParams: z.ZodObject<{
|
146
|
-
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
147
147
|
fields: z.ZodOptional<z.ZodString>;
|
148
|
+
} & {
|
148
149
|
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
149
150
|
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
151
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
150
152
|
with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
153
|
+
} & {
|
151
154
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
152
155
|
order_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
153
156
|
status: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
@@ -275,26 +278,26 @@ export declare const AdminGetOrdersParams: z.ZodObject<{
|
|
275
278
|
offset: number;
|
276
279
|
limit: number;
|
277
280
|
order?: string | undefined;
|
278
|
-
fields?: string | undefined;
|
279
|
-
with_deleted?: boolean | undefined;
|
280
281
|
id?: string | string[] | undefined;
|
281
|
-
|
282
|
-
status?: string | string[] | undefined;
|
282
|
+
fields?: string | undefined;
|
283
283
|
created_at?: any;
|
284
284
|
updated_at?: any;
|
285
285
|
deleted_at?: any;
|
286
|
+
order_id?: string | string[] | undefined;
|
287
|
+
status?: string | string[] | undefined;
|
288
|
+
with_deleted?: boolean | undefined;
|
286
289
|
}, {
|
287
290
|
order?: string | undefined;
|
288
|
-
fields?: string | undefined;
|
289
|
-
offset?: unknown;
|
290
|
-
limit?: unknown;
|
291
|
-
with_deleted?: unknown;
|
292
291
|
id?: string | string[] | undefined;
|
293
|
-
|
294
|
-
status?: string | string[] | undefined;
|
292
|
+
fields?: string | undefined;
|
295
293
|
created_at?: any;
|
296
294
|
updated_at?: any;
|
297
295
|
deleted_at?: any;
|
296
|
+
order_id?: string | string[] | undefined;
|
297
|
+
status?: string | string[] | undefined;
|
298
|
+
offset?: unknown;
|
299
|
+
limit?: unknown;
|
300
|
+
with_deleted?: unknown;
|
298
301
|
}>;
|
299
302
|
export type AdminGetOrdersParamsType = z.infer<typeof AdminGetOrdersParams>;
|
300
303
|
export declare const AdminPostOrderExchangesReqSchema: z.ZodObject<{
|
@@ -304,14 +307,14 @@ export declare const AdminPostOrderExchangesReqSchema: z.ZodObject<{
|
|
304
307
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
305
308
|
}, "strip", z.ZodTypeAny, {
|
306
309
|
order_id: string;
|
310
|
+
metadata?: Record<string, unknown> | null | undefined;
|
307
311
|
description?: string | undefined;
|
308
312
|
internal_note?: string | undefined;
|
309
|
-
metadata?: Record<string, unknown> | null | undefined;
|
310
313
|
}, {
|
311
314
|
order_id: string;
|
315
|
+
metadata?: Record<string, unknown> | null | undefined;
|
312
316
|
description?: string | undefined;
|
313
317
|
internal_note?: string | undefined;
|
314
|
-
metadata?: Record<string, unknown> | null | undefined;
|
315
318
|
}>;
|
316
319
|
export type AdminPostOrderExchangesReqSchemaType = z.infer<typeof AdminPostOrderExchangesReqSchema>;
|
317
320
|
export declare const AdminPostReceiveExchangesReqSchema: z.ZodObject<{
|
@@ -319,13 +322,13 @@ export declare const AdminPostReceiveExchangesReqSchema: z.ZodObject<{
|
|
319
322
|
description: z.ZodOptional<z.ZodString>;
|
320
323
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
321
324
|
}, "strip", z.ZodTypeAny, {
|
322
|
-
internal_note?: string | undefined;
|
323
|
-
description?: string | undefined;
|
324
325
|
metadata?: Record<string, unknown> | null | undefined;
|
325
|
-
}, {
|
326
|
-
internal_note?: string | undefined;
|
327
326
|
description?: string | undefined;
|
327
|
+
internal_note?: string | undefined;
|
328
|
+
}, {
|
328
329
|
metadata?: Record<string, unknown> | null | undefined;
|
330
|
+
description?: string | undefined;
|
331
|
+
internal_note?: string | undefined;
|
329
332
|
}>;
|
330
333
|
export type AdminPostReceiveExchangesReqSchemaType = z.infer<typeof AdminPostReceiveExchangesReqSchema>;
|
331
334
|
export declare const AdminPostReceiveExchangeItemsReqSchema: z.ZodObject<{
|
@@ -370,15 +373,15 @@ export declare const AdminPostExchangesRequestItemsReturnActionReqSchema: z.ZodO
|
|
370
373
|
reason_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
371
374
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
372
375
|
}, "strip", z.ZodTypeAny, {
|
373
|
-
|
376
|
+
metadata?: Record<string, unknown> | null | undefined;
|
374
377
|
internal_note?: string | null | undefined;
|
375
378
|
reason_id?: string | null | undefined;
|
376
|
-
metadata?: Record<string, unknown> | null | undefined;
|
377
|
-
}, {
|
378
379
|
quantity?: number | undefined;
|
380
|
+
}, {
|
381
|
+
metadata?: Record<string, unknown> | null | undefined;
|
379
382
|
internal_note?: string | null | undefined;
|
380
383
|
reason_id?: string | null | undefined;
|
381
|
-
|
384
|
+
quantity?: number | undefined;
|
382
385
|
}>;
|
383
386
|
export type AdminPostExchangesRequestItemsReturnActionReqSchemaType = z.infer<typeof AdminPostExchangesRequestItemsReturnActionReqSchema>;
|
384
387
|
export declare const AdminPostExchangesShippingReqSchema: z.ZodObject<{
|
@@ -389,16 +392,16 @@ export declare const AdminPostExchangesShippingReqSchema: z.ZodObject<{
|
|
389
392
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
390
393
|
}, "strip", z.ZodTypeAny, {
|
391
394
|
shipping_option_id: string;
|
392
|
-
|
395
|
+
metadata?: Record<string, unknown> | undefined;
|
393
396
|
description?: string | undefined;
|
394
397
|
internal_note?: string | undefined;
|
395
|
-
|
398
|
+
custom_amount?: number | undefined;
|
396
399
|
}, {
|
397
400
|
shipping_option_id: string;
|
398
|
-
|
401
|
+
metadata?: Record<string, unknown> | undefined;
|
399
402
|
description?: string | undefined;
|
400
403
|
internal_note?: string | undefined;
|
401
|
-
|
404
|
+
custom_amount?: number | undefined;
|
402
405
|
}>;
|
403
406
|
export type AdminPostExchangesShippingReqSchemaType = z.infer<typeof AdminPostExchangesShippingReqSchema>;
|
404
407
|
export declare const AdminPostExchangesShippingActionReqSchema: z.ZodObject<{
|
@@ -406,13 +409,13 @@ export declare const AdminPostExchangesShippingActionReqSchema: z.ZodObject<{
|
|
406
409
|
internal_note: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
407
410
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
408
411
|
}, "strip", z.ZodTypeAny, {
|
409
|
-
custom_amount?: number | null | undefined;
|
410
|
-
internal_note?: string | null | undefined;
|
411
412
|
metadata?: Record<string, unknown> | null | undefined;
|
412
|
-
}, {
|
413
|
-
custom_amount?: number | null | undefined;
|
414
413
|
internal_note?: string | null | undefined;
|
414
|
+
custom_amount?: number | null | undefined;
|
415
|
+
}, {
|
415
416
|
metadata?: Record<string, unknown> | null | undefined;
|
417
|
+
internal_note?: string | null | undefined;
|
418
|
+
custom_amount?: number | null | undefined;
|
416
419
|
}>;
|
417
420
|
export type AdminPostExchangesShippingActionReqSchemaType = z.infer<typeof AdminPostExchangesShippingActionReqSchema>;
|
418
421
|
export declare const AdminPostExchangesAddItemsReqSchema: z.ZodObject<{
|
@@ -426,35 +429,35 @@ export declare const AdminPostExchangesAddItemsReqSchema: z.ZodObject<{
|
|
426
429
|
}, "strip", z.ZodTypeAny, {
|
427
430
|
quantity: number;
|
428
431
|
variant_id: string;
|
429
|
-
|
432
|
+
metadata?: Record<string, unknown> | undefined;
|
430
433
|
internal_note?: string | undefined;
|
434
|
+
unit_price?: number | undefined;
|
431
435
|
allow_backorder?: boolean | undefined;
|
432
|
-
metadata?: Record<string, unknown> | undefined;
|
433
436
|
}, {
|
434
437
|
quantity: number;
|
435
438
|
variant_id: string;
|
436
|
-
|
439
|
+
metadata?: Record<string, unknown> | undefined;
|
437
440
|
internal_note?: string | undefined;
|
441
|
+
unit_price?: number | undefined;
|
438
442
|
allow_backorder?: boolean | undefined;
|
439
|
-
metadata?: Record<string, unknown> | undefined;
|
440
443
|
}>, "many">;
|
441
444
|
}, "strip", z.ZodTypeAny, {
|
442
445
|
items: {
|
443
446
|
quantity: number;
|
444
447
|
variant_id: string;
|
445
|
-
|
448
|
+
metadata?: Record<string, unknown> | undefined;
|
446
449
|
internal_note?: string | undefined;
|
450
|
+
unit_price?: number | undefined;
|
447
451
|
allow_backorder?: boolean | undefined;
|
448
|
-
metadata?: Record<string, unknown> | undefined;
|
449
452
|
}[];
|
450
453
|
}, {
|
451
454
|
items: {
|
452
455
|
quantity: number;
|
453
456
|
variant_id: string;
|
454
|
-
|
457
|
+
metadata?: Record<string, unknown> | undefined;
|
455
458
|
internal_note?: string | undefined;
|
459
|
+
unit_price?: number | undefined;
|
456
460
|
allow_backorder?: boolean | undefined;
|
457
|
-
metadata?: Record<string, unknown> | undefined;
|
458
461
|
}[];
|
459
462
|
}>;
|
460
463
|
export type AdminPostExchangesAddItemsReqSchemaType = z.infer<typeof AdminPostExchangesAddItemsReqSchema>;
|
@@ -469,35 +472,35 @@ export declare const AdminPostExchangesReturnRequestItemsReqSchema: z.ZodObject<
|
|
469
472
|
}, "strip", z.ZodTypeAny, {
|
470
473
|
id: string;
|
471
474
|
quantity: number;
|
475
|
+
metadata?: Record<string, unknown> | undefined;
|
472
476
|
description?: string | undefined;
|
473
477
|
internal_note?: string | undefined;
|
474
478
|
reason_id?: string | undefined;
|
475
|
-
metadata?: Record<string, unknown> | undefined;
|
476
479
|
}, {
|
477
480
|
id: string;
|
478
481
|
quantity: number;
|
482
|
+
metadata?: Record<string, unknown> | undefined;
|
479
483
|
description?: string | undefined;
|
480
484
|
internal_note?: string | undefined;
|
481
485
|
reason_id?: string | undefined;
|
482
|
-
metadata?: Record<string, unknown> | undefined;
|
483
486
|
}>, "many">;
|
484
487
|
}, "strip", z.ZodTypeAny, {
|
485
488
|
items: {
|
486
489
|
id: string;
|
487
490
|
quantity: number;
|
491
|
+
metadata?: Record<string, unknown> | undefined;
|
488
492
|
description?: string | undefined;
|
489
493
|
internal_note?: string | undefined;
|
490
494
|
reason_id?: string | undefined;
|
491
|
-
metadata?: Record<string, unknown> | undefined;
|
492
495
|
}[];
|
493
496
|
}, {
|
494
497
|
items: {
|
495
498
|
id: string;
|
496
499
|
quantity: number;
|
500
|
+
metadata?: Record<string, unknown> | undefined;
|
497
501
|
description?: string | undefined;
|
498
502
|
internal_note?: string | undefined;
|
499
503
|
reason_id?: string | undefined;
|
500
|
-
metadata?: Record<string, unknown> | undefined;
|
501
504
|
}[];
|
502
505
|
}>;
|
503
506
|
export type AdminPostExchangesReturnRequestItemsReqSchemaType = z.infer<typeof AdminPostExchangesReturnRequestItemsReqSchema>;
|
@@ -505,11 +508,11 @@ export declare const AdminPostExchangesDismissItemsActionReqSchema: z.ZodObject<
|
|
505
508
|
quantity: z.ZodOptional<z.ZodNumber>;
|
506
509
|
internal_note: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
507
510
|
}, "strip", z.ZodTypeAny, {
|
508
|
-
quantity?: number | undefined;
|
509
511
|
internal_note?: string | null | undefined;
|
510
|
-
}, {
|
511
512
|
quantity?: number | undefined;
|
513
|
+
}, {
|
512
514
|
internal_note?: string | null | undefined;
|
515
|
+
quantity?: number | undefined;
|
513
516
|
}>;
|
514
517
|
export type AdminPostExchangesDismissItemsActionReqSchemaType = z.infer<typeof AdminPostExchangesDismissItemsActionReqSchema>;
|
515
518
|
export declare const AdminPostExchangesConfirmRequestReqSchema: z.ZodObject<{
|
@@ -524,11 +527,11 @@ export declare const AdminPostExchangesItemsActionReqSchema: z.ZodObject<{
|
|
524
527
|
quantity: z.ZodOptional<z.ZodNumber>;
|
525
528
|
internal_note: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
526
529
|
}, "strip", z.ZodTypeAny, {
|
527
|
-
quantity?: number | undefined;
|
528
530
|
internal_note?: string | null | undefined;
|
529
|
-
}, {
|
530
531
|
quantity?: number | undefined;
|
532
|
+
}, {
|
531
533
|
internal_note?: string | null | undefined;
|
534
|
+
quantity?: number | undefined;
|
532
535
|
}>;
|
533
536
|
export type AdminPostExchangesItemsActionReqSchemaType = z.infer<typeof AdminPostExchangesItemsActionReqSchema>;
|
534
537
|
//# sourceMappingURL=validators.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/exchanges/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,yBAAyB
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/exchanges/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,yBAAyB,CACjC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYhC,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE3E,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;EAK3C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,gCAAgC,CACxC,CAAA;AAED,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAA;AACF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,kCAAkC,CAC1C,CAAA;AAOD,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjD,CAAA;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,sCAAsC,CAC9C,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;;EAE3C,CAAA;AACF,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,gCAAgC,CACxC,CAAA;AAED,eAAO,MAAM,mDAAmD;;;;;;;;;;;;;;;EAK9D,CAAA;AAEF,MAAM,MAAM,uDAAuD,GAAG,CAAC,CAAC,KAAK,CAC3E,OAAO,mDAAmD,CAC3D,CAAA;AAED,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;EAM9C,CAAA;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,mCAAmC,CAC3C,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;;;;;;;EAIpD,CAAA;AAEF,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CACjE,OAAO,yCAAyC,CACjD,CAAA;AAED,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW9C,CAAA;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CAC3D,OAAO,mCAAmC,CAC3C,CAAA;AAED,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWxD,CAAA;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,CAAC,KAAK,CACrE,OAAO,6CAA6C,CACrD,CAAA;AAED,eAAO,MAAM,6CAA6C;;;;;;;;;EAGxD,CAAA;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,CAAC,KAAK,CACrE,OAAO,6CAA6C,CACrD,CAAA;AAED,eAAO,MAAM,yCAAyC;;;;;;EAEpD,CAAA;AAEF,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CACjE,OAAO,yCAAyC,CACjD,CAAA;AAED,eAAO,MAAM,sCAAsC;;;;;;;;;EAGjD,CAAA;AAEF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,sCAAsC,CAC9C,CAAA"}
|
@@ -1,11 +1,13 @@
|
|
1
1
|
import { z } from "zod";
|
2
2
|
export type AdminFulfillmentProvidersParamsType = z.infer<typeof AdminFulfillmentProvidersParams>;
|
3
3
|
export declare const AdminFulfillmentProvidersParams: z.ZodObject<{
|
4
|
-
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
5
4
|
fields: z.ZodOptional<z.ZodString>;
|
5
|
+
} & {
|
6
6
|
offset: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
7
7
|
limit: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
8
|
+
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
8
9
|
with_deleted: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, unknown>;
|
10
|
+
} & {
|
9
11
|
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
10
12
|
stock_location_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
11
13
|
is_enabled: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
@@ -14,21 +16,21 @@ export declare const AdminFulfillmentProvidersParams: z.ZodObject<{
|
|
14
16
|
offset: number;
|
15
17
|
limit: number;
|
16
18
|
order?: string | undefined;
|
19
|
+
id?: string | string[] | undefined;
|
17
20
|
fields?: string | undefined;
|
18
21
|
with_deleted?: boolean | undefined;
|
19
|
-
id?: string | string[] | undefined;
|
20
|
-
stock_location_id?: string | string[] | undefined;
|
21
|
-
is_enabled?: boolean | undefined;
|
22
22
|
q?: string | undefined;
|
23
|
+
is_enabled?: boolean | undefined;
|
24
|
+
stock_location_id?: string | string[] | undefined;
|
23
25
|
}, {
|
24
26
|
order?: string | undefined;
|
27
|
+
id?: string | string[] | undefined;
|
25
28
|
fields?: string | undefined;
|
26
29
|
offset?: unknown;
|
27
30
|
limit?: unknown;
|
28
31
|
with_deleted?: unknown;
|
29
|
-
id?: string | string[] | undefined;
|
30
|
-
stock_location_id?: string | string[] | undefined;
|
31
|
-
is_enabled?: string | boolean | undefined;
|
32
32
|
q?: string | undefined;
|
33
|
+
is_enabled?: string | boolean | undefined;
|
34
|
+
stock_location_id?: string | string[] | undefined;
|
33
35
|
}>;
|
34
36
|
//# sourceMappingURL=validators.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/fulfillment-providers/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,+BAA+B,CACvC,CAAA;AACD,eAAO,MAAM,+BAA+B
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/fulfillment-providers/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,+BAA+B,CACvC,CAAA;AACD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYjC,CAAA"}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import { z } from "zod";
|
2
2
|
export declare const geoZoneCountrySchema: z.ZodObject<{
|
3
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
4
3
|
country_code: z.ZodString;
|
4
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
5
|
+
} & {
|
5
6
|
type: z.ZodLiteral<"country">;
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
7
8
|
type: "country";
|
@@ -13,8 +14,9 @@ export declare const geoZoneCountrySchema: z.ZodObject<{
|
|
13
14
|
metadata?: Record<string, unknown> | null | undefined;
|
14
15
|
}>;
|
15
16
|
export declare const geoZoneProvinceSchema: z.ZodObject<{
|
16
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
17
17
|
country_code: z.ZodString;
|
18
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
19
|
+
} & {
|
18
20
|
type: z.ZodLiteral<"province">;
|
19
21
|
province_code: z.ZodString;
|
20
22
|
}, "strip", z.ZodTypeAny, {
|
@@ -29,8 +31,9 @@ export declare const geoZoneProvinceSchema: z.ZodObject<{
|
|
29
31
|
metadata?: Record<string, unknown> | null | undefined;
|
30
32
|
}>;
|
31
33
|
export declare const geoZoneCitySchema: z.ZodObject<{
|
32
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
33
34
|
country_code: z.ZodString;
|
35
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
36
|
+
} & {
|
34
37
|
type: z.ZodLiteral<"city">;
|
35
38
|
province_code: z.ZodString;
|
36
39
|
city: z.ZodString;
|
@@ -48,8 +51,9 @@ export declare const geoZoneCitySchema: z.ZodObject<{
|
|
48
51
|
metadata?: Record<string, unknown> | null | undefined;
|
49
52
|
}>;
|
50
53
|
export declare const geoZoneZipSchema: z.ZodObject<{
|
51
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
52
54
|
country_code: z.ZodString;
|
55
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
56
|
+
} & {
|
53
57
|
type: z.ZodLiteral<"zip">;
|
54
58
|
province_code: z.ZodString;
|
55
59
|
city: z.ZodString;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../../../src/api/admin/fulfillment-sets/validators/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,oBAAoB
|
1
|
+
{"version":3,"file":"geo-zone.d.ts","sourceRoot":"","sources":["../../../../../src/api/admin/fulfillment-sets/validators/geo-zone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAOvB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;EAIhC,CAAA;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;EAKjC,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;EAM7B,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;EAO5B,CAAA"}
|
@@ -10,8 +10,9 @@ export type AdminServiceZonesParamsType = z.infer<typeof AdminServiceZonesParams
|
|
10
10
|
export declare const AdminCreateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
11
11
|
name: z.ZodString;
|
12
12
|
geo_zones: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
13
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
14
13
|
country_code: z.ZodString;
|
14
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
15
|
+
} & {
|
15
16
|
type: z.ZodLiteral<"country">;
|
16
17
|
}, "strip", z.ZodTypeAny, {
|
17
18
|
type: "country";
|
@@ -22,8 +23,9 @@ export declare const AdminCreateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
|
22
23
|
country_code: string;
|
23
24
|
metadata?: Record<string, unknown> | null | undefined;
|
24
25
|
}>, z.ZodObject<{
|
25
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
26
26
|
country_code: z.ZodString;
|
27
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
28
|
+
} & {
|
27
29
|
type: z.ZodLiteral<"province">;
|
28
30
|
province_code: z.ZodString;
|
29
31
|
}, "strip", z.ZodTypeAny, {
|
@@ -37,8 +39,9 @@ export declare const AdminCreateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
|
37
39
|
province_code: string;
|
38
40
|
metadata?: Record<string, unknown> | null | undefined;
|
39
41
|
}>, z.ZodObject<{
|
40
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
41
42
|
country_code: z.ZodString;
|
43
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
44
|
+
} & {
|
42
45
|
type: z.ZodLiteral<"city">;
|
43
46
|
province_code: z.ZodString;
|
44
47
|
city: z.ZodString;
|
@@ -55,8 +58,9 @@ export declare const AdminCreateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
|
55
58
|
province_code: string;
|
56
59
|
metadata?: Record<string, unknown> | null | undefined;
|
57
60
|
}>, z.ZodObject<{
|
58
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
59
61
|
country_code: z.ZodString;
|
62
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
63
|
+
} & {
|
60
64
|
type: z.ZodLiteral<"zip">;
|
61
65
|
province_code: z.ZodString;
|
62
66
|
city: z.ZodString;
|
@@ -130,66 +134,74 @@ export declare const AdminCreateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
|
130
134
|
export declare const AdminUpdateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
131
135
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
132
136
|
geo_zones: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
133
|
-
type: z.ZodLiteral<"country">;
|
134
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
135
137
|
country_code: z.ZodString;
|
138
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
139
|
+
} & {
|
140
|
+
type: z.ZodLiteral<"country">;
|
141
|
+
} & {
|
136
142
|
id: z.ZodOptional<z.ZodString>;
|
137
143
|
}, "strip", z.ZodTypeAny, {
|
138
144
|
type: "country";
|
139
145
|
country_code: string;
|
140
|
-
metadata?: Record<string, unknown> | null | undefined;
|
141
146
|
id?: string | undefined;
|
147
|
+
metadata?: Record<string, unknown> | null | undefined;
|
142
148
|
}, {
|
143
149
|
type: "country";
|
144
150
|
country_code: string;
|
145
|
-
metadata?: Record<string, unknown> | null | undefined;
|
146
151
|
id?: string | undefined;
|
152
|
+
metadata?: Record<string, unknown> | null | undefined;
|
147
153
|
}>, z.ZodObject<{
|
148
|
-
type: z.ZodLiteral<"province">;
|
149
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
150
154
|
country_code: z.ZodString;
|
155
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
156
|
+
} & {
|
157
|
+
type: z.ZodLiteral<"province">;
|
151
158
|
province_code: z.ZodString;
|
159
|
+
} & {
|
152
160
|
id: z.ZodOptional<z.ZodString>;
|
153
161
|
}, "strip", z.ZodTypeAny, {
|
154
162
|
type: "province";
|
155
163
|
country_code: string;
|
156
164
|
province_code: string;
|
157
|
-
metadata?: Record<string, unknown> | null | undefined;
|
158
165
|
id?: string | undefined;
|
166
|
+
metadata?: Record<string, unknown> | null | undefined;
|
159
167
|
}, {
|
160
168
|
type: "province";
|
161
169
|
country_code: string;
|
162
170
|
province_code: string;
|
163
|
-
metadata?: Record<string, unknown> | null | undefined;
|
164
171
|
id?: string | undefined;
|
172
|
+
metadata?: Record<string, unknown> | null | undefined;
|
165
173
|
}>, z.ZodObject<{
|
166
|
-
type: z.ZodLiteral<"city">;
|
167
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
168
|
-
city: z.ZodString;
|
169
174
|
country_code: z.ZodString;
|
175
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
176
|
+
} & {
|
177
|
+
type: z.ZodLiteral<"city">;
|
170
178
|
province_code: z.ZodString;
|
179
|
+
city: z.ZodString;
|
180
|
+
} & {
|
171
181
|
id: z.ZodOptional<z.ZodString>;
|
172
182
|
}, "strip", z.ZodTypeAny, {
|
173
183
|
type: "city";
|
174
184
|
city: string;
|
175
185
|
country_code: string;
|
176
186
|
province_code: string;
|
177
|
-
metadata?: Record<string, unknown> | null | undefined;
|
178
187
|
id?: string | undefined;
|
188
|
+
metadata?: Record<string, unknown> | null | undefined;
|
179
189
|
}, {
|
180
190
|
type: "city";
|
181
191
|
city: string;
|
182
192
|
country_code: string;
|
183
193
|
province_code: string;
|
184
|
-
metadata?: Record<string, unknown> | null | undefined;
|
185
194
|
id?: string | undefined;
|
195
|
+
metadata?: Record<string, unknown> | null | undefined;
|
186
196
|
}>, z.ZodObject<{
|
187
|
-
type: z.ZodLiteral<"zip">;
|
188
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
189
|
-
city: z.ZodString;
|
190
197
|
country_code: z.ZodString;
|
198
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
199
|
+
} & {
|
200
|
+
type: z.ZodLiteral<"zip">;
|
191
201
|
province_code: z.ZodString;
|
202
|
+
city: z.ZodString;
|
192
203
|
postal_expression: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
204
|
+
} & {
|
193
205
|
id: z.ZodOptional<z.ZodString>;
|
194
206
|
}, "strip", z.ZodTypeAny, {
|
195
207
|
type: "zip";
|
@@ -197,74 +209,74 @@ export declare const AdminUpdateFulfillmentSetServiceZonesSchema: z.ZodObject<{
|
|
197
209
|
country_code: string;
|
198
210
|
province_code: string;
|
199
211
|
postal_expression: Record<string, unknown>;
|
200
|
-
metadata?: Record<string, unknown> | null | undefined;
|
201
212
|
id?: string | undefined;
|
213
|
+
metadata?: Record<string, unknown> | null | undefined;
|
202
214
|
}, {
|
203
215
|
type: "zip";
|
204
216
|
city: string;
|
205
217
|
country_code: string;
|
206
218
|
province_code: string;
|
207
219
|
postal_expression: Record<string, unknown>;
|
208
|
-
metadata?: Record<string, unknown> | null | undefined;
|
209
220
|
id?: string | undefined;
|
221
|
+
metadata?: Record<string, unknown> | null | undefined;
|
210
222
|
}>]>, "many">>;
|
211
223
|
}, "strict", z.ZodTypeAny, {
|
212
224
|
name?: string | null | undefined;
|
213
225
|
geo_zones?: ({
|
214
226
|
type: "country";
|
215
227
|
country_code: string;
|
216
|
-
metadata?: Record<string, unknown> | null | undefined;
|
217
228
|
id?: string | undefined;
|
229
|
+
metadata?: Record<string, unknown> | null | undefined;
|
218
230
|
} | {
|
219
231
|
type: "province";
|
220
232
|
country_code: string;
|
221
233
|
province_code: string;
|
222
|
-
metadata?: Record<string, unknown> | null | undefined;
|
223
234
|
id?: string | undefined;
|
235
|
+
metadata?: Record<string, unknown> | null | undefined;
|
224
236
|
} | {
|
225
237
|
type: "city";
|
226
238
|
city: string;
|
227
239
|
country_code: string;
|
228
240
|
province_code: string;
|
229
|
-
metadata?: Record<string, unknown> | null | undefined;
|
230
241
|
id?: string | undefined;
|
242
|
+
metadata?: Record<string, unknown> | null | undefined;
|
231
243
|
} | {
|
232
244
|
type: "zip";
|
233
245
|
city: string;
|
234
246
|
country_code: string;
|
235
247
|
province_code: string;
|
236
248
|
postal_expression: Record<string, unknown>;
|
237
|
-
metadata?: Record<string, unknown> | null | undefined;
|
238
249
|
id?: string | undefined;
|
250
|
+
metadata?: Record<string, unknown> | null | undefined;
|
239
251
|
})[] | undefined;
|
240
252
|
}, {
|
241
253
|
name?: string | null | undefined;
|
242
254
|
geo_zones?: ({
|
243
255
|
type: "country";
|
244
256
|
country_code: string;
|
245
|
-
metadata?: Record<string, unknown> | null | undefined;
|
246
257
|
id?: string | undefined;
|
258
|
+
metadata?: Record<string, unknown> | null | undefined;
|
247
259
|
} | {
|
248
260
|
type: "province";
|
249
261
|
country_code: string;
|
250
262
|
province_code: string;
|
251
|
-
metadata?: Record<string, unknown> | null | undefined;
|
252
263
|
id?: string | undefined;
|
264
|
+
metadata?: Record<string, unknown> | null | undefined;
|
253
265
|
} | {
|
254
266
|
type: "city";
|
255
267
|
city: string;
|
256
268
|
country_code: string;
|
257
269
|
province_code: string;
|
258
|
-
metadata?: Record<string, unknown> | null | undefined;
|
259
270
|
id?: string | undefined;
|
271
|
+
metadata?: Record<string, unknown> | null | undefined;
|
260
272
|
} | {
|
261
273
|
type: "zip";
|
262
274
|
city: string;
|
263
275
|
country_code: string;
|
264
276
|
province_code: string;
|
265
277
|
postal_expression: Record<string, unknown>;
|
266
|
-
metadata?: Record<string, unknown> | null | undefined;
|
267
278
|
id?: string | undefined;
|
279
|
+
metadata?: Record<string, unknown> | null | undefined;
|
268
280
|
})[] | undefined;
|
269
281
|
}>;
|
270
282
|
export declare const AdminFulfillmentSetParams: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/fulfillment-sets/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,uBAAuB;;;;;;EAAuB,CAAA;AAC3D,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,uBAAuB,CAC/B,CAAA;AAED,eAAO,MAAM,2CAA2C
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/fulfillment-sets/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AASvB,eAAO,MAAM,uBAAuB;;;;;;EAAuB,CAAA;AAC3D,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,uBAAuB,CAC/B,CAAA;AAED,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc7C,CAAA;AAEX,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc7C,CAAA;AAEX,eAAO,MAAM,yBAAyB;;;;;;EAAuB,CAAA;AAE7D,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,2CAA2C,CACnD,CAAA;AACD,MAAM,MAAM,yCAAyC,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,2CAA2C,CACnD,CAAA;AACD,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,yBAAyB,CACjC,CAAA"}
|