@aptos-scp/scp-component-store-selling-features-domain-model 2.26.0 → 2.27.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.
@@ -1087,9 +1087,6 @@ export declare enum AssignCustomerForReturnAction {
1087
1087
  Replace = "Replace",
1088
1088
  Skip = "Skip"
1089
1089
  }
1090
- export declare enum CustomerInputMode {
1091
- OptInConfirmation = "OptInConfirmation"
1092
- }
1093
1090
  export declare enum PaymentFunction {
1094
1091
  AccountLookup = "AccountLookup",
1095
1092
  AccountSummaryDisplay = "AccountSummaryDisplay",
@@ -1092,10 +1092,6 @@ var AssignCustomerForReturnAction;
1092
1092
  AssignCustomerForReturnAction["Replace"] = "Replace";
1093
1093
  AssignCustomerForReturnAction["Skip"] = "Skip";
1094
1094
  })(AssignCustomerForReturnAction = exports.AssignCustomerForReturnAction || (exports.AssignCustomerForReturnAction = {}));
1095
- var CustomerInputMode;
1096
- (function (CustomerInputMode) {
1097
- CustomerInputMode["OptInConfirmation"] = "OptInConfirmation";
1098
- })(CustomerInputMode = exports.CustomerInputMode || (exports.CustomerInputMode = {}));
1099
1095
  var PaymentFunction;
1100
1096
  (function (PaymentFunction) {
1101
1097
  PaymentFunction["AccountLookup"] = "AccountLookup";
@@ -1,5 +1,11 @@
1
- export interface IAccessPolicyConfig {
2
- minimumSecurityLevel: number;
1
+ export interface ISecurityPolicyConfig extends ILevelBasedSecurityPolicyConfig, IRoleBasedSecurityPolicyConfig {
3
2
  supervisorOverrideAllowed: boolean;
3
+ }
4
+ export interface ILevelBasedSecurityPolicyConfig {
5
+ minimumSecurityLevel: number;
4
6
  deferApprovalUntilTotal: boolean;
5
7
  }
8
+ export interface IRoleBasedSecurityPolicyConfig {
9
+ roleIds: string[];
10
+ }
11
+ export declare type IAccessPolicyConfig = ISecurityPolicyConfig;
@@ -0,0 +1,8 @@
1
+ export interface IAutomaticLogOffOnTransactionCloseConfig {
2
+ enabled: boolean;
3
+ merchandise: IAutomaticLogOffSettingsForTransactionTypeConfig;
4
+ }
5
+ export interface IAutomaticLogOffSettingsForTransactionTypeConfig {
6
+ enabled: boolean;
7
+ securityPolicy: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAutomaticLogOffOnTransactionCloseConfig.js.map
@@ -29,3 +29,4 @@ export * from "./IProductInquiryBehaviorsConfig";
29
29
  export * from "./IFeesConfig";
30
30
  export * from "./DataEntryRule";
31
31
  export * from "./IAutomaticTimeoutConfig";
32
+ export * from "./IAutomaticLogOffOnTransactionCloseConfig";
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.26.0",
3
+ "version": "2.27.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",