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