@thryveai/theme-interfaces 2.7.155-2.zod → 2.7.155-4.schemas

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.
Files changed (55) hide show
  1. package/dist/JSONSchemas/index.d.ts +5550 -0
  2. package/dist/JSONSchemas/index.js +7516 -0
  3. package/dist/index.d.ts +4 -3
  4. package/dist/index.js +18 -20
  5. package/dist/interfaces/default-settings.interfaces.d.ts +2 -0
  6. package/dist/interfaces/default-theme.interface.d.ts +3 -0
  7. package/dist/interfaces/icons.interfaces.d.ts +2 -0
  8. package/dist/interfaces/retailer-settings.interfaces.d.ts +1 -2
  9. package/dist/interfaces/shared-settings-interfaces.d.ts +2 -0
  10. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +1 -1
  11. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +47 -36
  12. package/dist/storefront/defaultIconsStorefront.js +1 -1
  13. package/dist/storefront/defaultImagesStorefront.js +32 -32
  14. package/dist/storefront/defaultSettingsStorefront.js +1 -1
  15. package/dist/storefront/defaultSharedSettings.js +1 -1
  16. package/dist/storefront/defaultThemeStorefront.js +981 -978
  17. package/dist/sts/STSImagesTemplate.AdminUi.js +1 -1
  18. package/dist/sts/STSSettingsTemplate.AdminUi.js +1 -1
  19. package/dist/sts/defaultSettingsSts.js +1 -1
  20. package/dist/theme-templates/index.js +2 -2
  21. package/package.json +3 -5
  22. package/dist/core/interfaces/default-settings.interfaces.d.ts +0 -3
  23. package/dist/core/interfaces/default-settings.interfaces.js +0 -2
  24. package/dist/core/storefront-zod/retailer-settings/accountPage.d.ts +0 -687
  25. package/dist/core/storefront-zod/retailer-settings/accountPage.js +0 -54
  26. package/dist/core/storefront-zod/retailer-settings/addressSettings.d.ts +0 -828
  27. package/dist/core/storefront-zod/retailer-settings/addressSettings.js +0 -23
  28. package/dist/core/storefront-zod/retailer-settings/adminPanelOnly.d.ts +0 -11
  29. package/dist/core/storefront-zod/retailer-settings/adminPanelOnly.js +0 -8
  30. package/dist/core/storefront-zod/retailer-settings/cartSummary.d.ts +0 -14
  31. package/dist/core/storefront-zod/retailer-settings/cartSummary.js +0 -9
  32. package/dist/core/storefront-zod/retailer-settings/checkout.d.ts +0 -238
  33. package/dist/core/storefront-zod/retailer-settings/checkout.js +0 -15
  34. package/dist/core/storefront-zod/retailer-settings/features.d.ts +0 -890
  35. package/dist/core/storefront-zod/retailer-settings/features.js +0 -63
  36. package/dist/core/storefront-zod/retailer-settings/index.d.ts +0 -9917
  37. package/dist/core/storefront-zod/retailer-settings/index.js +0 -31
  38. package/dist/core/storefront-zod/retailer-settings/integration.d.ts +0 -28
  39. package/dist/core/storefront-zod/retailer-settings/integration.js +0 -12
  40. package/dist/core/storefront-zod/retailer-settings/pdpSettings.d.ts +0 -157
  41. package/dist/core/storefront-zod/retailer-settings/pdpSettings.js +0 -59
  42. package/dist/core/storefront-zod/retailer-settings/performance.d.ts +0 -8
  43. package/dist/core/storefront-zod/retailer-settings/performance.js +0 -7
  44. package/dist/core/storefront-zod/retailer-settings/productCard.d.ts +0 -307
  45. package/dist/core/storefront-zod/retailer-settings/productCard.js +0 -10
  46. package/dist/core/storefront-zod/retailer-settings/sharedSchemas.d.ts +0 -1675
  47. package/dist/core/storefront-zod/retailer-settings/sharedSchemas.js +0 -590
  48. package/dist/core/storefront-zod/retailer-settings/siteSettings.d.ts +0 -594
  49. package/dist/core/storefront-zod/retailer-settings/siteSettings.js +0 -79
  50. package/dist/core/storefront-zod/retailer-settings/welcomeModal.d.ts +0 -17
  51. package/dist/core/storefront-zod/retailer-settings/welcomeModal.js +0 -11
  52. package/dist/zodSchemas/generator.d.ts +0 -6
  53. package/dist/zodSchemas/generator.js +0 -12
  54. package/dist/zodSchemas/retailer-settings-zod.d.ts +0 -1
  55. package/dist/zodSchemas/retailer-settings-zod.js +0 -315
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iCoreRetailerSettingsBannerSchema = exports.iCoreRetailerSettingsSchema = void 0;
4
- const zod_1 = require("zod");
5
- const accountPage_1 = require("./accountPage");
6
- const addressSettings_1 = require("./addressSettings");
7
- const adminPanelOnly_1 = require("./adminPanelOnly");
8
- const cartSummary_1 = require("./cartSummary");
9
- const checkout_1 = require("./checkout");
10
- const features_1 = require("./features");
11
- const integration_1 = require("./integration");
12
- const pdpSettings_1 = require("./pdpSettings");
13
- const performance_1 = require("./performance");
14
- const productCard_1 = require("./productCard");
15
- const siteSettings_1 = require("./siteSettings");
16
- const welcomeModal_1 = require("./welcomeModal");
17
- exports.iCoreRetailerSettingsSchema = zod_1.z.object({
18
- accountPage: accountPage_1.iAccountPageV2Schema,
19
- addressSettings: addressSettings_1.iAddressesSettingsV2Schema,
20
- adminPanelOnly: adminPanelOnly_1.iAdminOnlyV2Schema,
21
- cartSummary: cartSummary_1.iCartSummaryV2Schema,
22
- checkout: checkout_1.iCheckoutSettingsV2Schema,
23
- features: features_1.iFeaturesV2Schema,
24
- pdpSettings: pdpSettings_1.iPdpSettingsV2Schema,
25
- productCard: productCard_1.iProductCardSettingsV2Schema,
26
- siteSettings: siteSettings_1.iSiteSettingsV2Schema,
27
- welcomeModal: welcomeModal_1.iWelcomeModalV2Schema,
28
- performance: performance_1.iPerformanceSettingsV2Schema,
29
- integration: integration_1.iIntegrationSettingsSchema,
30
- });
31
- exports.iCoreRetailerSettingsBannerSchema = zod_1.z.record(zod_1.z.string(), exports.iCoreRetailerSettingsSchema);
@@ -1,28 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iIntegrationSettingsSchema: z.ZodObject<{
3
- prodX: z.ZodObject<{
4
- enabled: z.ZodBoolean;
5
- catalogId: z.ZodString;
6
- test: z.ZodBoolean;
7
- }, "strip", z.ZodTypeAny, {
8
- enabled?: boolean;
9
- catalogId?: string;
10
- test?: boolean;
11
- }, {
12
- enabled?: boolean;
13
- catalogId?: string;
14
- test?: boolean;
15
- }>;
16
- }, "strip", z.ZodTypeAny, {
17
- prodX?: {
18
- enabled?: boolean;
19
- catalogId?: string;
20
- test?: boolean;
21
- };
22
- }, {
23
- prodX?: {
24
- enabled?: boolean;
25
- catalogId?: string;
26
- test?: boolean;
27
- };
28
- }>;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iIntegrationSettingsSchema = void 0;
4
- const zod_1 = require("zod");
5
- const iProdXSchema = zod_1.z.object({
6
- enabled: zod_1.z.boolean(),
7
- catalogId: zod_1.z.string(),
8
- test: zod_1.z.boolean(),
9
- });
10
- exports.iIntegrationSettingsSchema = zod_1.z.object({
11
- prodX: iProdXSchema,
12
- });
@@ -1,157 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iPdpSettingsV2Schema: z.ZodObject<{
3
- externalContent: z.ZodObject<{
4
- enabled: z.ZodBoolean;
5
- contentProviders: z.ZodArray<z.ZodObject<{
6
- provider: z.ZodUnion<[z.ZodLiteral<"brandbank">, z.ZodLiteral<"syndigo">]>;
7
- }, "strip", z.ZodTypeAny, {
8
- provider?: "brandbank" | "syndigo";
9
- }, {
10
- provider?: "brandbank" | "syndigo";
11
- }>, "many">;
12
- }, "strip", z.ZodTypeAny, {
13
- enabled?: boolean;
14
- contentProviders?: {
15
- provider?: "brandbank" | "syndigo";
16
- }[];
17
- }, {
18
- enabled?: boolean;
19
- contentProviders?: {
20
- provider?: "brandbank" | "syndigo";
21
- }[];
22
- }>;
23
- nutritionZone: z.ZodUnion<[z.ZodLiteral<"us">, z.ZodLiteral<"eu">, z.ZodLiteral<"au">, z.ZodLiteral<"ca">]>;
24
- nutritionLink: z.ZodObject<{
25
- href: z.ZodNullable<z.ZodString>;
26
- target: z.ZodUnion<[z.ZodLiteral<"_blank">, z.ZodLiteral<"_self">, z.ZodLiteral<"_parent">, z.ZodLiteral<"_top">]>;
27
- }, "strip", z.ZodTypeAny, {
28
- target?: "_blank" | "_self" | "_parent" | "_top";
29
- href?: string;
30
- }, {
31
- target?: "_blank" | "_self" | "_parent" | "_top";
32
- href?: string;
33
- }>;
34
- pdpDetailsLayout: z.ZodObject<{
35
- desktop: z.ZodObject<{
36
- left: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"productNutrition">, z.ZodLiteral<"productIngredients">, z.ZodLiteral<"productDescription">, z.ZodLiteral<"sodiumWarning">, z.ZodLiteral<"productNumber">, z.ZodLiteral<"recommendations">, z.ZodLiteral<"productSalesInfo">, z.ZodString]>, "many">;
37
- right: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"productNutrition">, z.ZodLiteral<"productIngredients">, z.ZodLiteral<"productDescription">, z.ZodLiteral<"sodiumWarning">, z.ZodLiteral<"productNumber">, z.ZodLiteral<"recommendations">, z.ZodLiteral<"productSalesInfo">, z.ZodString]>, "many">;
38
- }, "strip", z.ZodTypeAny, {
39
- left?: string[];
40
- right?: string[];
41
- }, {
42
- left?: string[];
43
- right?: string[];
44
- }>;
45
- mobile: z.ZodObject<{
46
- left: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"productNutrition">, z.ZodLiteral<"productIngredients">, z.ZodLiteral<"productDescription">, z.ZodLiteral<"sodiumWarning">, z.ZodLiteral<"productNumber">, z.ZodLiteral<"recommendations">, z.ZodLiteral<"productSalesInfo">, z.ZodString]>, "many">;
47
- right: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"productNutrition">, z.ZodLiteral<"productIngredients">, z.ZodLiteral<"productDescription">, z.ZodLiteral<"sodiumWarning">, z.ZodLiteral<"productNumber">, z.ZodLiteral<"recommendations">, z.ZodLiteral<"productSalesInfo">, z.ZodString]>, "many">;
48
- }, "strip", z.ZodTypeAny, {
49
- left?: string[];
50
- right?: string[];
51
- }, {
52
- left?: string[];
53
- right?: string[];
54
- }>;
55
- }, "strip", z.ZodTypeAny, {
56
- mobile?: {
57
- left?: string[];
58
- right?: string[];
59
- };
60
- desktop?: {
61
- left?: string[];
62
- right?: string[];
63
- };
64
- }, {
65
- mobile?: {
66
- left?: string[];
67
- right?: string[];
68
- };
69
- desktop?: {
70
- left?: string[];
71
- right?: string[];
72
- };
73
- }>;
74
- sodiumWarning: z.ZodObject<{
75
- isEnabled: z.ZodBoolean;
76
- threshold: z.ZodNumber;
77
- }, "strip", z.ZodTypeAny, {
78
- threshold?: number;
79
- isEnabled?: boolean;
80
- }, {
81
- threshold?: number;
82
- isEnabled?: boolean;
83
- }>;
84
- productAttributesLayout: z.ZodObject<{
85
- attributesRank: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"gluten free">, z.ZodLiteral<"organic">, z.ZodLiteral<"local">, z.ZodLiteral<"dairy free">, z.ZodLiteral<"diabetes friendly">, z.ZodLiteral<"egg free">, z.ZodLiteral<"fair trade">, z.ZodLiteral<"no artificial ingredients">, z.ZodLiteral<"halal">, z.ZodLiteral<"heart health">, z.ZodLiteral<"no high fructose corn syrup">, z.ZodLiteral<"keto friendly">, z.ZodLiteral<"kosher">, z.ZodLiteral<"lactose free">, z.ZodLiteral<"low fodmap">, z.ZodLiteral<"low sodium">, z.ZodLiteral<"no added sugar">, z.ZodLiteral<"non gmo">, z.ZodLiteral<"paleo">, z.ZodLiteral<"peanut free">, z.ZodLiteral<"plant goodness">, z.ZodLiteral<"soy free">, z.ZodLiteral<"vegan">, z.ZodLiteral<"whole grain">, z.ZodLiteral<"bottledeposit">, z.ZodLiteral<"limited ingredients">, z.ZodLiteral<"minimally processed">, z.ZodLiteral<"fsa">]>, "many">;
86
- excludedAttributes: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"gluten free">, z.ZodLiteral<"organic">, z.ZodLiteral<"local">, z.ZodLiteral<"dairy free">, z.ZodLiteral<"diabetes friendly">, z.ZodLiteral<"egg free">, z.ZodLiteral<"fair trade">, z.ZodLiteral<"no artificial ingredients">, z.ZodLiteral<"halal">, z.ZodLiteral<"heart health">, z.ZodLiteral<"no high fructose corn syrup">, z.ZodLiteral<"keto friendly">, z.ZodLiteral<"kosher">, z.ZodLiteral<"lactose free">, z.ZodLiteral<"low fodmap">, z.ZodLiteral<"low sodium">, z.ZodLiteral<"no added sugar">, z.ZodLiteral<"non gmo">, z.ZodLiteral<"paleo">, z.ZodLiteral<"peanut free">, z.ZodLiteral<"plant goodness">, z.ZodLiteral<"soy free">, z.ZodLiteral<"vegan">, z.ZodLiteral<"whole grain">, z.ZodLiteral<"bottledeposit">, z.ZodLiteral<"limited ingredients">, z.ZodLiteral<"minimally processed">, z.ZodLiteral<"fsa">]>, "many">;
87
- }, "strip", z.ZodTypeAny, {
88
- attributesRank?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
89
- excludedAttributes?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
90
- }, {
91
- attributesRank?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
92
- excludedAttributes?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
93
- }>;
94
- priceLoyaltyFlag: z.ZodBoolean;
95
- }, "strip", z.ZodTypeAny, {
96
- sodiumWarning?: {
97
- threshold?: number;
98
- isEnabled?: boolean;
99
- };
100
- externalContent?: {
101
- enabled?: boolean;
102
- contentProviders?: {
103
- provider?: "brandbank" | "syndigo";
104
- }[];
105
- };
106
- nutritionZone?: "us" | "eu" | "au" | "ca";
107
- nutritionLink?: {
108
- target?: "_blank" | "_self" | "_parent" | "_top";
109
- href?: string;
110
- };
111
- pdpDetailsLayout?: {
112
- mobile?: {
113
- left?: string[];
114
- right?: string[];
115
- };
116
- desktop?: {
117
- left?: string[];
118
- right?: string[];
119
- };
120
- };
121
- productAttributesLayout?: {
122
- attributesRank?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
123
- excludedAttributes?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
124
- };
125
- priceLoyaltyFlag?: boolean;
126
- }, {
127
- sodiumWarning?: {
128
- threshold?: number;
129
- isEnabled?: boolean;
130
- };
131
- externalContent?: {
132
- enabled?: boolean;
133
- contentProviders?: {
134
- provider?: "brandbank" | "syndigo";
135
- }[];
136
- };
137
- nutritionZone?: "us" | "eu" | "au" | "ca";
138
- nutritionLink?: {
139
- target?: "_blank" | "_self" | "_parent" | "_top";
140
- href?: string;
141
- };
142
- pdpDetailsLayout?: {
143
- mobile?: {
144
- left?: string[];
145
- right?: string[];
146
- };
147
- desktop?: {
148
- left?: string[];
149
- right?: string[];
150
- };
151
- };
152
- productAttributesLayout?: {
153
- attributesRank?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
154
- excludedAttributes?: ("gluten free" | "organic" | "local" | "dairy free" | "diabetes friendly" | "egg free" | "fair trade" | "no artificial ingredients" | "halal" | "heart health" | "no high fructose corn syrup" | "keto friendly" | "kosher" | "lactose free" | "low fodmap" | "low sodium" | "no added sugar" | "non gmo" | "paleo" | "peanut free" | "plant goodness" | "soy free" | "vegan" | "whole grain" | "bottledeposit" | "limited ingredients" | "minimally processed" | "fsa")[];
155
- };
156
- priceLoyaltyFlag?: boolean;
157
- }>;
@@ -1,59 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iPdpSettingsV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- const sharedSchemas_1 = require("./sharedSchemas");
6
- const iDefaultExternalSchema = zod_1.z.object({
7
- provider: zod_1.z.union([zod_1.z.literal("brandbank"), zod_1.z.literal("syndigo")]),
8
- });
9
- const iExternalContentPropsSchema = zod_1.z.object({
10
- enabled: zod_1.z.boolean(),
11
- contentProviders: zod_1.z.array(iDefaultExternalSchema),
12
- });
13
- const iPdpNutritionLinkSchema = zod_1.z.object({
14
- href: zod_1.z.string().nullable(),
15
- target: sharedSchemas_1.linkTargetSchema,
16
- });
17
- const productAttributesSchema = zod_1.z.union([
18
- zod_1.z.literal("gluten free"),
19
- zod_1.z.literal("organic"),
20
- zod_1.z.literal("local"),
21
- zod_1.z.literal("dairy free"),
22
- zod_1.z.literal("diabetes friendly"),
23
- zod_1.z.literal("egg free"),
24
- zod_1.z.literal("fair trade"),
25
- zod_1.z.literal("no artificial ingredients"),
26
- zod_1.z.literal("halal"),
27
- zod_1.z.literal("heart health"),
28
- zod_1.z.literal("no high fructose corn syrup"),
29
- zod_1.z.literal("keto friendly"),
30
- zod_1.z.literal("kosher"),
31
- zod_1.z.literal("lactose free"),
32
- zod_1.z.literal("low fodmap"),
33
- zod_1.z.literal("low sodium"),
34
- zod_1.z.literal("no added sugar"),
35
- zod_1.z.literal("non gmo"),
36
- zod_1.z.literal("paleo"),
37
- zod_1.z.literal("peanut free"),
38
- zod_1.z.literal("plant goodness"),
39
- zod_1.z.literal("soy free"),
40
- zod_1.z.literal("vegan"),
41
- zod_1.z.literal("whole grain"),
42
- zod_1.z.literal("bottledeposit"),
43
- zod_1.z.literal("limited ingredients"),
44
- zod_1.z.literal("minimally processed"),
45
- zod_1.z.literal("fsa"),
46
- ]);
47
- const iProductAttributesLayoutSchema = zod_1.z.object({
48
- attributesRank: zod_1.z.array(productAttributesSchema),
49
- excludedAttributes: zod_1.z.array(productAttributesSchema),
50
- });
51
- exports.iPdpSettingsV2Schema = zod_1.z.object({
52
- externalContent: iExternalContentPropsSchema,
53
- nutritionZone: sharedSchemas_1.iNutritionZoneSchema,
54
- nutritionLink: iPdpNutritionLinkSchema,
55
- pdpDetailsLayout: sharedSchemas_1.iProductDetailsPageLayoutSchema,
56
- sodiumWarning: sharedSchemas_1.iSodiumWarningSchema,
57
- productAttributesLayout: iProductAttributesLayoutSchema,
58
- priceLoyaltyFlag: zod_1.z.boolean(),
59
- });
@@ -1,8 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iPerformanceSettingsV2Schema: z.ZodObject<{
3
- vouchersLongTimeout: z.ZodBoolean;
4
- }, "strip", z.ZodTypeAny, {
5
- vouchersLongTimeout?: boolean;
6
- }, {
7
- vouchersLongTimeout?: boolean;
8
- }>;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iPerformanceSettingsV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- exports.iPerformanceSettingsV2Schema = zod_1.z.object({
6
- vouchersLongTimeout: zod_1.z.boolean(),
7
- });
@@ -1,307 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iProductCardSettingsV2Schema: z.ZodObject<{
3
- limitProductCardTitleHeight: z.ZodBoolean;
4
- productCardTitleHeight: z.ZodNumber;
5
- productCards: z.ZodObject<{
6
- gridRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
7
- carouselsRowLength: z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodNumber>;
8
- productCard: z.ZodObject<{
9
- enabled: z.ZodBoolean;
10
- layouts: z.ZodObject<{
11
- ContainersGrid: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"pce-centered">, z.ZodLiteral<"prs-labels">, z.ZodLiteral<"dun-attributes">]>;
12
- ContainersCarousel: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"pce-centered">, z.ZodLiteral<"prs-labels">, z.ZodLiteral<"dun-attributes">]>;
13
- FlyerCard: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"detailed">]>;
14
- SimplifiedCarousel: z.ZodLiteral<"default">;
15
- }, "strip", z.ZodTypeAny, {
16
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
17
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
18
- FlyerCard?: "default" | "detailed";
19
- SimplifiedCarousel?: "default";
20
- }, {
21
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
22
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
23
- FlyerCard?: "default" | "detailed";
24
- SimplifiedCarousel?: "default";
25
- }>;
26
- components: z.ZodObject<{
27
- promotionLabel: z.ZodObject<{
28
- showLines: z.ZodNumber;
29
- labelSource: z.ZodUnion<[z.ZodLiteral<"name">, z.ZodLiteral<"description">]>;
30
- labelsLimit: z.ZodNumber;
31
- labelsPriority: z.ZodArray<z.ZodUnion<[z.ZodObject<{
32
- _type: z.ZodUnion<[z.ZodLiteral<"pointPromo">, z.ZodLiteral<"promo">]>;
33
- limit: z.ZodNumber;
34
- }, "strip", z.ZodTypeAny, {
35
- _type?: "pointPromo" | "promo";
36
- limit?: number;
37
- }, {
38
- _type?: "pointPromo" | "promo";
39
- limit?: number;
40
- }>, z.ZodObject<{
41
- _type: z.ZodLiteral<"tprPromo">;
42
- }, "strip", z.ZodTypeAny, {
43
- _type?: "tprPromo";
44
- }, {
45
- _type?: "tprPromo";
46
- }>]>, "many">;
47
- }, "strip", z.ZodTypeAny, {
48
- showLines?: number;
49
- labelSource?: "description" | "name";
50
- labelsLimit?: number;
51
- labelsPriority?: ({
52
- _type?: "pointPromo" | "promo";
53
- limit?: number;
54
- } | {
55
- _type?: "tprPromo";
56
- })[];
57
- }, {
58
- showLines?: number;
59
- labelSource?: "description" | "name";
60
- labelsLimit?: number;
61
- labelsPriority?: ({
62
- _type?: "pointPromo" | "promo";
63
- limit?: number;
64
- } | {
65
- _type?: "tprPromo";
66
- })[];
67
- }>;
68
- recommendedLabel: z.ZodObject<{
69
- enabled: z.ZodBoolean;
70
- }, "strip", z.ZodTypeAny, {
71
- enabled?: boolean;
72
- }, {
73
- enabled?: boolean;
74
- }>;
75
- productAttributes: z.ZodObject<{
76
- iconOpacity: z.ZodNumber;
77
- }, "strip", z.ZodTypeAny, {
78
- iconOpacity?: number;
79
- }, {
80
- iconOpacity?: number;
81
- }>;
82
- }, "strip", z.ZodTypeAny, {
83
- promotionLabel?: {
84
- showLines?: number;
85
- labelSource?: "description" | "name";
86
- labelsLimit?: number;
87
- labelsPriority?: ({
88
- _type?: "pointPromo" | "promo";
89
- limit?: number;
90
- } | {
91
- _type?: "tprPromo";
92
- })[];
93
- };
94
- recommendedLabel?: {
95
- enabled?: boolean;
96
- };
97
- productAttributes?: {
98
- iconOpacity?: number;
99
- };
100
- }, {
101
- promotionLabel?: {
102
- showLines?: number;
103
- labelSource?: "description" | "name";
104
- labelsLimit?: number;
105
- labelsPriority?: ({
106
- _type?: "pointPromo" | "promo";
107
- limit?: number;
108
- } | {
109
- _type?: "tprPromo";
110
- })[];
111
- };
112
- recommendedLabel?: {
113
- enabled?: boolean;
114
- };
115
- productAttributes?: {
116
- iconOpacity?: number;
117
- };
118
- }>;
119
- }, "strip", z.ZodTypeAny, {
120
- enabled?: boolean;
121
- layouts?: {
122
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
123
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
124
- FlyerCard?: "default" | "detailed";
125
- SimplifiedCarousel?: "default";
126
- };
127
- components?: {
128
- promotionLabel?: {
129
- showLines?: number;
130
- labelSource?: "description" | "name";
131
- labelsLimit?: number;
132
- labelsPriority?: ({
133
- _type?: "pointPromo" | "promo";
134
- limit?: number;
135
- } | {
136
- _type?: "tprPromo";
137
- })[];
138
- };
139
- recommendedLabel?: {
140
- enabled?: boolean;
141
- };
142
- productAttributes?: {
143
- iconOpacity?: number;
144
- };
145
- };
146
- }, {
147
- enabled?: boolean;
148
- layouts?: {
149
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
150
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
151
- FlyerCard?: "default" | "detailed";
152
- SimplifiedCarousel?: "default";
153
- };
154
- components?: {
155
- promotionLabel?: {
156
- showLines?: number;
157
- labelSource?: "description" | "name";
158
- labelsLimit?: number;
159
- labelsPriority?: ({
160
- _type?: "pointPromo" | "promo";
161
- limit?: number;
162
- } | {
163
- _type?: "tprPromo";
164
- })[];
165
- };
166
- recommendedLabel?: {
167
- enabled?: boolean;
168
- };
169
- productAttributes?: {
170
- iconOpacity?: number;
171
- };
172
- };
173
- }>;
174
- }, "strip", z.ZodTypeAny, {
175
- productCard?: {
176
- enabled?: boolean;
177
- layouts?: {
178
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
179
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
180
- FlyerCard?: "default" | "detailed";
181
- SimplifiedCarousel?: "default";
182
- };
183
- components?: {
184
- promotionLabel?: {
185
- showLines?: number;
186
- labelSource?: "description" | "name";
187
- labelsLimit?: number;
188
- labelsPriority?: ({
189
- _type?: "pointPromo" | "promo";
190
- limit?: number;
191
- } | {
192
- _type?: "tprPromo";
193
- })[];
194
- };
195
- recommendedLabel?: {
196
- enabled?: boolean;
197
- };
198
- productAttributes?: {
199
- iconOpacity?: number;
200
- };
201
- };
202
- };
203
- gridRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
204
- carouselsRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
205
- }, {
206
- productCard?: {
207
- enabled?: boolean;
208
- layouts?: {
209
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
210
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
211
- FlyerCard?: "default" | "detailed";
212
- SimplifiedCarousel?: "default";
213
- };
214
- components?: {
215
- promotionLabel?: {
216
- showLines?: number;
217
- labelSource?: "description" | "name";
218
- labelsLimit?: number;
219
- labelsPriority?: ({
220
- _type?: "pointPromo" | "promo";
221
- limit?: number;
222
- } | {
223
- _type?: "tprPromo";
224
- })[];
225
- };
226
- recommendedLabel?: {
227
- enabled?: boolean;
228
- };
229
- productAttributes?: {
230
- iconOpacity?: number;
231
- };
232
- };
233
- };
234
- gridRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
235
- carouselsRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
236
- }>;
237
- }, "strip", z.ZodTypeAny, {
238
- limitProductCardTitleHeight?: boolean;
239
- productCardTitleHeight?: number;
240
- productCards?: {
241
- productCard?: {
242
- enabled?: boolean;
243
- layouts?: {
244
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
245
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
246
- FlyerCard?: "default" | "detailed";
247
- SimplifiedCarousel?: "default";
248
- };
249
- components?: {
250
- promotionLabel?: {
251
- showLines?: number;
252
- labelSource?: "description" | "name";
253
- labelsLimit?: number;
254
- labelsPriority?: ({
255
- _type?: "pointPromo" | "promo";
256
- limit?: number;
257
- } | {
258
- _type?: "tprPromo";
259
- })[];
260
- };
261
- recommendedLabel?: {
262
- enabled?: boolean;
263
- };
264
- productAttributes?: {
265
- iconOpacity?: number;
266
- };
267
- };
268
- };
269
- gridRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
270
- carouselsRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
271
- };
272
- }, {
273
- limitProductCardTitleHeight?: boolean;
274
- productCardTitleHeight?: number;
275
- productCards?: {
276
- productCard?: {
277
- enabled?: boolean;
278
- layouts?: {
279
- ContainersGrid?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
280
- ContainersCarousel?: "default" | "pce-centered" | "prs-labels" | "dun-attributes";
281
- FlyerCard?: "default" | "detailed";
282
- SimplifiedCarousel?: "default";
283
- };
284
- components?: {
285
- promotionLabel?: {
286
- showLines?: number;
287
- labelSource?: "description" | "name";
288
- labelsLimit?: number;
289
- labelsPriority?: ({
290
- _type?: "pointPromo" | "promo";
291
- limit?: number;
292
- } | {
293
- _type?: "tprPromo";
294
- })[];
295
- };
296
- recommendedLabel?: {
297
- enabled?: boolean;
298
- };
299
- productAttributes?: {
300
- iconOpacity?: number;
301
- };
302
- };
303
- };
304
- gridRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
305
- carouselsRowLength?: Partial<Record<"mobile" | "tablet" | "desktop", number>>;
306
- };
307
- }>;
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iProductCardSettingsV2Schema = void 0;
4
- const zod_1 = require("zod");
5
- const sharedSchemas_1 = require("./sharedSchemas");
6
- exports.iProductCardSettingsV2Schema = zod_1.z.object({
7
- limitProductCardTitleHeight: zod_1.z.boolean(),
8
- productCardTitleHeight: zod_1.z.number(),
9
- productCards: sharedSchemas_1.iProductCardsPropsSchema,
10
- });