globalpayments-api 3.5.1-fix-4 → 3.5.1
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/package.json +2 -3
- package/lib/src/Builders/AuthorizationBuilder.d.ts +0 -348
- package/lib/src/Builders/AuthorizationBuilder.js +0 -668
- 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 -122
- package/lib/src/Builders/ManagementBuilder.js +0 -244
- 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 -35
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +0 -448
- 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 -179
- 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 -11
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +0 -163
- 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 -13
- package/lib/src/Builders/TransactionBuilder.js +0 -47
- 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 -92
- 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 -7
- package/lib/src/Entities/EncryptionData.js +0 -16
- 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 -669
- package/lib/src/Entities/Enums.js +0 -859
- 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/LodgingData.d.ts +0 -14
- package/lib/src/Entities/LodgingData.js +0 -18
- package/lib/src/Entities/LodgingData.js.map +0 -1
- package/lib/src/Entities/LodgingItems.d.ts +0 -6
- package/lib/src/Entities/LodgingItems.js +0 -11
- package/lib/src/Entities/LodgingItems.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/BaseSummary.d.ts +0 -8
- package/lib/src/Entities/Reporting/BaseSummary.js +0 -13
- package/lib/src/Entities/Reporting/BaseSummary.js.map +0 -1
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +0 -108
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +0 -125
- 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 -3
- package/lib/src/Entities/Reporting/index.js +0 -20
- 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/StoredCredentials.d.ts +0 -9
- package/lib/src/Entities/StoredCredentials.js +0 -13
- package/lib/src/Entities/StoredCredentials.js.map +0 -1
- package/lib/src/Entities/Transaction.d.ts +0 -96
- package/lib/src/Entities/Transaction.js +0 -157
- 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 -78
- package/lib/src/Entities/TransactionSummary.js +0 -83
- 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 -31
- package/lib/src/Entities/index.js +0 -48
- 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 -15
- package/lib/src/Mapping/GpApiMapping.js +0 -285
- 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 -15
- package/lib/src/PaymentMethods/CreditTrackData.js +0 -36
- package/lib/src/PaymentMethods/CreditTrackData.js.map +0 -1
- package/lib/src/PaymentMethods/Debit.d.ts +0 -48
- package/lib/src/PaymentMethods/Debit.js +0 -64
- package/lib/src/PaymentMethods/Debit.js.map +0 -1
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +0 -9
- package/lib/src/PaymentMethods/DebitTrackData.js +0 -24
- 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 -10
- package/lib/src/Services/ReportingService.js +0 -34
- 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/CardUtils.d.ts +0 -13
- package/lib/src/Utils/CardUtils.js +0 -221
- package/lib/src/Utils/CardUtils.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 -5
- package/lib/src/Utils/index.js +0 -22
- 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 -1023
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +0 -439
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +0 -143
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +0 -434
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.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/GpApiConnector/ReportingTransactionsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +0 -337
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.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,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GpEcomRequestBuilder = void 0;
|
|
4
|
-
const elementtree_1 = require("@azz/elementtree");
|
|
5
|
-
const src_1 = require("../../../../src");
|
|
6
|
-
class GpEcomRequestBuilder {
|
|
7
|
-
buildSupplementaryData(supplementaryData, request) {
|
|
8
|
-
const supplementaryDataElem = (0, elementtree_1.SubElement)(request, "supplementaryData");
|
|
9
|
-
for (const key of Object.keys(supplementaryData)) {
|
|
10
|
-
const item = (0, elementtree_1.SubElement)(supplementaryDataElem, "item", { type: key });
|
|
11
|
-
const items = !Array.isArray(supplementaryData[key])
|
|
12
|
-
? supplementaryData[key].split(" ")
|
|
13
|
-
: supplementaryData[key];
|
|
14
|
-
items.map((itemSplitted, index) => {
|
|
15
|
-
(0, elementtree_1.SubElement)(item, "field" + index).append((0, elementtree_1.CData)(itemSplitted));
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
buildEnvelope(transaction) {
|
|
20
|
-
return new elementtree_1.ElementTree(transaction).write();
|
|
21
|
-
}
|
|
22
|
-
numberFormat(amount) {
|
|
23
|
-
const f = parseFloat(amount.toString()) * 100;
|
|
24
|
-
return parseFloat(f.toFixed(2)).toString();
|
|
25
|
-
}
|
|
26
|
-
generateHash(config, timestamp, orderId, amount, currency, paymentData, verify = false) {
|
|
27
|
-
const data = [timestamp, config.merchantId, orderId];
|
|
28
|
-
if (false === verify) {
|
|
29
|
-
data.push(amount);
|
|
30
|
-
data.push(currency);
|
|
31
|
-
}
|
|
32
|
-
data.push(paymentData);
|
|
33
|
-
return src_1.GenerationUtils.generateHash(data.join("."), config.sharedSecret);
|
|
34
|
-
}
|
|
35
|
-
buildCustomer(customer) {
|
|
36
|
-
const payer = (0, elementtree_1.Element)("payer", {
|
|
37
|
-
ref: customer.key || src_1.StringUtils.uuid(),
|
|
38
|
-
type: "Retail",
|
|
39
|
-
});
|
|
40
|
-
(0, elementtree_1.SubElement)(payer, "title").append((0, elementtree_1.CData)(customer.title));
|
|
41
|
-
(0, elementtree_1.SubElement)(payer, "firstname").append((0, elementtree_1.CData)(customer.firstName));
|
|
42
|
-
(0, elementtree_1.SubElement)(payer, "surname").append((0, elementtree_1.CData)(customer.lastName));
|
|
43
|
-
(0, elementtree_1.SubElement)(payer, "company").append((0, elementtree_1.CData)(customer.company));
|
|
44
|
-
if (customer.address) {
|
|
45
|
-
const address = (0, elementtree_1.SubElement)(payer, "address");
|
|
46
|
-
(0, elementtree_1.SubElement)(address, "line1").append((0, elementtree_1.CData)(customer.address.streetAddress1));
|
|
47
|
-
(0, elementtree_1.SubElement)(address, "line2").append((0, elementtree_1.CData)(customer.address.streetAddress2));
|
|
48
|
-
(0, elementtree_1.SubElement)(address, "line3").append((0, elementtree_1.CData)(customer.address.streetAddress3));
|
|
49
|
-
(0, elementtree_1.SubElement)(address, "city").append((0, elementtree_1.CData)(customer.address.city));
|
|
50
|
-
(0, elementtree_1.SubElement)(address, "county").append((0, elementtree_1.CData)(customer.address.province));
|
|
51
|
-
(0, elementtree_1.SubElement)(address, "postcode").append((0, elementtree_1.CData)(customer.address.postalCode));
|
|
52
|
-
if (customer.address.country) {
|
|
53
|
-
(0, elementtree_1.SubElement)(address, "country", { code: "GB" }).append((0, elementtree_1.CData)(customer.address.country));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
const phone = (0, elementtree_1.SubElement)(payer, "phonenumbers");
|
|
57
|
-
(0, elementtree_1.SubElement)(phone, "home").append((0, elementtree_1.CData)(customer.homePhone));
|
|
58
|
-
(0, elementtree_1.SubElement)(phone, "work").append((0, elementtree_1.CData)(customer.workPhone));
|
|
59
|
-
(0, elementtree_1.SubElement)(phone, "fax").append((0, elementtree_1.CData)(customer.fax));
|
|
60
|
-
(0, elementtree_1.SubElement)(phone, "mobile").append((0, elementtree_1.CData)(customer.mobilePhone));
|
|
61
|
-
(0, elementtree_1.SubElement)(payer, "email").append((0, elementtree_1.CData)(customer.email));
|
|
62
|
-
return payer;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
exports.GpEcomRequestBuilder = GpEcomRequestBuilder;
|
|
66
|
-
//# sourceMappingURL=GpEcomRequestBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GpEcomRequestBuilder.js","sourceRoot":"","sources":["../../../../../src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,20 +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("./GpEcomAuthorizationRequestBuilder"), exports);
|
|
18
|
-
__exportStar(require("./GpEcomManagementRequestBuilder"), exports);
|
|
19
|
-
__exportStar(require("./GpEcomRequestBuilder"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/Builders/RequestBuilder/GpEcom/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,mEAAiD;AACjD,yDAAuC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReportBuilder } from "src";
|
|
2
|
-
import { GatewayProvider, IRequestBuilder, Transaction, TransactionSummary } from "../../Entities/";
|
|
3
|
-
import { BaseBuilder } from "../BaseBuilder";
|
|
4
|
-
export declare class RequestBuilderFactory {
|
|
5
|
-
supplementaryData: Record<string, string | string[]>;
|
|
6
|
-
private static processes;
|
|
7
|
-
getRequestBuilder(builder: BaseBuilder<Transaction> | ReportBuilder<TransactionSummary>, gatewayProvider: GatewayProvider): IRequestBuilder | null;
|
|
8
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RequestBuilderFactory = void 0;
|
|
4
|
-
const _1 = require(".");
|
|
5
|
-
const Entities_1 = require("../../Entities/");
|
|
6
|
-
const GpApiManagementRequestBuilder_1 = require("./GpApi/GpApiManagementRequestBuilder");
|
|
7
|
-
const GpApiMiCRequestBuilder_1 = require("./GpApi/GpApiMiCRequestBuilder");
|
|
8
|
-
const GpEcomAuthorizationRequestBuilder_1 = require("./GpEcom/GpEcomAuthorizationRequestBuilder");
|
|
9
|
-
const GpEcomManagementRequestBuilder_1 = require("./GpEcom/GpEcomManagementRequestBuilder");
|
|
10
|
-
const GpApiReportRequestBuilder_1 = require("./GpApi/GpApiReportRequestBuilder");
|
|
11
|
-
class RequestBuilderFactory {
|
|
12
|
-
supplementaryData;
|
|
13
|
-
static processes = {
|
|
14
|
-
[Entities_1.GatewayProvider.GpApi]: [
|
|
15
|
-
new _1.GpApiAuthorizationRequestBuilder(),
|
|
16
|
-
new GpApiManagementRequestBuilder_1.GpApiManagementRequestBuilder(),
|
|
17
|
-
new GpApiReportRequestBuilder_1.GpApiReportRequestBuilder(),
|
|
18
|
-
new GpApiMiCRequestBuilder_1.GpApiMiCRequestBuilder(),
|
|
19
|
-
],
|
|
20
|
-
[Entities_1.GatewayProvider.GpEcom]: [
|
|
21
|
-
new GpEcomAuthorizationRequestBuilder_1.GpEcomAuthorizationRequestBuilder(),
|
|
22
|
-
new GpEcomManagementRequestBuilder_1.GpEcomManagementRequestBuilder(),
|
|
23
|
-
],
|
|
24
|
-
[Entities_1.GatewayProvider.Portico]: [],
|
|
25
|
-
};
|
|
26
|
-
getRequestBuilder(builder, gatewayProvider) {
|
|
27
|
-
if (!RequestBuilderFactory.processes[gatewayProvider]) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
for (const processName of RequestBuilderFactory.processes[gatewayProvider]) {
|
|
31
|
-
if (processName.canProcess(builder)) {
|
|
32
|
-
return processName;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.RequestBuilderFactory = RequestBuilderFactory;
|
|
39
|
-
//# sourceMappingURL=RequestBuilderFactory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestBuilderFactory.js","sourceRoot":"","sources":["../../../../src/Builders/RequestBuilder/RequestBuilderFactory.ts"],"names":[],"mappings":";;;AACA,wBAAqD;AACrD,8CAKyB;AAEzB,yFAAsF;AACtF,2EAAwE;AACxE,kGAA+F;AAC/F,4FAAyF;AACzF,iFAA8E;AAE9E,MAAa,qBAAqB;IACzB,iBAAiB,CAAoC;IAEpD,MAAM,CAAC,SAAS,GAA+C;QACrE,CAAC,0BAAe,CAAC,KAAK,CAAC,EAAE;YACvB,IAAI,mCAAgC,EAAE;YACtC,IAAI,6DAA6B,EAAE;YACnC,IAAI,qDAAyB,EAAE;YAC/B,IAAI,+CAAsB,EAAE;SAC7B;QACD,CAAC,0BAAe,CAAC,MAAM,CAAC,EAAE;YACxB,IAAI,qEAAiC,EAAE;YACvC,IAAI,+DAA8B,EAAE;SACrC;QACD,CAAC,0BAAe,CAAC,OAAO,CAAC,EAAE,EAAE;KAC9B,CAAC;IAEK,iBAAiB,CACtB,OAAqE,EACrE,eAAgC;QAEhC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,eAAe,CAAC,EAAE;YACrD,OAAO,IAAI,CAAC;SACb;QAED,KAAK,MAAM,WAAW,IAAI,qBAAqB,CAAC,SAAS,CACvD,eAAe,CAChB,EAAE;YACD,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;gBACnC,OAAO,WAAW,CAAC;aACpB;SACF;QAED,OAAO,IAAI,CAAC;IACd,CAAC;;AAlCH,sDAmCC"}
|
|
@@ -1,20 +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("./GpApi"), exports);
|
|
18
|
-
__exportStar(require("./GpEcom"), exports);
|
|
19
|
-
__exportStar(require("./RequestBuilderFactory"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/Builders/RequestBuilder/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,0DAAwC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IPaymentMethod, PaymentMethod, TransactionModifier, TransactionType } from "../";
|
|
2
|
-
import { BaseBuilder } from "./BaseBuilder";
|
|
3
|
-
export declare abstract class TransactionBuilder<T> extends BaseBuilder<T> {
|
|
4
|
-
paymentMethod: PaymentMethod;
|
|
5
|
-
transactionType: TransactionType;
|
|
6
|
-
transactionModifier: TransactionModifier;
|
|
7
|
-
supplementaryData: Record<string, string | string[]>;
|
|
8
|
-
constructor(type: TransactionType, paymentMethod?: IPaymentMethod);
|
|
9
|
-
withModifier(modifier?: TransactionModifier): this;
|
|
10
|
-
withPaymentMethod(paymentMethod?: IPaymentMethod): this;
|
|
11
|
-
withSupplementaryData(key: Record<string, string | string[]> | string, value?: string | string[]): this;
|
|
12
|
-
withAllowDuplicates(allowDuplicates: boolean): this;
|
|
13
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionBuilder = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const BaseBuilder_1 = require("./BaseBuilder");
|
|
6
|
-
class TransactionBuilder extends BaseBuilder_1.BaseBuilder {
|
|
7
|
-
paymentMethod;
|
|
8
|
-
transactionType;
|
|
9
|
-
transactionModifier = __1.TransactionModifier.None;
|
|
10
|
-
supplementaryData = {};
|
|
11
|
-
constructor(type, paymentMethod) {
|
|
12
|
-
super();
|
|
13
|
-
this.transactionType = type;
|
|
14
|
-
if (paymentMethod) {
|
|
15
|
-
this.paymentMethod = paymentMethod;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
withModifier(modifier) {
|
|
19
|
-
if (modifier !== undefined) {
|
|
20
|
-
this.transactionModifier = modifier;
|
|
21
|
-
}
|
|
22
|
-
return this;
|
|
23
|
-
}
|
|
24
|
-
withPaymentMethod(paymentMethod) {
|
|
25
|
-
if (paymentMethod !== undefined) {
|
|
26
|
-
this.paymentMethod = paymentMethod;
|
|
27
|
-
}
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
withSupplementaryData(key, value) {
|
|
31
|
-
if (key instanceof Object) {
|
|
32
|
-
for (const supplementaryDataKey of Object.keys(key)) {
|
|
33
|
-
this.withSupplementaryData(supplementaryDataKey, key[supplementaryDataKey]);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
if (key && typeof key === "string" && !!value) {
|
|
37
|
-
this.supplementaryData[key] = value;
|
|
38
|
-
}
|
|
39
|
-
return this;
|
|
40
|
-
}
|
|
41
|
-
withAllowDuplicates(allowDuplicates) {
|
|
42
|
-
this.allowDupplicates = allowDuplicates;
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
exports.TransactionBuilder = TransactionBuilder;
|
|
47
|
-
//# sourceMappingURL=TransactionBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionBuilder.ts"],"names":[],"mappings":";;;AAAA,2BAKa;AACb,+CAA4C;AAE5C,MAAsB,kBAAsB,SAAQ,yBAAc;IACzD,aAAa,CAAgB;IAC7B,eAAe,CAAkB;IACjC,mBAAmB,GAAG,uBAAmB,CAAC,IAAI,CAAC;IAC/C,iBAAiB,GAAsC,EAAE,CAAC;IAEjE,YAAmB,IAAqB,EAAE,aAA8B;QACtE,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,aAAa,EAAE;YACjB,IAAI,CAAC,aAAa,GAAG,aAA8B,CAAC;SACrD;IACH,CAAC;IAEM,YAAY,CAAC,QAA8B;QAChD,IAAI,QAAQ,KAAK,SAAS,EAAE;YAC1B,IAAI,CAAC,mBAAmB,GAAG,QAAQ,CAAC;SACrC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,iBAAiB,CAAC,aAA8B;QACrD,IAAI,aAAa,KAAK,SAAS,EAAE;YAC/B,IAAI,CAAC,aAAa,GAAG,aAA8B,CAAC;SACrD;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,qBAAqB,CAC1B,GAA+C,EAC/C,KAAyB;QAEzB,IAAI,GAAG,YAAY,MAAM,EAAE;YACzB,KAAK,MAAM,oBAAoB,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;gBACnD,IAAI,CAAC,qBAAqB,CACxB,oBAAoB,EACpB,GAAG,CAAC,oBAAoB,CAAC,CAC1B,CAAC;aACH;SACF;QAED,IAAI,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,CAAC,KAAK,EAAE;YAC7C,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SACrC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,mBAAmB,CAAC,eAAwB;QACjD,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QAExC,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAtDD,gDAsDC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReportType, SearchCriteriaBuilder, SortDirection, StoredPaymentMethodSortProperty, TransactionSortProperty } from "../";
|
|
2
|
-
import { ReportBuilder } from "./ReportBuilder";
|
|
3
|
-
import { IDictionary } from "./BaseBuilder";
|
|
4
|
-
export declare class TransactionReportBuilder<T> extends ReportBuilder<T> {
|
|
5
|
-
deviceId: string;
|
|
6
|
-
endDate: Date;
|
|
7
|
-
startDate: Date;
|
|
8
|
-
transactionId: string;
|
|
9
|
-
searchCriteria: IDictionary<string>;
|
|
10
|
-
constructor(type: ReportType);
|
|
11
|
-
setupValidations(): void;
|
|
12
|
-
withDeviceId(deviceId?: string): this;
|
|
13
|
-
withEndDate(endDate?: Date): this;
|
|
14
|
-
withStartDate(startDate?: Date): this;
|
|
15
|
-
withStoredPaymentMethodId(storedPaymentMethodId?: string): this;
|
|
16
|
-
withTransactionId(transactionId?: string): this;
|
|
17
|
-
where(criteria: string, value: any): SearchCriteriaBuilder<T>;
|
|
18
|
-
orderBy(sortProperty: StoredPaymentMethodSortProperty | TransactionSortProperty, sortDirection?: SortDirection): this;
|
|
19
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactionReportBuilder = void 0;
|
|
4
|
-
const __1 = require("../");
|
|
5
|
-
const ReportBuilder_1 = require("./ReportBuilder");
|
|
6
|
-
class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
7
|
-
deviceId;
|
|
8
|
-
endDate;
|
|
9
|
-
startDate;
|
|
10
|
-
transactionId;
|
|
11
|
-
searchCriteria;
|
|
12
|
-
constructor(type) {
|
|
13
|
-
super(type);
|
|
14
|
-
this.searchBuilder = new __1.SearchCriteriaBuilder(this);
|
|
15
|
-
}
|
|
16
|
-
setupValidations() {
|
|
17
|
-
this.validations
|
|
18
|
-
.of("reportType", __1.ReportType.TransactionDetail)
|
|
19
|
-
.check("transactionId")
|
|
20
|
-
.isNotNull()
|
|
21
|
-
.check("transactionId")
|
|
22
|
-
.isNotEmpty()
|
|
23
|
-
.check("deviceId")
|
|
24
|
-
.isNull()
|
|
25
|
-
.check("startDate")
|
|
26
|
-
.isNull()
|
|
27
|
-
.check("endDate")
|
|
28
|
-
.isNull();
|
|
29
|
-
this.validations
|
|
30
|
-
.of("reportType", __1.ReportType.Activity)
|
|
31
|
-
.check("transactionId")
|
|
32
|
-
.isNull();
|
|
33
|
-
}
|
|
34
|
-
withDeviceId(deviceId) {
|
|
35
|
-
if (deviceId !== undefined) {
|
|
36
|
-
this.deviceId = deviceId;
|
|
37
|
-
}
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
withEndDate(endDate) {
|
|
41
|
-
if (endDate !== undefined) {
|
|
42
|
-
this.endDate = endDate;
|
|
43
|
-
}
|
|
44
|
-
return this;
|
|
45
|
-
}
|
|
46
|
-
withStartDate(startDate) {
|
|
47
|
-
if (startDate !== undefined) {
|
|
48
|
-
this.startDate = startDate;
|
|
49
|
-
}
|
|
50
|
-
return this;
|
|
51
|
-
}
|
|
52
|
-
withStoredPaymentMethodId(storedPaymentMethodId) {
|
|
53
|
-
if (storedPaymentMethodId !== undefined) {
|
|
54
|
-
this.searchBuilder.storedPaymentMethodId = storedPaymentMethodId;
|
|
55
|
-
}
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
withTransactionId(transactionId) {
|
|
59
|
-
if (transactionId !== undefined) {
|
|
60
|
-
this.transactionId = transactionId;
|
|
61
|
-
}
|
|
62
|
-
return this;
|
|
63
|
-
}
|
|
64
|
-
where(criteria, value) {
|
|
65
|
-
if (criteria !== undefined && value !== undefined) {
|
|
66
|
-
if (this.searchCriteria == undefined) {
|
|
67
|
-
this.searchCriteria = {};
|
|
68
|
-
}
|
|
69
|
-
this.searchCriteria[criteria] = value;
|
|
70
|
-
this.searchBuilder.andWith(criteria, value);
|
|
71
|
-
}
|
|
72
|
-
return this.searchBuilder;
|
|
73
|
-
}
|
|
74
|
-
orderBy(sortProperty, sortDirection = __1.SortDirection.Desc) {
|
|
75
|
-
this.order = sortDirection;
|
|
76
|
-
switch (this.reportType) {
|
|
77
|
-
case __1.ReportType.FindStoredPaymentMethodsPaged:
|
|
78
|
-
this.storedPaymentMethodOrderBy = sortProperty;
|
|
79
|
-
break;
|
|
80
|
-
case __1.ReportType.FindTransactions:
|
|
81
|
-
case __1.ReportType.FindTransactionsPaged:
|
|
82
|
-
case __1.ReportType.FindSettlementTransactionsPaged:
|
|
83
|
-
this.transactionOrderBy = sortProperty;
|
|
84
|
-
break;
|
|
85
|
-
default:
|
|
86
|
-
throw new __1.NotImplementedError();
|
|
87
|
-
}
|
|
88
|
-
return this;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
exports.TransactionReportBuilder = TransactionReportBuilder;
|
|
92
|
-
//# sourceMappingURL=TransactionReportBuilder.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionReportBuilder.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from "./BaseBuilder";
|
|
2
|
-
export * from "./AuthorizationBuilder";
|
|
3
|
-
export * from "./ManagementBuilder";
|
|
4
|
-
export * from "./RecurringBuilder";
|
|
5
|
-
export * from "./ReportBuilder";
|
|
6
|
-
export * from "./RequestBuilder";
|
|
7
|
-
export * from "./TransactionBuilder";
|
|
8
|
-
export * from "./TransactionReportBuilder";
|
|
@@ -1,25 +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("./BaseBuilder"), exports);
|
|
18
|
-
__exportStar(require("./AuthorizationBuilder"), exports);
|
|
19
|
-
__exportStar(require("./ManagementBuilder"), exports);
|
|
20
|
-
__exportStar(require("./RecurringBuilder"), exports);
|
|
21
|
-
__exportStar(require("./ReportBuilder"), exports);
|
|
22
|
-
__exportStar(require("./RequestBuilder"), exports);
|
|
23
|
-
__exportStar(require("./TransactionBuilder"), exports);
|
|
24
|
-
__exportStar(require("./TransactionReportBuilder"), exports);
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Builders/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,kDAAgC;AAChC,mDAAiC;AACjC,uDAAqC;AACrC,6DAA2C"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IPaymentGateway, IRecurringService } from "./Gateways";
|
|
2
|
-
import { IPayFacProvider } from "./Gateways/IPayFacProvider";
|
|
3
|
-
import { ReportingService } from "./Services";
|
|
4
|
-
import { IDeviceInterface } from "./Terminals";
|
|
5
|
-
import { DeviceController } from "./Terminals/DeviceController";
|
|
6
|
-
export declare class ConfiguredServices {
|
|
7
|
-
private payFacProvider;
|
|
8
|
-
gatewayConnector: IPaymentGateway;
|
|
9
|
-
recurringConnector: IRecurringService;
|
|
10
|
-
reportingService: ReportingService;
|
|
11
|
-
deviceInterface: IDeviceInterface;
|
|
12
|
-
private _deviceController;
|
|
13
|
-
constructor();
|
|
14
|
-
/**
|
|
15
|
-
* @return void
|
|
16
|
-
*/
|
|
17
|
-
setPayFacProvider(provider: IPayFacProvider): void;
|
|
18
|
-
/**
|
|
19
|
-
* @return IPayFacProvider
|
|
20
|
-
*/
|
|
21
|
-
getPayFacProvider(): IPayFacProvider;
|
|
22
|
-
get deviceController(): DeviceController;
|
|
23
|
-
set deviceController(deviceController: DeviceController);
|
|
24
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConfiguredServices = void 0;
|
|
4
|
-
class ConfiguredServices {
|
|
5
|
-
payFacProvider;
|
|
6
|
-
gatewayConnector;
|
|
7
|
-
recurringConnector;
|
|
8
|
-
reportingService;
|
|
9
|
-
deviceInterface;
|
|
10
|
-
_deviceController;
|
|
11
|
-
constructor() { }
|
|
12
|
-
/**
|
|
13
|
-
* @return void
|
|
14
|
-
*/
|
|
15
|
-
setPayFacProvider(provider) {
|
|
16
|
-
this.payFacProvider = provider;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @return IPayFacProvider
|
|
20
|
-
*/
|
|
21
|
-
getPayFacProvider() {
|
|
22
|
-
return this.payFacProvider || null;
|
|
23
|
-
}
|
|
24
|
-
get deviceController() {
|
|
25
|
-
return this._deviceController;
|
|
26
|
-
}
|
|
27
|
-
set deviceController(deviceController) {
|
|
28
|
-
this._deviceController = deviceController;
|
|
29
|
-
this.deviceInterface = deviceController.configureInterface();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
exports.ConfiguredServices = ConfiguredServices;
|
|
33
|
-
//# sourceMappingURL=ConfiguredServices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfiguredServices.js","sourceRoot":"","sources":["../../src/ConfiguredServices.ts"],"names":[],"mappings":";;;AAMA,MAAa,kBAAkB;IACrB,cAAc,CAAkB;IAEjC,gBAAgB,CAAkB;IAElC,kBAAkB,CAAoB;IAEtC,gBAAgB,CAAmB;IAEnC,eAAe,CAAmB;IAEjC,iBAAiB,CAAmB;IAE5C,gBAAe,CAAC;IAEhB;;OAEG;IACI,iBAAiB,CAAC,QAAyB;QAChD,IAAI,CAAC,cAAc,GAAG,QAAQ,CAAC;IACjC,CAAC;IAED;;OAEG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC;IACrC,CAAC;IAED,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,IAAW,gBAAgB,CAAC,gBAAkC;QAC5D,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;QAC1C,IAAI,CAAC,eAAe,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,CAAC;IAC/D,CAAC;CACF;AArCD,gDAqCC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AddressType } from "../Entities";
|
|
2
|
-
export declare class Address {
|
|
3
|
-
type: AddressType;
|
|
4
|
-
streetAddress1: string;
|
|
5
|
-
streetAddress2: string;
|
|
6
|
-
streetAddress3: string;
|
|
7
|
-
city: string;
|
|
8
|
-
province: string;
|
|
9
|
-
postalCode: string;
|
|
10
|
-
country: string;
|
|
11
|
-
countryCode: string;
|
|
12
|
-
get state(): string;
|
|
13
|
-
set state(value: string);
|
|
14
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Address = void 0;
|
|
4
|
-
class Address {
|
|
5
|
-
// TODO backfill address with missing fields
|
|
6
|
-
type;
|
|
7
|
-
streetAddress1;
|
|
8
|
-
streetAddress2;
|
|
9
|
-
streetAddress3;
|
|
10
|
-
city;
|
|
11
|
-
province;
|
|
12
|
-
postalCode;
|
|
13
|
-
country;
|
|
14
|
-
countryCode;
|
|
15
|
-
get state() {
|
|
16
|
-
return this.province;
|
|
17
|
-
}
|
|
18
|
-
set state(value) {
|
|
19
|
-
this.province = value;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.Address = Address;
|
|
23
|
-
//# sourceMappingURL=Address.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../src/Entities/Address.ts"],"names":[],"mappings":";;;AAEA,MAAa,OAAO;IAClB,4CAA4C;IACrC,IAAI,CAAc;IAClB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,IAAI,CAAS;IACb,QAAQ,CAAS;IACjB,UAAU,CAAS;IACnB,OAAO,CAAS;IAChB,WAAW,CAAS;IAE3B,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,IAAI,KAAK,CAAC,KAAa;QACrB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;IACxB,CAAC;CACF;AAnBD,0BAmBC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchSummary = void 0;
|
|
4
|
-
class BatchSummary {
|
|
5
|
-
id;
|
|
6
|
-
transactionCount;
|
|
7
|
-
totalAmount;
|
|
8
|
-
sequenceNumber;
|
|
9
|
-
}
|
|
10
|
-
exports.BatchSummary = BatchSummary;
|
|
11
|
-
//# sourceMappingURL=BatchSummary.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BatchSummary.js","sourceRoot":"","sources":["../../../src/Entities/BatchSummary.ts"],"names":[],"mappings":";;;AAAA,MAAa,YAAY;IAChB,EAAE,CAAS;IACX,gBAAgB,CAAS;IACzB,WAAW,CAAS;IACpB,cAAc,CAAS;CAC/B;AALD,oCAKC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare class Card {
|
|
2
|
-
cardholderName: string;
|
|
3
|
-
cardNumber: string;
|
|
4
|
-
maskedCardNumber: string;
|
|
5
|
-
cardExpMonth: string;
|
|
6
|
-
cardExpYear: string;
|
|
7
|
-
token: string;
|
|
8
|
-
/**
|
|
9
|
-
* Masked card number with last 4 digits showing.
|
|
10
|
-
*/
|
|
11
|
-
maskedNumberLast4: string;
|
|
12
|
-
/**
|
|
13
|
-
* Indicates the card brand that issued the card.
|
|
14
|
-
*/
|
|
15
|
-
brand: string;
|
|
16
|
-
/**
|
|
17
|
-
* The unique reference created by the brands/schemes to uniquely identify the transaction.
|
|
18
|
-
*/
|
|
19
|
-
brandReference: string;
|
|
20
|
-
/**
|
|
21
|
-
* Contains the first 6 digits of the card
|
|
22
|
-
*/
|
|
23
|
-
bin: string;
|
|
24
|
-
/**
|
|
25
|
-
* The issuing country that the bin is associated with.
|
|
26
|
-
*/
|
|
27
|
-
binCountry: string;
|
|
28
|
-
/**
|
|
29
|
-
* The card provider's description of their card product.
|
|
30
|
-
*/
|
|
31
|
-
accountType: string;
|
|
32
|
-
/**
|
|
33
|
-
* The label of the issuing bank or financial institution of the bin.
|
|
34
|
-
*/
|
|
35
|
-
issuer: string;
|
|
36
|
-
}
|
package/lib/src/Entities/Card.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Card = void 0;
|
|
4
|
-
class Card {
|
|
5
|
-
cardholderName;
|
|
6
|
-
cardNumber;
|
|
7
|
-
maskedCardNumber;
|
|
8
|
-
cardExpMonth;
|
|
9
|
-
cardExpYear;
|
|
10
|
-
token;
|
|
11
|
-
/**
|
|
12
|
-
* Masked card number with last 4 digits showing.
|
|
13
|
-
*/
|
|
14
|
-
maskedNumberLast4;
|
|
15
|
-
/**
|
|
16
|
-
* Indicates the card brand that issued the card.
|
|
17
|
-
*/
|
|
18
|
-
brand;
|
|
19
|
-
/**
|
|
20
|
-
* The unique reference created by the brands/schemes to uniquely identify the transaction.
|
|
21
|
-
*/
|
|
22
|
-
brandReference;
|
|
23
|
-
/**
|
|
24
|
-
* Contains the first 6 digits of the card
|
|
25
|
-
*/
|
|
26
|
-
bin;
|
|
27
|
-
/**
|
|
28
|
-
* The issuing country that the bin is associated with.
|
|
29
|
-
*/
|
|
30
|
-
binCountry;
|
|
31
|
-
/**
|
|
32
|
-
* The card provider's description of their card product.
|
|
33
|
-
*/
|
|
34
|
-
accountType;
|
|
35
|
-
/**
|
|
36
|
-
* The label of the issuing bank or financial institution of the bin.
|
|
37
|
-
*/
|
|
38
|
-
issuer;
|
|
39
|
-
}
|
|
40
|
-
exports.Card = Card;
|
|
41
|
-
//# sourceMappingURL=Card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../src/Entities/Card.ts"],"names":[],"mappings":";;;AAAA,MAAa,IAAI;IACR,cAAc,CAAS;IAEvB,UAAU,CAAS;IAEnB,gBAAgB,CAAS;IAEzB,YAAY,CAAS;IAErB,WAAW,CAAS;IAEpB,KAAK,CAAS;IAErB;;OAEG;IACI,iBAAiB,CAAS;IAEjC;;OAEG;IACI,KAAK,CAAS;IAErB;;OAEG;IACI,cAAc,CAAS;IAE9B;;OAEG;IACI,GAAG,CAAS;IAEnB;;OAEG;IACI,UAAU,CAAS;IAE1B;;OAEG;IACI,WAAW,CAAS;IAE3B;;OAEG;IACI,MAAM,CAAS;CACvB;AA/CD,oBA+CC"}
|