globalpayments-api 3.4.0 → 3.5.1-fix
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 +7 -1
- package/package.json +1 -4
- package/lib/src/Builders/AuthorizationBuilder.d.ts +0 -340
- package/lib/src/Builders/AuthorizationBuilder.js +0 -645
- package/lib/src/Builders/AuthorizationBuilder.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +0 -16
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +0 -92
- package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +0 -16
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +0 -36
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +0 -1
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder/Validations.js +0 -55
- package/lib/src/Builders/BaseBuilder/Validations.js.map +0 -1
- package/lib/src/Builders/BaseBuilder.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder.js +0 -17
- package/lib/src/Builders/BaseBuilder.js.map +0 -1
- package/lib/src/Builders/ManagementBuilder.d.ts +0 -118
- package/lib/src/Builders/ManagementBuilder.js +0 -229
- package/lib/src/Builders/ManagementBuilder.js.map +0 -1
- package/lib/src/Builders/PayFacBuilder.d.ts +0 -97
- package/lib/src/Builders/PayFacBuilder.js +0 -233
- package/lib/src/Builders/PayFacBuilder.js.map +0 -1
- package/lib/src/Builders/RecurringBuilder.d.ts +0 -13
- package/lib/src/Builders/RecurringBuilder.js +0 -34
- package/lib/src/Builders/RecurringBuilder.js.map +0 -1
- package/lib/src/Builders/ReportBuilder.d.ts +0 -10
- package/lib/src/Builders/ReportBuilder.js +0 -27
- package/lib/src/Builders/ReportBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +0 -11
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +0 -23
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +0 -34
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +0 -409
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.d.ts +0 -7
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +0 -71
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.d.ts +0 -16
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js +0 -34
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +0 -10
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +0 -89
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +0 -6
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +0 -49
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +0 -4
- package/lib/src/Builders/RequestBuilder/GpApi/index.js +0 -21
- package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +0 -18
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +0 -125
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +0 -11
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +0 -83
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +0 -9
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +0 -66
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +0 -3
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js +0 -20
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +0 -8
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +0 -39
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +0 -1
- package/lib/src/Builders/RequestBuilder/index.d.ts +0 -3
- package/lib/src/Builders/RequestBuilder/index.js +0 -20
- package/lib/src/Builders/RequestBuilder/index.js.map +0 -1
- package/lib/src/Builders/TransactionBuilder.d.ts +0 -12
- package/lib/src/Builders/TransactionBuilder.js +0 -43
- package/lib/src/Builders/TransactionBuilder.js.map +0 -1
- package/lib/src/Builders/TransactionReportBuilder.d.ts +0 -19
- package/lib/src/Builders/TransactionReportBuilder.js +0 -87
- package/lib/src/Builders/TransactionReportBuilder.js.map +0 -1
- package/lib/src/Builders/index.d.ts +0 -8
- package/lib/src/Builders/index.js +0 -25
- package/lib/src/Builders/index.js.map +0 -1
- package/lib/src/ConfiguredServices.d.ts +0 -24
- package/lib/src/ConfiguredServices.js +0 -33
- package/lib/src/ConfiguredServices.js.map +0 -1
- package/lib/src/Entities/Address.d.ts +0 -14
- package/lib/src/Entities/Address.js +0 -23
- package/lib/src/Entities/Address.js.map +0 -1
- package/lib/src/Entities/BatchSummary.d.ts +0 -6
- package/lib/src/Entities/BatchSummary.js +0 -11
- package/lib/src/Entities/BatchSummary.js.map +0 -1
- package/lib/src/Entities/Card.d.ts +0 -36
- package/lib/src/Entities/Card.js +0 -41
- package/lib/src/Entities/Card.js.map +0 -1
- package/lib/src/Entities/CardIssuerResponse.d.ts +0 -22
- package/lib/src/Entities/CardIssuerResponse.js +0 -27
- package/lib/src/Entities/CardIssuerResponse.js.map +0 -1
- package/lib/src/Entities/Customer.d.ts +0 -74
- package/lib/src/Entities/Customer.js +0 -94
- package/lib/src/Entities/Customer.js.map +0 -1
- package/lib/src/Entities/CustomerDocument.d.ts +0 -8
- package/lib/src/Entities/CustomerDocument.js +0 -16
- package/lib/src/Entities/CustomerDocument.js.map +0 -1
- package/lib/src/Entities/DocumentUploadData.d.ts +0 -13
- package/lib/src/Entities/DocumentUploadData.js +0 -81
- package/lib/src/Entities/DocumentUploadData.js.map +0 -1
- package/lib/src/Entities/EcommerceInfo.d.ts +0 -12
- package/lib/src/Entities/EcommerceInfo.js +0 -22
- package/lib/src/Entities/EcommerceInfo.js.map +0 -1
- package/lib/src/Entities/EncryptionData.d.ts +0 -6
- package/lib/src/Entities/EncryptionData.js +0 -11
- package/lib/src/Entities/EncryptionData.js.map +0 -1
- package/lib/src/Entities/Enums/AcquisitionType.d.ts +0 -10
- package/lib/src/Entities/Enums/AcquisitionType.js +0 -15
- package/lib/src/Entities/Enums/AcquisitionType.js.map +0 -1
- package/lib/src/Entities/Enums/CardTypeFilter.d.ts +0 -7
- package/lib/src/Entities/Enums/CardTypeFilter.js +0 -12
- package/lib/src/Entities/Enums/CardTypeFilter.js.map +0 -1
- package/lib/src/Entities/Enums.d.ts +0 -587
- package/lib/src/Entities/Enums.js +0 -769
- package/lib/src/Entities/Enums.js.map +0 -1
- package/lib/src/Entities/Errors.d.ts +0 -23
- package/lib/src/Entities/Errors.js +0 -72
- package/lib/src/Entities/Errors.js.map +0 -1
- package/lib/src/Entities/FraudRule.d.ts +0 -8
- package/lib/src/Entities/FraudRule.js +0 -17
- package/lib/src/Entities/FraudRule.js.map +0 -1
- package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +0 -16
- package/lib/src/Entities/GpApi/AccessTokenInfo.js +0 -21
- package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/Card.d.ts +0 -16
- package/lib/src/Entities/GpApi/DTO/Card.js +0 -21
- package/lib/src/Entities/GpApi/DTO/Card.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.d.ts +0 -17
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js +0 -21
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js.map +0 -1
- package/lib/src/Entities/GpApi/DTO/index.d.ts +0 -2
- package/lib/src/Entities/GpApi/DTO/index.js +0 -19
- package/lib/src/Entities/GpApi/DTO/index.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiAccount.d.ts +0 -5
- package/lib/src/Entities/GpApi/GpApiAccount.js +0 -13
- package/lib/src/Entities/GpApi/GpApiAccount.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiRequest.d.ts +0 -21
- package/lib/src/Entities/GpApi/GpApiRequest.js +0 -26
- package/lib/src/Entities/GpApi/GpApiRequest.js.map +0 -1
- package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +0 -52
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js +0 -115
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +0 -1
- package/lib/src/Entities/GpApi/PageResult.d.ts +0 -8
- package/lib/src/Entities/GpApi/PageResult.js +0 -13
- package/lib/src/Entities/GpApi/PageResult.js.map +0 -1
- package/lib/src/Entities/GpApi/index.d.ts +0 -5
- package/lib/src/Entities/GpApi/index.js +0 -22
- package/lib/src/Entities/GpApi/index.js.map +0 -1
- package/lib/src/Entities/HostedPaymentData.d.ts +0 -10
- package/lib/src/Entities/HostedPaymentData.js +0 -17
- package/lib/src/Entities/HostedPaymentData.js.map +0 -1
- package/lib/src/Entities/IRequestBuilder.d.ts +0 -6
- package/lib/src/Entities/IRequestBuilder.js +0 -3
- package/lib/src/Entities/IRequestBuilder.js.map +0 -1
- package/lib/src/Entities/IRequestLogger.d.ts +0 -8
- package/lib/src/Entities/IRequestLogger.js +0 -3
- package/lib/src/Entities/IRequestLogger.js.map +0 -1
- package/lib/src/Entities/MaskedValueCollection.d.ts +0 -12
- package/lib/src/Entities/MaskedValueCollection.js +0 -53
- package/lib/src/Entities/MaskedValueCollection.js.map +0 -1
- package/lib/src/Entities/PayerDetails.d.ts +0 -8
- package/lib/src/Entities/PayerDetails.js +0 -12
- package/lib/src/Entities/PayerDetails.js.map +0 -1
- package/lib/src/Entities/PhoneNumber.d.ts +0 -6
- package/lib/src/Entities/PhoneNumber.js +0 -15
- package/lib/src/Entities/PhoneNumber.js.map +0 -1
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +0 -7
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +0 -12
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +0 -1
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +0 -15
- package/lib/src/Entities/ProFac/AccountPermissions.js +0 -19
- package/lib/src/Entities/ProFac/AccountPermissions.js.map +0 -1
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/BankAccountData.js +0 -42
- package/lib/src/Entities/ProFac/BankAccountData.js.map +0 -1
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +0 -8
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +0 -15
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +0 -1
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +0 -6
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +0 -12
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +0 -1
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +0 -5
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +0 -10
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +0 -1
- package/lib/src/Entities/ProFac/BusinessData.d.ts +0 -15
- package/lib/src/Entities/ProFac/BusinessData.js +0 -50
- package/lib/src/Entities/ProFac/BusinessData.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +0 -4
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +0 -17
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceData.d.ts +0 -5
- package/lib/src/Entities/ProFac/DeviceData.js +0 -11
- package/lib/src/Entities/ProFac/DeviceData.js.map +0 -1
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +0 -6
- package/lib/src/Entities/ProFac/DeviceInfo.js +0 -19
- package/lib/src/Entities/ProFac/DeviceInfo.js.map +0 -1
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +0 -7
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +0 -15
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +0 -1
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +0 -8
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +0 -10
- package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +0 -1
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +0 -18
- package/lib/src/Entities/ProFac/OrderDevice.js +0 -23
- package/lib/src/Entities/ProFac/OrderDevice.js.map +0 -1
- package/lib/src/Entities/ProFac/OwnersData.d.ts +0 -12
- package/lib/src/Entities/ProFac/OwnersData.js +0 -43
- package/lib/src/Entities/ProFac/OwnersData.js.map +0 -1
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +0 -55
- package/lib/src/Entities/ProFac/PayFacResponseData.js +0 -62
- package/lib/src/Entities/ProFac/PayFacResponseData.js.map +0 -1
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/RenewAccountData.js +0 -38
- package/lib/src/Entities/ProFac/RenewAccountData.js.map +0 -1
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +0 -8
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +0 -27
- package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +0 -1
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +0 -5
- package/lib/src/Entities/ProFac/ThreatRiskData.js +0 -19
- package/lib/src/Entities/ProFac/ThreatRiskData.js.map +0 -1
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +0 -26
- package/lib/src/Entities/ProFac/UserPersonalData.js +0 -82
- package/lib/src/Entities/ProFac/UserPersonalData.js.map +0 -1
- package/lib/src/Entities/RecurringEntity.d.ts +0 -14
- package/lib/src/Entities/RecurringEntity.js +0 -92
- package/lib/src/Entities/RecurringEntity.js.map +0 -1
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +0 -105
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +0 -122
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +0 -1
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.d.ts +0 -11
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js +0 -16
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js.map +0 -1
- package/lib/src/Entities/Reporting/index.d.ts +0 -2
- package/lib/src/Entities/Reporting/index.js +0 -19
- package/lib/src/Entities/Reporting/index.js.map +0 -1
- package/lib/src/Entities/Request.d.ts +0 -10
- package/lib/src/Entities/Request.js +0 -18
- package/lib/src/Entities/Request.js.map +0 -1
- package/lib/src/Entities/SSORequestData.d.ts +0 -5
- package/lib/src/Entities/SSORequestData.js +0 -19
- package/lib/src/Entities/SSORequestData.js.map +0 -1
- package/lib/src/Entities/Schedule.d.ts +0 -47
- package/lib/src/Entities/Schedule.js +0 -325
- package/lib/src/Entities/Schedule.js.map +0 -1
- package/lib/src/Entities/ServiceEndpoints.d.ts +0 -12
- package/lib/src/Entities/ServiceEndpoints.js +0 -17
- package/lib/src/Entities/ServiceEndpoints.js.map +0 -1
- package/lib/src/Entities/Transaction.d.ts +0 -84
- package/lib/src/Entities/Transaction.js +0 -133
- package/lib/src/Entities/Transaction.js.map +0 -1
- package/lib/src/Entities/TransactionStatus.d.ts +0 -13
- package/lib/src/Entities/TransactionStatus.js +0 -29
- package/lib/src/Entities/TransactionStatus.js.map +0 -1
- package/lib/src/Entities/TransactionSummary.d.ts +0 -61
- package/lib/src/Entities/TransactionSummary.js +0 -66
- package/lib/src/Entities/TransactionSummary.js.map +0 -1
- package/lib/src/Entities/UPA/ProcessIndicator.d.ts +0 -7
- package/lib/src/Entities/UPA/ProcessIndicator.js +0 -11
- package/lib/src/Entities/UPA/ProcessIndicator.js.map +0 -1
- package/lib/src/Entities/UPA/UpaParam.d.ts +0 -10
- package/lib/src/Entities/UPA/UpaParam.js +0 -14
- package/lib/src/Entities/UPA/UpaParam.js.map +0 -1
- package/lib/src/Entities/UPA/UpaTransactionData.d.ts +0 -8
- package/lib/src/Entities/UPA/UpaTransactionData.js +0 -12
- package/lib/src/Entities/UPA/UpaTransactionData.js.map +0 -1
- package/lib/src/Entities/UPA/index.d.ts +0 -3
- package/lib/src/Entities/UPA/index.js +0 -20
- package/lib/src/Entities/UPA/index.js.map +0 -1
- package/lib/src/Entities/index.d.ts +0 -27
- package/lib/src/Entities/index.js +0 -44
- package/lib/src/Entities/index.js.map +0 -1
- package/lib/src/Gateways/Gateway.d.ts +0 -16
- package/lib/src/Gateways/Gateway.js +0 -94
- package/lib/src/Gateways/Gateway.js.map +0 -1
- package/lib/src/Gateways/GatewayResponse.d.ts +0 -8
- package/lib/src/Gateways/GatewayResponse.js +0 -15
- package/lib/src/Gateways/GatewayResponse.js.map +0 -1
- package/lib/src/Gateways/GpApiConnector.d.ts +0 -42
- package/lib/src/Gateways/GpApiConnector.js +0 -232
- package/lib/src/Gateways/GpApiConnector.js.map +0 -1
- package/lib/src/Gateways/GpEcomConnector.d.ts +0 -36
- package/lib/src/Gateways/GpEcomConnector.js +0 -468
- package/lib/src/Gateways/GpEcomConnector.js.map +0 -1
- package/lib/src/Gateways/IPayFacProvider.d.ts +0 -5
- package/lib/src/Gateways/IPayFacProvider.js +0 -3
- package/lib/src/Gateways/IPayFacProvider.js.map +0 -1
- package/lib/src/Gateways/IPaymentGateway.d.ts +0 -8
- package/lib/src/Gateways/IPaymentGateway.js +0 -3
- package/lib/src/Gateways/IPaymentGateway.js.map +0 -1
- package/lib/src/Gateways/IRecurringService.d.ts +0 -6
- package/lib/src/Gateways/IRecurringService.js +0 -3
- package/lib/src/Gateways/IRecurringService.js.map +0 -1
- package/lib/src/Gateways/PayPlanConnector.d.ts +0 -42
- package/lib/src/Gateways/PayPlanConnector.js +0 -545
- package/lib/src/Gateways/PayPlanConnector.js.map +0 -1
- package/lib/src/Gateways/PorticoConnector.d.ts +0 -48
- package/lib/src/Gateways/PorticoConnector.js +0 -1013
- package/lib/src/Gateways/PorticoConnector.js.map +0 -1
- package/lib/src/Gateways/ProPayConnector.d.ts +0 -45
- package/lib/src/Gateways/ProPayConnector.js +0 -801
- package/lib/src/Gateways/ProPayConnector.js.map +0 -1
- package/lib/src/Gateways/RestGateway.d.ts +0 -9
- package/lib/src/Gateways/RestGateway.js +0 -77
- package/lib/src/Gateways/RestGateway.js.map +0 -1
- package/lib/src/Gateways/XmlGateway.d.ts +0 -6
- package/lib/src/Gateways/XmlGateway.js +0 -54
- package/lib/src/Gateways/XmlGateway.js.map +0 -1
- package/lib/src/Gateways/https-wrapper.d.ts +0 -3
- package/lib/src/Gateways/https-wrapper.js +0 -81
- package/lib/src/Gateways/https-wrapper.js.map +0 -1
- package/lib/src/Gateways/index.d.ts +0 -9
- package/lib/src/Gateways/index.js +0 -26
- package/lib/src/Gateways/index.js.map +0 -1
- package/lib/src/HostedPaymentConfig.d.ts +0 -12
- package/lib/src/HostedPaymentConfig.js +0 -16
- package/lib/src/HostedPaymentConfig.js.map +0 -1
- package/lib/src/Mapping/EnumMapping.d.ts +0 -8
- package/lib/src/Mapping/EnumMapping.js +0 -84
- package/lib/src/Mapping/EnumMapping.js.map +0 -1
- package/lib/src/Mapping/GpApiMapping.d.ts +0 -11
- package/lib/src/Mapping/GpApiMapping.js +0 -190
- package/lib/src/Mapping/GpApiMapping.js.map +0 -1
- package/lib/src/Mapping/GpEcomMapping.d.ts +0 -9
- package/lib/src/Mapping/GpEcomMapping.js +0 -85
- package/lib/src/Mapping/GpEcomMapping.js.map +0 -1
- package/lib/src/Mapping/index.d.ts +0 -3
- package/lib/src/Mapping/index.js +0 -20
- package/lib/src/Mapping/index.js.map +0 -1
- package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +0 -22
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js +0 -47
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/Cash.d.ts +0 -8
- package/lib/src/PaymentMethods/Cash.js +0 -16
- package/lib/src/PaymentMethods/Cash.js.map +0 -1
- package/lib/src/PaymentMethods/Credit.d.ts +0 -109
- package/lib/src/PaymentMethods/Credit.js +0 -161
- package/lib/src/PaymentMethods/Credit.js.map +0 -1
- package/lib/src/PaymentMethods/CreditCardData.d.ts +0 -20
- package/lib/src/PaymentMethods/CreditCardData.js +0 -47
- package/lib/src/PaymentMethods/CreditCardData.js.map +0 -1
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +0 -7
- package/lib/src/PaymentMethods/CreditTrackData.js +0 -10
- package/lib/src/PaymentMethods/CreditTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/Debit.d.ts +0 -40
- package/lib/src/PaymentMethods/Debit.js +0 -52
- package/lib/src/PaymentMethods/Debit.js.map +0 -1
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +0 -7
- package/lib/src/PaymentMethods/DebitTrackData.js +0 -10
- package/lib/src/PaymentMethods/DebitTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/EBT.d.ts +0 -48
- package/lib/src/PaymentMethods/EBT.js +0 -68
- package/lib/src/PaymentMethods/EBT.js.map +0 -1
- package/lib/src/PaymentMethods/EBTCardData.d.ts +0 -16
- package/lib/src/PaymentMethods/EBTCardData.js +0 -25
- package/lib/src/PaymentMethods/EBTCardData.js.map +0 -1
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +0 -8
- package/lib/src/PaymentMethods/EBTTrackData.js +0 -11
- package/lib/src/PaymentMethods/EBTTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/ECheck.d.ts +0 -32
- package/lib/src/PaymentMethods/ECheck.js +0 -38
- package/lib/src/PaymentMethods/ECheck.js.map +0 -1
- package/lib/src/PaymentMethods/GiftCard.d.ts +0 -131
- package/lib/src/PaymentMethods/GiftCard.js +0 -189
- package/lib/src/PaymentMethods/GiftCard.js.map +0 -1
- package/lib/src/PaymentMethods/Interfaces.d.ts +0 -59
- package/lib/src/PaymentMethods/Interfaces.js +0 -3
- package/lib/src/PaymentMethods/Interfaces.js.map +0 -1
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +0 -19
- package/lib/src/PaymentMethods/PaymentMethod.js +0 -57
- package/lib/src/PaymentMethods/PaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +0 -25
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +0 -69
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +0 -1
- package/lib/src/PaymentMethods/TransactionReference.d.ts +0 -10
- package/lib/src/PaymentMethods/TransactionReference.js +0 -17
- package/lib/src/PaymentMethods/TransactionReference.js.map +0 -1
- package/lib/src/PaymentMethods/index.d.ts +0 -17
- package/lib/src/PaymentMethods/index.js +0 -34
- package/lib/src/PaymentMethods/index.js.map +0 -1
- package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +0 -29
- package/lib/src/ServiceConfigs/AcceptorConfig.js +0 -43
- package/lib/src/ServiceConfigs/AcceptorConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Configuration.d.ts +0 -15
- package/lib/src/ServiceConfigs/Configuration.js +0 -20
- package/lib/src/ServiceConfigs/Configuration.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +0 -14
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +0 -30
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +0 -21
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +0 -45
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +0 -21
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +0 -51
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +0 -22
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +0 -117
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +0 -1
- package/lib/src/ServiceConfigs/Gateways/index.d.ts +0 -4
- package/lib/src/ServiceConfigs/Gateways/index.js +0 -21
- package/lib/src/ServiceConfigs/Gateways/index.js.map +0 -1
- package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +0 -8
- package/lib/src/ServiceConfigs/ServicesConfigs.js +0 -15
- package/lib/src/ServiceConfigs/ServicesConfigs.js.map +0 -1
- package/lib/src/ServiceConfigs/index.d.ts +0 -4
- package/lib/src/ServiceConfigs/index.js +0 -21
- package/lib/src/ServiceConfigs/index.js.map +0 -1
- package/lib/src/Services/BatchService.d.ts +0 -4
- package/lib/src/Services/BatchService.js +0 -15
- package/lib/src/Services/BatchService.js.map +0 -1
- package/lib/src/Services/CheckService.d.ts +0 -7
- package/lib/src/Services/CheckService.js +0 -20
- package/lib/src/Services/CheckService.js.map +0 -1
- package/lib/src/Services/CreditService.d.ts +0 -13
- package/lib/src/Services/CreditService.js +0 -54
- package/lib/src/Services/CreditService.js.map +0 -1
- package/lib/src/Services/DebitService.d.ts +0 -8
- package/lib/src/Services/DebitService.js +0 -28
- package/lib/src/Services/DebitService.js.map +0 -1
- package/lib/src/Services/DeviceService.d.ts +0 -5
- package/lib/src/Services/DeviceService.js +0 -19
- package/lib/src/Services/DeviceService.js.map +0 -1
- package/lib/src/Services/EBTService.d.ts +0 -9
- package/lib/src/Services/EBTService.js +0 -31
- package/lib/src/Services/EBTService.js.map +0 -1
- package/lib/src/Services/GiftService.d.ts +0 -17
- package/lib/src/Services/GiftService.js +0 -54
- package/lib/src/Services/GiftService.js.map +0 -1
- package/lib/src/Services/GpApiServices.d.ts +0 -4
- package/lib/src/Services/GpApiServices.js +0 -44
- package/lib/src/Services/GpApiServices.js.map +0 -1
- package/lib/src/Services/HostedService.d.ts +0 -10
- package/lib/src/Services/HostedService.js +0 -59
- package/lib/src/Services/HostedService.js.map +0 -1
- package/lib/src/Services/PayFacService.d.ts +0 -26
- package/lib/src/Services/PayFacService.js +0 -76
- package/lib/src/Services/PayFacService.js.map +0 -1
- package/lib/src/Services/RecurringService.d.ts +0 -8
- package/lib/src/Services/RecurringService.js +0 -24
- package/lib/src/Services/RecurringService.js.map +0 -1
- package/lib/src/Services/ReportingService.d.ts +0 -8
- package/lib/src/Services/ReportingService.js +0 -24
- package/lib/src/Services/ReportingService.js.map +0 -1
- package/lib/src/Services/index.d.ts +0 -10
- package/lib/src/Services/index.js +0 -27
- package/lib/src/Services/index.js.map +0 -1
- package/lib/src/ServicesContainer.d.ts +0 -19
- package/lib/src/ServicesContainer.js +0 -64
- package/lib/src/ServicesContainer.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.d.ts +0 -6
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceInterface.d.ts +0 -13
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceMessage.d.ts +0 -4
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IDeviceResponse.d.ts +0 -52
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js +0 -3
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.d.ts +0 -3
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js +0 -3
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js.map +0 -1
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.d.ts +0 -3
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js +0 -3
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js.map +0 -1
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.d.ts +0 -16
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js +0 -3
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js.map +0 -1
- package/lib/src/Terminals/Abstractions/index.d.ts +0 -7
- package/lib/src/Terminals/Abstractions/index.js +0 -24
- package/lib/src/Terminals/Abstractions/index.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.d.ts +0 -65
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js +0 -172
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalBuilder.d.ts +0 -12
- package/lib/src/Terminals/Builders/TerminalBuilder.js +0 -32
- package/lib/src/Terminals/Builders/TerminalBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/TerminalManageBuilder.d.ts +0 -30
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js +0 -95
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js.map +0 -1
- package/lib/src/Terminals/Builders/index.d.ts +0 -2
- package/lib/src/Terminals/Builders/index.js +0 -19
- package/lib/src/Terminals/Builders/index.js.map +0 -1
- package/lib/src/Terminals/ConnectionConfig.d.ts +0 -20
- package/lib/src/Terminals/ConnectionConfig.js +0 -49
- package/lib/src/Terminals/ConnectionConfig.js.map +0 -1
- package/lib/src/Terminals/DeviceController.d.ts +0 -23
- package/lib/src/Terminals/DeviceController.js +0 -42
- package/lib/src/Terminals/DeviceController.js.map +0 -1
- package/lib/src/Terminals/DeviceInterface.d.ts +0 -21
- package/lib/src/Terminals/DeviceInterface.js +0 -50
- package/lib/src/Terminals/DeviceInterface.js.map +0 -1
- package/lib/src/Terminals/DeviceMessage.d.ts +0 -15
- package/lib/src/Terminals/DeviceMessage.js +0 -42
- package/lib/src/Terminals/DeviceMessage.js.map +0 -1
- package/lib/src/Terminals/DeviceResponse.d.ts +0 -10
- package/lib/src/Terminals/DeviceResponse.js +0 -16
- package/lib/src/Terminals/DeviceResponse.js.map +0 -1
- package/lib/src/Terminals/Enums/ControlCodes.d.ts +0 -5
- package/lib/src/Terminals/Enums/ControlCodes.js +0 -10
- package/lib/src/Terminals/Enums/ControlCodes.js.map +0 -1
- package/lib/src/Terminals/Enums/index.d.ts +0 -1
- package/lib/src/Terminals/Enums/index.js +0 -18
- package/lib/src/Terminals/Enums/index.js.map +0 -1
- package/lib/src/Terminals/Enums.d.ts +0 -12
- package/lib/src/Terminals/Enums.js +0 -18
- package/lib/src/Terminals/Enums.js.map +0 -1
- package/lib/src/Terminals/SummaryResponse.d.ts +0 -28
- package/lib/src/Terminals/SummaryResponse.js +0 -33
- package/lib/src/Terminals/SummaryResponse.js.map +0 -1
- package/lib/src/Terminals/TerminalResponse.d.ts +0 -42
- package/lib/src/Terminals/TerminalResponse.js +0 -49
- package/lib/src/Terminals/TerminalResponse.js.map +0 -1
- package/lib/src/Terminals/TerminalUtils.d.ts +0 -4
- package/lib/src/Terminals/TerminalUtils.js +0 -24
- package/lib/src/Terminals/TerminalUtils.js.map +0 -1
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.d.ts +0 -20
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js +0 -25
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js.map +0 -1
- package/lib/src/Terminals/UPA/Entities/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Entities/index.js +0 -18
- package/lib/src/Terminals/UPA/Entities/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.d.ts +0 -12
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js +0 -76
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js.map +0 -1
- package/lib/src/Terminals/UPA/Interfaces/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Interfaces/index.js +0 -18
- package/lib/src/Terminals/UPA/Interfaces/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.d.ts +0 -53
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js +0 -70
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js.map +0 -1
- package/lib/src/Terminals/UPA/Reponses/index.d.ts +0 -1
- package/lib/src/Terminals/UPA/Reponses/index.js +0 -18
- package/lib/src/Terminals/UPA/Reponses/index.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/BaseRequest.d.ts +0 -7
- package/lib/src/Terminals/UPA/Request/BaseRequest.js +0 -11
- package/lib/src/Terminals/UPA/Request/BaseRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/GroupRequest.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/GroupRequest.js +0 -9
- package/lib/src/Terminals/UPA/Request/GroupRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/RequestParams.d.ts +0 -9
- package/lib/src/Terminals/UPA/Request/RequestParams.js +0 -14
- package/lib/src/Terminals/UPA/Request/RequestParams.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/RootRequest.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/RootRequest.js +0 -9
- package/lib/src/Terminals/UPA/Request/RootRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/TransactionRequest.d.ts +0 -10
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js +0 -15
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js.map +0 -1
- package/lib/src/Terminals/UPA/Request/index.d.ts +0 -5
- package/lib/src/Terminals/UPA/Request/index.js +0 -22
- package/lib/src/Terminals/UPA/Request/index.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaController.d.ts +0 -16
- package/lib/src/Terminals/UPA/UpaController.js +0 -213
- package/lib/src/Terminals/UPA/UpaController.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaInterface.d.ts +0 -10
- package/lib/src/Terminals/UPA/UpaInterface.js +0 -44
- package/lib/src/Terminals/UPA/UpaInterface.js.map +0 -1
- package/lib/src/Terminals/UPA/UpaMessageType.d.ts +0 -8
- package/lib/src/Terminals/UPA/UpaMessageType.js +0 -13
- package/lib/src/Terminals/UPA/UpaMessageType.js.map +0 -1
- package/lib/src/Terminals/UPA/index.d.ts +0 -7
- package/lib/src/Terminals/UPA/index.js +0 -24
- package/lib/src/Terminals/UPA/index.js.map +0 -1
- package/lib/src/Terminals/index.d.ts +0 -8
- package/lib/src/Terminals/index.js +0 -25
- package/lib/src/Terminals/index.js.map +0 -1
- package/lib/src/Utils/GenerationUtils.d.ts +0 -6
- package/lib/src/Utils/GenerationUtils.js +0 -79
- package/lib/src/Utils/GenerationUtils.js.map +0 -1
- package/lib/src/Utils/IRawRequestBuilder.d.ts +0 -3
- package/lib/src/Utils/IRawRequestBuilder.js +0 -3
- package/lib/src/Utils/IRawRequestBuilder.js.map +0 -1
- package/lib/src/Utils/InputValidation.d.ts +0 -12
- package/lib/src/Utils/InputValidation.js +0 -71
- package/lib/src/Utils/InputValidation.js.map +0 -1
- package/lib/src/Utils/Logging/Logger.d.ts +0 -32
- package/lib/src/Utils/Logging/Logger.js +0 -209
- package/lib/src/Utils/Logging/Logger.js.map +0 -1
- package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +0 -11
- package/lib/src/Utils/Logging/ProtectSensitiveData.js +0 -23
- package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +0 -1
- package/lib/src/Utils/Logging/SampleRequestLogger.d.ts +0 -12
- package/lib/src/Utils/Logging/SampleRequestLogger.js +0 -38
- package/lib/src/Utils/Logging/SampleRequestLogger.js.map +0 -1
- package/lib/src/Utils/Logging/index.d.ts +0 -3
- package/lib/src/Utils/Logging/index.js +0 -20
- package/lib/src/Utils/Logging/index.js.map +0 -1
- package/lib/src/Utils/Sha1.d.ts +0 -6
- package/lib/src/Utils/Sha1.js +0 -231
- package/lib/src/Utils/Sha1.js.map +0 -1
- package/lib/src/Utils/StringUtils.d.ts +0 -15
- package/lib/src/Utils/StringUtils.js +0 -80
- package/lib/src/Utils/StringUtils.js.map +0 -1
- package/lib/src/Utils/index.d.ts +0 -4
- package/lib/src/Utils/index.js +0 -21
- package/lib/src/Utils/index.js.map +0 -1
- package/lib/src/index.d.ts +0 -13
- package/lib/src/index.js +0 -34
- package/lib/src/index.js.map +0 -1
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +0 -14
- package/lib/test/Data/BaseGpApiTestConfig.js +0 -50
- package/lib/test/Data/BaseGpApiTestConfig.js.map +0 -1
- package/lib/test/Data/TestCards.d.ts +0 -24
- package/lib/test/Data/TestCards.js +0 -220
- package/lib/test/Data/TestCards.js.map +0 -1
- package/lib/test/Data/TestChecks.d.ts +0 -4
- package/lib/test/Data/TestChecks.js +0 -27
- package/lib/test/Data/TestChecks.js.map +0 -1
- package/lib/test/Data/index.d.ts +0 -2
- package/lib/test/Data/index.js +0 -19
- package/lib/test/Data/index.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +0 -109
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +0 -360
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +0 -217
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +0 -2446
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +0 -506
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +0 -1296
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +0 -847
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +0 -215
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +0 -99
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +0 -133
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -59
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -378
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1723
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -86
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1760
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -420
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2221
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -392
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -82
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -72
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -111
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -147
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -101
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -50
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +0 -221
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +0 -39
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +0 -393
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +0 -44
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +0 -330
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +0 -60
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +0 -80
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +0 -34
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +0 -322
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +0 -4
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +0 -28
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +0 -1
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +0 -4
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +0 -10
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +0 -149
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.js +0 -45
- package/lib/test/Integration/Services/CheckServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.js +0 -174
- package/lib/test/Integration/Services/CreditServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.js +0 -81
- package/lib/test/Integration/Services/DebitServiceTest.js.map +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.js +0 -64
- package/lib/test/Integration/Services/EBTServiceTest.js.map +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -111
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -62
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +0 -34
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -125
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +0 -1
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Configuration, IDeviceInterface, IPaymentGateway, IRecurringService } from "./";
|
|
2
|
-
import { IPayFacProvider } from "./Gateways/IPayFacProvider";
|
|
3
|
-
import { ServicesConfigs } from "./ServiceConfigs/ServicesConfigs";
|
|
4
|
-
import { DeviceController } from "./Terminals/DeviceController";
|
|
5
|
-
export declare class ServicesContainer {
|
|
6
|
-
private static _instance;
|
|
7
|
-
private _configs;
|
|
8
|
-
static instance(): ServicesContainer;
|
|
9
|
-
getClient(configName?: string): IPaymentGateway;
|
|
10
|
-
getRecurringClient(configName?: string): IRecurringService;
|
|
11
|
-
getXmlClient(configName?: string): IPayFacProvider;
|
|
12
|
-
getDeviceInterface(configName?: string): IDeviceInterface;
|
|
13
|
-
getDeviceController(configName?: string): DeviceController;
|
|
14
|
-
static configure(config: ServicesConfigs, configName?: string): void;
|
|
15
|
-
static configureService<T extends Configuration>(config: T, configName?: string): void;
|
|
16
|
-
private getConfiguration;
|
|
17
|
-
private addConfiguration;
|
|
18
|
-
static removeConfiguration(configName?: string): void;
|
|
19
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServicesContainer = void 0;
|
|
4
|
-
const ConfiguredServices_1 = require("./ConfiguredServices");
|
|
5
|
-
class ServicesContainer {
|
|
6
|
-
static _instance;
|
|
7
|
-
_configs = {};
|
|
8
|
-
static instance() {
|
|
9
|
-
if (ServicesContainer._instance === undefined) {
|
|
10
|
-
ServicesContainer._instance = new ServicesContainer();
|
|
11
|
-
}
|
|
12
|
-
return ServicesContainer._instance;
|
|
13
|
-
}
|
|
14
|
-
getClient(configName = "default") {
|
|
15
|
-
return this._configs[configName].gatewayConnector;
|
|
16
|
-
}
|
|
17
|
-
getRecurringClient(configName = "default") {
|
|
18
|
-
return this._configs[configName].recurringConnector;
|
|
19
|
-
}
|
|
20
|
-
getXmlClient(configName = "default") {
|
|
21
|
-
return this._configs[configName].getPayFacProvider();
|
|
22
|
-
}
|
|
23
|
-
getDeviceInterface(configName = "default") {
|
|
24
|
-
return this._configs[configName].deviceInterface;
|
|
25
|
-
}
|
|
26
|
-
getDeviceController(configName = "default") {
|
|
27
|
-
return this._configs[configName].deviceController;
|
|
28
|
-
}
|
|
29
|
-
static configure(config, configName = "default") {
|
|
30
|
-
config.validate();
|
|
31
|
-
ServicesContainer.configureService(config.gatewayConfig, configName);
|
|
32
|
-
}
|
|
33
|
-
static configureService(config, configName = "default") {
|
|
34
|
-
if (config != null) {
|
|
35
|
-
if (!config.validated) {
|
|
36
|
-
config.validate();
|
|
37
|
-
}
|
|
38
|
-
const configuredService = ServicesContainer.instance().getConfiguration(configName);
|
|
39
|
-
config.configureContainer(configuredService);
|
|
40
|
-
ServicesContainer.instance().addConfiguration(configName, configuredService);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
getConfiguration(configName) {
|
|
44
|
-
const instance = ServicesContainer.instance();
|
|
45
|
-
if (instance._configs[configName]) {
|
|
46
|
-
return instance._configs[configName];
|
|
47
|
-
}
|
|
48
|
-
else {
|
|
49
|
-
return new ConfiguredServices_1.ConfiguredServices();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
addConfiguration(configName, configuredService) {
|
|
53
|
-
const instance = ServicesContainer.instance();
|
|
54
|
-
instance._configs[configName] = configuredService;
|
|
55
|
-
}
|
|
56
|
-
static removeConfiguration(configName = "default") {
|
|
57
|
-
const instance = ServicesContainer.instance();
|
|
58
|
-
if (instance._configs[configName]) {
|
|
59
|
-
delete instance._configs[configName];
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.ServicesContainer = ServicesContainer;
|
|
64
|
-
//# sourceMappingURL=ServicesContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ServicesContainer.js","sourceRoot":"","sources":["../../src/ServicesContainer.ts"],"names":[],"mappings":";;;AAMA,6DAA0D;AAK1D,MAAa,iBAAiB;IACpB,MAAM,CAAC,SAAS,CAAoB;IACpC,QAAQ,GAAuC,EAAE,CAAC;IAEnD,MAAM,CAAC,QAAQ;QACpB,IAAI,iBAAiB,CAAC,SAAS,KAAK,SAAS,EAAE;YAC7C,iBAAiB,CAAC,SAAS,GAAG,IAAI,iBAAiB,EAAE,CAAC;SACvD;QAED,OAAO,iBAAiB,CAAC,SAAS,CAAC;IACrC,CAAC;IAEM,SAAS,CAAC,aAAqB,SAAS;QAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAEM,kBAAkB,CAAC,aAAqB,SAAS;QACtD,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,kBAAkB,CAAC;IACtD,CAAC;IAEM,YAAY,CAAC,aAAqB,SAAS;QAChD,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACvD,CAAC;IAEM,kBAAkB,CAAC,aAAqB,SAAS;QACtD,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,eAAe,CAAC;IACnD,CAAC;IAEM,mBAAmB,CAAC,aAAqB,SAAS;QACvD,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,gBAAgB,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,SAAS,CACrB,MAAuB,EACvB,aAAqB,SAAS;QAE9B,MAAM,CAAC,QAAQ,EAAE,CAAC;QAElB,iBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;IACvE,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAC5B,MAAS,EACT,aAAqB,SAAS;QAE9B,IAAI,MAAM,IAAI,IAAI,EAAE;YAClB,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE;gBACrB,MAAM,CAAC,QAAQ,EAAE,CAAC;aACnB;YAED,MAAM,iBAAiB,GACrB,iBAAiB,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;YAE5D,MAAM,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;YAC7C,iBAAiB,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAC3C,UAAU,EACV,iBAAiB,CAClB,CAAC;SACH;IACH,CAAC;IAEO,gBAAgB,CAAC,UAAkB;QACzC,MAAM,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,EAAE,CAAC;QAC9C,IAAI,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACjC,OAAO,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;SACtC;aAAM;YACL,OAAO,IAAI,uCAAkB,EAAE,CAAC;SACjC;IACH,CAAC;IAEO,gBAAgB,CACtB,UAAkB,EAClB,iBAAqC;QAErC,MAAM,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,EAAE,CAAC;QAC9C,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,iBAAiB,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,mBAAmB,CAAC,aAAqB,SAAS;QAC9D,MAAM,QAAQ,GAAG,iBAAiB,CAAC,QAAQ,EAAE,CAAC;QAC9C,IAAI,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACjC,OAAO,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;SACtC;IACH,CAAC;CACF;AApFD,8CAoFC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDeviceCommInterface.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IDeviceCommInterface.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IDeviceResponse } from ".";
|
|
2
|
-
import { TerminalAuthBuilder, TerminalManageBuilder } from "../Builders";
|
|
3
|
-
export interface IDeviceInterface {
|
|
4
|
-
ecrId: string;
|
|
5
|
-
lineItem(leftText: string, rightText?: string, runningLeftText?: string, runningRightText?: string): Promise<IDeviceResponse>;
|
|
6
|
-
authorize(amount?: number): TerminalAuthBuilder;
|
|
7
|
-
capture(amount?: number): TerminalManageBuilder;
|
|
8
|
-
refund(amount?: number): TerminalAuthBuilder;
|
|
9
|
-
refundById(amount: number): TerminalManageBuilder;
|
|
10
|
-
sale(amount?: number): TerminalAuthBuilder;
|
|
11
|
-
verify(): TerminalAuthBuilder;
|
|
12
|
-
void(): TerminalManageBuilder;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDeviceInterface.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IDeviceInterface.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDeviceMessage.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IDeviceMessage.ts"],"names":[],"mappings":""}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { ApplicationCryptogramType } from "../../../src";
|
|
3
|
-
export interface IDeviceResponse {
|
|
4
|
-
status: string;
|
|
5
|
-
command: string;
|
|
6
|
-
version: string;
|
|
7
|
-
deviceResponseCode: string;
|
|
8
|
-
deviceResponseText: string;
|
|
9
|
-
referenceNumber: string;
|
|
10
|
-
toString(): string;
|
|
11
|
-
}
|
|
12
|
-
export interface ITerminalResponse extends IDeviceResponse {
|
|
13
|
-
responseCode: string;
|
|
14
|
-
responseText: string;
|
|
15
|
-
transactionId: string;
|
|
16
|
-
terminalRefNumber: string;
|
|
17
|
-
token: string;
|
|
18
|
-
signatureStatus: string;
|
|
19
|
-
signatureData: Buffer;
|
|
20
|
-
transactionType: string;
|
|
21
|
-
maskedCardNumber: string;
|
|
22
|
-
entryMethod: string;
|
|
23
|
-
authorizationCode: string;
|
|
24
|
-
approvalCode: string;
|
|
25
|
-
transactionAmount: number;
|
|
26
|
-
amountDue: number;
|
|
27
|
-
balanceAmount: number;
|
|
28
|
-
cardHolderName: string;
|
|
29
|
-
cardBIN: string;
|
|
30
|
-
cardPresent: boolean;
|
|
31
|
-
expirationDate: string;
|
|
32
|
-
tipAmount?: number;
|
|
33
|
-
cashBackAmount?: number;
|
|
34
|
-
avsResponseCode: string;
|
|
35
|
-
avsResponseText: string;
|
|
36
|
-
cvvResponseCode: string;
|
|
37
|
-
cvvResponseText: string;
|
|
38
|
-
taxExempt: boolean;
|
|
39
|
-
taxExemptId: string;
|
|
40
|
-
ticketNumber: string;
|
|
41
|
-
paymentType: string;
|
|
42
|
-
applicationPreferredName: string;
|
|
43
|
-
applicationLabel: string;
|
|
44
|
-
applicationId: string;
|
|
45
|
-
applicationCryptogramType: ApplicationCryptogramType;
|
|
46
|
-
applicationCryptogram: string;
|
|
47
|
-
cardHolderVerificationMethod: string;
|
|
48
|
-
terminalVerificationResults: string;
|
|
49
|
-
merchantFee?: number;
|
|
50
|
-
}
|
|
51
|
-
export interface ITerminalReport extends IDeviceResponse {
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IDeviceResponse.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IDeviceResponse.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRequestIdProvider.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IRequestIdProvider.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRequestSubGroup.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/IRequestSubGroup.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DeviceType, GatewayConfig } from "../../../src";
|
|
2
|
-
import { ConnectionModes, Parity } from "../Enums";
|
|
3
|
-
import { IRequestIdProvider } from ".";
|
|
4
|
-
export interface ITerminalConfiguration {
|
|
5
|
-
connectionMode: ConnectionModes;
|
|
6
|
-
deviceType: DeviceType;
|
|
7
|
-
requestIdProvider: IRequestIdProvider;
|
|
8
|
-
ipAddress: string;
|
|
9
|
-
port: string;
|
|
10
|
-
parity: Parity;
|
|
11
|
-
timeout: number;
|
|
12
|
-
gatewayConfig: GatewayConfig;
|
|
13
|
-
getGatewayConfig(): GatewayConfig;
|
|
14
|
-
setConfigName(configName: string): void;
|
|
15
|
-
getConfigName(): string;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ITerminalConfiguration.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/ITerminalConfiguration.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./IDeviceCommInterface";
|
|
2
|
-
export * from "./IDeviceInterface";
|
|
3
|
-
export * from "./IDeviceMessage";
|
|
4
|
-
export * from "./IDeviceResponse";
|
|
5
|
-
export * from "./IRequestIdProvider";
|
|
6
|
-
export * from "./IRequestSubGroup";
|
|
7
|
-
export * from "./ITerminalConfiguration";
|
|
@@ -1,24 +0,0 @@
|
|
|
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("./IDeviceCommInterface"), exports);
|
|
18
|
-
__exportStar(require("./IDeviceInterface"), exports);
|
|
19
|
-
__exportStar(require("./IDeviceMessage"), exports);
|
|
20
|
-
__exportStar(require("./IDeviceResponse"), exports);
|
|
21
|
-
__exportStar(require("./IRequestIdProvider"), exports);
|
|
22
|
-
__exportStar(require("./IRequestSubGroup"), exports);
|
|
23
|
-
__exportStar(require("./ITerminalConfiguration"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Terminals/Abstractions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,qDAAmC;AACnC,mDAAiC;AACjC,oDAAkC;AAClC,uDAAqC;AACrC,qDAAmC;AACnC,2DAAyC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Address, CurrencyType, IPaymentMethod, ITerminalResponse, PaymentMethodType, StoredCredentialInitiator, TaxType, TransactionType } from "../../../src";
|
|
2
|
-
import { TerminalBuilder } from "./TerminalBuilder";
|
|
3
|
-
export declare class TerminalAuthBuilder extends TerminalBuilder {
|
|
4
|
-
address: Address;
|
|
5
|
-
allowDuplicates: boolean;
|
|
6
|
-
amount?: number;
|
|
7
|
-
authCode: string;
|
|
8
|
-
cashBackAmount: number;
|
|
9
|
-
currency: CurrencyType;
|
|
10
|
-
customerCode: string;
|
|
11
|
-
gratuity: number;
|
|
12
|
-
invoiceNumber: string;
|
|
13
|
-
poNumber: string;
|
|
14
|
-
requestMultiUseToken: boolean;
|
|
15
|
-
signatureCapture: boolean;
|
|
16
|
-
taxAmount: number;
|
|
17
|
-
taxExempt: string;
|
|
18
|
-
taxExemptId: string;
|
|
19
|
-
transactionId: string;
|
|
20
|
-
shiftId: string;
|
|
21
|
-
taxType: TaxType;
|
|
22
|
-
terminalRefNumber?: string;
|
|
23
|
-
allowPartialAuth: boolean;
|
|
24
|
-
transactionInitiator: StoredCredentialInitiator;
|
|
25
|
-
constructor(transactionType: TransactionType, paymentMethodType?: PaymentMethodType);
|
|
26
|
-
/**
|
|
27
|
-
* @param string configName
|
|
28
|
-
* @return TerminalResponse
|
|
29
|
-
* @throws \GlobalPayments\Api\Entities\Exceptions\ApiException
|
|
30
|
-
*/
|
|
31
|
-
execute(configName?: string): Promise<ITerminalResponse>;
|
|
32
|
-
withAddress(address: Address): this;
|
|
33
|
-
withAllowDuplicates(allowDuplicates: boolean): this;
|
|
34
|
-
withAmount(amount?: number): this;
|
|
35
|
-
withCashBack(amount: number): this;
|
|
36
|
-
withCurrency(value: CurrencyType): this;
|
|
37
|
-
withCustomerCode(customerCode: string): this;
|
|
38
|
-
withGratuity(gratuity: number): this;
|
|
39
|
-
withInvoiceNumber(invoiceNumber: string): this;
|
|
40
|
-
withPoNumber(poNumber: string): this;
|
|
41
|
-
withRequestMultiUseToken(requestMultiUseToken: boolean): this;
|
|
42
|
-
withSignatureCapture(signatureCapture: boolean): this;
|
|
43
|
-
withTaxAmount(taxAmount: number): this;
|
|
44
|
-
withToken(value: string): this;
|
|
45
|
-
/**
|
|
46
|
-
* Previous request's transaction ID
|
|
47
|
-
*
|
|
48
|
-
* @param string transactionId
|
|
49
|
-
* @return this
|
|
50
|
-
*/
|
|
51
|
-
withTransactionId(transactionId: string): this;
|
|
52
|
-
withPaymentMethod(paymentMethod?: IPaymentMethod): this;
|
|
53
|
-
withCardBrandStorage(transactionInitiator: StoredCredentialInitiator): this;
|
|
54
|
-
withEcrId(ecrId: number): this;
|
|
55
|
-
withTerminalRefNumber(terminalRefNumber: string): this;
|
|
56
|
-
protected setupValidations(): void;
|
|
57
|
-
withTaxType(taxType: TaxType, taxExemptId?: string): this;
|
|
58
|
-
withClientTransactionId(clientTransactionId: string): this;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param bool value
|
|
62
|
-
* @return this
|
|
63
|
-
*/
|
|
64
|
-
withAllowPartialAuth(value: boolean): this;
|
|
65
|
-
}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TerminalAuthBuilder = void 0;
|
|
4
|
-
const src_1 = require("../../../src");
|
|
5
|
-
const TerminalBuilder_1 = require("./TerminalBuilder");
|
|
6
|
-
class TerminalAuthBuilder extends TerminalBuilder_1.TerminalBuilder {
|
|
7
|
-
address;
|
|
8
|
-
allowDuplicates;
|
|
9
|
-
amount;
|
|
10
|
-
authCode;
|
|
11
|
-
cashBackAmount;
|
|
12
|
-
currency;
|
|
13
|
-
customerCode;
|
|
14
|
-
gratuity;
|
|
15
|
-
invoiceNumber;
|
|
16
|
-
poNumber;
|
|
17
|
-
requestMultiUseToken;
|
|
18
|
-
signatureCapture;
|
|
19
|
-
taxAmount;
|
|
20
|
-
taxExempt;
|
|
21
|
-
taxExemptId;
|
|
22
|
-
transactionId;
|
|
23
|
-
shiftId;
|
|
24
|
-
taxType;
|
|
25
|
-
terminalRefNumber;
|
|
26
|
-
allowPartialAuth;
|
|
27
|
-
transactionInitiator;
|
|
28
|
-
constructor(transactionType, paymentMethodType) {
|
|
29
|
-
super(transactionType, paymentMethodType);
|
|
30
|
-
this.transactionType = transactionType;
|
|
31
|
-
this.paymentMethodType = paymentMethodType;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @param string configName
|
|
35
|
-
* @return TerminalResponse
|
|
36
|
-
* @throws \GlobalPayments\Api\Entities\Exceptions\ApiException
|
|
37
|
-
*/
|
|
38
|
-
execute(configName = "default") {
|
|
39
|
-
super.execute();
|
|
40
|
-
const client = src_1.ServicesContainer.instance().getDeviceController(configName);
|
|
41
|
-
return client.processTransaction(this);
|
|
42
|
-
}
|
|
43
|
-
withAddress(address) {
|
|
44
|
-
this.address = address;
|
|
45
|
-
return this;
|
|
46
|
-
}
|
|
47
|
-
withAllowDuplicates(allowDuplicates) {
|
|
48
|
-
this.allowDuplicates = allowDuplicates;
|
|
49
|
-
return this;
|
|
50
|
-
}
|
|
51
|
-
withAmount(amount) {
|
|
52
|
-
this.amount = amount;
|
|
53
|
-
return this;
|
|
54
|
-
}
|
|
55
|
-
withCashBack(amount) {
|
|
56
|
-
this.cashBackAmount = amount;
|
|
57
|
-
return this;
|
|
58
|
-
}
|
|
59
|
-
withCurrency(value) {
|
|
60
|
-
this.currency = value;
|
|
61
|
-
return this;
|
|
62
|
-
}
|
|
63
|
-
withCustomerCode(customerCode) {
|
|
64
|
-
this.customerCode = customerCode;
|
|
65
|
-
return this;
|
|
66
|
-
}
|
|
67
|
-
withGratuity(gratuity) {
|
|
68
|
-
this.gratuity = gratuity;
|
|
69
|
-
return this;
|
|
70
|
-
}
|
|
71
|
-
withInvoiceNumber(invoiceNumber) {
|
|
72
|
-
this.invoiceNumber = invoiceNumber;
|
|
73
|
-
return this;
|
|
74
|
-
}
|
|
75
|
-
withPoNumber(poNumber) {
|
|
76
|
-
this.poNumber = poNumber;
|
|
77
|
-
return this;
|
|
78
|
-
}
|
|
79
|
-
withRequestMultiUseToken(requestMultiUseToken) {
|
|
80
|
-
this.requestMultiUseToken = requestMultiUseToken;
|
|
81
|
-
return this;
|
|
82
|
-
}
|
|
83
|
-
withSignatureCapture(signatureCapture) {
|
|
84
|
-
this.signatureCapture = signatureCapture;
|
|
85
|
-
return this;
|
|
86
|
-
}
|
|
87
|
-
withTaxAmount(taxAmount) {
|
|
88
|
-
this.taxAmount = taxAmount;
|
|
89
|
-
return this;
|
|
90
|
-
}
|
|
91
|
-
withToken(value) {
|
|
92
|
-
if (this.paymentMethod == null ||
|
|
93
|
-
!(this.paymentMethod instanceof src_1.CreditCardData)) {
|
|
94
|
-
this.paymentMethod = new src_1.CreditCardData();
|
|
95
|
-
this.paymentMethod.token = value;
|
|
96
|
-
}
|
|
97
|
-
return this;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Previous request's transaction ID
|
|
101
|
-
*
|
|
102
|
-
* @param string transactionId
|
|
103
|
-
* @return this
|
|
104
|
-
*/
|
|
105
|
-
withTransactionId(transactionId) {
|
|
106
|
-
if (transactionId === undefined) {
|
|
107
|
-
return this;
|
|
108
|
-
}
|
|
109
|
-
if (this.paymentMethod instanceof src_1.TransactionReference) {
|
|
110
|
-
this.paymentMethod.transactionId = transactionId;
|
|
111
|
-
return this;
|
|
112
|
-
}
|
|
113
|
-
return this.withPaymentMethod(new src_1.TransactionReference(transactionId));
|
|
114
|
-
}
|
|
115
|
-
withPaymentMethod(paymentMethod) {
|
|
116
|
-
if (paymentMethod !== undefined) {
|
|
117
|
-
this.paymentMethod = paymentMethod;
|
|
118
|
-
}
|
|
119
|
-
return this;
|
|
120
|
-
}
|
|
121
|
-
withCardBrandStorage(transactionInitiator) {
|
|
122
|
-
this.transactionInitiator = transactionInitiator;
|
|
123
|
-
return this;
|
|
124
|
-
}
|
|
125
|
-
withEcrId(ecrId) {
|
|
126
|
-
this.ecrId = ecrId;
|
|
127
|
-
return this;
|
|
128
|
-
}
|
|
129
|
-
withTerminalRefNumber(terminalRefNumber) {
|
|
130
|
-
this.terminalRefNumber = terminalRefNumber;
|
|
131
|
-
return this;
|
|
132
|
-
}
|
|
133
|
-
setupValidations() {
|
|
134
|
-
this.validations
|
|
135
|
-
.of("transactionType", src_1.TransactionType.Auth | src_1.TransactionType.Sale | src_1.TransactionType.Refund)
|
|
136
|
-
.with("transactionModifier", src_1.TransactionModifier.None)
|
|
137
|
-
.check("amount")
|
|
138
|
-
.isNotNull();
|
|
139
|
-
this.validations
|
|
140
|
-
.of("transactionType", src_1.TransactionType.Refund)
|
|
141
|
-
.check("amount")
|
|
142
|
-
.isNotNull();
|
|
143
|
-
this.validations
|
|
144
|
-
.of("transactionType", src_1.TransactionType.Refund)
|
|
145
|
-
.with("paymentMethodType", src_1.PaymentMethodType.Credit)
|
|
146
|
-
.check("transactionId")
|
|
147
|
-
.isNotNull()
|
|
148
|
-
.check("authCode")
|
|
149
|
-
.isNotNull();
|
|
150
|
-
}
|
|
151
|
-
withTaxType(taxType, taxExemptId = "") {
|
|
152
|
-
this.taxType = taxType;
|
|
153
|
-
this.taxExempt = taxType === src_1.TaxType.TaxExempt ? "1" : "0";
|
|
154
|
-
this.taxExemptId = taxExemptId;
|
|
155
|
-
return this;
|
|
156
|
-
}
|
|
157
|
-
withClientTransactionId(clientTransactionId) {
|
|
158
|
-
this.clientTransactionId = clientTransactionId;
|
|
159
|
-
return this;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
*
|
|
163
|
-
* @param bool value
|
|
164
|
-
* @return this
|
|
165
|
-
*/
|
|
166
|
-
withAllowPartialAuth(value) {
|
|
167
|
-
this.allowPartialAuth = value;
|
|
168
|
-
return this;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
exports.TerminalAuthBuilder = TerminalAuthBuilder;
|
|
172
|
-
//# sourceMappingURL=TerminalAuthBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TerminalAuthBuilder.js","sourceRoot":"","sources":["../../../../src/Terminals/Builders/TerminalAuthBuilder.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ITerminalResponse, PaymentMethodType, TransactionBuilder, TransactionType } from "../../../src";
|
|
2
|
-
export declare abstract class TerminalBuilder extends TransactionBuilder<ITerminalResponse> {
|
|
3
|
-
paymentMethodType?: PaymentMethodType;
|
|
4
|
-
referenceNumber: number;
|
|
5
|
-
ecrId: number;
|
|
6
|
-
clerkNumber: string;
|
|
7
|
-
withPaymentMethodType(value: PaymentMethodType): this;
|
|
8
|
-
withReferenceNumber(value: number): this;
|
|
9
|
-
withRequestId(value: number): this;
|
|
10
|
-
withClerkNumber(value: string): this;
|
|
11
|
-
constructor(type: TransactionType, paymentType?: PaymentMethodType);
|
|
12
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TerminalBuilder = void 0;
|
|
4
|
-
const src_1 = require("../../../src");
|
|
5
|
-
class TerminalBuilder extends src_1.TransactionBuilder {
|
|
6
|
-
paymentMethodType;
|
|
7
|
-
referenceNumber;
|
|
8
|
-
ecrId;
|
|
9
|
-
clerkNumber;
|
|
10
|
-
withPaymentMethodType(value) {
|
|
11
|
-
this.paymentMethodType = value;
|
|
12
|
-
return this;
|
|
13
|
-
}
|
|
14
|
-
withReferenceNumber(value) {
|
|
15
|
-
this.referenceNumber = value;
|
|
16
|
-
return this;
|
|
17
|
-
}
|
|
18
|
-
withRequestId(value) {
|
|
19
|
-
this.referenceNumber = value;
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
|
-
withClerkNumber(value) {
|
|
23
|
-
this.clerkNumber = value;
|
|
24
|
-
return this;
|
|
25
|
-
}
|
|
26
|
-
constructor(type, paymentType) {
|
|
27
|
-
super(type);
|
|
28
|
-
this.paymentMethodType = paymentType;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.TerminalBuilder = TerminalBuilder;
|
|
32
|
-
//# sourceMappingURL=TerminalBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TerminalBuilder.js","sourceRoot":"","sources":["../../../../src/Terminals/Builders/TerminalBuilder.ts"],"names":[],"mappings":";;;AAAA,sCAKsB;AAEtB,MAAsB,eAAgB,SAAQ,wBAAqC;IACjF,iBAAiB,CAAqB;IACtC,eAAe,CAAS;IACxB,KAAK,CAAS;IACd,WAAW,CAAS;IAEb,qBAAqB,CAAC,KAAwB;QACnD,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IACM,mBAAmB,CAAC,KAAa;QACtC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IACM,aAAa,CAAC,KAAa;QAChC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IACM,eAAe,CAAC,KAAa;QAClC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,YAAY,IAAqB,EAAE,WAA+B;QAChE,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,iBAAiB,GAAG,WAAW,CAAC;IACvC,CAAC;CACF;AA3BD,0CA2BC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CurrencyType, IPaymentMethod, ITerminalResponse, PaymentMethodType, TransactionType } from "../../../src";
|
|
2
|
-
import { TerminalBuilder } from "./TerminalBuilder";
|
|
3
|
-
export declare class TerminalManageBuilder extends TerminalBuilder {
|
|
4
|
-
amount: number;
|
|
5
|
-
currency: CurrencyType;
|
|
6
|
-
gratuity: number;
|
|
7
|
-
transactionId: string;
|
|
8
|
-
terminalRefNumber?: string;
|
|
9
|
-
constructor(transactionType: TransactionType, paymentMethodType?: PaymentMethodType);
|
|
10
|
-
/**
|
|
11
|
-
* @param string configName
|
|
12
|
-
* @return TerminalResponse
|
|
13
|
-
* @throws \GlobalPayments\Api\Entities\Exceptions\ApiException
|
|
14
|
-
*/
|
|
15
|
-
execute(configName?: string): Promise<ITerminalResponse>;
|
|
16
|
-
withAmount(amount: number): this;
|
|
17
|
-
withCurrency(value: CurrencyType): this;
|
|
18
|
-
withGratuity(gratuity: number): this;
|
|
19
|
-
/**
|
|
20
|
-
* Previous request's transaction ID
|
|
21
|
-
*
|
|
22
|
-
* @param string transactionId
|
|
23
|
-
* @return this
|
|
24
|
-
*/
|
|
25
|
-
withTransactionId(transactionId: string): this;
|
|
26
|
-
withPaymentMethod(paymentMethod?: IPaymentMethod): this;
|
|
27
|
-
withTerminalRefNumber(terminalRefNumber: string): this;
|
|
28
|
-
withClientTransactionId(clientTransactionId: string): this;
|
|
29
|
-
protected setupValidations(): void;
|
|
30
|
-
}
|