@thryveai/theme-interfaces 2.7.155-1.zod → 2.7.155-3.zod
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/core/storefront-zod/retailer-settings/checkout.d.ts +1 -1
- package/dist/core/storefront-zod/retailer-settings/features.d.ts +40 -82
- package/dist/core/storefront-zod/retailer-settings/index.d.ts +90 -202
- package/dist/core/storefront-zod/retailer-settings/productCard.d.ts +2 -2
- package/dist/core/storefront-zod/retailer-settings/sharedSchemas.d.ts +47 -75
- package/dist/core/storefront-zod/retailer-settings/sharedSchemas.js +22 -24
- package/dist/core/storefront-zod/retailer-settings/siteSettings.d.ts +2 -2
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ export declare const iProductCardSettingsV2Schema: z.ZodObject<{
|
|
|
3
3
|
limitProductCardTitleHeight: z.ZodBoolean;
|
|
4
4
|
productCardTitleHeight: z.ZodNumber;
|
|
5
5
|
productCards: z.ZodObject<{
|
|
6
|
-
gridRowLength: z.ZodRecord<z.
|
|
7
|
-
carouselsRowLength: z.ZodRecord<z.
|
|
6
|
+
gridRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
|
|
7
|
+
carouselsRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
|
|
8
8
|
productCard: z.ZodObject<{
|
|
9
9
|
enabled: z.ZodBoolean;
|
|
10
10
|
layouts: z.ZodObject<{
|
|
@@ -560,8 +560,8 @@ export declare const iAddressValidationTypesSchema: z.ZodObject<{
|
|
|
560
560
|
} | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
|
|
561
561
|
}>;
|
|
562
562
|
export declare const iAddressFinderTypeSchema: z.ZodUnion<[z.ZodLiteral<"AUS">, z.ZodLiteral<"EU">, z.ZodLiteral<"IE">, z.ZodLiteral<"US">, z.ZodLiteral<"UK">, z.ZodLiteral<"CA">]>;
|
|
563
|
-
export declare const paymentCardsSchema: z.
|
|
564
|
-
export declare const iPaymentCardsSchema: z.ZodRecord<z.
|
|
563
|
+
export declare const paymentCardsSchema: z.ZodEnum<["AmExpCard", "ApplePay", "DiscoverCard", "EBT", "PayPal", "GooglePay", "MasterCard", "MasterCardDebit", "VisaCard", "Paze"]>;
|
|
564
|
+
export declare const iPaymentCardsSchema: z.ZodRecord<z.ZodEnum<["AmExpCard", "ApplePay", "DiscoverCard", "EBT", "PayPal", "GooglePay", "MasterCard", "MasterCardDebit", "VisaCard", "Paze"]>, z.ZodBoolean>;
|
|
565
565
|
export declare const iCheckoutValidationSchema: z.ZodObject<{
|
|
566
566
|
instructions: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
567
567
|
_type: z.ZodLiteral<"overYears">;
|
|
@@ -777,25 +777,21 @@ export declare const iShoppingRuleControlSchema: z.ZodObject<{
|
|
|
777
777
|
pdp?: boolean;
|
|
778
778
|
productCard?: boolean;
|
|
779
779
|
}>;
|
|
780
|
-
export declare const iScreenTypeSchema: z.
|
|
780
|
+
export declare const iScreenTypeSchema: z.ZodEnum<["mobile", "tablet", "desktop"]>;
|
|
781
781
|
export declare const iAdvertSettingsSchema: z.ZodObject<{
|
|
782
782
|
page_homepage: z.ZodOptional<z.ZodObject<{
|
|
783
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
783
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
784
784
|
}, "strip", z.ZodTypeAny, {
|
|
785
785
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
786
786
|
}, {
|
|
787
787
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
788
788
|
}>>;
|
|
789
|
-
page_search: z.ZodOptional<z.
|
|
790
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
791
|
-
}, "strip", z.ZodTypeAny, {
|
|
792
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
789
|
+
page_search: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
790
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
793
791
|
}, {
|
|
794
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
795
|
-
}>, z.ZodObject<{
|
|
796
792
|
productGrid: z.ZodOptional<z.ZodObject<{
|
|
797
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
798
|
-
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
793
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
794
|
+
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
799
795
|
}, "strip", z.ZodTypeAny, {
|
|
800
796
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
801
797
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
@@ -803,46 +799,40 @@ export declare const iAdvertSettingsSchema: z.ZodObject<{
|
|
|
803
799
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
804
800
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
805
801
|
}>>;
|
|
806
|
-
}
|
|
802
|
+
}>, {
|
|
803
|
+
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
|
|
804
|
+
}>, "strip", z.ZodTypeAny, {
|
|
805
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
807
806
|
productGrid?: {
|
|
808
807
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
809
808
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
810
809
|
};
|
|
810
|
+
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
811
811
|
}, {
|
|
812
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
812
813
|
productGrid?: {
|
|
813
814
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
814
815
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
815
816
|
};
|
|
816
|
-
}>>, z.ZodObject<{
|
|
817
|
-
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>;
|
|
818
|
-
}, "strip", z.ZodTypeAny, {
|
|
819
|
-
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
820
|
-
}, {
|
|
821
817
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
822
|
-
}
|
|
823
|
-
page_cart: z.ZodOptional<z.
|
|
824
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
825
|
-
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
818
|
+
}>>;
|
|
819
|
+
page_cart: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
820
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
827
821
|
}, {
|
|
822
|
+
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
|
|
823
|
+
}>, "strip", z.ZodTypeAny, {
|
|
828
824
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
829
|
-
}>, z.ZodObject<{
|
|
830
|
-
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>;
|
|
831
|
-
}, "strip", z.ZodTypeAny, {
|
|
832
825
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
833
826
|
}, {
|
|
834
|
-
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
835
|
-
}>>>;
|
|
836
|
-
"page_product-categories": z.ZodOptional<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
837
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>>;
|
|
838
|
-
}, "strip", z.ZodTypeAny, {
|
|
839
827
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
828
|
+
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
829
|
+
}>>;
|
|
830
|
+
"page_product-categories": z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
831
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
840
832
|
}, {
|
|
841
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
842
|
-
}>, z.ZodObject<{
|
|
843
833
|
productGrid: z.ZodOptional<z.ZodObject<{
|
|
844
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
845
|
-
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
834
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
835
|
+
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
846
836
|
}, "strip", z.ZodTypeAny, {
|
|
847
837
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
848
838
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
@@ -850,33 +840,29 @@ export declare const iAdvertSettingsSchema: z.ZodObject<{
|
|
|
850
840
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
851
841
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
852
842
|
}>>;
|
|
853
|
-
}
|
|
843
|
+
}>, {
|
|
844
|
+
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
|
|
845
|
+
}>, "strip", z.ZodTypeAny, {
|
|
846
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
854
847
|
productGrid?: {
|
|
855
848
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
856
849
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
857
850
|
};
|
|
851
|
+
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
858
852
|
}, {
|
|
853
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
859
854
|
productGrid?: {
|
|
860
855
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
861
856
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
862
857
|
};
|
|
863
|
-
}>>, z.ZodObject<{
|
|
864
|
-
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>;
|
|
865
|
-
}, "strip", z.ZodTypeAny, {
|
|
866
858
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
859
|
+
}>>;
|
|
860
|
+
"page_product-listing": z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
861
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
867
862
|
}, {
|
|
868
|
-
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
869
|
-
}>>>;
|
|
870
|
-
"page_product-listing": z.ZodOptional<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
871
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>>;
|
|
872
|
-
}, "strip", z.ZodTypeAny, {
|
|
873
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
874
|
-
}, {
|
|
875
|
-
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
876
|
-
}>, z.ZodObject<{
|
|
877
863
|
productGrid: z.ZodOptional<z.ZodObject<{
|
|
878
|
-
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
879
|
-
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.
|
|
864
|
+
leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
865
|
+
productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
|
|
880
866
|
}, "strip", z.ZodTypeAny, {
|
|
881
867
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
882
868
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
@@ -884,60 +870,53 @@ export declare const iAdvertSettingsSchema: z.ZodObject<{
|
|
|
884
870
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
885
871
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
886
872
|
}>>;
|
|
887
|
-
}
|
|
873
|
+
}>, {
|
|
874
|
+
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
|
|
875
|
+
}>, "strip", z.ZodTypeAny, {
|
|
876
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
888
877
|
productGrid?: {
|
|
889
878
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
890
879
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
891
880
|
};
|
|
881
|
+
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
892
882
|
}, {
|
|
883
|
+
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
893
884
|
productGrid?: {
|
|
894
885
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
895
886
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
896
887
|
};
|
|
897
|
-
}>>, z.ZodObject<{
|
|
898
|
-
skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodLiteral<"mobile">, z.ZodLiteral<"tablet">, z.ZodLiteral<"desktop">]>, z.ZodString>>;
|
|
899
|
-
}, "strip", z.ZodTypeAny, {
|
|
900
888
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
901
|
-
}
|
|
902
|
-
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
903
|
-
}>>>;
|
|
889
|
+
}>>;
|
|
904
890
|
}, "strip", z.ZodTypeAny, {
|
|
905
891
|
page_homepage?: {
|
|
906
892
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
907
893
|
};
|
|
908
894
|
page_search?: {
|
|
909
895
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
910
|
-
} & {
|
|
911
896
|
productGrid?: {
|
|
912
897
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
913
898
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
914
899
|
};
|
|
915
|
-
} & {
|
|
916
900
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
917
901
|
};
|
|
918
902
|
page_cart?: {
|
|
919
903
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
920
|
-
} & {
|
|
921
904
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
922
905
|
};
|
|
923
906
|
"page_product-categories"?: {
|
|
924
907
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
925
|
-
} & {
|
|
926
908
|
productGrid?: {
|
|
927
909
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
928
910
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
929
911
|
};
|
|
930
|
-
} & {
|
|
931
912
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
932
913
|
};
|
|
933
914
|
"page_product-listing"?: {
|
|
934
915
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
935
|
-
} & {
|
|
936
916
|
productGrid?: {
|
|
937
917
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
938
918
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
939
919
|
};
|
|
940
|
-
} & {
|
|
941
920
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
942
921
|
};
|
|
943
922
|
}, {
|
|
@@ -946,37 +925,30 @@ export declare const iAdvertSettingsSchema: z.ZodObject<{
|
|
|
946
925
|
};
|
|
947
926
|
page_search?: {
|
|
948
927
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
949
|
-
} & {
|
|
950
928
|
productGrid?: {
|
|
951
929
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
952
930
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
953
931
|
};
|
|
954
|
-
} & {
|
|
955
932
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
956
933
|
};
|
|
957
934
|
page_cart?: {
|
|
958
935
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
959
|
-
} & {
|
|
960
936
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
961
937
|
};
|
|
962
938
|
"page_product-categories"?: {
|
|
963
939
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
964
|
-
} & {
|
|
965
940
|
productGrid?: {
|
|
966
941
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
967
942
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
968
943
|
};
|
|
969
|
-
} & {
|
|
970
944
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
971
945
|
};
|
|
972
946
|
"page_product-listing"?: {
|
|
973
947
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
974
|
-
} & {
|
|
975
948
|
productGrid?: {
|
|
976
949
|
leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
977
950
|
productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
|
|
978
951
|
};
|
|
979
|
-
} & {
|
|
980
952
|
skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
|
|
981
953
|
};
|
|
982
954
|
}>;
|
|
@@ -1237,8 +1209,8 @@ export declare const iSodiumWarningSchema: z.ZodObject<{
|
|
|
1237
1209
|
isEnabled?: boolean;
|
|
1238
1210
|
}>;
|
|
1239
1211
|
export declare const iProductCardsPropsSchema: z.ZodObject<{
|
|
1240
|
-
gridRowLength: z.ZodRecord<z.
|
|
1241
|
-
carouselsRowLength: z.ZodRecord<z.
|
|
1212
|
+
gridRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
|
|
1213
|
+
carouselsRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
|
|
1242
1214
|
productCard: z.ZodObject<{
|
|
1243
1215
|
enabled: z.ZodBoolean;
|
|
1244
1216
|
layouts: z.ZodObject<{
|
|
@@ -1470,7 +1442,7 @@ export declare const iProductCardsPropsSchema: z.ZodObject<{
|
|
|
1470
1442
|
}>;
|
|
1471
1443
|
export declare const iCtaButtonsSchema: z.ZodObject<{
|
|
1472
1444
|
iconAlignment: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
1473
|
-
iconName: z.ZodUnion<[z.ZodLiteral<"AccountOutline">, z.ZodLiteral<"AccountSolid">, z.ZodLiteral<"Addresses">, z.ZodLiteral<"ApplePay">, z.ZodLiteral<"ArrowDown">, z.ZodLiteral<"ArrowUp">, z.ZodLiteral<"ArrowRight">, z.ZodLiteral<"ArrowUpdown">, z.ZodLiteral<"BarScan">, z.ZodLiteral<"Bell">, z.ZodLiteral<"Blog">, z.ZodLiteral<"Cart">, z.ZodLiteral<"Check">, z.ZodLiteral<"CheckCircle">, z.ZodLiteral<"ChevronDown">, z.ZodLiteral<"ChevronLeft">, z.ZodLiteral<"ChevronRight">, z.ZodLiteral<"ChevronUp">, z.ZodLiteral<"Circular">, z.ZodLiteral<"Clear">, z.ZodLiteral<"Close">, z.ZodLiteral<"Coupon">, z.ZodLiteral<"Credit">, z.ZodLiteral<"Dashboard">, z.ZodLiteral<"DeliveryOutline">, z.ZodLiteral<"DeliverySolid">, z.ZodLiteral<"Dietary">, z.ZodLiteral<"DoubleArrows">, z.ZodLiteral<"Download">, z.ZodLiteral<"Dropship">, z.ZodLiteral<"EBT">, z.ZodLiteral<"Eco">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Error">, z.ZodLiteral<"FaceHappy">, z.ZodLiteral<"FaceSad">, z.ZodLiteral<"Facebook">, z.ZodLiteral<"Fav">, z.ZodLiteral<"FavSolid">, z.ZodLiteral<"Filter">, z.ZodLiteral<"Flag">, z.ZodLiteral<"Geolocate">, z.ZodLiteral<"GooglePay">, z.ZodLiteral<"Hamburger">, z.ZodLiteral<"Help">, z.ZodLiteral<"Home">, z.ZodLiteral<"Info">, z.ZodLiteral<"Instacart">, z.ZodLiteral<"InstacartLogo">, z.ZodLiteral<"Instagram">, z.ZodLiteral<"InstructionsFilled">, z.ZodLiteral<"ItemLocation">, z.ZodLiteral<"ListCheck">, z.ZodLiteral<"ListItems">, z.ZodLiteral<"ListLarge">, z.ZodLiteral<"ListRemove">, z.ZodLiteral<"ListSave">, z.ZodLiteral<"ListSearch">, z.ZodLiteral<"LocationDistance">, z.ZodLiteral<"LocationPin">, z.ZodLiteral<"LoyaltyCard">, z.ZodLiteral<"Mail">, z.ZodLiteral<"Minus">, z.ZodLiteral<"MoreOptionsH">, z.ZodLiteral<"MoreOptionsV">, z.ZodLiteral<"None">, z.ZodLiteral<"Note">, z.ZodLiteral<"NoteFilled">, z.ZodLiteral<"Notifications">, z.ZodLiteral<"Orders">, z.ZodLiteral<"PastPurchases">, z.ZodLiteral<"PayPal">, z.ZodLiteral<"Pause">, z.ZodLiteral<"PaymentOutline">, z.ZodLiteral<"PaymentSolid">, z.ZodLiteral<"Phone">, z.ZodLiteral<"PhoneMobile">, z.ZodLiteral<"Pickup">, z.ZodLiteral<"PickupInfo">, z.ZodLiteral<"Pinterest">, z.ZodLiteral<"Plus">, z.ZodLiteral<"Print">, z.ZodLiteral<"PromoOutline">, z.ZodLiteral<"PromoSolid">, z.ZodLiteral<"RadioActive">, z.ZodLiteral<"RadioEmpty">, z.ZodLiteral<"RecipeCalories">, z.ZodLiteral<"RecipeCooktime">, z.ZodLiteral<"RecipeIngredients">, z.ZodLiteral<"RecipePreptime">, z.ZodLiteral<"RecipeServings">, z.ZodLiteral<"RecommendedSub">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Reserve">, z.ZodLiteral<"ReserveDate">, z.ZodLiteral<"ReserveTime">, z.ZodLiteral<"Search">, z.ZodLiteral<"SelectCheck">, z.ZodLiteral<"SelectEmpty">, z.ZodLiteral<"SelectMark">, z.ZodLiteral<"Send">, z.ZodLiteral<"Settings">, z.ZodLiteral<"Share">, z.ZodLiteral<"SodiumWarning">, z.ZodLiteral<"SortGrid">, z.ZodLiteral<"SortList">, z.ZodLiteral<"StarOutline">, z.ZodLiteral<"StarSolid">, z.ZodLiteral<"Subscription">, z.ZodLiteral<"Substitute">, z.ZodLiteral<"SubstituteBestmatch">, z.ZodLiteral<"SubstituteNone">, z.ZodLiteral<"SubstituteProduct">, z.ZodLiteral<"TikTok">, z.ZodLiteral<"Trash">, z.ZodLiteral<"Twitter">, z.ZodLiteral<"Unavailable">, z.ZodLiteral<"Voice">, z.ZodLiteral<"Warning">, z.ZodLiteral<"YourLocation">, z.ZodLiteral<"Youtube">, z.ZodUnion<[z.ZodLiteral<"AmExpCard">, z.ZodLiteral<"AmExpLogo">, z.ZodLiteral<"Comodo">, z.ZodLiteral<"DiscoverCard">, z.ZodLiteral<"DiscoverLogo">, z.ZodLiteral<"MasterLogo">, z.ZodLiteral<"MasterSecure">, z.ZodLiteral<"VisaLogo">, z.ZodLiteral<"VisaVerified">]>, z.
|
|
1445
|
+
iconName: z.ZodUnion<[z.ZodLiteral<"AccountOutline">, z.ZodLiteral<"AccountSolid">, z.ZodLiteral<"Addresses">, z.ZodLiteral<"ApplePay">, z.ZodLiteral<"ArrowDown">, z.ZodLiteral<"ArrowUp">, z.ZodLiteral<"ArrowRight">, z.ZodLiteral<"ArrowUpdown">, z.ZodLiteral<"BarScan">, z.ZodLiteral<"Bell">, z.ZodLiteral<"Blog">, z.ZodLiteral<"Cart">, z.ZodLiteral<"Check">, z.ZodLiteral<"CheckCircle">, z.ZodLiteral<"ChevronDown">, z.ZodLiteral<"ChevronLeft">, z.ZodLiteral<"ChevronRight">, z.ZodLiteral<"ChevronUp">, z.ZodLiteral<"Circular">, z.ZodLiteral<"Clear">, z.ZodLiteral<"Close">, z.ZodLiteral<"Coupon">, z.ZodLiteral<"Credit">, z.ZodLiteral<"Dashboard">, z.ZodLiteral<"DeliveryOutline">, z.ZodLiteral<"DeliverySolid">, z.ZodLiteral<"Dietary">, z.ZodLiteral<"DoubleArrows">, z.ZodLiteral<"Download">, z.ZodLiteral<"Dropship">, z.ZodLiteral<"EBT">, z.ZodLiteral<"Eco">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Error">, z.ZodLiteral<"FaceHappy">, z.ZodLiteral<"FaceSad">, z.ZodLiteral<"Facebook">, z.ZodLiteral<"Fav">, z.ZodLiteral<"FavSolid">, z.ZodLiteral<"Filter">, z.ZodLiteral<"Flag">, z.ZodLiteral<"Geolocate">, z.ZodLiteral<"GooglePay">, z.ZodLiteral<"Hamburger">, z.ZodLiteral<"Help">, z.ZodLiteral<"Home">, z.ZodLiteral<"Info">, z.ZodLiteral<"Instacart">, z.ZodLiteral<"InstacartLogo">, z.ZodLiteral<"Instagram">, z.ZodLiteral<"InstructionsFilled">, z.ZodLiteral<"ItemLocation">, z.ZodLiteral<"ListCheck">, z.ZodLiteral<"ListItems">, z.ZodLiteral<"ListLarge">, z.ZodLiteral<"ListRemove">, z.ZodLiteral<"ListSave">, z.ZodLiteral<"ListSearch">, z.ZodLiteral<"LocationDistance">, z.ZodLiteral<"LocationPin">, z.ZodLiteral<"LoyaltyCard">, z.ZodLiteral<"Mail">, z.ZodLiteral<"Minus">, z.ZodLiteral<"MoreOptionsH">, z.ZodLiteral<"MoreOptionsV">, z.ZodLiteral<"None">, z.ZodLiteral<"Note">, z.ZodLiteral<"NoteFilled">, z.ZodLiteral<"Notifications">, z.ZodLiteral<"Orders">, z.ZodLiteral<"PastPurchases">, z.ZodLiteral<"PayPal">, z.ZodLiteral<"Pause">, z.ZodLiteral<"PaymentOutline">, z.ZodLiteral<"PaymentSolid">, z.ZodLiteral<"Phone">, z.ZodLiteral<"PhoneMobile">, z.ZodLiteral<"Pickup">, z.ZodLiteral<"PickupInfo">, z.ZodLiteral<"Pinterest">, z.ZodLiteral<"Plus">, z.ZodLiteral<"Print">, z.ZodLiteral<"PromoOutline">, z.ZodLiteral<"PromoSolid">, z.ZodLiteral<"RadioActive">, z.ZodLiteral<"RadioEmpty">, z.ZodLiteral<"RecipeCalories">, z.ZodLiteral<"RecipeCooktime">, z.ZodLiteral<"RecipeIngredients">, z.ZodLiteral<"RecipePreptime">, z.ZodLiteral<"RecipeServings">, z.ZodLiteral<"RecommendedSub">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Reserve">, z.ZodLiteral<"ReserveDate">, z.ZodLiteral<"ReserveTime">, z.ZodLiteral<"Search">, z.ZodLiteral<"SelectCheck">, z.ZodLiteral<"SelectEmpty">, z.ZodLiteral<"SelectMark">, z.ZodLiteral<"Send">, z.ZodLiteral<"Settings">, z.ZodLiteral<"Share">, z.ZodLiteral<"SodiumWarning">, z.ZodLiteral<"SortGrid">, z.ZodLiteral<"SortList">, z.ZodLiteral<"StarOutline">, z.ZodLiteral<"StarSolid">, z.ZodLiteral<"Subscription">, z.ZodLiteral<"Substitute">, z.ZodLiteral<"SubstituteBestmatch">, z.ZodLiteral<"SubstituteNone">, z.ZodLiteral<"SubstituteProduct">, z.ZodLiteral<"TikTok">, z.ZodLiteral<"Trash">, z.ZodLiteral<"Twitter">, z.ZodLiteral<"Unavailable">, z.ZodLiteral<"Voice">, z.ZodLiteral<"Warning">, z.ZodLiteral<"YourLocation">, z.ZodLiteral<"Youtube">, z.ZodUnion<[z.ZodLiteral<"AmExpCard">, z.ZodLiteral<"AmExpLogo">, z.ZodLiteral<"Comodo">, z.ZodLiteral<"DiscoverCard">, z.ZodLiteral<"DiscoverLogo">, z.ZodLiteral<"MasterLogo">, z.ZodLiteral<"MasterSecure">, z.ZodLiteral<"VisaLogo">, z.ZodLiteral<"VisaVerified">]>, z.ZodEnum<["AmExpCard", "ApplePay", "DiscoverCard", "EBT", "PayPal", "GooglePay", "MasterCard", "MasterCardDebit", "VisaCard", "Paze"]>, z.ZodUnion<[z.ZodLiteral<"GlutenFree">, z.ZodLiteral<"Organic">, z.ZodLiteral<"Local">, z.ZodLiteral<"DairyFree">, z.ZodLiteral<"DiabetesFriendly">, z.ZodLiteral<"EggFree">, z.ZodLiteral<"FairTrade">, z.ZodLiteral<"NoArtificialIngredients">, z.ZodLiteral<"Halal">, z.ZodLiteral<"HeartHealth">, z.ZodLiteral<"NoHighFructoseCornSyrup">, z.ZodLiteral<"KetoFriendly">, z.ZodLiteral<"Kosher">, z.ZodLiteral<"LactoseFree">, z.ZodLiteral<"LowFODMAP">, z.ZodLiteral<"LowSodium">, z.ZodLiteral<"NoAddedSugar">, z.ZodLiteral<"NonGMO">, z.ZodLiteral<"Paleo">, z.ZodLiteral<"PeanutFree">, z.ZodLiteral<"PlantGoodness">, z.ZodLiteral<"SoyFree">, z.ZodLiteral<"Vegan">, z.ZodLiteral<"WholeGrain">, z.ZodLiteral<"BottleDeposit">, z.ZodLiteral<"LimitedIngredients">, z.ZodLiteral<"MinimallyProcessed">, z.ZodLiteral<"Fsa">]>, z.ZodUnion<[z.ZodLiteral<"en-au">, z.ZodLiteral<"en-ca">, z.ZodLiteral<"en-gb">, z.ZodLiteral<"en-ie">, z.ZodLiteral<"en-us">, z.ZodLiteral<"es-es">, z.ZodLiteral<"es-mx">, z.ZodLiteral<"es-us">, z.ZodLiteral<"fr-ca">]>]>;
|
|
1474
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1475
1447
|
iconAlignment?: "left" | "right";
|
|
1476
1448
|
iconName?: "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze" | "AmExpLogo" | "Comodo" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified" | "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca" | "AccountOutline" | "AccountSolid" | "Addresses" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "Hamburger" | "Help" | "Home" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "PastPurchases" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Plus" | "Print" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube";
|
|
@@ -1552,7 +1524,7 @@ export declare const iGoogleAutocompleteSettingsSchema: z.ZodObject<{
|
|
|
1552
1524
|
}>;
|
|
1553
1525
|
export declare const iMaintainCustomerPreferencesSchema: z.ZodObject<{
|
|
1554
1526
|
enabled: z.ZodBoolean;
|
|
1555
|
-
sections: z.ZodRecord<z.
|
|
1527
|
+
sections: z.ZodRecord<z.ZodEnum<["marketingPreferences"]>, z.ZodArray<z.ZodString, "many">>;
|
|
1556
1528
|
optInMarketingPreferences: z.ZodBoolean;
|
|
1557
1529
|
selectOptInMarketingPreferencesStore: z.ZodBoolean;
|
|
1558
1530
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -67,17 +67,17 @@ exports.iAddressFinderTypeSchema = zod_1.z.union([
|
|
|
67
67
|
zod_1.z.literal("UK"),
|
|
68
68
|
zod_1.z.literal("CA"),
|
|
69
69
|
]);
|
|
70
|
-
exports.paymentCardsSchema = zod_1.z.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
exports.paymentCardsSchema = zod_1.z.enum([
|
|
71
|
+
"AmExpCard",
|
|
72
|
+
"ApplePay",
|
|
73
|
+
"DiscoverCard",
|
|
74
|
+
"EBT",
|
|
75
|
+
"PayPal",
|
|
76
|
+
"GooglePay",
|
|
77
|
+
"MasterCard",
|
|
78
|
+
"MasterCardDebit",
|
|
79
|
+
"VisaCard",
|
|
80
|
+
"Paze",
|
|
81
81
|
]);
|
|
82
82
|
exports.iPaymentCardsSchema = zod_1.z.record(exports.paymentCardsSchema, zod_1.z.boolean());
|
|
83
83
|
exports.iCheckoutValidationSchema = zod_1.z.object({
|
|
@@ -114,11 +114,7 @@ exports.iShoppingRuleControlSchema = zod_1.z.object({
|
|
|
114
114
|
pdp: zod_1.z.boolean(),
|
|
115
115
|
productCard: zod_1.z.boolean(),
|
|
116
116
|
});
|
|
117
|
-
exports.iScreenTypeSchema = zod_1.z.
|
|
118
|
-
zod_1.z.literal("mobile"),
|
|
119
|
-
zod_1.z.literal("tablet"),
|
|
120
|
-
zod_1.z.literal("desktop"),
|
|
121
|
-
]);
|
|
117
|
+
exports.iScreenTypeSchema = zod_1.z.enum(["mobile", "tablet", "desktop"]);
|
|
122
118
|
const iAdvertsDataSchema = zod_1.z.record(exports.iScreenTypeSchema, zod_1.z.string());
|
|
123
119
|
const iPageAdvertsRowSchema = zod_1.z.record(iAdvertsDataSchema);
|
|
124
120
|
const iAdvertLeaderboardsSchema = zod_1.z.object({
|
|
@@ -138,17 +134,19 @@ const iAdvertSkyScrapersSchema = zod_1.z.object({
|
|
|
138
134
|
exports.iAdvertSettingsSchema = zod_1.z.object({
|
|
139
135
|
page_homepage: iAdvertLeaderboardsSchema.optional(),
|
|
140
136
|
page_search: iAdvertLeaderboardsSchema
|
|
141
|
-
.
|
|
142
|
-
.
|
|
137
|
+
.merge(iAdvertProductGridSchema)
|
|
138
|
+
.merge(iAdvertSkyScrapersSchema)
|
|
139
|
+
.optional(),
|
|
140
|
+
page_cart: iAdvertLeaderboardsSchema
|
|
141
|
+
.merge(iAdvertSkyScrapersSchema)
|
|
143
142
|
.optional(),
|
|
144
|
-
page_cart: iAdvertLeaderboardsSchema.and(iAdvertSkyScrapersSchema).optional(),
|
|
145
143
|
"page_product-categories": iAdvertLeaderboardsSchema
|
|
146
|
-
.
|
|
147
|
-
.
|
|
144
|
+
.merge(iAdvertProductGridSchema)
|
|
145
|
+
.merge(iAdvertSkyScrapersSchema)
|
|
148
146
|
.optional(),
|
|
149
147
|
"page_product-listing": iAdvertLeaderboardsSchema
|
|
150
|
-
.
|
|
151
|
-
.
|
|
148
|
+
.merge(iAdvertProductGridSchema)
|
|
149
|
+
.merge(iAdvertSkyScrapersSchema)
|
|
152
150
|
.optional(),
|
|
153
151
|
});
|
|
154
152
|
const googleInlineLayoutSchema = zod_1.z.union([
|
|
@@ -550,7 +548,7 @@ exports.iGoogleAutocompleteSettingsSchema = zod_1.z.object({
|
|
|
550
548
|
restrictCountries: zod_1.z.array(zod_1.z.string()).optional(),
|
|
551
549
|
minCharLength: zod_1.z.number().optional(),
|
|
552
550
|
});
|
|
553
|
-
const iConfigurableCustomerPreferenceSchema = zod_1.z.
|
|
551
|
+
const iConfigurableCustomerPreferenceSchema = zod_1.z.enum(["marketingPreferences"]);
|
|
554
552
|
exports.iMaintainCustomerPreferencesSchema = zod_1.z.object({
|
|
555
553
|
enabled: zod_1.z.boolean(),
|
|
556
554
|
sections: zod_1.z.record(iConfigurableCustomerPreferenceSchema, zod_1.z.array(zod_1.z.string())),
|
|
@@ -82,7 +82,7 @@ export declare const iSiteSettingsV2Schema: z.ZodObject<{
|
|
|
82
82
|
anonymousCart: z.ZodBoolean;
|
|
83
83
|
ctaButtons: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
84
84
|
iconAlignment: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"right">]>>;
|
|
85
|
-
iconName: z.ZodUnion<[z.ZodLiteral<"AccountOutline">, z.ZodLiteral<"AccountSolid">, z.ZodLiteral<"Addresses">, z.ZodLiteral<"ApplePay">, z.ZodLiteral<"ArrowDown">, z.ZodLiteral<"ArrowUp">, z.ZodLiteral<"ArrowRight">, z.ZodLiteral<"ArrowUpdown">, z.ZodLiteral<"BarScan">, z.ZodLiteral<"Bell">, z.ZodLiteral<"Blog">, z.ZodLiteral<"Cart">, z.ZodLiteral<"Check">, z.ZodLiteral<"CheckCircle">, z.ZodLiteral<"ChevronDown">, z.ZodLiteral<"ChevronLeft">, z.ZodLiteral<"ChevronRight">, z.ZodLiteral<"ChevronUp">, z.ZodLiteral<"Circular">, z.ZodLiteral<"Clear">, z.ZodLiteral<"Close">, z.ZodLiteral<"Coupon">, z.ZodLiteral<"Credit">, z.ZodLiteral<"Dashboard">, z.ZodLiteral<"DeliveryOutline">, z.ZodLiteral<"DeliverySolid">, z.ZodLiteral<"Dietary">, z.ZodLiteral<"DoubleArrows">, z.ZodLiteral<"Download">, z.ZodLiteral<"Dropship">, z.ZodLiteral<"EBT">, z.ZodLiteral<"Eco">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Error">, z.ZodLiteral<"FaceHappy">, z.ZodLiteral<"FaceSad">, z.ZodLiteral<"Facebook">, z.ZodLiteral<"Fav">, z.ZodLiteral<"FavSolid">, z.ZodLiteral<"Filter">, z.ZodLiteral<"Flag">, z.ZodLiteral<"Geolocate">, z.ZodLiteral<"GooglePay">, z.ZodLiteral<"Hamburger">, z.ZodLiteral<"Help">, z.ZodLiteral<"Home">, z.ZodLiteral<"Info">, z.ZodLiteral<"Instacart">, z.ZodLiteral<"InstacartLogo">, z.ZodLiteral<"Instagram">, z.ZodLiteral<"InstructionsFilled">, z.ZodLiteral<"ItemLocation">, z.ZodLiteral<"ListCheck">, z.ZodLiteral<"ListItems">, z.ZodLiteral<"ListLarge">, z.ZodLiteral<"ListRemove">, z.ZodLiteral<"ListSave">, z.ZodLiteral<"ListSearch">, z.ZodLiteral<"LocationDistance">, z.ZodLiteral<"LocationPin">, z.ZodLiteral<"LoyaltyCard">, z.ZodLiteral<"Mail">, z.ZodLiteral<"Minus">, z.ZodLiteral<"MoreOptionsH">, z.ZodLiteral<"MoreOptionsV">, z.ZodLiteral<"None">, z.ZodLiteral<"Note">, z.ZodLiteral<"NoteFilled">, z.ZodLiteral<"Notifications">, z.ZodLiteral<"Orders">, z.ZodLiteral<"PastPurchases">, z.ZodLiteral<"PayPal">, z.ZodLiteral<"Pause">, z.ZodLiteral<"PaymentOutline">, z.ZodLiteral<"PaymentSolid">, z.ZodLiteral<"Phone">, z.ZodLiteral<"PhoneMobile">, z.ZodLiteral<"Pickup">, z.ZodLiteral<"PickupInfo">, z.ZodLiteral<"Pinterest">, z.ZodLiteral<"Plus">, z.ZodLiteral<"Print">, z.ZodLiteral<"PromoOutline">, z.ZodLiteral<"PromoSolid">, z.ZodLiteral<"RadioActive">, z.ZodLiteral<"RadioEmpty">, z.ZodLiteral<"RecipeCalories">, z.ZodLiteral<"RecipeCooktime">, z.ZodLiteral<"RecipeIngredients">, z.ZodLiteral<"RecipePreptime">, z.ZodLiteral<"RecipeServings">, z.ZodLiteral<"RecommendedSub">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Reserve">, z.ZodLiteral<"ReserveDate">, z.ZodLiteral<"ReserveTime">, z.ZodLiteral<"Search">, z.ZodLiteral<"SelectCheck">, z.ZodLiteral<"SelectEmpty">, z.ZodLiteral<"SelectMark">, z.ZodLiteral<"Send">, z.ZodLiteral<"Settings">, z.ZodLiteral<"Share">, z.ZodLiteral<"SodiumWarning">, z.ZodLiteral<"SortGrid">, z.ZodLiteral<"SortList">, z.ZodLiteral<"StarOutline">, z.ZodLiteral<"StarSolid">, z.ZodLiteral<"Subscription">, z.ZodLiteral<"Substitute">, z.ZodLiteral<"SubstituteBestmatch">, z.ZodLiteral<"SubstituteNone">, z.ZodLiteral<"SubstituteProduct">, z.ZodLiteral<"TikTok">, z.ZodLiteral<"Trash">, z.ZodLiteral<"Twitter">, z.ZodLiteral<"Unavailable">, z.ZodLiteral<"Voice">, z.ZodLiteral<"Warning">, z.ZodLiteral<"YourLocation">, z.ZodLiteral<"Youtube">, z.ZodUnion<[z.ZodLiteral<"AmExpCard">, z.ZodLiteral<"AmExpLogo">, z.ZodLiteral<"Comodo">, z.ZodLiteral<"DiscoverCard">, z.ZodLiteral<"DiscoverLogo">, z.ZodLiteral<"MasterLogo">, z.ZodLiteral<"MasterSecure">, z.ZodLiteral<"VisaLogo">, z.ZodLiteral<"VisaVerified">]>, z.
|
|
85
|
+
iconName: z.ZodUnion<[z.ZodLiteral<"AccountOutline">, z.ZodLiteral<"AccountSolid">, z.ZodLiteral<"Addresses">, z.ZodLiteral<"ApplePay">, z.ZodLiteral<"ArrowDown">, z.ZodLiteral<"ArrowUp">, z.ZodLiteral<"ArrowRight">, z.ZodLiteral<"ArrowUpdown">, z.ZodLiteral<"BarScan">, z.ZodLiteral<"Bell">, z.ZodLiteral<"Blog">, z.ZodLiteral<"Cart">, z.ZodLiteral<"Check">, z.ZodLiteral<"CheckCircle">, z.ZodLiteral<"ChevronDown">, z.ZodLiteral<"ChevronLeft">, z.ZodLiteral<"ChevronRight">, z.ZodLiteral<"ChevronUp">, z.ZodLiteral<"Circular">, z.ZodLiteral<"Clear">, z.ZodLiteral<"Close">, z.ZodLiteral<"Coupon">, z.ZodLiteral<"Credit">, z.ZodLiteral<"Dashboard">, z.ZodLiteral<"DeliveryOutline">, z.ZodLiteral<"DeliverySolid">, z.ZodLiteral<"Dietary">, z.ZodLiteral<"DoubleArrows">, z.ZodLiteral<"Download">, z.ZodLiteral<"Dropship">, z.ZodLiteral<"EBT">, z.ZodLiteral<"Eco">, z.ZodLiteral<"Edit">, z.ZodLiteral<"Error">, z.ZodLiteral<"FaceHappy">, z.ZodLiteral<"FaceSad">, z.ZodLiteral<"Facebook">, z.ZodLiteral<"Fav">, z.ZodLiteral<"FavSolid">, z.ZodLiteral<"Filter">, z.ZodLiteral<"Flag">, z.ZodLiteral<"Geolocate">, z.ZodLiteral<"GooglePay">, z.ZodLiteral<"Hamburger">, z.ZodLiteral<"Help">, z.ZodLiteral<"Home">, z.ZodLiteral<"Info">, z.ZodLiteral<"Instacart">, z.ZodLiteral<"InstacartLogo">, z.ZodLiteral<"Instagram">, z.ZodLiteral<"InstructionsFilled">, z.ZodLiteral<"ItemLocation">, z.ZodLiteral<"ListCheck">, z.ZodLiteral<"ListItems">, z.ZodLiteral<"ListLarge">, z.ZodLiteral<"ListRemove">, z.ZodLiteral<"ListSave">, z.ZodLiteral<"ListSearch">, z.ZodLiteral<"LocationDistance">, z.ZodLiteral<"LocationPin">, z.ZodLiteral<"LoyaltyCard">, z.ZodLiteral<"Mail">, z.ZodLiteral<"Minus">, z.ZodLiteral<"MoreOptionsH">, z.ZodLiteral<"MoreOptionsV">, z.ZodLiteral<"None">, z.ZodLiteral<"Note">, z.ZodLiteral<"NoteFilled">, z.ZodLiteral<"Notifications">, z.ZodLiteral<"Orders">, z.ZodLiteral<"PastPurchases">, z.ZodLiteral<"PayPal">, z.ZodLiteral<"Pause">, z.ZodLiteral<"PaymentOutline">, z.ZodLiteral<"PaymentSolid">, z.ZodLiteral<"Phone">, z.ZodLiteral<"PhoneMobile">, z.ZodLiteral<"Pickup">, z.ZodLiteral<"PickupInfo">, z.ZodLiteral<"Pinterest">, z.ZodLiteral<"Plus">, z.ZodLiteral<"Print">, z.ZodLiteral<"PromoOutline">, z.ZodLiteral<"PromoSolid">, z.ZodLiteral<"RadioActive">, z.ZodLiteral<"RadioEmpty">, z.ZodLiteral<"RecipeCalories">, z.ZodLiteral<"RecipeCooktime">, z.ZodLiteral<"RecipeIngredients">, z.ZodLiteral<"RecipePreptime">, z.ZodLiteral<"RecipeServings">, z.ZodLiteral<"RecommendedSub">, z.ZodLiteral<"Remove">, z.ZodLiteral<"Reserve">, z.ZodLiteral<"ReserveDate">, z.ZodLiteral<"ReserveTime">, z.ZodLiteral<"Search">, z.ZodLiteral<"SelectCheck">, z.ZodLiteral<"SelectEmpty">, z.ZodLiteral<"SelectMark">, z.ZodLiteral<"Send">, z.ZodLiteral<"Settings">, z.ZodLiteral<"Share">, z.ZodLiteral<"SodiumWarning">, z.ZodLiteral<"SortGrid">, z.ZodLiteral<"SortList">, z.ZodLiteral<"StarOutline">, z.ZodLiteral<"StarSolid">, z.ZodLiteral<"Subscription">, z.ZodLiteral<"Substitute">, z.ZodLiteral<"SubstituteBestmatch">, z.ZodLiteral<"SubstituteNone">, z.ZodLiteral<"SubstituteProduct">, z.ZodLiteral<"TikTok">, z.ZodLiteral<"Trash">, z.ZodLiteral<"Twitter">, z.ZodLiteral<"Unavailable">, z.ZodLiteral<"Voice">, z.ZodLiteral<"Warning">, z.ZodLiteral<"YourLocation">, z.ZodLiteral<"Youtube">, z.ZodUnion<[z.ZodLiteral<"AmExpCard">, z.ZodLiteral<"AmExpLogo">, z.ZodLiteral<"Comodo">, z.ZodLiteral<"DiscoverCard">, z.ZodLiteral<"DiscoverLogo">, z.ZodLiteral<"MasterLogo">, z.ZodLiteral<"MasterSecure">, z.ZodLiteral<"VisaLogo">, z.ZodLiteral<"VisaVerified">]>, z.ZodEnum<["AmExpCard", "ApplePay", "DiscoverCard", "EBT", "PayPal", "GooglePay", "MasterCard", "MasterCardDebit", "VisaCard", "Paze"]>, z.ZodUnion<[z.ZodLiteral<"GlutenFree">, z.ZodLiteral<"Organic">, z.ZodLiteral<"Local">, z.ZodLiteral<"DairyFree">, z.ZodLiteral<"DiabetesFriendly">, z.ZodLiteral<"EggFree">, z.ZodLiteral<"FairTrade">, z.ZodLiteral<"NoArtificialIngredients">, z.ZodLiteral<"Halal">, z.ZodLiteral<"HeartHealth">, z.ZodLiteral<"NoHighFructoseCornSyrup">, z.ZodLiteral<"KetoFriendly">, z.ZodLiteral<"Kosher">, z.ZodLiteral<"LactoseFree">, z.ZodLiteral<"LowFODMAP">, z.ZodLiteral<"LowSodium">, z.ZodLiteral<"NoAddedSugar">, z.ZodLiteral<"NonGMO">, z.ZodLiteral<"Paleo">, z.ZodLiteral<"PeanutFree">, z.ZodLiteral<"PlantGoodness">, z.ZodLiteral<"SoyFree">, z.ZodLiteral<"Vegan">, z.ZodLiteral<"WholeGrain">, z.ZodLiteral<"BottleDeposit">, z.ZodLiteral<"LimitedIngredients">, z.ZodLiteral<"MinimallyProcessed">, z.ZodLiteral<"Fsa">]>, z.ZodUnion<[z.ZodLiteral<"en-au">, z.ZodLiteral<"en-ca">, z.ZodLiteral<"en-gb">, z.ZodLiteral<"en-ie">, z.ZodLiteral<"en-us">, z.ZodLiteral<"es-es">, z.ZodLiteral<"es-mx">, z.ZodLiteral<"es-us">, z.ZodLiteral<"fr-ca">]>]>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
iconAlignment?: "left" | "right";
|
|
88
88
|
iconName?: "AmExpCard" | "ApplePay" | "DiscoverCard" | "EBT" | "PayPal" | "GooglePay" | "MasterCard" | "MasterCardDebit" | "VisaCard" | "Paze" | "AmExpLogo" | "Comodo" | "DiscoverLogo" | "MasterLogo" | "MasterSecure" | "VisaLogo" | "VisaVerified" | "GlutenFree" | "Organic" | "Local" | "DairyFree" | "DiabetesFriendly" | "EggFree" | "FairTrade" | "NoArtificialIngredients" | "Halal" | "HeartHealth" | "NoHighFructoseCornSyrup" | "KetoFriendly" | "Kosher" | "LactoseFree" | "LowFODMAP" | "LowSodium" | "NoAddedSugar" | "NonGMO" | "Paleo" | "PeanutFree" | "PlantGoodness" | "SoyFree" | "Vegan" | "WholeGrain" | "BottleDeposit" | "LimitedIngredients" | "MinimallyProcessed" | "Fsa" | "en-au" | "en-ca" | "en-gb" | "en-ie" | "en-us" | "es-es" | "es-mx" | "es-us" | "fr-ca" | "AccountOutline" | "AccountSolid" | "Addresses" | "ArrowDown" | "ArrowUp" | "ArrowRight" | "ArrowUpdown" | "BarScan" | "Bell" | "Blog" | "Cart" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronLeft" | "ChevronRight" | "ChevronUp" | "Circular" | "Clear" | "Close" | "Coupon" | "Credit" | "Dashboard" | "DeliveryOutline" | "DeliverySolid" | "Dietary" | "DoubleArrows" | "Download" | "Dropship" | "Eco" | "Edit" | "Error" | "FaceHappy" | "FaceSad" | "Facebook" | "Fav" | "FavSolid" | "Filter" | "Flag" | "Geolocate" | "Hamburger" | "Help" | "Home" | "Info" | "Instacart" | "InstacartLogo" | "Instagram" | "InstructionsFilled" | "ItemLocation" | "ListCheck" | "ListItems" | "ListLarge" | "ListRemove" | "ListSave" | "ListSearch" | "LocationDistance" | "LocationPin" | "LoyaltyCard" | "Mail" | "Minus" | "MoreOptionsH" | "MoreOptionsV" | "None" | "Note" | "NoteFilled" | "Notifications" | "Orders" | "PastPurchases" | "Pause" | "PaymentOutline" | "PaymentSolid" | "Phone" | "PhoneMobile" | "Pickup" | "PickupInfo" | "Pinterest" | "Plus" | "Print" | "PromoOutline" | "PromoSolid" | "RadioActive" | "RadioEmpty" | "RecipeCalories" | "RecipeCooktime" | "RecipeIngredients" | "RecipePreptime" | "RecipeServings" | "RecommendedSub" | "Remove" | "Reserve" | "ReserveDate" | "ReserveTime" | "Search" | "SelectCheck" | "SelectEmpty" | "SelectMark" | "Send" | "Settings" | "Share" | "SodiumWarning" | "SortGrid" | "SortList" | "StarOutline" | "StarSolid" | "Subscription" | "Substitute" | "SubstituteBestmatch" | "SubstituteNone" | "SubstituteProduct" | "TikTok" | "Trash" | "Twitter" | "Unavailable" | "Voice" | "Warning" | "YourLocation" | "Youtube";
|
|
@@ -187,7 +187,7 @@ export declare const iSiteSettingsV2Schema: z.ZodObject<{
|
|
|
187
187
|
maintainCustomerJourney: z.ZodBoolean;
|
|
188
188
|
maintainCustomerPreferences: z.ZodObject<{
|
|
189
189
|
enabled: z.ZodBoolean;
|
|
190
|
-
sections: z.ZodRecord<z.
|
|
190
|
+
sections: z.ZodRecord<z.ZodEnum<["marketingPreferences"]>, z.ZodArray<z.ZodString, "many">>;
|
|
191
191
|
optInMarketingPreferences: z.ZodBoolean;
|
|
192
192
|
selectOptInMarketingPreferencesStore: z.ZodBoolean;
|
|
193
193
|
}, "strip", z.ZodTypeAny, {
|