@thryveai/theme-interfaces 2.8.19 → 2.8.21

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.
@@ -364,6 +364,7 @@ export interface ICheckoutSettingsV2 {
364
364
  checkoutValidation: ICheckoutValidation;
365
365
  forceDeliverySection: boolean;
366
366
  enableInterimModal: boolean;
367
+ smsOptIn: boolean;
367
368
  }
368
369
  export interface IFeaturesV2 {
369
370
  additionalCharges: boolean;
@@ -14,6 +14,7 @@ export interface ISharedFeatures {
14
14
  couponGallery: ICouponGallery;
15
15
  flyerConfiguration: IFlyerConfiguration | null;
16
16
  ageVerification: IAgeVerification;
17
+ ageGateModal: IAgeGateModal;
17
18
  loyalty: ILoyalty;
18
19
  idp: IIdp;
19
20
  }
@@ -51,7 +52,6 @@ export interface ISharedGeneral {
51
52
  dateOfBirthInputFormat: IDateFormat;
52
53
  wasComparisonPrice: boolean;
53
54
  enableTargetedRewardsIcon: boolean;
54
- smsOptIn: boolean;
55
55
  }
56
56
  export interface IFlyerConfiguration {
57
57
  enabled: boolean;
@@ -63,6 +63,10 @@ export interface IAgeVerification {
63
63
  ageVerificationPrefix: string;
64
64
  ageVerificationStatementName: string;
65
65
  }
66
+ export interface IAgeGateModal {
67
+ enabled: boolean;
68
+ redirectUrl: string;
69
+ }
66
70
  export interface ILoyalty {
67
71
  barcodeFormat: Format;
68
72
  }
@@ -87,6 +87,7 @@ var CommonConfigSFUI = {
87
87
  showTaxTotal: true,
88
88
  },
89
89
  checkout: {
90
+ smsOptIn: false,
90
91
  checkoutValidation: {
91
92
  instructions: ["alphaNumeric", "notWhiteSpacesOnly"],
92
93
  phoneNumber: ["usPhone", "required"],
@@ -31,6 +31,10 @@ var CommonSharedSettingsConfig = {
31
31
  ageVerificationPrefix: "",
32
32
  ageVerificationStatementName: "",
33
33
  },
34
+ ageGateModal: {
35
+ enabled: false,
36
+ redirectUrl: ''
37
+ },
34
38
  loyalty: {
35
39
  barcodeFormat: "UPC",
36
40
  },
@@ -50,7 +54,6 @@ var CommonSharedSettingsConfig = {
50
54
  dateOfBirthInputFormat: "DD/MM/YYYY",
51
55
  wasComparisonPrice: false,
52
56
  enableTargetedRewardsIcon: false,
53
- smsOptIn: false
54
57
  },
55
58
  };
56
59
  exports.default = CommonSharedSettingsConfig;