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