@aptos-scp/scp-component-store-selling-features-domain-model 2.14.0 → 2.15.0

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.
@@ -968,7 +968,8 @@ export declare enum CollectedDataKey {
968
968
  IsPermanentMembershipDiscount = "isPermanentMembershipDiscount",
969
969
  TerminalForceClosed = "TerminalForceClosed",
970
970
  TotalLineTax = "totalLineTax",
971
- CustomerInputScreens = "customerInputScreens"
971
+ CustomerInputScreens = "customerInputScreens",
972
+ CustomerInputMode = "customerInputMode"
972
973
  }
973
974
  export declare enum ItemLookupType {
974
975
  ProductInquiryDetail = "ProductInquiryDetail",
@@ -1066,6 +1067,9 @@ export declare enum AssignCustomerForReturnAction {
1066
1067
  Replace = "Replace",
1067
1068
  Skip = "Skip"
1068
1069
  }
1070
+ export declare enum CustomerInputMode {
1071
+ OptInConfirmation = "OptInConfirmation"
1072
+ }
1069
1073
  export declare const DELIVERY_CONTACT_UPDATED_EVENT: string;
1070
1074
  export declare const DELIVERY_ITEM_UPDATED_EVENT: string;
1071
1075
  export declare const PAYMENT_ACCOUNT_LOOKUP_EVENT: string;
@@ -976,6 +976,7 @@ var CollectedDataKey;
976
976
  CollectedDataKey["TerminalForceClosed"] = "TerminalForceClosed";
977
977
  CollectedDataKey["TotalLineTax"] = "totalLineTax";
978
978
  CollectedDataKey["CustomerInputScreens"] = "customerInputScreens";
979
+ CollectedDataKey["CustomerInputMode"] = "customerInputMode";
979
980
  })(CollectedDataKey = exports.CollectedDataKey || (exports.CollectedDataKey = {}));
980
981
  var ItemLookupType;
981
982
  (function (ItemLookupType) {
@@ -1071,6 +1072,10 @@ var AssignCustomerForReturnAction;
1071
1072
  AssignCustomerForReturnAction["Replace"] = "Replace";
1072
1073
  AssignCustomerForReturnAction["Skip"] = "Skip";
1073
1074
  })(AssignCustomerForReturnAction = exports.AssignCustomerForReturnAction || (exports.AssignCustomerForReturnAction = {}));
1075
+ var CustomerInputMode;
1076
+ (function (CustomerInputMode) {
1077
+ CustomerInputMode["OptInConfirmation"] = "OptInConfirmation";
1078
+ })(CustomerInputMode = exports.CustomerInputMode || (exports.CustomerInputMode = {}));
1074
1079
  exports.DELIVERY_CONTACT_UPDATED_EVENT = "Delivery.ContactUpdated";
1075
1080
  exports.DELIVERY_ITEM_UPDATED_EVENT = "Delivery.ItemUpdated";
1076
1081
  exports.PAYMENT_ACCOUNT_LOOKUP_EVENT = "PaymentAccount.Lookup";
@@ -24,12 +24,12 @@ export interface IDiscountAttributeListDefinition {
24
24
  readonly name: ILabel;
25
25
  readonly description: ILabel;
26
26
  }
27
- interface IValidationCriteria {
27
+ export interface IValidationCriteria {
28
28
  cardRangeBegin: string;
29
29
  cardRangeEnd: string;
30
30
  cardLength: number;
31
31
  }
32
- interface IRewardCardAvailable {
32
+ export interface IRewardCardAvailable {
33
33
  rewardPrintedName?: ILabel;
34
34
  rewardPrintedNumberLabel?: ILabel;
35
35
  autoPopulateCardNumberFromCustomer?: boolean;
@@ -39,4 +39,3 @@ interface IRewardCardAvailable {
39
39
  export interface IRewardCardDiscount extends IDiscountDefinition {
40
40
  rewardCardsAvailable: IRewardCardAvailable[];
41
41
  }
42
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "2.14.0",
3
+ "version": "2.15.0",
4
4
  "description": "This component library provides the common components to handle the coordination of processing the business events from the UI.",
5
5
  "private": false,
6
6
  "license": "SEE LICENSE IN LICENSE.md",