@aptos-scp/scp-component-store-selling-features-domain-model 2.35.1 → 2.35.3

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.
@@ -620,6 +620,7 @@ export declare enum CollectedDataKey {
620
620
  LineNumber = "lineNumber",
621
621
  LoyaltyPlanKey = "LoyaltyPlanKey",
622
622
  LoyaltyActivityId = "LoyaltyActivityId",
623
+ LoyaltyApiError = "LoyaltyApiError",
623
624
  LoyaltyDiscountProratedByService = "LoyaltyDiscountProratedByService",
624
625
  ProratedLoyaltyItemLines = "ProratedLoyaltyItemLines",
625
626
  ManualSubscriptionDiscountFlag = "ManualSubscriptionDiscountFlag",
@@ -627,6 +627,7 @@ var CollectedDataKey;
627
627
  CollectedDataKey["LineNumber"] = "lineNumber";
628
628
  CollectedDataKey["LoyaltyPlanKey"] = "LoyaltyPlanKey";
629
629
  CollectedDataKey["LoyaltyActivityId"] = "LoyaltyActivityId";
630
+ CollectedDataKey["LoyaltyApiError"] = "LoyaltyApiError";
630
631
  CollectedDataKey["LoyaltyDiscountProratedByService"] = "LoyaltyDiscountProratedByService";
631
632
  CollectedDataKey["ProratedLoyaltyItemLines"] = "ProratedLoyaltyItemLines";
632
633
  CollectedDataKey["ManualSubscriptionDiscountFlag"] = "ManualSubscriptionDiscountFlag";
@@ -124,6 +124,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
124
124
  private _shouldUpdatePricing;
125
125
  private _hasPromisedToPayWithPLCC;
126
126
  private _shouldUpdateTaxation;
127
+ private _fulfillmentAuthorizationStatus?;
127
128
  private _referenceNumber;
128
129
  private _giftReceipt;
129
130
  private _giftReceiptMode;
@@ -324,6 +325,7 @@ export declare class MerchandiseTransaction extends RetailTransaction implements
324
325
  get shouldUpdatePricing(): boolean;
325
326
  get hasPromisedToPayWithPLCC(): boolean;
326
327
  get shouldUpdateTaxation(): boolean;
328
+ get fulfillmentAuthorizationStatus(): string | undefined;
327
329
  get giftReceiptMode(): GiftReceiptMode;
328
330
  get giftReceipt(): boolean;
329
331
  get transactionTotal(): Money;
@@ -69,6 +69,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
69
69
  this._shouldUpdatePricing = false;
70
70
  this._hasPromisedToPayWithPLCC = false;
71
71
  this._shouldUpdateTaxation = false;
72
+ this._fulfillmentAuthorizationStatus = undefined;
72
73
  this._transactionReferenceFormatter = transactionReferenceFormatter;
73
74
  this._giftReceiptMode = giftReceiptMode;
74
75
  this._giftReceipt = giftReceipt;
@@ -186,6 +187,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
186
187
  transaction._shouldUpdatePricing = this._shouldUpdatePricing;
187
188
  transaction._hasPromisedToPayWithPLCC = this._hasPromisedToPayWithPLCC;
188
189
  transaction._shouldUpdateTaxation = this._shouldUpdateTaxation;
190
+ transaction._fulfillmentAuthorizationStatus = this._fulfillmentAuthorizationStatus;
189
191
  transaction._transactionReferenceFormatter = this._transactionReferenceFormatter;
190
192
  transaction._referenceNumber = this._referenceNumber;
191
193
  transaction._giftReceiptMode = this._giftReceiptMode;
@@ -802,6 +804,9 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
802
804
  get shouldUpdateTaxation() {
803
805
  return this._shouldUpdateTaxation;
804
806
  }
807
+ get fulfillmentAuthorizationStatus() {
808
+ return this._fulfillmentAuthorizationStatus;
809
+ }
805
810
  get giftReceiptMode() {
806
811
  return this._giftReceiptMode;
807
812
  }
@@ -891,6 +896,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
891
896
  ["transaction.feeTax", this.transactionFeeTax],
892
897
  ["transaction.totalFee", this.transactionTotalFee],
893
898
  ["transaction.hasPromisedToPayWithPLCC", this._hasPromisedToPayWithPLCC],
899
+ ["transaction.fulfillmentAuthorizationStatus", this._fulfillmentAuthorizationStatus],
894
900
  ["transaction.transactionTotalFeeAfterTaxAdjustment", this._transactionTotalFeeAfterTaxAdjustment],
895
901
  ["transaction.returnSubTotal", this._returnSubTotal],
896
902
  ["transaction.returnSubTotalExcludingTax", this._returnSubTotalExcludingTax],
@@ -1033,6 +1039,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
1033
1039
  _shouldUpdatePricing: this.shouldUpdatePricing,
1034
1040
  _hasPromisedToPayWithPLCC: this.hasPromisedToPayWithPLCC,
1035
1041
  _shouldUpdateTaxation: this.shouldUpdateTaxation,
1042
+ _fulfillmentAuthorizationStatus: this.fulfillmentAuthorizationStatus,
1036
1043
  _referenceNumber: this.referenceNumber,
1037
1044
  _giftReceiptMode: this.giftReceiptMode,
1038
1045
  _giftReceipt: this.giftReceipt,
@@ -1182,6 +1189,7 @@ class MerchandiseTransaction extends RetailTransaction_1.RetailTransaction {
1182
1189
  this._shouldUpdatePricing = transactionJsonObj._shouldUpdatePricing;
1183
1190
  this._hasPromisedToPayWithPLCC = transactionJsonObj._hasPromisedToPayWithPLCC;
1184
1191
  this._shouldUpdateTaxation = transactionJsonObj._shouldUpdateTaxation;
1192
+ this._fulfillmentAuthorizationStatus = transactionJsonObj._fulfillmentAuthorizationStatus;
1185
1193
  this._referenceNumber = transactionJsonObj._referenceNumber;
1186
1194
  this._giftReceiptMode = transactionJsonObj._giftReceiptMode;
1187
1195
  this._giftReceipt = transactionJsonObj._giftReceipt;
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.35.1",
3
+ "version": "2.35.3",
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",
@@ -39,6 +39,7 @@
39
39
  "prettier:format": "prettier --write ."
40
40
  },
41
41
  "dependencies": {
42
+ "@aptos-scp/scp-types-canonical-orders-web-services": "^1.1.1",
42
43
  "@aptos-scp/scp-types-country-box": "^1.3.0",
43
44
  "big.js": "^6.1.1",
44
45
  "crc-32": "^1.2.0",