globalpayments-api 3.5.1 → 3.6.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.
- package/CHANGELOG.md +26 -1
- package/lib/src/Builders/AuthorizationBuilder.d.ts +348 -0
- package/lib/src/Builders/AuthorizationBuilder.js +668 -0
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +17 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +116 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +16 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +36 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder/Validations.js +55 -0
- package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -0
- package/lib/src/Builders/BaseBuilder.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder.js +17 -0
- package/lib/src/Builders/BaseBuilder.js.map +1 -0
- package/lib/src/Builders/ManagementBuilder.d.ts +122 -0
- package/lib/src/Builders/ManagementBuilder.js +244 -0
- package/lib/src/Builders/ManagementBuilder.js.map +1 -0
- package/lib/src/Builders/PayFacBuilder.d.ts +97 -0
- package/lib/src/Builders/PayFacBuilder.js +233 -0
- package/lib/src/Builders/PayFacBuilder.js.map +1 -0
- package/lib/src/Builders/RecurringBuilder.d.ts +13 -0
- package/lib/src/Builders/RecurringBuilder.js +34 -0
- package/lib/src/Builders/RecurringBuilder.js.map +1 -0
- package/lib/src/Builders/ReportBuilder.d.ts +10 -0
- package/lib/src/Builders/ReportBuilder.js +27 -0
- package/lib/src/Builders/ReportBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +23 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +35 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +448 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.d.ts +7 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +179 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.d.ts +16 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js +34 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +163 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSecureRequestBuilder.d.ts +20 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSecureRequestBuilder.js +413 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSecureRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +6 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +49 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +4 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js +21 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +18 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +125 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +83 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +9 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +66 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +8 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +41 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/index.js.map +1 -0
- package/lib/src/Builders/Secure3dBuilder.d.ts +90 -0
- package/lib/src/Builders/Secure3dBuilder.js +423 -0
- package/lib/src/Builders/Secure3dBuilder.js.map +1 -0
- package/lib/src/Builders/SecureBuilder.d.ts +446 -0
- package/lib/src/Builders/SecureBuilder.js +729 -0
- package/lib/src/Builders/SecureBuilder.js.map +1 -0
- package/lib/src/Builders/TransactionBuilder.d.ts +13 -0
- package/lib/src/Builders/TransactionBuilder.js +47 -0
- package/lib/src/Builders/TransactionBuilder.js.map +1 -0
- package/lib/src/Builders/TransactionReportBuilder.d.ts +19 -0
- package/lib/src/Builders/TransactionReportBuilder.js +92 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -0
- package/lib/src/Builders/index.d.ts +10 -0
- package/lib/src/Builders/index.js +27 -0
- package/lib/src/Builders/index.js.map +1 -0
- package/lib/src/ConfiguredServices.d.ts +28 -0
- package/lib/src/ConfiguredServices.js +53 -0
- package/lib/src/ConfiguredServices.js.map +1 -0
- package/lib/src/Entities/Address.d.ts +14 -0
- package/lib/src/Entities/Address.js +23 -0
- package/lib/src/Entities/Address.js.map +1 -0
- package/lib/src/Entities/BatchSummary.d.ts +6 -0
- package/lib/src/Entities/BatchSummary.js +11 -0
- package/lib/src/Entities/BatchSummary.js.map +1 -0
- package/lib/src/Entities/BrowserData.d.ts +13 -0
- package/lib/src/Entities/BrowserData.js +18 -0
- package/lib/src/Entities/BrowserData.js.map +1 -0
- package/lib/src/Entities/Card.d.ts +36 -0
- package/lib/src/Entities/Card.js +41 -0
- package/lib/src/Entities/Card.js.map +1 -0
- package/lib/src/Entities/CardIssuerResponse.d.ts +22 -0
- package/lib/src/Entities/CardIssuerResponse.js +27 -0
- package/lib/src/Entities/CardIssuerResponse.js.map +1 -0
- package/lib/src/Entities/Customer.d.ts +74 -0
- package/lib/src/Entities/Customer.js +94 -0
- package/lib/src/Entities/Customer.js.map +1 -0
- package/lib/src/Entities/CustomerDocument.d.ts +8 -0
- package/lib/src/Entities/CustomerDocument.js +16 -0
- package/lib/src/Entities/CustomerDocument.js.map +1 -0
- package/lib/src/Entities/DocumentUploadData.d.ts +13 -0
- package/lib/src/Entities/DocumentUploadData.js +81 -0
- package/lib/src/Entities/DocumentUploadData.js.map +1 -0
- package/lib/src/Entities/EcommerceInfo.d.ts +12 -0
- package/lib/src/Entities/EcommerceInfo.js +22 -0
- package/lib/src/Entities/EcommerceInfo.js.map +1 -0
- package/lib/src/Entities/EncryptionData.d.ts +7 -0
- package/lib/src/Entities/EncryptionData.js +16 -0
- package/lib/src/Entities/EncryptionData.js.map +1 -0
- package/lib/src/Entities/Enums/AcquisitionType.d.ts +10 -0
- package/lib/src/Entities/Enums/AcquisitionType.js +15 -0
- package/lib/src/Entities/Enums/AcquisitionType.js.map +1 -0
- package/lib/src/Entities/Enums/CardTypeFilter.d.ts +7 -0
- package/lib/src/Entities/Enums/CardTypeFilter.js +12 -0
- package/lib/src/Entities/Enums/CardTypeFilter.js.map +1 -0
- package/lib/src/Entities/Enums/IsoCountries.d.ts +9 -0
- package/lib/src/Entities/Enums/IsoCountries.js +1941 -0
- package/lib/src/Entities/Enums/IsoCountries.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +818 -0
- package/lib/src/Entities/Enums.js +1030 -0
- package/lib/src/Entities/Enums.js.map +1 -0
- package/lib/src/Entities/Errors.d.ts +23 -0
- package/lib/src/Entities/Errors.js +72 -0
- package/lib/src/Entities/Errors.js.map +1 -0
- package/lib/src/Entities/FraudRule.d.ts +8 -0
- package/lib/src/Entities/FraudRule.js +17 -0
- package/lib/src/Entities/FraudRule.js.map +1 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +16 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js +21 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/Card.d.ts +16 -0
- package/lib/src/Entities/GpApi/DTO/Card.js +21 -0
- package/lib/src/Entities/GpApi/DTO/Card.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.d.ts +17 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js +21 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/index.d.ts +2 -0
- package/lib/src/Entities/GpApi/DTO/index.js +19 -0
- package/lib/src/Entities/GpApi/DTO/index.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiAccount.d.ts +5 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js +13 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiRequest.d.ts +21 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js +26 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +52 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js +115 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +1 -0
- package/lib/src/Entities/GpApi/PageResult.d.ts +8 -0
- package/lib/src/Entities/GpApi/PageResult.js +13 -0
- package/lib/src/Entities/GpApi/PageResult.js.map +1 -0
- package/lib/src/Entities/GpApi/index.d.ts +5 -0
- package/lib/src/Entities/GpApi/index.js +22 -0
- package/lib/src/Entities/GpApi/index.js.map +1 -0
- package/lib/src/Entities/HostedPaymentData.d.ts +10 -0
- package/lib/src/Entities/HostedPaymentData.js +17 -0
- package/lib/src/Entities/HostedPaymentData.js.map +1 -0
- package/lib/src/Entities/IRequestBuilder.d.ts +6 -0
- package/lib/src/Entities/IRequestBuilder.js +3 -0
- package/lib/src/Entities/IRequestBuilder.js.map +1 -0
- package/lib/src/Entities/IRequestLogger.d.ts +8 -0
- package/lib/src/Entities/IRequestLogger.js +3 -0
- package/lib/src/Entities/IRequestLogger.js.map +1 -0
- package/lib/src/Entities/LodgingData.d.ts +14 -0
- package/lib/src/Entities/LodgingData.js +18 -0
- package/lib/src/Entities/LodgingData.js.map +1 -0
- package/lib/src/Entities/LodgingItems.d.ts +6 -0
- package/lib/src/Entities/LodgingItems.js +11 -0
- package/lib/src/Entities/LodgingItems.js.map +1 -0
- package/lib/src/Entities/MaskedValueCollection.d.ts +12 -0
- package/lib/src/Entities/MaskedValueCollection.js +53 -0
- package/lib/src/Entities/MaskedValueCollection.js.map +1 -0
- package/lib/src/Entities/MerchantDataCollection.d.ts +16 -0
- package/lib/src/Entities/MerchantDataCollection.js +102 -0
- package/lib/src/Entities/MerchantDataCollection.js.map +1 -0
- package/lib/src/Entities/MerchantKVP.d.ts +11 -0
- package/lib/src/Entities/MerchantKVP.js +28 -0
- package/lib/src/Entities/MerchantKVP.js.map +1 -0
- package/lib/src/Entities/MessageExtension.d.ts +6 -0
- package/lib/src/Entities/MessageExtension.js +11 -0
- package/lib/src/Entities/MessageExtension.js.map +1 -0
- package/lib/src/Entities/MobileData.d.ts +11 -0
- package/lib/src/Entities/MobileData.js +15 -0
- package/lib/src/Entities/MobileData.js.map +1 -0
- package/lib/src/Entities/PayerDetails.d.ts +8 -0
- package/lib/src/Entities/PayerDetails.js +12 -0
- package/lib/src/Entities/PayerDetails.js.map +1 -0
- package/lib/src/Entities/PhoneNumber.d.ts +6 -0
- package/lib/src/Entities/PhoneNumber.js +15 -0
- package/lib/src/Entities/PhoneNumber.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +7 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +12 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +15 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js +19 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/BankAccountData.js +42 -0
- package/lib/src/Entities/ProFac/BankAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +8 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +15 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +6 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +12 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +5 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +10 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +1 -0
- package/lib/src/Entities/ProFac/BusinessData.d.ts +15 -0
- package/lib/src/Entities/ProFac/BusinessData.js +50 -0
- package/lib/src/Entities/ProFac/BusinessData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +4 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +17 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceData.d.ts +5 -0
- package/lib/src/Entities/ProFac/DeviceData.js +11 -0
- package/lib/src/Entities/ProFac/DeviceData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +6 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js +19 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +7 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +15 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +1 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +8 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +10 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +1 -0
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +18 -0
- package/lib/src/Entities/ProFac/OrderDevice.js +23 -0
- package/lib/src/Entities/ProFac/OrderDevice.js.map +1 -0
- package/lib/src/Entities/ProFac/OwnersData.d.ts +12 -0
- package/lib/src/Entities/ProFac/OwnersData.js +43 -0
- package/lib/src/Entities/ProFac/OwnersData.js.map +1 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +55 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js +62 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js +38 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +8 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +27 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +5 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js +19 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js.map +1 -0
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +26 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js +82 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js.map +1 -0
- package/lib/src/Entities/RecurringEntity.d.ts +14 -0
- package/lib/src/Entities/RecurringEntity.js +92 -0
- package/lib/src/Entities/RecurringEntity.js.map +1 -0
- package/lib/src/Entities/Reporting/BaseSummary.d.ts +8 -0
- package/lib/src/Entities/Reporting/BaseSummary.js +13 -0
- package/lib/src/Entities/Reporting/BaseSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +108 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +125 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +1 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.d.ts +11 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js +16 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/index.d.ts +3 -0
- package/lib/src/Entities/Reporting/index.js +20 -0
- package/lib/src/Entities/Reporting/index.js.map +1 -0
- package/lib/src/Entities/Request.d.ts +10 -0
- package/lib/src/Entities/Request.js +18 -0
- package/lib/src/Entities/Request.js.map +1 -0
- package/lib/src/Entities/SSORequestData.d.ts +5 -0
- package/lib/src/Entities/SSORequestData.js +19 -0
- package/lib/src/Entities/SSORequestData.js.map +1 -0
- package/lib/src/Entities/Schedule.d.ts +47 -0
- package/lib/src/Entities/Schedule.js +325 -0
- package/lib/src/Entities/Schedule.js.map +1 -0
- package/lib/src/Entities/ServiceEndpoints.d.ts +12 -0
- package/lib/src/Entities/ServiceEndpoints.js +17 -0
- package/lib/src/Entities/ServiceEndpoints.js.map +1 -0
- package/lib/src/Entities/StoredCredentials.d.ts +9 -0
- package/lib/src/Entities/StoredCredentials.js +13 -0
- package/lib/src/Entities/StoredCredentials.js.map +1 -0
- package/lib/src/Entities/ThreeDSecure.d.ts +66 -0
- package/lib/src/Entities/ThreeDSecure.js +162 -0
- package/lib/src/Entities/ThreeDSecure.js.map +1 -0
- package/lib/src/Entities/Transaction.d.ts +97 -0
- package/lib/src/Entities/Transaction.js +158 -0
- package/lib/src/Entities/Transaction.js.map +1 -0
- package/lib/src/Entities/TransactionStatus.d.ts +13 -0
- package/lib/src/Entities/TransactionStatus.js +29 -0
- package/lib/src/Entities/TransactionStatus.js.map +1 -0
- package/lib/src/Entities/TransactionSummary.d.ts +78 -0
- package/lib/src/Entities/TransactionSummary.js +83 -0
- package/lib/src/Entities/TransactionSummary.js.map +1 -0
- package/lib/src/Entities/UPA/ProcessIndicator.d.ts +7 -0
- package/lib/src/Entities/UPA/ProcessIndicator.js +11 -0
- package/lib/src/Entities/UPA/ProcessIndicator.js.map +1 -0
- package/lib/src/Entities/UPA/UpaParam.d.ts +10 -0
- package/lib/src/Entities/UPA/UpaParam.js +14 -0
- package/lib/src/Entities/UPA/UpaParam.js.map +1 -0
- package/lib/src/Entities/UPA/UpaTransactionData.d.ts +8 -0
- package/lib/src/Entities/UPA/UpaTransactionData.js +12 -0
- package/lib/src/Entities/UPA/UpaTransactionData.js.map +1 -0
- package/lib/src/Entities/UPA/index.d.ts +3 -0
- package/lib/src/Entities/UPA/index.js +20 -0
- package/lib/src/Entities/UPA/index.js.map +1 -0
- package/lib/src/Entities/index.d.ts +38 -0
- package/lib/src/Entities/index.js +55 -0
- package/lib/src/Entities/index.js.map +1 -0
- package/lib/src/Gateways/Gateway.d.ts +16 -0
- package/lib/src/Gateways/Gateway.js +94 -0
- package/lib/src/Gateways/Gateway.js.map +1 -0
- package/lib/src/Gateways/GatewayResponse.d.ts +8 -0
- package/lib/src/Gateways/GatewayResponse.js +15 -0
- package/lib/src/Gateways/GatewayResponse.js.map +1 -0
- package/lib/src/Gateways/GpApiConnector.d.ts +43 -0
- package/lib/src/Gateways/GpApiConnector.js +239 -0
- package/lib/src/Gateways/GpApiConnector.js.map +1 -0
- package/lib/src/Gateways/GpEcomConnector.d.ts +36 -0
- package/lib/src/Gateways/GpEcomConnector.js +468 -0
- package/lib/src/Gateways/GpEcomConnector.js.map +1 -0
- package/lib/src/Gateways/IPayFacProvider.d.ts +5 -0
- package/lib/src/Gateways/IPayFacProvider.js +3 -0
- package/lib/src/Gateways/IPayFacProvider.js.map +1 -0
- package/lib/src/Gateways/IPaymentGateway.d.ts +8 -0
- package/lib/src/Gateways/IPaymentGateway.js +3 -0
- package/lib/src/Gateways/IPaymentGateway.js.map +1 -0
- package/lib/src/Gateways/IRecurringService.d.ts +6 -0
- package/lib/src/Gateways/IRecurringService.js +3 -0
- package/lib/src/Gateways/IRecurringService.js.map +1 -0
- package/lib/src/Gateways/PayPlanConnector.d.ts +42 -0
- package/lib/src/Gateways/PayPlanConnector.js +545 -0
- package/lib/src/Gateways/PayPlanConnector.js.map +1 -0
- package/lib/src/Gateways/PorticoConnector.d.ts +48 -0
- package/lib/src/Gateways/PorticoConnector.js +1010 -0
- package/lib/src/Gateways/PorticoConnector.js.map +1 -0
- package/lib/src/Gateways/ProPayConnector.d.ts +45 -0
- package/lib/src/Gateways/ProPayConnector.js +801 -0
- package/lib/src/Gateways/ProPayConnector.js.map +1 -0
- package/lib/src/Gateways/RestGateway.d.ts +9 -0
- package/lib/src/Gateways/RestGateway.js +77 -0
- package/lib/src/Gateways/RestGateway.js.map +1 -0
- package/lib/src/Gateways/XmlGateway.d.ts +6 -0
- package/lib/src/Gateways/XmlGateway.js +54 -0
- package/lib/src/Gateways/XmlGateway.js.map +1 -0
- package/lib/src/Gateways/https-wrapper.d.ts +3 -0
- package/lib/src/Gateways/https-wrapper.js +81 -0
- package/lib/src/Gateways/https-wrapper.js.map +1 -0
- package/lib/src/Gateways/index.d.ts +9 -0
- package/lib/src/Gateways/index.js +26 -0
- package/lib/src/Gateways/index.js.map +1 -0
- package/lib/src/HostedPaymentConfig.d.ts +12 -0
- package/lib/src/HostedPaymentConfig.js +16 -0
- package/lib/src/HostedPaymentConfig.js.map +1 -0
- package/lib/src/Mapping/EnumMapping.d.ts +10 -0
- package/lib/src/Mapping/EnumMapping.js +110 -0
- package/lib/src/Mapping/EnumMapping.js.map +1 -0
- package/lib/src/Mapping/GpApiMapping.d.ts +16 -0
- package/lib/src/Mapping/GpApiMapping.js +381 -0
- package/lib/src/Mapping/GpApiMapping.js.map +1 -0
- package/lib/src/Mapping/GpEcomMapping.d.ts +9 -0
- package/lib/src/Mapping/GpEcomMapping.js +85 -0
- package/lib/src/Mapping/GpEcomMapping.js.map +1 -0
- package/lib/src/Mapping/index.d.ts +3 -0
- package/lib/src/Mapping/index.js +20 -0
- package/lib/src/Mapping/index.js.map +1 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +22 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js +47 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/Cash.d.ts +8 -0
- package/lib/src/PaymentMethods/Cash.js +16 -0
- package/lib/src/PaymentMethods/Cash.js.map +1 -0
- package/lib/src/PaymentMethods/Credit.d.ts +109 -0
- package/lib/src/PaymentMethods/Credit.js +161 -0
- package/lib/src/PaymentMethods/Credit.js.map +1 -0
- package/lib/src/PaymentMethods/CreditCardData.d.ts +20 -0
- package/lib/src/PaymentMethods/CreditCardData.js +47 -0
- package/lib/src/PaymentMethods/CreditCardData.js.map +1 -0
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +15 -0
- package/lib/src/PaymentMethods/CreditTrackData.js +36 -0
- package/lib/src/PaymentMethods/CreditTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/Debit.d.ts +48 -0
- package/lib/src/PaymentMethods/Debit.js +64 -0
- package/lib/src/PaymentMethods/Debit.js.map +1 -0
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +9 -0
- package/lib/src/PaymentMethods/DebitTrackData.js +24 -0
- package/lib/src/PaymentMethods/DebitTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/EBT.d.ts +48 -0
- package/lib/src/PaymentMethods/EBT.js +68 -0
- package/lib/src/PaymentMethods/EBT.js.map +1 -0
- package/lib/src/PaymentMethods/EBTCardData.d.ts +16 -0
- package/lib/src/PaymentMethods/EBTCardData.js +25 -0
- package/lib/src/PaymentMethods/EBTCardData.js.map +1 -0
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +8 -0
- package/lib/src/PaymentMethods/EBTTrackData.js +11 -0
- package/lib/src/PaymentMethods/EBTTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/ECheck.d.ts +32 -0
- package/lib/src/PaymentMethods/ECheck.js +38 -0
- package/lib/src/PaymentMethods/ECheck.js.map +1 -0
- package/lib/src/PaymentMethods/GiftCard.d.ts +131 -0
- package/lib/src/PaymentMethods/GiftCard.js +189 -0
- package/lib/src/PaymentMethods/GiftCard.js.map +1 -0
- package/lib/src/PaymentMethods/Interfaces.d.ts +63 -0
- package/lib/src/PaymentMethods/Interfaces.js +3 -0
- package/lib/src/PaymentMethods/Interfaces.js.map +1 -0
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +21 -0
- package/lib/src/PaymentMethods/PaymentMethod.js +63 -0
- package/lib/src/PaymentMethods/PaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +25 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +69 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/TransactionReference.d.ts +10 -0
- package/lib/src/PaymentMethods/TransactionReference.js +17 -0
- package/lib/src/PaymentMethods/TransactionReference.js.map +1 -0
- package/lib/src/PaymentMethods/index.d.ts +17 -0
- package/lib/src/PaymentMethods/index.js +34 -0
- package/lib/src/PaymentMethods/index.js.map +1 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +29 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js +43 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Configuration.d.ts +15 -0
- package/lib/src/ServiceConfigs/Configuration.js +20 -0
- package/lib/src/ServiceConfigs/Configuration.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +14 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +30 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +47 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +51 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +22 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +117 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/Gateways/index.js +21 -0
- package/lib/src/ServiceConfigs/Gateways/index.js.map +1 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +8 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js +15 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js.map +1 -0
- package/lib/src/ServiceConfigs/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/index.js +21 -0
- package/lib/src/ServiceConfigs/index.js.map +1 -0
- package/lib/src/Services/BatchService.d.ts +4 -0
- package/lib/src/Services/BatchService.js +15 -0
- package/lib/src/Services/BatchService.js.map +1 -0
- package/lib/src/Services/CheckService.d.ts +7 -0
- package/lib/src/Services/CheckService.js +20 -0
- package/lib/src/Services/CheckService.js.map +1 -0
- package/lib/src/Services/CreditService.d.ts +13 -0
- package/lib/src/Services/CreditService.js +54 -0
- package/lib/src/Services/CreditService.js.map +1 -0
- package/lib/src/Services/DebitService.d.ts +8 -0
- package/lib/src/Services/DebitService.js +28 -0
- package/lib/src/Services/DebitService.js.map +1 -0
- package/lib/src/Services/DeviceService.d.ts +5 -0
- package/lib/src/Services/DeviceService.js +19 -0
- package/lib/src/Services/DeviceService.js.map +1 -0
- package/lib/src/Services/EBTService.d.ts +9 -0
- package/lib/src/Services/EBTService.js +31 -0
- package/lib/src/Services/EBTService.js.map +1 -0
- package/lib/src/Services/GiftService.d.ts +17 -0
- package/lib/src/Services/GiftService.js +54 -0
- package/lib/src/Services/GiftService.js.map +1 -0
- package/lib/src/Services/GpApiServices.d.ts +4 -0
- package/lib/src/Services/GpApiServices.js +44 -0
- package/lib/src/Services/GpApiServices.js.map +1 -0
- package/lib/src/Services/HostedService.d.ts +10 -0
- package/lib/src/Services/HostedService.js +59 -0
- package/lib/src/Services/HostedService.js.map +1 -0
- package/lib/src/Services/PayFacService.d.ts +26 -0
- package/lib/src/Services/PayFacService.js +76 -0
- package/lib/src/Services/PayFacService.js.map +1 -0
- package/lib/src/Services/RecurringService.d.ts +8 -0
- package/lib/src/Services/RecurringService.js +24 -0
- package/lib/src/Services/RecurringService.js.map +1 -0
- package/lib/src/Services/ReportingService.d.ts +10 -0
- package/lib/src/Services/ReportingService.js +34 -0
- package/lib/src/Services/ReportingService.js.map +1 -0
- package/lib/src/Services/Secure3dService.d.ts +8 -0
- package/lib/src/Services/Secure3dService.js +21 -0
- package/lib/src/Services/Secure3dService.js.map +1 -0
- package/lib/src/Services/index.d.ts +11 -0
- package/lib/src/Services/index.js +28 -0
- package/lib/src/Services/index.js.map +1 -0
- package/lib/src/ServicesContainer.d.ts +20 -0
- package/lib/src/ServicesContainer.js +79 -0
- package/lib/src/ServicesContainer.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.d.ts +6 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.d.ts +13 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.d.ts +4 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.d.ts +52 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.d.ts +3 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js +3 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.d.ts +3 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js +3 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js.map +1 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.d.ts +16 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js +3 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js.map +1 -0
- package/lib/src/Terminals/Abstractions/index.d.ts +7 -0
- package/lib/src/Terminals/Abstractions/index.js +24 -0
- package/lib/src/Terminals/Abstractions/index.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.d.ts +65 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js +172 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.d.ts +12 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.js +32 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.d.ts +30 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js +95 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/index.d.ts +2 -0
- package/lib/src/Terminals/Builders/index.js +19 -0
- package/lib/src/Terminals/Builders/index.js.map +1 -0
- package/lib/src/Terminals/ConnectionConfig.d.ts +20 -0
- package/lib/src/Terminals/ConnectionConfig.js +49 -0
- package/lib/src/Terminals/ConnectionConfig.js.map +1 -0
- package/lib/src/Terminals/DeviceController.d.ts +23 -0
- package/lib/src/Terminals/DeviceController.js +42 -0
- package/lib/src/Terminals/DeviceController.js.map +1 -0
- package/lib/src/Terminals/DeviceInterface.d.ts +21 -0
- package/lib/src/Terminals/DeviceInterface.js +50 -0
- package/lib/src/Terminals/DeviceInterface.js.map +1 -0
- package/lib/src/Terminals/DeviceMessage.d.ts +15 -0
- package/lib/src/Terminals/DeviceMessage.js +42 -0
- package/lib/src/Terminals/DeviceMessage.js.map +1 -0
- package/lib/src/Terminals/DeviceResponse.d.ts +10 -0
- package/lib/src/Terminals/DeviceResponse.js +16 -0
- package/lib/src/Terminals/DeviceResponse.js.map +1 -0
- package/lib/src/Terminals/Enums/ControlCodes.d.ts +5 -0
- package/lib/src/Terminals/Enums/ControlCodes.js +10 -0
- package/lib/src/Terminals/Enums/ControlCodes.js.map +1 -0
- package/lib/src/Terminals/Enums/index.d.ts +1 -0
- package/lib/src/Terminals/Enums/index.js +18 -0
- package/lib/src/Terminals/Enums/index.js.map +1 -0
- package/lib/src/Terminals/Enums.d.ts +12 -0
- package/lib/src/Terminals/Enums.js +18 -0
- package/lib/src/Terminals/Enums.js.map +1 -0
- package/lib/src/Terminals/SummaryResponse.d.ts +28 -0
- package/lib/src/Terminals/SummaryResponse.js +33 -0
- package/lib/src/Terminals/SummaryResponse.js.map +1 -0
- package/lib/src/Terminals/TerminalResponse.d.ts +42 -0
- package/lib/src/Terminals/TerminalResponse.js +49 -0
- package/lib/src/Terminals/TerminalResponse.js.map +1 -0
- package/lib/src/Terminals/TerminalUtils.d.ts +4 -0
- package/lib/src/Terminals/TerminalUtils.js +24 -0
- package/lib/src/Terminals/TerminalUtils.js.map +1 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.d.ts +20 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js +25 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js.map +1 -0
- package/lib/src/Terminals/UPA/Entities/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Entities/index.js +18 -0
- package/lib/src/Terminals/UPA/Entities/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.d.ts +12 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js +76 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js.map +1 -0
- package/lib/src/Terminals/UPA/Interfaces/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Interfaces/index.js +18 -0
- package/lib/src/Terminals/UPA/Interfaces/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.d.ts +53 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js +70 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js.map +1 -0
- package/lib/src/Terminals/UPA/Reponses/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Reponses/index.js +18 -0
- package/lib/src/Terminals/UPA/Reponses/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.d.ts +7 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.js +11 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.js +9 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.d.ts +9 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.js +14 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.js +9 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.d.ts +10 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js +15 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/index.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/index.js +22 -0
- package/lib/src/Terminals/UPA/Request/index.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaController.d.ts +16 -0
- package/lib/src/Terminals/UPA/UpaController.js +213 -0
- package/lib/src/Terminals/UPA/UpaController.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaInterface.d.ts +10 -0
- package/lib/src/Terminals/UPA/UpaInterface.js +44 -0
- package/lib/src/Terminals/UPA/UpaInterface.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaMessageType.d.ts +8 -0
- package/lib/src/Terminals/UPA/UpaMessageType.js +13 -0
- package/lib/src/Terminals/UPA/UpaMessageType.js.map +1 -0
- package/lib/src/Terminals/UPA/index.d.ts +7 -0
- package/lib/src/Terminals/UPA/index.js +24 -0
- package/lib/src/Terminals/UPA/index.js.map +1 -0
- package/lib/src/Terminals/index.d.ts +8 -0
- package/lib/src/Terminals/index.js +25 -0
- package/lib/src/Terminals/index.js.map +1 -0
- package/lib/src/Utils/CardUtils.d.ts +13 -0
- package/lib/src/Utils/CardUtils.js +221 -0
- package/lib/src/Utils/CardUtils.js.map +1 -0
- package/lib/src/Utils/CountryUtils.d.ts +9 -0
- package/lib/src/Utils/CountryUtils.js +131 -0
- package/lib/src/Utils/CountryUtils.js.map +1 -0
- package/lib/src/Utils/GenerationUtils.d.ts +6 -0
- package/lib/src/Utils/GenerationUtils.js +79 -0
- package/lib/src/Utils/GenerationUtils.js.map +1 -0
- package/lib/src/Utils/IRawRequestBuilder.d.ts +3 -0
- package/lib/src/Utils/IRawRequestBuilder.js +3 -0
- package/lib/src/Utils/IRawRequestBuilder.js.map +1 -0
- package/lib/src/Utils/InputValidation.d.ts +12 -0
- package/lib/src/Utils/InputValidation.js +71 -0
- package/lib/src/Utils/InputValidation.js.map +1 -0
- package/lib/src/Utils/Logging/Logger.d.ts +32 -0
- package/lib/src/Utils/Logging/Logger.js +209 -0
- package/lib/src/Utils/Logging/Logger.js.map +1 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +11 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.js +23 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +1 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.d.ts +12 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.js +38 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.js.map +1 -0
- package/lib/src/Utils/Logging/index.d.ts +3 -0
- package/lib/src/Utils/Logging/index.js +20 -0
- package/lib/src/Utils/Logging/index.js.map +1 -0
- package/lib/src/Utils/Sha1.d.ts +6 -0
- package/lib/src/Utils/Sha1.js +231 -0
- package/lib/src/Utils/Sha1.js.map +1 -0
- package/lib/src/Utils/StringUtils.d.ts +17 -0
- package/lib/src/Utils/StringUtils.js +95 -0
- package/lib/src/Utils/StringUtils.js.map +1 -0
- package/lib/src/Utils/index.d.ts +6 -0
- package/lib/src/Utils/index.js +23 -0
- package/lib/src/Utils/index.js.map +1 -0
- package/lib/src/index.d.ts +13 -0
- package/lib/src/index.js +34 -0
- package/lib/src/index.js.map +1 -0
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +14 -0
- package/lib/test/Data/BaseGpApiTestConfig.js +50 -0
- package/lib/test/Data/BaseGpApiTestConfig.js.map +1 -0
- package/lib/test/Data/GpApi3DSTestCards.d.ts +17 -0
- package/lib/test/Data/GpApi3DSTestCards.js +22 -0
- package/lib/test/Data/GpApi3DSTestCards.js.map +1 -0
- package/lib/test/Data/TestCards.d.ts +24 -0
- package/lib/test/Data/TestCards.js +220 -0
- package/lib/test/Data/TestCards.js.map +1 -0
- package/lib/test/Data/TestChecks.d.ts +4 -0
- package/lib/test/Data/TestChecks.js +27 -0
- package/lib/test/Data/TestChecks.js.map +1 -0
- package/lib/test/Data/index.d.ts +4 -0
- package/lib/test/Data/index.js +21 -0
- package/lib/test/Data/index.js.map +1 -0
- package/lib/test/Integration/Gateways/AcsResponse.d.ts +12 -0
- package/lib/test/Integration/Gateways/AcsResponse.js +33 -0
- package/lib/test/Integration/Gateways/AcsResponse.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js +1029 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js +649 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +109 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +1023 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +439 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +143 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +434 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +217 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +337 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +2446 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +506 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +1296 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +847 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +215 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +99 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +133 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +59 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +378 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +1723 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +1760 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +420 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +2221 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +392 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +88 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +72 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +111 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +147 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +101 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +50 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +221 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +39 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +393 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +330 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +34 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +322 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +4 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +28 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +1 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +4 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +10 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +1 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +149 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ThreeDSecureAsClient.d.ts +16 -0
- package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js +212 -0
- package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js.map +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.js +45 -0
- package/lib/test/Integration/Services/CheckServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.js +174 -0
- package/lib/test/Integration/Services/CreditServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.js +81 -0
- package/lib/test/Integration/Services/DebitServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.js +64 -0
- package/lib/test/Integration/Services/EBTServiceTest.js.map +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +111 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +62 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +34 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +125 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +1 -0
- package/package.json +10 -2
- package/.eslintignore +0 -9
- package/.eslintrc.cjs +0 -39
- package/.prettierrc +0 -14
- package/.travis.yml +0 -25
- package/tsconfig.eslint.json +0 -15
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AccessTokenInfo"), exports);
|
|
18
|
+
__exportStar(require("./GpApiAccount"), exports);
|
|
19
|
+
__exportStar(require("./GpApiRequest"), exports);
|
|
20
|
+
__exportStar(require("./GpApiTokenResponse"), exports);
|
|
21
|
+
__exportStar(require("./PageResult"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Entities/GpApi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iDAA+B;AAC/B,iDAA+B;AAC/B,uDAAqC;AACrC,+CAA6B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HostedPaymentData = void 0;
|
|
4
|
+
class HostedPaymentData {
|
|
5
|
+
customerExists;
|
|
6
|
+
customerKey;
|
|
7
|
+
customerNumber;
|
|
8
|
+
offerToSaveCard;
|
|
9
|
+
paymentKey;
|
|
10
|
+
productId;
|
|
11
|
+
supplementaryData;
|
|
12
|
+
constructor() {
|
|
13
|
+
this.supplementaryData = {};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.HostedPaymentData = HostedPaymentData;
|
|
17
|
+
//# sourceMappingURL=HostedPaymentData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HostedPaymentData.js","sourceRoot":"","sources":["../../../src/Entities/HostedPaymentData.ts"],"names":[],"mappings":";;;AAAA,MAAa,iBAAiB;IACrB,cAAc,CAAU;IACxB,WAAW,CAAS;IACpB,cAAc,CAAS;IACvB,eAAe,CAAU;IACzB,UAAU,CAAS;IACnB,SAAS,CAAS;IAClB,iBAAiB,CAAS;IAEjC;QACE,IAAI,CAAC,iBAAiB,GAAG,EAAE,CAAC;IAC9B,CAAC;CACF;AAZD,8CAYC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseBuilder, GatewayConfig, ReportBuilder, Request, Secure3dBuilder, Transaction, TransactionSummary } from "../../src";
|
|
2
|
+
export interface IRequestBuilder {
|
|
3
|
+
buildRequest(builder: BaseBuilder<Transaction> | ReportBuilder<TransactionSummary> | Secure3dBuilder, config: GatewayConfig): Request;
|
|
4
|
+
buildRequestFromJson(jsonRequest: any, config: GatewayConfig): void;
|
|
5
|
+
canProcess(builder: BaseBuilder<Transaction> | ReportBuilder<TransactionSummary> | Secure3dBuilder): boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRequestBuilder.js","sourceRoot":"","sources":["../../../src/Entities/IRequestBuilder.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { ClientRequestArgs, IncomingHttpHeaders } from "http";
|
|
3
|
+
import { GatewayResponse } from "../Gateways/GatewayResponse";
|
|
4
|
+
export interface IRequestLogger {
|
|
5
|
+
requestSent(verb: string, endpoint: string, requestId: number, headers: ClientRequestArgs["headers"], data: any): void;
|
|
6
|
+
responseReceived(response: GatewayResponse, requestId?: number): Promise<void>;
|
|
7
|
+
responseError(e: Error, requestId: number, headers?: IncomingHttpHeaders): Promise<void>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IRequestLogger.js","sourceRoot":"","sources":["../../../src/Entities/IRequestLogger.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LodgingItems } from ".";
|
|
2
|
+
export declare class LodgingData {
|
|
3
|
+
prestigiousPropertyLimit: string;
|
|
4
|
+
noShow: boolean;
|
|
5
|
+
advancedDepositType: string;
|
|
6
|
+
lodgingDataEdit: string;
|
|
7
|
+
preferredCustomer: boolean;
|
|
8
|
+
bookingReference: string;
|
|
9
|
+
durationDays: number;
|
|
10
|
+
checkedInDate: string;
|
|
11
|
+
checkedOutDate: string;
|
|
12
|
+
dailyRateAmount: string;
|
|
13
|
+
items: LodgingItems[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LodgingData = void 0;
|
|
4
|
+
class LodgingData {
|
|
5
|
+
prestigiousPropertyLimit;
|
|
6
|
+
noShow;
|
|
7
|
+
advancedDepositType;
|
|
8
|
+
lodgingDataEdit;
|
|
9
|
+
preferredCustomer;
|
|
10
|
+
bookingReference;
|
|
11
|
+
durationDays;
|
|
12
|
+
checkedInDate;
|
|
13
|
+
checkedOutDate;
|
|
14
|
+
dailyRateAmount;
|
|
15
|
+
items = [];
|
|
16
|
+
}
|
|
17
|
+
exports.LodgingData = LodgingData;
|
|
18
|
+
//# sourceMappingURL=LodgingData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LodgingData.js","sourceRoot":"","sources":["../../../src/Entities/LodgingData.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAW;IACtB,wBAAwB,CAAS;IACjC,MAAM,CAAU;IAChB,mBAAmB,CAAS;IAC5B,eAAe,CAAS;IACxB,iBAAiB,CAAU;IAC3B,gBAAgB,CAAS;IACzB,YAAY,CAAS;IACrB,aAAa,CAAS;IACtB,cAAc,CAAS;IACvB,eAAe,CAAS;IACxB,KAAK,GAAmB,EAAE,CAAC;CAC5B;AAZD,kCAYC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LodgingItems = void 0;
|
|
4
|
+
class LodgingItems {
|
|
5
|
+
types;
|
|
6
|
+
reference;
|
|
7
|
+
totalAmount;
|
|
8
|
+
paymentMethodProgramCodes;
|
|
9
|
+
}
|
|
10
|
+
exports.LodgingItems = LodgingItems;
|
|
11
|
+
//# sourceMappingURL=LodgingItems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LodgingItems.js","sourceRoot":"","sources":["../../../src/Entities/LodgingItems.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;IACvB,KAAK,CAAQ;IACb,SAAS,CAAS;IAClB,WAAW,CAAS;IACpB,yBAAyB,CAAQ;CAClC;AALD,oCAKC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class MaskedValueCollection {
|
|
2
|
+
protected maskValues: {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
private getValues;
|
|
6
|
+
hideValue(key: string, value: string | null, unmaskedLastChars?: number, unmaskedFirstChars?: number): {
|
|
7
|
+
[key: string]: string;
|
|
8
|
+
};
|
|
9
|
+
protected addValue(key: string, value: string | null, unmaskedLastChars?: number, unmaskedFirstChars?: number): boolean;
|
|
10
|
+
protected validateValue(value: string | null): boolean;
|
|
11
|
+
private disguise;
|
|
12
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MaskedValueCollection = void 0;
|
|
4
|
+
class MaskedValueCollection {
|
|
5
|
+
maskValues = {};
|
|
6
|
+
getValues() {
|
|
7
|
+
return this.maskValues;
|
|
8
|
+
}
|
|
9
|
+
hideValue(key, value, unmaskedLastChars = 0, unmaskedFirstChars = 0) {
|
|
10
|
+
this.addValue(key, value, unmaskedLastChars, unmaskedFirstChars);
|
|
11
|
+
return this.getValues();
|
|
12
|
+
}
|
|
13
|
+
addValue(key, value, unmaskedLastChars = 0, unmaskedFirstChars = 0) {
|
|
14
|
+
if (!this.validateValue(value) || this.maskValues[key] === value) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
this.maskValues[key] = this.disguise(value, unmaskedLastChars, unmaskedFirstChars);
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
validateValue(value) {
|
|
21
|
+
if (!value || Array.isArray(value) || typeof value === "object") {
|
|
22
|
+
return false;
|
|
23
|
+
}
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
disguise(value, unmaskedLastChars = 0, unmaskedFirstChars = 0, maskSymbol = "X") {
|
|
27
|
+
value = String(value);
|
|
28
|
+
unmaskedLastChars = Math.abs(Math.floor(unmaskedLastChars));
|
|
29
|
+
maskSymbol = String(maskSymbol);
|
|
30
|
+
// not enough chars to unmask?
|
|
31
|
+
if (unmaskedLastChars >= value.length) {
|
|
32
|
+
unmaskedLastChars = 0;
|
|
33
|
+
}
|
|
34
|
+
// at least half must be masked?
|
|
35
|
+
if (unmaskedLastChars > value.length / 2) {
|
|
36
|
+
unmaskedLastChars = Math.round(unmaskedLastChars / 2);
|
|
37
|
+
}
|
|
38
|
+
// leading unmasked chars
|
|
39
|
+
if (unmaskedLastChars < 0) {
|
|
40
|
+
const unmasked = value.slice(0, unmaskedLastChars);
|
|
41
|
+
return unmasked + maskSymbol.repeat(value.length - unmasked.length);
|
|
42
|
+
}
|
|
43
|
+
const unmaskedFirstValue = value.slice(0, unmaskedFirstChars);
|
|
44
|
+
const unmaskedLastValue = unmaskedLastChars
|
|
45
|
+
? value.slice(-unmaskedLastChars)
|
|
46
|
+
: "";
|
|
47
|
+
return (unmaskedFirstValue +
|
|
48
|
+
maskSymbol.repeat(value.length - unmaskedFirstChars - unmaskedLastChars) +
|
|
49
|
+
unmaskedLastValue);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.MaskedValueCollection = MaskedValueCollection;
|
|
53
|
+
//# sourceMappingURL=MaskedValueCollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MaskedValueCollection.js","sourceRoot":"","sources":["../../../src/Entities/MaskedValueCollection.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;IACtB,UAAU,GAA8B,EAAE,CAAC;IAE7C,SAAS;QACf,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAEM,SAAS,CACd,GAAW,EACX,KAAoB,EACpB,oBAA4B,CAAC,EAC7B,qBAA6B,CAAC;QAE9B,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;QAEjE,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC;IAC1B,CAAC;IAES,QAAQ,CAChB,GAAW,EACX,KAAoB,EACpB,oBAA4B,CAAC,EAC7B,qBAA6B,CAAC;QAE9B,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE;YAChE,OAAO,KAAK,CAAC;SACd;QACD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,QAAQ,CAClC,KAAK,EACL,iBAAiB,EACjB,kBAAkB,CACnB,CAAC;QAEF,OAAO,IAAI,CAAC;IACd,CAAC;IAES,aAAa,CAAC,KAAoB;QAC1C,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC/D,OAAO,KAAK,CAAC;SACd;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEO,QAAQ,CACd,KAAoB,EACpB,oBAA4B,CAAC,EAC7B,qBAA6B,CAAC,EAC9B,aAAqB,GAAG;QAExB,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;QACtB,iBAAiB,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;QAC5D,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;QAEhC,8BAA8B;QAC9B,IAAI,iBAAiB,IAAI,KAAK,CAAC,MAAM,EAAE;YACrC,iBAAiB,GAAG,CAAC,CAAC;SACvB;QAED,gCAAgC;QAChC,IAAI,iBAAiB,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;YACxC,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC;SACvD;QAED,yBAAyB;QACzB,IAAI,iBAAiB,GAAG,CAAC,EAAE;YACzB,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC;YACnD,OAAO,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;SACrE;QAED,MAAM,kBAAkB,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB;YACzC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,iBAAiB,CAAC;YACjC,CAAC,CAAC,EAAE,CAAC;QAEP,OAAO,CACL,kBAAkB;YAClB,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;YACxE,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AAjFD,sDAiFC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MerchantKVP } from "./MerchantKVP";
|
|
2
|
+
export declare class MerchantDataCollection {
|
|
3
|
+
private collection;
|
|
4
|
+
constructor();
|
|
5
|
+
add(key: string, value: string, visible?: boolean): void;
|
|
6
|
+
get(key: string): string | null;
|
|
7
|
+
getKeys(): string[];
|
|
8
|
+
count(): number;
|
|
9
|
+
private indexOf;
|
|
10
|
+
getHiddenValues(): MerchantKVP[];
|
|
11
|
+
hasKey(key: string): boolean;
|
|
12
|
+
mergeHidden(oldCollection: MerchantDataCollection): void;
|
|
13
|
+
static parse(kvpString: string, decoder?: ((decoded: string) => string) | null): MerchantDataCollection;
|
|
14
|
+
toString(encoder?: ((encoded: string) => string) | null): string | null;
|
|
15
|
+
getValue(key: string, converter?: ((value: any) => any) | null): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MerchantDataCollection = void 0;
|
|
4
|
+
const MerchantKVP_1 = require("./MerchantKVP");
|
|
5
|
+
class MerchantDataCollection {
|
|
6
|
+
collection;
|
|
7
|
+
constructor() {
|
|
8
|
+
this.collection = [];
|
|
9
|
+
}
|
|
10
|
+
add(key, value, visible = true) {
|
|
11
|
+
if (this.hasKey(key)) {
|
|
12
|
+
if (visible) {
|
|
13
|
+
throw new Error(`Key ${key} already exists in the collection.`);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
const index = this.indexOf(key);
|
|
17
|
+
if (index !== -1) {
|
|
18
|
+
this.collection.splice(index, 1);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
const kvp = new MerchantKVP_1.MerchantKVP();
|
|
23
|
+
kvp.setKey(key);
|
|
24
|
+
kvp.setValue(value);
|
|
25
|
+
kvp.setVisible(visible);
|
|
26
|
+
this.collection.push(kvp);
|
|
27
|
+
}
|
|
28
|
+
get(key) {
|
|
29
|
+
const kvp = this.collection.find((item) => item.getKey() === key && item.isVisible());
|
|
30
|
+
return kvp ? kvp.getValue() : null;
|
|
31
|
+
}
|
|
32
|
+
getKeys() {
|
|
33
|
+
return this.collection
|
|
34
|
+
.filter((item) => item.isVisible())
|
|
35
|
+
.map((item) => item.getKey());
|
|
36
|
+
}
|
|
37
|
+
count() {
|
|
38
|
+
return this.collection.filter((item) => item.isVisible()).length;
|
|
39
|
+
}
|
|
40
|
+
indexOf(key) {
|
|
41
|
+
return this.collection.findIndex((item) => item.getKey() === key);
|
|
42
|
+
}
|
|
43
|
+
getHiddenValues() {
|
|
44
|
+
return this.collection.filter((item) => !item.isVisible());
|
|
45
|
+
}
|
|
46
|
+
hasKey(key) {
|
|
47
|
+
return this.get(key) !== null;
|
|
48
|
+
}
|
|
49
|
+
mergeHidden(oldCollection) {
|
|
50
|
+
const hiddenValues = oldCollection.getHiddenValues();
|
|
51
|
+
hiddenValues.forEach((kvp) => {
|
|
52
|
+
if (!this.hasKey(kvp.getKey())) {
|
|
53
|
+
this.collection.push(kvp);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
static parse(kvpString, decoder = null) {
|
|
58
|
+
const collection = new MerchantDataCollection();
|
|
59
|
+
let decryptedKvp = atob(kvpString);
|
|
60
|
+
if (decoder) {
|
|
61
|
+
decryptedKvp = decoder(decryptedKvp);
|
|
62
|
+
}
|
|
63
|
+
const merchantData = decryptedKvp.split("|");
|
|
64
|
+
merchantData.forEach((kvp) => {
|
|
65
|
+
const data = kvp.split(":");
|
|
66
|
+
collection.add(data[0], data[1], data[2] === "true");
|
|
67
|
+
});
|
|
68
|
+
return collection;
|
|
69
|
+
}
|
|
70
|
+
toString(encoder = null) {
|
|
71
|
+
let sb = "";
|
|
72
|
+
this.collection.forEach((kvp) => {
|
|
73
|
+
sb += `${kvp.getKey()}:${kvp.getValue()}:${kvp.isVisible()}|`;
|
|
74
|
+
});
|
|
75
|
+
sb = sb.slice(0, -1);
|
|
76
|
+
try {
|
|
77
|
+
let formatted = sb;
|
|
78
|
+
if (encoder) {
|
|
79
|
+
formatted = encoder(sb);
|
|
80
|
+
}
|
|
81
|
+
return btoa(formatted);
|
|
82
|
+
}
|
|
83
|
+
catch (error) {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
getValue(key, converter = null) {
|
|
88
|
+
for (const kvp of this.collection) {
|
|
89
|
+
if (kvp.getKey() === key) {
|
|
90
|
+
if (converter !== null) {
|
|
91
|
+
return converter(kvp.getValue());
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return kvp.getValue();
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
exports.MerchantDataCollection = MerchantDataCollection;
|
|
102
|
+
//# sourceMappingURL=MerchantDataCollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerchantDataCollection.js","sourceRoot":"","sources":["../../../src/Entities/MerchantDataCollection.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C,MAAa,sBAAsB;IACzB,UAAU,CAAgB;IAElC;QACE,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACvB,CAAC;IAED,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,UAAmB,IAAI;QACrD,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;YACpB,IAAI,OAAO,EAAE;gBACX,MAAM,IAAI,KAAK,CAAC,OAAO,GAAG,oCAAoC,CAAC,CAAC;aACjE;iBAAM;gBACL,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;gBAChC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE;oBAChB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;iBAClC;aACF;SACF;QAED,MAAM,GAAG,GAAG,IAAI,yBAAW,EAAE,CAAC;QAE9B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChB,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QACpB,GAAG,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAExB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC;IAED,GAAG,CAAC,GAAW;QACb,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAC9B,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,GAAG,IAAI,IAAI,CAAC,SAAS,EAAE,CACpD,CAAC;QACF,OAAO,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;IACrC,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,UAAU;aACnB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;aAClC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAClC,CAAC;IAED,KAAK;QACH,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;IACnE,CAAC;IAEO,OAAO,CAAC,GAAW;QACzB,OAAO,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,KAAK,GAAG,CAAC,CAAC;IACpE,CAAC;IAED,eAAe;QACb,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM,CAAC,GAAW;QAChB,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAChC,CAAC;IAED,WAAW,CAAC,aAAqC;QAC/C,MAAM,YAAY,GAAG,aAAa,CAAC,eAAe,EAAE,CAAC;QACrD,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC3B,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,EAAE;gBAC9B,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;aAC3B;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,MAAM,CAAC,KAAK,CACV,SAAiB,EACjB,UAAgD,IAAI;QAEpD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAEhD,IAAI,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QACnC,IAAI,OAAO,EAAE;YACX,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;SACtC;QAED,MAAM,YAAY,GAAG,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC7C,YAAY,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC3B,MAAM,IAAI,GAAG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC5B,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC;QACvD,CAAC,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACpB,CAAC;IAED,QAAQ,CACN,UAAgD,IAAI;QAEpD,IAAI,EAAE,GAAG,EAAE,CAAC;QAEZ,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YAC9B,EAAE,IAAI,GAAG,GAAG,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,QAAQ,EAAE,IAAI,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC;QAChE,CAAC,CAAC,CAAC;QAEH,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAErB,IAAI;YACF,IAAI,SAAS,GAAG,EAAE,CAAC;YACnB,IAAI,OAAO,EAAE;gBACX,SAAS,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;aACzB;YACD,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;SACxB;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,QAAQ,CAAC,GAAW,EAAE,YAA0C,IAAI;QAClE,KAAK,MAAM,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE;YACjC,IAAI,GAAG,CAAC,MAAM,EAAE,KAAK,GAAG,EAAE;gBACxB,IAAI,SAAS,KAAK,IAAI,EAAE;oBACtB,OAAO,SAAS,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;iBAClC;qBAAM;oBACL,OAAO,GAAG,CAAC,QAAQ,EAAE,CAAC;iBACvB;aACF;SACF;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAxHD,wDAwHC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MerchantKVP = void 0;
|
|
4
|
+
class MerchantKVP {
|
|
5
|
+
key;
|
|
6
|
+
value;
|
|
7
|
+
visible;
|
|
8
|
+
getKey() {
|
|
9
|
+
return this.key;
|
|
10
|
+
}
|
|
11
|
+
setKey(key) {
|
|
12
|
+
this.key = key;
|
|
13
|
+
}
|
|
14
|
+
getValue() {
|
|
15
|
+
return this.value;
|
|
16
|
+
}
|
|
17
|
+
setValue(value) {
|
|
18
|
+
this.value = value;
|
|
19
|
+
}
|
|
20
|
+
isVisible() {
|
|
21
|
+
return this.visible;
|
|
22
|
+
}
|
|
23
|
+
setVisible(visible) {
|
|
24
|
+
this.visible = visible;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MerchantKVP = MerchantKVP;
|
|
28
|
+
//# sourceMappingURL=MerchantKVP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MerchantKVP.js","sourceRoot":"","sources":["../../../src/Entities/MerchantKVP.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IACd,GAAG,CAAS;IACZ,KAAK,CAAS;IACd,OAAO,CAAU;IAEzB,MAAM;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,GAAW;QAChB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IACjB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,QAAQ,CAAC,KAAa;QACpB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,UAAU,CAAC,OAAgB;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;CACF;AA5BD,kCA4BC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageExtension = void 0;
|
|
4
|
+
class MessageExtension {
|
|
5
|
+
criticalityIndicator;
|
|
6
|
+
messageExtensionData;
|
|
7
|
+
messageExtensionId;
|
|
8
|
+
messageExtensionName;
|
|
9
|
+
}
|
|
10
|
+
exports.MessageExtension = MessageExtension;
|
|
11
|
+
//# sourceMappingURL=MessageExtension.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageExtension.js","sourceRoot":"","sources":["../../../src/Entities/MessageExtension.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;IAC3B,oBAAoB,CAAU;IAC9B,oBAAoB,CAAS;IAC7B,kBAAkB,CAAS;IAC3B,oBAAoB,CAAS;CAC9B;AALD,4CAKC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SdkInterface, SdkUiType } from "./Enums";
|
|
2
|
+
export declare class MobileData {
|
|
3
|
+
encodedData: string;
|
|
4
|
+
applicationReference: string;
|
|
5
|
+
sdkInterface: SdkInterface;
|
|
6
|
+
sdkUiTypes: SdkUiType[];
|
|
7
|
+
ephemeralPublicKey: string;
|
|
8
|
+
maximumTimeout: number;
|
|
9
|
+
referenceNumber: string;
|
|
10
|
+
sdkTransReference: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MobileData = void 0;
|
|
4
|
+
class MobileData {
|
|
5
|
+
encodedData;
|
|
6
|
+
applicationReference;
|
|
7
|
+
sdkInterface;
|
|
8
|
+
sdkUiTypes;
|
|
9
|
+
ephemeralPublicKey;
|
|
10
|
+
maximumTimeout;
|
|
11
|
+
referenceNumber;
|
|
12
|
+
sdkTransReference;
|
|
13
|
+
}
|
|
14
|
+
exports.MobileData = MobileData;
|
|
15
|
+
//# sourceMappingURL=MobileData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MobileData.js","sourceRoot":"","sources":["../../../src/Entities/MobileData.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;IACrB,WAAW,CAAS;IACpB,oBAAoB,CAAS;IAC7B,YAAY,CAAe;IAC3B,UAAU,CAAc;IACxB,kBAAkB,CAAS;IAC3B,cAAc,CAAS;IACvB,eAAe,CAAS;IACxB,iBAAiB,CAAS;CAC3B;AATD,gCASC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayerDetails = void 0;
|
|
4
|
+
class PayerDetails {
|
|
5
|
+
firstName = "";
|
|
6
|
+
lastName = "";
|
|
7
|
+
email = "";
|
|
8
|
+
billingAddress;
|
|
9
|
+
shippingAddress;
|
|
10
|
+
}
|
|
11
|
+
exports.PayerDetails = PayerDetails;
|
|
12
|
+
//# sourceMappingURL=PayerDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayerDetails.js","sourceRoot":"","sources":["../../../src/Entities/PayerDetails.ts"],"names":[],"mappings":";;;AAEA,MAAa,YAAY;IACvB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAW,EAAE,CAAC;IACtB,KAAK,GAAW,EAAE,CAAC;IACnB,cAAc,CAAU;IACxB,eAAe,CAAU;CAC1B;AAND,oCAMC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PhoneNumber = void 0;
|
|
4
|
+
class PhoneNumber {
|
|
5
|
+
countryCode;
|
|
6
|
+
number;
|
|
7
|
+
type;
|
|
8
|
+
constructor(countryCode, number, type) {
|
|
9
|
+
this.countryCode = countryCode;
|
|
10
|
+
this.number = number;
|
|
11
|
+
this.type = type;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.PhoneNumber = PhoneNumber;
|
|
15
|
+
//# sourceMappingURL=PhoneNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneNumber.js","sourceRoot":"","sources":["../../../src/Entities/PhoneNumber.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IACtB,WAAW,CAAS;IACpB,MAAM,CAAS;IACf,IAAI,CAAS;IAEb,YAAY,WAAmB,EAAE,MAAc,EAAE,IAAY;QAC3D,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAVD,kCAUC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountBalanceResponseData = void 0;
|
|
4
|
+
class AccountBalanceResponseData {
|
|
5
|
+
enabled;
|
|
6
|
+
limitRemaining;
|
|
7
|
+
transferFee;
|
|
8
|
+
feeType;
|
|
9
|
+
accountLastFour;
|
|
10
|
+
}
|
|
11
|
+
exports.AccountBalanceResponseData = AccountBalanceResponseData;
|
|
12
|
+
//# sourceMappingURL=AccountBalanceResponseData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountBalanceResponseData.js","sourceRoot":"","sources":["../../../../src/Entities/ProFac/AccountBalanceResponseData.ts"],"names":[],"mappings":";;;AAAA,MAAa,0BAA0B;IAC9B,OAAO,CAAS;IAChB,cAAc,CAAS;IACvB,WAAW,CAAS;IACpB,OAAO,CAAS;IAChB,eAAe,CAAS;CAChC;AAND,gEAMC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ProPayAccountStatus } from "../../Entities";
|
|
2
|
+
export declare class AccountPermissions {
|
|
3
|
+
aCHIn: boolean;
|
|
4
|
+
aCHOut: boolean;
|
|
5
|
+
cCProcessing: boolean;
|
|
6
|
+
proPayIn: boolean;
|
|
7
|
+
proPayOut: boolean;
|
|
8
|
+
creditCardMonthLimit: string;
|
|
9
|
+
creditCardTransactionLimit: string;
|
|
10
|
+
merchantOverallStatus: ProPayAccountStatus;
|
|
11
|
+
softLimitEnabled: boolean;
|
|
12
|
+
aCHPaymentSoftLimitEnabled: boolean;
|
|
13
|
+
softLimitACHOffPercent: string;
|
|
14
|
+
aCHPaymentACHOffPercent: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccountPermissions = void 0;
|
|
4
|
+
class AccountPermissions {
|
|
5
|
+
aCHIn;
|
|
6
|
+
aCHOut;
|
|
7
|
+
cCProcessing;
|
|
8
|
+
proPayIn;
|
|
9
|
+
proPayOut;
|
|
10
|
+
creditCardMonthLimit;
|
|
11
|
+
creditCardTransactionLimit;
|
|
12
|
+
merchantOverallStatus;
|
|
13
|
+
softLimitEnabled;
|
|
14
|
+
aCHPaymentSoftLimitEnabled;
|
|
15
|
+
softLimitACHOffPercent;
|
|
16
|
+
aCHPaymentACHOffPercent;
|
|
17
|
+
}
|
|
18
|
+
exports.AccountPermissions = AccountPermissions;
|
|
19
|
+
//# sourceMappingURL=AccountPermissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountPermissions.js","sourceRoot":"","sources":["../../../../src/Entities/ProFac/AccountPermissions.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;IACtB,KAAK,CAAU;IACf,MAAM,CAAU;IAChB,YAAY,CAAU;IACtB,QAAQ,CAAU;IAClB,SAAS,CAAU;IACnB,oBAAoB,CAAS;IAC7B,0BAA0B,CAAS;IACnC,qBAAqB,CAAsB;IAC3C,gBAAgB,CAAU;IAC1B,0BAA0B,CAAU;IACpC,sBAAsB,CAAS;IAC/B,uBAAuB,CAAS;CACxC;AAbD,gDAaC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankAccountData = void 0;
|
|
4
|
+
class BankAccountData {
|
|
5
|
+
/// <summary>
|
|
6
|
+
/// ISO 3166 standard 3-character country code
|
|
7
|
+
/// </summary>
|
|
8
|
+
accountCountryCode;
|
|
9
|
+
/// <summary>
|
|
10
|
+
/// Merchant/Individual Name
|
|
11
|
+
/// </summary>
|
|
12
|
+
accountName;
|
|
13
|
+
/// <summary>
|
|
14
|
+
/// Financial Institution account number
|
|
15
|
+
/// </summary>
|
|
16
|
+
accountNumber;
|
|
17
|
+
/// <summary>
|
|
18
|
+
/// Valid values are: Personal and Business
|
|
19
|
+
/// </summary>
|
|
20
|
+
accountOwnershipType;
|
|
21
|
+
/// <summary>
|
|
22
|
+
/// Valid Values are:
|
|
23
|
+
/// C - Checking
|
|
24
|
+
/// S - Savings
|
|
25
|
+
/// G - General Ledger
|
|
26
|
+
/// </summary>
|
|
27
|
+
accountType;
|
|
28
|
+
/// <summary>
|
|
29
|
+
/// Name of financial institution
|
|
30
|
+
/// </summary>
|
|
31
|
+
bankName;
|
|
32
|
+
/// <summary>
|
|
33
|
+
/// Financial institution routing number. Must be a valid ACH routing number.
|
|
34
|
+
/// </summary>
|
|
35
|
+
routingNumber;
|
|
36
|
+
/// <summary>
|
|
37
|
+
/// The account holder's name. This is required if payment method is a bank account.
|
|
38
|
+
/// </summary>
|
|
39
|
+
accountHolderName;
|
|
40
|
+
}
|
|
41
|
+
exports.BankAccountData = BankAccountData;
|
|
42
|
+
//# sourceMappingURL=BankAccountData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BankAccountData.js","sourceRoot":"","sources":["../../../../src/Entities/ProFac/BankAccountData.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAe;IAC1B,aAAa;IACb,8CAA8C;IAC9C,cAAc;IACP,kBAAkB,CAAS;IAClC,aAAa;IACb,4BAA4B;IAC5B,cAAc;IACP,WAAW,CAAS;IAC3B,aAAa;IACb,wCAAwC;IACxC,cAAc;IACP,aAAa,CAAS;IAC7B,aAAa;IACb,2CAA2C;IAC3C,cAAc;IACP,oBAAoB,CAAS;IACpC,aAAa;IACb,qBAAqB;IACrB,gBAAgB;IAChB,eAAe;IACf,sBAAsB;IACtB,cAAc;IACP,WAAW,CAAS;IAC3B,aAAa;IACb,iCAAiC;IACjC,cAAc;IACP,QAAQ,CAAS;IACxB,aAAa;IACb,6EAA6E;IAC7E,cAAc;IACP,aAAa,CAAS;IAE7B,aAAa;IACb,oFAAoF;IACpF,cAAc;IACP,iBAAiB,CAAS;CAClC;AArCD,0CAqCC"}
|