@aptos-scp/scp-component-store-selling-features-domain-model 2.20.0 → 2.21.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.
@@ -456,6 +456,7 @@ export declare enum UiInputKey {
456
456
  FISCAL_RETRY = "input_fiscalRetry",
457
457
  MAX_FISCAL_RETRY = "input_maxFiscalRetry",
458
458
  CUSTOMER_INPUT_SCREENS = "input_customerInputScreens",
459
+ CUSTOMER_INPUT_MODE = "input_customerInputMode",
459
460
  FORCE_FISCAL_COMPLETION = "input_forceFiscalCompletion",
460
461
  IS_FISCALISE_VOID = "input_isFiscaliseVoid"
461
462
  }
@@ -457,6 +457,7 @@ var UiInputKey;
457
457
  UiInputKey["FISCAL_RETRY"] = "input_fiscalRetry";
458
458
  UiInputKey["MAX_FISCAL_RETRY"] = "input_maxFiscalRetry";
459
459
  UiInputKey["CUSTOMER_INPUT_SCREENS"] = "input_customerInputScreens";
460
+ UiInputKey["CUSTOMER_INPUT_MODE"] = "input_customerInputMode";
460
461
  UiInputKey["FORCE_FISCAL_COMPLETION"] = "input_forceFiscalCompletion";
461
462
  UiInputKey["IS_FISCALISE_VOID"] = "input_isFiscaliseVoid";
462
463
  })(UiInputKey = exports.UiInputKey || (exports.UiInputKey = {}));
@@ -164,7 +164,7 @@ export declare class TenderType {
164
164
  export declare function combineOriginalUnreferencedAndMappedTenders(tender: IOriginalTender, unreferencedAndMappedTenders: IOriginalTender[]): void;
165
165
  export declare function getConfiguredTender(originalTenderId: string, configurationManager: IConfigurationManager): any;
166
166
  export declare function getAllRefundableCardTypes(tenderTypeBehavior: any): string[];
167
- export declare function getMappedCardTypeNames(originalTender: IOriginalTender, tenderConfig: any, refundCardTypes: any): string[];
167
+ export declare function getMappedCardTypeNames(tenderConfig: any, refundCardTypes: any): string[];
168
168
  export declare function getActiveTendersByConfiguredPaymentRestrictions(activeTenderTypes: TenderType[], saleItemTypes: string[], diContainer: Container, orderTypes?: string[], productAttributeTypes?: string[]): TenderType[];
169
169
  export declare function getRefundableTendersByPaymentRestrictions(originalRefundableTenders: IOriginalTender[], saleItemTypes: string[], diContainer: Container, orderTypes?: string[], productAttributeTypes?: string[]): IOriginalTender[];
170
170
  export declare function getSaleItemTypes(transaction: MerchandiseTransaction): string[];
@@ -794,7 +794,7 @@ function getConfiguredMappedTenders(originalTender, configurationManager, transa
794
794
  if (!_.isEmpty(cardTypeExceptionsForOriginalTender)) {
795
795
  refundTenderTypes = cardTypeExceptionsForOriginalTender.refundTenderTypes;
796
796
  refundCardTypes = cardTypeExceptionsForOriginalTender.refundCardTypes;
797
- const mappedCardTypeNames = getMappedCardTypeNames(originalTender, tenderConfig, refundCardTypes);
797
+ const mappedCardTypeNames = getMappedCardTypeNames(tenderConfig, refundCardTypes);
798
798
  excludeCardTypes = mappedCardTypeNames;
799
799
  addCardTypeTendersToMappedTenders(mappedCardTypeNames, tenderDefinitions, mappedTenders, originalTender, transactionId, originalTransactions);
800
800
  }
@@ -878,7 +878,7 @@ function getMappedTenderTypeNames(originalTender, tenderConfig, originalTransact
878
878
  isOriginalTenderAmountAllowed(originalTender, mappedRefundTenderType, originalTransactions, refundDue));
879
879
  }));
880
880
  }
881
- function getMappedCardTypeNames(originalTender, tenderConfig, refundCardTypes) {
881
+ function getMappedCardTypeNames(tenderConfig, refundCardTypes) {
882
882
  return (refundCardTypes &&
883
883
  Object.keys(refundCardTypes).filter((cardType) => {
884
884
  const mappedRefundCardType = refundCardTypes[cardType];
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.20.0",
3
+ "version": "2.21.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",