@ecomiq/core 0.1.3 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +19 -5
- package/dist/api.cjs.map +1 -1
- package/dist/api.js +19 -5
- package/dist/api.js.map +1 -1
- package/dist/client-4ZTG2RZ3.d.ts +195 -0
- package/dist/client-BpX4yR6S.d.cts +195 -0
- package/dist/client.cjs +331 -12
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +13 -84
- package/dist/client.d.ts +13 -84
- package/dist/client.js +331 -12
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +484 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +327 -324
- package/dist/index.d.ts +327 -324
- package/dist/index.js +451 -13
- package/dist/index.js.map +1 -1
- package/dist/models/collections.d.cts +4 -4
- package/dist/models/collections.d.ts +4 -4
- package/dist/models/customer-address.cjs +41 -0
- package/dist/models/customer-address.cjs.map +1 -0
- package/dist/models/customer-address.d.cts +160 -0
- package/dist/models/customer-address.d.ts +160 -0
- package/dist/models/customer-address.js +36 -0
- package/dist/models/customer-address.js.map +1 -0
- package/dist/models/customer-order.cjs +161 -0
- package/dist/models/customer-order.cjs.map +1 -0
- package/dist/models/customer-order.d.cts +896 -0
- package/dist/models/customer-order.d.ts +896 -0
- package/dist/models/customer-order.js +149 -0
- package/dist/models/customer-order.js.map +1 -0
- package/dist/models/customer-profile.cjs +126 -0
- package/dist/models/customer-profile.cjs.map +1 -0
- package/dist/models/customer-profile.d.cts +178 -0
- package/dist/models/customer-profile.d.ts +178 -0
- package/dist/models/customer-profile.js +118 -0
- package/dist/models/customer-profile.js.map +1 -0
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/products.d.cts +130 -130
- package/dist/models/products.d.ts +130 -130
- package/dist/models/search.d.cts +4 -4
- package/dist/models/search.d.ts +4 -4
- package/dist/models/settings.cjs +13 -6
- package/dist/models/settings.cjs.map +1 -1
- package/dist/models/settings.d.cts +844 -841
- package/dist/models/settings.d.ts +844 -841
- package/dist/models/settings.js +12 -7
- package/dist/models/settings.js.map +1 -1
- package/dist/models/storefront-cart.d.cts +80 -80
- package/dist/models/storefront-cart.d.ts +80 -80
- package/dist/models/storefront-checkout.d.cts +400 -400
- package/dist/models/storefront-checkout.d.ts +400 -400
- package/dist/models/storefront-reviews.d.cts +8 -8
- package/dist/models/storefront-reviews.d.ts +8 -8
- package/package.json +16 -1
|
@@ -4,6 +4,9 @@ type JsonElement = null | boolean | number | string | JsonElement[] | {
|
|
|
4
4
|
[key: string]: JsonElement;
|
|
5
5
|
};
|
|
6
6
|
declare const JsonElementSchema: z.ZodType<JsonElement>;
|
|
7
|
+
/** UUID o id numérico de la API (p. ej. `"2"`, snowflake `"74400…"`). */
|
|
8
|
+
declare const EntityIdSchema: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
9
|
+
declare const NullableEntityIdSchema: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
7
10
|
declare const StoreTypeSchema: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
8
11
|
declare const StoreVisibilitySchema: z.ZodEnum<["public", "private"]>;
|
|
9
12
|
declare const StoreThemeSettingsSchema: z.ZodObject<{
|
|
@@ -112,13 +115,13 @@ declare const StoreCheckoutOrdersAndPaymentsSettingsSchema: z.ZodObject<{
|
|
|
112
115
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
113
116
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
114
117
|
}, "strict", z.ZodTypeAny, {
|
|
115
|
-
allowPurchasesFrom: "
|
|
118
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
116
119
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
117
120
|
maximumItemsPerOrder: number | null;
|
|
118
121
|
deliveryNoteText: string | null;
|
|
119
122
|
boletoPaymentNoteText: string | null;
|
|
120
123
|
}, {
|
|
121
|
-
allowPurchasesFrom: "
|
|
124
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
122
125
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
123
126
|
maximumItemsPerOrder: number | null;
|
|
124
127
|
deliveryNoteText: string | null;
|
|
@@ -205,19 +208,31 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
205
208
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
206
209
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
207
210
|
}, "strict", z.ZodTypeAny, {
|
|
208
|
-
allowPurchasesFrom: "
|
|
211
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
209
212
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
210
213
|
maximumItemsPerOrder: number | null;
|
|
211
214
|
deliveryNoteText: string | null;
|
|
212
215
|
boletoPaymentNoteText: string | null;
|
|
213
216
|
}, {
|
|
214
|
-
allowPurchasesFrom: "
|
|
217
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
215
218
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
216
219
|
maximumItemsPerOrder: number | null;
|
|
217
220
|
deliveryNoteText: string | null;
|
|
218
221
|
boletoPaymentNoteText: string | null;
|
|
219
222
|
}>;
|
|
220
223
|
}, "strict", z.ZodTypeAny, {
|
|
224
|
+
orderBumps: {
|
|
225
|
+
mergeOrderBumpOrders: boolean;
|
|
226
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
227
|
+
maxVisibleOffers: number;
|
|
228
|
+
};
|
|
229
|
+
shipping: {
|
|
230
|
+
showDeliveryTime: boolean;
|
|
231
|
+
showDeliveryTimeInDays: boolean;
|
|
232
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
233
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
234
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
235
|
+
};
|
|
221
236
|
general: {
|
|
222
237
|
allowGuestCheckout: boolean;
|
|
223
238
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -228,31 +243,31 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
228
243
|
requestCustomerDateOfBirth: boolean;
|
|
229
244
|
automaticallySelectBestPromotion: boolean;
|
|
230
245
|
};
|
|
231
|
-
shipping: {
|
|
232
|
-
showDeliveryTime: boolean;
|
|
233
|
-
showDeliveryTimeInDays: boolean;
|
|
234
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
235
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
236
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
237
|
-
};
|
|
238
246
|
cartPage: {
|
|
239
247
|
showShippingCostCalculation: boolean;
|
|
240
248
|
allowProductLinks: boolean;
|
|
241
249
|
redirectToCartPage: boolean;
|
|
242
250
|
};
|
|
243
|
-
orderBumps: {
|
|
244
|
-
mergeOrderBumpOrders: boolean;
|
|
245
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
246
|
-
maxVisibleOffers: number;
|
|
247
|
-
};
|
|
248
251
|
ordersAndPayments: {
|
|
249
|
-
allowPurchasesFrom: "
|
|
252
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
250
253
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
251
254
|
maximumItemsPerOrder: number | null;
|
|
252
255
|
deliveryNoteText: string | null;
|
|
253
256
|
boletoPaymentNoteText: string | null;
|
|
254
257
|
};
|
|
255
258
|
}, {
|
|
259
|
+
orderBumps: {
|
|
260
|
+
mergeOrderBumpOrders: boolean;
|
|
261
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
262
|
+
maxVisibleOffers: number;
|
|
263
|
+
};
|
|
264
|
+
shipping: {
|
|
265
|
+
showDeliveryTime: boolean;
|
|
266
|
+
showDeliveryTimeInDays: boolean;
|
|
267
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
268
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
269
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
270
|
+
};
|
|
256
271
|
general: {
|
|
257
272
|
allowGuestCheckout: boolean;
|
|
258
273
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -263,25 +278,13 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
263
278
|
requestCustomerDateOfBirth: boolean;
|
|
264
279
|
automaticallySelectBestPromotion: boolean;
|
|
265
280
|
};
|
|
266
|
-
shipping: {
|
|
267
|
-
showDeliveryTime: boolean;
|
|
268
|
-
showDeliveryTimeInDays: boolean;
|
|
269
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
270
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
271
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
272
|
-
};
|
|
273
281
|
cartPage: {
|
|
274
282
|
showShippingCostCalculation: boolean;
|
|
275
283
|
allowProductLinks: boolean;
|
|
276
284
|
redirectToCartPage: boolean;
|
|
277
285
|
};
|
|
278
|
-
orderBumps: {
|
|
279
|
-
mergeOrderBumpOrders: boolean;
|
|
280
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
281
|
-
maxVisibleOffers: number;
|
|
282
|
-
};
|
|
283
286
|
ordersAndPayments: {
|
|
284
|
-
allowPurchasesFrom: "
|
|
287
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
285
288
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
286
289
|
maximumItemsPerOrder: number | null;
|
|
287
290
|
deliveryNoteText: string | null;
|
|
@@ -289,9 +292,9 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
289
292
|
};
|
|
290
293
|
}>;
|
|
291
294
|
declare const StoreModelSchema: z.ZodObject<{
|
|
292
|
-
id: z.ZodString
|
|
293
|
-
tenantId: z.ZodString
|
|
294
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
295
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
296
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
297
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
295
298
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
296
299
|
isActive: z.ZodBoolean;
|
|
297
300
|
name: z.ZodString;
|
|
@@ -412,19 +415,31 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
412
415
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
413
416
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
414
417
|
}, "strict", z.ZodTypeAny, {
|
|
415
|
-
allowPurchasesFrom: "
|
|
418
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
416
419
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
417
420
|
maximumItemsPerOrder: number | null;
|
|
418
421
|
deliveryNoteText: string | null;
|
|
419
422
|
boletoPaymentNoteText: string | null;
|
|
420
423
|
}, {
|
|
421
|
-
allowPurchasesFrom: "
|
|
424
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
422
425
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
423
426
|
maximumItemsPerOrder: number | null;
|
|
424
427
|
deliveryNoteText: string | null;
|
|
425
428
|
boletoPaymentNoteText: string | null;
|
|
426
429
|
}>;
|
|
427
430
|
}, "strict", z.ZodTypeAny, {
|
|
431
|
+
orderBumps: {
|
|
432
|
+
mergeOrderBumpOrders: boolean;
|
|
433
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
434
|
+
maxVisibleOffers: number;
|
|
435
|
+
};
|
|
436
|
+
shipping: {
|
|
437
|
+
showDeliveryTime: boolean;
|
|
438
|
+
showDeliveryTimeInDays: boolean;
|
|
439
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
440
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
441
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
442
|
+
};
|
|
428
443
|
general: {
|
|
429
444
|
allowGuestCheckout: boolean;
|
|
430
445
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -435,31 +450,31 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
435
450
|
requestCustomerDateOfBirth: boolean;
|
|
436
451
|
automaticallySelectBestPromotion: boolean;
|
|
437
452
|
};
|
|
438
|
-
shipping: {
|
|
439
|
-
showDeliveryTime: boolean;
|
|
440
|
-
showDeliveryTimeInDays: boolean;
|
|
441
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
442
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
443
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
444
|
-
};
|
|
445
453
|
cartPage: {
|
|
446
454
|
showShippingCostCalculation: boolean;
|
|
447
455
|
allowProductLinks: boolean;
|
|
448
456
|
redirectToCartPage: boolean;
|
|
449
457
|
};
|
|
450
|
-
orderBumps: {
|
|
451
|
-
mergeOrderBumpOrders: boolean;
|
|
452
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
453
|
-
maxVisibleOffers: number;
|
|
454
|
-
};
|
|
455
458
|
ordersAndPayments: {
|
|
456
|
-
allowPurchasesFrom: "
|
|
459
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
457
460
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
458
461
|
maximumItemsPerOrder: number | null;
|
|
459
462
|
deliveryNoteText: string | null;
|
|
460
463
|
boletoPaymentNoteText: string | null;
|
|
461
464
|
};
|
|
462
465
|
}, {
|
|
466
|
+
orderBumps: {
|
|
467
|
+
mergeOrderBumpOrders: boolean;
|
|
468
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
469
|
+
maxVisibleOffers: number;
|
|
470
|
+
};
|
|
471
|
+
shipping: {
|
|
472
|
+
showDeliveryTime: boolean;
|
|
473
|
+
showDeliveryTimeInDays: boolean;
|
|
474
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
475
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
476
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
477
|
+
};
|
|
463
478
|
general: {
|
|
464
479
|
allowGuestCheckout: boolean;
|
|
465
480
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -470,25 +485,13 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
470
485
|
requestCustomerDateOfBirth: boolean;
|
|
471
486
|
automaticallySelectBestPromotion: boolean;
|
|
472
487
|
};
|
|
473
|
-
shipping: {
|
|
474
|
-
showDeliveryTime: boolean;
|
|
475
|
-
showDeliveryTimeInDays: boolean;
|
|
476
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
477
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
478
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
479
|
-
};
|
|
480
488
|
cartPage: {
|
|
481
489
|
showShippingCostCalculation: boolean;
|
|
482
490
|
allowProductLinks: boolean;
|
|
483
491
|
redirectToCartPage: boolean;
|
|
484
492
|
};
|
|
485
|
-
orderBumps: {
|
|
486
|
-
mergeOrderBumpOrders: boolean;
|
|
487
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
488
|
-
maxVisibleOffers: number;
|
|
489
|
-
};
|
|
490
493
|
ordersAndPayments: {
|
|
491
|
-
allowPurchasesFrom: "
|
|
494
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
492
495
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
493
496
|
maximumItemsPerOrder: number | null;
|
|
494
497
|
deliveryNoteText: string | null;
|
|
@@ -497,19 +500,19 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
497
500
|
}>;
|
|
498
501
|
}, "strict", z.ZodTypeAny, {
|
|
499
502
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
500
|
-
name: string;
|
|
501
503
|
id: string;
|
|
502
|
-
|
|
504
|
+
slug: string | null;
|
|
505
|
+
name: string;
|
|
506
|
+
description: string;
|
|
503
507
|
sellerId: string | null;
|
|
504
508
|
isActive: boolean;
|
|
505
|
-
|
|
509
|
+
currency: string;
|
|
510
|
+
tenantId: string;
|
|
506
511
|
logo: string | null;
|
|
507
512
|
icon: string | null;
|
|
508
|
-
slug: string | null;
|
|
509
513
|
domain: string | null;
|
|
510
514
|
domains: string[];
|
|
511
515
|
timeZone: string;
|
|
512
|
-
currency: string;
|
|
513
516
|
language: string;
|
|
514
517
|
visibility: "public" | "private";
|
|
515
518
|
themeConfig: {
|
|
@@ -523,6 +526,18 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
523
526
|
flags: Record<string, boolean>;
|
|
524
527
|
};
|
|
525
528
|
checkoutSettings: {
|
|
529
|
+
orderBumps: {
|
|
530
|
+
mergeOrderBumpOrders: boolean;
|
|
531
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
532
|
+
maxVisibleOffers: number;
|
|
533
|
+
};
|
|
534
|
+
shipping: {
|
|
535
|
+
showDeliveryTime: boolean;
|
|
536
|
+
showDeliveryTimeInDays: boolean;
|
|
537
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
538
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
539
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
540
|
+
};
|
|
526
541
|
general: {
|
|
527
542
|
allowGuestCheckout: boolean;
|
|
528
543
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -533,25 +548,13 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
533
548
|
requestCustomerDateOfBirth: boolean;
|
|
534
549
|
automaticallySelectBestPromotion: boolean;
|
|
535
550
|
};
|
|
536
|
-
shipping: {
|
|
537
|
-
showDeliveryTime: boolean;
|
|
538
|
-
showDeliveryTimeInDays: boolean;
|
|
539
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
540
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
541
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
542
|
-
};
|
|
543
551
|
cartPage: {
|
|
544
552
|
showShippingCostCalculation: boolean;
|
|
545
553
|
allowProductLinks: boolean;
|
|
546
554
|
redirectToCartPage: boolean;
|
|
547
555
|
};
|
|
548
|
-
orderBumps: {
|
|
549
|
-
mergeOrderBumpOrders: boolean;
|
|
550
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
551
|
-
maxVisibleOffers: number;
|
|
552
|
-
};
|
|
553
556
|
ordersAndPayments: {
|
|
554
|
-
allowPurchasesFrom: "
|
|
557
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
555
558
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
556
559
|
maximumItemsPerOrder: number | null;
|
|
557
560
|
deliveryNoteText: string | null;
|
|
@@ -560,19 +563,19 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
560
563
|
};
|
|
561
564
|
}, {
|
|
562
565
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
563
|
-
name: string;
|
|
564
566
|
id: string;
|
|
565
|
-
|
|
567
|
+
slug: string | null;
|
|
568
|
+
name: string;
|
|
569
|
+
description: string;
|
|
566
570
|
sellerId: string | null;
|
|
567
571
|
isActive: boolean;
|
|
568
|
-
|
|
572
|
+
currency: string;
|
|
573
|
+
tenantId: string;
|
|
569
574
|
logo: string | null;
|
|
570
575
|
icon: string | null;
|
|
571
|
-
slug: string | null;
|
|
572
576
|
domain: string | null;
|
|
573
577
|
domains: string[];
|
|
574
578
|
timeZone: string;
|
|
575
|
-
currency: string;
|
|
576
579
|
language: string;
|
|
577
580
|
visibility: "public" | "private";
|
|
578
581
|
themeConfig: {
|
|
@@ -586,6 +589,18 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
586
589
|
flags: Record<string, boolean>;
|
|
587
590
|
};
|
|
588
591
|
checkoutSettings: {
|
|
592
|
+
orderBumps: {
|
|
593
|
+
mergeOrderBumpOrders: boolean;
|
|
594
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
595
|
+
maxVisibleOffers: number;
|
|
596
|
+
};
|
|
597
|
+
shipping: {
|
|
598
|
+
showDeliveryTime: boolean;
|
|
599
|
+
showDeliveryTimeInDays: boolean;
|
|
600
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
601
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
602
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
603
|
+
};
|
|
589
604
|
general: {
|
|
590
605
|
allowGuestCheckout: boolean;
|
|
591
606
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -596,25 +611,13 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
596
611
|
requestCustomerDateOfBirth: boolean;
|
|
597
612
|
automaticallySelectBestPromotion: boolean;
|
|
598
613
|
};
|
|
599
|
-
shipping: {
|
|
600
|
-
showDeliveryTime: boolean;
|
|
601
|
-
showDeliveryTimeInDays: boolean;
|
|
602
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
603
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
604
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
605
|
-
};
|
|
606
614
|
cartPage: {
|
|
607
615
|
showShippingCostCalculation: boolean;
|
|
608
616
|
allowProductLinks: boolean;
|
|
609
617
|
redirectToCartPage: boolean;
|
|
610
618
|
};
|
|
611
|
-
orderBumps: {
|
|
612
|
-
mergeOrderBumpOrders: boolean;
|
|
613
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
614
|
-
maxVisibleOffers: number;
|
|
615
|
-
};
|
|
616
619
|
ordersAndPayments: {
|
|
617
|
-
allowPurchasesFrom: "
|
|
620
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
618
621
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
619
622
|
maximumItemsPerOrder: number | null;
|
|
620
623
|
deliveryNoteText: string | null;
|
|
@@ -702,8 +705,8 @@ declare const CmsContactSettingsDtoSchema: z.ZodObject<{
|
|
|
702
705
|
x: string | null;
|
|
703
706
|
}>;
|
|
704
707
|
}, "strict", z.ZodTypeAny, {
|
|
705
|
-
supportEmail: string | null;
|
|
706
708
|
phone: string | null;
|
|
709
|
+
supportEmail: string | null;
|
|
707
710
|
whatsapp: string | null;
|
|
708
711
|
address: string | null;
|
|
709
712
|
socialLinks: {
|
|
@@ -714,8 +717,8 @@ declare const CmsContactSettingsDtoSchema: z.ZodObject<{
|
|
|
714
717
|
x: string | null;
|
|
715
718
|
};
|
|
716
719
|
}, {
|
|
717
|
-
supportEmail: string | null;
|
|
718
720
|
phone: string | null;
|
|
721
|
+
supportEmail: string | null;
|
|
719
722
|
whatsapp: string | null;
|
|
720
723
|
address: string | null;
|
|
721
724
|
socialLinks: {
|
|
@@ -814,8 +817,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
814
817
|
x: string | null;
|
|
815
818
|
}>;
|
|
816
819
|
}, "strict", z.ZodTypeAny, {
|
|
817
|
-
supportEmail: string | null;
|
|
818
820
|
phone: string | null;
|
|
821
|
+
supportEmail: string | null;
|
|
819
822
|
whatsapp: string | null;
|
|
820
823
|
address: string | null;
|
|
821
824
|
socialLinks: {
|
|
@@ -826,8 +829,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
826
829
|
x: string | null;
|
|
827
830
|
};
|
|
828
831
|
}, {
|
|
829
|
-
supportEmail: string | null;
|
|
830
832
|
phone: string | null;
|
|
833
|
+
supportEmail: string | null;
|
|
831
834
|
whatsapp: string | null;
|
|
832
835
|
address: string | null;
|
|
833
836
|
socialLinks: {
|
|
@@ -866,6 +869,7 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
866
869
|
}>;
|
|
867
870
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
868
871
|
}, "strict", z.ZodTypeAny, {
|
|
872
|
+
updatedOn: string | null;
|
|
869
873
|
themeKey: string;
|
|
870
874
|
branding: {
|
|
871
875
|
logoUrl: string | null;
|
|
@@ -881,8 +885,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
881
885
|
robotsIndex: boolean;
|
|
882
886
|
};
|
|
883
887
|
contact: {
|
|
884
|
-
supportEmail: string | null;
|
|
885
888
|
phone: string | null;
|
|
889
|
+
supportEmail: string | null;
|
|
886
890
|
whatsapp: string | null;
|
|
887
891
|
address: string | null;
|
|
888
892
|
socialLinks: {
|
|
@@ -903,8 +907,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
903
907
|
head: string | null;
|
|
904
908
|
bodyEnd: string | null;
|
|
905
909
|
};
|
|
906
|
-
updatedOn: string | null;
|
|
907
910
|
}, {
|
|
911
|
+
updatedOn: string | null;
|
|
908
912
|
themeKey: string;
|
|
909
913
|
branding: {
|
|
910
914
|
logoUrl: string | null;
|
|
@@ -920,8 +924,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
920
924
|
robotsIndex: boolean;
|
|
921
925
|
};
|
|
922
926
|
contact: {
|
|
923
|
-
supportEmail: string | null;
|
|
924
927
|
phone: string | null;
|
|
928
|
+
supportEmail: string | null;
|
|
925
929
|
whatsapp: string | null;
|
|
926
930
|
address: string | null;
|
|
927
931
|
socialLinks: {
|
|
@@ -942,7 +946,6 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
942
946
|
head: string | null;
|
|
943
947
|
bodyEnd: string | null;
|
|
944
948
|
};
|
|
945
|
-
updatedOn: string | null;
|
|
946
949
|
}>;
|
|
947
950
|
type CmsMenuItem = {
|
|
948
951
|
label: string;
|
|
@@ -958,17 +961,17 @@ declare const CmsMenuDtoSchema: z.ZodObject<{
|
|
|
958
961
|
name: z.ZodString;
|
|
959
962
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
960
963
|
}, "strict", z.ZodTypeAny, {
|
|
961
|
-
name: string;
|
|
962
964
|
key: string;
|
|
965
|
+
name: string;
|
|
963
966
|
items: CmsMenuItem[];
|
|
964
967
|
}, {
|
|
965
|
-
name: string;
|
|
966
968
|
key: string;
|
|
969
|
+
name: string;
|
|
967
970
|
items: CmsMenuItem[];
|
|
968
971
|
}>;
|
|
969
972
|
type CmsMenuDto = z.infer<typeof CmsMenuDtoSchema>;
|
|
970
973
|
declare const CmsBlockDtoSchema: z.ZodObject<{
|
|
971
|
-
id: z.ZodString
|
|
974
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
972
975
|
type: z.ZodString;
|
|
973
976
|
order: z.ZodNumber;
|
|
974
977
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -985,12 +988,12 @@ declare const CmsBlockDtoSchema: z.ZodObject<{
|
|
|
985
988
|
}>;
|
|
986
989
|
type CmsBlockDto = z.infer<typeof CmsBlockDtoSchema>;
|
|
987
990
|
declare const CmsSectionDtoSchema: z.ZodObject<{
|
|
988
|
-
id: z.ZodString
|
|
991
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
989
992
|
type: z.ZodString;
|
|
990
993
|
order: z.ZodNumber;
|
|
991
994
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
992
995
|
blocks: z.ZodArray<z.ZodObject<{
|
|
993
|
-
id: z.ZodString
|
|
996
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
994
997
|
type: z.ZodString;
|
|
995
998
|
order: z.ZodNumber;
|
|
996
999
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1032,7 +1035,7 @@ type CmsSectionDto = z.infer<typeof CmsSectionDtoSchema>;
|
|
|
1032
1035
|
declare const CmsContentChannelSchema: z.ZodEnum<["storefront", "pos"]>;
|
|
1033
1036
|
declare const CmsPageStatusSchema: z.ZodEnum<["draft", "published", "archived"]>;
|
|
1034
1037
|
declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
1035
|
-
id: z.ZodString
|
|
1038
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1036
1039
|
name: z.ZodString;
|
|
1037
1040
|
slug: z.ZodString;
|
|
1038
1041
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -1040,12 +1043,12 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1040
1043
|
version: z.ZodNullable<z.ZodNumber>;
|
|
1041
1044
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1042
1045
|
sections: z.ZodArray<z.ZodObject<{
|
|
1043
|
-
id: z.ZodString
|
|
1046
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1044
1047
|
type: z.ZodString;
|
|
1045
1048
|
order: z.ZodNumber;
|
|
1046
1049
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1047
1050
|
blocks: z.ZodArray<z.ZodObject<{
|
|
1048
|
-
id: z.ZodString
|
|
1051
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1049
1052
|
type: z.ZodString;
|
|
1050
1053
|
order: z.ZodNumber;
|
|
1051
1054
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1093,15 +1096,16 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1093
1096
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
1094
1097
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
1095
1098
|
}, "strict", z.ZodTypeAny, {
|
|
1099
|
+
version: number | null;
|
|
1096
1100
|
status: "draft" | "published" | "archived";
|
|
1097
|
-
name: string;
|
|
1098
1101
|
id: string;
|
|
1099
1102
|
slug: string;
|
|
1103
|
+
name: string;
|
|
1104
|
+
createdOn: string;
|
|
1100
1105
|
updatedOn: string | null;
|
|
1101
1106
|
settings: JsonElement;
|
|
1102
1107
|
channel: "storefront" | "pos";
|
|
1103
1108
|
layout: string;
|
|
1104
|
-
version: number | null;
|
|
1105
1109
|
sections: {
|
|
1106
1110
|
type: string;
|
|
1107
1111
|
id: string;
|
|
@@ -1117,20 +1121,20 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1117
1121
|
hasPublishedVersion: boolean;
|
|
1118
1122
|
publishedOn: string | null;
|
|
1119
1123
|
publishedBy: string | null;
|
|
1120
|
-
createdOn: string;
|
|
1121
1124
|
createdBy: string | null;
|
|
1122
1125
|
updatedBy: string | null;
|
|
1123
1126
|
lastModifiedBy: string | null;
|
|
1124
1127
|
}, {
|
|
1128
|
+
version: number | null;
|
|
1125
1129
|
status: "draft" | "published" | "archived";
|
|
1126
|
-
name: string;
|
|
1127
1130
|
id: string;
|
|
1128
1131
|
slug: string;
|
|
1132
|
+
name: string;
|
|
1133
|
+
createdOn: string;
|
|
1129
1134
|
updatedOn: string | null;
|
|
1130
1135
|
settings: JsonElement;
|
|
1131
1136
|
channel: "storefront" | "pos";
|
|
1132
1137
|
layout: string;
|
|
1133
|
-
version: number | null;
|
|
1134
1138
|
sections: {
|
|
1135
1139
|
type: string;
|
|
1136
1140
|
id: string;
|
|
@@ -1146,7 +1150,6 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1146
1150
|
hasPublishedVersion: boolean;
|
|
1147
1151
|
publishedOn: string | null;
|
|
1148
1152
|
publishedBy: string | null;
|
|
1149
|
-
createdOn: string;
|
|
1150
1153
|
createdBy: string | null;
|
|
1151
1154
|
updatedBy: string | null;
|
|
1152
1155
|
lastModifiedBy: string | null;
|
|
@@ -1215,8 +1218,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1215
1218
|
x: string | null;
|
|
1216
1219
|
}>;
|
|
1217
1220
|
}, "strict", z.ZodTypeAny, {
|
|
1218
|
-
supportEmail: string | null;
|
|
1219
1221
|
phone: string | null;
|
|
1222
|
+
supportEmail: string | null;
|
|
1220
1223
|
whatsapp: string | null;
|
|
1221
1224
|
address: string | null;
|
|
1222
1225
|
socialLinks: {
|
|
@@ -1227,8 +1230,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1227
1230
|
x: string | null;
|
|
1228
1231
|
};
|
|
1229
1232
|
}, {
|
|
1230
|
-
supportEmail: string | null;
|
|
1231
1233
|
phone: string | null;
|
|
1234
|
+
supportEmail: string | null;
|
|
1232
1235
|
whatsapp: string | null;
|
|
1233
1236
|
address: string | null;
|
|
1234
1237
|
socialLinks: {
|
|
@@ -1267,6 +1270,7 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1267
1270
|
}>;
|
|
1268
1271
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
1269
1272
|
}, "strict", z.ZodTypeAny, {
|
|
1273
|
+
updatedOn: string | null;
|
|
1270
1274
|
themeKey: string;
|
|
1271
1275
|
branding: {
|
|
1272
1276
|
logoUrl: string | null;
|
|
@@ -1282,8 +1286,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1282
1286
|
robotsIndex: boolean;
|
|
1283
1287
|
};
|
|
1284
1288
|
contact: {
|
|
1285
|
-
supportEmail: string | null;
|
|
1286
1289
|
phone: string | null;
|
|
1290
|
+
supportEmail: string | null;
|
|
1287
1291
|
whatsapp: string | null;
|
|
1288
1292
|
address: string | null;
|
|
1289
1293
|
socialLinks: {
|
|
@@ -1304,8 +1308,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1304
1308
|
head: string | null;
|
|
1305
1309
|
bodyEnd: string | null;
|
|
1306
1310
|
};
|
|
1307
|
-
updatedOn: string | null;
|
|
1308
1311
|
}, {
|
|
1312
|
+
updatedOn: string | null;
|
|
1309
1313
|
themeKey: string;
|
|
1310
1314
|
branding: {
|
|
1311
1315
|
logoUrl: string | null;
|
|
@@ -1321,8 +1325,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1321
1325
|
robotsIndex: boolean;
|
|
1322
1326
|
};
|
|
1323
1327
|
contact: {
|
|
1324
|
-
supportEmail: string | null;
|
|
1325
1328
|
phone: string | null;
|
|
1329
|
+
supportEmail: string | null;
|
|
1326
1330
|
whatsapp: string | null;
|
|
1327
1331
|
address: string | null;
|
|
1328
1332
|
socialLinks: {
|
|
@@ -1343,10 +1347,9 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1343
1347
|
head: string | null;
|
|
1344
1348
|
bodyEnd: string | null;
|
|
1345
1349
|
};
|
|
1346
|
-
updatedOn: string | null;
|
|
1347
1350
|
}>;
|
|
1348
1351
|
pages: z.ZodArray<z.ZodObject<{
|
|
1349
|
-
id: z.ZodString
|
|
1352
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1350
1353
|
name: z.ZodString;
|
|
1351
1354
|
slug: z.ZodString;
|
|
1352
1355
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -1354,12 +1357,12 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1354
1357
|
version: z.ZodNullable<z.ZodNumber>;
|
|
1355
1358
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1356
1359
|
sections: z.ZodArray<z.ZodObject<{
|
|
1357
|
-
id: z.ZodString
|
|
1360
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1358
1361
|
type: z.ZodString;
|
|
1359
1362
|
order: z.ZodNumber;
|
|
1360
1363
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1361
1364
|
blocks: z.ZodArray<z.ZodObject<{
|
|
1362
|
-
id: z.ZodString
|
|
1365
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1363
1366
|
type: z.ZodString;
|
|
1364
1367
|
order: z.ZodNumber;
|
|
1365
1368
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1407,15 +1410,16 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1407
1410
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
1408
1411
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
1409
1412
|
}, "strict", z.ZodTypeAny, {
|
|
1413
|
+
version: number | null;
|
|
1410
1414
|
status: "draft" | "published" | "archived";
|
|
1411
|
-
name: string;
|
|
1412
1415
|
id: string;
|
|
1413
1416
|
slug: string;
|
|
1417
|
+
name: string;
|
|
1418
|
+
createdOn: string;
|
|
1414
1419
|
updatedOn: string | null;
|
|
1415
1420
|
settings: JsonElement;
|
|
1416
1421
|
channel: "storefront" | "pos";
|
|
1417
1422
|
layout: string;
|
|
1418
|
-
version: number | null;
|
|
1419
1423
|
sections: {
|
|
1420
1424
|
type: string;
|
|
1421
1425
|
id: string;
|
|
@@ -1431,20 +1435,20 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1431
1435
|
hasPublishedVersion: boolean;
|
|
1432
1436
|
publishedOn: string | null;
|
|
1433
1437
|
publishedBy: string | null;
|
|
1434
|
-
createdOn: string;
|
|
1435
1438
|
createdBy: string | null;
|
|
1436
1439
|
updatedBy: string | null;
|
|
1437
1440
|
lastModifiedBy: string | null;
|
|
1438
1441
|
}, {
|
|
1442
|
+
version: number | null;
|
|
1439
1443
|
status: "draft" | "published" | "archived";
|
|
1440
|
-
name: string;
|
|
1441
1444
|
id: string;
|
|
1442
1445
|
slug: string;
|
|
1446
|
+
name: string;
|
|
1447
|
+
createdOn: string;
|
|
1443
1448
|
updatedOn: string | null;
|
|
1444
1449
|
settings: JsonElement;
|
|
1445
1450
|
channel: "storefront" | "pos";
|
|
1446
1451
|
layout: string;
|
|
1447
|
-
version: number | null;
|
|
1448
1452
|
sections: {
|
|
1449
1453
|
type: string;
|
|
1450
1454
|
id: string;
|
|
@@ -1460,7 +1464,6 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1460
1464
|
hasPublishedVersion: boolean;
|
|
1461
1465
|
publishedOn: string | null;
|
|
1462
1466
|
publishedBy: string | null;
|
|
1463
|
-
createdOn: string;
|
|
1464
1467
|
createdBy: string | null;
|
|
1465
1468
|
updatedBy: string | null;
|
|
1466
1469
|
lastModifiedBy: string | null;
|
|
@@ -1470,16 +1473,17 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1470
1473
|
name: z.ZodString;
|
|
1471
1474
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
1472
1475
|
}, "strict", z.ZodTypeAny, {
|
|
1473
|
-
name: string;
|
|
1474
1476
|
key: string;
|
|
1477
|
+
name: string;
|
|
1475
1478
|
items: CmsMenuItem[];
|
|
1476
1479
|
}, {
|
|
1477
|
-
name: string;
|
|
1478
1480
|
key: string;
|
|
1481
|
+
name: string;
|
|
1479
1482
|
items: CmsMenuItem[];
|
|
1480
1483
|
}>, "many">;
|
|
1481
1484
|
}, "strict", z.ZodTypeAny, {
|
|
1482
1485
|
settings: {
|
|
1486
|
+
updatedOn: string | null;
|
|
1483
1487
|
themeKey: string;
|
|
1484
1488
|
branding: {
|
|
1485
1489
|
logoUrl: string | null;
|
|
@@ -1495,8 +1499,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1495
1499
|
robotsIndex: boolean;
|
|
1496
1500
|
};
|
|
1497
1501
|
contact: {
|
|
1498
|
-
supportEmail: string | null;
|
|
1499
1502
|
phone: string | null;
|
|
1503
|
+
supportEmail: string | null;
|
|
1500
1504
|
whatsapp: string | null;
|
|
1501
1505
|
address: string | null;
|
|
1502
1506
|
socialLinks: {
|
|
@@ -1517,18 +1521,18 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1517
1521
|
head: string | null;
|
|
1518
1522
|
bodyEnd: string | null;
|
|
1519
1523
|
};
|
|
1520
|
-
updatedOn: string | null;
|
|
1521
1524
|
};
|
|
1522
1525
|
pages: {
|
|
1526
|
+
version: number | null;
|
|
1523
1527
|
status: "draft" | "published" | "archived";
|
|
1524
|
-
name: string;
|
|
1525
1528
|
id: string;
|
|
1526
1529
|
slug: string;
|
|
1530
|
+
name: string;
|
|
1531
|
+
createdOn: string;
|
|
1527
1532
|
updatedOn: string | null;
|
|
1528
1533
|
settings: JsonElement;
|
|
1529
1534
|
channel: "storefront" | "pos";
|
|
1530
1535
|
layout: string;
|
|
1531
|
-
version: number | null;
|
|
1532
1536
|
sections: {
|
|
1533
1537
|
type: string;
|
|
1534
1538
|
id: string;
|
|
@@ -1544,18 +1548,18 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1544
1548
|
hasPublishedVersion: boolean;
|
|
1545
1549
|
publishedOn: string | null;
|
|
1546
1550
|
publishedBy: string | null;
|
|
1547
|
-
createdOn: string;
|
|
1548
1551
|
createdBy: string | null;
|
|
1549
1552
|
updatedBy: string | null;
|
|
1550
1553
|
lastModifiedBy: string | null;
|
|
1551
1554
|
}[];
|
|
1552
1555
|
menus: {
|
|
1553
|
-
name: string;
|
|
1554
1556
|
key: string;
|
|
1557
|
+
name: string;
|
|
1555
1558
|
items: CmsMenuItem[];
|
|
1556
1559
|
}[];
|
|
1557
1560
|
}, {
|
|
1558
1561
|
settings: {
|
|
1562
|
+
updatedOn: string | null;
|
|
1559
1563
|
themeKey: string;
|
|
1560
1564
|
branding: {
|
|
1561
1565
|
logoUrl: string | null;
|
|
@@ -1571,8 +1575,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1571
1575
|
robotsIndex: boolean;
|
|
1572
1576
|
};
|
|
1573
1577
|
contact: {
|
|
1574
|
-
supportEmail: string | null;
|
|
1575
1578
|
phone: string | null;
|
|
1579
|
+
supportEmail: string | null;
|
|
1576
1580
|
whatsapp: string | null;
|
|
1577
1581
|
address: string | null;
|
|
1578
1582
|
socialLinks: {
|
|
@@ -1593,18 +1597,18 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1593
1597
|
head: string | null;
|
|
1594
1598
|
bodyEnd: string | null;
|
|
1595
1599
|
};
|
|
1596
|
-
updatedOn: string | null;
|
|
1597
1600
|
};
|
|
1598
1601
|
pages: {
|
|
1602
|
+
version: number | null;
|
|
1599
1603
|
status: "draft" | "published" | "archived";
|
|
1600
|
-
name: string;
|
|
1601
1604
|
id: string;
|
|
1602
1605
|
slug: string;
|
|
1606
|
+
name: string;
|
|
1607
|
+
createdOn: string;
|
|
1603
1608
|
updatedOn: string | null;
|
|
1604
1609
|
settings: JsonElement;
|
|
1605
1610
|
channel: "storefront" | "pos";
|
|
1606
1611
|
layout: string;
|
|
1607
|
-
version: number | null;
|
|
1608
1612
|
sections: {
|
|
1609
1613
|
type: string;
|
|
1610
1614
|
id: string;
|
|
@@ -1620,14 +1624,13 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1620
1624
|
hasPublishedVersion: boolean;
|
|
1621
1625
|
publishedOn: string | null;
|
|
1622
1626
|
publishedBy: string | null;
|
|
1623
|
-
createdOn: string;
|
|
1624
1627
|
createdBy: string | null;
|
|
1625
1628
|
updatedBy: string | null;
|
|
1626
1629
|
lastModifiedBy: string | null;
|
|
1627
1630
|
}[];
|
|
1628
1631
|
menus: {
|
|
1629
|
-
name: string;
|
|
1630
1632
|
key: string;
|
|
1633
|
+
name: string;
|
|
1631
1634
|
items: CmsMenuItem[];
|
|
1632
1635
|
}[];
|
|
1633
1636
|
}>;
|
|
@@ -1636,9 +1639,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1636
1639
|
schemaVersion: z.ZodLiteral<1>;
|
|
1637
1640
|
generatedAt: z.ZodString;
|
|
1638
1641
|
store: z.ZodObject<{
|
|
1639
|
-
id: z.ZodString
|
|
1640
|
-
tenantId: z.ZodString
|
|
1641
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
1642
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1643
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1644
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
1642
1645
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
1643
1646
|
isActive: z.ZodBoolean;
|
|
1644
1647
|
name: z.ZodString;
|
|
@@ -1759,28 +1762,23 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1759
1762
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
1760
1763
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
1761
1764
|
}, "strict", z.ZodTypeAny, {
|
|
1762
|
-
allowPurchasesFrom: "
|
|
1765
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1763
1766
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1764
1767
|
maximumItemsPerOrder: number | null;
|
|
1765
1768
|
deliveryNoteText: string | null;
|
|
1766
1769
|
boletoPaymentNoteText: string | null;
|
|
1767
1770
|
}, {
|
|
1768
|
-
allowPurchasesFrom: "
|
|
1771
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1769
1772
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1770
1773
|
maximumItemsPerOrder: number | null;
|
|
1771
1774
|
deliveryNoteText: string | null;
|
|
1772
1775
|
boletoPaymentNoteText: string | null;
|
|
1773
1776
|
}>;
|
|
1774
1777
|
}, "strict", z.ZodTypeAny, {
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
useSequentialOrderNumbers: boolean;
|
|
1780
|
-
automaticallySelectFirstAddress: boolean;
|
|
1781
|
-
alwaysRequestCustomerAddress: boolean;
|
|
1782
|
-
requestCustomerDateOfBirth: boolean;
|
|
1783
|
-
automaticallySelectBestPromotion: boolean;
|
|
1778
|
+
orderBumps: {
|
|
1779
|
+
mergeOrderBumpOrders: boolean;
|
|
1780
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
1781
|
+
maxVisibleOffers: number;
|
|
1784
1782
|
};
|
|
1785
1783
|
shipping: {
|
|
1786
1784
|
showDeliveryTime: boolean;
|
|
@@ -1789,24 +1787,41 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1789
1787
|
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1790
1788
|
showOriginalShippingPriceWhenFree: boolean;
|
|
1791
1789
|
};
|
|
1790
|
+
general: {
|
|
1791
|
+
allowGuestCheckout: boolean;
|
|
1792
|
+
identityScope: "store" | "tenant" | "global";
|
|
1793
|
+
signInMethods: ("password" | "emailOtp" | "google")[];
|
|
1794
|
+
useSequentialOrderNumbers: boolean;
|
|
1795
|
+
automaticallySelectFirstAddress: boolean;
|
|
1796
|
+
alwaysRequestCustomerAddress: boolean;
|
|
1797
|
+
requestCustomerDateOfBirth: boolean;
|
|
1798
|
+
automaticallySelectBestPromotion: boolean;
|
|
1799
|
+
};
|
|
1792
1800
|
cartPage: {
|
|
1793
1801
|
showShippingCostCalculation: boolean;
|
|
1794
1802
|
allowProductLinks: boolean;
|
|
1795
1803
|
redirectToCartPage: boolean;
|
|
1796
1804
|
};
|
|
1797
|
-
orderBumps: {
|
|
1798
|
-
mergeOrderBumpOrders: boolean;
|
|
1799
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
1800
|
-
maxVisibleOffers: number;
|
|
1801
|
-
};
|
|
1802
1805
|
ordersAndPayments: {
|
|
1803
|
-
allowPurchasesFrom: "
|
|
1806
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1804
1807
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1805
1808
|
maximumItemsPerOrder: number | null;
|
|
1806
1809
|
deliveryNoteText: string | null;
|
|
1807
1810
|
boletoPaymentNoteText: string | null;
|
|
1808
1811
|
};
|
|
1809
1812
|
}, {
|
|
1813
|
+
orderBumps: {
|
|
1814
|
+
mergeOrderBumpOrders: boolean;
|
|
1815
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
1816
|
+
maxVisibleOffers: number;
|
|
1817
|
+
};
|
|
1818
|
+
shipping: {
|
|
1819
|
+
showDeliveryTime: boolean;
|
|
1820
|
+
showDeliveryTimeInDays: boolean;
|
|
1821
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
1822
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1823
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
1824
|
+
};
|
|
1810
1825
|
general: {
|
|
1811
1826
|
allowGuestCheckout: boolean;
|
|
1812
1827
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1817,25 +1832,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1817
1832
|
requestCustomerDateOfBirth: boolean;
|
|
1818
1833
|
automaticallySelectBestPromotion: boolean;
|
|
1819
1834
|
};
|
|
1820
|
-
shipping: {
|
|
1821
|
-
showDeliveryTime: boolean;
|
|
1822
|
-
showDeliveryTimeInDays: boolean;
|
|
1823
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
1824
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1825
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
1826
|
-
};
|
|
1827
1835
|
cartPage: {
|
|
1828
1836
|
showShippingCostCalculation: boolean;
|
|
1829
1837
|
allowProductLinks: boolean;
|
|
1830
1838
|
redirectToCartPage: boolean;
|
|
1831
1839
|
};
|
|
1832
|
-
orderBumps: {
|
|
1833
|
-
mergeOrderBumpOrders: boolean;
|
|
1834
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
1835
|
-
maxVisibleOffers: number;
|
|
1836
|
-
};
|
|
1837
1840
|
ordersAndPayments: {
|
|
1838
|
-
allowPurchasesFrom: "
|
|
1841
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1839
1842
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1840
1843
|
maximumItemsPerOrder: number | null;
|
|
1841
1844
|
deliveryNoteText: string | null;
|
|
@@ -1844,19 +1847,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1844
1847
|
}>;
|
|
1845
1848
|
}, "strip", z.ZodTypeAny, {
|
|
1846
1849
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
1847
|
-
name: string;
|
|
1848
1850
|
id: string;
|
|
1849
|
-
|
|
1851
|
+
slug: string | null;
|
|
1852
|
+
name: string;
|
|
1853
|
+
description: string;
|
|
1850
1854
|
sellerId: string | null;
|
|
1851
1855
|
isActive: boolean;
|
|
1852
|
-
|
|
1856
|
+
currency: string;
|
|
1857
|
+
tenantId: string;
|
|
1853
1858
|
logo: string | null;
|
|
1854
1859
|
icon: string | null;
|
|
1855
|
-
slug: string | null;
|
|
1856
1860
|
domain: string | null;
|
|
1857
1861
|
domains: string[];
|
|
1858
1862
|
timeZone: string;
|
|
1859
|
-
currency: string;
|
|
1860
1863
|
language: string;
|
|
1861
1864
|
visibility: "public" | "private";
|
|
1862
1865
|
themeConfig: {
|
|
@@ -1870,6 +1873,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1870
1873
|
flags: Record<string, boolean>;
|
|
1871
1874
|
};
|
|
1872
1875
|
checkoutSettings: {
|
|
1876
|
+
orderBumps: {
|
|
1877
|
+
mergeOrderBumpOrders: boolean;
|
|
1878
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
1879
|
+
maxVisibleOffers: number;
|
|
1880
|
+
};
|
|
1881
|
+
shipping: {
|
|
1882
|
+
showDeliveryTime: boolean;
|
|
1883
|
+
showDeliveryTimeInDays: boolean;
|
|
1884
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
1885
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1886
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
1887
|
+
};
|
|
1873
1888
|
general: {
|
|
1874
1889
|
allowGuestCheckout: boolean;
|
|
1875
1890
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1880,25 +1895,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1880
1895
|
requestCustomerDateOfBirth: boolean;
|
|
1881
1896
|
automaticallySelectBestPromotion: boolean;
|
|
1882
1897
|
};
|
|
1883
|
-
shipping: {
|
|
1884
|
-
showDeliveryTime: boolean;
|
|
1885
|
-
showDeliveryTimeInDays: boolean;
|
|
1886
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
1887
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1888
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
1889
|
-
};
|
|
1890
1898
|
cartPage: {
|
|
1891
1899
|
showShippingCostCalculation: boolean;
|
|
1892
1900
|
allowProductLinks: boolean;
|
|
1893
1901
|
redirectToCartPage: boolean;
|
|
1894
1902
|
};
|
|
1895
|
-
orderBumps: {
|
|
1896
|
-
mergeOrderBumpOrders: boolean;
|
|
1897
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
1898
|
-
maxVisibleOffers: number;
|
|
1899
|
-
};
|
|
1900
1903
|
ordersAndPayments: {
|
|
1901
|
-
allowPurchasesFrom: "
|
|
1904
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1902
1905
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1903
1906
|
maximumItemsPerOrder: number | null;
|
|
1904
1907
|
deliveryNoteText: string | null;
|
|
@@ -1907,19 +1910,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1907
1910
|
};
|
|
1908
1911
|
}, {
|
|
1909
1912
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
1910
|
-
name: string;
|
|
1911
1913
|
id: string;
|
|
1912
|
-
|
|
1914
|
+
slug: string | null;
|
|
1915
|
+
name: string;
|
|
1916
|
+
description: string;
|
|
1913
1917
|
sellerId: string | null;
|
|
1914
1918
|
isActive: boolean;
|
|
1915
|
-
|
|
1919
|
+
currency: string;
|
|
1920
|
+
tenantId: string;
|
|
1916
1921
|
logo: string | null;
|
|
1917
1922
|
icon: string | null;
|
|
1918
|
-
slug: string | null;
|
|
1919
1923
|
domain: string | null;
|
|
1920
1924
|
domains: string[];
|
|
1921
1925
|
timeZone: string;
|
|
1922
|
-
currency: string;
|
|
1923
1926
|
language: string;
|
|
1924
1927
|
visibility: "public" | "private";
|
|
1925
1928
|
themeConfig: {
|
|
@@ -1933,6 +1936,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1933
1936
|
flags: Record<string, boolean>;
|
|
1934
1937
|
};
|
|
1935
1938
|
checkoutSettings: {
|
|
1939
|
+
orderBumps: {
|
|
1940
|
+
mergeOrderBumpOrders: boolean;
|
|
1941
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
1942
|
+
maxVisibleOffers: number;
|
|
1943
|
+
};
|
|
1944
|
+
shipping: {
|
|
1945
|
+
showDeliveryTime: boolean;
|
|
1946
|
+
showDeliveryTimeInDays: boolean;
|
|
1947
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
1948
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1949
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
1950
|
+
};
|
|
1936
1951
|
general: {
|
|
1937
1952
|
allowGuestCheckout: boolean;
|
|
1938
1953
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1943,25 +1958,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1943
1958
|
requestCustomerDateOfBirth: boolean;
|
|
1944
1959
|
automaticallySelectBestPromotion: boolean;
|
|
1945
1960
|
};
|
|
1946
|
-
shipping: {
|
|
1947
|
-
showDeliveryTime: boolean;
|
|
1948
|
-
showDeliveryTimeInDays: boolean;
|
|
1949
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
1950
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
1951
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
1952
|
-
};
|
|
1953
1961
|
cartPage: {
|
|
1954
1962
|
showShippingCostCalculation: boolean;
|
|
1955
1963
|
allowProductLinks: boolean;
|
|
1956
1964
|
redirectToCartPage: boolean;
|
|
1957
1965
|
};
|
|
1958
|
-
orderBumps: {
|
|
1959
|
-
mergeOrderBumpOrders: boolean;
|
|
1960
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
1961
|
-
maxVisibleOffers: number;
|
|
1962
|
-
};
|
|
1963
1966
|
ordersAndPayments: {
|
|
1964
|
-
allowPurchasesFrom: "
|
|
1967
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
1965
1968
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
1966
1969
|
maximumItemsPerOrder: number | null;
|
|
1967
1970
|
deliveryNoteText: string | null;
|
|
@@ -2032,8 +2035,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2032
2035
|
x: string | null;
|
|
2033
2036
|
}>;
|
|
2034
2037
|
}, "strict", z.ZodTypeAny, {
|
|
2035
|
-
supportEmail: string | null;
|
|
2036
2038
|
phone: string | null;
|
|
2039
|
+
supportEmail: string | null;
|
|
2037
2040
|
whatsapp: string | null;
|
|
2038
2041
|
address: string | null;
|
|
2039
2042
|
socialLinks: {
|
|
@@ -2044,8 +2047,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2044
2047
|
x: string | null;
|
|
2045
2048
|
};
|
|
2046
2049
|
}, {
|
|
2047
|
-
supportEmail: string | null;
|
|
2048
2050
|
phone: string | null;
|
|
2051
|
+
supportEmail: string | null;
|
|
2049
2052
|
whatsapp: string | null;
|
|
2050
2053
|
address: string | null;
|
|
2051
2054
|
socialLinks: {
|
|
@@ -2084,6 +2087,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2084
2087
|
}>;
|
|
2085
2088
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
2086
2089
|
}, "strict", z.ZodTypeAny, {
|
|
2090
|
+
updatedOn: string | null;
|
|
2087
2091
|
themeKey: string;
|
|
2088
2092
|
branding: {
|
|
2089
2093
|
logoUrl: string | null;
|
|
@@ -2099,8 +2103,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2099
2103
|
robotsIndex: boolean;
|
|
2100
2104
|
};
|
|
2101
2105
|
contact: {
|
|
2102
|
-
supportEmail: string | null;
|
|
2103
2106
|
phone: string | null;
|
|
2107
|
+
supportEmail: string | null;
|
|
2104
2108
|
whatsapp: string | null;
|
|
2105
2109
|
address: string | null;
|
|
2106
2110
|
socialLinks: {
|
|
@@ -2121,8 +2125,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2121
2125
|
head: string | null;
|
|
2122
2126
|
bodyEnd: string | null;
|
|
2123
2127
|
};
|
|
2124
|
-
updatedOn: string | null;
|
|
2125
2128
|
}, {
|
|
2129
|
+
updatedOn: string | null;
|
|
2126
2130
|
themeKey: string;
|
|
2127
2131
|
branding: {
|
|
2128
2132
|
logoUrl: string | null;
|
|
@@ -2138,8 +2142,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2138
2142
|
robotsIndex: boolean;
|
|
2139
2143
|
};
|
|
2140
2144
|
contact: {
|
|
2141
|
-
supportEmail: string | null;
|
|
2142
2145
|
phone: string | null;
|
|
2146
|
+
supportEmail: string | null;
|
|
2143
2147
|
whatsapp: string | null;
|
|
2144
2148
|
address: string | null;
|
|
2145
2149
|
socialLinks: {
|
|
@@ -2160,10 +2164,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2160
2164
|
head: string | null;
|
|
2161
2165
|
bodyEnd: string | null;
|
|
2162
2166
|
};
|
|
2163
|
-
updatedOn: string | null;
|
|
2164
2167
|
}>;
|
|
2165
2168
|
pages: z.ZodArray<z.ZodObject<{
|
|
2166
|
-
id: z.ZodString
|
|
2169
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2167
2170
|
name: z.ZodString;
|
|
2168
2171
|
slug: z.ZodString;
|
|
2169
2172
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -2171,12 +2174,12 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2171
2174
|
version: z.ZodNullable<z.ZodNumber>;
|
|
2172
2175
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
2173
2176
|
sections: z.ZodArray<z.ZodObject<{
|
|
2174
|
-
id: z.ZodString
|
|
2177
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2175
2178
|
type: z.ZodString;
|
|
2176
2179
|
order: z.ZodNumber;
|
|
2177
2180
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
2178
2181
|
blocks: z.ZodArray<z.ZodObject<{
|
|
2179
|
-
id: z.ZodString
|
|
2182
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2180
2183
|
type: z.ZodString;
|
|
2181
2184
|
order: z.ZodNumber;
|
|
2182
2185
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -2224,15 +2227,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2224
2227
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
2225
2228
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
2226
2229
|
}, "strict", z.ZodTypeAny, {
|
|
2230
|
+
version: number | null;
|
|
2227
2231
|
status: "draft" | "published" | "archived";
|
|
2228
|
-
name: string;
|
|
2229
2232
|
id: string;
|
|
2230
2233
|
slug: string;
|
|
2234
|
+
name: string;
|
|
2235
|
+
createdOn: string;
|
|
2231
2236
|
updatedOn: string | null;
|
|
2232
2237
|
settings: JsonElement;
|
|
2233
2238
|
channel: "storefront" | "pos";
|
|
2234
2239
|
layout: string;
|
|
2235
|
-
version: number | null;
|
|
2236
2240
|
sections: {
|
|
2237
2241
|
type: string;
|
|
2238
2242
|
id: string;
|
|
@@ -2248,20 +2252,20 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2248
2252
|
hasPublishedVersion: boolean;
|
|
2249
2253
|
publishedOn: string | null;
|
|
2250
2254
|
publishedBy: string | null;
|
|
2251
|
-
createdOn: string;
|
|
2252
2255
|
createdBy: string | null;
|
|
2253
2256
|
updatedBy: string | null;
|
|
2254
2257
|
lastModifiedBy: string | null;
|
|
2255
2258
|
}, {
|
|
2259
|
+
version: number | null;
|
|
2256
2260
|
status: "draft" | "published" | "archived";
|
|
2257
|
-
name: string;
|
|
2258
2261
|
id: string;
|
|
2259
2262
|
slug: string;
|
|
2263
|
+
name: string;
|
|
2264
|
+
createdOn: string;
|
|
2260
2265
|
updatedOn: string | null;
|
|
2261
2266
|
settings: JsonElement;
|
|
2262
2267
|
channel: "storefront" | "pos";
|
|
2263
2268
|
layout: string;
|
|
2264
|
-
version: number | null;
|
|
2265
2269
|
sections: {
|
|
2266
2270
|
type: string;
|
|
2267
2271
|
id: string;
|
|
@@ -2277,7 +2281,6 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2277
2281
|
hasPublishedVersion: boolean;
|
|
2278
2282
|
publishedOn: string | null;
|
|
2279
2283
|
publishedBy: string | null;
|
|
2280
|
-
createdOn: string;
|
|
2281
2284
|
createdBy: string | null;
|
|
2282
2285
|
updatedBy: string | null;
|
|
2283
2286
|
lastModifiedBy: string | null;
|
|
@@ -2287,16 +2290,17 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2287
2290
|
name: z.ZodString;
|
|
2288
2291
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
2289
2292
|
}, "strict", z.ZodTypeAny, {
|
|
2290
|
-
name: string;
|
|
2291
2293
|
key: string;
|
|
2294
|
+
name: string;
|
|
2292
2295
|
items: CmsMenuItem[];
|
|
2293
2296
|
}, {
|
|
2294
|
-
name: string;
|
|
2295
2297
|
key: string;
|
|
2298
|
+
name: string;
|
|
2296
2299
|
items: CmsMenuItem[];
|
|
2297
2300
|
}>, "many">;
|
|
2298
2301
|
}, "strict", z.ZodTypeAny, {
|
|
2299
2302
|
settings: {
|
|
2303
|
+
updatedOn: string | null;
|
|
2300
2304
|
themeKey: string;
|
|
2301
2305
|
branding: {
|
|
2302
2306
|
logoUrl: string | null;
|
|
@@ -2312,8 +2316,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2312
2316
|
robotsIndex: boolean;
|
|
2313
2317
|
};
|
|
2314
2318
|
contact: {
|
|
2315
|
-
supportEmail: string | null;
|
|
2316
2319
|
phone: string | null;
|
|
2320
|
+
supportEmail: string | null;
|
|
2317
2321
|
whatsapp: string | null;
|
|
2318
2322
|
address: string | null;
|
|
2319
2323
|
socialLinks: {
|
|
@@ -2334,18 +2338,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2334
2338
|
head: string | null;
|
|
2335
2339
|
bodyEnd: string | null;
|
|
2336
2340
|
};
|
|
2337
|
-
updatedOn: string | null;
|
|
2338
2341
|
};
|
|
2339
2342
|
pages: {
|
|
2343
|
+
version: number | null;
|
|
2340
2344
|
status: "draft" | "published" | "archived";
|
|
2341
|
-
name: string;
|
|
2342
2345
|
id: string;
|
|
2343
2346
|
slug: string;
|
|
2347
|
+
name: string;
|
|
2348
|
+
createdOn: string;
|
|
2344
2349
|
updatedOn: string | null;
|
|
2345
2350
|
settings: JsonElement;
|
|
2346
2351
|
channel: "storefront" | "pos";
|
|
2347
2352
|
layout: string;
|
|
2348
|
-
version: number | null;
|
|
2349
2353
|
sections: {
|
|
2350
2354
|
type: string;
|
|
2351
2355
|
id: string;
|
|
@@ -2361,18 +2365,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2361
2365
|
hasPublishedVersion: boolean;
|
|
2362
2366
|
publishedOn: string | null;
|
|
2363
2367
|
publishedBy: string | null;
|
|
2364
|
-
createdOn: string;
|
|
2365
2368
|
createdBy: string | null;
|
|
2366
2369
|
updatedBy: string | null;
|
|
2367
2370
|
lastModifiedBy: string | null;
|
|
2368
2371
|
}[];
|
|
2369
2372
|
menus: {
|
|
2370
|
-
name: string;
|
|
2371
2373
|
key: string;
|
|
2374
|
+
name: string;
|
|
2372
2375
|
items: CmsMenuItem[];
|
|
2373
2376
|
}[];
|
|
2374
2377
|
}, {
|
|
2375
2378
|
settings: {
|
|
2379
|
+
updatedOn: string | null;
|
|
2376
2380
|
themeKey: string;
|
|
2377
2381
|
branding: {
|
|
2378
2382
|
logoUrl: string | null;
|
|
@@ -2388,8 +2392,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2388
2392
|
robotsIndex: boolean;
|
|
2389
2393
|
};
|
|
2390
2394
|
contact: {
|
|
2391
|
-
supportEmail: string | null;
|
|
2392
2395
|
phone: string | null;
|
|
2396
|
+
supportEmail: string | null;
|
|
2393
2397
|
whatsapp: string | null;
|
|
2394
2398
|
address: string | null;
|
|
2395
2399
|
socialLinks: {
|
|
@@ -2410,18 +2414,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2410
2414
|
head: string | null;
|
|
2411
2415
|
bodyEnd: string | null;
|
|
2412
2416
|
};
|
|
2413
|
-
updatedOn: string | null;
|
|
2414
2417
|
};
|
|
2415
2418
|
pages: {
|
|
2419
|
+
version: number | null;
|
|
2416
2420
|
status: "draft" | "published" | "archived";
|
|
2417
|
-
name: string;
|
|
2418
2421
|
id: string;
|
|
2419
2422
|
slug: string;
|
|
2423
|
+
name: string;
|
|
2424
|
+
createdOn: string;
|
|
2420
2425
|
updatedOn: string | null;
|
|
2421
2426
|
settings: JsonElement;
|
|
2422
2427
|
channel: "storefront" | "pos";
|
|
2423
2428
|
layout: string;
|
|
2424
|
-
version: number | null;
|
|
2425
2429
|
sections: {
|
|
2426
2430
|
type: string;
|
|
2427
2431
|
id: string;
|
|
@@ -2437,33 +2441,32 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2437
2441
|
hasPublishedVersion: boolean;
|
|
2438
2442
|
publishedOn: string | null;
|
|
2439
2443
|
publishedBy: string | null;
|
|
2440
|
-
createdOn: string;
|
|
2441
2444
|
createdBy: string | null;
|
|
2442
2445
|
updatedBy: string | null;
|
|
2443
2446
|
lastModifiedBy: string | null;
|
|
2444
2447
|
}[];
|
|
2445
2448
|
menus: {
|
|
2446
|
-
name: string;
|
|
2447
2449
|
key: string;
|
|
2450
|
+
name: string;
|
|
2448
2451
|
items: CmsMenuItem[];
|
|
2449
2452
|
}[];
|
|
2450
2453
|
}>;
|
|
2451
2454
|
}, "strict", z.ZodTypeAny, {
|
|
2452
2455
|
store: {
|
|
2453
2456
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
2454
|
-
name: string;
|
|
2455
2457
|
id: string;
|
|
2456
|
-
|
|
2458
|
+
slug: string | null;
|
|
2459
|
+
name: string;
|
|
2460
|
+
description: string;
|
|
2457
2461
|
sellerId: string | null;
|
|
2458
2462
|
isActive: boolean;
|
|
2459
|
-
|
|
2463
|
+
currency: string;
|
|
2464
|
+
tenantId: string;
|
|
2460
2465
|
logo: string | null;
|
|
2461
2466
|
icon: string | null;
|
|
2462
|
-
slug: string | null;
|
|
2463
2467
|
domain: string | null;
|
|
2464
2468
|
domains: string[];
|
|
2465
2469
|
timeZone: string;
|
|
2466
|
-
currency: string;
|
|
2467
2470
|
language: string;
|
|
2468
2471
|
visibility: "public" | "private";
|
|
2469
2472
|
themeConfig: {
|
|
@@ -2477,6 +2480,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2477
2480
|
flags: Record<string, boolean>;
|
|
2478
2481
|
};
|
|
2479
2482
|
checkoutSettings: {
|
|
2483
|
+
orderBumps: {
|
|
2484
|
+
mergeOrderBumpOrders: boolean;
|
|
2485
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
2486
|
+
maxVisibleOffers: number;
|
|
2487
|
+
};
|
|
2488
|
+
shipping: {
|
|
2489
|
+
showDeliveryTime: boolean;
|
|
2490
|
+
showDeliveryTimeInDays: boolean;
|
|
2491
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
2492
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2493
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
2494
|
+
};
|
|
2480
2495
|
general: {
|
|
2481
2496
|
allowGuestCheckout: boolean;
|
|
2482
2497
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2487,25 +2502,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2487
2502
|
requestCustomerDateOfBirth: boolean;
|
|
2488
2503
|
automaticallySelectBestPromotion: boolean;
|
|
2489
2504
|
};
|
|
2490
|
-
shipping: {
|
|
2491
|
-
showDeliveryTime: boolean;
|
|
2492
|
-
showDeliveryTimeInDays: boolean;
|
|
2493
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
2494
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2495
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
2496
|
-
};
|
|
2497
2505
|
cartPage: {
|
|
2498
2506
|
showShippingCostCalculation: boolean;
|
|
2499
2507
|
allowProductLinks: boolean;
|
|
2500
2508
|
redirectToCartPage: boolean;
|
|
2501
2509
|
};
|
|
2502
|
-
orderBumps: {
|
|
2503
|
-
mergeOrderBumpOrders: boolean;
|
|
2504
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
2505
|
-
maxVisibleOffers: number;
|
|
2506
|
-
};
|
|
2507
2510
|
ordersAndPayments: {
|
|
2508
|
-
allowPurchasesFrom: "
|
|
2511
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2509
2512
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2510
2513
|
maximumItemsPerOrder: number | null;
|
|
2511
2514
|
deliveryNoteText: string | null;
|
|
@@ -2517,6 +2520,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2517
2520
|
generatedAt: string;
|
|
2518
2521
|
cms: {
|
|
2519
2522
|
settings: {
|
|
2523
|
+
updatedOn: string | null;
|
|
2520
2524
|
themeKey: string;
|
|
2521
2525
|
branding: {
|
|
2522
2526
|
logoUrl: string | null;
|
|
@@ -2532,8 +2536,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2532
2536
|
robotsIndex: boolean;
|
|
2533
2537
|
};
|
|
2534
2538
|
contact: {
|
|
2535
|
-
supportEmail: string | null;
|
|
2536
2539
|
phone: string | null;
|
|
2540
|
+
supportEmail: string | null;
|
|
2537
2541
|
whatsapp: string | null;
|
|
2538
2542
|
address: string | null;
|
|
2539
2543
|
socialLinks: {
|
|
@@ -2554,18 +2558,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2554
2558
|
head: string | null;
|
|
2555
2559
|
bodyEnd: string | null;
|
|
2556
2560
|
};
|
|
2557
|
-
updatedOn: string | null;
|
|
2558
2561
|
};
|
|
2559
2562
|
pages: {
|
|
2563
|
+
version: number | null;
|
|
2560
2564
|
status: "draft" | "published" | "archived";
|
|
2561
|
-
name: string;
|
|
2562
2565
|
id: string;
|
|
2563
2566
|
slug: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
createdOn: string;
|
|
2564
2569
|
updatedOn: string | null;
|
|
2565
2570
|
settings: JsonElement;
|
|
2566
2571
|
channel: "storefront" | "pos";
|
|
2567
2572
|
layout: string;
|
|
2568
|
-
version: number | null;
|
|
2569
2573
|
sections: {
|
|
2570
2574
|
type: string;
|
|
2571
2575
|
id: string;
|
|
@@ -2581,33 +2585,32 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2581
2585
|
hasPublishedVersion: boolean;
|
|
2582
2586
|
publishedOn: string | null;
|
|
2583
2587
|
publishedBy: string | null;
|
|
2584
|
-
createdOn: string;
|
|
2585
2588
|
createdBy: string | null;
|
|
2586
2589
|
updatedBy: string | null;
|
|
2587
2590
|
lastModifiedBy: string | null;
|
|
2588
2591
|
}[];
|
|
2589
2592
|
menus: {
|
|
2590
|
-
name: string;
|
|
2591
2593
|
key: string;
|
|
2594
|
+
name: string;
|
|
2592
2595
|
items: CmsMenuItem[];
|
|
2593
2596
|
}[];
|
|
2594
2597
|
};
|
|
2595
2598
|
}, {
|
|
2596
2599
|
store: {
|
|
2597
2600
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
2598
|
-
name: string;
|
|
2599
2601
|
id: string;
|
|
2600
|
-
|
|
2602
|
+
slug: string | null;
|
|
2603
|
+
name: string;
|
|
2604
|
+
description: string;
|
|
2601
2605
|
sellerId: string | null;
|
|
2602
2606
|
isActive: boolean;
|
|
2603
|
-
|
|
2607
|
+
currency: string;
|
|
2608
|
+
tenantId: string;
|
|
2604
2609
|
logo: string | null;
|
|
2605
2610
|
icon: string | null;
|
|
2606
|
-
slug: string | null;
|
|
2607
2611
|
domain: string | null;
|
|
2608
2612
|
domains: string[];
|
|
2609
2613
|
timeZone: string;
|
|
2610
|
-
currency: string;
|
|
2611
2614
|
language: string;
|
|
2612
2615
|
visibility: "public" | "private";
|
|
2613
2616
|
themeConfig: {
|
|
@@ -2621,6 +2624,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2621
2624
|
flags: Record<string, boolean>;
|
|
2622
2625
|
};
|
|
2623
2626
|
checkoutSettings: {
|
|
2627
|
+
orderBumps: {
|
|
2628
|
+
mergeOrderBumpOrders: boolean;
|
|
2629
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
2630
|
+
maxVisibleOffers: number;
|
|
2631
|
+
};
|
|
2632
|
+
shipping: {
|
|
2633
|
+
showDeliveryTime: boolean;
|
|
2634
|
+
showDeliveryTimeInDays: boolean;
|
|
2635
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
2636
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2637
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
2638
|
+
};
|
|
2624
2639
|
general: {
|
|
2625
2640
|
allowGuestCheckout: boolean;
|
|
2626
2641
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2631,25 +2646,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2631
2646
|
requestCustomerDateOfBirth: boolean;
|
|
2632
2647
|
automaticallySelectBestPromotion: boolean;
|
|
2633
2648
|
};
|
|
2634
|
-
shipping: {
|
|
2635
|
-
showDeliveryTime: boolean;
|
|
2636
|
-
showDeliveryTimeInDays: boolean;
|
|
2637
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
2638
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2639
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
2640
|
-
};
|
|
2641
2649
|
cartPage: {
|
|
2642
2650
|
showShippingCostCalculation: boolean;
|
|
2643
2651
|
allowProductLinks: boolean;
|
|
2644
2652
|
redirectToCartPage: boolean;
|
|
2645
2653
|
};
|
|
2646
|
-
orderBumps: {
|
|
2647
|
-
mergeOrderBumpOrders: boolean;
|
|
2648
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
2649
|
-
maxVisibleOffers: number;
|
|
2650
|
-
};
|
|
2651
2654
|
ordersAndPayments: {
|
|
2652
|
-
allowPurchasesFrom: "
|
|
2655
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2653
2656
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2654
2657
|
maximumItemsPerOrder: number | null;
|
|
2655
2658
|
deliveryNoteText: string | null;
|
|
@@ -2661,6 +2664,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2661
2664
|
generatedAt: string;
|
|
2662
2665
|
cms: {
|
|
2663
2666
|
settings: {
|
|
2667
|
+
updatedOn: string | null;
|
|
2664
2668
|
themeKey: string;
|
|
2665
2669
|
branding: {
|
|
2666
2670
|
logoUrl: string | null;
|
|
@@ -2676,8 +2680,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2676
2680
|
robotsIndex: boolean;
|
|
2677
2681
|
};
|
|
2678
2682
|
contact: {
|
|
2679
|
-
supportEmail: string | null;
|
|
2680
2683
|
phone: string | null;
|
|
2684
|
+
supportEmail: string | null;
|
|
2681
2685
|
whatsapp: string | null;
|
|
2682
2686
|
address: string | null;
|
|
2683
2687
|
socialLinks: {
|
|
@@ -2698,18 +2702,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2698
2702
|
head: string | null;
|
|
2699
2703
|
bodyEnd: string | null;
|
|
2700
2704
|
};
|
|
2701
|
-
updatedOn: string | null;
|
|
2702
2705
|
};
|
|
2703
2706
|
pages: {
|
|
2707
|
+
version: number | null;
|
|
2704
2708
|
status: "draft" | "published" | "archived";
|
|
2705
|
-
name: string;
|
|
2706
2709
|
id: string;
|
|
2707
2710
|
slug: string;
|
|
2711
|
+
name: string;
|
|
2712
|
+
createdOn: string;
|
|
2708
2713
|
updatedOn: string | null;
|
|
2709
2714
|
settings: JsonElement;
|
|
2710
2715
|
channel: "storefront" | "pos";
|
|
2711
2716
|
layout: string;
|
|
2712
|
-
version: number | null;
|
|
2713
2717
|
sections: {
|
|
2714
2718
|
type: string;
|
|
2715
2719
|
id: string;
|
|
@@ -2725,14 +2729,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2725
2729
|
hasPublishedVersion: boolean;
|
|
2726
2730
|
publishedOn: string | null;
|
|
2727
2731
|
publishedBy: string | null;
|
|
2728
|
-
createdOn: string;
|
|
2729
2732
|
createdBy: string | null;
|
|
2730
2733
|
updatedBy: string | null;
|
|
2731
2734
|
lastModifiedBy: string | null;
|
|
2732
2735
|
}[];
|
|
2733
2736
|
menus: {
|
|
2734
|
-
name: string;
|
|
2735
2737
|
key: string;
|
|
2738
|
+
name: string;
|
|
2736
2739
|
items: CmsMenuItem[];
|
|
2737
2740
|
}[];
|
|
2738
2741
|
};
|
|
@@ -2740,9 +2743,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2740
2743
|
schemaVersion: z.ZodLiteral<2>;
|
|
2741
2744
|
generatedAt: z.ZodString;
|
|
2742
2745
|
store: z.ZodObject<{
|
|
2743
|
-
id: z.ZodString
|
|
2744
|
-
tenantId: z.ZodString
|
|
2745
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
2746
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2747
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2748
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2746
2749
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
2747
2750
|
isActive: z.ZodBoolean;
|
|
2748
2751
|
name: z.ZodString;
|
|
@@ -2863,19 +2866,31 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2863
2866
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
2864
2867
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
2865
2868
|
}, "strict", z.ZodTypeAny, {
|
|
2866
|
-
allowPurchasesFrom: "
|
|
2869
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2867
2870
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2868
2871
|
maximumItemsPerOrder: number | null;
|
|
2869
2872
|
deliveryNoteText: string | null;
|
|
2870
2873
|
boletoPaymentNoteText: string | null;
|
|
2871
2874
|
}, {
|
|
2872
|
-
allowPurchasesFrom: "
|
|
2875
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2873
2876
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2874
2877
|
maximumItemsPerOrder: number | null;
|
|
2875
2878
|
deliveryNoteText: string | null;
|
|
2876
2879
|
boletoPaymentNoteText: string | null;
|
|
2877
2880
|
}>;
|
|
2878
2881
|
}, "strict", z.ZodTypeAny, {
|
|
2882
|
+
orderBumps: {
|
|
2883
|
+
mergeOrderBumpOrders: boolean;
|
|
2884
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
2885
|
+
maxVisibleOffers: number;
|
|
2886
|
+
};
|
|
2887
|
+
shipping: {
|
|
2888
|
+
showDeliveryTime: boolean;
|
|
2889
|
+
showDeliveryTimeInDays: boolean;
|
|
2890
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
2891
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2892
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
2893
|
+
};
|
|
2879
2894
|
general: {
|
|
2880
2895
|
allowGuestCheckout: boolean;
|
|
2881
2896
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2886,31 +2901,31 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2886
2901
|
requestCustomerDateOfBirth: boolean;
|
|
2887
2902
|
automaticallySelectBestPromotion: boolean;
|
|
2888
2903
|
};
|
|
2889
|
-
shipping: {
|
|
2890
|
-
showDeliveryTime: boolean;
|
|
2891
|
-
showDeliveryTimeInDays: boolean;
|
|
2892
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
2893
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2894
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
2895
|
-
};
|
|
2896
2904
|
cartPage: {
|
|
2897
2905
|
showShippingCostCalculation: boolean;
|
|
2898
2906
|
allowProductLinks: boolean;
|
|
2899
2907
|
redirectToCartPage: boolean;
|
|
2900
2908
|
};
|
|
2901
|
-
orderBumps: {
|
|
2902
|
-
mergeOrderBumpOrders: boolean;
|
|
2903
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
2904
|
-
maxVisibleOffers: number;
|
|
2905
|
-
};
|
|
2906
2909
|
ordersAndPayments: {
|
|
2907
|
-
allowPurchasesFrom: "
|
|
2910
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2908
2911
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2909
2912
|
maximumItemsPerOrder: number | null;
|
|
2910
2913
|
deliveryNoteText: string | null;
|
|
2911
2914
|
boletoPaymentNoteText: string | null;
|
|
2912
2915
|
};
|
|
2913
2916
|
}, {
|
|
2917
|
+
orderBumps: {
|
|
2918
|
+
mergeOrderBumpOrders: boolean;
|
|
2919
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
2920
|
+
maxVisibleOffers: number;
|
|
2921
|
+
};
|
|
2922
|
+
shipping: {
|
|
2923
|
+
showDeliveryTime: boolean;
|
|
2924
|
+
showDeliveryTimeInDays: boolean;
|
|
2925
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
2926
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2927
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
2928
|
+
};
|
|
2914
2929
|
general: {
|
|
2915
2930
|
allowGuestCheckout: boolean;
|
|
2916
2931
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2921,25 +2936,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2921
2936
|
requestCustomerDateOfBirth: boolean;
|
|
2922
2937
|
automaticallySelectBestPromotion: boolean;
|
|
2923
2938
|
};
|
|
2924
|
-
shipping: {
|
|
2925
|
-
showDeliveryTime: boolean;
|
|
2926
|
-
showDeliveryTimeInDays: boolean;
|
|
2927
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
2928
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2929
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
2930
|
-
};
|
|
2931
2939
|
cartPage: {
|
|
2932
2940
|
showShippingCostCalculation: boolean;
|
|
2933
2941
|
allowProductLinks: boolean;
|
|
2934
2942
|
redirectToCartPage: boolean;
|
|
2935
2943
|
};
|
|
2936
|
-
orderBumps: {
|
|
2937
|
-
mergeOrderBumpOrders: boolean;
|
|
2938
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
2939
|
-
maxVisibleOffers: number;
|
|
2940
|
-
};
|
|
2941
2944
|
ordersAndPayments: {
|
|
2942
|
-
allowPurchasesFrom: "
|
|
2945
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
2943
2946
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
2944
2947
|
maximumItemsPerOrder: number | null;
|
|
2945
2948
|
deliveryNoteText: string | null;
|
|
@@ -2948,19 +2951,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2948
2951
|
}>;
|
|
2949
2952
|
}, "strict", z.ZodTypeAny, {
|
|
2950
2953
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
2951
|
-
name: string;
|
|
2952
2954
|
id: string;
|
|
2953
|
-
|
|
2955
|
+
slug: string | null;
|
|
2956
|
+
name: string;
|
|
2957
|
+
description: string;
|
|
2954
2958
|
sellerId: string | null;
|
|
2955
2959
|
isActive: boolean;
|
|
2956
|
-
|
|
2960
|
+
currency: string;
|
|
2961
|
+
tenantId: string;
|
|
2957
2962
|
logo: string | null;
|
|
2958
2963
|
icon: string | null;
|
|
2959
|
-
slug: string | null;
|
|
2960
2964
|
domain: string | null;
|
|
2961
2965
|
domains: string[];
|
|
2962
2966
|
timeZone: string;
|
|
2963
|
-
currency: string;
|
|
2964
2967
|
language: string;
|
|
2965
2968
|
visibility: "public" | "private";
|
|
2966
2969
|
themeConfig: {
|
|
@@ -2974,6 +2977,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2974
2977
|
flags: Record<string, boolean>;
|
|
2975
2978
|
};
|
|
2976
2979
|
checkoutSettings: {
|
|
2980
|
+
orderBumps: {
|
|
2981
|
+
mergeOrderBumpOrders: boolean;
|
|
2982
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
2983
|
+
maxVisibleOffers: number;
|
|
2984
|
+
};
|
|
2985
|
+
shipping: {
|
|
2986
|
+
showDeliveryTime: boolean;
|
|
2987
|
+
showDeliveryTimeInDays: boolean;
|
|
2988
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
2989
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2990
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
2991
|
+
};
|
|
2977
2992
|
general: {
|
|
2978
2993
|
allowGuestCheckout: boolean;
|
|
2979
2994
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2984,25 +2999,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2984
2999
|
requestCustomerDateOfBirth: boolean;
|
|
2985
3000
|
automaticallySelectBestPromotion: boolean;
|
|
2986
3001
|
};
|
|
2987
|
-
shipping: {
|
|
2988
|
-
showDeliveryTime: boolean;
|
|
2989
|
-
showDeliveryTimeInDays: boolean;
|
|
2990
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
2991
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
2992
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
2993
|
-
};
|
|
2994
3002
|
cartPage: {
|
|
2995
3003
|
showShippingCostCalculation: boolean;
|
|
2996
3004
|
allowProductLinks: boolean;
|
|
2997
3005
|
redirectToCartPage: boolean;
|
|
2998
3006
|
};
|
|
2999
|
-
orderBumps: {
|
|
3000
|
-
mergeOrderBumpOrders: boolean;
|
|
3001
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3002
|
-
maxVisibleOffers: number;
|
|
3003
|
-
};
|
|
3004
3007
|
ordersAndPayments: {
|
|
3005
|
-
allowPurchasesFrom: "
|
|
3008
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3006
3009
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3007
3010
|
maximumItemsPerOrder: number | null;
|
|
3008
3011
|
deliveryNoteText: string | null;
|
|
@@ -3011,19 +3014,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3011
3014
|
};
|
|
3012
3015
|
}, {
|
|
3013
3016
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
3014
|
-
name: string;
|
|
3015
3017
|
id: string;
|
|
3016
|
-
|
|
3018
|
+
slug: string | null;
|
|
3019
|
+
name: string;
|
|
3020
|
+
description: string;
|
|
3017
3021
|
sellerId: string | null;
|
|
3018
3022
|
isActive: boolean;
|
|
3019
|
-
|
|
3023
|
+
currency: string;
|
|
3024
|
+
tenantId: string;
|
|
3020
3025
|
logo: string | null;
|
|
3021
3026
|
icon: string | null;
|
|
3022
|
-
slug: string | null;
|
|
3023
3027
|
domain: string | null;
|
|
3024
3028
|
domains: string[];
|
|
3025
3029
|
timeZone: string;
|
|
3026
|
-
currency: string;
|
|
3027
3030
|
language: string;
|
|
3028
3031
|
visibility: "public" | "private";
|
|
3029
3032
|
themeConfig: {
|
|
@@ -3037,6 +3040,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3037
3040
|
flags: Record<string, boolean>;
|
|
3038
3041
|
};
|
|
3039
3042
|
checkoutSettings: {
|
|
3043
|
+
orderBumps: {
|
|
3044
|
+
mergeOrderBumpOrders: boolean;
|
|
3045
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
3046
|
+
maxVisibleOffers: number;
|
|
3047
|
+
};
|
|
3048
|
+
shipping: {
|
|
3049
|
+
showDeliveryTime: boolean;
|
|
3050
|
+
showDeliveryTimeInDays: boolean;
|
|
3051
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
3052
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3053
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
3054
|
+
};
|
|
3040
3055
|
general: {
|
|
3041
3056
|
allowGuestCheckout: boolean;
|
|
3042
3057
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3047,25 +3062,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3047
3062
|
requestCustomerDateOfBirth: boolean;
|
|
3048
3063
|
automaticallySelectBestPromotion: boolean;
|
|
3049
3064
|
};
|
|
3050
|
-
shipping: {
|
|
3051
|
-
showDeliveryTime: boolean;
|
|
3052
|
-
showDeliveryTimeInDays: boolean;
|
|
3053
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
3054
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3055
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
3056
|
-
};
|
|
3057
3065
|
cartPage: {
|
|
3058
3066
|
showShippingCostCalculation: boolean;
|
|
3059
3067
|
allowProductLinks: boolean;
|
|
3060
3068
|
redirectToCartPage: boolean;
|
|
3061
3069
|
};
|
|
3062
|
-
orderBumps: {
|
|
3063
|
-
mergeOrderBumpOrders: boolean;
|
|
3064
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3065
|
-
maxVisibleOffers: number;
|
|
3066
|
-
};
|
|
3067
3070
|
ordersAndPayments: {
|
|
3068
|
-
allowPurchasesFrom: "
|
|
3071
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3069
3072
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3070
3073
|
maximumItemsPerOrder: number | null;
|
|
3071
3074
|
deliveryNoteText: string | null;
|
|
@@ -3136,8 +3139,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3136
3139
|
x: string | null;
|
|
3137
3140
|
}>;
|
|
3138
3141
|
}, "strict", z.ZodTypeAny, {
|
|
3139
|
-
supportEmail: string | null;
|
|
3140
3142
|
phone: string | null;
|
|
3143
|
+
supportEmail: string | null;
|
|
3141
3144
|
whatsapp: string | null;
|
|
3142
3145
|
address: string | null;
|
|
3143
3146
|
socialLinks: {
|
|
@@ -3148,8 +3151,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3148
3151
|
x: string | null;
|
|
3149
3152
|
};
|
|
3150
3153
|
}, {
|
|
3151
|
-
supportEmail: string | null;
|
|
3152
3154
|
phone: string | null;
|
|
3155
|
+
supportEmail: string | null;
|
|
3153
3156
|
whatsapp: string | null;
|
|
3154
3157
|
address: string | null;
|
|
3155
3158
|
socialLinks: {
|
|
@@ -3188,6 +3191,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3188
3191
|
}>;
|
|
3189
3192
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
3190
3193
|
}, "strict", z.ZodTypeAny, {
|
|
3194
|
+
updatedOn: string | null;
|
|
3191
3195
|
themeKey: string;
|
|
3192
3196
|
branding: {
|
|
3193
3197
|
logoUrl: string | null;
|
|
@@ -3203,8 +3207,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3203
3207
|
robotsIndex: boolean;
|
|
3204
3208
|
};
|
|
3205
3209
|
contact: {
|
|
3206
|
-
supportEmail: string | null;
|
|
3207
3210
|
phone: string | null;
|
|
3211
|
+
supportEmail: string | null;
|
|
3208
3212
|
whatsapp: string | null;
|
|
3209
3213
|
address: string | null;
|
|
3210
3214
|
socialLinks: {
|
|
@@ -3225,8 +3229,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3225
3229
|
head: string | null;
|
|
3226
3230
|
bodyEnd: string | null;
|
|
3227
3231
|
};
|
|
3228
|
-
updatedOn: string | null;
|
|
3229
3232
|
}, {
|
|
3233
|
+
updatedOn: string | null;
|
|
3230
3234
|
themeKey: string;
|
|
3231
3235
|
branding: {
|
|
3232
3236
|
logoUrl: string | null;
|
|
@@ -3242,8 +3246,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3242
3246
|
robotsIndex: boolean;
|
|
3243
3247
|
};
|
|
3244
3248
|
contact: {
|
|
3245
|
-
supportEmail: string | null;
|
|
3246
3249
|
phone: string | null;
|
|
3250
|
+
supportEmail: string | null;
|
|
3247
3251
|
whatsapp: string | null;
|
|
3248
3252
|
address: string | null;
|
|
3249
3253
|
socialLinks: {
|
|
@@ -3264,10 +3268,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3264
3268
|
head: string | null;
|
|
3265
3269
|
bodyEnd: string | null;
|
|
3266
3270
|
};
|
|
3267
|
-
updatedOn: string | null;
|
|
3268
3271
|
}>;
|
|
3269
3272
|
pages: z.ZodArray<z.ZodObject<{
|
|
3270
|
-
id: z.ZodString
|
|
3273
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3271
3274
|
name: z.ZodString;
|
|
3272
3275
|
slug: z.ZodString;
|
|
3273
3276
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -3275,12 +3278,12 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3275
3278
|
version: z.ZodNullable<z.ZodNumber>;
|
|
3276
3279
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
3277
3280
|
sections: z.ZodArray<z.ZodObject<{
|
|
3278
|
-
id: z.ZodString
|
|
3281
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3279
3282
|
type: z.ZodString;
|
|
3280
3283
|
order: z.ZodNumber;
|
|
3281
3284
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
3282
3285
|
blocks: z.ZodArray<z.ZodObject<{
|
|
3283
|
-
id: z.ZodString
|
|
3286
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3284
3287
|
type: z.ZodString;
|
|
3285
3288
|
order: z.ZodNumber;
|
|
3286
3289
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -3328,15 +3331,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3328
3331
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
3329
3332
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
3330
3333
|
}, "strict", z.ZodTypeAny, {
|
|
3334
|
+
version: number | null;
|
|
3331
3335
|
status: "draft" | "published" | "archived";
|
|
3332
|
-
name: string;
|
|
3333
3336
|
id: string;
|
|
3334
3337
|
slug: string;
|
|
3338
|
+
name: string;
|
|
3339
|
+
createdOn: string;
|
|
3335
3340
|
updatedOn: string | null;
|
|
3336
3341
|
settings: JsonElement;
|
|
3337
3342
|
channel: "storefront" | "pos";
|
|
3338
3343
|
layout: string;
|
|
3339
|
-
version: number | null;
|
|
3340
3344
|
sections: {
|
|
3341
3345
|
type: string;
|
|
3342
3346
|
id: string;
|
|
@@ -3352,20 +3356,20 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3352
3356
|
hasPublishedVersion: boolean;
|
|
3353
3357
|
publishedOn: string | null;
|
|
3354
3358
|
publishedBy: string | null;
|
|
3355
|
-
createdOn: string;
|
|
3356
3359
|
createdBy: string | null;
|
|
3357
3360
|
updatedBy: string | null;
|
|
3358
3361
|
lastModifiedBy: string | null;
|
|
3359
3362
|
}, {
|
|
3363
|
+
version: number | null;
|
|
3360
3364
|
status: "draft" | "published" | "archived";
|
|
3361
|
-
name: string;
|
|
3362
3365
|
id: string;
|
|
3363
3366
|
slug: string;
|
|
3367
|
+
name: string;
|
|
3368
|
+
createdOn: string;
|
|
3364
3369
|
updatedOn: string | null;
|
|
3365
3370
|
settings: JsonElement;
|
|
3366
3371
|
channel: "storefront" | "pos";
|
|
3367
3372
|
layout: string;
|
|
3368
|
-
version: number | null;
|
|
3369
3373
|
sections: {
|
|
3370
3374
|
type: string;
|
|
3371
3375
|
id: string;
|
|
@@ -3381,7 +3385,6 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3381
3385
|
hasPublishedVersion: boolean;
|
|
3382
3386
|
publishedOn: string | null;
|
|
3383
3387
|
publishedBy: string | null;
|
|
3384
|
-
createdOn: string;
|
|
3385
3388
|
createdBy: string | null;
|
|
3386
3389
|
updatedBy: string | null;
|
|
3387
3390
|
lastModifiedBy: string | null;
|
|
@@ -3391,16 +3394,17 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3391
3394
|
name: z.ZodString;
|
|
3392
3395
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
3393
3396
|
}, "strict", z.ZodTypeAny, {
|
|
3394
|
-
name: string;
|
|
3395
3397
|
key: string;
|
|
3398
|
+
name: string;
|
|
3396
3399
|
items: CmsMenuItem[];
|
|
3397
3400
|
}, {
|
|
3398
|
-
name: string;
|
|
3399
3401
|
key: string;
|
|
3402
|
+
name: string;
|
|
3400
3403
|
items: CmsMenuItem[];
|
|
3401
3404
|
}>, "many">;
|
|
3402
3405
|
}, "strict", z.ZodTypeAny, {
|
|
3403
3406
|
settings: {
|
|
3407
|
+
updatedOn: string | null;
|
|
3404
3408
|
themeKey: string;
|
|
3405
3409
|
branding: {
|
|
3406
3410
|
logoUrl: string | null;
|
|
@@ -3416,8 +3420,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3416
3420
|
robotsIndex: boolean;
|
|
3417
3421
|
};
|
|
3418
3422
|
contact: {
|
|
3419
|
-
supportEmail: string | null;
|
|
3420
3423
|
phone: string | null;
|
|
3424
|
+
supportEmail: string | null;
|
|
3421
3425
|
whatsapp: string | null;
|
|
3422
3426
|
address: string | null;
|
|
3423
3427
|
socialLinks: {
|
|
@@ -3438,18 +3442,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3438
3442
|
head: string | null;
|
|
3439
3443
|
bodyEnd: string | null;
|
|
3440
3444
|
};
|
|
3441
|
-
updatedOn: string | null;
|
|
3442
3445
|
};
|
|
3443
3446
|
pages: {
|
|
3447
|
+
version: number | null;
|
|
3444
3448
|
status: "draft" | "published" | "archived";
|
|
3445
|
-
name: string;
|
|
3446
3449
|
id: string;
|
|
3447
3450
|
slug: string;
|
|
3451
|
+
name: string;
|
|
3452
|
+
createdOn: string;
|
|
3448
3453
|
updatedOn: string | null;
|
|
3449
3454
|
settings: JsonElement;
|
|
3450
3455
|
channel: "storefront" | "pos";
|
|
3451
3456
|
layout: string;
|
|
3452
|
-
version: number | null;
|
|
3453
3457
|
sections: {
|
|
3454
3458
|
type: string;
|
|
3455
3459
|
id: string;
|
|
@@ -3465,18 +3469,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3465
3469
|
hasPublishedVersion: boolean;
|
|
3466
3470
|
publishedOn: string | null;
|
|
3467
3471
|
publishedBy: string | null;
|
|
3468
|
-
createdOn: string;
|
|
3469
3472
|
createdBy: string | null;
|
|
3470
3473
|
updatedBy: string | null;
|
|
3471
3474
|
lastModifiedBy: string | null;
|
|
3472
3475
|
}[];
|
|
3473
3476
|
menus: {
|
|
3474
|
-
name: string;
|
|
3475
3477
|
key: string;
|
|
3478
|
+
name: string;
|
|
3476
3479
|
items: CmsMenuItem[];
|
|
3477
3480
|
}[];
|
|
3478
3481
|
}, {
|
|
3479
3482
|
settings: {
|
|
3483
|
+
updatedOn: string | null;
|
|
3480
3484
|
themeKey: string;
|
|
3481
3485
|
branding: {
|
|
3482
3486
|
logoUrl: string | null;
|
|
@@ -3492,8 +3496,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3492
3496
|
robotsIndex: boolean;
|
|
3493
3497
|
};
|
|
3494
3498
|
contact: {
|
|
3495
|
-
supportEmail: string | null;
|
|
3496
3499
|
phone: string | null;
|
|
3500
|
+
supportEmail: string | null;
|
|
3497
3501
|
whatsapp: string | null;
|
|
3498
3502
|
address: string | null;
|
|
3499
3503
|
socialLinks: {
|
|
@@ -3514,18 +3518,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3514
3518
|
head: string | null;
|
|
3515
3519
|
bodyEnd: string | null;
|
|
3516
3520
|
};
|
|
3517
|
-
updatedOn: string | null;
|
|
3518
3521
|
};
|
|
3519
3522
|
pages: {
|
|
3523
|
+
version: number | null;
|
|
3520
3524
|
status: "draft" | "published" | "archived";
|
|
3521
|
-
name: string;
|
|
3522
3525
|
id: string;
|
|
3523
3526
|
slug: string;
|
|
3527
|
+
name: string;
|
|
3528
|
+
createdOn: string;
|
|
3524
3529
|
updatedOn: string | null;
|
|
3525
3530
|
settings: JsonElement;
|
|
3526
3531
|
channel: "storefront" | "pos";
|
|
3527
3532
|
layout: string;
|
|
3528
|
-
version: number | null;
|
|
3529
3533
|
sections: {
|
|
3530
3534
|
type: string;
|
|
3531
3535
|
id: string;
|
|
@@ -3541,33 +3545,32 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3541
3545
|
hasPublishedVersion: boolean;
|
|
3542
3546
|
publishedOn: string | null;
|
|
3543
3547
|
publishedBy: string | null;
|
|
3544
|
-
createdOn: string;
|
|
3545
3548
|
createdBy: string | null;
|
|
3546
3549
|
updatedBy: string | null;
|
|
3547
3550
|
lastModifiedBy: string | null;
|
|
3548
3551
|
}[];
|
|
3549
3552
|
menus: {
|
|
3550
|
-
name: string;
|
|
3551
3553
|
key: string;
|
|
3554
|
+
name: string;
|
|
3552
3555
|
items: CmsMenuItem[];
|
|
3553
3556
|
}[];
|
|
3554
3557
|
}>;
|
|
3555
3558
|
}, "strict", z.ZodTypeAny, {
|
|
3556
3559
|
store: {
|
|
3557
3560
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
3558
|
-
name: string;
|
|
3559
3561
|
id: string;
|
|
3560
|
-
|
|
3562
|
+
slug: string | null;
|
|
3563
|
+
name: string;
|
|
3564
|
+
description: string;
|
|
3561
3565
|
sellerId: string | null;
|
|
3562
3566
|
isActive: boolean;
|
|
3563
|
-
|
|
3567
|
+
currency: string;
|
|
3568
|
+
tenantId: string;
|
|
3564
3569
|
logo: string | null;
|
|
3565
3570
|
icon: string | null;
|
|
3566
|
-
slug: string | null;
|
|
3567
3571
|
domain: string | null;
|
|
3568
3572
|
domains: string[];
|
|
3569
3573
|
timeZone: string;
|
|
3570
|
-
currency: string;
|
|
3571
3574
|
language: string;
|
|
3572
3575
|
visibility: "public" | "private";
|
|
3573
3576
|
themeConfig: {
|
|
@@ -3581,6 +3584,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3581
3584
|
flags: Record<string, boolean>;
|
|
3582
3585
|
};
|
|
3583
3586
|
checkoutSettings: {
|
|
3587
|
+
orderBumps: {
|
|
3588
|
+
mergeOrderBumpOrders: boolean;
|
|
3589
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
3590
|
+
maxVisibleOffers: number;
|
|
3591
|
+
};
|
|
3592
|
+
shipping: {
|
|
3593
|
+
showDeliveryTime: boolean;
|
|
3594
|
+
showDeliveryTimeInDays: boolean;
|
|
3595
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
3596
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3597
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
3598
|
+
};
|
|
3584
3599
|
general: {
|
|
3585
3600
|
allowGuestCheckout: boolean;
|
|
3586
3601
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3591,25 +3606,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3591
3606
|
requestCustomerDateOfBirth: boolean;
|
|
3592
3607
|
automaticallySelectBestPromotion: boolean;
|
|
3593
3608
|
};
|
|
3594
|
-
shipping: {
|
|
3595
|
-
showDeliveryTime: boolean;
|
|
3596
|
-
showDeliveryTimeInDays: boolean;
|
|
3597
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
3598
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3599
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
3600
|
-
};
|
|
3601
3609
|
cartPage: {
|
|
3602
3610
|
showShippingCostCalculation: boolean;
|
|
3603
3611
|
allowProductLinks: boolean;
|
|
3604
3612
|
redirectToCartPage: boolean;
|
|
3605
3613
|
};
|
|
3606
|
-
orderBumps: {
|
|
3607
|
-
mergeOrderBumpOrders: boolean;
|
|
3608
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3609
|
-
maxVisibleOffers: number;
|
|
3610
|
-
};
|
|
3611
3614
|
ordersAndPayments: {
|
|
3612
|
-
allowPurchasesFrom: "
|
|
3615
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3613
3616
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3614
3617
|
maximumItemsPerOrder: number | null;
|
|
3615
3618
|
deliveryNoteText: string | null;
|
|
@@ -3621,6 +3624,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3621
3624
|
generatedAt: string;
|
|
3622
3625
|
cms: {
|
|
3623
3626
|
settings: {
|
|
3627
|
+
updatedOn: string | null;
|
|
3624
3628
|
themeKey: string;
|
|
3625
3629
|
branding: {
|
|
3626
3630
|
logoUrl: string | null;
|
|
@@ -3636,8 +3640,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3636
3640
|
robotsIndex: boolean;
|
|
3637
3641
|
};
|
|
3638
3642
|
contact: {
|
|
3639
|
-
supportEmail: string | null;
|
|
3640
3643
|
phone: string | null;
|
|
3644
|
+
supportEmail: string | null;
|
|
3641
3645
|
whatsapp: string | null;
|
|
3642
3646
|
address: string | null;
|
|
3643
3647
|
socialLinks: {
|
|
@@ -3658,18 +3662,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3658
3662
|
head: string | null;
|
|
3659
3663
|
bodyEnd: string | null;
|
|
3660
3664
|
};
|
|
3661
|
-
updatedOn: string | null;
|
|
3662
3665
|
};
|
|
3663
3666
|
pages: {
|
|
3667
|
+
version: number | null;
|
|
3664
3668
|
status: "draft" | "published" | "archived";
|
|
3665
|
-
name: string;
|
|
3666
3669
|
id: string;
|
|
3667
3670
|
slug: string;
|
|
3671
|
+
name: string;
|
|
3672
|
+
createdOn: string;
|
|
3668
3673
|
updatedOn: string | null;
|
|
3669
3674
|
settings: JsonElement;
|
|
3670
3675
|
channel: "storefront" | "pos";
|
|
3671
3676
|
layout: string;
|
|
3672
|
-
version: number | null;
|
|
3673
3677
|
sections: {
|
|
3674
3678
|
type: string;
|
|
3675
3679
|
id: string;
|
|
@@ -3685,33 +3689,32 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3685
3689
|
hasPublishedVersion: boolean;
|
|
3686
3690
|
publishedOn: string | null;
|
|
3687
3691
|
publishedBy: string | null;
|
|
3688
|
-
createdOn: string;
|
|
3689
3692
|
createdBy: string | null;
|
|
3690
3693
|
updatedBy: string | null;
|
|
3691
3694
|
lastModifiedBy: string | null;
|
|
3692
3695
|
}[];
|
|
3693
3696
|
menus: {
|
|
3694
|
-
name: string;
|
|
3695
3697
|
key: string;
|
|
3698
|
+
name: string;
|
|
3696
3699
|
items: CmsMenuItem[];
|
|
3697
3700
|
}[];
|
|
3698
3701
|
};
|
|
3699
3702
|
}, {
|
|
3700
3703
|
store: {
|
|
3701
3704
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
3702
|
-
name: string;
|
|
3703
3705
|
id: string;
|
|
3704
|
-
|
|
3706
|
+
slug: string | null;
|
|
3707
|
+
name: string;
|
|
3708
|
+
description: string;
|
|
3705
3709
|
sellerId: string | null;
|
|
3706
3710
|
isActive: boolean;
|
|
3707
|
-
|
|
3711
|
+
currency: string;
|
|
3712
|
+
tenantId: string;
|
|
3708
3713
|
logo: string | null;
|
|
3709
3714
|
icon: string | null;
|
|
3710
|
-
slug: string | null;
|
|
3711
3715
|
domain: string | null;
|
|
3712
3716
|
domains: string[];
|
|
3713
3717
|
timeZone: string;
|
|
3714
|
-
currency: string;
|
|
3715
3718
|
language: string;
|
|
3716
3719
|
visibility: "public" | "private";
|
|
3717
3720
|
themeConfig: {
|
|
@@ -3725,6 +3728,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3725
3728
|
flags: Record<string, boolean>;
|
|
3726
3729
|
};
|
|
3727
3730
|
checkoutSettings: {
|
|
3731
|
+
orderBumps: {
|
|
3732
|
+
mergeOrderBumpOrders: boolean;
|
|
3733
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
3734
|
+
maxVisibleOffers: number;
|
|
3735
|
+
};
|
|
3736
|
+
shipping: {
|
|
3737
|
+
showDeliveryTime: boolean;
|
|
3738
|
+
showDeliveryTimeInDays: boolean;
|
|
3739
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
3740
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3741
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
3742
|
+
};
|
|
3728
3743
|
general: {
|
|
3729
3744
|
allowGuestCheckout: boolean;
|
|
3730
3745
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3735,25 +3750,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3735
3750
|
requestCustomerDateOfBirth: boolean;
|
|
3736
3751
|
automaticallySelectBestPromotion: boolean;
|
|
3737
3752
|
};
|
|
3738
|
-
shipping: {
|
|
3739
|
-
showDeliveryTime: boolean;
|
|
3740
|
-
showDeliveryTimeInDays: boolean;
|
|
3741
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
3742
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3743
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
3744
|
-
};
|
|
3745
3753
|
cartPage: {
|
|
3746
3754
|
showShippingCostCalculation: boolean;
|
|
3747
3755
|
allowProductLinks: boolean;
|
|
3748
3756
|
redirectToCartPage: boolean;
|
|
3749
3757
|
};
|
|
3750
|
-
orderBumps: {
|
|
3751
|
-
mergeOrderBumpOrders: boolean;
|
|
3752
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3753
|
-
maxVisibleOffers: number;
|
|
3754
|
-
};
|
|
3755
3758
|
ordersAndPayments: {
|
|
3756
|
-
allowPurchasesFrom: "
|
|
3759
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3757
3760
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3758
3761
|
maximumItemsPerOrder: number | null;
|
|
3759
3762
|
deliveryNoteText: string | null;
|
|
@@ -3765,6 +3768,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3765
3768
|
generatedAt: string;
|
|
3766
3769
|
cms: {
|
|
3767
3770
|
settings: {
|
|
3771
|
+
updatedOn: string | null;
|
|
3768
3772
|
themeKey: string;
|
|
3769
3773
|
branding: {
|
|
3770
3774
|
logoUrl: string | null;
|
|
@@ -3780,8 +3784,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3780
3784
|
robotsIndex: boolean;
|
|
3781
3785
|
};
|
|
3782
3786
|
contact: {
|
|
3783
|
-
supportEmail: string | null;
|
|
3784
3787
|
phone: string | null;
|
|
3788
|
+
supportEmail: string | null;
|
|
3785
3789
|
whatsapp: string | null;
|
|
3786
3790
|
address: string | null;
|
|
3787
3791
|
socialLinks: {
|
|
@@ -3802,18 +3806,18 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3802
3806
|
head: string | null;
|
|
3803
3807
|
bodyEnd: string | null;
|
|
3804
3808
|
};
|
|
3805
|
-
updatedOn: string | null;
|
|
3806
3809
|
};
|
|
3807
3810
|
pages: {
|
|
3811
|
+
version: number | null;
|
|
3808
3812
|
status: "draft" | "published" | "archived";
|
|
3809
|
-
name: string;
|
|
3810
3813
|
id: string;
|
|
3811
3814
|
slug: string;
|
|
3815
|
+
name: string;
|
|
3816
|
+
createdOn: string;
|
|
3812
3817
|
updatedOn: string | null;
|
|
3813
3818
|
settings: JsonElement;
|
|
3814
3819
|
channel: "storefront" | "pos";
|
|
3815
3820
|
layout: string;
|
|
3816
|
-
version: number | null;
|
|
3817
3821
|
sections: {
|
|
3818
3822
|
type: string;
|
|
3819
3823
|
id: string;
|
|
@@ -3829,14 +3833,13 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3829
3833
|
hasPublishedVersion: boolean;
|
|
3830
3834
|
publishedOn: string | null;
|
|
3831
3835
|
publishedBy: string | null;
|
|
3832
|
-
createdOn: string;
|
|
3833
3836
|
createdBy: string | null;
|
|
3834
3837
|
updatedBy: string | null;
|
|
3835
3838
|
lastModifiedBy: string | null;
|
|
3836
3839
|
}[];
|
|
3837
3840
|
menus: {
|
|
3838
|
-
name: string;
|
|
3839
3841
|
key: string;
|
|
3842
|
+
name: string;
|
|
3840
3843
|
items: CmsMenuItem[];
|
|
3841
3844
|
}[];
|
|
3842
3845
|
};
|
|
@@ -3923,19 +3926,31 @@ declare const StorefrontCheckoutSettingsSchema: z.ZodObject<{
|
|
|
3923
3926
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
3924
3927
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
3925
3928
|
}, "strict", z.ZodTypeAny, {
|
|
3926
|
-
allowPurchasesFrom: "
|
|
3929
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3927
3930
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3928
3931
|
maximumItemsPerOrder: number | null;
|
|
3929
3932
|
deliveryNoteText: string | null;
|
|
3930
3933
|
boletoPaymentNoteText: string | null;
|
|
3931
3934
|
}, {
|
|
3932
|
-
allowPurchasesFrom: "
|
|
3935
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3933
3936
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3934
3937
|
maximumItemsPerOrder: number | null;
|
|
3935
3938
|
deliveryNoteText: string | null;
|
|
3936
3939
|
boletoPaymentNoteText: string | null;
|
|
3937
3940
|
}>;
|
|
3938
3941
|
}, "strict", z.ZodTypeAny, {
|
|
3942
|
+
orderBumps: {
|
|
3943
|
+
mergeOrderBumpOrders: boolean;
|
|
3944
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
3945
|
+
maxVisibleOffers: number;
|
|
3946
|
+
};
|
|
3947
|
+
shipping: {
|
|
3948
|
+
showDeliveryTime: boolean;
|
|
3949
|
+
showDeliveryTimeInDays: boolean;
|
|
3950
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
3951
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3952
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
3953
|
+
};
|
|
3939
3954
|
general: {
|
|
3940
3955
|
allowGuestCheckout: boolean;
|
|
3941
3956
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3946,31 +3961,31 @@ declare const StorefrontCheckoutSettingsSchema: z.ZodObject<{
|
|
|
3946
3961
|
requestCustomerDateOfBirth: boolean;
|
|
3947
3962
|
automaticallySelectBestPromotion: boolean;
|
|
3948
3963
|
};
|
|
3949
|
-
shipping: {
|
|
3950
|
-
showDeliveryTime: boolean;
|
|
3951
|
-
showDeliveryTimeInDays: boolean;
|
|
3952
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
3953
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3954
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
3955
|
-
};
|
|
3956
3964
|
cartPage: {
|
|
3957
3965
|
showShippingCostCalculation: boolean;
|
|
3958
3966
|
allowProductLinks: boolean;
|
|
3959
3967
|
redirectToCartPage: boolean;
|
|
3960
3968
|
};
|
|
3961
|
-
orderBumps: {
|
|
3962
|
-
mergeOrderBumpOrders: boolean;
|
|
3963
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3964
|
-
maxVisibleOffers: number;
|
|
3965
|
-
};
|
|
3966
3969
|
ordersAndPayments: {
|
|
3967
|
-
allowPurchasesFrom: "
|
|
3970
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
3968
3971
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
3969
3972
|
maximumItemsPerOrder: number | null;
|
|
3970
3973
|
deliveryNoteText: string | null;
|
|
3971
3974
|
boletoPaymentNoteText: string | null;
|
|
3972
3975
|
};
|
|
3973
3976
|
}, {
|
|
3977
|
+
orderBumps: {
|
|
3978
|
+
mergeOrderBumpOrders: boolean;
|
|
3979
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
3980
|
+
maxVisibleOffers: number;
|
|
3981
|
+
};
|
|
3982
|
+
shipping: {
|
|
3983
|
+
showDeliveryTime: boolean;
|
|
3984
|
+
showDeliveryTimeInDays: boolean;
|
|
3985
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
3986
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3987
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
3988
|
+
};
|
|
3974
3989
|
general: {
|
|
3975
3990
|
allowGuestCheckout: boolean;
|
|
3976
3991
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3981,25 +3996,13 @@ declare const StorefrontCheckoutSettingsSchema: z.ZodObject<{
|
|
|
3981
3996
|
requestCustomerDateOfBirth: boolean;
|
|
3982
3997
|
automaticallySelectBestPromotion: boolean;
|
|
3983
3998
|
};
|
|
3984
|
-
shipping: {
|
|
3985
|
-
showDeliveryTime: boolean;
|
|
3986
|
-
showDeliveryTimeInDays: boolean;
|
|
3987
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
3988
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
3989
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
3990
|
-
};
|
|
3991
3999
|
cartPage: {
|
|
3992
4000
|
showShippingCostCalculation: boolean;
|
|
3993
4001
|
allowProductLinks: boolean;
|
|
3994
4002
|
redirectToCartPage: boolean;
|
|
3995
4003
|
};
|
|
3996
|
-
orderBumps: {
|
|
3997
|
-
mergeOrderBumpOrders: boolean;
|
|
3998
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
3999
|
-
maxVisibleOffers: number;
|
|
4000
|
-
};
|
|
4001
4004
|
ordersAndPayments: {
|
|
4002
|
-
allowPurchasesFrom: "
|
|
4005
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4003
4006
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4004
4007
|
maximumItemsPerOrder: number | null;
|
|
4005
4008
|
deliveryNoteText: string | null;
|
|
@@ -4050,9 +4053,9 @@ declare const StorefrontThemeConfigSchema: z.ZodObject<{
|
|
|
4050
4053
|
}>;
|
|
4051
4054
|
declare const StorefrontStoreTypeSchema: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4052
4055
|
declare const StorefrontStoreSchema: z.ZodObject<{
|
|
4053
|
-
id: z.ZodString
|
|
4054
|
-
tenantId: z.ZodString
|
|
4055
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
4056
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4057
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4058
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
4056
4059
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4057
4060
|
isActive: z.ZodBoolean;
|
|
4058
4061
|
name: z.ZodString;
|
|
@@ -4173,19 +4176,31 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4173
4176
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
4174
4177
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
4175
4178
|
}, "strict", z.ZodTypeAny, {
|
|
4176
|
-
allowPurchasesFrom: "
|
|
4179
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4177
4180
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4178
4181
|
maximumItemsPerOrder: number | null;
|
|
4179
4182
|
deliveryNoteText: string | null;
|
|
4180
4183
|
boletoPaymentNoteText: string | null;
|
|
4181
4184
|
}, {
|
|
4182
|
-
allowPurchasesFrom: "
|
|
4185
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4183
4186
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4184
4187
|
maximumItemsPerOrder: number | null;
|
|
4185
4188
|
deliveryNoteText: string | null;
|
|
4186
4189
|
boletoPaymentNoteText: string | null;
|
|
4187
4190
|
}>;
|
|
4188
4191
|
}, "strict", z.ZodTypeAny, {
|
|
4192
|
+
orderBumps: {
|
|
4193
|
+
mergeOrderBumpOrders: boolean;
|
|
4194
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4195
|
+
maxVisibleOffers: number;
|
|
4196
|
+
};
|
|
4197
|
+
shipping: {
|
|
4198
|
+
showDeliveryTime: boolean;
|
|
4199
|
+
showDeliveryTimeInDays: boolean;
|
|
4200
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
4201
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4202
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
4203
|
+
};
|
|
4189
4204
|
general: {
|
|
4190
4205
|
allowGuestCheckout: boolean;
|
|
4191
4206
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4196,31 +4211,31 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4196
4211
|
requestCustomerDateOfBirth: boolean;
|
|
4197
4212
|
automaticallySelectBestPromotion: boolean;
|
|
4198
4213
|
};
|
|
4199
|
-
shipping: {
|
|
4200
|
-
showDeliveryTime: boolean;
|
|
4201
|
-
showDeliveryTimeInDays: boolean;
|
|
4202
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
4203
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4204
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
4205
|
-
};
|
|
4206
4214
|
cartPage: {
|
|
4207
4215
|
showShippingCostCalculation: boolean;
|
|
4208
4216
|
allowProductLinks: boolean;
|
|
4209
4217
|
redirectToCartPage: boolean;
|
|
4210
4218
|
};
|
|
4211
|
-
orderBumps: {
|
|
4212
|
-
mergeOrderBumpOrders: boolean;
|
|
4213
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
4214
|
-
maxVisibleOffers: number;
|
|
4215
|
-
};
|
|
4216
4219
|
ordersAndPayments: {
|
|
4217
|
-
allowPurchasesFrom: "
|
|
4220
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4218
4221
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4219
4222
|
maximumItemsPerOrder: number | null;
|
|
4220
4223
|
deliveryNoteText: string | null;
|
|
4221
4224
|
boletoPaymentNoteText: string | null;
|
|
4222
4225
|
};
|
|
4223
4226
|
}, {
|
|
4227
|
+
orderBumps: {
|
|
4228
|
+
mergeOrderBumpOrders: boolean;
|
|
4229
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4230
|
+
maxVisibleOffers: number;
|
|
4231
|
+
};
|
|
4232
|
+
shipping: {
|
|
4233
|
+
showDeliveryTime: boolean;
|
|
4234
|
+
showDeliveryTimeInDays: boolean;
|
|
4235
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
4236
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4237
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
4238
|
+
};
|
|
4224
4239
|
general: {
|
|
4225
4240
|
allowGuestCheckout: boolean;
|
|
4226
4241
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4231,25 +4246,13 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4231
4246
|
requestCustomerDateOfBirth: boolean;
|
|
4232
4247
|
automaticallySelectBestPromotion: boolean;
|
|
4233
4248
|
};
|
|
4234
|
-
shipping: {
|
|
4235
|
-
showDeliveryTime: boolean;
|
|
4236
|
-
showDeliveryTimeInDays: boolean;
|
|
4237
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
4238
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4239
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
4240
|
-
};
|
|
4241
4249
|
cartPage: {
|
|
4242
4250
|
showShippingCostCalculation: boolean;
|
|
4243
4251
|
allowProductLinks: boolean;
|
|
4244
4252
|
redirectToCartPage: boolean;
|
|
4245
4253
|
};
|
|
4246
|
-
orderBumps: {
|
|
4247
|
-
mergeOrderBumpOrders: boolean;
|
|
4248
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
4249
|
-
maxVisibleOffers: number;
|
|
4250
|
-
};
|
|
4251
4254
|
ordersAndPayments: {
|
|
4252
|
-
allowPurchasesFrom: "
|
|
4255
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4253
4256
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4254
4257
|
maximumItemsPerOrder: number | null;
|
|
4255
4258
|
deliveryNoteText: string | null;
|
|
@@ -4258,19 +4261,19 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4258
4261
|
}>;
|
|
4259
4262
|
}, "strict", z.ZodTypeAny, {
|
|
4260
4263
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
4261
|
-
name: string;
|
|
4262
4264
|
id: string;
|
|
4263
|
-
|
|
4265
|
+
slug: string | null;
|
|
4266
|
+
name: string;
|
|
4267
|
+
description: string;
|
|
4264
4268
|
sellerId: string | null;
|
|
4265
4269
|
isActive: boolean;
|
|
4266
|
-
|
|
4270
|
+
currency: string;
|
|
4271
|
+
tenantId: string;
|
|
4267
4272
|
logo: string | null;
|
|
4268
4273
|
icon: string | null;
|
|
4269
|
-
slug: string | null;
|
|
4270
4274
|
domain: string | null;
|
|
4271
4275
|
domains: string[];
|
|
4272
4276
|
timeZone: string;
|
|
4273
|
-
currency: string;
|
|
4274
4277
|
language: string;
|
|
4275
4278
|
visibility: "public" | "private";
|
|
4276
4279
|
themeConfig: {
|
|
@@ -4284,6 +4287,18 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4284
4287
|
flags: Record<string, boolean>;
|
|
4285
4288
|
};
|
|
4286
4289
|
checkoutSettings: {
|
|
4290
|
+
orderBumps: {
|
|
4291
|
+
mergeOrderBumpOrders: boolean;
|
|
4292
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4293
|
+
maxVisibleOffers: number;
|
|
4294
|
+
};
|
|
4295
|
+
shipping: {
|
|
4296
|
+
showDeliveryTime: boolean;
|
|
4297
|
+
showDeliveryTimeInDays: boolean;
|
|
4298
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
4299
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4300
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
4301
|
+
};
|
|
4287
4302
|
general: {
|
|
4288
4303
|
allowGuestCheckout: boolean;
|
|
4289
4304
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4294,25 +4309,13 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4294
4309
|
requestCustomerDateOfBirth: boolean;
|
|
4295
4310
|
automaticallySelectBestPromotion: boolean;
|
|
4296
4311
|
};
|
|
4297
|
-
shipping: {
|
|
4298
|
-
showDeliveryTime: boolean;
|
|
4299
|
-
showDeliveryTimeInDays: boolean;
|
|
4300
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
4301
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4302
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
4303
|
-
};
|
|
4304
4312
|
cartPage: {
|
|
4305
4313
|
showShippingCostCalculation: boolean;
|
|
4306
4314
|
allowProductLinks: boolean;
|
|
4307
4315
|
redirectToCartPage: boolean;
|
|
4308
4316
|
};
|
|
4309
|
-
orderBumps: {
|
|
4310
|
-
mergeOrderBumpOrders: boolean;
|
|
4311
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
4312
|
-
maxVisibleOffers: number;
|
|
4313
|
-
};
|
|
4314
4317
|
ordersAndPayments: {
|
|
4315
|
-
allowPurchasesFrom: "
|
|
4318
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4316
4319
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4317
4320
|
maximumItemsPerOrder: number | null;
|
|
4318
4321
|
deliveryNoteText: string | null;
|
|
@@ -4321,19 +4324,19 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4321
4324
|
};
|
|
4322
4325
|
}, {
|
|
4323
4326
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
4324
|
-
name: string;
|
|
4325
4327
|
id: string;
|
|
4326
|
-
|
|
4328
|
+
slug: string | null;
|
|
4329
|
+
name: string;
|
|
4330
|
+
description: string;
|
|
4327
4331
|
sellerId: string | null;
|
|
4328
4332
|
isActive: boolean;
|
|
4329
|
-
|
|
4333
|
+
currency: string;
|
|
4334
|
+
tenantId: string;
|
|
4330
4335
|
logo: string | null;
|
|
4331
4336
|
icon: string | null;
|
|
4332
|
-
slug: string | null;
|
|
4333
4337
|
domain: string | null;
|
|
4334
4338
|
domains: string[];
|
|
4335
4339
|
timeZone: string;
|
|
4336
|
-
currency: string;
|
|
4337
4340
|
language: string;
|
|
4338
4341
|
visibility: "public" | "private";
|
|
4339
4342
|
themeConfig: {
|
|
@@ -4347,6 +4350,18 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4347
4350
|
flags: Record<string, boolean>;
|
|
4348
4351
|
};
|
|
4349
4352
|
checkoutSettings: {
|
|
4353
|
+
orderBumps: {
|
|
4354
|
+
mergeOrderBumpOrders: boolean;
|
|
4355
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4356
|
+
maxVisibleOffers: number;
|
|
4357
|
+
};
|
|
4358
|
+
shipping: {
|
|
4359
|
+
showDeliveryTime: boolean;
|
|
4360
|
+
showDeliveryTimeInDays: boolean;
|
|
4361
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
4362
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4363
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
4364
|
+
};
|
|
4350
4365
|
general: {
|
|
4351
4366
|
allowGuestCheckout: boolean;
|
|
4352
4367
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4357,25 +4372,13 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
4357
4372
|
requestCustomerDateOfBirth: boolean;
|
|
4358
4373
|
automaticallySelectBestPromotion: boolean;
|
|
4359
4374
|
};
|
|
4360
|
-
shipping: {
|
|
4361
|
-
showDeliveryTime: boolean;
|
|
4362
|
-
showDeliveryTimeInDays: boolean;
|
|
4363
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
4364
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4365
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
4366
|
-
};
|
|
4367
4375
|
cartPage: {
|
|
4368
4376
|
showShippingCostCalculation: boolean;
|
|
4369
4377
|
allowProductLinks: boolean;
|
|
4370
4378
|
redirectToCartPage: boolean;
|
|
4371
4379
|
};
|
|
4372
|
-
orderBumps: {
|
|
4373
|
-
mergeOrderBumpOrders: boolean;
|
|
4374
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
4375
|
-
maxVisibleOffers: number;
|
|
4376
|
-
};
|
|
4377
4380
|
ordersAndPayments: {
|
|
4378
|
-
allowPurchasesFrom: "
|
|
4381
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4379
4382
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4380
4383
|
maximumItemsPerOrder: number | null;
|
|
4381
4384
|
deliveryNoteText: string | null;
|
|
@@ -4446,8 +4449,8 @@ declare const StorefrontCmsContactSchema: z.ZodObject<{
|
|
|
4446
4449
|
x: string | null;
|
|
4447
4450
|
}>;
|
|
4448
4451
|
}, "strict", z.ZodTypeAny, {
|
|
4449
|
-
supportEmail: string | null;
|
|
4450
4452
|
phone: string | null;
|
|
4453
|
+
supportEmail: string | null;
|
|
4451
4454
|
whatsapp: string | null;
|
|
4452
4455
|
address: string | null;
|
|
4453
4456
|
socialLinks: {
|
|
@@ -4458,8 +4461,8 @@ declare const StorefrontCmsContactSchema: z.ZodObject<{
|
|
|
4458
4461
|
x: string | null;
|
|
4459
4462
|
};
|
|
4460
4463
|
}, {
|
|
4461
|
-
supportEmail: string | null;
|
|
4462
4464
|
phone: string | null;
|
|
4465
|
+
supportEmail: string | null;
|
|
4463
4466
|
whatsapp: string | null;
|
|
4464
4467
|
address: string | null;
|
|
4465
4468
|
socialLinks: {
|
|
@@ -4558,8 +4561,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4558
4561
|
x: string | null;
|
|
4559
4562
|
}>;
|
|
4560
4563
|
}, "strict", z.ZodTypeAny, {
|
|
4561
|
-
supportEmail: string | null;
|
|
4562
4564
|
phone: string | null;
|
|
4565
|
+
supportEmail: string | null;
|
|
4563
4566
|
whatsapp: string | null;
|
|
4564
4567
|
address: string | null;
|
|
4565
4568
|
socialLinks: {
|
|
@@ -4570,8 +4573,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4570
4573
|
x: string | null;
|
|
4571
4574
|
};
|
|
4572
4575
|
}, {
|
|
4573
|
-
supportEmail: string | null;
|
|
4574
4576
|
phone: string | null;
|
|
4577
|
+
supportEmail: string | null;
|
|
4575
4578
|
whatsapp: string | null;
|
|
4576
4579
|
address: string | null;
|
|
4577
4580
|
socialLinks: {
|
|
@@ -4610,6 +4613,7 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4610
4613
|
}>;
|
|
4611
4614
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
4612
4615
|
}, "strict", z.ZodTypeAny, {
|
|
4616
|
+
updatedOn: string | null;
|
|
4613
4617
|
themeKey: string;
|
|
4614
4618
|
branding: {
|
|
4615
4619
|
logoUrl: string | null;
|
|
@@ -4625,8 +4629,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4625
4629
|
robotsIndex: boolean;
|
|
4626
4630
|
};
|
|
4627
4631
|
contact: {
|
|
4628
|
-
supportEmail: string | null;
|
|
4629
4632
|
phone: string | null;
|
|
4633
|
+
supportEmail: string | null;
|
|
4630
4634
|
whatsapp: string | null;
|
|
4631
4635
|
address: string | null;
|
|
4632
4636
|
socialLinks: {
|
|
@@ -4647,8 +4651,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4647
4651
|
head: string | null;
|
|
4648
4652
|
bodyEnd: string | null;
|
|
4649
4653
|
};
|
|
4650
|
-
updatedOn: string | null;
|
|
4651
4654
|
}, {
|
|
4655
|
+
updatedOn: string | null;
|
|
4652
4656
|
themeKey: string;
|
|
4653
4657
|
branding: {
|
|
4654
4658
|
logoUrl: string | null;
|
|
@@ -4664,8 +4668,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4664
4668
|
robotsIndex: boolean;
|
|
4665
4669
|
};
|
|
4666
4670
|
contact: {
|
|
4667
|
-
supportEmail: string | null;
|
|
4668
4671
|
phone: string | null;
|
|
4672
|
+
supportEmail: string | null;
|
|
4669
4673
|
whatsapp: string | null;
|
|
4670
4674
|
address: string | null;
|
|
4671
4675
|
socialLinks: {
|
|
@@ -4686,7 +4690,6 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4686
4690
|
head: string | null;
|
|
4687
4691
|
bodyEnd: string | null;
|
|
4688
4692
|
};
|
|
4689
|
-
updatedOn: string | null;
|
|
4690
4693
|
}>;
|
|
4691
4694
|
declare const StorefrontMenuItemSchema: z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>;
|
|
4692
4695
|
declare const StorefrontMenuSchema: z.ZodObject<{
|
|
@@ -4694,16 +4697,16 @@ declare const StorefrontMenuSchema: z.ZodObject<{
|
|
|
4694
4697
|
name: z.ZodString;
|
|
4695
4698
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
4696
4699
|
}, "strict", z.ZodTypeAny, {
|
|
4697
|
-
name: string;
|
|
4698
4700
|
key: string;
|
|
4701
|
+
name: string;
|
|
4699
4702
|
items: CmsMenuItem[];
|
|
4700
4703
|
}, {
|
|
4701
|
-
name: string;
|
|
4702
4704
|
key: string;
|
|
4705
|
+
name: string;
|
|
4703
4706
|
items: CmsMenuItem[];
|
|
4704
4707
|
}>;
|
|
4705
4708
|
declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
4706
|
-
id: z.ZodString
|
|
4709
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4707
4710
|
name: z.ZodString;
|
|
4708
4711
|
slug: z.ZodString;
|
|
4709
4712
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -4711,12 +4714,12 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4711
4714
|
version: z.ZodNullable<z.ZodNumber>;
|
|
4712
4715
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
4713
4716
|
sections: z.ZodArray<z.ZodObject<{
|
|
4714
|
-
id: z.ZodString
|
|
4717
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4715
4718
|
type: z.ZodString;
|
|
4716
4719
|
order: z.ZodNumber;
|
|
4717
4720
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
4718
4721
|
blocks: z.ZodArray<z.ZodObject<{
|
|
4719
|
-
id: z.ZodString
|
|
4722
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4720
4723
|
type: z.ZodString;
|
|
4721
4724
|
order: z.ZodNumber;
|
|
4722
4725
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -4764,15 +4767,16 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4764
4767
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
4765
4768
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
4766
4769
|
}, "strict", z.ZodTypeAny, {
|
|
4770
|
+
version: number | null;
|
|
4767
4771
|
status: "draft" | "published" | "archived";
|
|
4768
|
-
name: string;
|
|
4769
4772
|
id: string;
|
|
4770
4773
|
slug: string;
|
|
4774
|
+
name: string;
|
|
4775
|
+
createdOn: string;
|
|
4771
4776
|
updatedOn: string | null;
|
|
4772
4777
|
settings: JsonElement;
|
|
4773
4778
|
channel: "storefront" | "pos";
|
|
4774
4779
|
layout: string;
|
|
4775
|
-
version: number | null;
|
|
4776
4780
|
sections: {
|
|
4777
4781
|
type: string;
|
|
4778
4782
|
id: string;
|
|
@@ -4788,20 +4792,20 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4788
4792
|
hasPublishedVersion: boolean;
|
|
4789
4793
|
publishedOn: string | null;
|
|
4790
4794
|
publishedBy: string | null;
|
|
4791
|
-
createdOn: string;
|
|
4792
4795
|
createdBy: string | null;
|
|
4793
4796
|
updatedBy: string | null;
|
|
4794
4797
|
lastModifiedBy: string | null;
|
|
4795
4798
|
}, {
|
|
4799
|
+
version: number | null;
|
|
4796
4800
|
status: "draft" | "published" | "archived";
|
|
4797
|
-
name: string;
|
|
4798
4801
|
id: string;
|
|
4799
4802
|
slug: string;
|
|
4803
|
+
name: string;
|
|
4804
|
+
createdOn: string;
|
|
4800
4805
|
updatedOn: string | null;
|
|
4801
4806
|
settings: JsonElement;
|
|
4802
4807
|
channel: "storefront" | "pos";
|
|
4803
4808
|
layout: string;
|
|
4804
|
-
version: number | null;
|
|
4805
4809
|
sections: {
|
|
4806
4810
|
type: string;
|
|
4807
4811
|
id: string;
|
|
@@ -4817,7 +4821,6 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4817
4821
|
hasPublishedVersion: boolean;
|
|
4818
4822
|
publishedOn: string | null;
|
|
4819
4823
|
publishedBy: string | null;
|
|
4820
|
-
createdOn: string;
|
|
4821
4824
|
createdBy: string | null;
|
|
4822
4825
|
updatedBy: string | null;
|
|
4823
4826
|
lastModifiedBy: string | null;
|
|
@@ -4826,9 +4829,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
4826
4829
|
schemaVersion: z.ZodLiteral<1>;
|
|
4827
4830
|
generatedAt: z.ZodString;
|
|
4828
4831
|
store: z.ZodObject<{
|
|
4829
|
-
id: z.ZodString
|
|
4830
|
-
tenantId: z.ZodString
|
|
4831
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
4832
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4833
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
4834
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
4832
4835
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4833
4836
|
isActive: z.ZodBoolean;
|
|
4834
4837
|
name: z.ZodString;
|
|
@@ -4949,19 +4952,31 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
4949
4952
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
4950
4953
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
4951
4954
|
}, "strict", z.ZodTypeAny, {
|
|
4952
|
-
allowPurchasesFrom: "
|
|
4955
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4953
4956
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4954
4957
|
maximumItemsPerOrder: number | null;
|
|
4955
4958
|
deliveryNoteText: string | null;
|
|
4956
4959
|
boletoPaymentNoteText: string | null;
|
|
4957
4960
|
}, {
|
|
4958
|
-
allowPurchasesFrom: "
|
|
4961
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4959
4962
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4960
4963
|
maximumItemsPerOrder: number | null;
|
|
4961
4964
|
deliveryNoteText: string | null;
|
|
4962
4965
|
boletoPaymentNoteText: string | null;
|
|
4963
4966
|
}>;
|
|
4964
4967
|
}, "strict", z.ZodTypeAny, {
|
|
4968
|
+
orderBumps: {
|
|
4969
|
+
mergeOrderBumpOrders: boolean;
|
|
4970
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4971
|
+
maxVisibleOffers: number;
|
|
4972
|
+
};
|
|
4973
|
+
shipping: {
|
|
4974
|
+
showDeliveryTime: boolean;
|
|
4975
|
+
showDeliveryTimeInDays: boolean;
|
|
4976
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
4977
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4978
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
4979
|
+
};
|
|
4965
4980
|
general: {
|
|
4966
4981
|
allowGuestCheckout: boolean;
|
|
4967
4982
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4972,31 +4987,31 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
4972
4987
|
requestCustomerDateOfBirth: boolean;
|
|
4973
4988
|
automaticallySelectBestPromotion: boolean;
|
|
4974
4989
|
};
|
|
4975
|
-
shipping: {
|
|
4976
|
-
showDeliveryTime: boolean;
|
|
4977
|
-
showDeliveryTimeInDays: boolean;
|
|
4978
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
4979
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
4980
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
4981
|
-
};
|
|
4982
4990
|
cartPage: {
|
|
4983
4991
|
showShippingCostCalculation: boolean;
|
|
4984
4992
|
allowProductLinks: boolean;
|
|
4985
4993
|
redirectToCartPage: boolean;
|
|
4986
4994
|
};
|
|
4987
|
-
orderBumps: {
|
|
4988
|
-
mergeOrderBumpOrders: boolean;
|
|
4989
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
4990
|
-
maxVisibleOffers: number;
|
|
4991
|
-
};
|
|
4992
4995
|
ordersAndPayments: {
|
|
4993
|
-
allowPurchasesFrom: "
|
|
4996
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
4994
4997
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
4995
4998
|
maximumItemsPerOrder: number | null;
|
|
4996
4999
|
deliveryNoteText: string | null;
|
|
4997
5000
|
boletoPaymentNoteText: string | null;
|
|
4998
5001
|
};
|
|
4999
5002
|
}, {
|
|
5003
|
+
orderBumps: {
|
|
5004
|
+
mergeOrderBumpOrders: boolean;
|
|
5005
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
5006
|
+
maxVisibleOffers: number;
|
|
5007
|
+
};
|
|
5008
|
+
shipping: {
|
|
5009
|
+
showDeliveryTime: boolean;
|
|
5010
|
+
showDeliveryTimeInDays: boolean;
|
|
5011
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
5012
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5013
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
5014
|
+
};
|
|
5000
5015
|
general: {
|
|
5001
5016
|
allowGuestCheckout: boolean;
|
|
5002
5017
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5007,25 +5022,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5007
5022
|
requestCustomerDateOfBirth: boolean;
|
|
5008
5023
|
automaticallySelectBestPromotion: boolean;
|
|
5009
5024
|
};
|
|
5010
|
-
shipping: {
|
|
5011
|
-
showDeliveryTime: boolean;
|
|
5012
|
-
showDeliveryTimeInDays: boolean;
|
|
5013
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
5014
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5015
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
5016
|
-
};
|
|
5017
5025
|
cartPage: {
|
|
5018
5026
|
showShippingCostCalculation: boolean;
|
|
5019
5027
|
allowProductLinks: boolean;
|
|
5020
5028
|
redirectToCartPage: boolean;
|
|
5021
5029
|
};
|
|
5022
|
-
orderBumps: {
|
|
5023
|
-
mergeOrderBumpOrders: boolean;
|
|
5024
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
5025
|
-
maxVisibleOffers: number;
|
|
5026
|
-
};
|
|
5027
5030
|
ordersAndPayments: {
|
|
5028
|
-
allowPurchasesFrom: "
|
|
5031
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
5029
5032
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
5030
5033
|
maximumItemsPerOrder: number | null;
|
|
5031
5034
|
deliveryNoteText: string | null;
|
|
@@ -5034,19 +5037,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5034
5037
|
}>;
|
|
5035
5038
|
}, "strip", z.ZodTypeAny, {
|
|
5036
5039
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
5037
|
-
name: string;
|
|
5038
5040
|
id: string;
|
|
5039
|
-
|
|
5041
|
+
slug: string | null;
|
|
5042
|
+
name: string;
|
|
5043
|
+
description: string;
|
|
5040
5044
|
sellerId: string | null;
|
|
5041
5045
|
isActive: boolean;
|
|
5042
|
-
|
|
5046
|
+
currency: string;
|
|
5047
|
+
tenantId: string;
|
|
5043
5048
|
logo: string | null;
|
|
5044
5049
|
icon: string | null;
|
|
5045
|
-
slug: string | null;
|
|
5046
5050
|
domain: string | null;
|
|
5047
5051
|
domains: string[];
|
|
5048
5052
|
timeZone: string;
|
|
5049
|
-
currency: string;
|
|
5050
5053
|
language: string;
|
|
5051
5054
|
visibility: "public" | "private";
|
|
5052
5055
|
themeConfig: {
|
|
@@ -5060,6 +5063,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5060
5063
|
flags: Record<string, boolean>;
|
|
5061
5064
|
};
|
|
5062
5065
|
checkoutSettings: {
|
|
5066
|
+
orderBumps: {
|
|
5067
|
+
mergeOrderBumpOrders: boolean;
|
|
5068
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
5069
|
+
maxVisibleOffers: number;
|
|
5070
|
+
};
|
|
5071
|
+
shipping: {
|
|
5072
|
+
showDeliveryTime: boolean;
|
|
5073
|
+
showDeliveryTimeInDays: boolean;
|
|
5074
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
5075
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5076
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
5077
|
+
};
|
|
5063
5078
|
general: {
|
|
5064
5079
|
allowGuestCheckout: boolean;
|
|
5065
5080
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5070,25 +5085,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5070
5085
|
requestCustomerDateOfBirth: boolean;
|
|
5071
5086
|
automaticallySelectBestPromotion: boolean;
|
|
5072
5087
|
};
|
|
5073
|
-
shipping: {
|
|
5074
|
-
showDeliveryTime: boolean;
|
|
5075
|
-
showDeliveryTimeInDays: boolean;
|
|
5076
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
5077
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5078
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
5079
|
-
};
|
|
5080
5088
|
cartPage: {
|
|
5081
5089
|
showShippingCostCalculation: boolean;
|
|
5082
5090
|
allowProductLinks: boolean;
|
|
5083
5091
|
redirectToCartPage: boolean;
|
|
5084
5092
|
};
|
|
5085
|
-
orderBumps: {
|
|
5086
|
-
mergeOrderBumpOrders: boolean;
|
|
5087
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
5088
|
-
maxVisibleOffers: number;
|
|
5089
|
-
};
|
|
5090
5093
|
ordersAndPayments: {
|
|
5091
|
-
allowPurchasesFrom: "
|
|
5094
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
5092
5095
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
5093
5096
|
maximumItemsPerOrder: number | null;
|
|
5094
5097
|
deliveryNoteText: string | null;
|
|
@@ -5097,19 +5100,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5097
5100
|
};
|
|
5098
5101
|
}, {
|
|
5099
5102
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
5100
|
-
name: string;
|
|
5101
5103
|
id: string;
|
|
5102
|
-
|
|
5104
|
+
slug: string | null;
|
|
5105
|
+
name: string;
|
|
5106
|
+
description: string;
|
|
5103
5107
|
sellerId: string | null;
|
|
5104
5108
|
isActive: boolean;
|
|
5105
|
-
|
|
5109
|
+
currency: string;
|
|
5110
|
+
tenantId: string;
|
|
5106
5111
|
logo: string | null;
|
|
5107
5112
|
icon: string | null;
|
|
5108
|
-
slug: string | null;
|
|
5109
5113
|
domain: string | null;
|
|
5110
5114
|
domains: string[];
|
|
5111
5115
|
timeZone: string;
|
|
5112
|
-
currency: string;
|
|
5113
5116
|
language: string;
|
|
5114
5117
|
visibility: "public" | "private";
|
|
5115
5118
|
themeConfig: {
|
|
@@ -5123,6 +5126,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5123
5126
|
flags: Record<string, boolean>;
|
|
5124
5127
|
};
|
|
5125
5128
|
checkoutSettings: {
|
|
5129
|
+
orderBumps: {
|
|
5130
|
+
mergeOrderBumpOrders: boolean;
|
|
5131
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
5132
|
+
maxVisibleOffers: number;
|
|
5133
|
+
};
|
|
5134
|
+
shipping: {
|
|
5135
|
+
showDeliveryTime: boolean;
|
|
5136
|
+
showDeliveryTimeInDays: boolean;
|
|
5137
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
5138
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5139
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
5140
|
+
};
|
|
5126
5141
|
general: {
|
|
5127
5142
|
allowGuestCheckout: boolean;
|
|
5128
5143
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5133,25 +5148,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5133
5148
|
requestCustomerDateOfBirth: boolean;
|
|
5134
5149
|
automaticallySelectBestPromotion: boolean;
|
|
5135
5150
|
};
|
|
5136
|
-
shipping: {
|
|
5137
|
-
showDeliveryTime: boolean;
|
|
5138
|
-
showDeliveryTimeInDays: boolean;
|
|
5139
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
5140
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5141
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
5142
|
-
};
|
|
5143
5151
|
cartPage: {
|
|
5144
5152
|
showShippingCostCalculation: boolean;
|
|
5145
5153
|
allowProductLinks: boolean;
|
|
5146
5154
|
redirectToCartPage: boolean;
|
|
5147
5155
|
};
|
|
5148
|
-
orderBumps: {
|
|
5149
|
-
mergeOrderBumpOrders: boolean;
|
|
5150
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
5151
|
-
maxVisibleOffers: number;
|
|
5152
|
-
};
|
|
5153
5156
|
ordersAndPayments: {
|
|
5154
|
-
allowPurchasesFrom: "
|
|
5157
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
5155
5158
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
5156
5159
|
maximumItemsPerOrder: number | null;
|
|
5157
5160
|
deliveryNoteText: string | null;
|
|
@@ -5222,8 +5225,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5222
5225
|
x: string | null;
|
|
5223
5226
|
}>;
|
|
5224
5227
|
}, "strict", z.ZodTypeAny, {
|
|
5225
|
-
supportEmail: string | null;
|
|
5226
5228
|
phone: string | null;
|
|
5229
|
+
supportEmail: string | null;
|
|
5227
5230
|
whatsapp: string | null;
|
|
5228
5231
|
address: string | null;
|
|
5229
5232
|
socialLinks: {
|
|
@@ -5234,8 +5237,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5234
5237
|
x: string | null;
|
|
5235
5238
|
};
|
|
5236
5239
|
}, {
|
|
5237
|
-
supportEmail: string | null;
|
|
5238
5240
|
phone: string | null;
|
|
5241
|
+
supportEmail: string | null;
|
|
5239
5242
|
whatsapp: string | null;
|
|
5240
5243
|
address: string | null;
|
|
5241
5244
|
socialLinks: {
|
|
@@ -5274,6 +5277,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5274
5277
|
}>;
|
|
5275
5278
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
5276
5279
|
}, "strict", z.ZodTypeAny, {
|
|
5280
|
+
updatedOn: string | null;
|
|
5277
5281
|
themeKey: string;
|
|
5278
5282
|
branding: {
|
|
5279
5283
|
logoUrl: string | null;
|
|
@@ -5289,8 +5293,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5289
5293
|
robotsIndex: boolean;
|
|
5290
5294
|
};
|
|
5291
5295
|
contact: {
|
|
5292
|
-
supportEmail: string | null;
|
|
5293
5296
|
phone: string | null;
|
|
5297
|
+
supportEmail: string | null;
|
|
5294
5298
|
whatsapp: string | null;
|
|
5295
5299
|
address: string | null;
|
|
5296
5300
|
socialLinks: {
|
|
@@ -5311,8 +5315,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5311
5315
|
head: string | null;
|
|
5312
5316
|
bodyEnd: string | null;
|
|
5313
5317
|
};
|
|
5314
|
-
updatedOn: string | null;
|
|
5315
5318
|
}, {
|
|
5319
|
+
updatedOn: string | null;
|
|
5316
5320
|
themeKey: string;
|
|
5317
5321
|
branding: {
|
|
5318
5322
|
logoUrl: string | null;
|
|
@@ -5328,8 +5332,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5328
5332
|
robotsIndex: boolean;
|
|
5329
5333
|
};
|
|
5330
5334
|
contact: {
|
|
5331
|
-
supportEmail: string | null;
|
|
5332
5335
|
phone: string | null;
|
|
5336
|
+
supportEmail: string | null;
|
|
5333
5337
|
whatsapp: string | null;
|
|
5334
5338
|
address: string | null;
|
|
5335
5339
|
socialLinks: {
|
|
@@ -5350,10 +5354,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5350
5354
|
head: string | null;
|
|
5351
5355
|
bodyEnd: string | null;
|
|
5352
5356
|
};
|
|
5353
|
-
updatedOn: string | null;
|
|
5354
5357
|
}>;
|
|
5355
5358
|
pages: z.ZodArray<z.ZodObject<{
|
|
5356
|
-
id: z.ZodString
|
|
5359
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5357
5360
|
name: z.ZodString;
|
|
5358
5361
|
slug: z.ZodString;
|
|
5359
5362
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -5361,12 +5364,12 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5361
5364
|
version: z.ZodNullable<z.ZodNumber>;
|
|
5362
5365
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
5363
5366
|
sections: z.ZodArray<z.ZodObject<{
|
|
5364
|
-
id: z.ZodString
|
|
5367
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5365
5368
|
type: z.ZodString;
|
|
5366
5369
|
order: z.ZodNumber;
|
|
5367
5370
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
5368
5371
|
blocks: z.ZodArray<z.ZodObject<{
|
|
5369
|
-
id: z.ZodString
|
|
5372
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5370
5373
|
type: z.ZodString;
|
|
5371
5374
|
order: z.ZodNumber;
|
|
5372
5375
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -5414,15 +5417,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5414
5417
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
5415
5418
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
5416
5419
|
}, "strict", z.ZodTypeAny, {
|
|
5420
|
+
version: number | null;
|
|
5417
5421
|
status: "draft" | "published" | "archived";
|
|
5418
|
-
name: string;
|
|
5419
5422
|
id: string;
|
|
5420
5423
|
slug: string;
|
|
5424
|
+
name: string;
|
|
5425
|
+
createdOn: string;
|
|
5421
5426
|
updatedOn: string | null;
|
|
5422
5427
|
settings: JsonElement;
|
|
5423
5428
|
channel: "storefront" | "pos";
|
|
5424
5429
|
layout: string;
|
|
5425
|
-
version: number | null;
|
|
5426
5430
|
sections: {
|
|
5427
5431
|
type: string;
|
|
5428
5432
|
id: string;
|
|
@@ -5438,20 +5442,20 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5438
5442
|
hasPublishedVersion: boolean;
|
|
5439
5443
|
publishedOn: string | null;
|
|
5440
5444
|
publishedBy: string | null;
|
|
5441
|
-
createdOn: string;
|
|
5442
5445
|
createdBy: string | null;
|
|
5443
5446
|
updatedBy: string | null;
|
|
5444
5447
|
lastModifiedBy: string | null;
|
|
5445
5448
|
}, {
|
|
5449
|
+
version: number | null;
|
|
5446
5450
|
status: "draft" | "published" | "archived";
|
|
5447
|
-
name: string;
|
|
5448
5451
|
id: string;
|
|
5449
5452
|
slug: string;
|
|
5453
|
+
name: string;
|
|
5454
|
+
createdOn: string;
|
|
5450
5455
|
updatedOn: string | null;
|
|
5451
5456
|
settings: JsonElement;
|
|
5452
5457
|
channel: "storefront" | "pos";
|
|
5453
5458
|
layout: string;
|
|
5454
|
-
version: number | null;
|
|
5455
5459
|
sections: {
|
|
5456
5460
|
type: string;
|
|
5457
5461
|
id: string;
|
|
@@ -5467,7 +5471,6 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5467
5471
|
hasPublishedVersion: boolean;
|
|
5468
5472
|
publishedOn: string | null;
|
|
5469
5473
|
publishedBy: string | null;
|
|
5470
|
-
createdOn: string;
|
|
5471
5474
|
createdBy: string | null;
|
|
5472
5475
|
updatedBy: string | null;
|
|
5473
5476
|
lastModifiedBy: string | null;
|
|
@@ -5477,16 +5480,17 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5477
5480
|
name: z.ZodString;
|
|
5478
5481
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
5479
5482
|
}, "strict", z.ZodTypeAny, {
|
|
5480
|
-
name: string;
|
|
5481
5483
|
key: string;
|
|
5484
|
+
name: string;
|
|
5482
5485
|
items: CmsMenuItem[];
|
|
5483
5486
|
}, {
|
|
5484
|
-
name: string;
|
|
5485
5487
|
key: string;
|
|
5488
|
+
name: string;
|
|
5486
5489
|
items: CmsMenuItem[];
|
|
5487
5490
|
}>, "many">;
|
|
5488
5491
|
}, "strict", z.ZodTypeAny, {
|
|
5489
5492
|
settings: {
|
|
5493
|
+
updatedOn: string | null;
|
|
5490
5494
|
themeKey: string;
|
|
5491
5495
|
branding: {
|
|
5492
5496
|
logoUrl: string | null;
|
|
@@ -5502,8 +5506,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5502
5506
|
robotsIndex: boolean;
|
|
5503
5507
|
};
|
|
5504
5508
|
contact: {
|
|
5505
|
-
supportEmail: string | null;
|
|
5506
5509
|
phone: string | null;
|
|
5510
|
+
supportEmail: string | null;
|
|
5507
5511
|
whatsapp: string | null;
|
|
5508
5512
|
address: string | null;
|
|
5509
5513
|
socialLinks: {
|
|
@@ -5524,18 +5528,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5524
5528
|
head: string | null;
|
|
5525
5529
|
bodyEnd: string | null;
|
|
5526
5530
|
};
|
|
5527
|
-
updatedOn: string | null;
|
|
5528
5531
|
};
|
|
5529
5532
|
pages: {
|
|
5533
|
+
version: number | null;
|
|
5530
5534
|
status: "draft" | "published" | "archived";
|
|
5531
|
-
name: string;
|
|
5532
5535
|
id: string;
|
|
5533
5536
|
slug: string;
|
|
5537
|
+
name: string;
|
|
5538
|
+
createdOn: string;
|
|
5534
5539
|
updatedOn: string | null;
|
|
5535
5540
|
settings: JsonElement;
|
|
5536
5541
|
channel: "storefront" | "pos";
|
|
5537
5542
|
layout: string;
|
|
5538
|
-
version: number | null;
|
|
5539
5543
|
sections: {
|
|
5540
5544
|
type: string;
|
|
5541
5545
|
id: string;
|
|
@@ -5551,18 +5555,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5551
5555
|
hasPublishedVersion: boolean;
|
|
5552
5556
|
publishedOn: string | null;
|
|
5553
5557
|
publishedBy: string | null;
|
|
5554
|
-
createdOn: string;
|
|
5555
5558
|
createdBy: string | null;
|
|
5556
5559
|
updatedBy: string | null;
|
|
5557
5560
|
lastModifiedBy: string | null;
|
|
5558
5561
|
}[];
|
|
5559
5562
|
menus: {
|
|
5560
|
-
name: string;
|
|
5561
5563
|
key: string;
|
|
5564
|
+
name: string;
|
|
5562
5565
|
items: CmsMenuItem[];
|
|
5563
5566
|
}[];
|
|
5564
5567
|
}, {
|
|
5565
5568
|
settings: {
|
|
5569
|
+
updatedOn: string | null;
|
|
5566
5570
|
themeKey: string;
|
|
5567
5571
|
branding: {
|
|
5568
5572
|
logoUrl: string | null;
|
|
@@ -5578,8 +5582,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5578
5582
|
robotsIndex: boolean;
|
|
5579
5583
|
};
|
|
5580
5584
|
contact: {
|
|
5581
|
-
supportEmail: string | null;
|
|
5582
5585
|
phone: string | null;
|
|
5586
|
+
supportEmail: string | null;
|
|
5583
5587
|
whatsapp: string | null;
|
|
5584
5588
|
address: string | null;
|
|
5585
5589
|
socialLinks: {
|
|
@@ -5600,18 +5604,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5600
5604
|
head: string | null;
|
|
5601
5605
|
bodyEnd: string | null;
|
|
5602
5606
|
};
|
|
5603
|
-
updatedOn: string | null;
|
|
5604
5607
|
};
|
|
5605
5608
|
pages: {
|
|
5609
|
+
version: number | null;
|
|
5606
5610
|
status: "draft" | "published" | "archived";
|
|
5607
|
-
name: string;
|
|
5608
5611
|
id: string;
|
|
5609
5612
|
slug: string;
|
|
5613
|
+
name: string;
|
|
5614
|
+
createdOn: string;
|
|
5610
5615
|
updatedOn: string | null;
|
|
5611
5616
|
settings: JsonElement;
|
|
5612
5617
|
channel: "storefront" | "pos";
|
|
5613
5618
|
layout: string;
|
|
5614
|
-
version: number | null;
|
|
5615
5619
|
sections: {
|
|
5616
5620
|
type: string;
|
|
5617
5621
|
id: string;
|
|
@@ -5627,33 +5631,32 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5627
5631
|
hasPublishedVersion: boolean;
|
|
5628
5632
|
publishedOn: string | null;
|
|
5629
5633
|
publishedBy: string | null;
|
|
5630
|
-
createdOn: string;
|
|
5631
5634
|
createdBy: string | null;
|
|
5632
5635
|
updatedBy: string | null;
|
|
5633
5636
|
lastModifiedBy: string | null;
|
|
5634
5637
|
}[];
|
|
5635
5638
|
menus: {
|
|
5636
|
-
name: string;
|
|
5637
5639
|
key: string;
|
|
5640
|
+
name: string;
|
|
5638
5641
|
items: CmsMenuItem[];
|
|
5639
5642
|
}[];
|
|
5640
5643
|
}>;
|
|
5641
5644
|
}, "strict", z.ZodTypeAny, {
|
|
5642
5645
|
store: {
|
|
5643
5646
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
5644
|
-
name: string;
|
|
5645
5647
|
id: string;
|
|
5646
|
-
|
|
5648
|
+
slug: string | null;
|
|
5649
|
+
name: string;
|
|
5650
|
+
description: string;
|
|
5647
5651
|
sellerId: string | null;
|
|
5648
5652
|
isActive: boolean;
|
|
5649
|
-
|
|
5653
|
+
currency: string;
|
|
5654
|
+
tenantId: string;
|
|
5650
5655
|
logo: string | null;
|
|
5651
5656
|
icon: string | null;
|
|
5652
|
-
slug: string | null;
|
|
5653
5657
|
domain: string | null;
|
|
5654
5658
|
domains: string[];
|
|
5655
5659
|
timeZone: string;
|
|
5656
|
-
currency: string;
|
|
5657
5660
|
language: string;
|
|
5658
5661
|
visibility: "public" | "private";
|
|
5659
5662
|
themeConfig: {
|
|
@@ -5667,6 +5670,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5667
5670
|
flags: Record<string, boolean>;
|
|
5668
5671
|
};
|
|
5669
5672
|
checkoutSettings: {
|
|
5673
|
+
orderBumps: {
|
|
5674
|
+
mergeOrderBumpOrders: boolean;
|
|
5675
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
5676
|
+
maxVisibleOffers: number;
|
|
5677
|
+
};
|
|
5678
|
+
shipping: {
|
|
5679
|
+
showDeliveryTime: boolean;
|
|
5680
|
+
showDeliveryTimeInDays: boolean;
|
|
5681
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
5682
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5683
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
5684
|
+
};
|
|
5670
5685
|
general: {
|
|
5671
5686
|
allowGuestCheckout: boolean;
|
|
5672
5687
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5677,25 +5692,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5677
5692
|
requestCustomerDateOfBirth: boolean;
|
|
5678
5693
|
automaticallySelectBestPromotion: boolean;
|
|
5679
5694
|
};
|
|
5680
|
-
shipping: {
|
|
5681
|
-
showDeliveryTime: boolean;
|
|
5682
|
-
showDeliveryTimeInDays: boolean;
|
|
5683
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
5684
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5685
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
5686
|
-
};
|
|
5687
5695
|
cartPage: {
|
|
5688
5696
|
showShippingCostCalculation: boolean;
|
|
5689
5697
|
allowProductLinks: boolean;
|
|
5690
5698
|
redirectToCartPage: boolean;
|
|
5691
5699
|
};
|
|
5692
|
-
orderBumps: {
|
|
5693
|
-
mergeOrderBumpOrders: boolean;
|
|
5694
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
5695
|
-
maxVisibleOffers: number;
|
|
5696
|
-
};
|
|
5697
5700
|
ordersAndPayments: {
|
|
5698
|
-
allowPurchasesFrom: "
|
|
5701
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
5699
5702
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
5700
5703
|
maximumItemsPerOrder: number | null;
|
|
5701
5704
|
deliveryNoteText: string | null;
|
|
@@ -5707,6 +5710,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5707
5710
|
generatedAt: string;
|
|
5708
5711
|
cms: {
|
|
5709
5712
|
settings: {
|
|
5713
|
+
updatedOn: string | null;
|
|
5710
5714
|
themeKey: string;
|
|
5711
5715
|
branding: {
|
|
5712
5716
|
logoUrl: string | null;
|
|
@@ -5722,8 +5726,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5722
5726
|
robotsIndex: boolean;
|
|
5723
5727
|
};
|
|
5724
5728
|
contact: {
|
|
5725
|
-
supportEmail: string | null;
|
|
5726
5729
|
phone: string | null;
|
|
5730
|
+
supportEmail: string | null;
|
|
5727
5731
|
whatsapp: string | null;
|
|
5728
5732
|
address: string | null;
|
|
5729
5733
|
socialLinks: {
|
|
@@ -5744,18 +5748,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5744
5748
|
head: string | null;
|
|
5745
5749
|
bodyEnd: string | null;
|
|
5746
5750
|
};
|
|
5747
|
-
updatedOn: string | null;
|
|
5748
5751
|
};
|
|
5749
5752
|
pages: {
|
|
5753
|
+
version: number | null;
|
|
5750
5754
|
status: "draft" | "published" | "archived";
|
|
5751
|
-
name: string;
|
|
5752
5755
|
id: string;
|
|
5753
5756
|
slug: string;
|
|
5757
|
+
name: string;
|
|
5758
|
+
createdOn: string;
|
|
5754
5759
|
updatedOn: string | null;
|
|
5755
5760
|
settings: JsonElement;
|
|
5756
5761
|
channel: "storefront" | "pos";
|
|
5757
5762
|
layout: string;
|
|
5758
|
-
version: number | null;
|
|
5759
5763
|
sections: {
|
|
5760
5764
|
type: string;
|
|
5761
5765
|
id: string;
|
|
@@ -5771,33 +5775,32 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5771
5775
|
hasPublishedVersion: boolean;
|
|
5772
5776
|
publishedOn: string | null;
|
|
5773
5777
|
publishedBy: string | null;
|
|
5774
|
-
createdOn: string;
|
|
5775
5778
|
createdBy: string | null;
|
|
5776
5779
|
updatedBy: string | null;
|
|
5777
5780
|
lastModifiedBy: string | null;
|
|
5778
5781
|
}[];
|
|
5779
5782
|
menus: {
|
|
5780
|
-
name: string;
|
|
5781
5783
|
key: string;
|
|
5784
|
+
name: string;
|
|
5782
5785
|
items: CmsMenuItem[];
|
|
5783
5786
|
}[];
|
|
5784
5787
|
};
|
|
5785
5788
|
}, {
|
|
5786
5789
|
store: {
|
|
5787
5790
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
5788
|
-
name: string;
|
|
5789
5791
|
id: string;
|
|
5790
|
-
|
|
5792
|
+
slug: string | null;
|
|
5793
|
+
name: string;
|
|
5794
|
+
description: string;
|
|
5791
5795
|
sellerId: string | null;
|
|
5792
5796
|
isActive: boolean;
|
|
5793
|
-
|
|
5797
|
+
currency: string;
|
|
5798
|
+
tenantId: string;
|
|
5794
5799
|
logo: string | null;
|
|
5795
5800
|
icon: string | null;
|
|
5796
|
-
slug: string | null;
|
|
5797
5801
|
domain: string | null;
|
|
5798
5802
|
domains: string[];
|
|
5799
5803
|
timeZone: string;
|
|
5800
|
-
currency: string;
|
|
5801
5804
|
language: string;
|
|
5802
5805
|
visibility: "public" | "private";
|
|
5803
5806
|
themeConfig: {
|
|
@@ -5811,6 +5814,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5811
5814
|
flags: Record<string, boolean>;
|
|
5812
5815
|
};
|
|
5813
5816
|
checkoutSettings: {
|
|
5817
|
+
orderBumps: {
|
|
5818
|
+
mergeOrderBumpOrders: boolean;
|
|
5819
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
5820
|
+
maxVisibleOffers: number;
|
|
5821
|
+
};
|
|
5822
|
+
shipping: {
|
|
5823
|
+
showDeliveryTime: boolean;
|
|
5824
|
+
showDeliveryTimeInDays: boolean;
|
|
5825
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
5826
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5827
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
5828
|
+
};
|
|
5814
5829
|
general: {
|
|
5815
5830
|
allowGuestCheckout: boolean;
|
|
5816
5831
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5821,25 +5836,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5821
5836
|
requestCustomerDateOfBirth: boolean;
|
|
5822
5837
|
automaticallySelectBestPromotion: boolean;
|
|
5823
5838
|
};
|
|
5824
|
-
shipping: {
|
|
5825
|
-
showDeliveryTime: boolean;
|
|
5826
|
-
showDeliveryTimeInDays: boolean;
|
|
5827
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
5828
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
5829
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
5830
|
-
};
|
|
5831
5839
|
cartPage: {
|
|
5832
5840
|
showShippingCostCalculation: boolean;
|
|
5833
5841
|
allowProductLinks: boolean;
|
|
5834
5842
|
redirectToCartPage: boolean;
|
|
5835
5843
|
};
|
|
5836
|
-
orderBumps: {
|
|
5837
|
-
mergeOrderBumpOrders: boolean;
|
|
5838
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
5839
|
-
maxVisibleOffers: number;
|
|
5840
|
-
};
|
|
5841
5844
|
ordersAndPayments: {
|
|
5842
|
-
allowPurchasesFrom: "
|
|
5845
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
5843
5846
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
5844
5847
|
maximumItemsPerOrder: number | null;
|
|
5845
5848
|
deliveryNoteText: string | null;
|
|
@@ -5851,6 +5854,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5851
5854
|
generatedAt: string;
|
|
5852
5855
|
cms: {
|
|
5853
5856
|
settings: {
|
|
5857
|
+
updatedOn: string | null;
|
|
5854
5858
|
themeKey: string;
|
|
5855
5859
|
branding: {
|
|
5856
5860
|
logoUrl: string | null;
|
|
@@ -5866,8 +5870,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5866
5870
|
robotsIndex: boolean;
|
|
5867
5871
|
};
|
|
5868
5872
|
contact: {
|
|
5869
|
-
supportEmail: string | null;
|
|
5870
5873
|
phone: string | null;
|
|
5874
|
+
supportEmail: string | null;
|
|
5871
5875
|
whatsapp: string | null;
|
|
5872
5876
|
address: string | null;
|
|
5873
5877
|
socialLinks: {
|
|
@@ -5888,18 +5892,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5888
5892
|
head: string | null;
|
|
5889
5893
|
bodyEnd: string | null;
|
|
5890
5894
|
};
|
|
5891
|
-
updatedOn: string | null;
|
|
5892
5895
|
};
|
|
5893
5896
|
pages: {
|
|
5897
|
+
version: number | null;
|
|
5894
5898
|
status: "draft" | "published" | "archived";
|
|
5895
|
-
name: string;
|
|
5896
5899
|
id: string;
|
|
5897
5900
|
slug: string;
|
|
5901
|
+
name: string;
|
|
5902
|
+
createdOn: string;
|
|
5898
5903
|
updatedOn: string | null;
|
|
5899
5904
|
settings: JsonElement;
|
|
5900
5905
|
channel: "storefront" | "pos";
|
|
5901
5906
|
layout: string;
|
|
5902
|
-
version: number | null;
|
|
5903
5907
|
sections: {
|
|
5904
5908
|
type: string;
|
|
5905
5909
|
id: string;
|
|
@@ -5915,14 +5919,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5915
5919
|
hasPublishedVersion: boolean;
|
|
5916
5920
|
publishedOn: string | null;
|
|
5917
5921
|
publishedBy: string | null;
|
|
5918
|
-
createdOn: string;
|
|
5919
5922
|
createdBy: string | null;
|
|
5920
5923
|
updatedBy: string | null;
|
|
5921
5924
|
lastModifiedBy: string | null;
|
|
5922
5925
|
}[];
|
|
5923
5926
|
menus: {
|
|
5924
|
-
name: string;
|
|
5925
5927
|
key: string;
|
|
5928
|
+
name: string;
|
|
5926
5929
|
items: CmsMenuItem[];
|
|
5927
5930
|
}[];
|
|
5928
5931
|
};
|
|
@@ -5930,9 +5933,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5930
5933
|
schemaVersion: z.ZodLiteral<2>;
|
|
5931
5934
|
generatedAt: z.ZodString;
|
|
5932
5935
|
store: z.ZodObject<{
|
|
5933
|
-
id: z.ZodString
|
|
5934
|
-
tenantId: z.ZodString
|
|
5935
|
-
sellerId: z.ZodNullable<z.ZodString
|
|
5936
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5937
|
+
tenantId: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
5938
|
+
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
5936
5939
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
5937
5940
|
isActive: z.ZodBoolean;
|
|
5938
5941
|
name: z.ZodString;
|
|
@@ -6053,19 +6056,31 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6053
6056
|
deliveryNoteText: z.ZodNullable<z.ZodString>;
|
|
6054
6057
|
boletoPaymentNoteText: z.ZodNullable<z.ZodString>;
|
|
6055
6058
|
}, "strict", z.ZodTypeAny, {
|
|
6056
|
-
allowPurchasesFrom: "
|
|
6059
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6057
6060
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6058
6061
|
maximumItemsPerOrder: number | null;
|
|
6059
6062
|
deliveryNoteText: string | null;
|
|
6060
6063
|
boletoPaymentNoteText: string | null;
|
|
6061
6064
|
}, {
|
|
6062
|
-
allowPurchasesFrom: "
|
|
6065
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6063
6066
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6064
6067
|
maximumItemsPerOrder: number | null;
|
|
6065
6068
|
deliveryNoteText: string | null;
|
|
6066
6069
|
boletoPaymentNoteText: string | null;
|
|
6067
6070
|
}>;
|
|
6068
6071
|
}, "strict", z.ZodTypeAny, {
|
|
6072
|
+
orderBumps: {
|
|
6073
|
+
mergeOrderBumpOrders: boolean;
|
|
6074
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6075
|
+
maxVisibleOffers: number;
|
|
6076
|
+
};
|
|
6077
|
+
shipping: {
|
|
6078
|
+
showDeliveryTime: boolean;
|
|
6079
|
+
showDeliveryTimeInDays: boolean;
|
|
6080
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6081
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6082
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6083
|
+
};
|
|
6069
6084
|
general: {
|
|
6070
6085
|
allowGuestCheckout: boolean;
|
|
6071
6086
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6076,31 +6091,31 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6076
6091
|
requestCustomerDateOfBirth: boolean;
|
|
6077
6092
|
automaticallySelectBestPromotion: boolean;
|
|
6078
6093
|
};
|
|
6079
|
-
shipping: {
|
|
6080
|
-
showDeliveryTime: boolean;
|
|
6081
|
-
showDeliveryTimeInDays: boolean;
|
|
6082
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6083
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6084
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6085
|
-
};
|
|
6086
6094
|
cartPage: {
|
|
6087
6095
|
showShippingCostCalculation: boolean;
|
|
6088
6096
|
allowProductLinks: boolean;
|
|
6089
6097
|
redirectToCartPage: boolean;
|
|
6090
6098
|
};
|
|
6091
|
-
orderBumps: {
|
|
6092
|
-
mergeOrderBumpOrders: boolean;
|
|
6093
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6094
|
-
maxVisibleOffers: number;
|
|
6095
|
-
};
|
|
6096
6099
|
ordersAndPayments: {
|
|
6097
|
-
allowPurchasesFrom: "
|
|
6100
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6098
6101
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6099
6102
|
maximumItemsPerOrder: number | null;
|
|
6100
6103
|
deliveryNoteText: string | null;
|
|
6101
6104
|
boletoPaymentNoteText: string | null;
|
|
6102
6105
|
};
|
|
6103
6106
|
}, {
|
|
6107
|
+
orderBumps: {
|
|
6108
|
+
mergeOrderBumpOrders: boolean;
|
|
6109
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6110
|
+
maxVisibleOffers: number;
|
|
6111
|
+
};
|
|
6112
|
+
shipping: {
|
|
6113
|
+
showDeliveryTime: boolean;
|
|
6114
|
+
showDeliveryTimeInDays: boolean;
|
|
6115
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6116
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6117
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6118
|
+
};
|
|
6104
6119
|
general: {
|
|
6105
6120
|
allowGuestCheckout: boolean;
|
|
6106
6121
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6111,25 +6126,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6111
6126
|
requestCustomerDateOfBirth: boolean;
|
|
6112
6127
|
automaticallySelectBestPromotion: boolean;
|
|
6113
6128
|
};
|
|
6114
|
-
shipping: {
|
|
6115
|
-
showDeliveryTime: boolean;
|
|
6116
|
-
showDeliveryTimeInDays: boolean;
|
|
6117
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6118
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6119
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6120
|
-
};
|
|
6121
6129
|
cartPage: {
|
|
6122
6130
|
showShippingCostCalculation: boolean;
|
|
6123
6131
|
allowProductLinks: boolean;
|
|
6124
6132
|
redirectToCartPage: boolean;
|
|
6125
6133
|
};
|
|
6126
|
-
orderBumps: {
|
|
6127
|
-
mergeOrderBumpOrders: boolean;
|
|
6128
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6129
|
-
maxVisibleOffers: number;
|
|
6130
|
-
};
|
|
6131
6134
|
ordersAndPayments: {
|
|
6132
|
-
allowPurchasesFrom: "
|
|
6135
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6133
6136
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6134
6137
|
maximumItemsPerOrder: number | null;
|
|
6135
6138
|
deliveryNoteText: string | null;
|
|
@@ -6138,19 +6141,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6138
6141
|
}>;
|
|
6139
6142
|
}, "strict", z.ZodTypeAny, {
|
|
6140
6143
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
6141
|
-
name: string;
|
|
6142
6144
|
id: string;
|
|
6143
|
-
|
|
6145
|
+
slug: string | null;
|
|
6146
|
+
name: string;
|
|
6147
|
+
description: string;
|
|
6144
6148
|
sellerId: string | null;
|
|
6145
6149
|
isActive: boolean;
|
|
6146
|
-
|
|
6150
|
+
currency: string;
|
|
6151
|
+
tenantId: string;
|
|
6147
6152
|
logo: string | null;
|
|
6148
6153
|
icon: string | null;
|
|
6149
|
-
slug: string | null;
|
|
6150
6154
|
domain: string | null;
|
|
6151
6155
|
domains: string[];
|
|
6152
6156
|
timeZone: string;
|
|
6153
|
-
currency: string;
|
|
6154
6157
|
language: string;
|
|
6155
6158
|
visibility: "public" | "private";
|
|
6156
6159
|
themeConfig: {
|
|
@@ -6164,6 +6167,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6164
6167
|
flags: Record<string, boolean>;
|
|
6165
6168
|
};
|
|
6166
6169
|
checkoutSettings: {
|
|
6170
|
+
orderBumps: {
|
|
6171
|
+
mergeOrderBumpOrders: boolean;
|
|
6172
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6173
|
+
maxVisibleOffers: number;
|
|
6174
|
+
};
|
|
6175
|
+
shipping: {
|
|
6176
|
+
showDeliveryTime: boolean;
|
|
6177
|
+
showDeliveryTimeInDays: boolean;
|
|
6178
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6179
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6180
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6181
|
+
};
|
|
6167
6182
|
general: {
|
|
6168
6183
|
allowGuestCheckout: boolean;
|
|
6169
6184
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6174,25 +6189,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6174
6189
|
requestCustomerDateOfBirth: boolean;
|
|
6175
6190
|
automaticallySelectBestPromotion: boolean;
|
|
6176
6191
|
};
|
|
6177
|
-
shipping: {
|
|
6178
|
-
showDeliveryTime: boolean;
|
|
6179
|
-
showDeliveryTimeInDays: boolean;
|
|
6180
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6181
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6182
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6183
|
-
};
|
|
6184
6192
|
cartPage: {
|
|
6185
6193
|
showShippingCostCalculation: boolean;
|
|
6186
6194
|
allowProductLinks: boolean;
|
|
6187
6195
|
redirectToCartPage: boolean;
|
|
6188
6196
|
};
|
|
6189
|
-
orderBumps: {
|
|
6190
|
-
mergeOrderBumpOrders: boolean;
|
|
6191
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6192
|
-
maxVisibleOffers: number;
|
|
6193
|
-
};
|
|
6194
6197
|
ordersAndPayments: {
|
|
6195
|
-
allowPurchasesFrom: "
|
|
6198
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6196
6199
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6197
6200
|
maximumItemsPerOrder: number | null;
|
|
6198
6201
|
deliveryNoteText: string | null;
|
|
@@ -6201,19 +6204,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6201
6204
|
};
|
|
6202
6205
|
}, {
|
|
6203
6206
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
6204
|
-
name: string;
|
|
6205
6207
|
id: string;
|
|
6206
|
-
|
|
6208
|
+
slug: string | null;
|
|
6209
|
+
name: string;
|
|
6210
|
+
description: string;
|
|
6207
6211
|
sellerId: string | null;
|
|
6208
6212
|
isActive: boolean;
|
|
6209
|
-
|
|
6213
|
+
currency: string;
|
|
6214
|
+
tenantId: string;
|
|
6210
6215
|
logo: string | null;
|
|
6211
6216
|
icon: string | null;
|
|
6212
|
-
slug: string | null;
|
|
6213
6217
|
domain: string | null;
|
|
6214
6218
|
domains: string[];
|
|
6215
6219
|
timeZone: string;
|
|
6216
|
-
currency: string;
|
|
6217
6220
|
language: string;
|
|
6218
6221
|
visibility: "public" | "private";
|
|
6219
6222
|
themeConfig: {
|
|
@@ -6227,6 +6230,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6227
6230
|
flags: Record<string, boolean>;
|
|
6228
6231
|
};
|
|
6229
6232
|
checkoutSettings: {
|
|
6233
|
+
orderBumps: {
|
|
6234
|
+
mergeOrderBumpOrders: boolean;
|
|
6235
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6236
|
+
maxVisibleOffers: number;
|
|
6237
|
+
};
|
|
6238
|
+
shipping: {
|
|
6239
|
+
showDeliveryTime: boolean;
|
|
6240
|
+
showDeliveryTimeInDays: boolean;
|
|
6241
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6242
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6243
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6244
|
+
};
|
|
6230
6245
|
general: {
|
|
6231
6246
|
allowGuestCheckout: boolean;
|
|
6232
6247
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6237,25 +6252,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6237
6252
|
requestCustomerDateOfBirth: boolean;
|
|
6238
6253
|
automaticallySelectBestPromotion: boolean;
|
|
6239
6254
|
};
|
|
6240
|
-
shipping: {
|
|
6241
|
-
showDeliveryTime: boolean;
|
|
6242
|
-
showDeliveryTimeInDays: boolean;
|
|
6243
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6244
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6245
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6246
|
-
};
|
|
6247
6255
|
cartPage: {
|
|
6248
6256
|
showShippingCostCalculation: boolean;
|
|
6249
6257
|
allowProductLinks: boolean;
|
|
6250
6258
|
redirectToCartPage: boolean;
|
|
6251
6259
|
};
|
|
6252
|
-
orderBumps: {
|
|
6253
|
-
mergeOrderBumpOrders: boolean;
|
|
6254
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6255
|
-
maxVisibleOffers: number;
|
|
6256
|
-
};
|
|
6257
6260
|
ordersAndPayments: {
|
|
6258
|
-
allowPurchasesFrom: "
|
|
6261
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6259
6262
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6260
6263
|
maximumItemsPerOrder: number | null;
|
|
6261
6264
|
deliveryNoteText: string | null;
|
|
@@ -6326,8 +6329,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6326
6329
|
x: string | null;
|
|
6327
6330
|
}>;
|
|
6328
6331
|
}, "strict", z.ZodTypeAny, {
|
|
6329
|
-
supportEmail: string | null;
|
|
6330
6332
|
phone: string | null;
|
|
6333
|
+
supportEmail: string | null;
|
|
6331
6334
|
whatsapp: string | null;
|
|
6332
6335
|
address: string | null;
|
|
6333
6336
|
socialLinks: {
|
|
@@ -6338,8 +6341,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6338
6341
|
x: string | null;
|
|
6339
6342
|
};
|
|
6340
6343
|
}, {
|
|
6341
|
-
supportEmail: string | null;
|
|
6342
6344
|
phone: string | null;
|
|
6345
|
+
supportEmail: string | null;
|
|
6343
6346
|
whatsapp: string | null;
|
|
6344
6347
|
address: string | null;
|
|
6345
6348
|
socialLinks: {
|
|
@@ -6378,6 +6381,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6378
6381
|
}>;
|
|
6379
6382
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
6380
6383
|
}, "strict", z.ZodTypeAny, {
|
|
6384
|
+
updatedOn: string | null;
|
|
6381
6385
|
themeKey: string;
|
|
6382
6386
|
branding: {
|
|
6383
6387
|
logoUrl: string | null;
|
|
@@ -6393,8 +6397,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6393
6397
|
robotsIndex: boolean;
|
|
6394
6398
|
};
|
|
6395
6399
|
contact: {
|
|
6396
|
-
supportEmail: string | null;
|
|
6397
6400
|
phone: string | null;
|
|
6401
|
+
supportEmail: string | null;
|
|
6398
6402
|
whatsapp: string | null;
|
|
6399
6403
|
address: string | null;
|
|
6400
6404
|
socialLinks: {
|
|
@@ -6415,8 +6419,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6415
6419
|
head: string | null;
|
|
6416
6420
|
bodyEnd: string | null;
|
|
6417
6421
|
};
|
|
6418
|
-
updatedOn: string | null;
|
|
6419
6422
|
}, {
|
|
6423
|
+
updatedOn: string | null;
|
|
6420
6424
|
themeKey: string;
|
|
6421
6425
|
branding: {
|
|
6422
6426
|
logoUrl: string | null;
|
|
@@ -6432,8 +6436,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6432
6436
|
robotsIndex: boolean;
|
|
6433
6437
|
};
|
|
6434
6438
|
contact: {
|
|
6435
|
-
supportEmail: string | null;
|
|
6436
6439
|
phone: string | null;
|
|
6440
|
+
supportEmail: string | null;
|
|
6437
6441
|
whatsapp: string | null;
|
|
6438
6442
|
address: string | null;
|
|
6439
6443
|
socialLinks: {
|
|
@@ -6454,10 +6458,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6454
6458
|
head: string | null;
|
|
6455
6459
|
bodyEnd: string | null;
|
|
6456
6460
|
};
|
|
6457
|
-
updatedOn: string | null;
|
|
6458
6461
|
}>;
|
|
6459
6462
|
pages: z.ZodArray<z.ZodObject<{
|
|
6460
|
-
id: z.ZodString
|
|
6463
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
6461
6464
|
name: z.ZodString;
|
|
6462
6465
|
slug: z.ZodString;
|
|
6463
6466
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -6465,12 +6468,12 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6465
6468
|
version: z.ZodNullable<z.ZodNumber>;
|
|
6466
6469
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
6467
6470
|
sections: z.ZodArray<z.ZodObject<{
|
|
6468
|
-
id: z.ZodString
|
|
6471
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
6469
6472
|
type: z.ZodString;
|
|
6470
6473
|
order: z.ZodNumber;
|
|
6471
6474
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
6472
6475
|
blocks: z.ZodArray<z.ZodObject<{
|
|
6473
|
-
id: z.ZodString
|
|
6476
|
+
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
6474
6477
|
type: z.ZodString;
|
|
6475
6478
|
order: z.ZodNumber;
|
|
6476
6479
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -6518,15 +6521,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6518
6521
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
6519
6522
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
6520
6523
|
}, "strict", z.ZodTypeAny, {
|
|
6524
|
+
version: number | null;
|
|
6521
6525
|
status: "draft" | "published" | "archived";
|
|
6522
|
-
name: string;
|
|
6523
6526
|
id: string;
|
|
6524
6527
|
slug: string;
|
|
6528
|
+
name: string;
|
|
6529
|
+
createdOn: string;
|
|
6525
6530
|
updatedOn: string | null;
|
|
6526
6531
|
settings: JsonElement;
|
|
6527
6532
|
channel: "storefront" | "pos";
|
|
6528
6533
|
layout: string;
|
|
6529
|
-
version: number | null;
|
|
6530
6534
|
sections: {
|
|
6531
6535
|
type: string;
|
|
6532
6536
|
id: string;
|
|
@@ -6542,20 +6546,20 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6542
6546
|
hasPublishedVersion: boolean;
|
|
6543
6547
|
publishedOn: string | null;
|
|
6544
6548
|
publishedBy: string | null;
|
|
6545
|
-
createdOn: string;
|
|
6546
6549
|
createdBy: string | null;
|
|
6547
6550
|
updatedBy: string | null;
|
|
6548
6551
|
lastModifiedBy: string | null;
|
|
6549
6552
|
}, {
|
|
6553
|
+
version: number | null;
|
|
6550
6554
|
status: "draft" | "published" | "archived";
|
|
6551
|
-
name: string;
|
|
6552
6555
|
id: string;
|
|
6553
6556
|
slug: string;
|
|
6557
|
+
name: string;
|
|
6558
|
+
createdOn: string;
|
|
6554
6559
|
updatedOn: string | null;
|
|
6555
6560
|
settings: JsonElement;
|
|
6556
6561
|
channel: "storefront" | "pos";
|
|
6557
6562
|
layout: string;
|
|
6558
|
-
version: number | null;
|
|
6559
6563
|
sections: {
|
|
6560
6564
|
type: string;
|
|
6561
6565
|
id: string;
|
|
@@ -6571,7 +6575,6 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6571
6575
|
hasPublishedVersion: boolean;
|
|
6572
6576
|
publishedOn: string | null;
|
|
6573
6577
|
publishedBy: string | null;
|
|
6574
|
-
createdOn: string;
|
|
6575
6578
|
createdBy: string | null;
|
|
6576
6579
|
updatedBy: string | null;
|
|
6577
6580
|
lastModifiedBy: string | null;
|
|
@@ -6581,16 +6584,17 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6581
6584
|
name: z.ZodString;
|
|
6582
6585
|
items: z.ZodArray<z.ZodType<CmsMenuItem, z.ZodTypeDef, CmsMenuItem>, "many">;
|
|
6583
6586
|
}, "strict", z.ZodTypeAny, {
|
|
6584
|
-
name: string;
|
|
6585
6587
|
key: string;
|
|
6588
|
+
name: string;
|
|
6586
6589
|
items: CmsMenuItem[];
|
|
6587
6590
|
}, {
|
|
6588
|
-
name: string;
|
|
6589
6591
|
key: string;
|
|
6592
|
+
name: string;
|
|
6590
6593
|
items: CmsMenuItem[];
|
|
6591
6594
|
}>, "many">;
|
|
6592
6595
|
}, "strict", z.ZodTypeAny, {
|
|
6593
6596
|
settings: {
|
|
6597
|
+
updatedOn: string | null;
|
|
6594
6598
|
themeKey: string;
|
|
6595
6599
|
branding: {
|
|
6596
6600
|
logoUrl: string | null;
|
|
@@ -6606,8 +6610,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6606
6610
|
robotsIndex: boolean;
|
|
6607
6611
|
};
|
|
6608
6612
|
contact: {
|
|
6609
|
-
supportEmail: string | null;
|
|
6610
6613
|
phone: string | null;
|
|
6614
|
+
supportEmail: string | null;
|
|
6611
6615
|
whatsapp: string | null;
|
|
6612
6616
|
address: string | null;
|
|
6613
6617
|
socialLinks: {
|
|
@@ -6628,18 +6632,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6628
6632
|
head: string | null;
|
|
6629
6633
|
bodyEnd: string | null;
|
|
6630
6634
|
};
|
|
6631
|
-
updatedOn: string | null;
|
|
6632
6635
|
};
|
|
6633
6636
|
pages: {
|
|
6637
|
+
version: number | null;
|
|
6634
6638
|
status: "draft" | "published" | "archived";
|
|
6635
|
-
name: string;
|
|
6636
6639
|
id: string;
|
|
6637
6640
|
slug: string;
|
|
6641
|
+
name: string;
|
|
6642
|
+
createdOn: string;
|
|
6638
6643
|
updatedOn: string | null;
|
|
6639
6644
|
settings: JsonElement;
|
|
6640
6645
|
channel: "storefront" | "pos";
|
|
6641
6646
|
layout: string;
|
|
6642
|
-
version: number | null;
|
|
6643
6647
|
sections: {
|
|
6644
6648
|
type: string;
|
|
6645
6649
|
id: string;
|
|
@@ -6655,18 +6659,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6655
6659
|
hasPublishedVersion: boolean;
|
|
6656
6660
|
publishedOn: string | null;
|
|
6657
6661
|
publishedBy: string | null;
|
|
6658
|
-
createdOn: string;
|
|
6659
6662
|
createdBy: string | null;
|
|
6660
6663
|
updatedBy: string | null;
|
|
6661
6664
|
lastModifiedBy: string | null;
|
|
6662
6665
|
}[];
|
|
6663
6666
|
menus: {
|
|
6664
|
-
name: string;
|
|
6665
6667
|
key: string;
|
|
6668
|
+
name: string;
|
|
6666
6669
|
items: CmsMenuItem[];
|
|
6667
6670
|
}[];
|
|
6668
6671
|
}, {
|
|
6669
6672
|
settings: {
|
|
6673
|
+
updatedOn: string | null;
|
|
6670
6674
|
themeKey: string;
|
|
6671
6675
|
branding: {
|
|
6672
6676
|
logoUrl: string | null;
|
|
@@ -6682,8 +6686,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6682
6686
|
robotsIndex: boolean;
|
|
6683
6687
|
};
|
|
6684
6688
|
contact: {
|
|
6685
|
-
supportEmail: string | null;
|
|
6686
6689
|
phone: string | null;
|
|
6690
|
+
supportEmail: string | null;
|
|
6687
6691
|
whatsapp: string | null;
|
|
6688
6692
|
address: string | null;
|
|
6689
6693
|
socialLinks: {
|
|
@@ -6704,18 +6708,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6704
6708
|
head: string | null;
|
|
6705
6709
|
bodyEnd: string | null;
|
|
6706
6710
|
};
|
|
6707
|
-
updatedOn: string | null;
|
|
6708
6711
|
};
|
|
6709
6712
|
pages: {
|
|
6713
|
+
version: number | null;
|
|
6710
6714
|
status: "draft" | "published" | "archived";
|
|
6711
|
-
name: string;
|
|
6712
6715
|
id: string;
|
|
6713
6716
|
slug: string;
|
|
6717
|
+
name: string;
|
|
6718
|
+
createdOn: string;
|
|
6714
6719
|
updatedOn: string | null;
|
|
6715
6720
|
settings: JsonElement;
|
|
6716
6721
|
channel: "storefront" | "pos";
|
|
6717
6722
|
layout: string;
|
|
6718
|
-
version: number | null;
|
|
6719
6723
|
sections: {
|
|
6720
6724
|
type: string;
|
|
6721
6725
|
id: string;
|
|
@@ -6731,33 +6735,32 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6731
6735
|
hasPublishedVersion: boolean;
|
|
6732
6736
|
publishedOn: string | null;
|
|
6733
6737
|
publishedBy: string | null;
|
|
6734
|
-
createdOn: string;
|
|
6735
6738
|
createdBy: string | null;
|
|
6736
6739
|
updatedBy: string | null;
|
|
6737
6740
|
lastModifiedBy: string | null;
|
|
6738
6741
|
}[];
|
|
6739
6742
|
menus: {
|
|
6740
|
-
name: string;
|
|
6741
6743
|
key: string;
|
|
6744
|
+
name: string;
|
|
6742
6745
|
items: CmsMenuItem[];
|
|
6743
6746
|
}[];
|
|
6744
6747
|
}>;
|
|
6745
6748
|
}, "strict", z.ZodTypeAny, {
|
|
6746
6749
|
store: {
|
|
6747
6750
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
6748
|
-
name: string;
|
|
6749
6751
|
id: string;
|
|
6750
|
-
|
|
6752
|
+
slug: string | null;
|
|
6753
|
+
name: string;
|
|
6754
|
+
description: string;
|
|
6751
6755
|
sellerId: string | null;
|
|
6752
6756
|
isActive: boolean;
|
|
6753
|
-
|
|
6757
|
+
currency: string;
|
|
6758
|
+
tenantId: string;
|
|
6754
6759
|
logo: string | null;
|
|
6755
6760
|
icon: string | null;
|
|
6756
|
-
slug: string | null;
|
|
6757
6761
|
domain: string | null;
|
|
6758
6762
|
domains: string[];
|
|
6759
6763
|
timeZone: string;
|
|
6760
|
-
currency: string;
|
|
6761
6764
|
language: string;
|
|
6762
6765
|
visibility: "public" | "private";
|
|
6763
6766
|
themeConfig: {
|
|
@@ -6771,6 +6774,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6771
6774
|
flags: Record<string, boolean>;
|
|
6772
6775
|
};
|
|
6773
6776
|
checkoutSettings: {
|
|
6777
|
+
orderBumps: {
|
|
6778
|
+
mergeOrderBumpOrders: boolean;
|
|
6779
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6780
|
+
maxVisibleOffers: number;
|
|
6781
|
+
};
|
|
6782
|
+
shipping: {
|
|
6783
|
+
showDeliveryTime: boolean;
|
|
6784
|
+
showDeliveryTimeInDays: boolean;
|
|
6785
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6786
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6787
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6788
|
+
};
|
|
6774
6789
|
general: {
|
|
6775
6790
|
allowGuestCheckout: boolean;
|
|
6776
6791
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6781,25 +6796,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6781
6796
|
requestCustomerDateOfBirth: boolean;
|
|
6782
6797
|
automaticallySelectBestPromotion: boolean;
|
|
6783
6798
|
};
|
|
6784
|
-
shipping: {
|
|
6785
|
-
showDeliveryTime: boolean;
|
|
6786
|
-
showDeliveryTimeInDays: boolean;
|
|
6787
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6788
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6789
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6790
|
-
};
|
|
6791
6799
|
cartPage: {
|
|
6792
6800
|
showShippingCostCalculation: boolean;
|
|
6793
6801
|
allowProductLinks: boolean;
|
|
6794
6802
|
redirectToCartPage: boolean;
|
|
6795
6803
|
};
|
|
6796
|
-
orderBumps: {
|
|
6797
|
-
mergeOrderBumpOrders: boolean;
|
|
6798
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6799
|
-
maxVisibleOffers: number;
|
|
6800
|
-
};
|
|
6801
6804
|
ordersAndPayments: {
|
|
6802
|
-
allowPurchasesFrom: "
|
|
6805
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6803
6806
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6804
6807
|
maximumItemsPerOrder: number | null;
|
|
6805
6808
|
deliveryNoteText: string | null;
|
|
@@ -6811,6 +6814,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6811
6814
|
generatedAt: string;
|
|
6812
6815
|
cms: {
|
|
6813
6816
|
settings: {
|
|
6817
|
+
updatedOn: string | null;
|
|
6814
6818
|
themeKey: string;
|
|
6815
6819
|
branding: {
|
|
6816
6820
|
logoUrl: string | null;
|
|
@@ -6826,8 +6830,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6826
6830
|
robotsIndex: boolean;
|
|
6827
6831
|
};
|
|
6828
6832
|
contact: {
|
|
6829
|
-
supportEmail: string | null;
|
|
6830
6833
|
phone: string | null;
|
|
6834
|
+
supportEmail: string | null;
|
|
6831
6835
|
whatsapp: string | null;
|
|
6832
6836
|
address: string | null;
|
|
6833
6837
|
socialLinks: {
|
|
@@ -6848,18 +6852,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6848
6852
|
head: string | null;
|
|
6849
6853
|
bodyEnd: string | null;
|
|
6850
6854
|
};
|
|
6851
|
-
updatedOn: string | null;
|
|
6852
6855
|
};
|
|
6853
6856
|
pages: {
|
|
6857
|
+
version: number | null;
|
|
6854
6858
|
status: "draft" | "published" | "archived";
|
|
6855
|
-
name: string;
|
|
6856
6859
|
id: string;
|
|
6857
6860
|
slug: string;
|
|
6861
|
+
name: string;
|
|
6862
|
+
createdOn: string;
|
|
6858
6863
|
updatedOn: string | null;
|
|
6859
6864
|
settings: JsonElement;
|
|
6860
6865
|
channel: "storefront" | "pos";
|
|
6861
6866
|
layout: string;
|
|
6862
|
-
version: number | null;
|
|
6863
6867
|
sections: {
|
|
6864
6868
|
type: string;
|
|
6865
6869
|
id: string;
|
|
@@ -6875,33 +6879,32 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6875
6879
|
hasPublishedVersion: boolean;
|
|
6876
6880
|
publishedOn: string | null;
|
|
6877
6881
|
publishedBy: string | null;
|
|
6878
|
-
createdOn: string;
|
|
6879
6882
|
createdBy: string | null;
|
|
6880
6883
|
updatedBy: string | null;
|
|
6881
6884
|
lastModifiedBy: string | null;
|
|
6882
6885
|
}[];
|
|
6883
6886
|
menus: {
|
|
6884
|
-
name: string;
|
|
6885
6887
|
key: string;
|
|
6888
|
+
name: string;
|
|
6886
6889
|
items: CmsMenuItem[];
|
|
6887
6890
|
}[];
|
|
6888
6891
|
};
|
|
6889
6892
|
}, {
|
|
6890
6893
|
store: {
|
|
6891
6894
|
type: "b2C" | "marketplace" | "retail" | "b2B" | "social" | "hub" | "restaurant";
|
|
6892
|
-
name: string;
|
|
6893
6895
|
id: string;
|
|
6894
|
-
|
|
6896
|
+
slug: string | null;
|
|
6897
|
+
name: string;
|
|
6898
|
+
description: string;
|
|
6895
6899
|
sellerId: string | null;
|
|
6896
6900
|
isActive: boolean;
|
|
6897
|
-
|
|
6901
|
+
currency: string;
|
|
6902
|
+
tenantId: string;
|
|
6898
6903
|
logo: string | null;
|
|
6899
6904
|
icon: string | null;
|
|
6900
|
-
slug: string | null;
|
|
6901
6905
|
domain: string | null;
|
|
6902
6906
|
domains: string[];
|
|
6903
6907
|
timeZone: string;
|
|
6904
|
-
currency: string;
|
|
6905
6908
|
language: string;
|
|
6906
6909
|
visibility: "public" | "private";
|
|
6907
6910
|
themeConfig: {
|
|
@@ -6915,6 +6918,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6915
6918
|
flags: Record<string, boolean>;
|
|
6916
6919
|
};
|
|
6917
6920
|
checkoutSettings: {
|
|
6921
|
+
orderBumps: {
|
|
6922
|
+
mergeOrderBumpOrders: boolean;
|
|
6923
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
6924
|
+
maxVisibleOffers: number;
|
|
6925
|
+
};
|
|
6926
|
+
shipping: {
|
|
6927
|
+
showDeliveryTime: boolean;
|
|
6928
|
+
showDeliveryTimeInDays: boolean;
|
|
6929
|
+
useBusinessDaysForDeliveryTime: boolean;
|
|
6930
|
+
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6931
|
+
showOriginalShippingPriceWhenFree: boolean;
|
|
6932
|
+
};
|
|
6918
6933
|
general: {
|
|
6919
6934
|
allowGuestCheckout: boolean;
|
|
6920
6935
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6925,25 +6940,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6925
6940
|
requestCustomerDateOfBirth: boolean;
|
|
6926
6941
|
automaticallySelectBestPromotion: boolean;
|
|
6927
6942
|
};
|
|
6928
|
-
shipping: {
|
|
6929
|
-
showDeliveryTime: boolean;
|
|
6930
|
-
showDeliveryTimeInDays: boolean;
|
|
6931
|
-
useBusinessDaysForDeliveryTime: boolean;
|
|
6932
|
-
showEstimatedDeliveryDateInThankYouAndEmails: boolean;
|
|
6933
|
-
showOriginalShippingPriceWhenFree: boolean;
|
|
6934
|
-
};
|
|
6935
6943
|
cartPage: {
|
|
6936
6944
|
showShippingCostCalculation: boolean;
|
|
6937
6945
|
allowProductLinks: boolean;
|
|
6938
6946
|
redirectToCartPage: boolean;
|
|
6939
6947
|
};
|
|
6940
|
-
orderBumps: {
|
|
6941
|
-
mergeOrderBumpOrders: boolean;
|
|
6942
|
-
allowOnlyOneAdditionalOffer: boolean;
|
|
6943
|
-
maxVisibleOffers: number;
|
|
6944
|
-
};
|
|
6945
6948
|
ordersAndPayments: {
|
|
6946
|
-
allowPurchasesFrom: "
|
|
6949
|
+
allowPurchasesFrom: "company" | "any" | "individual";
|
|
6947
6950
|
creditCardDailyOrderLimitPerIp: number | null;
|
|
6948
6951
|
maximumItemsPerOrder: number | null;
|
|
6949
6952
|
deliveryNoteText: string | null;
|
|
@@ -6955,6 +6958,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6955
6958
|
generatedAt: string;
|
|
6956
6959
|
cms: {
|
|
6957
6960
|
settings: {
|
|
6961
|
+
updatedOn: string | null;
|
|
6958
6962
|
themeKey: string;
|
|
6959
6963
|
branding: {
|
|
6960
6964
|
logoUrl: string | null;
|
|
@@ -6970,8 +6974,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6970
6974
|
robotsIndex: boolean;
|
|
6971
6975
|
};
|
|
6972
6976
|
contact: {
|
|
6973
|
-
supportEmail: string | null;
|
|
6974
6977
|
phone: string | null;
|
|
6978
|
+
supportEmail: string | null;
|
|
6975
6979
|
whatsapp: string | null;
|
|
6976
6980
|
address: string | null;
|
|
6977
6981
|
socialLinks: {
|
|
@@ -6992,18 +6996,18 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6992
6996
|
head: string | null;
|
|
6993
6997
|
bodyEnd: string | null;
|
|
6994
6998
|
};
|
|
6995
|
-
updatedOn: string | null;
|
|
6996
6999
|
};
|
|
6997
7000
|
pages: {
|
|
7001
|
+
version: number | null;
|
|
6998
7002
|
status: "draft" | "published" | "archived";
|
|
6999
|
-
name: string;
|
|
7000
7003
|
id: string;
|
|
7001
7004
|
slug: string;
|
|
7005
|
+
name: string;
|
|
7006
|
+
createdOn: string;
|
|
7002
7007
|
updatedOn: string | null;
|
|
7003
7008
|
settings: JsonElement;
|
|
7004
7009
|
channel: "storefront" | "pos";
|
|
7005
7010
|
layout: string;
|
|
7006
|
-
version: number | null;
|
|
7007
7011
|
sections: {
|
|
7008
7012
|
type: string;
|
|
7009
7013
|
id: string;
|
|
@@ -7019,14 +7023,13 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
7019
7023
|
hasPublishedVersion: boolean;
|
|
7020
7024
|
publishedOn: string | null;
|
|
7021
7025
|
publishedBy: string | null;
|
|
7022
|
-
createdOn: string;
|
|
7023
7026
|
createdBy: string | null;
|
|
7024
7027
|
updatedBy: string | null;
|
|
7025
7028
|
lastModifiedBy: string | null;
|
|
7026
7029
|
}[];
|
|
7027
7030
|
menus: {
|
|
7028
|
-
name: string;
|
|
7029
7031
|
key: string;
|
|
7032
|
+
name: string;
|
|
7030
7033
|
items: CmsMenuItem[];
|
|
7031
7034
|
}[];
|
|
7032
7035
|
};
|
|
@@ -7036,4 +7039,4 @@ type StorefrontMenu = z.infer<typeof StorefrontMenuSchema>;
|
|
|
7036
7039
|
type StorefrontSettings = z.infer<typeof StorefrontSettingsSchema>;
|
|
7037
7040
|
declare function getMenuItems(settings: StorefrontSettings | null | undefined, key: string): StorefrontMenuItem[];
|
|
7038
7041
|
|
|
7039
|
-
export { type CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, type CmsMenuDto, CmsMenuDtoSchema, type CmsMenuItem, CmsMenuItemSchema, type CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, type CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, type CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, type JsonElement, JsonElementSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, type StoreModel, StoreModelSchema, type StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, type StorefrontMenu, type StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, type StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, getMenuItems };
|
|
7042
|
+
export { type CmsBlockDto, CmsBlockDtoSchema, CmsBrandingSettingsDtoSchema, CmsContactSettingsDtoSchema, CmsContentChannelSchema, CmsCustomScriptsDtoSchema, type CmsMenuDto, CmsMenuDtoSchema, type CmsMenuItem, CmsMenuItemSchema, type CmsPageDetailsDto, CmsPageDetailsDtoSchema, CmsPageStatusSchema, type CmsSectionDto, CmsSectionDtoSchema, CmsSeoSettingsDtoSchema, CmsSiteSettingsDtoSchema, type CmsSnapshotDto, CmsSnapshotDtoSchema, CmsSocialLinksDtoSchema, CmsTrackingSettingsDtoSchema, EntityIdSchema, type JsonElement, JsonElementSchema, NullableEntityIdSchema, StoreCheckoutCartPageSettingsSchema, StoreCheckoutGeneralSettingsSchema, StoreCheckoutOrderBumpSettingsSchema, StoreCheckoutOrdersAndPaymentsSettingsSchema, StoreCheckoutSettingsSchema, StoreCheckoutShippingSettingsSchema, StoreFeatureFlagsSchema, type StoreModel, StoreModelSchema, type StoreSettingsSnapshotDto, StoreSettingsSnapshotDtoSchema, StoreThemeSettingsSchema, StoreTypeSchema, StoreVisibilitySchema, StorefrontCheckoutSettingsSchema, StorefrontCmsBrandingSchema, StorefrontCmsContactSchema, StorefrontCmsCustomScriptsSchema, StorefrontCmsPageSchema, StorefrontCmsSeoSchema, StorefrontCmsSettingsSchema, StorefrontCmsSocialLinksSchema, StorefrontCmsTrackingSchema, StorefrontFeaturesEnabledSchema, type StorefrontMenu, type StorefrontMenuItem, StorefrontMenuItemSchema, StorefrontMenuSchema, type StorefrontSettings, StorefrontSettingsSchema, StorefrontStoreSchema, StorefrontStoreTypeSchema, StorefrontThemeConfigSchema, getMenuItems };
|