@thryveai/theme-interfaces 2.7.155-3.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 -848
  35. package/dist/core/storefront-zod/retailer-settings/features.js +0 -63
  36. package/dist/core/storefront-zod/retailer-settings/index.d.ts +0 -9805
  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 -1647
  47. package/dist/core/storefront-zod/retailer-settings/sharedSchemas.js +0 -592
  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,848 +0,0 @@
1
- import { z } from "zod";
2
- export declare const iFeaturesV2Schema: z.ZodObject<{
3
- additionalCharges: z.ZodBoolean;
4
- creditBalance: z.ZodBoolean;
5
- subscriptions: z.ZodBoolean;
6
- clientCache: z.ZodBoolean;
7
- vouchers: z.ZodObject<{
8
- enabled: z.ZodBoolean;
9
- reCaptcha: z.ZodBoolean;
10
- manualVouchers: z.ZodBoolean;
11
- }, "strip", z.ZodTypeAny, {
12
- enabled?: boolean;
13
- reCaptcha?: boolean;
14
- manualVouchers?: boolean;
15
- }, {
16
- enabled?: boolean;
17
- reCaptcha?: boolean;
18
- manualVouchers?: boolean;
19
- }>;
20
- promotionDetailsPage: z.ZodObject<{
21
- bundlePromotionCalculator: z.ZodBoolean;
22
- nonBundlePromotionCalculator: z.ZodBoolean;
23
- }, "strip", z.ZodTypeAny, {
24
- bundlePromotionCalculator?: boolean;
25
- nonBundlePromotionCalculator?: boolean;
26
- }, {
27
- bundlePromotionCalculator?: boolean;
28
- nonBundlePromotionCalculator?: boolean;
29
- }>;
30
- giftCards: z.ZodObject<{
31
- enabled: z.ZodBoolean;
32
- giftCardInputValidation: z.ZodString;
33
- pinInputValidation: z.ZodString;
34
- reCaptcha: z.ZodBoolean;
35
- }, "strip", z.ZodTypeAny, {
36
- enabled?: boolean;
37
- reCaptcha?: boolean;
38
- giftCardInputValidation?: string;
39
- pinInputValidation?: string;
40
- }, {
41
- enabled?: boolean;
42
- reCaptcha?: boolean;
43
- giftCardInputValidation?: string;
44
- pinInputValidation?: string;
45
- }>;
46
- smartbanner: z.ZodObject<{
47
- enabled: z.ZodBoolean;
48
- title: z.ZodString;
49
- author: z.ZodString;
50
- price: z.ZodString;
51
- priceSuffixApple: z.ZodString;
52
- priceSuffixGoogle: z.ZodString;
53
- iconApple: z.ZodString;
54
- iconGoogle: z.ZodString;
55
- button: z.ZodString;
56
- buttonUrlApple: z.ZodString;
57
- buttonUrlGoogle: z.ZodString;
58
- closeLabel: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- button?: string;
61
- title?: string;
62
- enabled?: boolean;
63
- author?: string;
64
- price?: string;
65
- priceSuffixApple?: string;
66
- priceSuffixGoogle?: string;
67
- iconApple?: string;
68
- iconGoogle?: string;
69
- buttonUrlApple?: string;
70
- buttonUrlGoogle?: string;
71
- closeLabel?: string;
72
- }, {
73
- button?: string;
74
- title?: string;
75
- enabled?: boolean;
76
- author?: string;
77
- price?: string;
78
- priceSuffixApple?: string;
79
- priceSuffixGoogle?: string;
80
- iconApple?: string;
81
- iconGoogle?: string;
82
- buttonUrlApple?: string;
83
- buttonUrlGoogle?: string;
84
- closeLabel?: string;
85
- }>;
86
- entryModalVersion: z.ZodUnion<[z.ZodLiteral<"entry">, z.ZodLiteral<"geolocation">, z.ZodLiteral<"skipStoreSelection">]>;
87
- hideAlcoholRule: z.ZodObject<{
88
- modal: z.ZodBoolean;
89
- pdp: z.ZodBoolean;
90
- productCard: z.ZodBoolean;
91
- }, "strip", z.ZodTypeAny, {
92
- modal?: boolean;
93
- pdp?: boolean;
94
- productCard?: boolean;
95
- }, {
96
- modal?: boolean;
97
- pdp?: boolean;
98
- productCard?: boolean;
99
- }>;
100
- addressIntegrationV2: z.ZodBoolean;
101
- allowInStorePurchases: z.ZodBoolean;
102
- allowPastPurchases: z.ZodBoolean;
103
- advertSettings: z.ZodObject<{
104
- page_homepage: z.ZodOptional<z.ZodObject<{
105
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
106
- }, "strip", z.ZodTypeAny, {
107
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
108
- }, {
109
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
110
- }>>;
111
- page_search: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
112
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
113
- }, {
114
- productGrid: z.ZodOptional<z.ZodObject<{
115
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
116
- productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
117
- }, "strip", z.ZodTypeAny, {
118
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
119
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
120
- }, {
121
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
122
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
123
- }>>;
124
- }>, {
125
- skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
126
- }>, "strip", z.ZodTypeAny, {
127
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
128
- productGrid?: {
129
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
130
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
131
- };
132
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
133
- }, {
134
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
135
- productGrid?: {
136
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
137
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
138
- };
139
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
140
- }>>;
141
- page_cart: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
142
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
143
- }, {
144
- skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
145
- }>, "strip", z.ZodTypeAny, {
146
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
147
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
148
- }, {
149
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
150
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
151
- }>>;
152
- "page_product-categories": z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
153
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
154
- }, {
155
- productGrid: z.ZodOptional<z.ZodObject<{
156
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
157
- productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
158
- }, "strip", z.ZodTypeAny, {
159
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
160
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
161
- }, {
162
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
163
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
164
- }>>;
165
- }>, {
166
- skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
167
- }>, "strip", z.ZodTypeAny, {
168
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
169
- productGrid?: {
170
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
171
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
172
- };
173
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
174
- }, {
175
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
176
- productGrid?: {
177
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
178
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
179
- };
180
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
181
- }>>;
182
- "page_product-listing": z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
183
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
184
- }, {
185
- productGrid: z.ZodOptional<z.ZodObject<{
186
- leaderboards: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
187
- productCardBanners: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>>;
188
- }, "strip", z.ZodTypeAny, {
189
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
190
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
191
- }, {
192
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
193
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
194
- }>>;
195
- }>, {
196
- skyscrapers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["mobile", "tablet", "desktop"]>, z.ZodString>>;
197
- }>, "strip", z.ZodTypeAny, {
198
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
199
- productGrid?: {
200
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
201
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
202
- };
203
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
204
- }, {
205
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
206
- productGrid?: {
207
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
208
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
209
- };
210
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
211
- }>>;
212
- }, "strip", z.ZodTypeAny, {
213
- page_homepage?: {
214
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
215
- };
216
- page_search?: {
217
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
218
- productGrid?: {
219
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
220
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
221
- };
222
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
223
- };
224
- page_cart?: {
225
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
226
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
227
- };
228
- "page_product-categories"?: {
229
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
230
- productGrid?: {
231
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
232
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
233
- };
234
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
235
- };
236
- "page_product-listing"?: {
237
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
238
- productGrid?: {
239
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
240
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
241
- };
242
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
243
- };
244
- }, {
245
- page_homepage?: {
246
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
247
- };
248
- page_search?: {
249
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
250
- productGrid?: {
251
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
252
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
253
- };
254
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
255
- };
256
- page_cart?: {
257
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
258
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
259
- };
260
- "page_product-categories"?: {
261
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
262
- productGrid?: {
263
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
264
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
265
- };
266
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
267
- };
268
- "page_product-listing"?: {
269
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
270
- productGrid?: {
271
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
272
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
273
- };
274
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
275
- };
276
- }>;
277
- ebtPayments: z.ZodBoolean;
278
- emailCartOrShoppingList: z.ZodObject<{
279
- enabled: z.ZodBoolean;
280
- messageField: z.ZodBoolean;
281
- }, "strip", z.ZodTypeAny, {
282
- enabled?: boolean;
283
- messageField?: boolean;
284
- }, {
285
- enabled?: boolean;
286
- messageField?: boolean;
287
- }>;
288
- googleTranslateWidget: z.ZodObject<{
289
- enabled: z.ZodBoolean;
290
- position: z.ZodUnion<[z.ZodLiteral<"header">, z.ZodLiteral<"footer">]>;
291
- headerLayout: z.ZodObject<{
292
- mobile: z.ZodUnion<[z.ZodLiteral<"horizontal">, z.ZodLiteral<"vertical">]>;
293
- desktop: z.ZodUnion<[z.ZodLiteral<"horizontal">, z.ZodLiteral<"vertical">]>;
294
- }, "strip", z.ZodTypeAny, {
295
- mobile?: "horizontal" | "vertical";
296
- desktop?: "horizontal" | "vertical";
297
- }, {
298
- mobile?: "horizontal" | "vertical";
299
- desktop?: "horizontal" | "vertical";
300
- }>;
301
- }, "strip", z.ZodTypeAny, {
302
- position?: "footer" | "header";
303
- enabled?: boolean;
304
- headerLayout?: {
305
- mobile?: "horizontal" | "vertical";
306
- desktop?: "horizontal" | "vertical";
307
- };
308
- }, {
309
- position?: "footer" | "header";
310
- enabled?: boolean;
311
- headerLayout?: {
312
- mobile?: "horizontal" | "vertical";
313
- desktop?: "horizontal" | "vertical";
314
- };
315
- }>;
316
- enableNewsletterSignup: z.ZodBoolean;
317
- enableNotifications: z.ZodBoolean;
318
- enableRecipeSearch: z.ZodBoolean;
319
- externalStoreSelectorUrl: z.ZodObject<{
320
- enabled: z.ZodBoolean;
321
- url: z.ZodString;
322
- }, "strip", z.ZodTypeAny, {
323
- url?: string;
324
- enabled?: boolean;
325
- }, {
326
- url?: string;
327
- enabled?: boolean;
328
- }>;
329
- favoritesV1: z.ZodBoolean;
330
- flipp: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
331
- version: z.ZodLiteral<1>;
332
- production: z.ZodBoolean;
333
- scriptUrl: z.ZodUnion<[z.ZodLiteral<"circulars.priceritemarketplace">, z.ZodLiteral<"circulars.dearbornmarket">, z.ZodLiteral<"flyers.v8.commerce.mi9cloud">, z.ZodLiteral<"flyers.stg.v8.mywebgrocer">, z.ZodLiteral<"flyers.saveonfoods">]>;
334
- retailer: z.ZodUnion<[z.ZodLiteral<"wakefernpricerite">, z.ZodLiteral<"saveonfoods">, z.ZodLiteral<"unitedsupermarkets">, z.ZodLiteral<"dearbornmarket">, z.ZodLiteral<"saveonfoods">]>;
335
- autoLocate: z.ZodBoolean;
336
- useRequestedDomain: z.ZodBoolean;
337
- }, "strip", z.ZodTypeAny, {
338
- version?: 1;
339
- production?: boolean;
340
- scriptUrl?: "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
341
- retailer?: "wakefernpricerite" | "saveonfoods" | "unitedsupermarkets" | "dearbornmarket";
342
- autoLocate?: boolean;
343
- useRequestedDomain?: boolean;
344
- }, {
345
- version?: 1;
346
- production?: boolean;
347
- scriptUrl?: "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
348
- retailer?: "wakefernpricerite" | "saveonfoods" | "unitedsupermarkets" | "dearbornmarket";
349
- autoLocate?: boolean;
350
- useRequestedDomain?: boolean;
351
- }>, z.ZodObject<{
352
- accessToken: z.ZodString;
353
- hideHeader: z.ZodBoolean;
354
- locale: z.ZodString;
355
- merchantId: z.ZodString;
356
- retailer: z.ZodString;
357
- slideOutView: z.ZodBoolean;
358
- version: z.ZodLiteral<2>;
359
- zoom: z.ZodNumber;
360
- excludeFlyer: z.ZodOptional<z.ZodString>;
361
- }, "strip", z.ZodTypeAny, {
362
- version?: 2;
363
- retailer?: string;
364
- accessToken?: string;
365
- hideHeader?: boolean;
366
- locale?: string;
367
- merchantId?: string;
368
- slideOutView?: boolean;
369
- zoom?: number;
370
- excludeFlyer?: string;
371
- }, {
372
- version?: 2;
373
- retailer?: string;
374
- accessToken?: string;
375
- hideHeader?: boolean;
376
- locale?: string;
377
- merchantId?: string;
378
- slideOutView?: boolean;
379
- zoom?: number;
380
- excludeFlyer?: string;
381
- }>]>>;
382
- globalAnimations: z.ZodObject<{
383
- confetti: z.ZodObject<{
384
- enableConfettiAnimation: z.ZodBoolean;
385
- }, "strip", z.ZodTypeAny, {
386
- enableConfettiAnimation?: boolean;
387
- }, {
388
- enableConfettiAnimation?: boolean;
389
- }>;
390
- }, "strip", z.ZodTypeAny, {
391
- confetti?: {
392
- enableConfettiAnimation?: boolean;
393
- };
394
- }, {
395
- confetti?: {
396
- enableConfettiAnimation?: boolean;
397
- };
398
- }>;
399
- instacart: z.ZodObject<{
400
- enabled: z.ZodBoolean;
401
- url: z.ZodString;
402
- }, "strip", z.ZodTypeAny, {
403
- url?: string;
404
- enabled?: boolean;
405
- }, {
406
- url?: string;
407
- enabled?: boolean;
408
- }>;
409
- recipeLegacyShareLink: z.ZodBoolean;
410
- registrationFields: z.ZodArray<z.ZodObject<{
411
- name: z.ZodUnion<[z.ZodLiteral<"phone">, z.ZodLiteral<"loyaltyId">, z.ZodLiteral<"isAdultConfirmed">, z.ZodLiteral<"marketingConsent">, z.ZodLiteral<"dateOfBirth">]>;
412
- label: z.ZodString;
413
- placeholder: z.ZodString;
414
- designVersion: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"version2">]>;
415
- validationTypes: z.ZodArray<z.ZodUnion<[z.ZodObject<{
416
- _type: z.ZodLiteral<"overYears">;
417
- overYears: z.ZodNumber;
418
- }, "strip", z.ZodTypeAny, {
419
- _type?: "overYears";
420
- overYears?: number;
421
- }, {
422
- _type?: "overYears";
423
- overYears?: number;
424
- }>, z.ZodObject<{
425
- _type: z.ZodUnion<[z.ZodLiteral<"less">, z.ZodLiteral<"more">, z.ZodLiteral<"exact">]>;
426
- length: z.ZodNumber;
427
- }, "strip", z.ZodTypeAny, {
428
- length?: number;
429
- _type?: "exact" | "less" | "more";
430
- }, {
431
- length?: number;
432
- _type?: "exact" | "less" | "more";
433
- }>, z.ZodObject<{
434
- _type: z.ZodLiteral<"multi">;
435
- multiLength: z.ZodArray<z.ZodNumber, "many">;
436
- }, "strip", z.ZodTypeAny, {
437
- _type?: "multi";
438
- multiLength?: number[];
439
- }, {
440
- _type?: "multi";
441
- multiLength?: number[];
442
- }>, z.ZodLiteral<"alphaNumeric">, z.ZodLiteral<"alphaOnly">, z.ZodLiteral<"alphaOnlyNoDots">, z.ZodLiteral<"anyPhone">, z.ZodLiteral<"auPhone">, z.ZodLiteral<"auPostCode">, z.ZodLiteral<"auState">, z.ZodLiteral<"caPhone">, z.ZodLiteral<"caPostCode">, z.ZodLiteral<"caProvince">, z.ZodLiteral<"correctDate">, z.ZodLiteral<"email">, z.ZodLiteral<"ieCounty">, z.ZodLiteral<"iePhone">, z.ZodLiteral<"iePostCode">, z.ZodLiteral<"luhnValidation">, z.ZodLiteral<"noSpecialChar">, z.ZodLiteral<"numericOnly">, z.ZodLiteral<"password">, z.ZodLiteral<"required">, z.ZodLiteral<"usMobileNumber">, z.ZodLiteral<"usPhone">, z.ZodLiteral<"usPhone10Digits">, z.ZodLiteral<"usPostCode">, z.ZodLiteral<"usState">, z.ZodLiteral<"notWhiteSpacesOnly">, z.ZodLiteral<"NAPhone">]>, "many">;
443
- alwaysVisible: z.ZodOptional<z.ZodBoolean>;
444
- editable: z.ZodOptional<z.ZodBoolean>;
445
- }, "strip", z.ZodTypeAny, {
446
- name?: "phone" | "loyaltyId" | "isAdultConfirmed" | "marketingConsent" | "dateOfBirth";
447
- label?: string;
448
- placeholder?: string;
449
- designVersion?: "default" | "version2";
450
- validationTypes?: ("required" | "password" | "email" | {
451
- _type?: "overYears";
452
- overYears?: number;
453
- } | {
454
- length?: number;
455
- _type?: "exact" | "less" | "more";
456
- } | {
457
- _type?: "multi";
458
- multiLength?: number[];
459
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
460
- alwaysVisible?: boolean;
461
- editable?: boolean;
462
- }, {
463
- name?: "phone" | "loyaltyId" | "isAdultConfirmed" | "marketingConsent" | "dateOfBirth";
464
- label?: string;
465
- placeholder?: string;
466
- designVersion?: "default" | "version2";
467
- validationTypes?: ("required" | "password" | "email" | {
468
- _type?: "overYears";
469
- overYears?: number;
470
- } | {
471
- length?: number;
472
- _type?: "exact" | "less" | "more";
473
- } | {
474
- _type?: "multi";
475
- multiLength?: number[];
476
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
477
- alwaysVisible?: boolean;
478
- editable?: boolean;
479
- }>, "many">;
480
- secondTierAuthorization: z.ZodOptional<z.ZodObject<{
481
- time: z.ZodNullable<z.ZodUnion<[z.ZodUndefined, z.ZodNumber]>>;
482
- pages: z.ZodArray<z.ZodString, "many">;
483
- }, "strip", z.ZodTypeAny, {
484
- time?: number;
485
- pages?: string[];
486
- }, {
487
- time?: number;
488
- pages?: string[];
489
- }>>;
490
- showCheckoutPromoCode: z.ZodBoolean;
491
- showImgOnOrder: z.ZodBoolean;
492
- showRewardPromoChangeTimeslotMsg: z.ZodBoolean;
493
- smsNotifications: z.ZodObject<{
494
- enabled: z.ZodBoolean;
495
- getEnrollmentUrl: z.ZodString;
496
- postEnrollmentUrl: z.ZodString;
497
- }, "strip", z.ZodTypeAny, {
498
- enabled?: boolean;
499
- getEnrollmentUrl?: string;
500
- postEnrollmentUrl?: string;
501
- }, {
502
- enabled?: boolean;
503
- getEnrollmentUrl?: string;
504
- postEnrollmentUrl?: string;
505
- }>;
506
- specialRequestItems: z.ZodBoolean;
507
- couponGallery: z.ZodObject<{
508
- enabled: z.ZodBoolean;
509
- galleryIsIframe: z.ZodBoolean;
510
- galleryHasNavLink: z.ZodBoolean;
511
- }, "strip", z.ZodTypeAny, {
512
- enabled?: boolean;
513
- galleryIsIframe?: boolean;
514
- galleryHasNavLink?: boolean;
515
- }, {
516
- enabled?: boolean;
517
- galleryIsIframe?: boolean;
518
- galleryHasNavLink?: boolean;
519
- }>;
520
- gsaSupportedBrowser: z.ZodBoolean;
521
- acquiaAuthService: z.ZodBoolean;
522
- }, "strip", z.ZodTypeAny, {
523
- additionalCharges?: boolean;
524
- creditBalance?: boolean;
525
- subscriptions?: boolean;
526
- clientCache?: boolean;
527
- vouchers?: {
528
- enabled?: boolean;
529
- reCaptcha?: boolean;
530
- manualVouchers?: boolean;
531
- };
532
- promotionDetailsPage?: {
533
- bundlePromotionCalculator?: boolean;
534
- nonBundlePromotionCalculator?: boolean;
535
- };
536
- giftCards?: {
537
- enabled?: boolean;
538
- reCaptcha?: boolean;
539
- giftCardInputValidation?: string;
540
- pinInputValidation?: string;
541
- };
542
- smartbanner?: {
543
- button?: string;
544
- title?: string;
545
- enabled?: boolean;
546
- author?: string;
547
- price?: string;
548
- priceSuffixApple?: string;
549
- priceSuffixGoogle?: string;
550
- iconApple?: string;
551
- iconGoogle?: string;
552
- buttonUrlApple?: string;
553
- buttonUrlGoogle?: string;
554
- closeLabel?: string;
555
- };
556
- entryModalVersion?: "geolocation" | "entry" | "skipStoreSelection";
557
- hideAlcoholRule?: {
558
- modal?: boolean;
559
- pdp?: boolean;
560
- productCard?: boolean;
561
- };
562
- addressIntegrationV2?: boolean;
563
- allowInStorePurchases?: boolean;
564
- allowPastPurchases?: boolean;
565
- advertSettings?: {
566
- page_homepage?: {
567
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
568
- };
569
- page_search?: {
570
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
571
- productGrid?: {
572
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
573
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
574
- };
575
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
576
- };
577
- page_cart?: {
578
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
579
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
580
- };
581
- "page_product-categories"?: {
582
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
583
- productGrid?: {
584
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
585
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
586
- };
587
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
588
- };
589
- "page_product-listing"?: {
590
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
591
- productGrid?: {
592
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
593
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
594
- };
595
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
596
- };
597
- };
598
- ebtPayments?: boolean;
599
- emailCartOrShoppingList?: {
600
- enabled?: boolean;
601
- messageField?: boolean;
602
- };
603
- googleTranslateWidget?: {
604
- position?: "footer" | "header";
605
- enabled?: boolean;
606
- headerLayout?: {
607
- mobile?: "horizontal" | "vertical";
608
- desktop?: "horizontal" | "vertical";
609
- };
610
- };
611
- enableNewsletterSignup?: boolean;
612
- enableNotifications?: boolean;
613
- enableRecipeSearch?: boolean;
614
- externalStoreSelectorUrl?: {
615
- url?: string;
616
- enabled?: boolean;
617
- };
618
- favoritesV1?: boolean;
619
- flipp?: {
620
- version?: 1;
621
- production?: boolean;
622
- scriptUrl?: "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
623
- retailer?: "wakefernpricerite" | "saveonfoods" | "unitedsupermarkets" | "dearbornmarket";
624
- autoLocate?: boolean;
625
- useRequestedDomain?: boolean;
626
- } | {
627
- version?: 2;
628
- retailer?: string;
629
- accessToken?: string;
630
- hideHeader?: boolean;
631
- locale?: string;
632
- merchantId?: string;
633
- slideOutView?: boolean;
634
- zoom?: number;
635
- excludeFlyer?: string;
636
- };
637
- globalAnimations?: {
638
- confetti?: {
639
- enableConfettiAnimation?: boolean;
640
- };
641
- };
642
- instacart?: {
643
- url?: string;
644
- enabled?: boolean;
645
- };
646
- recipeLegacyShareLink?: boolean;
647
- registrationFields?: {
648
- name?: "phone" | "loyaltyId" | "isAdultConfirmed" | "marketingConsent" | "dateOfBirth";
649
- label?: string;
650
- placeholder?: string;
651
- designVersion?: "default" | "version2";
652
- validationTypes?: ("required" | "password" | "email" | {
653
- _type?: "overYears";
654
- overYears?: number;
655
- } | {
656
- length?: number;
657
- _type?: "exact" | "less" | "more";
658
- } | {
659
- _type?: "multi";
660
- multiLength?: number[];
661
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
662
- alwaysVisible?: boolean;
663
- editable?: boolean;
664
- }[];
665
- secondTierAuthorization?: {
666
- time?: number;
667
- pages?: string[];
668
- };
669
- showCheckoutPromoCode?: boolean;
670
- showImgOnOrder?: boolean;
671
- showRewardPromoChangeTimeslotMsg?: boolean;
672
- smsNotifications?: {
673
- enabled?: boolean;
674
- getEnrollmentUrl?: string;
675
- postEnrollmentUrl?: string;
676
- };
677
- specialRequestItems?: boolean;
678
- couponGallery?: {
679
- enabled?: boolean;
680
- galleryIsIframe?: boolean;
681
- galleryHasNavLink?: boolean;
682
- };
683
- gsaSupportedBrowser?: boolean;
684
- acquiaAuthService?: boolean;
685
- }, {
686
- additionalCharges?: boolean;
687
- creditBalance?: boolean;
688
- subscriptions?: boolean;
689
- clientCache?: boolean;
690
- vouchers?: {
691
- enabled?: boolean;
692
- reCaptcha?: boolean;
693
- manualVouchers?: boolean;
694
- };
695
- promotionDetailsPage?: {
696
- bundlePromotionCalculator?: boolean;
697
- nonBundlePromotionCalculator?: boolean;
698
- };
699
- giftCards?: {
700
- enabled?: boolean;
701
- reCaptcha?: boolean;
702
- giftCardInputValidation?: string;
703
- pinInputValidation?: string;
704
- };
705
- smartbanner?: {
706
- button?: string;
707
- title?: string;
708
- enabled?: boolean;
709
- author?: string;
710
- price?: string;
711
- priceSuffixApple?: string;
712
- priceSuffixGoogle?: string;
713
- iconApple?: string;
714
- iconGoogle?: string;
715
- buttonUrlApple?: string;
716
- buttonUrlGoogle?: string;
717
- closeLabel?: string;
718
- };
719
- entryModalVersion?: "geolocation" | "entry" | "skipStoreSelection";
720
- hideAlcoholRule?: {
721
- modal?: boolean;
722
- pdp?: boolean;
723
- productCard?: boolean;
724
- };
725
- addressIntegrationV2?: boolean;
726
- allowInStorePurchases?: boolean;
727
- allowPastPurchases?: boolean;
728
- advertSettings?: {
729
- page_homepage?: {
730
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
731
- };
732
- page_search?: {
733
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
734
- productGrid?: {
735
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
736
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
737
- };
738
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
739
- };
740
- page_cart?: {
741
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
742
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
743
- };
744
- "page_product-categories"?: {
745
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
746
- productGrid?: {
747
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
748
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
749
- };
750
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
751
- };
752
- "page_product-listing"?: {
753
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
754
- productGrid?: {
755
- leaderboards?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
756
- productCardBanners?: Record<string, Partial<Record<"mobile" | "tablet" | "desktop", string>>>;
757
- };
758
- skyscrapers?: Partial<Record<"mobile" | "tablet" | "desktop", string>>;
759
- };
760
- };
761
- ebtPayments?: boolean;
762
- emailCartOrShoppingList?: {
763
- enabled?: boolean;
764
- messageField?: boolean;
765
- };
766
- googleTranslateWidget?: {
767
- position?: "footer" | "header";
768
- enabled?: boolean;
769
- headerLayout?: {
770
- mobile?: "horizontal" | "vertical";
771
- desktop?: "horizontal" | "vertical";
772
- };
773
- };
774
- enableNewsletterSignup?: boolean;
775
- enableNotifications?: boolean;
776
- enableRecipeSearch?: boolean;
777
- externalStoreSelectorUrl?: {
778
- url?: string;
779
- enabled?: boolean;
780
- };
781
- favoritesV1?: boolean;
782
- flipp?: {
783
- version?: 1;
784
- production?: boolean;
785
- scriptUrl?: "circulars.priceritemarketplace" | "circulars.dearbornmarket" | "flyers.v8.commerce.mi9cloud" | "flyers.stg.v8.mywebgrocer" | "flyers.saveonfoods";
786
- retailer?: "wakefernpricerite" | "saveonfoods" | "unitedsupermarkets" | "dearbornmarket";
787
- autoLocate?: boolean;
788
- useRequestedDomain?: boolean;
789
- } | {
790
- version?: 2;
791
- retailer?: string;
792
- accessToken?: string;
793
- hideHeader?: boolean;
794
- locale?: string;
795
- merchantId?: string;
796
- slideOutView?: boolean;
797
- zoom?: number;
798
- excludeFlyer?: string;
799
- };
800
- globalAnimations?: {
801
- confetti?: {
802
- enableConfettiAnimation?: boolean;
803
- };
804
- };
805
- instacart?: {
806
- url?: string;
807
- enabled?: boolean;
808
- };
809
- recipeLegacyShareLink?: boolean;
810
- registrationFields?: {
811
- name?: "phone" | "loyaltyId" | "isAdultConfirmed" | "marketingConsent" | "dateOfBirth";
812
- label?: string;
813
- placeholder?: string;
814
- designVersion?: "default" | "version2";
815
- validationTypes?: ("required" | "password" | "email" | {
816
- _type?: "overYears";
817
- overYears?: number;
818
- } | {
819
- length?: number;
820
- _type?: "exact" | "less" | "more";
821
- } | {
822
- _type?: "multi";
823
- multiLength?: number[];
824
- } | "alphaNumeric" | "alphaOnly" | "alphaOnlyNoDots" | "anyPhone" | "auPhone" | "auPostCode" | "auState" | "caPhone" | "caPostCode" | "caProvince" | "correctDate" | "ieCounty" | "iePhone" | "iePostCode" | "luhnValidation" | "noSpecialChar" | "numericOnly" | "usMobileNumber" | "usPhone" | "usPhone10Digits" | "usPostCode" | "usState" | "notWhiteSpacesOnly" | "NAPhone")[];
825
- alwaysVisible?: boolean;
826
- editable?: boolean;
827
- }[];
828
- secondTierAuthorization?: {
829
- time?: number;
830
- pages?: string[];
831
- };
832
- showCheckoutPromoCode?: boolean;
833
- showImgOnOrder?: boolean;
834
- showRewardPromoChangeTimeslotMsg?: boolean;
835
- smsNotifications?: {
836
- enabled?: boolean;
837
- getEnrollmentUrl?: string;
838
- postEnrollmentUrl?: string;
839
- };
840
- specialRequestItems?: boolean;
841
- couponGallery?: {
842
- enabled?: boolean;
843
- galleryIsIframe?: boolean;
844
- galleryHasNavLink?: boolean;
845
- };
846
- gsaSupportedBrowser?: boolean;
847
- acquiaAuthService?: boolean;
848
- }>;