@ecomiq/core 0.1.1 → 0.1.2
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/client.cjs +10 -0
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +4 -2
- package/dist/client.d.ts +4 -2
- package/dist/client.js +10 -0
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +328 -324
- package/dist/index.d.ts +328 -324
- package/dist/index.js +11 -1
- 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/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 +514 -514
- package/dist/models/settings.d.ts +514 -514
- 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 +7 -8
|
@@ -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,24 @@ 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
|
+
};
|
|
221
226
|
general: {
|
|
222
227
|
allowGuestCheckout: boolean;
|
|
223
228
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -240,19 +245,19 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
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
|
+
};
|
|
256
261
|
general: {
|
|
257
262
|
allowGuestCheckout: boolean;
|
|
258
263
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -275,13 +280,8 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
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,24 @@ 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
|
+
};
|
|
428
433
|
general: {
|
|
429
434
|
allowGuestCheckout: boolean;
|
|
430
435
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -447,19 +452,19 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
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
|
+
};
|
|
463
468
|
general: {
|
|
464
469
|
allowGuestCheckout: boolean;
|
|
465
470
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -482,13 +487,8 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
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,11 @@ 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
|
+
};
|
|
526
531
|
general: {
|
|
527
532
|
allowGuestCheckout: boolean;
|
|
528
533
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -545,13 +550,8 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
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,11 @@ 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
|
+
};
|
|
589
594
|
general: {
|
|
590
595
|
allowGuestCheckout: boolean;
|
|
591
596
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -608,13 +613,8 @@ declare const StoreModelSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -881,8 +881,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
881
881
|
robotsIndex: boolean;
|
|
882
882
|
};
|
|
883
883
|
contact: {
|
|
884
|
-
supportEmail: string | null;
|
|
885
884
|
phone: string | null;
|
|
885
|
+
supportEmail: string | null;
|
|
886
886
|
whatsapp: string | null;
|
|
887
887
|
address: string | null;
|
|
888
888
|
socialLinks: {
|
|
@@ -920,8 +920,8 @@ declare const CmsSiteSettingsDtoSchema: z.ZodObject<{
|
|
|
920
920
|
robotsIndex: boolean;
|
|
921
921
|
};
|
|
922
922
|
contact: {
|
|
923
|
-
supportEmail: string | null;
|
|
924
923
|
phone: string | null;
|
|
924
|
+
supportEmail: string | null;
|
|
925
925
|
whatsapp: string | null;
|
|
926
926
|
address: string | null;
|
|
927
927
|
socialLinks: {
|
|
@@ -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: {
|
|
@@ -1282,8 +1282,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1282
1282
|
robotsIndex: boolean;
|
|
1283
1283
|
};
|
|
1284
1284
|
contact: {
|
|
1285
|
-
supportEmail: string | null;
|
|
1286
1285
|
phone: string | null;
|
|
1286
|
+
supportEmail: string | null;
|
|
1287
1287
|
whatsapp: string | null;
|
|
1288
1288
|
address: string | null;
|
|
1289
1289
|
socialLinks: {
|
|
@@ -1321,8 +1321,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1321
1321
|
robotsIndex: boolean;
|
|
1322
1322
|
};
|
|
1323
1323
|
contact: {
|
|
1324
|
-
supportEmail: string | null;
|
|
1325
1324
|
phone: string | null;
|
|
1325
|
+
supportEmail: string | null;
|
|
1326
1326
|
whatsapp: string | null;
|
|
1327
1327
|
address: string | null;
|
|
1328
1328
|
socialLinks: {
|
|
@@ -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,12 +1470,12 @@ 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, {
|
|
@@ -1495,8 +1495,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1495
1495
|
robotsIndex: boolean;
|
|
1496
1496
|
};
|
|
1497
1497
|
contact: {
|
|
1498
|
-
supportEmail: string | null;
|
|
1499
1498
|
phone: string | null;
|
|
1499
|
+
supportEmail: string | null;
|
|
1500
1500
|
whatsapp: string | null;
|
|
1501
1501
|
address: string | null;
|
|
1502
1502
|
socialLinks: {
|
|
@@ -1520,15 +1520,16 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
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,14 +1545,13 @@ 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
|
}, {
|
|
@@ -1571,8 +1571,8 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1571
1571
|
robotsIndex: boolean;
|
|
1572
1572
|
};
|
|
1573
1573
|
contact: {
|
|
1574
|
-
supportEmail: string | null;
|
|
1575
1574
|
phone: string | null;
|
|
1575
|
+
supportEmail: string | null;
|
|
1576
1576
|
whatsapp: string | null;
|
|
1577
1577
|
address: string | null;
|
|
1578
1578
|
socialLinks: {
|
|
@@ -1596,15 +1596,16 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
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,19 +1759,24 @@ 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
|
+
orderBumps: {
|
|
1776
|
+
mergeOrderBumpOrders: boolean;
|
|
1777
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
1778
|
+
maxVisibleOffers: number;
|
|
1779
|
+
};
|
|
1775
1780
|
general: {
|
|
1776
1781
|
allowGuestCheckout: boolean;
|
|
1777
1782
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1794,19 +1799,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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
|
+
};
|
|
1810
1815
|
general: {
|
|
1811
1816
|
allowGuestCheckout: boolean;
|
|
1812
1817
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1829,13 +1834,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
1873
1878
|
general: {
|
|
1874
1879
|
allowGuestCheckout: boolean;
|
|
1875
1880
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1892,13 +1897,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
1936
1941
|
general: {
|
|
1937
1942
|
allowGuestCheckout: boolean;
|
|
1938
1943
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -1955,13 +1960,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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: {
|
|
@@ -2099,8 +2099,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2099
2099
|
robotsIndex: boolean;
|
|
2100
2100
|
};
|
|
2101
2101
|
contact: {
|
|
2102
|
-
supportEmail: string | null;
|
|
2103
2102
|
phone: string | null;
|
|
2103
|
+
supportEmail: string | null;
|
|
2104
2104
|
whatsapp: string | null;
|
|
2105
2105
|
address: string | null;
|
|
2106
2106
|
socialLinks: {
|
|
@@ -2138,8 +2138,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2138
2138
|
robotsIndex: boolean;
|
|
2139
2139
|
};
|
|
2140
2140
|
contact: {
|
|
2141
|
-
supportEmail: string | null;
|
|
2142
2141
|
phone: string | null;
|
|
2142
|
+
supportEmail: string | null;
|
|
2143
2143
|
whatsapp: string | null;
|
|
2144
2144
|
address: string | null;
|
|
2145
2145
|
socialLinks: {
|
|
@@ -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,12 +2287,12 @@ 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, {
|
|
@@ -2312,8 +2312,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2312
2312
|
robotsIndex: boolean;
|
|
2313
2313
|
};
|
|
2314
2314
|
contact: {
|
|
2315
|
-
supportEmail: string | null;
|
|
2316
2315
|
phone: string | null;
|
|
2316
|
+
supportEmail: string | null;
|
|
2317
2317
|
whatsapp: string | null;
|
|
2318
2318
|
address: string | null;
|
|
2319
2319
|
socialLinks: {
|
|
@@ -2337,15 +2337,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,14 +2362,13 @@ 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
|
}, {
|
|
@@ -2388,8 +2388,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2388
2388
|
robotsIndex: boolean;
|
|
2389
2389
|
};
|
|
2390
2390
|
contact: {
|
|
2391
|
-
supportEmail: string | null;
|
|
2392
2391
|
phone: string | null;
|
|
2392
|
+
supportEmail: string | null;
|
|
2393
2393
|
whatsapp: string | null;
|
|
2394
2394
|
address: string | null;
|
|
2395
2395
|
socialLinks: {
|
|
@@ -2413,15 +2413,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
2480
2485
|
general: {
|
|
2481
2486
|
allowGuestCheckout: boolean;
|
|
2482
2487
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2499,13 +2504,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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;
|
|
@@ -2532,8 +2532,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2532
2532
|
robotsIndex: boolean;
|
|
2533
2533
|
};
|
|
2534
2534
|
contact: {
|
|
2535
|
-
supportEmail: string | null;
|
|
2536
2535
|
phone: string | null;
|
|
2536
|
+
supportEmail: string | null;
|
|
2537
2537
|
whatsapp: string | null;
|
|
2538
2538
|
address: string | null;
|
|
2539
2539
|
socialLinks: {
|
|
@@ -2557,15 +2557,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
2624
2629
|
general: {
|
|
2625
2630
|
allowGuestCheckout: boolean;
|
|
2626
2631
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2643,13 +2648,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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;
|
|
@@ -2676,8 +2676,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2676
2676
|
robotsIndex: boolean;
|
|
2677
2677
|
};
|
|
2678
2678
|
contact: {
|
|
2679
|
-
supportEmail: string | null;
|
|
2680
2679
|
phone: string | null;
|
|
2680
|
+
supportEmail: string | null;
|
|
2681
2681
|
whatsapp: string | null;
|
|
2682
2682
|
address: string | null;
|
|
2683
2683
|
socialLinks: {
|
|
@@ -2701,15 +2701,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,24 @@ 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
|
+
};
|
|
2879
2884
|
general: {
|
|
2880
2885
|
allowGuestCheckout: boolean;
|
|
2881
2886
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2898,19 +2903,19 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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
|
+
};
|
|
2914
2919
|
general: {
|
|
2915
2920
|
allowGuestCheckout: boolean;
|
|
2916
2921
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2933,13 +2938,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
2977
2982
|
general: {
|
|
2978
2983
|
allowGuestCheckout: boolean;
|
|
2979
2984
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -2996,13 +3001,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
3040
3045
|
general: {
|
|
3041
3046
|
allowGuestCheckout: boolean;
|
|
3042
3047
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3059,13 +3064,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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: {
|
|
@@ -3203,8 +3203,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3203
3203
|
robotsIndex: boolean;
|
|
3204
3204
|
};
|
|
3205
3205
|
contact: {
|
|
3206
|
-
supportEmail: string | null;
|
|
3207
3206
|
phone: string | null;
|
|
3207
|
+
supportEmail: string | null;
|
|
3208
3208
|
whatsapp: string | null;
|
|
3209
3209
|
address: string | null;
|
|
3210
3210
|
socialLinks: {
|
|
@@ -3242,8 +3242,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3242
3242
|
robotsIndex: boolean;
|
|
3243
3243
|
};
|
|
3244
3244
|
contact: {
|
|
3245
|
-
supportEmail: string | null;
|
|
3246
3245
|
phone: string | null;
|
|
3246
|
+
supportEmail: string | null;
|
|
3247
3247
|
whatsapp: string | null;
|
|
3248
3248
|
address: string | null;
|
|
3249
3249
|
socialLinks: {
|
|
@@ -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,12 +3391,12 @@ 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, {
|
|
@@ -3416,8 +3416,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3416
3416
|
robotsIndex: boolean;
|
|
3417
3417
|
};
|
|
3418
3418
|
contact: {
|
|
3419
|
-
supportEmail: string | null;
|
|
3420
3419
|
phone: string | null;
|
|
3420
|
+
supportEmail: string | null;
|
|
3421
3421
|
whatsapp: string | null;
|
|
3422
3422
|
address: string | null;
|
|
3423
3423
|
socialLinks: {
|
|
@@ -3441,15 +3441,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,14 +3466,13 @@ 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
|
}, {
|
|
@@ -3492,8 +3492,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3492
3492
|
robotsIndex: boolean;
|
|
3493
3493
|
};
|
|
3494
3494
|
contact: {
|
|
3495
|
-
supportEmail: string | null;
|
|
3496
3495
|
phone: string | null;
|
|
3496
|
+
supportEmail: string | null;
|
|
3497
3497
|
whatsapp: string | null;
|
|
3498
3498
|
address: string | null;
|
|
3499
3499
|
socialLinks: {
|
|
@@ -3517,15 +3517,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
3584
3589
|
general: {
|
|
3585
3590
|
allowGuestCheckout: boolean;
|
|
3586
3591
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3603,13 +3608,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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;
|
|
@@ -3636,8 +3636,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3636
3636
|
robotsIndex: boolean;
|
|
3637
3637
|
};
|
|
3638
3638
|
contact: {
|
|
3639
|
-
supportEmail: string | null;
|
|
3640
3639
|
phone: string | null;
|
|
3640
|
+
supportEmail: string | null;
|
|
3641
3641
|
whatsapp: string | null;
|
|
3642
3642
|
address: string | null;
|
|
3643
3643
|
socialLinks: {
|
|
@@ -3661,15 +3661,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,11 @@ 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
|
+
};
|
|
3728
3733
|
general: {
|
|
3729
3734
|
allowGuestCheckout: boolean;
|
|
3730
3735
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3747,13 +3752,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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;
|
|
@@ -3780,8 +3780,8 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3780
3780
|
robotsIndex: boolean;
|
|
3781
3781
|
};
|
|
3782
3782
|
contact: {
|
|
3783
|
-
supportEmail: string | null;
|
|
3784
3783
|
phone: string | null;
|
|
3784
|
+
supportEmail: string | null;
|
|
3785
3785
|
whatsapp: string | null;
|
|
3786
3786
|
address: string | null;
|
|
3787
3787
|
socialLinks: {
|
|
@@ -3805,15 +3805,16 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
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,24 @@ 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
|
+
};
|
|
3939
3944
|
general: {
|
|
3940
3945
|
allowGuestCheckout: boolean;
|
|
3941
3946
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3958,19 +3963,19 @@ declare const StorefrontCheckoutSettingsSchema: z.ZodObject<{
|
|
|
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
|
+
};
|
|
3974
3979
|
general: {
|
|
3975
3980
|
allowGuestCheckout: boolean;
|
|
3976
3981
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -3993,13 +3998,8 @@ declare const StorefrontCheckoutSettingsSchema: z.ZodObject<{
|
|
|
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,24 @@ 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
|
+
};
|
|
4189
4194
|
general: {
|
|
4190
4195
|
allowGuestCheckout: boolean;
|
|
4191
4196
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4208,21 +4213,21 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
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
|
-
|
|
4225
|
-
|
|
4224
|
+
orderBumps: {
|
|
4225
|
+
mergeOrderBumpOrders: boolean;
|
|
4226
|
+
allowOnlyOneAdditionalOffer: boolean;
|
|
4227
|
+
maxVisibleOffers: number;
|
|
4228
|
+
};
|
|
4229
|
+
general: {
|
|
4230
|
+
allowGuestCheckout: boolean;
|
|
4226
4231
|
identityScope: "store" | "tenant" | "global";
|
|
4227
4232
|
signInMethods: ("password" | "emailOtp" | "google")[];
|
|
4228
4233
|
useSequentialOrderNumbers: boolean;
|
|
@@ -4243,13 +4248,8 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
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,11 @@ 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
|
+
};
|
|
4287
4292
|
general: {
|
|
4288
4293
|
allowGuestCheckout: boolean;
|
|
4289
4294
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4306,13 +4311,8 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
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,11 @@ 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
|
+
};
|
|
4350
4355
|
general: {
|
|
4351
4356
|
allowGuestCheckout: boolean;
|
|
4352
4357
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4369,13 +4374,8 @@ declare const StorefrontStoreSchema: z.ZodObject<{
|
|
|
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: {
|
|
@@ -4625,8 +4625,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4625
4625
|
robotsIndex: boolean;
|
|
4626
4626
|
};
|
|
4627
4627
|
contact: {
|
|
4628
|
-
supportEmail: string | null;
|
|
4629
4628
|
phone: string | null;
|
|
4629
|
+
supportEmail: string | null;
|
|
4630
4630
|
whatsapp: string | null;
|
|
4631
4631
|
address: string | null;
|
|
4632
4632
|
socialLinks: {
|
|
@@ -4664,8 +4664,8 @@ declare const StorefrontCmsSettingsSchema: z.ZodObject<{
|
|
|
4664
4664
|
robotsIndex: boolean;
|
|
4665
4665
|
};
|
|
4666
4666
|
contact: {
|
|
4667
|
-
supportEmail: string | null;
|
|
4668
4667
|
phone: string | null;
|
|
4668
|
+
supportEmail: string | null;
|
|
4669
4669
|
whatsapp: string | null;
|
|
4670
4670
|
address: string | null;
|
|
4671
4671
|
socialLinks: {
|
|
@@ -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,24 @@ 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
|
+
};
|
|
4965
4970
|
general: {
|
|
4966
4971
|
allowGuestCheckout: boolean;
|
|
4967
4972
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -4984,19 +4989,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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
|
+
};
|
|
5000
5005
|
general: {
|
|
5001
5006
|
allowGuestCheckout: boolean;
|
|
5002
5007
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5019,13 +5024,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
5063
5068
|
general: {
|
|
5064
5069
|
allowGuestCheckout: boolean;
|
|
5065
5070
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5082,13 +5087,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
5126
5131
|
general: {
|
|
5127
5132
|
allowGuestCheckout: boolean;
|
|
5128
5133
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5145,13 +5150,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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: {
|
|
@@ -5289,8 +5289,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5289
5289
|
robotsIndex: boolean;
|
|
5290
5290
|
};
|
|
5291
5291
|
contact: {
|
|
5292
|
-
supportEmail: string | null;
|
|
5293
5292
|
phone: string | null;
|
|
5293
|
+
supportEmail: string | null;
|
|
5294
5294
|
whatsapp: string | null;
|
|
5295
5295
|
address: string | null;
|
|
5296
5296
|
socialLinks: {
|
|
@@ -5328,8 +5328,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5328
5328
|
robotsIndex: boolean;
|
|
5329
5329
|
};
|
|
5330
5330
|
contact: {
|
|
5331
|
-
supportEmail: string | null;
|
|
5332
5331
|
phone: string | null;
|
|
5332
|
+
supportEmail: string | null;
|
|
5333
5333
|
whatsapp: string | null;
|
|
5334
5334
|
address: string | null;
|
|
5335
5335
|
socialLinks: {
|
|
@@ -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,12 +5477,12 @@ 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, {
|
|
@@ -5502,8 +5502,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5502
5502
|
robotsIndex: boolean;
|
|
5503
5503
|
};
|
|
5504
5504
|
contact: {
|
|
5505
|
-
supportEmail: string | null;
|
|
5506
5505
|
phone: string | null;
|
|
5506
|
+
supportEmail: string | null;
|
|
5507
5507
|
whatsapp: string | null;
|
|
5508
5508
|
address: string | null;
|
|
5509
5509
|
socialLinks: {
|
|
@@ -5527,15 +5527,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,14 +5552,13 @@ 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
|
}, {
|
|
@@ -5578,8 +5578,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5578
5578
|
robotsIndex: boolean;
|
|
5579
5579
|
};
|
|
5580
5580
|
contact: {
|
|
5581
|
-
supportEmail: string | null;
|
|
5582
5581
|
phone: string | null;
|
|
5582
|
+
supportEmail: string | null;
|
|
5583
5583
|
whatsapp: string | null;
|
|
5584
5584
|
address: string | null;
|
|
5585
5585
|
socialLinks: {
|
|
@@ -5603,15 +5603,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
5670
5675
|
general: {
|
|
5671
5676
|
allowGuestCheckout: boolean;
|
|
5672
5677
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5689,13 +5694,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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;
|
|
@@ -5722,8 +5722,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5722
5722
|
robotsIndex: boolean;
|
|
5723
5723
|
};
|
|
5724
5724
|
contact: {
|
|
5725
|
-
supportEmail: string | null;
|
|
5726
5725
|
phone: string | null;
|
|
5726
|
+
supportEmail: string | null;
|
|
5727
5727
|
whatsapp: string | null;
|
|
5728
5728
|
address: string | null;
|
|
5729
5729
|
socialLinks: {
|
|
@@ -5747,15 +5747,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
5814
5819
|
general: {
|
|
5815
5820
|
allowGuestCheckout: boolean;
|
|
5816
5821
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -5833,13 +5838,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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;
|
|
@@ -5866,8 +5866,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5866
5866
|
robotsIndex: boolean;
|
|
5867
5867
|
};
|
|
5868
5868
|
contact: {
|
|
5869
|
-
supportEmail: string | null;
|
|
5870
5869
|
phone: string | null;
|
|
5870
|
+
supportEmail: string | null;
|
|
5871
5871
|
whatsapp: string | null;
|
|
5872
5872
|
address: string | null;
|
|
5873
5873
|
socialLinks: {
|
|
@@ -5891,15 +5891,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,24 @@ 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
|
+
};
|
|
6069
6074
|
general: {
|
|
6070
6075
|
allowGuestCheckout: boolean;
|
|
6071
6076
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6088,19 +6093,19 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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
|
+
};
|
|
6104
6109
|
general: {
|
|
6105
6110
|
allowGuestCheckout: boolean;
|
|
6106
6111
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6123,13 +6128,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
6167
6172
|
general: {
|
|
6168
6173
|
allowGuestCheckout: boolean;
|
|
6169
6174
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6186,13 +6191,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
6230
6235
|
general: {
|
|
6231
6236
|
allowGuestCheckout: boolean;
|
|
6232
6237
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6249,13 +6254,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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: {
|
|
@@ -6393,8 +6393,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6393
6393
|
robotsIndex: boolean;
|
|
6394
6394
|
};
|
|
6395
6395
|
contact: {
|
|
6396
|
-
supportEmail: string | null;
|
|
6397
6396
|
phone: string | null;
|
|
6397
|
+
supportEmail: string | null;
|
|
6398
6398
|
whatsapp: string | null;
|
|
6399
6399
|
address: string | null;
|
|
6400
6400
|
socialLinks: {
|
|
@@ -6432,8 +6432,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6432
6432
|
robotsIndex: boolean;
|
|
6433
6433
|
};
|
|
6434
6434
|
contact: {
|
|
6435
|
-
supportEmail: string | null;
|
|
6436
6435
|
phone: string | null;
|
|
6436
|
+
supportEmail: string | null;
|
|
6437
6437
|
whatsapp: string | null;
|
|
6438
6438
|
address: string | null;
|
|
6439
6439
|
socialLinks: {
|
|
@@ -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,12 +6581,12 @@ 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, {
|
|
@@ -6606,8 +6606,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6606
6606
|
robotsIndex: boolean;
|
|
6607
6607
|
};
|
|
6608
6608
|
contact: {
|
|
6609
|
-
supportEmail: string | null;
|
|
6610
6609
|
phone: string | null;
|
|
6610
|
+
supportEmail: string | null;
|
|
6611
6611
|
whatsapp: string | null;
|
|
6612
6612
|
address: string | null;
|
|
6613
6613
|
socialLinks: {
|
|
@@ -6631,15 +6631,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,14 +6656,13 @@ 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
|
}, {
|
|
@@ -6682,8 +6682,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6682
6682
|
robotsIndex: boolean;
|
|
6683
6683
|
};
|
|
6684
6684
|
contact: {
|
|
6685
|
-
supportEmail: string | null;
|
|
6686
6685
|
phone: string | null;
|
|
6686
|
+
supportEmail: string | null;
|
|
6687
6687
|
whatsapp: string | null;
|
|
6688
6688
|
address: string | null;
|
|
6689
6689
|
socialLinks: {
|
|
@@ -6707,15 +6707,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
6774
6779
|
general: {
|
|
6775
6780
|
allowGuestCheckout: boolean;
|
|
6776
6781
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6793,13 +6798,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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;
|
|
@@ -6826,8 +6826,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6826
6826
|
robotsIndex: boolean;
|
|
6827
6827
|
};
|
|
6828
6828
|
contact: {
|
|
6829
|
-
supportEmail: string | null;
|
|
6830
6829
|
phone: string | null;
|
|
6830
|
+
supportEmail: string | null;
|
|
6831
6831
|
whatsapp: string | null;
|
|
6832
6832
|
address: string | null;
|
|
6833
6833
|
socialLinks: {
|
|
@@ -6851,15 +6851,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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,11 @@ 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
|
+
};
|
|
6918
6923
|
general: {
|
|
6919
6924
|
allowGuestCheckout: boolean;
|
|
6920
6925
|
identityScope: "store" | "tenant" | "global";
|
|
@@ -6937,13 +6942,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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;
|
|
@@ -6970,8 +6970,8 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6970
6970
|
robotsIndex: boolean;
|
|
6971
6971
|
};
|
|
6972
6972
|
contact: {
|
|
6973
|
-
supportEmail: string | null;
|
|
6974
6973
|
phone: string | null;
|
|
6974
|
+
supportEmail: string | null;
|
|
6975
6975
|
whatsapp: string | null;
|
|
6976
6976
|
address: string | null;
|
|
6977
6977
|
socialLinks: {
|
|
@@ -6995,15 +6995,16 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
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
|
};
|