@8medusa/medusa 2.12.0 → 2.12.3
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/draft-orders/validators.d.ts +4 -4
- package/dist/api/admin/products/validators.d.ts +12 -12
- package/dist/api/admin/promotions/validators.d.ts +32 -35
- package/dist/api/admin/promotions/validators.d.ts.map +1 -1
- package/dist/api/admin/promotions/validators.js +0 -1
- package/dist/api/admin/promotions/validators.js.map +1 -1
- package/dist/api/admin/shipping-options/validators.d.ts +74 -74
- package/package.json +6 -6
|
@@ -200,8 +200,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
|
200
200
|
precision: number;
|
|
201
201
|
}>]>;
|
|
202
202
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
name: string;
|
|
204
203
|
shipping_option_id: string;
|
|
204
|
+
name: string;
|
|
205
205
|
amount: (string | number | {
|
|
206
206
|
value: string;
|
|
207
207
|
precision: number;
|
|
@@ -212,8 +212,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
|
212
212
|
shipping_method_id?: string | null | undefined;
|
|
213
213
|
data?: Record<string, unknown> | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
name: string;
|
|
216
215
|
shipping_option_id: string;
|
|
216
|
+
name: string;
|
|
217
217
|
amount: (string | number | {
|
|
218
218
|
value: string;
|
|
219
219
|
precision: number;
|
|
@@ -275,8 +275,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
|
275
275
|
currency_code?: string | null | undefined;
|
|
276
276
|
no_notification_order?: boolean | undefined;
|
|
277
277
|
shipping_methods?: {
|
|
278
|
-
name: string;
|
|
279
278
|
shipping_option_id: string;
|
|
279
|
+
name: string;
|
|
280
280
|
amount: (string | number | {
|
|
281
281
|
value: string;
|
|
282
282
|
precision: number;
|
|
@@ -338,8 +338,8 @@ declare const CreateDraftOrder: z.ZodObject<{
|
|
|
338
338
|
currency_code?: string | null | undefined;
|
|
339
339
|
no_notification_order?: boolean | undefined;
|
|
340
340
|
shipping_methods?: {
|
|
341
|
-
name: string;
|
|
342
341
|
shipping_option_id: string;
|
|
342
|
+
name: string;
|
|
343
343
|
amount: (string | number | {
|
|
344
344
|
value: string;
|
|
345
345
|
precision: number;
|
|
@@ -959,8 +959,6 @@ export type AdminBatchUpdateProductVariantType = z.infer<typeof AdminBatchUpdate
|
|
|
959
959
|
export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
960
960
|
length: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
961
961
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
962
|
-
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
963
|
-
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
964
962
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
965
963
|
prices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
966
964
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -993,6 +991,8 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
|
993
991
|
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
992
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
995
993
|
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
994
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
995
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
996
996
|
ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
997
997
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
998
998
|
manage_inventory: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
|
@@ -1002,8 +1002,6 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
|
1002
1002
|
id: string;
|
|
1003
1003
|
length?: number | null | undefined;
|
|
1004
1004
|
options?: Record<string, string> | undefined;
|
|
1005
|
-
height?: number | null | undefined;
|
|
1006
|
-
width?: number | null | undefined;
|
|
1007
1005
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1008
1006
|
prices?: {
|
|
1009
1007
|
id?: string | undefined;
|
|
@@ -1022,6 +1020,8 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
|
1022
1020
|
mid_code?: string | null | undefined;
|
|
1023
1021
|
material?: string | null | undefined;
|
|
1024
1022
|
weight?: number | null | undefined;
|
|
1023
|
+
height?: number | null | undefined;
|
|
1024
|
+
width?: number | null | undefined;
|
|
1025
1025
|
ean?: string | null | undefined;
|
|
1026
1026
|
upc?: string | null | undefined;
|
|
1027
1027
|
manage_inventory?: boolean | undefined;
|
|
@@ -1030,8 +1030,6 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
|
1030
1030
|
id: string;
|
|
1031
1031
|
length?: number | null | undefined;
|
|
1032
1032
|
options?: Record<string, string> | undefined;
|
|
1033
|
-
height?: number | null | undefined;
|
|
1034
|
-
width?: number | null | undefined;
|
|
1035
1033
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1036
1034
|
prices?: {
|
|
1037
1035
|
id?: string | undefined;
|
|
@@ -1050,6 +1048,8 @@ export declare const AdminBatchUpdateProductVariant: z.ZodObject<{
|
|
|
1050
1048
|
mid_code?: string | null | undefined;
|
|
1051
1049
|
material?: string | null | undefined;
|
|
1052
1050
|
weight?: number | null | undefined;
|
|
1051
|
+
height?: number | null | undefined;
|
|
1052
|
+
width?: number | null | undefined;
|
|
1053
1053
|
ean?: string | null | undefined;
|
|
1054
1054
|
upc?: string | null | undefined;
|
|
1055
1055
|
manage_inventory?: string | boolean | undefined;
|
|
@@ -1697,8 +1697,6 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1697
1697
|
title?: string | undefined;
|
|
1698
1698
|
values?: string[] | undefined;
|
|
1699
1699
|
}>, "many">>;
|
|
1700
|
-
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1701
|
-
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1702
1700
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1703
1701
|
id: z.ZodOptional<z.ZodString>;
|
|
1704
1702
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -1814,6 +1812,8 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1814
1812
|
mid_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1815
1813
|
material: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1816
1814
|
weight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1815
|
+
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1816
|
+
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1817
1817
|
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1818
1818
|
discountable: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodString]>, string | boolean, string | boolean>, boolean, string | boolean>>;
|
|
1819
1819
|
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1853,8 +1853,6 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1853
1853
|
title?: string | undefined;
|
|
1854
1854
|
values?: string[] | undefined;
|
|
1855
1855
|
}[] | undefined;
|
|
1856
|
-
height?: number | null | undefined;
|
|
1857
|
-
width?: number | null | undefined;
|
|
1858
1856
|
variants?: {
|
|
1859
1857
|
id?: string | undefined;
|
|
1860
1858
|
title?: string | undefined;
|
|
@@ -1900,6 +1898,8 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1900
1898
|
mid_code?: string | null | undefined;
|
|
1901
1899
|
material?: string | null | undefined;
|
|
1902
1900
|
weight?: number | null | undefined;
|
|
1901
|
+
height?: number | null | undefined;
|
|
1902
|
+
width?: number | null | undefined;
|
|
1903
1903
|
subtitle?: string | null | undefined;
|
|
1904
1904
|
discountable?: boolean | undefined;
|
|
1905
1905
|
categories?: {
|
|
@@ -1922,8 +1922,6 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1922
1922
|
title?: string | undefined;
|
|
1923
1923
|
values?: string[] | undefined;
|
|
1924
1924
|
}[] | undefined;
|
|
1925
|
-
height?: number | null | undefined;
|
|
1926
|
-
width?: number | null | undefined;
|
|
1927
1925
|
variants?: {
|
|
1928
1926
|
id?: string | undefined;
|
|
1929
1927
|
title?: string | undefined;
|
|
@@ -1969,6 +1967,8 @@ export declare const AdminBatchUpdateProduct: z.ZodObject<{
|
|
|
1969
1967
|
mid_code?: string | null | undefined;
|
|
1970
1968
|
material?: string | null | undefined;
|
|
1971
1969
|
weight?: number | null | undefined;
|
|
1970
|
+
height?: number | null | undefined;
|
|
1971
|
+
width?: number | null | undefined;
|
|
1972
1972
|
subtitle?: string | null | undefined;
|
|
1973
1973
|
discountable?: string | boolean | undefined;
|
|
1974
1974
|
categories?: {
|
|
@@ -291,13 +291,13 @@ export declare const AdminCreatePromotionRule: z.ZodObject<{
|
|
|
291
291
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
292
292
|
}, "strict", z.ZodTypeAny, {
|
|
293
293
|
values: (string | string[]) & (string | string[] | undefined);
|
|
294
|
-
operator: PromotionRuleOperator;
|
|
295
294
|
attribute: string;
|
|
295
|
+
operator: PromotionRuleOperator;
|
|
296
296
|
description?: string | null | undefined;
|
|
297
297
|
}, {
|
|
298
298
|
values: (string | string[]) & (string | string[] | undefined);
|
|
299
|
-
operator: PromotionRuleOperator;
|
|
300
299
|
attribute: string;
|
|
300
|
+
operator: PromotionRuleOperator;
|
|
301
301
|
description?: string | null | undefined;
|
|
302
302
|
}>;
|
|
303
303
|
export type AdminUpdatePromotionRuleType = z.infer<typeof AdminUpdatePromotionRule>;
|
|
@@ -336,13 +336,13 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
|
336
336
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
337
337
|
}, "strict", z.ZodTypeAny, {
|
|
338
338
|
values: (string | string[]) & (string | string[] | undefined);
|
|
339
|
-
operator: PromotionRuleOperator;
|
|
340
339
|
attribute: string;
|
|
340
|
+
operator: PromotionRuleOperator;
|
|
341
341
|
description?: string | null | undefined;
|
|
342
342
|
}, {
|
|
343
343
|
values: (string | string[]) & (string | string[] | undefined);
|
|
344
|
-
operator: PromotionRuleOperator;
|
|
345
344
|
attribute: string;
|
|
345
|
+
operator: PromotionRuleOperator;
|
|
346
346
|
description?: string | null | undefined;
|
|
347
347
|
}>, "many">>;
|
|
348
348
|
buy_rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -352,20 +352,20 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
|
352
352
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
353
353
|
}, "strict", z.ZodTypeAny, {
|
|
354
354
|
values: (string | string[]) & (string | string[] | undefined);
|
|
355
|
-
operator: PromotionRuleOperator;
|
|
356
355
|
attribute: string;
|
|
356
|
+
operator: PromotionRuleOperator;
|
|
357
357
|
description?: string | null | undefined;
|
|
358
358
|
}, {
|
|
359
359
|
values: (string | string[]) & (string | string[] | undefined);
|
|
360
|
-
operator: PromotionRuleOperator;
|
|
361
360
|
attribute: string;
|
|
361
|
+
operator: PromotionRuleOperator;
|
|
362
362
|
description?: string | null | undefined;
|
|
363
363
|
}>, "many">>;
|
|
364
364
|
apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
365
365
|
buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
366
366
|
}, "strict", z.ZodTypeAny, {
|
|
367
|
-
value: number;
|
|
368
367
|
type: ApplicationMethodType;
|
|
368
|
+
value: number;
|
|
369
369
|
target_type: ApplicationMethodTargetType;
|
|
370
370
|
description?: string | null | undefined;
|
|
371
371
|
currency_code?: string | null | undefined;
|
|
@@ -373,21 +373,21 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
|
373
373
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
374
374
|
target_rules?: {
|
|
375
375
|
values: (string | string[]) & (string | string[] | undefined);
|
|
376
|
-
operator: PromotionRuleOperator;
|
|
377
376
|
attribute: string;
|
|
377
|
+
operator: PromotionRuleOperator;
|
|
378
378
|
description?: string | null | undefined;
|
|
379
379
|
}[] | undefined;
|
|
380
380
|
buy_rules?: {
|
|
381
381
|
values: (string | string[]) & (string | string[] | undefined);
|
|
382
|
-
operator: PromotionRuleOperator;
|
|
383
382
|
attribute: string;
|
|
383
|
+
operator: PromotionRuleOperator;
|
|
384
384
|
description?: string | null | undefined;
|
|
385
385
|
}[] | undefined;
|
|
386
386
|
apply_to_quantity?: number | null | undefined;
|
|
387
387
|
buy_rules_min_quantity?: number | null | undefined;
|
|
388
388
|
}, {
|
|
389
|
-
value: number;
|
|
390
389
|
type: ApplicationMethodType;
|
|
390
|
+
value: number;
|
|
391
391
|
target_type: ApplicationMethodTargetType;
|
|
392
392
|
description?: string | null | undefined;
|
|
393
393
|
currency_code?: string | null | undefined;
|
|
@@ -395,14 +395,14 @@ export declare const AdminCreateApplicationMethod: z.ZodObject<{
|
|
|
395
395
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
396
396
|
target_rules?: {
|
|
397
397
|
values: (string | string[]) & (string | string[] | undefined);
|
|
398
|
-
operator: PromotionRuleOperator;
|
|
399
398
|
attribute: string;
|
|
399
|
+
operator: PromotionRuleOperator;
|
|
400
400
|
description?: string | null | undefined;
|
|
401
401
|
}[] | undefined;
|
|
402
402
|
buy_rules?: {
|
|
403
403
|
values: (string | string[]) & (string | string[] | undefined);
|
|
404
|
-
operator: PromotionRuleOperator;
|
|
405
404
|
attribute: string;
|
|
405
|
+
operator: PromotionRuleOperator;
|
|
406
406
|
description?: string | null | undefined;
|
|
407
407
|
}[] | undefined;
|
|
408
408
|
apply_to_quantity?: number | null | undefined;
|
|
@@ -521,13 +521,13 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
521
521
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
522
522
|
}, "strict", z.ZodTypeAny, {
|
|
523
523
|
values: (string | string[]) & (string | string[] | undefined);
|
|
524
|
-
operator: PromotionRuleOperator;
|
|
525
524
|
attribute: string;
|
|
525
|
+
operator: PromotionRuleOperator;
|
|
526
526
|
description?: string | null | undefined;
|
|
527
527
|
}, {
|
|
528
528
|
values: (string | string[]) & (string | string[] | undefined);
|
|
529
|
-
operator: PromotionRuleOperator;
|
|
530
529
|
attribute: string;
|
|
530
|
+
operator: PromotionRuleOperator;
|
|
531
531
|
description?: string | null | undefined;
|
|
532
532
|
}>, "many">>;
|
|
533
533
|
buy_rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -537,20 +537,20 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
537
537
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
538
538
|
}, "strict", z.ZodTypeAny, {
|
|
539
539
|
values: (string | string[]) & (string | string[] | undefined);
|
|
540
|
-
operator: PromotionRuleOperator;
|
|
541
540
|
attribute: string;
|
|
541
|
+
operator: PromotionRuleOperator;
|
|
542
542
|
description?: string | null | undefined;
|
|
543
543
|
}, {
|
|
544
544
|
values: (string | string[]) & (string | string[] | undefined);
|
|
545
|
-
operator: PromotionRuleOperator;
|
|
546
545
|
attribute: string;
|
|
546
|
+
operator: PromotionRuleOperator;
|
|
547
547
|
description?: string | null | undefined;
|
|
548
548
|
}>, "many">>;
|
|
549
549
|
apply_to_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
550
550
|
buy_rules_min_quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
551
551
|
}, "strict", z.ZodTypeAny, {
|
|
552
|
-
value: number;
|
|
553
552
|
type: ApplicationMethodType;
|
|
553
|
+
value: number;
|
|
554
554
|
target_type: ApplicationMethodTargetType;
|
|
555
555
|
description?: string | null | undefined;
|
|
556
556
|
currency_code?: string | null | undefined;
|
|
@@ -558,21 +558,21 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
558
558
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
559
559
|
target_rules?: {
|
|
560
560
|
values: (string | string[]) & (string | string[] | undefined);
|
|
561
|
-
operator: PromotionRuleOperator;
|
|
562
561
|
attribute: string;
|
|
562
|
+
operator: PromotionRuleOperator;
|
|
563
563
|
description?: string | null | undefined;
|
|
564
564
|
}[] | undefined;
|
|
565
565
|
buy_rules?: {
|
|
566
566
|
values: (string | string[]) & (string | string[] | undefined);
|
|
567
|
-
operator: PromotionRuleOperator;
|
|
568
567
|
attribute: string;
|
|
568
|
+
operator: PromotionRuleOperator;
|
|
569
569
|
description?: string | null | undefined;
|
|
570
570
|
}[] | undefined;
|
|
571
571
|
apply_to_quantity?: number | null | undefined;
|
|
572
572
|
buy_rules_min_quantity?: number | null | undefined;
|
|
573
573
|
}, {
|
|
574
|
-
value: number;
|
|
575
574
|
type: ApplicationMethodType;
|
|
575
|
+
value: number;
|
|
576
576
|
target_type: ApplicationMethodTargetType;
|
|
577
577
|
description?: string | null | undefined;
|
|
578
578
|
currency_code?: string | null | undefined;
|
|
@@ -580,14 +580,14 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
580
580
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
581
581
|
target_rules?: {
|
|
582
582
|
values: (string | string[]) & (string | string[] | undefined);
|
|
583
|
-
operator: PromotionRuleOperator;
|
|
584
583
|
attribute: string;
|
|
584
|
+
operator: PromotionRuleOperator;
|
|
585
585
|
description?: string | null | undefined;
|
|
586
586
|
}[] | undefined;
|
|
587
587
|
buy_rules?: {
|
|
588
588
|
values: (string | string[]) & (string | string[] | undefined);
|
|
589
|
-
operator: PromotionRuleOperator;
|
|
590
589
|
attribute: string;
|
|
590
|
+
operator: PromotionRuleOperator;
|
|
591
591
|
description?: string | null | undefined;
|
|
592
592
|
}[] | undefined;
|
|
593
593
|
apply_to_quantity?: number | null | undefined;
|
|
@@ -600,13 +600,13 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
600
600
|
values: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
601
601
|
}, "strict", z.ZodTypeAny, {
|
|
602
602
|
values: (string | string[]) & (string | string[] | undefined);
|
|
603
|
-
operator: PromotionRuleOperator;
|
|
604
603
|
attribute: string;
|
|
604
|
+
operator: PromotionRuleOperator;
|
|
605
605
|
description?: string | null | undefined;
|
|
606
606
|
}, {
|
|
607
607
|
values: (string | string[]) & (string | string[] | undefined);
|
|
608
|
-
operator: PromotionRuleOperator;
|
|
609
608
|
attribute: string;
|
|
609
|
+
operator: PromotionRuleOperator;
|
|
610
610
|
description?: string | null | undefined;
|
|
611
611
|
}>, "many">>;
|
|
612
612
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -614,8 +614,8 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
614
614
|
code: string;
|
|
615
615
|
status: PromotionStatus;
|
|
616
616
|
application_method: {
|
|
617
|
-
value: number;
|
|
618
617
|
type: ApplicationMethodType;
|
|
618
|
+
value: number;
|
|
619
619
|
target_type: ApplicationMethodTargetType;
|
|
620
620
|
description?: string | null | undefined;
|
|
621
621
|
currency_code?: string | null | undefined;
|
|
@@ -623,14 +623,14 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
623
623
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
624
624
|
target_rules?: {
|
|
625
625
|
values: (string | string[]) & (string | string[] | undefined);
|
|
626
|
-
operator: PromotionRuleOperator;
|
|
627
626
|
attribute: string;
|
|
627
|
+
operator: PromotionRuleOperator;
|
|
628
628
|
description?: string | null | undefined;
|
|
629
629
|
}[] | undefined;
|
|
630
630
|
buy_rules?: {
|
|
631
631
|
values: (string | string[]) & (string | string[] | undefined);
|
|
632
|
-
operator: PromotionRuleOperator;
|
|
633
632
|
attribute: string;
|
|
633
|
+
operator: PromotionRuleOperator;
|
|
634
634
|
description?: string | null | undefined;
|
|
635
635
|
}[] | undefined;
|
|
636
636
|
apply_to_quantity?: number | null | undefined;
|
|
@@ -653,16 +653,16 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
653
653
|
} | undefined;
|
|
654
654
|
rules?: {
|
|
655
655
|
values: (string | string[]) & (string | string[] | undefined);
|
|
656
|
-
operator: PromotionRuleOperator;
|
|
657
656
|
attribute: string;
|
|
657
|
+
operator: PromotionRuleOperator;
|
|
658
658
|
description?: string | null | undefined;
|
|
659
659
|
}[] | undefined;
|
|
660
660
|
}, {
|
|
661
661
|
type: PromotionType;
|
|
662
662
|
code: string;
|
|
663
663
|
application_method: {
|
|
664
|
-
value: number;
|
|
665
664
|
type: ApplicationMethodType;
|
|
665
|
+
value: number;
|
|
666
666
|
target_type: ApplicationMethodTargetType;
|
|
667
667
|
description?: string | null | undefined;
|
|
668
668
|
currency_code?: string | null | undefined;
|
|
@@ -670,14 +670,14 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
670
670
|
allocation?: ApplicationMethodAllocation | undefined;
|
|
671
671
|
target_rules?: {
|
|
672
672
|
values: (string | string[]) & (string | string[] | undefined);
|
|
673
|
-
operator: PromotionRuleOperator;
|
|
674
673
|
attribute: string;
|
|
674
|
+
operator: PromotionRuleOperator;
|
|
675
675
|
description?: string | null | undefined;
|
|
676
676
|
}[] | undefined;
|
|
677
677
|
buy_rules?: {
|
|
678
678
|
values: (string | string[]) & (string | string[] | undefined);
|
|
679
|
-
operator: PromotionRuleOperator;
|
|
680
679
|
attribute: string;
|
|
680
|
+
operator: PromotionRuleOperator;
|
|
681
681
|
description?: string | null | undefined;
|
|
682
682
|
}[] | undefined;
|
|
683
683
|
apply_to_quantity?: number | null | undefined;
|
|
@@ -701,8 +701,8 @@ export declare const CreatePromotion: z.ZodObject<{
|
|
|
701
701
|
} | undefined;
|
|
702
702
|
rules?: {
|
|
703
703
|
values: (string | string[]) & (string | string[] | undefined);
|
|
704
|
-
operator: PromotionRuleOperator;
|
|
705
704
|
attribute: string;
|
|
705
|
+
operator: PromotionRuleOperator;
|
|
706
706
|
description?: string | null | undefined;
|
|
707
707
|
}[] | undefined;
|
|
708
708
|
}>;
|
|
@@ -715,7 +715,6 @@ export type AdminUpdatePromotionType = z.infer<typeof UpdatePromotion>;
|
|
|
715
715
|
export declare const UpdatePromotion: z.ZodObject<{
|
|
716
716
|
code: z.ZodOptional<z.ZodString>;
|
|
717
717
|
is_automatic: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
-
is_tax_inclusive: z.ZodOptional<z.ZodBoolean>;
|
|
719
718
|
type: z.ZodOptional<z.ZodNativeEnum<typeof PromotionType>>;
|
|
720
719
|
status: z.ZodOptional<z.ZodNativeEnum<typeof PromotionStatus>>;
|
|
721
720
|
campaign_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -753,7 +752,6 @@ export declare const UpdatePromotion: z.ZodObject<{
|
|
|
753
752
|
}, "strict", z.ZodTypeAny, {
|
|
754
753
|
code?: string | undefined;
|
|
755
754
|
is_automatic?: boolean | undefined;
|
|
756
|
-
is_tax_inclusive?: boolean | undefined;
|
|
757
755
|
type?: PromotionType | undefined;
|
|
758
756
|
status?: PromotionStatus | undefined;
|
|
759
757
|
campaign_id?: string | null | undefined;
|
|
@@ -771,7 +769,6 @@ export declare const UpdatePromotion: z.ZodObject<{
|
|
|
771
769
|
}, {
|
|
772
770
|
code?: string | undefined;
|
|
773
771
|
is_automatic?: boolean | undefined;
|
|
774
|
-
is_tax_inclusive?: boolean | undefined;
|
|
775
772
|
type?: PromotionType | undefined;
|
|
776
773
|
status?: PromotionStatus | undefined;
|
|
777
774
|
campaign_id?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/promotions/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,aAAa,EACd,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,uBAAuB,CAC/B,CAAA;AACD,eAAO,MAAM,uBAAuB;;;;;;EAAuB,CAAA;AAE3D,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAczC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,wBAAwB,CAChC,CAAA;AACD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1B,CAAA;AAEX,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,2BAA2B,CACnC,CAAA;AACD,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA;AAEF,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,+BAA+B,CACvC,CAAA;AACD,eAAO,MAAM,+BAA+B;;;;;;;;;;;;EAK3C,CAAA;AAED,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,iCA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,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AACtE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjB,CAAA;AAEX,eAAO,MAAM,oBAAoB;;;;gCAQhC,CAAA"}
|
|
@@ -123,7 +123,6 @@ exports.UpdatePromotion = zod_1.z
|
|
|
123
123
|
.object({
|
|
124
124
|
code: zod_1.z.string().optional(),
|
|
125
125
|
is_automatic: zod_1.z.boolean().optional(),
|
|
126
|
-
is_tax_inclusive: zod_1.z.boolean().optional(),
|
|
127
126
|
type: zod_1.z.nativeEnum(utils_1.PromotionType).optional(),
|
|
128
127
|
status: zod_1.z.nativeEnum(utils_1.PromotionStatus).optional(),
|
|
129
128
|
campaign_id: zod_1.z.string().nullish(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/admin/promotions/validators.ts"],"names":[],"mappings":";;;AAAA,oDAOiC;AACjC,6BAAuB;AACvB,qEAAsE;AACtE,uDAK+B;AAC/B,wDAAwD;AAK3C,QAAA,uBAAuB,GAAG,IAAA,+BAAkB,GAAE,CAAA;AAE9C,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,CAAC,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxB,IAAI,EAAE,OAAC;SACJ,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,EAAE,IAAA,8BAAiB,GAAE,CAAC,CAAC;SAC7D,QAAQ,EAAE;IACb,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CA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AGY,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,OAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC,QAAQ,EAAE;IAC5C,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,uBAAe,CAAC,CAAC,QAAQ,EAAE;IAChD,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACjC,kBAAkB,EAAE,oCAA4B,CAAC,QAAQ,EAAE;CAC5D,CAAC;KACD,MAAM,EAAE,CAAA;AAEE,QAAA,oBAAoB,GAAG,IAAA,+BAAkB,EACpD,uBAAe,EACf,CAAC,MAAM,EAAE,EAAE;IACT,OAAO,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE;QACpC,OAAO,EACL,8EAA8E;KACjF,CAAC,CAAA;AACJ,CAAC,CACF,CAAA"}
|
|
@@ -196,12 +196,12 @@ export declare const AdminCreateShippingOptionRule: z.ZodObject<{
|
|
|
196
196
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
197
197
|
}, "strict", z.ZodTypeAny, {
|
|
198
198
|
value: (string | string[]) & (string | string[] | undefined);
|
|
199
|
-
operator: RuleOperator;
|
|
200
199
|
attribute: string;
|
|
200
|
+
operator: RuleOperator;
|
|
201
201
|
}, {
|
|
202
202
|
value: (string | string[]) & (string | string[] | undefined);
|
|
203
|
-
operator: RuleOperator;
|
|
204
203
|
attribute: string;
|
|
204
|
+
operator: RuleOperator;
|
|
205
205
|
}>;
|
|
206
206
|
export type AdminUpdateShippingOptionRuleType = z.infer<typeof AdminUpdateShippingOptionRule>;
|
|
207
207
|
export declare const AdminUpdateShippingOptionRule: z.ZodObject<{
|
|
@@ -210,15 +210,15 @@ export declare const AdminUpdateShippingOptionRule: z.ZodObject<{
|
|
|
210
210
|
attribute: z.ZodString;
|
|
211
211
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
212
212
|
}, "strict", z.ZodTypeAny, {
|
|
213
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
214
213
|
id: string;
|
|
215
|
-
|
|
214
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
216
215
|
attribute: string;
|
|
216
|
+
operator: RuleOperator;
|
|
217
217
|
}, {
|
|
218
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
219
218
|
id: string;
|
|
220
|
-
|
|
219
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
221
220
|
attribute: string;
|
|
221
|
+
operator: RuleOperator;
|
|
222
222
|
}>;
|
|
223
223
|
/**
|
|
224
224
|
* SHIPPING OPTIONS
|
|
@@ -228,13 +228,13 @@ export declare const AdminCreateShippingOptionTypeObject: z.ZodObject<{
|
|
|
228
228
|
description: z.ZodString;
|
|
229
229
|
code: z.ZodString;
|
|
230
230
|
}, "strict", z.ZodTypeAny, {
|
|
231
|
-
label: string;
|
|
232
231
|
description: string;
|
|
233
232
|
code: string;
|
|
234
|
-
}, {
|
|
235
233
|
label: string;
|
|
234
|
+
}, {
|
|
236
235
|
description: string;
|
|
237
236
|
code: string;
|
|
237
|
+
label: string;
|
|
238
238
|
}>;
|
|
239
239
|
export declare const AdminCreateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
240
240
|
currency_code: z.ZodString;
|
|
@@ -245,28 +245,28 @@ export declare const AdminCreateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
245
245
|
value: z.ZodNumber;
|
|
246
246
|
}, "strip", z.ZodTypeAny, {
|
|
247
247
|
value: number;
|
|
248
|
-
operator: PricingRuleOperator;
|
|
249
248
|
attribute: "item_total";
|
|
249
|
+
operator: PricingRuleOperator;
|
|
250
250
|
}, {
|
|
251
251
|
value: number;
|
|
252
|
-
operator: PricingRuleOperator;
|
|
253
252
|
attribute: "item_total";
|
|
253
|
+
operator: PricingRuleOperator;
|
|
254
254
|
}>, "many">>;
|
|
255
255
|
}, "strict", z.ZodTypeAny, {
|
|
256
256
|
amount: number;
|
|
257
257
|
currency_code: string;
|
|
258
258
|
rules?: {
|
|
259
259
|
value: number;
|
|
260
|
-
operator: PricingRuleOperator;
|
|
261
260
|
attribute: "item_total";
|
|
261
|
+
operator: PricingRuleOperator;
|
|
262
262
|
}[] | undefined;
|
|
263
263
|
}, {
|
|
264
264
|
amount: number;
|
|
265
265
|
currency_code: string;
|
|
266
266
|
rules?: {
|
|
267
267
|
value: number;
|
|
268
|
-
operator: PricingRuleOperator;
|
|
269
268
|
attribute: "item_total";
|
|
269
|
+
operator: PricingRuleOperator;
|
|
270
270
|
}[] | undefined;
|
|
271
271
|
}>;
|
|
272
272
|
export declare const AdminCreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
@@ -278,28 +278,28 @@ export declare const AdminCreateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
278
278
|
value: z.ZodNumber;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
280
|
value: number;
|
|
281
|
-
operator: PricingRuleOperator;
|
|
282
281
|
attribute: "item_total";
|
|
282
|
+
operator: PricingRuleOperator;
|
|
283
283
|
}, {
|
|
284
284
|
value: number;
|
|
285
|
-
operator: PricingRuleOperator;
|
|
286
285
|
attribute: "item_total";
|
|
286
|
+
operator: PricingRuleOperator;
|
|
287
287
|
}>, "many">>;
|
|
288
288
|
}, "strict", z.ZodTypeAny, {
|
|
289
289
|
amount: number;
|
|
290
290
|
region_id: string;
|
|
291
291
|
rules?: {
|
|
292
292
|
value: number;
|
|
293
|
-
operator: PricingRuleOperator;
|
|
294
293
|
attribute: "item_total";
|
|
294
|
+
operator: PricingRuleOperator;
|
|
295
295
|
}[] | undefined;
|
|
296
296
|
}, {
|
|
297
297
|
amount: number;
|
|
298
298
|
region_id: string;
|
|
299
299
|
rules?: {
|
|
300
300
|
value: number;
|
|
301
|
-
operator: PricingRuleOperator;
|
|
302
301
|
attribute: "item_total";
|
|
302
|
+
operator: PricingRuleOperator;
|
|
303
303
|
}[] | undefined;
|
|
304
304
|
}>;
|
|
305
305
|
export declare const AdminUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
@@ -312,12 +312,12 @@ export declare const AdminUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
312
312
|
value: z.ZodNumber;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
314
|
value: number;
|
|
315
|
-
operator: PricingRuleOperator;
|
|
316
315
|
attribute: "item_total";
|
|
316
|
+
operator: PricingRuleOperator;
|
|
317
317
|
}, {
|
|
318
318
|
value: number;
|
|
319
|
-
operator: PricingRuleOperator;
|
|
320
319
|
attribute: "item_total";
|
|
320
|
+
operator: PricingRuleOperator;
|
|
321
321
|
}>, "many">>;
|
|
322
322
|
}, "strict", z.ZodTypeAny, {
|
|
323
323
|
id?: string | undefined;
|
|
@@ -325,8 +325,8 @@ export declare const AdminUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
325
325
|
amount?: number | undefined;
|
|
326
326
|
rules?: {
|
|
327
327
|
value: number;
|
|
328
|
-
operator: PricingRuleOperator;
|
|
329
328
|
attribute: "item_total";
|
|
329
|
+
operator: PricingRuleOperator;
|
|
330
330
|
}[] | undefined;
|
|
331
331
|
}, {
|
|
332
332
|
id?: string | undefined;
|
|
@@ -334,8 +334,8 @@ export declare const AdminUpdateShippingOptionPriceWithCurrency: z.ZodObject<{
|
|
|
334
334
|
amount?: number | undefined;
|
|
335
335
|
rules?: {
|
|
336
336
|
value: number;
|
|
337
|
-
operator: PricingRuleOperator;
|
|
338
337
|
attribute: "item_total";
|
|
338
|
+
operator: PricingRuleOperator;
|
|
339
339
|
}[] | undefined;
|
|
340
340
|
}>;
|
|
341
341
|
export declare const AdminUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
@@ -348,12 +348,12 @@ export declare const AdminUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
348
348
|
value: z.ZodNumber;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
value: number;
|
|
351
|
-
operator: PricingRuleOperator;
|
|
352
351
|
attribute: "item_total";
|
|
352
|
+
operator: PricingRuleOperator;
|
|
353
353
|
}, {
|
|
354
354
|
value: number;
|
|
355
|
-
operator: PricingRuleOperator;
|
|
356
355
|
attribute: "item_total";
|
|
356
|
+
operator: PricingRuleOperator;
|
|
357
357
|
}>, "many">>;
|
|
358
358
|
}, "strict", z.ZodTypeAny, {
|
|
359
359
|
id?: string | undefined;
|
|
@@ -361,8 +361,8 @@ export declare const AdminUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
361
361
|
amount?: number | undefined;
|
|
362
362
|
rules?: {
|
|
363
363
|
value: number;
|
|
364
|
-
operator: PricingRuleOperator;
|
|
365
364
|
attribute: "item_total";
|
|
365
|
+
operator: PricingRuleOperator;
|
|
366
366
|
}[] | undefined;
|
|
367
367
|
}, {
|
|
368
368
|
id?: string | undefined;
|
|
@@ -370,8 +370,8 @@ export declare const AdminUpdateShippingOptionPriceWithRegion: z.ZodObject<{
|
|
|
370
370
|
amount?: number | undefined;
|
|
371
371
|
rules?: {
|
|
372
372
|
value: number;
|
|
373
|
-
operator: PricingRuleOperator;
|
|
374
373
|
attribute: "item_total";
|
|
374
|
+
operator: PricingRuleOperator;
|
|
375
375
|
}[] | undefined;
|
|
376
376
|
}>;
|
|
377
377
|
export type AdminCreateShippingOptionType = z.infer<typeof AdminCreateShippingOption>;
|
|
@@ -387,13 +387,13 @@ export declare const AdminCreateShippingOption: z.ZodObject<{
|
|
|
387
387
|
description: z.ZodString;
|
|
388
388
|
code: z.ZodString;
|
|
389
389
|
}, "strict", z.ZodTypeAny, {
|
|
390
|
-
label: string;
|
|
391
390
|
description: string;
|
|
392
391
|
code: string;
|
|
393
|
-
}, {
|
|
394
392
|
label: string;
|
|
393
|
+
}, {
|
|
395
394
|
description: string;
|
|
396
395
|
code: string;
|
|
396
|
+
label: string;
|
|
397
397
|
}>;
|
|
398
398
|
prices: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
399
399
|
currency_code: z.ZodString;
|
|
@@ -404,28 +404,28 @@ export declare const AdminCreateShippingOption: z.ZodObject<{
|
|
|
404
404
|
value: z.ZodNumber;
|
|
405
405
|
}, "strip", z.ZodTypeAny, {
|
|
406
406
|
value: number;
|
|
407
|
-
operator: PricingRuleOperator;
|
|
408
407
|
attribute: "item_total";
|
|
408
|
+
operator: PricingRuleOperator;
|
|
409
409
|
}, {
|
|
410
410
|
value: number;
|
|
411
|
-
operator: PricingRuleOperator;
|
|
412
411
|
attribute: "item_total";
|
|
412
|
+
operator: PricingRuleOperator;
|
|
413
413
|
}>, "many">>;
|
|
414
414
|
}, "strict", z.ZodTypeAny, {
|
|
415
415
|
amount: number;
|
|
416
416
|
currency_code: string;
|
|
417
417
|
rules?: {
|
|
418
418
|
value: number;
|
|
419
|
-
operator: PricingRuleOperator;
|
|
420
419
|
attribute: "item_total";
|
|
420
|
+
operator: PricingRuleOperator;
|
|
421
421
|
}[] | undefined;
|
|
422
422
|
}, {
|
|
423
423
|
amount: number;
|
|
424
424
|
currency_code: string;
|
|
425
425
|
rules?: {
|
|
426
426
|
value: number;
|
|
427
|
-
operator: PricingRuleOperator;
|
|
428
427
|
attribute: "item_total";
|
|
428
|
+
operator: PricingRuleOperator;
|
|
429
429
|
}[] | undefined;
|
|
430
430
|
}>, z.ZodObject<{
|
|
431
431
|
region_id: z.ZodString;
|
|
@@ -436,28 +436,28 @@ export declare const AdminCreateShippingOption: z.ZodObject<{
|
|
|
436
436
|
value: z.ZodNumber;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
value: number;
|
|
439
|
-
operator: PricingRuleOperator;
|
|
440
439
|
attribute: "item_total";
|
|
440
|
+
operator: PricingRuleOperator;
|
|
441
441
|
}, {
|
|
442
442
|
value: number;
|
|
443
|
-
operator: PricingRuleOperator;
|
|
444
443
|
attribute: "item_total";
|
|
444
|
+
operator: PricingRuleOperator;
|
|
445
445
|
}>, "many">>;
|
|
446
446
|
}, "strict", z.ZodTypeAny, {
|
|
447
447
|
amount: number;
|
|
448
448
|
region_id: string;
|
|
449
449
|
rules?: {
|
|
450
450
|
value: number;
|
|
451
|
-
operator: PricingRuleOperator;
|
|
452
451
|
attribute: "item_total";
|
|
452
|
+
operator: PricingRuleOperator;
|
|
453
453
|
}[] | undefined;
|
|
454
454
|
}, {
|
|
455
455
|
amount: number;
|
|
456
456
|
region_id: string;
|
|
457
457
|
rules?: {
|
|
458
458
|
value: number;
|
|
459
|
-
operator: PricingRuleOperator;
|
|
460
459
|
attribute: "item_total";
|
|
460
|
+
operator: PricingRuleOperator;
|
|
461
461
|
}[] | undefined;
|
|
462
462
|
}>]>, "many">;
|
|
463
463
|
rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -466,80 +466,80 @@ export declare const AdminCreateShippingOption: z.ZodObject<{
|
|
|
466
466
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
467
467
|
}, "strict", z.ZodTypeAny, {
|
|
468
468
|
value: (string | string[]) & (string | string[] | undefined);
|
|
469
|
-
operator: RuleOperator;
|
|
470
469
|
attribute: string;
|
|
470
|
+
operator: RuleOperator;
|
|
471
471
|
}, {
|
|
472
472
|
value: (string | string[]) & (string | string[] | undefined);
|
|
473
|
-
operator: RuleOperator;
|
|
474
473
|
attribute: string;
|
|
474
|
+
operator: RuleOperator;
|
|
475
475
|
}>, "many">>;
|
|
476
476
|
}, "strict", z.ZodTypeAny, {
|
|
477
477
|
type: {
|
|
478
|
-
label: string;
|
|
479
478
|
description: string;
|
|
480
479
|
code: string;
|
|
480
|
+
label: string;
|
|
481
481
|
};
|
|
482
|
-
name: string;
|
|
483
482
|
provider_id: string;
|
|
484
483
|
prices: ({
|
|
485
484
|
amount: number;
|
|
486
485
|
currency_code: string;
|
|
487
486
|
rules?: {
|
|
488
487
|
value: number;
|
|
489
|
-
operator: PricingRuleOperator;
|
|
490
488
|
attribute: "item_total";
|
|
489
|
+
operator: PricingRuleOperator;
|
|
491
490
|
}[] | undefined;
|
|
492
491
|
} | {
|
|
493
492
|
amount: number;
|
|
494
493
|
region_id: string;
|
|
495
494
|
rules?: {
|
|
496
495
|
value: number;
|
|
497
|
-
operator: PricingRuleOperator;
|
|
498
496
|
attribute: "item_total";
|
|
497
|
+
operator: PricingRuleOperator;
|
|
499
498
|
}[] | undefined;
|
|
500
499
|
})[];
|
|
500
|
+
name: string;
|
|
501
501
|
service_zone_id: string;
|
|
502
502
|
shipping_profile_id: string;
|
|
503
503
|
price_type: ShippingOptionPriceTypeEnum;
|
|
504
504
|
data?: Record<string, unknown> | undefined;
|
|
505
505
|
rules?: {
|
|
506
506
|
value: (string | string[]) & (string | string[] | undefined);
|
|
507
|
-
operator: RuleOperator;
|
|
508
507
|
attribute: string;
|
|
508
|
+
operator: RuleOperator;
|
|
509
509
|
}[] | undefined;
|
|
510
510
|
}, {
|
|
511
511
|
type: {
|
|
512
|
-
label: string;
|
|
513
512
|
description: string;
|
|
514
513
|
code: string;
|
|
514
|
+
label: string;
|
|
515
515
|
};
|
|
516
|
-
name: string;
|
|
517
516
|
provider_id: string;
|
|
518
517
|
prices: ({
|
|
519
518
|
amount: number;
|
|
520
519
|
currency_code: string;
|
|
521
520
|
rules?: {
|
|
522
521
|
value: number;
|
|
523
|
-
operator: PricingRuleOperator;
|
|
524
522
|
attribute: "item_total";
|
|
523
|
+
operator: PricingRuleOperator;
|
|
525
524
|
}[] | undefined;
|
|
526
525
|
} | {
|
|
527
526
|
amount: number;
|
|
528
527
|
region_id: string;
|
|
529
528
|
rules?: {
|
|
530
529
|
value: number;
|
|
531
|
-
operator: PricingRuleOperator;
|
|
532
530
|
attribute: "item_total";
|
|
531
|
+
operator: PricingRuleOperator;
|
|
533
532
|
}[] | undefined;
|
|
534
533
|
})[];
|
|
534
|
+
name: string;
|
|
535
535
|
service_zone_id: string;
|
|
536
536
|
shipping_profile_id: string;
|
|
537
537
|
price_type: ShippingOptionPriceTypeEnum;
|
|
538
538
|
data?: Record<string, unknown> | undefined;
|
|
539
539
|
rules?: {
|
|
540
540
|
value: (string | string[]) & (string | string[] | undefined);
|
|
541
|
-
operator: RuleOperator;
|
|
542
541
|
attribute: string;
|
|
542
|
+
operator: RuleOperator;
|
|
543
543
|
}[] | undefined;
|
|
544
544
|
}>;
|
|
545
545
|
export type AdminUpdateShippingOptionType = z.infer<typeof AdminUpdateShippingOption>;
|
|
@@ -554,13 +554,13 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
554
554
|
description: z.ZodString;
|
|
555
555
|
code: z.ZodString;
|
|
556
556
|
}, "strict", z.ZodTypeAny, {
|
|
557
|
-
label: string;
|
|
558
557
|
description: string;
|
|
559
558
|
code: string;
|
|
560
|
-
}, {
|
|
561
559
|
label: string;
|
|
560
|
+
}, {
|
|
562
561
|
description: string;
|
|
563
562
|
code: string;
|
|
563
|
+
label: string;
|
|
564
564
|
}>>;
|
|
565
565
|
prices: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
566
566
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -572,12 +572,12 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
572
572
|
value: z.ZodNumber;
|
|
573
573
|
}, "strip", z.ZodTypeAny, {
|
|
574
574
|
value: number;
|
|
575
|
-
operator: PricingRuleOperator;
|
|
576
575
|
attribute: "item_total";
|
|
576
|
+
operator: PricingRuleOperator;
|
|
577
577
|
}, {
|
|
578
578
|
value: number;
|
|
579
|
-
operator: PricingRuleOperator;
|
|
580
579
|
attribute: "item_total";
|
|
580
|
+
operator: PricingRuleOperator;
|
|
581
581
|
}>, "many">>;
|
|
582
582
|
}, "strict", z.ZodTypeAny, {
|
|
583
583
|
id?: string | undefined;
|
|
@@ -585,8 +585,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
585
585
|
amount?: number | undefined;
|
|
586
586
|
rules?: {
|
|
587
587
|
value: number;
|
|
588
|
-
operator: PricingRuleOperator;
|
|
589
588
|
attribute: "item_total";
|
|
589
|
+
operator: PricingRuleOperator;
|
|
590
590
|
}[] | undefined;
|
|
591
591
|
}, {
|
|
592
592
|
id?: string | undefined;
|
|
@@ -594,8 +594,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
594
594
|
amount?: number | undefined;
|
|
595
595
|
rules?: {
|
|
596
596
|
value: number;
|
|
597
|
-
operator: PricingRuleOperator;
|
|
598
597
|
attribute: "item_total";
|
|
598
|
+
operator: PricingRuleOperator;
|
|
599
599
|
}[] | undefined;
|
|
600
600
|
}>, z.ZodObject<{
|
|
601
601
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -607,12 +607,12 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
607
607
|
value: z.ZodNumber;
|
|
608
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
609
|
value: number;
|
|
610
|
-
operator: PricingRuleOperator;
|
|
611
610
|
attribute: "item_total";
|
|
611
|
+
operator: PricingRuleOperator;
|
|
612
612
|
}, {
|
|
613
613
|
value: number;
|
|
614
|
-
operator: PricingRuleOperator;
|
|
615
614
|
attribute: "item_total";
|
|
615
|
+
operator: PricingRuleOperator;
|
|
616
616
|
}>, "many">>;
|
|
617
617
|
}, "strict", z.ZodTypeAny, {
|
|
618
618
|
id?: string | undefined;
|
|
@@ -620,8 +620,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
620
620
|
amount?: number | undefined;
|
|
621
621
|
rules?: {
|
|
622
622
|
value: number;
|
|
623
|
-
operator: PricingRuleOperator;
|
|
624
623
|
attribute: "item_total";
|
|
624
|
+
operator: PricingRuleOperator;
|
|
625
625
|
}[] | undefined;
|
|
626
626
|
}, {
|
|
627
627
|
id?: string | undefined;
|
|
@@ -629,8 +629,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
629
629
|
amount?: number | undefined;
|
|
630
630
|
rules?: {
|
|
631
631
|
value: number;
|
|
632
|
-
operator: PricingRuleOperator;
|
|
633
632
|
attribute: "item_total";
|
|
633
|
+
operator: PricingRuleOperator;
|
|
634
634
|
}[] | undefined;
|
|
635
635
|
}>]>, "many">>;
|
|
636
636
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -639,27 +639,27 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
639
639
|
attribute: z.ZodString;
|
|
640
640
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
641
641
|
}, "strict", z.ZodTypeAny, {
|
|
642
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
643
642
|
id: string;
|
|
644
|
-
|
|
643
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
645
644
|
attribute: string;
|
|
645
|
+
operator: RuleOperator;
|
|
646
646
|
}, {
|
|
647
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
648
647
|
id: string;
|
|
649
|
-
|
|
648
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
650
649
|
attribute: string;
|
|
650
|
+
operator: RuleOperator;
|
|
651
651
|
}>, z.ZodObject<{
|
|
652
652
|
operator: z.ZodNativeEnum<typeof RuleOperator>;
|
|
653
653
|
attribute: z.ZodString;
|
|
654
654
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
655
655
|
}, "strict", z.ZodTypeAny, {
|
|
656
656
|
value: (string | string[]) & (string | string[] | undefined);
|
|
657
|
-
operator: RuleOperator;
|
|
658
657
|
attribute: string;
|
|
658
|
+
operator: RuleOperator;
|
|
659
659
|
}, {
|
|
660
660
|
value: (string | string[]) & (string | string[] | undefined);
|
|
661
|
-
operator: RuleOperator;
|
|
662
661
|
attribute: string;
|
|
662
|
+
operator: RuleOperator;
|
|
663
663
|
}>]>, "many">>;
|
|
664
664
|
}, "strict", z.ZodTypeAny, {
|
|
665
665
|
name?: string | undefined;
|
|
@@ -668,9 +668,9 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
668
668
|
provider_id?: string | undefined;
|
|
669
669
|
shipping_profile_id?: string | undefined;
|
|
670
670
|
type?: {
|
|
671
|
-
label: string;
|
|
672
671
|
description: string;
|
|
673
672
|
code: string;
|
|
673
|
+
label: string;
|
|
674
674
|
} | undefined;
|
|
675
675
|
prices?: ({
|
|
676
676
|
id?: string | undefined;
|
|
@@ -678,8 +678,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
678
678
|
amount?: number | undefined;
|
|
679
679
|
rules?: {
|
|
680
680
|
value: number;
|
|
681
|
-
operator: PricingRuleOperator;
|
|
682
681
|
attribute: "item_total";
|
|
682
|
+
operator: PricingRuleOperator;
|
|
683
683
|
}[] | undefined;
|
|
684
684
|
} | {
|
|
685
685
|
id?: string | undefined;
|
|
@@ -687,19 +687,19 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
687
687
|
amount?: number | undefined;
|
|
688
688
|
rules?: {
|
|
689
689
|
value: number;
|
|
690
|
-
operator: PricingRuleOperator;
|
|
691
690
|
attribute: "item_total";
|
|
691
|
+
operator: PricingRuleOperator;
|
|
692
692
|
}[] | undefined;
|
|
693
693
|
})[] | undefined;
|
|
694
694
|
rules?: ({
|
|
695
695
|
value: (string | string[]) & (string | string[] | undefined);
|
|
696
|
-
operator: RuleOperator;
|
|
697
696
|
attribute: string;
|
|
697
|
+
operator: RuleOperator;
|
|
698
698
|
} | {
|
|
699
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
700
699
|
id: string;
|
|
701
|
-
|
|
700
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
702
701
|
attribute: string;
|
|
702
|
+
operator: RuleOperator;
|
|
703
703
|
})[] | undefined;
|
|
704
704
|
}, {
|
|
705
705
|
name?: string | undefined;
|
|
@@ -708,9 +708,9 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
708
708
|
provider_id?: string | undefined;
|
|
709
709
|
shipping_profile_id?: string | undefined;
|
|
710
710
|
type?: {
|
|
711
|
-
label: string;
|
|
712
711
|
description: string;
|
|
713
712
|
code: string;
|
|
713
|
+
label: string;
|
|
714
714
|
} | undefined;
|
|
715
715
|
prices?: ({
|
|
716
716
|
id?: string | undefined;
|
|
@@ -718,8 +718,8 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
718
718
|
amount?: number | undefined;
|
|
719
719
|
rules?: {
|
|
720
720
|
value: number;
|
|
721
|
-
operator: PricingRuleOperator;
|
|
722
721
|
attribute: "item_total";
|
|
722
|
+
operator: PricingRuleOperator;
|
|
723
723
|
}[] | undefined;
|
|
724
724
|
} | {
|
|
725
725
|
id?: string | undefined;
|
|
@@ -727,19 +727,19 @@ export declare const AdminUpdateShippingOption: z.ZodObject<{
|
|
|
727
727
|
amount?: number | undefined;
|
|
728
728
|
rules?: {
|
|
729
729
|
value: number;
|
|
730
|
-
operator: PricingRuleOperator;
|
|
731
730
|
attribute: "item_total";
|
|
731
|
+
operator: PricingRuleOperator;
|
|
732
732
|
}[] | undefined;
|
|
733
733
|
})[] | undefined;
|
|
734
734
|
rules?: ({
|
|
735
735
|
value: (string | string[]) & (string | string[] | undefined);
|
|
736
|
-
operator: RuleOperator;
|
|
737
736
|
attribute: string;
|
|
737
|
+
operator: RuleOperator;
|
|
738
738
|
} | {
|
|
739
|
-
value: (string | string[]) & (string | string[] | undefined);
|
|
740
739
|
id: string;
|
|
741
|
-
|
|
740
|
+
value: (string | string[]) & (string | string[] | undefined);
|
|
742
741
|
attribute: string;
|
|
742
|
+
operator: RuleOperator;
|
|
743
743
|
})[] | undefined;
|
|
744
744
|
}>;
|
|
745
745
|
//# sourceMappingURL=validators.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8medusa/medusa",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.3",
|
|
4
4
|
"description": "Building blocks for digital commerce",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"test:integration": "jest --forceExit -- src/**/integration-tests/**/__tests__/**/*.ts"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@8medusa/framework": "2.
|
|
47
|
+
"@8medusa/framework": "2.12.2",
|
|
48
48
|
"@opentelemetry/api": "^1.9.0",
|
|
49
49
|
"@opentelemetry/instrumentation": "^0.53.0",
|
|
50
50
|
"@opentelemetry/instrumentation-pg": "^0.44.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"yalc": "1.0.0-pre.53"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@8medusa/admin-bundler": "2.
|
|
68
|
+
"@8medusa/admin-bundler": "2.12.2",
|
|
69
69
|
"@8medusa/api-key": "2.7.0",
|
|
70
70
|
"@8medusa/auth": "2.7.0",
|
|
71
71
|
"@8medusa/auth-emailpass": "2.9.20",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@8medusa/cache-inmemory": "2.7.0",
|
|
75
75
|
"@8medusa/cache-redis": "2.7.0",
|
|
76
76
|
"@8medusa/cart": "2.7.0",
|
|
77
|
-
"@8medusa/core-flows": "2.12.
|
|
77
|
+
"@8medusa/core-flows": "2.12.2",
|
|
78
78
|
"@8medusa/currency": "2.7.0",
|
|
79
79
|
"@8medusa/customer": "2.7.0",
|
|
80
80
|
"@8medusa/event-bus-local": "2.7.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@8medusa/payment-stripe": "2.7.0",
|
|
99
99
|
"@8medusa/pricing": "2.7.0",
|
|
100
100
|
"@8medusa/product": "2.7.0",
|
|
101
|
-
"@8medusa/promotion": "2.12.
|
|
101
|
+
"@8medusa/promotion": "2.12.2",
|
|
102
102
|
"@8medusa/region": "2.7.0",
|
|
103
103
|
"@8medusa/sales-channel": "2.7.0",
|
|
104
104
|
"@8medusa/stock-location": "2.7.0",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"zod": "3.22.4"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
|
-
"@8medusa/framework": "2.
|
|
130
|
+
"@8medusa/framework": "2.12.2",
|
|
131
131
|
"@mikro-orm/core": "6.4.3",
|
|
132
132
|
"@mikro-orm/knex": "6.4.3",
|
|
133
133
|
"@mikro-orm/migrations": "6.4.3",
|