@mercurjs/admin 2.2.0-canary.24 → 2.2.0-canary.26
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/{add-campaign-promotions-2IOKLEMG.js → add-campaign-promotions-BGM7SY5H.js} +3 -3
- package/dist/{attribute-create-Q3IEGYRG.js → attribute-create-VR3TJH5H.js} +14 -15
- package/dist/{attribute-edit-4YPWXZRX.js → attribute-edit-3PISS3NP.js} +1 -1
- package/dist/{attribute-edit-possible-value-YHEWXK6L.js → attribute-edit-possible-value-QZWGVFK2.js} +1 -1
- package/dist/{campaign-detail-5WNSQVKG.js → campaign-detail-GCBZC4AK.js} +4 -4
- package/dist/{chunk-K7EOVKKV.js → chunk-2K7FJQGS.js} +1 -1
- package/dist/{chunk-7PAVVX2P.js → chunk-4GPLGY6N.js} +1 -1
- package/dist/{chunk-FP6YPFKF.js → chunk-63LSFKES.js} +6 -5
- package/dist/{chunk-2H3KXP53.js → chunk-FDMMEAI7.js} +1 -1
- package/dist/{chunk-RXZZEPW3.js → chunk-JKFCU3LQ.js} +1 -1
- package/dist/{chunk-LYCKVPWQ.js → chunk-RJNZPFXH.js} +4 -4
- package/dist/{chunk-5PWXUMCA.js → chunk-S23K2LUH.js} +1 -1
- package/dist/{chunk-3ZCBTIIC.js → chunk-WQZIFZW3.js} +1 -1
- package/dist/{chunk-ZIIZGCTQ.js → chunk-XDCY2FSG.js} +1 -1
- package/dist/index.js +16 -16
- package/dist/{order-edit-billing-address-5XHAAGT7.js → order-edit-billing-address-MNBJ6F3S.js} +1 -1
- package/dist/pages/index.d.ts +333 -333
- package/dist/pages/index.js +8 -8
- package/dist/{product-create-LY3HDOLG.js → product-create-4P7XFKE5.js} +3 -3
- package/dist/{product-media-PWPVCTC2.js → product-media-RUHCF3BH.js} +2 -2
- package/dist/{promotion-detail-ORDL76NG.js → promotion-detail-R24ZU5GF.js} +3 -3
- package/dist/{promotion-list-NMD23NXJ.js → promotion-list-LXSHJ65M.js} +4 -4
- package/dist/{reset-password-GA3NEKEX.js → reset-password-BROULSO2.js} +1 -1
- package/dist/{store-edit-QJXV27DI.js → store-edit-ETQ5MZUP.js} +2 -2
- package/dist/{tax-region-create-MS6G5YVE.js → tax-region-create-3JJHFERV.js} +1 -1
- package/package.json +1 -1
package/dist/pages/index.d.ts
CHANGED
|
@@ -472,32 +472,32 @@ declare const CreateInventoryItemSchema: z.ZodObject<{
|
|
|
472
472
|
}, "strip", z.ZodTypeAny, {
|
|
473
473
|
title: string;
|
|
474
474
|
length?: string | number | undefined;
|
|
475
|
-
|
|
475
|
+
requires_shipping?: boolean | undefined;
|
|
476
|
+
description?: string | undefined;
|
|
477
|
+
thumbnail?: string | undefined;
|
|
476
478
|
width?: string | number | undefined;
|
|
477
|
-
|
|
478
|
-
hs_code?: string | undefined;
|
|
479
|
+
weight?: string | number | undefined;
|
|
479
480
|
height?: string | number | undefined;
|
|
480
481
|
origin_country?: string | undefined;
|
|
482
|
+
hs_code?: string | undefined;
|
|
481
483
|
mid_code?: string | undefined;
|
|
482
484
|
material?: string | undefined;
|
|
483
|
-
|
|
484
|
-
requires_shipping?: boolean | undefined;
|
|
485
|
-
thumbnail?: string | undefined;
|
|
485
|
+
sku?: string | undefined;
|
|
486
486
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
487
487
|
}, {
|
|
488
488
|
title: string;
|
|
489
489
|
length?: string | number | undefined;
|
|
490
|
-
|
|
490
|
+
requires_shipping?: boolean | undefined;
|
|
491
|
+
description?: string | undefined;
|
|
492
|
+
thumbnail?: string | undefined;
|
|
491
493
|
width?: string | number | undefined;
|
|
492
|
-
|
|
493
|
-
hs_code?: string | undefined;
|
|
494
|
+
weight?: string | number | undefined;
|
|
494
495
|
height?: string | number | undefined;
|
|
495
496
|
origin_country?: string | undefined;
|
|
497
|
+
hs_code?: string | undefined;
|
|
496
498
|
mid_code?: string | undefined;
|
|
497
499
|
material?: string | undefined;
|
|
498
|
-
|
|
499
|
-
requires_shipping?: boolean | undefined;
|
|
500
|
-
thumbnail?: string | undefined;
|
|
500
|
+
sku?: string | undefined;
|
|
501
501
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
502
502
|
}>;
|
|
503
503
|
type CreateInventoryItemSchema = z.infer<typeof CreateInventoryItemSchema>;
|
|
@@ -520,17 +520,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
520
520
|
_tabMeta: TabDefinition<{
|
|
521
521
|
title: string;
|
|
522
522
|
length?: string | number | undefined;
|
|
523
|
-
|
|
523
|
+
requires_shipping?: boolean | undefined;
|
|
524
|
+
description?: string | undefined;
|
|
525
|
+
thumbnail?: string | undefined;
|
|
524
526
|
width?: string | number | undefined;
|
|
525
|
-
|
|
526
|
-
hs_code?: string | undefined;
|
|
527
|
+
weight?: string | number | undefined;
|
|
527
528
|
height?: string | number | undefined;
|
|
528
529
|
origin_country?: string | undefined;
|
|
530
|
+
hs_code?: string | undefined;
|
|
529
531
|
mid_code?: string | undefined;
|
|
530
532
|
material?: string | undefined;
|
|
531
|
-
|
|
532
|
-
requires_shipping?: boolean | undefined;
|
|
533
|
-
thumbnail?: string | undefined;
|
|
533
|
+
sku?: string | undefined;
|
|
534
534
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
535
535
|
}>;
|
|
536
536
|
};
|
|
@@ -541,17 +541,17 @@ declare const InventoryCreatePage: (({ children }: {
|
|
|
541
541
|
_tabMeta: TabDefinition<{
|
|
542
542
|
title: string;
|
|
543
543
|
length?: string | number | undefined;
|
|
544
|
-
|
|
544
|
+
requires_shipping?: boolean | undefined;
|
|
545
|
+
description?: string | undefined;
|
|
546
|
+
thumbnail?: string | undefined;
|
|
545
547
|
width?: string | number | undefined;
|
|
546
|
-
|
|
547
|
-
hs_code?: string | undefined;
|
|
548
|
+
weight?: string | number | undefined;
|
|
548
549
|
height?: string | number | undefined;
|
|
549
550
|
origin_country?: string | undefined;
|
|
551
|
+
hs_code?: string | undefined;
|
|
550
552
|
mid_code?: string | undefined;
|
|
551
553
|
material?: string | undefined;
|
|
552
|
-
|
|
553
|
-
requires_shipping?: boolean | undefined;
|
|
554
|
-
thumbnail?: string | undefined;
|
|
554
|
+
sku?: string | undefined;
|
|
555
555
|
locations?: Record<string, string | number | undefined> | undefined;
|
|
556
556
|
}>;
|
|
557
557
|
};
|
|
@@ -624,59 +624,59 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
624
624
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
625
625
|
}, "strip", z.ZodTypeAny, {
|
|
626
626
|
amount: string | number;
|
|
627
|
-
lt?: number | null | undefined;
|
|
628
|
-
gt?: number | null | undefined;
|
|
629
627
|
eq?: number | null | undefined;
|
|
628
|
+
gt?: number | null | undefined;
|
|
630
629
|
gte?: string | number | null | undefined;
|
|
630
|
+
lt?: number | null | undefined;
|
|
631
631
|
lte?: string | number | null | undefined;
|
|
632
632
|
}, {
|
|
633
633
|
amount: string | number;
|
|
634
|
-
lt?: number | null | undefined;
|
|
635
|
-
gt?: number | null | undefined;
|
|
636
634
|
eq?: number | null | undefined;
|
|
635
|
+
gt?: number | null | undefined;
|
|
637
636
|
gte?: string | number | null | undefined;
|
|
637
|
+
lt?: number | null | undefined;
|
|
638
638
|
lte?: string | number | null | undefined;
|
|
639
639
|
}>, {
|
|
640
640
|
amount: string | number;
|
|
641
|
-
lt?: number | null | undefined;
|
|
642
|
-
gt?: number | null | undefined;
|
|
643
641
|
eq?: number | null | undefined;
|
|
642
|
+
gt?: number | null | undefined;
|
|
644
643
|
gte?: string | number | null | undefined;
|
|
644
|
+
lt?: number | null | undefined;
|
|
645
645
|
lte?: string | number | null | undefined;
|
|
646
646
|
}, {
|
|
647
647
|
amount: string | number;
|
|
648
|
-
lt?: number | null | undefined;
|
|
649
|
-
gt?: number | null | undefined;
|
|
650
648
|
eq?: number | null | undefined;
|
|
649
|
+
gt?: number | null | undefined;
|
|
651
650
|
gte?: string | number | null | undefined;
|
|
651
|
+
lt?: number | null | undefined;
|
|
652
652
|
lte?: string | number | null | undefined;
|
|
653
653
|
}>, {
|
|
654
654
|
amount: string | number;
|
|
655
|
-
lt?: number | null | undefined;
|
|
656
|
-
gt?: number | null | undefined;
|
|
657
655
|
eq?: number | null | undefined;
|
|
656
|
+
gt?: number | null | undefined;
|
|
658
657
|
gte?: string | number | null | undefined;
|
|
658
|
+
lt?: number | null | undefined;
|
|
659
659
|
lte?: string | number | null | undefined;
|
|
660
660
|
}, {
|
|
661
661
|
amount: string | number;
|
|
662
|
-
lt?: number | null | undefined;
|
|
663
|
-
gt?: number | null | undefined;
|
|
664
662
|
eq?: number | null | undefined;
|
|
663
|
+
gt?: number | null | undefined;
|
|
665
664
|
gte?: string | number | null | undefined;
|
|
665
|
+
lt?: number | null | undefined;
|
|
666
666
|
lte?: string | number | null | undefined;
|
|
667
667
|
}>, {
|
|
668
668
|
amount: string | number;
|
|
669
|
-
lt?: number | null | undefined;
|
|
670
|
-
gt?: number | null | undefined;
|
|
671
669
|
eq?: number | null | undefined;
|
|
670
|
+
gt?: number | null | undefined;
|
|
672
671
|
gte?: string | number | null | undefined;
|
|
672
|
+
lt?: number | null | undefined;
|
|
673
673
|
lte?: string | number | null | undefined;
|
|
674
674
|
}, {
|
|
675
675
|
amount: string | number;
|
|
676
|
-
lt?: number | null | undefined;
|
|
677
|
-
gt?: number | null | undefined;
|
|
678
676
|
eq?: number | null | undefined;
|
|
677
|
+
gt?: number | null | undefined;
|
|
679
678
|
gte?: string | number | null | undefined;
|
|
679
|
+
lt?: number | null | undefined;
|
|
680
680
|
lte?: string | number | null | undefined;
|
|
681
681
|
}>, "many">>>;
|
|
682
682
|
conditional_currency_prices: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
@@ -688,111 +688,111 @@ declare const CreateShippingOptionSchema: z.ZodObject<{
|
|
|
688
688
|
eq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
689
689
|
}, "strip", z.ZodTypeAny, {
|
|
690
690
|
amount: string | number;
|
|
691
|
-
lt?: number | null | undefined;
|
|
692
|
-
gt?: number | null | undefined;
|
|
693
691
|
eq?: number | null | undefined;
|
|
692
|
+
gt?: number | null | undefined;
|
|
694
693
|
gte?: string | number | null | undefined;
|
|
694
|
+
lt?: number | null | undefined;
|
|
695
695
|
lte?: string | number | null | undefined;
|
|
696
696
|
}, {
|
|
697
697
|
amount: string | number;
|
|
698
|
-
lt?: number | null | undefined;
|
|
699
|
-
gt?: number | null | undefined;
|
|
700
698
|
eq?: number | null | undefined;
|
|
699
|
+
gt?: number | null | undefined;
|
|
701
700
|
gte?: string | number | null | undefined;
|
|
701
|
+
lt?: number | null | undefined;
|
|
702
702
|
lte?: string | number | null | undefined;
|
|
703
703
|
}>, {
|
|
704
704
|
amount: string | number;
|
|
705
|
-
lt?: number | null | undefined;
|
|
706
|
-
gt?: number | null | undefined;
|
|
707
705
|
eq?: number | null | undefined;
|
|
706
|
+
gt?: number | null | undefined;
|
|
708
707
|
gte?: string | number | null | undefined;
|
|
708
|
+
lt?: number | null | undefined;
|
|
709
709
|
lte?: string | number | null | undefined;
|
|
710
710
|
}, {
|
|
711
711
|
amount: string | number;
|
|
712
|
-
lt?: number | null | undefined;
|
|
713
|
-
gt?: number | null | undefined;
|
|
714
712
|
eq?: number | null | undefined;
|
|
713
|
+
gt?: number | null | undefined;
|
|
715
714
|
gte?: string | number | null | undefined;
|
|
715
|
+
lt?: number | null | undefined;
|
|
716
716
|
lte?: string | number | null | undefined;
|
|
717
717
|
}>, {
|
|
718
718
|
amount: string | number;
|
|
719
|
-
lt?: number | null | undefined;
|
|
720
|
-
gt?: number | null | undefined;
|
|
721
719
|
eq?: number | null | undefined;
|
|
720
|
+
gt?: number | null | undefined;
|
|
722
721
|
gte?: string | number | null | undefined;
|
|
722
|
+
lt?: number | null | undefined;
|
|
723
723
|
lte?: string | number | null | undefined;
|
|
724
724
|
}, {
|
|
725
725
|
amount: string | number;
|
|
726
|
-
lt?: number | null | undefined;
|
|
727
|
-
gt?: number | null | undefined;
|
|
728
726
|
eq?: number | null | undefined;
|
|
727
|
+
gt?: number | null | undefined;
|
|
729
728
|
gte?: string | number | null | undefined;
|
|
729
|
+
lt?: number | null | undefined;
|
|
730
730
|
lte?: string | number | null | undefined;
|
|
731
731
|
}>, {
|
|
732
732
|
amount: string | number;
|
|
733
|
-
lt?: number | null | undefined;
|
|
734
|
-
gt?: number | null | undefined;
|
|
735
733
|
eq?: number | null | undefined;
|
|
734
|
+
gt?: number | null | undefined;
|
|
736
735
|
gte?: string | number | null | undefined;
|
|
736
|
+
lt?: number | null | undefined;
|
|
737
737
|
lte?: string | number | null | undefined;
|
|
738
738
|
}, {
|
|
739
739
|
amount: string | number;
|
|
740
|
-
lt?: number | null | undefined;
|
|
741
|
-
gt?: number | null | undefined;
|
|
742
740
|
eq?: number | null | undefined;
|
|
741
|
+
gt?: number | null | undefined;
|
|
743
742
|
gte?: string | number | null | undefined;
|
|
743
|
+
lt?: number | null | undefined;
|
|
744
744
|
lte?: string | number | null | undefined;
|
|
745
745
|
}>, "many">>>;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
|
-
name: string;
|
|
748
747
|
shipping_profile_id: string;
|
|
748
|
+
name: string;
|
|
749
749
|
provider_id: string;
|
|
750
|
-
shipping_option_type_id: string;
|
|
751
750
|
price_type: ShippingOptionPriceType;
|
|
751
|
+
shipping_option_type_id: string;
|
|
752
752
|
enabled_in_store: boolean;
|
|
753
753
|
currency_prices: Record<string, string | undefined>;
|
|
754
754
|
region_prices: Record<string, string | undefined>;
|
|
755
755
|
fulfillment_option_id: string;
|
|
756
756
|
conditional_region_prices: Record<string, {
|
|
757
757
|
amount: string | number;
|
|
758
|
-
lt?: number | null | undefined;
|
|
759
|
-
gt?: number | null | undefined;
|
|
760
758
|
eq?: number | null | undefined;
|
|
759
|
+
gt?: number | null | undefined;
|
|
761
760
|
gte?: string | number | null | undefined;
|
|
761
|
+
lt?: number | null | undefined;
|
|
762
762
|
lte?: string | number | null | undefined;
|
|
763
763
|
}[] | undefined>;
|
|
764
764
|
conditional_currency_prices: Record<string, {
|
|
765
765
|
amount: string | number;
|
|
766
|
-
lt?: number | null | undefined;
|
|
767
|
-
gt?: number | null | undefined;
|
|
768
766
|
eq?: number | null | undefined;
|
|
767
|
+
gt?: number | null | undefined;
|
|
769
768
|
gte?: string | number | null | undefined;
|
|
769
|
+
lt?: number | null | undefined;
|
|
770
770
|
lte?: string | number | null | undefined;
|
|
771
771
|
}[] | undefined>;
|
|
772
772
|
}, {
|
|
773
|
-
name: string;
|
|
774
773
|
shipping_profile_id: string;
|
|
774
|
+
name: string;
|
|
775
775
|
provider_id: string;
|
|
776
|
-
shipping_option_type_id: string;
|
|
777
776
|
price_type: ShippingOptionPriceType;
|
|
777
|
+
shipping_option_type_id: string;
|
|
778
778
|
enabled_in_store: boolean;
|
|
779
779
|
currency_prices: Record<string, string | undefined>;
|
|
780
780
|
region_prices: Record<string, string | undefined>;
|
|
781
781
|
fulfillment_option_id: string;
|
|
782
782
|
conditional_region_prices: Record<string, {
|
|
783
783
|
amount: string | number;
|
|
784
|
-
lt?: number | null | undefined;
|
|
785
|
-
gt?: number | null | undefined;
|
|
786
784
|
eq?: number | null | undefined;
|
|
785
|
+
gt?: number | null | undefined;
|
|
787
786
|
gte?: string | number | null | undefined;
|
|
787
|
+
lt?: number | null | undefined;
|
|
788
788
|
lte?: string | number | null | undefined;
|
|
789
789
|
}[] | undefined>;
|
|
790
790
|
conditional_currency_prices: Record<string, {
|
|
791
791
|
amount: string | number;
|
|
792
|
-
lt?: number | null | undefined;
|
|
793
|
-
gt?: number | null | undefined;
|
|
794
792
|
eq?: number | null | undefined;
|
|
793
|
+
gt?: number | null | undefined;
|
|
795
794
|
gte?: string | number | null | undefined;
|
|
795
|
+
lt?: number | null | undefined;
|
|
796
796
|
lte?: string | number | null | undefined;
|
|
797
797
|
}[] | undefined>;
|
|
798
798
|
}>;
|
|
@@ -823,29 +823,29 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
823
823
|
type: FulfillmentSetType;
|
|
824
824
|
}): react_jsx_runtime.JSX.Element;
|
|
825
825
|
_tabMeta: TabDefinition<{
|
|
826
|
-
name: string;
|
|
827
826
|
shipping_profile_id: string;
|
|
827
|
+
name: string;
|
|
828
828
|
provider_id: string;
|
|
829
|
-
shipping_option_type_id: string;
|
|
830
829
|
price_type: ShippingOptionPriceType;
|
|
830
|
+
shipping_option_type_id: string;
|
|
831
831
|
enabled_in_store: boolean;
|
|
832
832
|
currency_prices: Record<string, string | undefined>;
|
|
833
833
|
region_prices: Record<string, string | undefined>;
|
|
834
834
|
fulfillment_option_id: string;
|
|
835
835
|
conditional_region_prices: Record<string, {
|
|
836
836
|
amount: string | number;
|
|
837
|
-
lt?: number | null | undefined;
|
|
838
|
-
gt?: number | null | undefined;
|
|
839
837
|
eq?: number | null | undefined;
|
|
838
|
+
gt?: number | null | undefined;
|
|
840
839
|
gte?: string | number | null | undefined;
|
|
840
|
+
lt?: number | null | undefined;
|
|
841
841
|
lte?: string | number | null | undefined;
|
|
842
842
|
}[] | undefined>;
|
|
843
843
|
conditional_currency_prices: Record<string, {
|
|
844
844
|
amount: string | number;
|
|
845
|
-
lt?: number | null | undefined;
|
|
846
|
-
gt?: number | null | undefined;
|
|
847
845
|
eq?: number | null | undefined;
|
|
846
|
+
gt?: number | null | undefined;
|
|
848
847
|
gte?: string | number | null | undefined;
|
|
848
|
+
lt?: number | null | undefined;
|
|
849
849
|
lte?: string | number | null | undefined;
|
|
850
850
|
}[] | undefined>;
|
|
851
851
|
}>;
|
|
@@ -855,29 +855,29 @@ declare const ShippingOptionCreatePage: (({ children }: {
|
|
|
855
855
|
type: FulfillmentSetType;
|
|
856
856
|
}): react_jsx_runtime.JSX.Element;
|
|
857
857
|
_tabMeta: TabDefinition<{
|
|
858
|
-
name: string;
|
|
859
858
|
shipping_profile_id: string;
|
|
859
|
+
name: string;
|
|
860
860
|
provider_id: string;
|
|
861
|
-
shipping_option_type_id: string;
|
|
862
861
|
price_type: ShippingOptionPriceType;
|
|
862
|
+
shipping_option_type_id: string;
|
|
863
863
|
enabled_in_store: boolean;
|
|
864
864
|
currency_prices: Record<string, string | undefined>;
|
|
865
865
|
region_prices: Record<string, string | undefined>;
|
|
866
866
|
fulfillment_option_id: string;
|
|
867
867
|
conditional_region_prices: Record<string, {
|
|
868
868
|
amount: string | number;
|
|
869
|
-
lt?: number | null | undefined;
|
|
870
|
-
gt?: number | null | undefined;
|
|
871
869
|
eq?: number | null | undefined;
|
|
870
|
+
gt?: number | null | undefined;
|
|
872
871
|
gte?: string | number | null | undefined;
|
|
872
|
+
lt?: number | null | undefined;
|
|
873
873
|
lte?: string | number | null | undefined;
|
|
874
874
|
}[] | undefined>;
|
|
875
875
|
conditional_currency_prices: Record<string, {
|
|
876
876
|
amount: string | number;
|
|
877
|
-
lt?: number | null | undefined;
|
|
878
|
-
gt?: number | null | undefined;
|
|
879
877
|
eq?: number | null | undefined;
|
|
878
|
+
gt?: number | null | undefined;
|
|
880
879
|
gte?: string | number | null | undefined;
|
|
880
|
+
lt?: number | null | undefined;
|
|
881
881
|
lte?: string | number | null | undefined;
|
|
882
882
|
}[] | undefined>;
|
|
883
883
|
}>;
|
|
@@ -1098,6 +1098,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1098
1098
|
}>>>;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
1100
|
title: string;
|
|
1101
|
+
description: string;
|
|
1102
|
+
status: "draft" | "active";
|
|
1103
|
+
type: "sale" | "override";
|
|
1101
1104
|
products: Record<string, {
|
|
1102
1105
|
variants: Record<string, {
|
|
1103
1106
|
currency_prices: Record<string, {
|
|
@@ -1108,9 +1111,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1108
1111
|
} | undefined>;
|
|
1109
1112
|
}>;
|
|
1110
1113
|
}>;
|
|
1111
|
-
status: "draft" | "active";
|
|
1112
|
-
description: string;
|
|
1113
|
-
type: "sale" | "override";
|
|
1114
1114
|
product_ids: {
|
|
1115
1115
|
id: string;
|
|
1116
1116
|
}[];
|
|
@@ -1124,6 +1124,9 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1124
1124
|
ends_at?: Date | null | undefined;
|
|
1125
1125
|
}, {
|
|
1126
1126
|
title: string;
|
|
1127
|
+
description: string;
|
|
1128
|
+
status: "draft" | "active";
|
|
1129
|
+
type: "sale" | "override";
|
|
1127
1130
|
products: Record<string, {
|
|
1128
1131
|
variants: Record<string, {
|
|
1129
1132
|
currency_prices: Record<string, {
|
|
@@ -1134,9 +1137,6 @@ declare const PricingCreateSchema: z.ZodObject<{
|
|
|
1134
1137
|
} | undefined>;
|
|
1135
1138
|
}>;
|
|
1136
1139
|
}>;
|
|
1137
|
-
status: "draft" | "active";
|
|
1138
|
-
description: string;
|
|
1139
|
-
type: "sale" | "override";
|
|
1140
1140
|
product_ids: {
|
|
1141
1141
|
id: string;
|
|
1142
1142
|
}[];
|
|
@@ -1166,6 +1166,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1166
1166
|
(): react_jsx_runtime.JSX.Element;
|
|
1167
1167
|
_tabMeta: TabDefinition<{
|
|
1168
1168
|
title: string;
|
|
1169
|
+
description: string;
|
|
1170
|
+
status: "draft" | "active";
|
|
1171
|
+
type: "sale" | "override";
|
|
1169
1172
|
products: Record<string, {
|
|
1170
1173
|
variants: Record<string, {
|
|
1171
1174
|
currency_prices: Record<string, {
|
|
@@ -1176,9 +1179,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1176
1179
|
} | undefined>;
|
|
1177
1180
|
}>;
|
|
1178
1181
|
}>;
|
|
1179
|
-
status: "draft" | "active";
|
|
1180
|
-
description: string;
|
|
1181
|
-
type: "sale" | "override";
|
|
1182
1182
|
product_ids: {
|
|
1183
1183
|
id: string;
|
|
1184
1184
|
}[];
|
|
@@ -1196,6 +1196,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1196
1196
|
(): react_jsx_runtime.JSX.Element;
|
|
1197
1197
|
_tabMeta: TabDefinition<{
|
|
1198
1198
|
title: string;
|
|
1199
|
+
description: string;
|
|
1200
|
+
status: "draft" | "active";
|
|
1201
|
+
type: "sale" | "override";
|
|
1199
1202
|
products: Record<string, {
|
|
1200
1203
|
variants: Record<string, {
|
|
1201
1204
|
currency_prices: Record<string, {
|
|
@@ -1206,9 +1209,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1206
1209
|
} | undefined>;
|
|
1207
1210
|
}>;
|
|
1208
1211
|
}>;
|
|
1209
|
-
status: "draft" | "active";
|
|
1210
|
-
description: string;
|
|
1211
|
-
type: "sale" | "override";
|
|
1212
1212
|
product_ids: {
|
|
1213
1213
|
id: string;
|
|
1214
1214
|
}[];
|
|
@@ -1230,6 +1230,9 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1230
1230
|
}): react_jsx_runtime.JSX.Element;
|
|
1231
1231
|
_tabMeta: TabDefinition<{
|
|
1232
1232
|
title: string;
|
|
1233
|
+
description: string;
|
|
1234
|
+
status: "draft" | "active";
|
|
1235
|
+
type: "sale" | "override";
|
|
1233
1236
|
products: Record<string, {
|
|
1234
1237
|
variants: Record<string, {
|
|
1235
1238
|
currency_prices: Record<string, {
|
|
@@ -1240,9 +1243,6 @@ declare const PriceListCreatePage: (({ children }: {
|
|
|
1240
1243
|
} | undefined>;
|
|
1241
1244
|
}>;
|
|
1242
1245
|
}>;
|
|
1243
|
-
status: "draft" | "active";
|
|
1244
|
-
description: string;
|
|
1245
|
-
type: "sale" | "override";
|
|
1246
1246
|
product_ids: {
|
|
1247
1247
|
id: string;
|
|
1248
1248
|
}[];
|
|
@@ -1577,8 +1577,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1577
1577
|
use_for_variants: boolean;
|
|
1578
1578
|
values?: string | string[] | undefined;
|
|
1579
1579
|
type?: string | undefined;
|
|
1580
|
-
is_required?: boolean | undefined;
|
|
1581
1580
|
attribute_id?: string | undefined;
|
|
1581
|
+
is_required?: boolean | undefined;
|
|
1582
1582
|
available_values?: {
|
|
1583
1583
|
id: string;
|
|
1584
1584
|
name: string;
|
|
@@ -1589,8 +1589,8 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1589
1589
|
use_for_variants: boolean;
|
|
1590
1590
|
values?: string | string[] | undefined;
|
|
1591
1591
|
type?: string | undefined;
|
|
1592
|
-
is_required?: boolean | undefined;
|
|
1593
1592
|
attribute_id?: string | undefined;
|
|
1593
|
+
is_required?: boolean | undefined;
|
|
1594
1594
|
available_values?: {
|
|
1595
1595
|
id: string;
|
|
1596
1596
|
name: string;
|
|
@@ -1619,37 +1619,37 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1619
1619
|
variant_rank: number;
|
|
1620
1620
|
should_create: boolean;
|
|
1621
1621
|
length?: string | number | undefined;
|
|
1622
|
-
|
|
1622
|
+
options?: Record<string, string> | undefined;
|
|
1623
1623
|
width?: string | number | undefined;
|
|
1624
|
-
|
|
1625
|
-
hs_code?: string | undefined;
|
|
1624
|
+
weight?: string | number | undefined;
|
|
1626
1625
|
height?: string | number | undefined;
|
|
1627
1626
|
origin_country?: string | undefined;
|
|
1627
|
+
hs_code?: string | undefined;
|
|
1628
1628
|
mid_code?: string | undefined;
|
|
1629
1629
|
material?: string | undefined;
|
|
1630
|
-
|
|
1631
|
-
is_default?: boolean | undefined;
|
|
1630
|
+
sku?: string | undefined;
|
|
1632
1631
|
barcode?: string | undefined;
|
|
1633
1632
|
ean?: string | undefined;
|
|
1634
1633
|
upc?: string | undefined;
|
|
1634
|
+
is_default?: boolean | undefined;
|
|
1635
1635
|
}, {
|
|
1636
1636
|
title: string;
|
|
1637
1637
|
variant_rank: number;
|
|
1638
1638
|
should_create: boolean;
|
|
1639
1639
|
length?: string | number | undefined;
|
|
1640
|
-
|
|
1640
|
+
options?: Record<string, string> | undefined;
|
|
1641
1641
|
width?: string | number | undefined;
|
|
1642
|
-
|
|
1643
|
-
hs_code?: string | undefined;
|
|
1642
|
+
weight?: string | number | undefined;
|
|
1644
1643
|
height?: string | number | undefined;
|
|
1645
1644
|
origin_country?: string | undefined;
|
|
1645
|
+
hs_code?: string | undefined;
|
|
1646
1646
|
mid_code?: string | undefined;
|
|
1647
1647
|
material?: string | undefined;
|
|
1648
|
-
|
|
1649
|
-
is_default?: boolean | undefined;
|
|
1648
|
+
sku?: string | undefined;
|
|
1650
1649
|
barcode?: string | undefined;
|
|
1651
1650
|
ean?: string | undefined;
|
|
1652
1651
|
upc?: string | undefined;
|
|
1652
|
+
is_default?: boolean | undefined;
|
|
1653
1653
|
}>, "many">;
|
|
1654
1654
|
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1655
1655
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1674,55 +1674,55 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1674
1674
|
variant_rank: number;
|
|
1675
1675
|
should_create: boolean;
|
|
1676
1676
|
length?: string | number | undefined;
|
|
1677
|
-
|
|
1677
|
+
options?: Record<string, string> | undefined;
|
|
1678
1678
|
width?: string | number | undefined;
|
|
1679
|
-
|
|
1680
|
-
hs_code?: string | undefined;
|
|
1679
|
+
weight?: string | number | undefined;
|
|
1681
1680
|
height?: string | number | undefined;
|
|
1682
1681
|
origin_country?: string | undefined;
|
|
1682
|
+
hs_code?: string | undefined;
|
|
1683
1683
|
mid_code?: string | undefined;
|
|
1684
1684
|
material?: string | undefined;
|
|
1685
|
-
|
|
1686
|
-
is_default?: boolean | undefined;
|
|
1685
|
+
sku?: string | undefined;
|
|
1687
1686
|
barcode?: string | undefined;
|
|
1688
1687
|
ean?: string | undefined;
|
|
1689
1688
|
upc?: string | undefined;
|
|
1689
|
+
is_default?: boolean | undefined;
|
|
1690
1690
|
}[];
|
|
1691
1691
|
discountable: boolean;
|
|
1692
1692
|
category_id: string;
|
|
1693
1693
|
length?: string | undefined;
|
|
1694
|
-
|
|
1694
|
+
description?: string | undefined;
|
|
1695
|
+
subtitle?: string | undefined;
|
|
1696
|
+
handle?: string | undefined;
|
|
1697
|
+
media?: {
|
|
1698
|
+
url: string;
|
|
1699
|
+
isThumbnail: boolean;
|
|
1700
|
+
file?: any;
|
|
1701
|
+
id?: string | undefined;
|
|
1702
|
+
}[] | undefined;
|
|
1703
|
+
collection_id?: string | undefined;
|
|
1695
1704
|
width?: string | undefined;
|
|
1696
|
-
|
|
1705
|
+
weight?: string | undefined;
|
|
1697
1706
|
height?: string | undefined;
|
|
1698
1707
|
origin_country?: string | undefined;
|
|
1708
|
+
hs_code?: string | undefined;
|
|
1699
1709
|
mid_code?: string | undefined;
|
|
1700
1710
|
material?: string | undefined;
|
|
1701
|
-
description?: string | undefined;
|
|
1702
1711
|
type_id?: string | undefined;
|
|
1703
1712
|
tags?: string[] | undefined;
|
|
1704
|
-
handle?: string | undefined;
|
|
1705
|
-
subtitle?: string | undefined;
|
|
1706
|
-
collection_id?: string | undefined;
|
|
1707
1713
|
attributes?: {
|
|
1708
1714
|
title: string;
|
|
1709
1715
|
is_custom: boolean;
|
|
1710
1716
|
use_for_variants: boolean;
|
|
1711
1717
|
values?: string | string[] | undefined;
|
|
1712
1718
|
type?: string | undefined;
|
|
1713
|
-
is_required?: boolean | undefined;
|
|
1714
1719
|
attribute_id?: string | undefined;
|
|
1720
|
+
is_required?: boolean | undefined;
|
|
1715
1721
|
available_values?: {
|
|
1716
1722
|
id: string;
|
|
1717
1723
|
name: string;
|
|
1718
1724
|
}[] | undefined;
|
|
1719
1725
|
}[] | undefined;
|
|
1720
|
-
media?: {
|
|
1721
|
-
url: string;
|
|
1722
|
-
isThumbnail: boolean;
|
|
1723
|
-
file?: any;
|
|
1724
|
-
id?: string | undefined;
|
|
1725
|
-
}[] | undefined;
|
|
1726
1726
|
seller_ids?: string[] | undefined;
|
|
1727
1727
|
}, {
|
|
1728
1728
|
title: string;
|
|
@@ -1731,55 +1731,55 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1731
1731
|
variant_rank: number;
|
|
1732
1732
|
should_create: boolean;
|
|
1733
1733
|
length?: string | number | undefined;
|
|
1734
|
-
|
|
1734
|
+
options?: Record<string, string> | undefined;
|
|
1735
1735
|
width?: string | number | undefined;
|
|
1736
|
-
|
|
1737
|
-
hs_code?: string | undefined;
|
|
1736
|
+
weight?: string | number | undefined;
|
|
1738
1737
|
height?: string | number | undefined;
|
|
1739
1738
|
origin_country?: string | undefined;
|
|
1739
|
+
hs_code?: string | undefined;
|
|
1740
1740
|
mid_code?: string | undefined;
|
|
1741
1741
|
material?: string | undefined;
|
|
1742
|
-
|
|
1743
|
-
is_default?: boolean | undefined;
|
|
1742
|
+
sku?: string | undefined;
|
|
1744
1743
|
barcode?: string | undefined;
|
|
1745
1744
|
ean?: string | undefined;
|
|
1746
1745
|
upc?: string | undefined;
|
|
1746
|
+
is_default?: boolean | undefined;
|
|
1747
1747
|
}[];
|
|
1748
1748
|
discountable: boolean;
|
|
1749
1749
|
category_id: string;
|
|
1750
1750
|
length?: string | undefined;
|
|
1751
|
-
|
|
1751
|
+
description?: string | undefined;
|
|
1752
|
+
subtitle?: string | undefined;
|
|
1753
|
+
handle?: string | undefined;
|
|
1754
|
+
media?: {
|
|
1755
|
+
url: string;
|
|
1756
|
+
isThumbnail: boolean;
|
|
1757
|
+
file?: any;
|
|
1758
|
+
id?: string | undefined;
|
|
1759
|
+
}[] | undefined;
|
|
1760
|
+
collection_id?: string | undefined;
|
|
1752
1761
|
width?: string | undefined;
|
|
1753
|
-
|
|
1762
|
+
weight?: string | undefined;
|
|
1754
1763
|
height?: string | undefined;
|
|
1755
1764
|
origin_country?: string | undefined;
|
|
1765
|
+
hs_code?: string | undefined;
|
|
1756
1766
|
mid_code?: string | undefined;
|
|
1757
1767
|
material?: string | undefined;
|
|
1758
|
-
description?: string | undefined;
|
|
1759
1768
|
type_id?: string | undefined;
|
|
1760
1769
|
tags?: string[] | undefined;
|
|
1761
|
-
handle?: string | undefined;
|
|
1762
|
-
subtitle?: string | undefined;
|
|
1763
|
-
collection_id?: string | undefined;
|
|
1764
1770
|
attributes?: {
|
|
1765
1771
|
title: string;
|
|
1766
1772
|
is_custom: boolean;
|
|
1767
1773
|
use_for_variants: boolean;
|
|
1768
1774
|
values?: string | string[] | undefined;
|
|
1769
1775
|
type?: string | undefined;
|
|
1770
|
-
is_required?: boolean | undefined;
|
|
1771
1776
|
attribute_id?: string | undefined;
|
|
1777
|
+
is_required?: boolean | undefined;
|
|
1772
1778
|
available_values?: {
|
|
1773
1779
|
id: string;
|
|
1774
1780
|
name: string;
|
|
1775
1781
|
}[] | undefined;
|
|
1776
1782
|
}[] | undefined;
|
|
1777
|
-
media?: {
|
|
1778
|
-
url: string;
|
|
1779
|
-
isThumbnail: boolean;
|
|
1780
|
-
file?: any;
|
|
1781
|
-
id?: string | undefined;
|
|
1782
|
-
}[] | undefined;
|
|
1783
1783
|
seller_ids?: string[] | undefined;
|
|
1784
1784
|
}>, {
|
|
1785
1785
|
title: string;
|
|
@@ -1788,55 +1788,55 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1788
1788
|
variant_rank: number;
|
|
1789
1789
|
should_create: boolean;
|
|
1790
1790
|
length?: string | number | undefined;
|
|
1791
|
-
|
|
1791
|
+
options?: Record<string, string> | undefined;
|
|
1792
1792
|
width?: string | number | undefined;
|
|
1793
|
-
|
|
1794
|
-
hs_code?: string | undefined;
|
|
1793
|
+
weight?: string | number | undefined;
|
|
1795
1794
|
height?: string | number | undefined;
|
|
1796
1795
|
origin_country?: string | undefined;
|
|
1796
|
+
hs_code?: string | undefined;
|
|
1797
1797
|
mid_code?: string | undefined;
|
|
1798
1798
|
material?: string | undefined;
|
|
1799
|
-
|
|
1800
|
-
is_default?: boolean | undefined;
|
|
1799
|
+
sku?: string | undefined;
|
|
1801
1800
|
barcode?: string | undefined;
|
|
1802
1801
|
ean?: string | undefined;
|
|
1803
1802
|
upc?: string | undefined;
|
|
1803
|
+
is_default?: boolean | undefined;
|
|
1804
1804
|
}[];
|
|
1805
1805
|
discountable: boolean;
|
|
1806
1806
|
category_id: string;
|
|
1807
1807
|
length?: string | undefined;
|
|
1808
|
-
|
|
1808
|
+
description?: string | undefined;
|
|
1809
|
+
subtitle?: string | undefined;
|
|
1810
|
+
handle?: string | undefined;
|
|
1811
|
+
media?: {
|
|
1812
|
+
url: string;
|
|
1813
|
+
isThumbnail: boolean;
|
|
1814
|
+
file?: any;
|
|
1815
|
+
id?: string | undefined;
|
|
1816
|
+
}[] | undefined;
|
|
1817
|
+
collection_id?: string | undefined;
|
|
1809
1818
|
width?: string | undefined;
|
|
1810
|
-
|
|
1819
|
+
weight?: string | undefined;
|
|
1811
1820
|
height?: string | undefined;
|
|
1812
1821
|
origin_country?: string | undefined;
|
|
1822
|
+
hs_code?: string | undefined;
|
|
1813
1823
|
mid_code?: string | undefined;
|
|
1814
1824
|
material?: string | undefined;
|
|
1815
|
-
description?: string | undefined;
|
|
1816
1825
|
type_id?: string | undefined;
|
|
1817
1826
|
tags?: string[] | undefined;
|
|
1818
|
-
handle?: string | undefined;
|
|
1819
|
-
subtitle?: string | undefined;
|
|
1820
|
-
collection_id?: string | undefined;
|
|
1821
1827
|
attributes?: {
|
|
1822
1828
|
title: string;
|
|
1823
1829
|
is_custom: boolean;
|
|
1824
1830
|
use_for_variants: boolean;
|
|
1825
1831
|
values?: string | string[] | undefined;
|
|
1826
1832
|
type?: string | undefined;
|
|
1827
|
-
is_required?: boolean | undefined;
|
|
1828
1833
|
attribute_id?: string | undefined;
|
|
1834
|
+
is_required?: boolean | undefined;
|
|
1829
1835
|
available_values?: {
|
|
1830
1836
|
id: string;
|
|
1831
1837
|
name: string;
|
|
1832
1838
|
}[] | undefined;
|
|
1833
1839
|
}[] | undefined;
|
|
1834
|
-
media?: {
|
|
1835
|
-
url: string;
|
|
1836
|
-
isThumbnail: boolean;
|
|
1837
|
-
file?: any;
|
|
1838
|
-
id?: string | undefined;
|
|
1839
|
-
}[] | undefined;
|
|
1840
1840
|
seller_ids?: string[] | undefined;
|
|
1841
1841
|
}, {
|
|
1842
1842
|
title: string;
|
|
@@ -1845,55 +1845,55 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1845
1845
|
variant_rank: number;
|
|
1846
1846
|
should_create: boolean;
|
|
1847
1847
|
length?: string | number | undefined;
|
|
1848
|
-
|
|
1848
|
+
options?: Record<string, string> | undefined;
|
|
1849
1849
|
width?: string | number | undefined;
|
|
1850
|
-
|
|
1851
|
-
hs_code?: string | undefined;
|
|
1850
|
+
weight?: string | number | undefined;
|
|
1852
1851
|
height?: string | number | undefined;
|
|
1853
1852
|
origin_country?: string | undefined;
|
|
1853
|
+
hs_code?: string | undefined;
|
|
1854
1854
|
mid_code?: string | undefined;
|
|
1855
1855
|
material?: string | undefined;
|
|
1856
|
-
|
|
1857
|
-
is_default?: boolean | undefined;
|
|
1856
|
+
sku?: string | undefined;
|
|
1858
1857
|
barcode?: string | undefined;
|
|
1859
1858
|
ean?: string | undefined;
|
|
1860
1859
|
upc?: string | undefined;
|
|
1860
|
+
is_default?: boolean | undefined;
|
|
1861
1861
|
}[];
|
|
1862
1862
|
discountable: boolean;
|
|
1863
1863
|
category_id: string;
|
|
1864
1864
|
length?: string | undefined;
|
|
1865
|
-
|
|
1865
|
+
description?: string | undefined;
|
|
1866
|
+
subtitle?: string | undefined;
|
|
1867
|
+
handle?: string | undefined;
|
|
1868
|
+
media?: {
|
|
1869
|
+
url: string;
|
|
1870
|
+
isThumbnail: boolean;
|
|
1871
|
+
file?: any;
|
|
1872
|
+
id?: string | undefined;
|
|
1873
|
+
}[] | undefined;
|
|
1874
|
+
collection_id?: string | undefined;
|
|
1866
1875
|
width?: string | undefined;
|
|
1867
|
-
|
|
1876
|
+
weight?: string | undefined;
|
|
1868
1877
|
height?: string | undefined;
|
|
1869
1878
|
origin_country?: string | undefined;
|
|
1879
|
+
hs_code?: string | undefined;
|
|
1870
1880
|
mid_code?: string | undefined;
|
|
1871
1881
|
material?: string | undefined;
|
|
1872
|
-
description?: string | undefined;
|
|
1873
1882
|
type_id?: string | undefined;
|
|
1874
1883
|
tags?: string[] | undefined;
|
|
1875
|
-
handle?: string | undefined;
|
|
1876
|
-
subtitle?: string | undefined;
|
|
1877
|
-
collection_id?: string | undefined;
|
|
1878
1884
|
attributes?: {
|
|
1879
1885
|
title: string;
|
|
1880
1886
|
is_custom: boolean;
|
|
1881
1887
|
use_for_variants: boolean;
|
|
1882
1888
|
values?: string | string[] | undefined;
|
|
1883
1889
|
type?: string | undefined;
|
|
1884
|
-
is_required?: boolean | undefined;
|
|
1885
1890
|
attribute_id?: string | undefined;
|
|
1891
|
+
is_required?: boolean | undefined;
|
|
1886
1892
|
available_values?: {
|
|
1887
1893
|
id: string;
|
|
1888
1894
|
name: string;
|
|
1889
1895
|
}[] | undefined;
|
|
1890
1896
|
}[] | undefined;
|
|
1891
|
-
media?: {
|
|
1892
|
-
url: string;
|
|
1893
|
-
isThumbnail: boolean;
|
|
1894
|
-
file?: any;
|
|
1895
|
-
id?: string | undefined;
|
|
1896
|
-
}[] | undefined;
|
|
1897
1897
|
seller_ids?: string[] | undefined;
|
|
1898
1898
|
}>;
|
|
1899
1899
|
|
|
@@ -1916,55 +1916,55 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1916
1916
|
variant_rank: number;
|
|
1917
1917
|
should_create: boolean;
|
|
1918
1918
|
length?: string | number | undefined;
|
|
1919
|
-
|
|
1919
|
+
options?: Record<string, string> | undefined;
|
|
1920
1920
|
width?: string | number | undefined;
|
|
1921
|
-
|
|
1922
|
-
hs_code?: string | undefined;
|
|
1921
|
+
weight?: string | number | undefined;
|
|
1923
1922
|
height?: string | number | undefined;
|
|
1924
1923
|
origin_country?: string | undefined;
|
|
1924
|
+
hs_code?: string | undefined;
|
|
1925
1925
|
mid_code?: string | undefined;
|
|
1926
1926
|
material?: string | undefined;
|
|
1927
|
-
|
|
1928
|
-
is_default?: boolean | undefined;
|
|
1927
|
+
sku?: string | undefined;
|
|
1929
1928
|
barcode?: string | undefined;
|
|
1930
1929
|
ean?: string | undefined;
|
|
1931
1930
|
upc?: string | undefined;
|
|
1931
|
+
is_default?: boolean | undefined;
|
|
1932
1932
|
}[];
|
|
1933
1933
|
discountable: boolean;
|
|
1934
1934
|
category_id: string;
|
|
1935
1935
|
length?: string | undefined;
|
|
1936
|
-
|
|
1936
|
+
description?: string | undefined;
|
|
1937
|
+
subtitle?: string | undefined;
|
|
1938
|
+
handle?: string | undefined;
|
|
1939
|
+
media?: {
|
|
1940
|
+
url: string;
|
|
1941
|
+
isThumbnail: boolean;
|
|
1942
|
+
file?: any;
|
|
1943
|
+
id?: string | undefined;
|
|
1944
|
+
}[] | undefined;
|
|
1945
|
+
collection_id?: string | undefined;
|
|
1937
1946
|
width?: string | undefined;
|
|
1938
|
-
|
|
1947
|
+
weight?: string | undefined;
|
|
1939
1948
|
height?: string | undefined;
|
|
1940
1949
|
origin_country?: string | undefined;
|
|
1950
|
+
hs_code?: string | undefined;
|
|
1941
1951
|
mid_code?: string | undefined;
|
|
1942
1952
|
material?: string | undefined;
|
|
1943
|
-
description?: string | undefined;
|
|
1944
1953
|
type_id?: string | undefined;
|
|
1945
1954
|
tags?: string[] | undefined;
|
|
1946
|
-
handle?: string | undefined;
|
|
1947
|
-
subtitle?: string | undefined;
|
|
1948
|
-
collection_id?: string | undefined;
|
|
1949
1955
|
attributes?: {
|
|
1950
1956
|
title: string;
|
|
1951
1957
|
is_custom: boolean;
|
|
1952
1958
|
use_for_variants: boolean;
|
|
1953
1959
|
values?: string | string[] | undefined;
|
|
1954
1960
|
type?: string | undefined;
|
|
1955
|
-
is_required?: boolean | undefined;
|
|
1956
1961
|
attribute_id?: string | undefined;
|
|
1962
|
+
is_required?: boolean | undefined;
|
|
1957
1963
|
available_values?: {
|
|
1958
1964
|
id: string;
|
|
1959
1965
|
name: string;
|
|
1960
1966
|
}[] | undefined;
|
|
1961
1967
|
}[] | undefined;
|
|
1962
|
-
media?: {
|
|
1963
|
-
url: string;
|
|
1964
|
-
isThumbnail: boolean;
|
|
1965
|
-
file?: any;
|
|
1966
|
-
id?: string | undefined;
|
|
1967
|
-
}[] | undefined;
|
|
1968
1968
|
seller_ids?: string[] | undefined;
|
|
1969
1969
|
}>;
|
|
1970
1970
|
};
|
|
@@ -1977,55 +1977,55 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1977
1977
|
variant_rank: number;
|
|
1978
1978
|
should_create: boolean;
|
|
1979
1979
|
length?: string | number | undefined;
|
|
1980
|
-
|
|
1980
|
+
options?: Record<string, string> | undefined;
|
|
1981
1981
|
width?: string | number | undefined;
|
|
1982
|
-
|
|
1983
|
-
hs_code?: string | undefined;
|
|
1982
|
+
weight?: string | number | undefined;
|
|
1984
1983
|
height?: string | number | undefined;
|
|
1985
1984
|
origin_country?: string | undefined;
|
|
1985
|
+
hs_code?: string | undefined;
|
|
1986
1986
|
mid_code?: string | undefined;
|
|
1987
1987
|
material?: string | undefined;
|
|
1988
|
-
|
|
1989
|
-
is_default?: boolean | undefined;
|
|
1988
|
+
sku?: string | undefined;
|
|
1990
1989
|
barcode?: string | undefined;
|
|
1991
1990
|
ean?: string | undefined;
|
|
1992
1991
|
upc?: string | undefined;
|
|
1992
|
+
is_default?: boolean | undefined;
|
|
1993
1993
|
}[];
|
|
1994
1994
|
discountable: boolean;
|
|
1995
1995
|
category_id: string;
|
|
1996
1996
|
length?: string | undefined;
|
|
1997
|
-
|
|
1997
|
+
description?: string | undefined;
|
|
1998
|
+
subtitle?: string | undefined;
|
|
1999
|
+
handle?: string | undefined;
|
|
2000
|
+
media?: {
|
|
2001
|
+
url: string;
|
|
2002
|
+
isThumbnail: boolean;
|
|
2003
|
+
file?: any;
|
|
2004
|
+
id?: string | undefined;
|
|
2005
|
+
}[] | undefined;
|
|
2006
|
+
collection_id?: string | undefined;
|
|
1998
2007
|
width?: string | undefined;
|
|
1999
|
-
|
|
2008
|
+
weight?: string | undefined;
|
|
2000
2009
|
height?: string | undefined;
|
|
2001
2010
|
origin_country?: string | undefined;
|
|
2011
|
+
hs_code?: string | undefined;
|
|
2002
2012
|
mid_code?: string | undefined;
|
|
2003
2013
|
material?: string | undefined;
|
|
2004
|
-
description?: string | undefined;
|
|
2005
2014
|
type_id?: string | undefined;
|
|
2006
2015
|
tags?: string[] | undefined;
|
|
2007
|
-
handle?: string | undefined;
|
|
2008
|
-
subtitle?: string | undefined;
|
|
2009
|
-
collection_id?: string | undefined;
|
|
2010
2016
|
attributes?: {
|
|
2011
2017
|
title: string;
|
|
2012
2018
|
is_custom: boolean;
|
|
2013
2019
|
use_for_variants: boolean;
|
|
2014
2020
|
values?: string | string[] | undefined;
|
|
2015
2021
|
type?: string | undefined;
|
|
2016
|
-
is_required?: boolean | undefined;
|
|
2017
2022
|
attribute_id?: string | undefined;
|
|
2023
|
+
is_required?: boolean | undefined;
|
|
2018
2024
|
available_values?: {
|
|
2019
2025
|
id: string;
|
|
2020
2026
|
name: string;
|
|
2021
2027
|
}[] | undefined;
|
|
2022
2028
|
}[] | undefined;
|
|
2023
|
-
media?: {
|
|
2024
|
-
url: string;
|
|
2025
|
-
isThumbnail: boolean;
|
|
2026
|
-
file?: any;
|
|
2027
|
-
id?: string | undefined;
|
|
2028
|
-
}[] | undefined;
|
|
2029
2029
|
seller_ids?: string[] | undefined;
|
|
2030
2030
|
}>;
|
|
2031
2031
|
};
|
|
@@ -2038,55 +2038,55 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
2038
2038
|
variant_rank: number;
|
|
2039
2039
|
should_create: boolean;
|
|
2040
2040
|
length?: string | number | undefined;
|
|
2041
|
-
|
|
2041
|
+
options?: Record<string, string> | undefined;
|
|
2042
2042
|
width?: string | number | undefined;
|
|
2043
|
-
|
|
2044
|
-
hs_code?: string | undefined;
|
|
2043
|
+
weight?: string | number | undefined;
|
|
2045
2044
|
height?: string | number | undefined;
|
|
2046
2045
|
origin_country?: string | undefined;
|
|
2046
|
+
hs_code?: string | undefined;
|
|
2047
2047
|
mid_code?: string | undefined;
|
|
2048
2048
|
material?: string | undefined;
|
|
2049
|
-
|
|
2050
|
-
is_default?: boolean | undefined;
|
|
2049
|
+
sku?: string | undefined;
|
|
2051
2050
|
barcode?: string | undefined;
|
|
2052
2051
|
ean?: string | undefined;
|
|
2053
2052
|
upc?: string | undefined;
|
|
2053
|
+
is_default?: boolean | undefined;
|
|
2054
2054
|
}[];
|
|
2055
2055
|
discountable: boolean;
|
|
2056
2056
|
category_id: string;
|
|
2057
2057
|
length?: string | undefined;
|
|
2058
|
-
|
|
2058
|
+
description?: string | undefined;
|
|
2059
|
+
subtitle?: string | undefined;
|
|
2060
|
+
handle?: string | undefined;
|
|
2061
|
+
media?: {
|
|
2062
|
+
url: string;
|
|
2063
|
+
isThumbnail: boolean;
|
|
2064
|
+
file?: any;
|
|
2065
|
+
id?: string | undefined;
|
|
2066
|
+
}[] | undefined;
|
|
2067
|
+
collection_id?: string | undefined;
|
|
2059
2068
|
width?: string | undefined;
|
|
2060
|
-
|
|
2069
|
+
weight?: string | undefined;
|
|
2061
2070
|
height?: string | undefined;
|
|
2062
2071
|
origin_country?: string | undefined;
|
|
2072
|
+
hs_code?: string | undefined;
|
|
2063
2073
|
mid_code?: string | undefined;
|
|
2064
2074
|
material?: string | undefined;
|
|
2065
|
-
description?: string | undefined;
|
|
2066
2075
|
type_id?: string | undefined;
|
|
2067
2076
|
tags?: string[] | undefined;
|
|
2068
|
-
handle?: string | undefined;
|
|
2069
|
-
subtitle?: string | undefined;
|
|
2070
|
-
collection_id?: string | undefined;
|
|
2071
2077
|
attributes?: {
|
|
2072
2078
|
title: string;
|
|
2073
2079
|
is_custom: boolean;
|
|
2074
2080
|
use_for_variants: boolean;
|
|
2075
2081
|
values?: string | string[] | undefined;
|
|
2076
2082
|
type?: string | undefined;
|
|
2077
|
-
is_required?: boolean | undefined;
|
|
2078
2083
|
attribute_id?: string | undefined;
|
|
2084
|
+
is_required?: boolean | undefined;
|
|
2079
2085
|
available_values?: {
|
|
2080
2086
|
id: string;
|
|
2081
2087
|
name: string;
|
|
2082
2088
|
}[] | undefined;
|
|
2083
2089
|
}[] | undefined;
|
|
2084
|
-
media?: {
|
|
2085
|
-
url: string;
|
|
2086
|
-
isThumbnail: boolean;
|
|
2087
|
-
file?: any;
|
|
2088
|
-
id?: string | undefined;
|
|
2089
|
-
}[] | undefined;
|
|
2090
2090
|
seller_ids?: string[] | undefined;
|
|
2091
2091
|
}>;
|
|
2092
2092
|
};
|
|
@@ -2099,55 +2099,55 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
2099
2099
|
variant_rank: number;
|
|
2100
2100
|
should_create: boolean;
|
|
2101
2101
|
length?: string | number | undefined;
|
|
2102
|
-
|
|
2102
|
+
options?: Record<string, string> | undefined;
|
|
2103
2103
|
width?: string | number | undefined;
|
|
2104
|
-
|
|
2105
|
-
hs_code?: string | undefined;
|
|
2104
|
+
weight?: string | number | undefined;
|
|
2106
2105
|
height?: string | number | undefined;
|
|
2107
2106
|
origin_country?: string | undefined;
|
|
2107
|
+
hs_code?: string | undefined;
|
|
2108
2108
|
mid_code?: string | undefined;
|
|
2109
2109
|
material?: string | undefined;
|
|
2110
|
-
|
|
2111
|
-
is_default?: boolean | undefined;
|
|
2110
|
+
sku?: string | undefined;
|
|
2112
2111
|
barcode?: string | undefined;
|
|
2113
2112
|
ean?: string | undefined;
|
|
2114
2113
|
upc?: string | undefined;
|
|
2114
|
+
is_default?: boolean | undefined;
|
|
2115
2115
|
}[];
|
|
2116
2116
|
discountable: boolean;
|
|
2117
2117
|
category_id: string;
|
|
2118
2118
|
length?: string | undefined;
|
|
2119
|
-
|
|
2119
|
+
description?: string | undefined;
|
|
2120
|
+
subtitle?: string | undefined;
|
|
2121
|
+
handle?: string | undefined;
|
|
2122
|
+
media?: {
|
|
2123
|
+
url: string;
|
|
2124
|
+
isThumbnail: boolean;
|
|
2125
|
+
file?: any;
|
|
2126
|
+
id?: string | undefined;
|
|
2127
|
+
}[] | undefined;
|
|
2128
|
+
collection_id?: string | undefined;
|
|
2120
2129
|
width?: string | undefined;
|
|
2121
|
-
|
|
2130
|
+
weight?: string | undefined;
|
|
2122
2131
|
height?: string | undefined;
|
|
2123
2132
|
origin_country?: string | undefined;
|
|
2133
|
+
hs_code?: string | undefined;
|
|
2124
2134
|
mid_code?: string | undefined;
|
|
2125
2135
|
material?: string | undefined;
|
|
2126
|
-
description?: string | undefined;
|
|
2127
2136
|
type_id?: string | undefined;
|
|
2128
2137
|
tags?: string[] | undefined;
|
|
2129
|
-
handle?: string | undefined;
|
|
2130
|
-
subtitle?: string | undefined;
|
|
2131
|
-
collection_id?: string | undefined;
|
|
2132
2138
|
attributes?: {
|
|
2133
2139
|
title: string;
|
|
2134
2140
|
is_custom: boolean;
|
|
2135
2141
|
use_for_variants: boolean;
|
|
2136
2142
|
values?: string | string[] | undefined;
|
|
2137
2143
|
type?: string | undefined;
|
|
2138
|
-
is_required?: boolean | undefined;
|
|
2139
2144
|
attribute_id?: string | undefined;
|
|
2145
|
+
is_required?: boolean | undefined;
|
|
2140
2146
|
available_values?: {
|
|
2141
2147
|
id: string;
|
|
2142
2148
|
name: string;
|
|
2143
2149
|
}[] | undefined;
|
|
2144
2150
|
}[] | undefined;
|
|
2145
|
-
media?: {
|
|
2146
|
-
url: string;
|
|
2147
|
-
isThumbnail: boolean;
|
|
2148
|
-
file?: any;
|
|
2149
|
-
id?: string | undefined;
|
|
2150
|
-
}[] | undefined;
|
|
2151
2151
|
seller_ids?: string[] | undefined;
|
|
2152
2152
|
}>;
|
|
2153
2153
|
};
|
|
@@ -2164,12 +2164,12 @@ declare const CreateProductVariantSchema: z.ZodObject<{
|
|
|
2164
2164
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2165
2165
|
}, "strip", z.ZodTypeAny, {
|
|
2166
2166
|
title: string;
|
|
2167
|
-
sku?: string | undefined;
|
|
2168
2167
|
options?: Record<string, string> | undefined;
|
|
2168
|
+
sku?: string | undefined;
|
|
2169
2169
|
}, {
|
|
2170
2170
|
title: string;
|
|
2171
|
-
sku?: string | undefined;
|
|
2172
2171
|
options?: Record<string, string> | undefined;
|
|
2172
|
+
sku?: string | undefined;
|
|
2173
2173
|
}>;
|
|
2174
2174
|
|
|
2175
2175
|
type CreateProductVariantSchemaType = z.infer<typeof CreateProductVariantSchema>;
|
|
@@ -2181,8 +2181,8 @@ declare function DetailsTab({ product }: DetailsTabProps): react_jsx_runtime.JSX
|
|
|
2181
2181
|
declare namespace DetailsTab {
|
|
2182
2182
|
var _tabMeta: TabDefinition<{
|
|
2183
2183
|
title: string;
|
|
2184
|
-
sku?: string | undefined;
|
|
2185
2184
|
options?: Record<string, string> | undefined;
|
|
2185
|
+
sku?: string | undefined;
|
|
2186
2186
|
}>;
|
|
2187
2187
|
}
|
|
2188
2188
|
|
|
@@ -2340,6 +2340,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2340
2340
|
}, "strip", z.ZodTypeAny, {
|
|
2341
2341
|
value: string | number;
|
|
2342
2342
|
type: "fixed" | "percentage";
|
|
2343
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2343
2344
|
allocation: "each" | "across" | "once";
|
|
2344
2345
|
target_rules: {
|
|
2345
2346
|
values: string | number | string[];
|
|
@@ -2359,12 +2360,12 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2359
2360
|
disguised?: boolean | undefined;
|
|
2360
2361
|
field_type?: string | undefined;
|
|
2361
2362
|
}[];
|
|
2362
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2363
2363
|
currency_code?: string | undefined;
|
|
2364
2364
|
max_quantity?: number | null | undefined;
|
|
2365
2365
|
}, {
|
|
2366
2366
|
value: string | number;
|
|
2367
2367
|
type: "fixed" | "percentage";
|
|
2368
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2368
2369
|
allocation: "each" | "across" | "once";
|
|
2369
2370
|
target_rules: {
|
|
2370
2371
|
values: string | number | string[];
|
|
@@ -2384,7 +2385,6 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2384
2385
|
disguised?: boolean | undefined;
|
|
2385
2386
|
field_type?: string | undefined;
|
|
2386
2387
|
}[];
|
|
2387
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2388
2388
|
currency_code?: string | undefined;
|
|
2389
2389
|
max_quantity?: number | null | undefined;
|
|
2390
2390
|
}>;
|
|
@@ -2400,39 +2400,39 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2400
2400
|
type: z.ZodEnum<["spend", "usage", "use_by_attribute"]>;
|
|
2401
2401
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2402
2402
|
}, "strip", z.ZodTypeAny, {
|
|
2403
|
-
type: "
|
|
2403
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2404
|
+
currency_code?: string | null | undefined;
|
|
2404
2405
|
limit?: number | null | undefined;
|
|
2405
2406
|
attribute?: string | null | undefined;
|
|
2406
|
-
currency_code?: string | null | undefined;
|
|
2407
2407
|
}, {
|
|
2408
|
-
type: "
|
|
2408
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2409
|
+
currency_code?: string | null | undefined;
|
|
2409
2410
|
limit?: number | null | undefined;
|
|
2410
2411
|
attribute?: string | null | undefined;
|
|
2411
|
-
currency_code?: string | null | undefined;
|
|
2412
2412
|
}>;
|
|
2413
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2414
2414
|
name: string;
|
|
2415
2415
|
campaign_identifier: string;
|
|
2416
|
+
starts_at: Date | null;
|
|
2417
|
+
ends_at: Date | null;
|
|
2416
2418
|
budget: {
|
|
2417
|
-
type: "
|
|
2419
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2420
|
+
currency_code?: string | null | undefined;
|
|
2418
2421
|
limit?: number | null | undefined;
|
|
2419
2422
|
attribute?: string | null | undefined;
|
|
2420
|
-
currency_code?: string | null | undefined;
|
|
2421
2423
|
};
|
|
2422
|
-
starts_at: Date | null;
|
|
2423
|
-
ends_at: Date | null;
|
|
2424
2424
|
description?: string | undefined;
|
|
2425
2425
|
}, {
|
|
2426
2426
|
name: string;
|
|
2427
2427
|
campaign_identifier: string;
|
|
2428
|
+
starts_at: Date | null;
|
|
2429
|
+
ends_at: Date | null;
|
|
2428
2430
|
budget: {
|
|
2429
|
-
type: "
|
|
2431
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2432
|
+
currency_code?: string | null | undefined;
|
|
2430
2433
|
limit?: number | null | undefined;
|
|
2431
2434
|
attribute?: string | null | undefined;
|
|
2432
|
-
currency_code?: string | null | undefined;
|
|
2433
2435
|
};
|
|
2434
|
-
starts_at: Date | null;
|
|
2435
|
-
ends_at: Date | null;
|
|
2436
2436
|
description?: string | undefined;
|
|
2437
2437
|
}>>;
|
|
2438
2438
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2452,6 +2452,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2452
2452
|
application_method: {
|
|
2453
2453
|
value: string | number;
|
|
2454
2454
|
type: "fixed" | "percentage";
|
|
2455
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2455
2456
|
allocation: "each" | "across" | "once";
|
|
2456
2457
|
target_rules: {
|
|
2457
2458
|
values: string | number | string[];
|
|
@@ -2471,27 +2472,26 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2471
2472
|
disguised?: boolean | undefined;
|
|
2472
2473
|
field_type?: string | undefined;
|
|
2473
2474
|
}[];
|
|
2474
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2475
2475
|
currency_code?: string | undefined;
|
|
2476
2476
|
max_quantity?: number | null | undefined;
|
|
2477
2477
|
};
|
|
2478
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2479
|
+
campaign_id?: string | undefined;
|
|
2478
2480
|
campaign?: {
|
|
2479
2481
|
name: string;
|
|
2480
2482
|
campaign_identifier: string;
|
|
2483
|
+
starts_at: Date | null;
|
|
2484
|
+
ends_at: Date | null;
|
|
2481
2485
|
budget: {
|
|
2482
|
-
type: "
|
|
2486
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2487
|
+
currency_code?: string | null | undefined;
|
|
2483
2488
|
limit?: number | null | undefined;
|
|
2484
2489
|
attribute?: string | null | undefined;
|
|
2485
|
-
currency_code?: string | null | undefined;
|
|
2486
2490
|
};
|
|
2487
|
-
starts_at: Date | null;
|
|
2488
|
-
ends_at: Date | null;
|
|
2489
2491
|
description?: string | undefined;
|
|
2490
2492
|
} | undefined;
|
|
2491
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2492
|
-
campaign_id?: string | undefined;
|
|
2493
2493
|
template_id?: string | undefined;
|
|
2494
|
-
campaign_choice?: "
|
|
2494
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2495
2495
|
}, {
|
|
2496
2496
|
code: string;
|
|
2497
2497
|
status: "draft" | "active" | "inactive";
|
|
@@ -2509,6 +2509,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2509
2509
|
application_method: {
|
|
2510
2510
|
value: string | number;
|
|
2511
2511
|
type: "fixed" | "percentage";
|
|
2512
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2512
2513
|
allocation: "each" | "across" | "once";
|
|
2513
2514
|
target_rules: {
|
|
2514
2515
|
values: string | number | string[];
|
|
@@ -2528,27 +2529,26 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2528
2529
|
disguised?: boolean | undefined;
|
|
2529
2530
|
field_type?: string | undefined;
|
|
2530
2531
|
}[];
|
|
2531
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2532
2532
|
currency_code?: string | undefined;
|
|
2533
2533
|
max_quantity?: number | null | undefined;
|
|
2534
2534
|
};
|
|
2535
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2536
|
+
campaign_id?: string | undefined;
|
|
2535
2537
|
campaign?: {
|
|
2536
2538
|
name: string;
|
|
2537
2539
|
campaign_identifier: string;
|
|
2540
|
+
starts_at: Date | null;
|
|
2541
|
+
ends_at: Date | null;
|
|
2538
2542
|
budget: {
|
|
2539
|
-
type: "
|
|
2543
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2544
|
+
currency_code?: string | null | undefined;
|
|
2540
2545
|
limit?: number | null | undefined;
|
|
2541
2546
|
attribute?: string | null | undefined;
|
|
2542
|
-
currency_code?: string | null | undefined;
|
|
2543
2547
|
};
|
|
2544
|
-
starts_at: Date | null;
|
|
2545
|
-
ends_at: Date | null;
|
|
2546
2548
|
description?: string | undefined;
|
|
2547
2549
|
} | undefined;
|
|
2548
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2549
|
-
campaign_id?: string | undefined;
|
|
2550
2550
|
template_id?: string | undefined;
|
|
2551
|
-
campaign_choice?: "
|
|
2551
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2552
2552
|
}>, {
|
|
2553
2553
|
code: string;
|
|
2554
2554
|
status: "draft" | "active" | "inactive";
|
|
@@ -2566,6 +2566,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2566
2566
|
application_method: {
|
|
2567
2567
|
value: string | number;
|
|
2568
2568
|
type: "fixed" | "percentage";
|
|
2569
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2569
2570
|
allocation: "each" | "across" | "once";
|
|
2570
2571
|
target_rules: {
|
|
2571
2572
|
values: string | number | string[];
|
|
@@ -2585,27 +2586,26 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2585
2586
|
disguised?: boolean | undefined;
|
|
2586
2587
|
field_type?: string | undefined;
|
|
2587
2588
|
}[];
|
|
2588
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2589
2589
|
currency_code?: string | undefined;
|
|
2590
2590
|
max_quantity?: number | null | undefined;
|
|
2591
2591
|
};
|
|
2592
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2593
|
+
campaign_id?: string | undefined;
|
|
2592
2594
|
campaign?: {
|
|
2593
2595
|
name: string;
|
|
2594
2596
|
campaign_identifier: string;
|
|
2597
|
+
starts_at: Date | null;
|
|
2598
|
+
ends_at: Date | null;
|
|
2595
2599
|
budget: {
|
|
2596
|
-
type: "
|
|
2600
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2601
|
+
currency_code?: string | null | undefined;
|
|
2597
2602
|
limit?: number | null | undefined;
|
|
2598
2603
|
attribute?: string | null | undefined;
|
|
2599
|
-
currency_code?: string | null | undefined;
|
|
2600
2604
|
};
|
|
2601
|
-
starts_at: Date | null;
|
|
2602
|
-
ends_at: Date | null;
|
|
2603
2605
|
description?: string | undefined;
|
|
2604
2606
|
} | undefined;
|
|
2605
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2606
|
-
campaign_id?: string | undefined;
|
|
2607
2607
|
template_id?: string | undefined;
|
|
2608
|
-
campaign_choice?: "
|
|
2608
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2609
2609
|
}, {
|
|
2610
2610
|
code: string;
|
|
2611
2611
|
status: "draft" | "active" | "inactive";
|
|
@@ -2623,6 +2623,7 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2623
2623
|
application_method: {
|
|
2624
2624
|
value: string | number;
|
|
2625
2625
|
type: "fixed" | "percentage";
|
|
2626
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2626
2627
|
allocation: "each" | "across" | "once";
|
|
2627
2628
|
target_rules: {
|
|
2628
2629
|
values: string | number | string[];
|
|
@@ -2642,27 +2643,26 @@ declare const CreatePromotionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2642
2643
|
disguised?: boolean | undefined;
|
|
2643
2644
|
field_type?: string | undefined;
|
|
2644
2645
|
}[];
|
|
2645
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2646
2646
|
currency_code?: string | undefined;
|
|
2647
2647
|
max_quantity?: number | null | undefined;
|
|
2648
2648
|
};
|
|
2649
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2650
|
+
campaign_id?: string | undefined;
|
|
2649
2651
|
campaign?: {
|
|
2650
2652
|
name: string;
|
|
2651
2653
|
campaign_identifier: string;
|
|
2654
|
+
starts_at: Date | null;
|
|
2655
|
+
ends_at: Date | null;
|
|
2652
2656
|
budget: {
|
|
2653
|
-
type: "
|
|
2657
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2658
|
+
currency_code?: string | null | undefined;
|
|
2654
2659
|
limit?: number | null | undefined;
|
|
2655
2660
|
attribute?: string | null | undefined;
|
|
2656
|
-
currency_code?: string | null | undefined;
|
|
2657
2661
|
};
|
|
2658
|
-
starts_at: Date | null;
|
|
2659
|
-
ends_at: Date | null;
|
|
2660
2662
|
description?: string | undefined;
|
|
2661
2663
|
} | undefined;
|
|
2662
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2663
|
-
campaign_id?: string | undefined;
|
|
2664
2664
|
template_id?: string | undefined;
|
|
2665
|
-
campaign_choice?: "
|
|
2665
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2666
2666
|
}>;
|
|
2667
2667
|
type CreatePromotionSchemaType = z.infer<typeof CreatePromotionSchema>;
|
|
2668
2668
|
|
|
@@ -2696,6 +2696,7 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2696
2696
|
application_method: {
|
|
2697
2697
|
value: string | number;
|
|
2698
2698
|
type: "fixed" | "percentage";
|
|
2699
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2699
2700
|
allocation: "each" | "across" | "once";
|
|
2700
2701
|
target_rules: {
|
|
2701
2702
|
values: string | number | string[];
|
|
@@ -2715,27 +2716,26 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2715
2716
|
disguised?: boolean | undefined;
|
|
2716
2717
|
field_type?: string | undefined;
|
|
2717
2718
|
}[];
|
|
2718
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2719
2719
|
currency_code?: string | undefined;
|
|
2720
2720
|
max_quantity?: number | null | undefined;
|
|
2721
2721
|
};
|
|
2722
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2723
|
+
campaign_id?: string | undefined;
|
|
2722
2724
|
campaign?: {
|
|
2723
2725
|
name: string;
|
|
2724
2726
|
campaign_identifier: string;
|
|
2727
|
+
starts_at: Date | null;
|
|
2728
|
+
ends_at: Date | null;
|
|
2725
2729
|
budget: {
|
|
2726
|
-
type: "
|
|
2730
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2731
|
+
currency_code?: string | null | undefined;
|
|
2727
2732
|
limit?: number | null | undefined;
|
|
2728
2733
|
attribute?: string | null | undefined;
|
|
2729
|
-
currency_code?: string | null | undefined;
|
|
2730
2734
|
};
|
|
2731
|
-
starts_at: Date | null;
|
|
2732
|
-
ends_at: Date | null;
|
|
2733
2735
|
description?: string | undefined;
|
|
2734
2736
|
} | undefined;
|
|
2735
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2736
|
-
campaign_id?: string | undefined;
|
|
2737
2737
|
template_id?: string | undefined;
|
|
2738
|
-
campaign_choice?: "
|
|
2738
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2739
2739
|
}>;
|
|
2740
2740
|
};
|
|
2741
2741
|
DetailsTab: {
|
|
@@ -2763,6 +2763,7 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2763
2763
|
application_method: {
|
|
2764
2764
|
value: string | number;
|
|
2765
2765
|
type: "fixed" | "percentage";
|
|
2766
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2766
2767
|
allocation: "each" | "across" | "once";
|
|
2767
2768
|
target_rules: {
|
|
2768
2769
|
values: string | number | string[];
|
|
@@ -2782,27 +2783,26 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2782
2783
|
disguised?: boolean | undefined;
|
|
2783
2784
|
field_type?: string | undefined;
|
|
2784
2785
|
}[];
|
|
2785
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2786
2786
|
currency_code?: string | undefined;
|
|
2787
2787
|
max_quantity?: number | null | undefined;
|
|
2788
2788
|
};
|
|
2789
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2790
|
+
campaign_id?: string | undefined;
|
|
2789
2791
|
campaign?: {
|
|
2790
2792
|
name: string;
|
|
2791
2793
|
campaign_identifier: string;
|
|
2794
|
+
starts_at: Date | null;
|
|
2795
|
+
ends_at: Date | null;
|
|
2792
2796
|
budget: {
|
|
2793
|
-
type: "
|
|
2797
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2798
|
+
currency_code?: string | null | undefined;
|
|
2794
2799
|
limit?: number | null | undefined;
|
|
2795
2800
|
attribute?: string | null | undefined;
|
|
2796
|
-
currency_code?: string | null | undefined;
|
|
2797
2801
|
};
|
|
2798
|
-
starts_at: Date | null;
|
|
2799
|
-
ends_at: Date | null;
|
|
2800
2802
|
description?: string | undefined;
|
|
2801
2803
|
} | undefined;
|
|
2802
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2803
|
-
campaign_id?: string | undefined;
|
|
2804
2804
|
template_id?: string | undefined;
|
|
2805
|
-
campaign_choice?: "
|
|
2805
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2806
2806
|
}>;
|
|
2807
2807
|
};
|
|
2808
2808
|
CampaignTab: {
|
|
@@ -2824,6 +2824,7 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2824
2824
|
application_method: {
|
|
2825
2825
|
value: string | number;
|
|
2826
2826
|
type: "fixed" | "percentage";
|
|
2827
|
+
target_type: "items" | "order" | "shipping_methods";
|
|
2827
2828
|
allocation: "each" | "across" | "once";
|
|
2828
2829
|
target_rules: {
|
|
2829
2830
|
values: string | number | string[];
|
|
@@ -2843,27 +2844,26 @@ declare const PromotionCreatePage: (({ children }: {
|
|
|
2843
2844
|
disguised?: boolean | undefined;
|
|
2844
2845
|
field_type?: string | undefined;
|
|
2845
2846
|
}[];
|
|
2846
|
-
target_type: "order" | "shipping_methods" | "items";
|
|
2847
2847
|
currency_code?: string | undefined;
|
|
2848
2848
|
max_quantity?: number | null | undefined;
|
|
2849
2849
|
};
|
|
2850
|
+
is_tax_inclusive?: boolean | undefined;
|
|
2851
|
+
campaign_id?: string | undefined;
|
|
2850
2852
|
campaign?: {
|
|
2851
2853
|
name: string;
|
|
2852
2854
|
campaign_identifier: string;
|
|
2855
|
+
starts_at: Date | null;
|
|
2856
|
+
ends_at: Date | null;
|
|
2853
2857
|
budget: {
|
|
2854
|
-
type: "
|
|
2858
|
+
type: "spend" | "usage" | "use_by_attribute";
|
|
2859
|
+
currency_code?: string | null | undefined;
|
|
2855
2860
|
limit?: number | null | undefined;
|
|
2856
2861
|
attribute?: string | null | undefined;
|
|
2857
|
-
currency_code?: string | null | undefined;
|
|
2858
2862
|
};
|
|
2859
|
-
starts_at: Date | null;
|
|
2860
|
-
ends_at: Date | null;
|
|
2861
2863
|
description?: string | undefined;
|
|
2862
2864
|
} | undefined;
|
|
2863
|
-
is_tax_inclusive?: boolean | undefined;
|
|
2864
|
-
campaign_id?: string | undefined;
|
|
2865
2865
|
template_id?: string | undefined;
|
|
2866
|
-
campaign_choice?: "
|
|
2866
|
+
campaign_choice?: "existing" | "none" | "new" | undefined;
|
|
2867
2867
|
}>;
|
|
2868
2868
|
};
|
|
2869
2869
|
Tab: ({ children, }: {
|
|
@@ -3002,39 +3002,39 @@ declare const StoreDetailPage: (({ children }: {
|
|
|
3002
3002
|
Main: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3003
3003
|
Sidebar: ({ children, className, ...props }: react.ComponentPropsWithoutRef<"div">) => react_jsx_runtime.JSX.Element;
|
|
3004
3004
|
MainGeneralSection: ({ seller, children, }: {
|
|
3005
|
-
seller:
|
|
3005
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3006
3006
|
children?: ReactNode;
|
|
3007
3007
|
}) => react_jsx_runtime.JSX.Element;
|
|
3008
3008
|
MainConfigurationSection: ({ seller, }: {
|
|
3009
|
-
seller:
|
|
3009
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3010
3010
|
}) => react_jsx_runtime.JSX.Element;
|
|
3011
3011
|
MainPaymentDetailsSection: ({ seller, }: {
|
|
3012
|
-
seller:
|
|
3012
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3013
3013
|
}) => react_jsx_runtime.JSX.Element;
|
|
3014
3014
|
MainCompanyDetailsSection: ({ seller, }: {
|
|
3015
|
-
seller:
|
|
3015
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3016
3016
|
}) => react_jsx_runtime.JSX.Element;
|
|
3017
3017
|
SidebarAddressSection: ({ seller }: {
|
|
3018
|
-
seller:
|
|
3018
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3019
3019
|
}) => react_jsx_runtime.JSX.Element;
|
|
3020
3020
|
SidebarMembersSection: ({ sellerId }: {
|
|
3021
3021
|
sellerId: string;
|
|
3022
3022
|
}) => react_jsx_runtime.JSX.Element;
|
|
3023
3023
|
Header: ({ seller, children, }: {
|
|
3024
|
-
seller:
|
|
3024
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3025
3025
|
} & {
|
|
3026
3026
|
children?: ReactNode;
|
|
3027
3027
|
}) => react_jsx_runtime.JSX.Element;
|
|
3028
3028
|
HeaderTitle: ({ seller }: {
|
|
3029
|
-
seller:
|
|
3029
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3030
3030
|
}) => react_jsx_runtime.JSX.Element;
|
|
3031
3031
|
HeaderActions: ({ seller, children, }: {
|
|
3032
|
-
seller:
|
|
3032
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3033
3033
|
} & {
|
|
3034
3034
|
children?: ReactNode;
|
|
3035
3035
|
}) => react_jsx_runtime.JSX.Element;
|
|
3036
3036
|
HeaderEditButton: ({ seller }: {
|
|
3037
|
-
seller:
|
|
3037
|
+
seller: _mercurjs_types.SellerDTO;
|
|
3038
3038
|
}) => react_jsx_runtime.JSX.Element;
|
|
3039
3039
|
};
|
|
3040
3040
|
|