@aptos-scp/scp-component-store-selling-features-domain-model 1.0.8 → 1.0.9

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.
@@ -65,6 +65,9 @@ export declare const RESERVE_INVENTORY_EVENT: string;
65
65
  export declare const SEARCH_ORDERS_EVENT: string;
66
66
  export declare const LOG_OFF_EVENT: string;
67
67
  export declare const LOG_ON_EVENT: string;
68
+ export declare const LOCK_USER_SESSION_EVENT: string;
69
+ export declare const UNLOCK_USER_SESSION_EVENT: string;
70
+ export declare const AUTO_LOG_OFF_OR_LOCK_EVENT: string;
68
71
  export declare const LOG_ON_UNATTENDED_USER_EVENT: string;
69
72
  export declare const LOOKUP_CUSTOMER_EVENT: string;
70
73
  export declare const MANUAL_DISCOUNT_VALIDATION_EVENT: string;
@@ -275,6 +278,7 @@ export declare const TAX_REFUND_VOID_EVENT: string;
275
278
  export declare const START_TAX_REFUND_DEFERRED_EVENT: string;
276
279
  export declare const TAX_REFUND_DEFERRED_EVENT: string;
277
280
  export declare const START_OPEN_CASH_DRAWER_EVENT: string;
281
+ export declare const START_OPEN_TENDER_EXCHANGE_CASH_DRAWER_EVENT: string;
278
282
  export declare const CAPTURE_LOTTERY_CODE_EVENT: string;
279
283
  export declare const APPLY_ITEM_SUBSCRIPTION_EVENT: string;
280
284
  export declare const ADD_ITEM_SUBSCRIPTION_EVENT: string;
@@ -68,6 +68,9 @@ exports.RESERVE_INVENTORY_EVENT = "ReserveInventoryEvent";
68
68
  exports.SEARCH_ORDERS_EVENT = "SearchOrdersEvent";
69
69
  exports.LOG_OFF_EVENT = "LogOff";
70
70
  exports.LOG_ON_EVENT = "LogOn";
71
+ exports.LOCK_USER_SESSION_EVENT = "LockUserSession";
72
+ exports.UNLOCK_USER_SESSION_EVENT = "UnlockUserSession";
73
+ exports.AUTO_LOG_OFF_OR_LOCK_EVENT = "AutoLogOffOrLock";
71
74
  exports.LOG_ON_UNATTENDED_USER_EVENT = "LogOnUnattendedUser";
72
75
  exports.LOOKUP_CUSTOMER_EVENT = "LookupCustomer";
73
76
  exports.MANUAL_DISCOUNT_VALIDATION_EVENT = "ManualDiscountValidationEvent";
@@ -282,6 +285,7 @@ exports.TAX_REFUND_VOID_EVENT = "TaxRefundVoid";
282
285
  exports.START_TAX_REFUND_DEFERRED_EVENT = "StartTaxRefundDeferred";
283
286
  exports.TAX_REFUND_DEFERRED_EVENT = "TaxRefundDeferred";
284
287
  exports.START_OPEN_CASH_DRAWER_EVENT = "StartOpenCashDrawer";
288
+ exports.START_OPEN_TENDER_EXCHANGE_CASH_DRAWER_EVENT = "StartOpenTenderExchangeCashDrawer";
285
289
  exports.CAPTURE_LOTTERY_CODE_EVENT = "CaptureLotteryCode";
286
290
  exports.APPLY_ITEM_SUBSCRIPTION_EVENT = "ApplyItemSubscription";
287
291
  exports.ADD_ITEM_SUBSCRIPTION_EVENT = "AddItemSubscription";
@@ -98,6 +98,7 @@ export declare enum UiInputKey {
98
98
  ASSIGN_TO_TRANSACTION = "input_assignToTransaction",
99
99
  AUTHORIZATION_DEVICE_ID = "input_authorizationDeviceId",
100
100
  BUSINESS_DAY_DATE = "input_businessDayDate",
101
+ SAME_AS_BILLTO = "input_sameAsBillTo",
101
102
  BILLING = "input_billing",
102
103
  CASH_DRAWER_STATUS = "input_cashDrawerStatus",
103
104
  COMPLETE_RESUME_EVENT = "input_resumeCompleteEvent",
@@ -303,6 +304,8 @@ export declare enum UiInputKey {
303
304
  ALTERNATE_KEY_ADD = "input_alternateKeyAdd",
304
305
  ALTERNATE_KEY_SWAP = "input_alternateKeySwap",
305
306
  ALTERNATE_KEY_REMOVE = "input_alternateKeyRemove",
307
+ EMAIL_OR_PHONE = "input_emailOrPhone",
308
+ EMAIL_ADDRESS = "emailAddress",
306
309
  TILL_KEY = "input_tillKey",
307
310
  TILL_ACTUAL_AMOUNT = "input_tillActualAmount",
308
311
  TILL_TRANSFER_AMOUNT = "input_tillTransferAmount",
@@ -425,6 +428,7 @@ export declare enum CollectedDataKey {
425
428
  AutoApplied = "AutoApplied",
426
429
  BalanceInquiry = "BalanceInquiry",
427
430
  Billing = "Billing",
431
+ SameAsBillTo = "SameAsBillTo",
428
432
  BalanceInquiryResponse = "BalanceInquiryResponse",
429
433
  ExchangeRateValue = "exchangeRateValue",
430
434
  FeesByFulfillmentGroup = "FeesByFulfillmentGroup",
@@ -101,6 +101,7 @@ var UiInputKey;
101
101
  UiInputKey["ASSIGN_TO_TRANSACTION"] = "input_assignToTransaction";
102
102
  UiInputKey["AUTHORIZATION_DEVICE_ID"] = "input_authorizationDeviceId";
103
103
  UiInputKey["BUSINESS_DAY_DATE"] = "input_businessDayDate";
104
+ UiInputKey["SAME_AS_BILLTO"] = "input_sameAsBillTo";
104
105
  UiInputKey["BILLING"] = "input_billing";
105
106
  UiInputKey["CASH_DRAWER_STATUS"] = "input_cashDrawerStatus";
106
107
  UiInputKey["COMPLETE_RESUME_EVENT"] = "input_resumeCompleteEvent";
@@ -306,6 +307,8 @@ var UiInputKey;
306
307
  UiInputKey["ALTERNATE_KEY_ADD"] = "input_alternateKeyAdd";
307
308
  UiInputKey["ALTERNATE_KEY_SWAP"] = "input_alternateKeySwap";
308
309
  UiInputKey["ALTERNATE_KEY_REMOVE"] = "input_alternateKeyRemove";
310
+ UiInputKey["EMAIL_OR_PHONE"] = "input_emailOrPhone";
311
+ UiInputKey["EMAIL_ADDRESS"] = "emailAddress";
309
312
  UiInputKey["TILL_KEY"] = "input_tillKey";
310
313
  UiInputKey["TILL_ACTUAL_AMOUNT"] = "input_tillActualAmount";
311
314
  UiInputKey["TILL_TRANSFER_AMOUNT"] = "input_tillTransferAmount";
@@ -434,6 +437,7 @@ var CollectedDataKey;
434
437
  CollectedDataKey["AutoApplied"] = "AutoApplied";
435
438
  CollectedDataKey["BalanceInquiry"] = "BalanceInquiry";
436
439
  CollectedDataKey["Billing"] = "Billing";
440
+ CollectedDataKey["SameAsBillTo"] = "SameAsBillTo";
437
441
  CollectedDataKey["BalanceInquiryResponse"] = "BalanceInquiryResponse";
438
442
  CollectedDataKey["ExchangeRateValue"] = "exchangeRateValue";
439
443
  CollectedDataKey["FeesByFulfillmentGroup"] = "FeesByFulfillmentGroup";
@@ -124,6 +124,7 @@ export interface ICustomerSearch {
124
124
  lastName?: string;
125
125
  alternateKey1?: string;
126
126
  alternateKey2?: string;
127
+ emailOrPhone?: string;
127
128
  limit?: number;
128
129
  offset?: number;
129
130
  fields?: string[];
@@ -129,6 +129,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
129
129
  private _taxLotteryNumber?;
130
130
  private _denominationRounding?;
131
131
  private _order?;
132
+ private _sameAsBillTo?;
132
133
  private _orderReferenceSequenceNumber?;
133
134
  private _orderReferenceSequenceNumberGenerator?;
134
135
  private _taxLotteryCustomerCode?;
@@ -230,6 +231,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
230
231
  get invoiceSequenceNumber(): number;
231
232
  get invoiceSequenceNumberGenerator(): string;
232
233
  get orderReferenceSequenceNumber(): number;
234
+ get sameAsBillTo(): boolean;
233
235
  get orderReferenceSequenceNumberGenerator(): string;
234
236
  get transactionTaxExemptAmount(): Money;
235
237
  get transactionTaxAdjustmentAmount(): Money;
@@ -194,6 +194,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
194
194
  transaction._taxLotteryNumber = this._taxLotteryNumber;
195
195
  transaction._denominationRounding = this._denominationRounding;
196
196
  transaction._order = this._order;
197
+ transaction._sameAsBillTo = this._sameAsBillTo;
197
198
  transaction._orderReferenceSequenceNumber = this._orderReferenceSequenceNumber;
198
199
  transaction._orderReferenceSequenceNumberGenerator = this._orderReferenceSequenceNumberGenerator;
199
200
  transaction._taxLotteryCustomerCode = this._taxLotteryCustomerCode;
@@ -461,6 +462,9 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
461
462
  get orderReferenceSequenceNumber() {
462
463
  return this._orderReferenceSequenceNumber;
463
464
  }
465
+ get sameAsBillTo() {
466
+ return this._sameAsBillTo;
467
+ }
464
468
  get orderReferenceSequenceNumberGenerator() {
465
469
  return this._orderReferenceSequenceNumberGenerator;
466
470
  }
@@ -846,6 +850,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
846
850
  ["transaction.taxLotteryNumber", this._taxLotteryNumber],
847
851
  ["transaction.denominationRounding", this.denominationRounding],
848
852
  ["transaction.order", this._order],
853
+ ["transaction.sameAsBillTo", this._sameAsBillTo],
849
854
  ["transaction.taxLotteryCustomerCode", this._taxLotteryCustomerCode],
850
855
  ["transaction.taxScanCodeData", this._taxScanCodeData],
851
856
  ["transaction.inventoryReservationStatus", this.inventoryReservationStatus],
@@ -967,6 +972,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
967
972
  _taxLotteryNumber: this._taxLotteryNumber,
968
973
  _denominationRounding: this._denominationRounding,
969
974
  _order: this.order,
975
+ _sameAsBillTo: this._sameAsBillTo,
970
976
  _orderReferenceSequenceNumber: this._orderReferenceSequenceNumber,
971
977
  _orderReferenceSequenceNumberGenerator: this._orderReferenceSequenceNumberGenerator,
972
978
  _taxLotteryCustomerCode: this._taxLotteryCustomerCode,
@@ -1109,6 +1115,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
1109
1115
  transactionJsonObj._denominationRounding && new scp_component_business_core_1.Money(transactionJsonObj._denominationRounding);
1110
1116
  this._order = Order_1.Order.createFromJsonObject(transactionJsonObj._order);
1111
1117
  this._invoiceSequenceNumberGenerator = transactionJsonObj._invoiceSequenceNumberGenerator;
1118
+ this._sameAsBillTo = transactionJsonObj._sameAsBillTo;
1112
1119
  this._orderReferenceSequenceNumber = transactionJsonObj._orderReferenceSequenceNumber;
1113
1120
  this._orderReferenceSequenceNumberGenerator = transactionJsonObj._orderReferenceSequenceNumberGenerator;
1114
1121
  this._taxLotteryCustomerCode = transactionJsonObj._taxLotteryCustomerCode;
@@ -27,6 +27,7 @@ export declare class Order extends BaseOrder implements IOrder {
27
27
  get totals(): OrderTotals;
28
28
  get billing(): IBilling;
29
29
  get customerContactVerificationStatus(): ContactVerificationStatus;
30
+ get sameAsBillTo(): boolean;
30
31
  private _orderReferenceId;
31
32
  private readonly _fulfillmentGroups;
32
33
  private readonly _mixedBasketEnabled;
@@ -35,6 +36,7 @@ export declare class Order extends BaseOrder implements IOrder {
35
36
  private _totals;
36
37
  private _billing;
37
38
  private _contactVerificationStatus;
39
+ private _sameAsBillTo;
38
40
  static create(orderReferenceId: string, mixedBasketEnabled: boolean, fulfillmentGroupId: number, fulfillmentType: FulfillmentType, address: IAddress, retailLocationId: string, storeName?: string, contact?: ICustomer | IPerson, orderType?: OrderType, deliveryInterval?: ITimeInterval, deliveryCode?: string, fulfillmentGroupDescription?: string, totals?: OrderTotals, billing?: IBilling): Order;
39
41
  static createFromJsonObject(orderFromJson: any): Order;
40
42
  static getFulfillmentGroupByType(order: Order, fulfillmentType: FulfillmentType): FulfillmentGroup;
@@ -50,11 +52,12 @@ export declare class Order extends BaseOrder implements IOrder {
50
52
  * @param mixedBasketEnabled A flag for setting whether or not mixed basket is enabled
51
53
  * @param totals order related totals.
52
54
  */
53
- constructor(orderReferenceId: string, fulfillmentGroups: FulfillmentGroup[], mixedBasketEnabled: boolean, orderType: OrderType, voided?: boolean, totals?: OrderTotals, billing?: IBilling, contactVerificationStatus?: ContactVerificationStatus);
55
+ constructor(orderReferenceId: string, fulfillmentGroups: FulfillmentGroup[], mixedBasketEnabled: boolean, orderType: OrderType, voided?: boolean, totals?: OrderTotals, billing?: IBilling, contactVerificationStatus?: ContactVerificationStatus, sameAsBillTo?: boolean);
54
56
  clone(): IOrder;
55
57
  void(): Order;
56
58
  updateContact(fulfillmentGroupId: number, contact: ICustomer): Order;
57
59
  updateCustomerContactVerificationStatus(status: ContactVerificationStatus): Order;
60
+ updateSameAsBillTo(value: boolean): Order;
58
61
  updateBilling(billing: IBilling): Order;
59
62
  updateOrderTotals(totals: OrderTotals): Order;
60
63
  removeFulfillmentGroup(fulfillmentGroupId: number): Order;
@@ -33,7 +33,7 @@ class Order extends BaseOrder {
33
33
  * @param mixedBasketEnabled A flag for setting whether or not mixed basket is enabled
34
34
  * @param totals order related totals.
35
35
  */
36
- constructor(orderReferenceId, fulfillmentGroups, mixedBasketEnabled, orderType, voided = false, totals, billing, contactVerificationStatus = ContactVerificationStatus.NotVerified) {
36
+ constructor(orderReferenceId, fulfillmentGroups, mixedBasketEnabled, orderType, voided = false, totals, billing, contactVerificationStatus = ContactVerificationStatus.NotVerified, sameAsBillTo) {
37
37
  super();
38
38
  this._fulfillmentGroups = fulfillmentGroups;
39
39
  this._orderReferenceId = orderReferenceId;
@@ -43,6 +43,7 @@ class Order extends BaseOrder {
43
43
  this._totals = totals;
44
44
  this._billing = billing;
45
45
  this._contactVerificationStatus = contactVerificationStatus;
46
+ this._sameAsBillTo = sameAsBillTo;
46
47
  }
47
48
  get orderReferenceId() {
48
49
  return this._orderReferenceId;
@@ -68,6 +69,9 @@ class Order extends BaseOrder {
68
69
  get customerContactVerificationStatus() {
69
70
  return this._contactVerificationStatus;
70
71
  }
72
+ get sameAsBillTo() {
73
+ return this._sameAsBillTo;
74
+ }
71
75
  static create(orderReferenceId, mixedBasketEnabled, fulfillmentGroupId, fulfillmentType, address, retailLocationId, storeName, contact, orderType = scp_types_commerce_transaction_1.OrderType.Regular, deliveryInterval, deliveryCode, fulfillmentGroupDescription, totals, billing) {
72
76
  const fulfillmentGroups = [];
73
77
  const fulfillmentGroup = FulfillmentGroup_1.FulfillmentGroup.create(fulfillmentGroupId, fulfillmentType, address, retailLocationId, storeName, contact, deliveryInterval, deliveryCode, fulfillmentGroupDescription);
@@ -97,11 +101,11 @@ class Order extends BaseOrder {
97
101
  return Order.getFulfillmentGroup(order);
98
102
  }
99
103
  clone() {
100
- const newOrder = new Order(this.orderReferenceId, this.fulfillmentGroups, this.mixedBasketEnabled, this.orderType, this.voided, this.totals, this.billing, this.customerContactVerificationStatus);
104
+ const newOrder = new Order(this.orderReferenceId, this.fulfillmentGroups, this.mixedBasketEnabled, this.orderType, this.voided, this.totals, this.billing, this.customerContactVerificationStatus, this.sameAsBillTo);
101
105
  return newOrder;
102
106
  }
103
107
  void() {
104
- const newOrder = new Order(this.orderReferenceId, this.fulfillmentGroups, this.mixedBasketEnabled, this.orderType, true, this.totals, this.billing, this.customerContactVerificationStatus);
108
+ const newOrder = new Order(this.orderReferenceId, this.fulfillmentGroups, this.mixedBasketEnabled, this.orderType, true, this.totals, this.billing, this.customerContactVerificationStatus, this.sameAsBillTo);
105
109
  return newOrder;
106
110
  }
107
111
  updateContact(fulfillmentGroupId, contact) {
@@ -121,11 +125,14 @@ class Order extends BaseOrder {
121
125
  newOrder._contactVerificationStatus = status;
122
126
  return newOrder;
123
127
  }
128
+ updateSameAsBillTo(value) {
129
+ const newOrder = this.clone();
130
+ newOrder._sameAsBillTo = value;
131
+ return newOrder;
132
+ }
124
133
  updateBilling(billing) {
125
134
  const newOrder = this.clone();
126
- if (billing) {
127
- newOrder._billing = billing;
128
- }
135
+ newOrder._billing = billing;
129
136
  return newOrder;
130
137
  }
131
138
  updateOrderTotals(totals) {
@@ -0,0 +1,8 @@
1
+ export interface IAutomaticTimeoutConfig {
2
+ enabled: boolean;
3
+ timeoutSeconds?: number;
4
+ securityPolicies?: ISecurityPolicies;
5
+ }
6
+ export interface ISecurityPolicies {
7
+ managerUnlock: string;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=IAutomaticTimeoutConfig.js.map
@@ -57,6 +57,7 @@ export interface IFeatureAccessConfig {
57
57
  subscriptionPaymentFlow?: SubscriptionFlowOptions;
58
58
  preconfiguredOverrides?: PreconfiguredDiscountOverrides;
59
59
  byFeeType?: IFeeType;
60
+ defaultSelection?: IDefaultSelectionForManualDiscount;
60
61
  }
61
62
  export interface ITranslatableMessage {
62
63
  [locale: string]: string;
@@ -184,3 +185,7 @@ export interface IFeeChange {
184
185
  reasonCodeListType?: string;
185
186
  limits?: IThreshold;
186
187
  }
188
+ export declare enum IDefaultSelectionForManualDiscount {
189
+ Amount = "Amount",
190
+ Percent = "Percent"
191
+ }
@@ -48,4 +48,10 @@ var SubscriptionFlowOptions;
48
48
  SubscriptionFlowOptions["TokenBeforePayment"] = "TokenBeforePayment";
49
49
  SubscriptionFlowOptions["PaymentBeforeToken"] = "PaymentBeforeToken";
50
50
  })(SubscriptionFlowOptions = exports.SubscriptionFlowOptions || (exports.SubscriptionFlowOptions = {}));
51
+ // The Default selection for manual discount screens that have amount and percentage options.
52
+ var IDefaultSelectionForManualDiscount;
53
+ (function (IDefaultSelectionForManualDiscount) {
54
+ IDefaultSelectionForManualDiscount["Amount"] = "Amount";
55
+ IDefaultSelectionForManualDiscount["Percent"] = "Percent";
56
+ })(IDefaultSelectionForManualDiscount = exports.IDefaultSelectionForManualDiscount || (exports.IDefaultSelectionForManualDiscount = {}));
51
57
  //# sourceMappingURL=IFeatureAccessConfig.js.map
@@ -28,3 +28,4 @@ export * from "./Ii18n";
28
28
  export * from "./IProductInquiryBehaviorsConfig";
29
29
  export * from "./IFeesConfig";
30
30
  export * from "./DataEntryRule";
31
+ export * from "./IAutomaticTimeoutConfig";
@@ -56,7 +56,7 @@ export * from "./Organization";
56
56
  export * from "./geoLocation";
57
57
  export * from "./giftCard/";
58
58
  export * from "./fee/";
59
- export * from "./fiscalDevice";
59
+ export * from "./fiscalDevice/";
60
60
  export * from "./donation/";
61
61
  export * from "./employeeCustomer/";
62
62
  export * from "./shipping/";
@@ -56,7 +56,7 @@ __export(require("./UserTransaction"));
56
56
  __export(require("./VoidInterfaces"));
57
57
  __export(require("./giftCard/"));
58
58
  __export(require("./fee/"));
59
- __export(require("./fiscalDevice"));
59
+ __export(require("./fiscalDevice/"));
60
60
  __export(require("./donation/"));
61
61
  __export(require("./employeeCustomer/"));
62
62
  __export(require("./shipping/"));
@@ -4,6 +4,8 @@ import { BaseTransactionLine } from "../BaseTransactionLine";
4
4
  import { IServiceResultLine } from "../IServiceResultLine";
5
5
  export declare const LOG_ON_LINE_TYPE = "LogOn";
6
6
  export declare const LOG_OFF_LINE_TYPE = "LogOff";
7
+ export declare const LOCK_LINE_TYPE = "Lock";
8
+ export declare const UNLOCK_LINE_TYPE = "Unlock";
7
9
  export declare const PASSWORD_CHANGED_LINE_TYPE = "PasswordChanged";
8
10
  export declare const UPDATED_USER_PREFERENCES_LINE_TYPE = "UpdatedUserPreferences";
9
11
  export declare class UserLine extends BaseTransactionLine implements IServiceResultLine {
@@ -5,6 +5,8 @@ const BaseTransactionLine_1 = require("../BaseTransactionLine");
5
5
  const User_1 = require("../User");
6
6
  exports.LOG_ON_LINE_TYPE = "LogOn";
7
7
  exports.LOG_OFF_LINE_TYPE = "LogOff";
8
+ exports.LOCK_LINE_TYPE = "Lock";
9
+ exports.UNLOCK_LINE_TYPE = "Unlock";
8
10
  exports.PASSWORD_CHANGED_LINE_TYPE = "PasswordChanged";
9
11
  exports.UPDATED_USER_PREFERENCES_LINE_TYPE = "UpdatedUserPreferences";
10
12
  class UserLine extends BaseTransactionLine_1.BaseTransactionLine {
@@ -38,7 +40,8 @@ class UserLine extends BaseTransactionLine_1.BaseTransactionLine {
38
40
  const lineType = BaseTransactionLine_1.BaseTransactionLine.lineTypeFromJsonObject(transactionLineJsonObj);
39
41
  const user = User_1.User.createFromJsonObject(transactionLineJsonObj._user);
40
42
  const autoLogoff = transactionLineJsonObj._autoLogoff;
41
- const userLine = new UserLine(lineNumber, lineType, user, autoLogoff);
43
+ const serviceResult = transactionLineJsonObj._serviceResult;
44
+ const userLine = new UserLine(lineNumber, lineType, user, autoLogoff, serviceResult);
42
45
  userLine.loadFromJsonObject(transactionLineJsonObj);
43
46
  return userLine;
44
47
  }
@@ -74,6 +77,8 @@ function isUserLine(transactionLine) {
74
77
  return (transactionLine instanceof UserLine ||
75
78
  ((transactionLine.lineType === exports.LOG_ON_LINE_TYPE ||
76
79
  transactionLine.lineType === exports.LOG_OFF_LINE_TYPE ||
80
+ transactionLine.lineType === exports.LOCK_LINE_TYPE ||
81
+ transactionLine.lineType === exports.UNLOCK_LINE_TYPE ||
77
82
  transactionLine.lineType === exports.PASSWORD_CHANGED_LINE_TYPE ||
78
83
  transactionLine.lineType === exports.UPDATED_USER_PREFERENCES_LINE_TYPE ||
79
84
  transactionLine.lineType === User_1.EXIT_ATTENDANT_MODE_LINE_TYPE ||
@@ -112,6 +112,7 @@ function mapStartTillEventTypeToLineType() {
112
112
  [UIBusinessEventTypes_1.START_SAFE_TO_TILL_EVENT, model_1.START_SAFE_TO_TILL_LINE_TYPE],
113
113
  [UIBusinessEventTypes_1.START_TILL_TO_SAFE_EVENT, model_1.START_TILL_TO_SAFE_LINE_TYPE],
114
114
  [UIBusinessEventTypes_1.START_OPEN_CASH_DRAWER_EVENT, model_1.START_OPEN_CASH_DRAWER_LINE_TYPE],
115
+ [UIBusinessEventTypes_1.START_OPEN_TENDER_EXCHANGE_CASH_DRAWER_EVENT, model_1.START_OPEN_CASH_DRAWER_LINE_TYPE],
115
116
  ]);
116
117
  }
117
118
  exports.mapStartTillEventTypeToLineType = mapStartTillEventTypeToLineType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptos-scp/scp-component-store-selling-features-domain-model",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
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",