@thryveai/theme-interfaces 2.4.13 → 2.4.15

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.
@@ -43,6 +43,7 @@ export interface IDefaultRetailerSettings {
43
43
  idpUrl: undefined | string;
44
44
  instacartUrl: string | undefined;
45
45
  isPlanningOnly: boolean;
46
+ RemoveAllOutOfStock: boolean;
46
47
  layout: ILayoutSettings;
47
48
  layouts: IGlobalLayouts;
48
49
  limitProductCardTitleHeight: boolean;
@@ -54,6 +54,7 @@ export interface IRetailerSettings {
54
54
  idpUrl?: undefined | string;
55
55
  instacartUrl?: string | undefined;
56
56
  isPlanningOnly?: boolean;
57
+ RemoveAllOutOfStock?: boolean;
57
58
  layout?: ILayoutSettings;
58
59
  layouts?: IGlobalLayouts;
59
60
  limitProductCardTitleHeight?: boolean;
@@ -276,6 +277,7 @@ export interface ICheckoutSettingsV2 {
276
277
  minimumCreditCardAmount: number;
277
278
  paymentCards: IPaymentCards;
278
279
  checkoutValidation: ICheckoutValidation;
280
+ forceDeliverySection: boolean;
279
281
  }
280
282
  export interface IFeaturesV2 {
281
283
  additionalCharges: boolean;
@@ -335,6 +337,7 @@ export interface ISiteSettingsV2 {
335
337
  gtmId: string;
336
338
  hideWelcomeModalOnCorporate: boolean;
337
339
  isPlanningOnly: boolean;
340
+ RemoveAllOutOfStock: boolean;
338
341
  mainHeaderHeight: number;
339
342
  maintainCustomerJourney: boolean;
340
343
  maintainCustomerPreferences: IMaintainCustomerPreferences;
@@ -457,6 +460,9 @@ export interface IAccountPageV2 {
457
460
  target: "_self" | "_blank";
458
461
  url: string;
459
462
  };
463
+ profileTab: {
464
+ deleteAccountButton: boolean;
465
+ };
460
466
  }
461
467
  export interface IGlobalAnimations {
462
468
  confetti: ILayoutAnimationsConfetti;
@@ -397,6 +397,12 @@ var SiteSettingsChildren = {
397
397
  helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
398
398
  type: exports.AdminTemplateInputTypes.checkbox,
399
399
  },
400
+ RemoveAllOutOfStock: {
401
+ title: "RemoveAllOutOfStock Button",
402
+ description: "Disable RemoveAllOutOfStock to hide RemoveAllOutOfStock button",
403
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo",
404
+ type: exports.AdminTemplateInputTypes.checkbox,
405
+ },
400
406
  mapZoom: {
401
407
  title: "Map Zoom",
402
408
  description: "Use to change the google maps zoom level",
@@ -522,6 +528,19 @@ var AccountPageSettingsChildren = {
522
528
  },
523
529
  },
524
530
  },
531
+ profileTab: {
532
+ title: "Profile Tab",
533
+ description: "Profile Tab settings",
534
+ type: exports.AdminTemplateInputTypes.collapsableObject,
535
+ value: {
536
+ deleteAccountButton: {
537
+ title: "Delete account button",
538
+ description: "Enable / disable delete account button on My Account page",
539
+ helpLink: "https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/3486023742/Delete+account+button",
540
+ type: exports.AdminTemplateInputTypes.checkbox,
541
+ },
542
+ },
543
+ },
525
544
  };
526
545
  var AddressSettingsChildren = {
527
546
  addressValidationTypes: {
@@ -14,6 +14,9 @@ var DefaultConfigSFUI = {
14
14
  loyaltyNumberPrefix: "",
15
15
  loyaltyValidationType: [],
16
16
  },
17
+ profileTab: {
18
+ deleteAccountButton: false,
19
+ },
17
20
  },
18
21
  addressSettings: {
19
22
  addressValidationTypes: {
@@ -66,6 +69,7 @@ var DefaultConfigSFUI = {
66
69
  MasterCard: true,
67
70
  VisaCard: true,
68
71
  },
72
+ forceDeliverySection: false,
69
73
  },
70
74
  features: {
71
75
  additionalCharges: false,
@@ -217,6 +221,7 @@ var DefaultConfigSFUI = {
217
221
  gtmId: "",
218
222
  hideWelcomeModalOnCorporate: false,
219
223
  isPlanningOnly: false,
224
+ RemoveAllOutOfStock: true,
220
225
  mainHeaderHeight: 110,
221
226
  maintainCustomerJourney: true,
222
227
  maintainCustomerPreferences: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thryveai/theme-interfaces",
3
- "version": "2.4.13",
3
+ "version": "2.4.15",
4
4
  "description": "Shared interfaces and defaults for all Wynshop themed apps.",
5
5
  "scripts": {
6
6
  "build": "tsc",