globalpayments-api 3.5.1-fix-2 → 3.5.1-fix-4
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/lib/src/Builders/AuthorizationBuilder.d.ts +348 -0
- package/lib/src/Builders/AuthorizationBuilder.js +668 -0
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +16 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +92 -0
- package/lib/src/Builders/BaseBuilder/ValidationClause.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +16 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +36 -0
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js.map +1 -0
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder/Validations.js +55 -0
- package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -0
- package/lib/src/Builders/BaseBuilder.d.ts +11 -0
- package/lib/src/Builders/BaseBuilder.js +17 -0
- package/lib/src/Builders/BaseBuilder.js.map +1 -0
- package/lib/src/Builders/ManagementBuilder.d.ts +122 -0
- package/lib/src/Builders/ManagementBuilder.js +244 -0
- package/lib/src/Builders/ManagementBuilder.js.map +1 -0
- package/lib/src/Builders/PayFacBuilder.d.ts +97 -0
- package/lib/src/Builders/PayFacBuilder.js +233 -0
- package/lib/src/Builders/PayFacBuilder.js.map +1 -0
- package/lib/src/Builders/RecurringBuilder.d.ts +13 -0
- package/lib/src/Builders/RecurringBuilder.js +34 -0
- package/lib/src/Builders/RecurringBuilder.js.map +1 -0
- package/lib/src/Builders/ReportBuilder.d.ts +10 -0
- package/lib/src/Builders/ReportBuilder.js +27 -0
- package/lib/src/Builders/ReportBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js +23 -0
- package/lib/src/Builders/RequestBuilder/GpApi/AccessTokenRequest.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.d.ts +35 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js +448 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.d.ts +7 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +179 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.d.ts +16 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js +34 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiMiCRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +163 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.d.ts +6 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js +49 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiSessionInfo.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.d.ts +4 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js +21 -0
- package/lib/src/Builders/RequestBuilder/GpApi/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.d.ts +18 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js +125 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomAuthorizationRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.d.ts +11 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js +83 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomManagementRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.d.ts +9 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js +66 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/GpEcomRequestBuilder.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/GpEcom/index.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.d.ts +8 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js +39 -0
- package/lib/src/Builders/RequestBuilder/RequestBuilderFactory.js.map +1 -0
- package/lib/src/Builders/RequestBuilder/index.d.ts +3 -0
- package/lib/src/Builders/RequestBuilder/index.js +20 -0
- package/lib/src/Builders/RequestBuilder/index.js.map +1 -0
- package/lib/src/Builders/TransactionBuilder.d.ts +13 -0
- package/lib/src/Builders/TransactionBuilder.js +47 -0
- package/lib/src/Builders/TransactionBuilder.js.map +1 -0
- package/lib/src/Builders/TransactionReportBuilder.d.ts +19 -0
- package/lib/src/Builders/TransactionReportBuilder.js +92 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -0
- package/lib/src/Builders/index.d.ts +8 -0
- package/lib/src/Builders/index.js +25 -0
- package/lib/src/Builders/index.js.map +1 -0
- package/lib/src/ConfiguredServices.d.ts +24 -0
- package/lib/src/ConfiguredServices.js +33 -0
- package/lib/src/ConfiguredServices.js.map +1 -0
- package/lib/src/Entities/Address.d.ts +14 -0
- package/lib/src/Entities/Address.js +23 -0
- package/lib/src/Entities/Address.js.map +1 -0
- package/lib/src/Entities/BatchSummary.d.ts +6 -0
- package/lib/src/Entities/BatchSummary.js +11 -0
- package/lib/src/Entities/BatchSummary.js.map +1 -0
- package/lib/src/Entities/Card.d.ts +36 -0
- package/lib/src/Entities/Card.js +41 -0
- package/lib/src/Entities/Card.js.map +1 -0
- package/lib/src/Entities/CardIssuerResponse.d.ts +22 -0
- package/lib/src/Entities/CardIssuerResponse.js +27 -0
- package/lib/src/Entities/CardIssuerResponse.js.map +1 -0
- package/lib/src/Entities/Customer.d.ts +74 -0
- package/lib/src/Entities/Customer.js +94 -0
- package/lib/src/Entities/Customer.js.map +1 -0
- package/lib/src/Entities/CustomerDocument.d.ts +8 -0
- package/lib/src/Entities/CustomerDocument.js +16 -0
- package/lib/src/Entities/CustomerDocument.js.map +1 -0
- package/lib/src/Entities/DocumentUploadData.d.ts +13 -0
- package/lib/src/Entities/DocumentUploadData.js +81 -0
- package/lib/src/Entities/DocumentUploadData.js.map +1 -0
- package/lib/src/Entities/EcommerceInfo.d.ts +12 -0
- package/lib/src/Entities/EcommerceInfo.js +22 -0
- package/lib/src/Entities/EcommerceInfo.js.map +1 -0
- package/lib/src/Entities/EncryptionData.d.ts +7 -0
- package/lib/src/Entities/EncryptionData.js +16 -0
- package/lib/src/Entities/EncryptionData.js.map +1 -0
- package/lib/src/Entities/Enums/AcquisitionType.d.ts +10 -0
- package/lib/src/Entities/Enums/AcquisitionType.js +15 -0
- package/lib/src/Entities/Enums/AcquisitionType.js.map +1 -0
- package/lib/src/Entities/Enums/CardTypeFilter.d.ts +7 -0
- package/lib/src/Entities/Enums/CardTypeFilter.js +12 -0
- package/lib/src/Entities/Enums/CardTypeFilter.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +669 -0
- package/lib/src/Entities/Enums.js +859 -0
- package/lib/src/Entities/Enums.js.map +1 -0
- package/lib/src/Entities/Errors.d.ts +23 -0
- package/lib/src/Entities/Errors.js +72 -0
- package/lib/src/Entities/Errors.js.map +1 -0
- package/lib/src/Entities/FraudRule.d.ts +8 -0
- package/lib/src/Entities/FraudRule.js +17 -0
- package/lib/src/Entities/FraudRule.js.map +1 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.d.ts +16 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js +21 -0
- package/lib/src/Entities/GpApi/AccessTokenInfo.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/Card.d.ts +16 -0
- package/lib/src/Entities/GpApi/DTO/Card.js +21 -0
- package/lib/src/Entities/GpApi/DTO/Card.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.d.ts +17 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js +21 -0
- package/lib/src/Entities/GpApi/DTO/PaymentMethod.js.map +1 -0
- package/lib/src/Entities/GpApi/DTO/index.d.ts +2 -0
- package/lib/src/Entities/GpApi/DTO/index.js +19 -0
- package/lib/src/Entities/GpApi/DTO/index.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiAccount.d.ts +5 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js +13 -0
- package/lib/src/Entities/GpApi/GpApiAccount.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiRequest.d.ts +21 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js +26 -0
- package/lib/src/Entities/GpApi/GpApiRequest.js.map +1 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.d.ts +52 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js +115 -0
- package/lib/src/Entities/GpApi/GpApiTokenResponse.js.map +1 -0
- package/lib/src/Entities/GpApi/PageResult.d.ts +8 -0
- package/lib/src/Entities/GpApi/PageResult.js +13 -0
- package/lib/src/Entities/GpApi/PageResult.js.map +1 -0
- package/lib/src/Entities/GpApi/index.d.ts +5 -0
- package/lib/src/Entities/GpApi/index.js +22 -0
- package/lib/src/Entities/GpApi/index.js.map +1 -0
- package/lib/src/Entities/HostedPaymentData.d.ts +10 -0
- package/lib/src/Entities/HostedPaymentData.js +17 -0
- package/lib/src/Entities/HostedPaymentData.js.map +1 -0
- package/lib/src/Entities/IRequestBuilder.d.ts +6 -0
- package/lib/src/Entities/IRequestBuilder.js +3 -0
- package/lib/src/Entities/IRequestBuilder.js.map +1 -0
- package/lib/src/Entities/IRequestLogger.d.ts +8 -0
- package/lib/src/Entities/IRequestLogger.js +3 -0
- package/lib/src/Entities/IRequestLogger.js.map +1 -0
- package/lib/src/Entities/LodgingData.d.ts +14 -0
- package/lib/src/Entities/LodgingData.js +18 -0
- package/lib/src/Entities/LodgingData.js.map +1 -0
- package/lib/src/Entities/LodgingItems.d.ts +6 -0
- package/lib/src/Entities/LodgingItems.js +11 -0
- package/lib/src/Entities/LodgingItems.js.map +1 -0
- package/lib/src/Entities/MaskedValueCollection.d.ts +12 -0
- package/lib/src/Entities/MaskedValueCollection.js +53 -0
- package/lib/src/Entities/MaskedValueCollection.js.map +1 -0
- package/lib/src/Entities/PayerDetails.d.ts +8 -0
- package/lib/src/Entities/PayerDetails.js +12 -0
- package/lib/src/Entities/PayerDetails.js.map +1 -0
- package/lib/src/Entities/PhoneNumber.d.ts +6 -0
- package/lib/src/Entities/PhoneNumber.js +15 -0
- package/lib/src/Entities/PhoneNumber.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +7 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +12 -0
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +15 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js +19 -0
- package/lib/src/Entities/ProFac/AccountPermissions.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/BankAccountData.js +42 -0
- package/lib/src/Entities/ProFac/BankAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +8 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +15 -0
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +6 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +12 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +5 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +10 -0
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js.map +1 -0
- package/lib/src/Entities/ProFac/BusinessData.d.ts +15 -0
- package/lib/src/Entities/ProFac/BusinessData.js +50 -0
- package/lib/src/Entities/ProFac/BusinessData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +4 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +17 -0
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceData.d.ts +5 -0
- package/lib/src/Entities/ProFac/DeviceData.js +11 -0
- package/lib/src/Entities/ProFac/DeviceData.js.map +1 -0
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +6 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js +19 -0
- package/lib/src/Entities/ProFac/DeviceInfo.js.map +1 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +7 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +15 -0
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js.map +1 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +8 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +10 -0
- package/lib/src/Entities/ProFac/GrossBillingInformation.js.map +1 -0
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +18 -0
- package/lib/src/Entities/ProFac/OrderDevice.js +23 -0
- package/lib/src/Entities/ProFac/OrderDevice.js.map +1 -0
- package/lib/src/Entities/ProFac/OwnersData.d.ts +12 -0
- package/lib/src/Entities/ProFac/OwnersData.js +43 -0
- package/lib/src/Entities/ProFac/OwnersData.js.map +1 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +55 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js +62 -0
- package/lib/src/Entities/ProFac/PayFacResponseData.js.map +1 -0
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +10 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js +38 -0
- package/lib/src/Entities/ProFac/RenewAccountData.js.map +1 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +8 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +27 -0
- package/lib/src/Entities/ProFac/SignificantOwnerData.js.map +1 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +5 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js +19 -0
- package/lib/src/Entities/ProFac/ThreatRiskData.js.map +1 -0
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +26 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js +82 -0
- package/lib/src/Entities/ProFac/UserPersonalData.js.map +1 -0
- package/lib/src/Entities/RecurringEntity.d.ts +14 -0
- package/lib/src/Entities/RecurringEntity.js +92 -0
- package/lib/src/Entities/RecurringEntity.js.map +1 -0
- package/lib/src/Entities/Reporting/BaseSummary.d.ts +8 -0
- package/lib/src/Entities/Reporting/BaseSummary.js +13 -0
- package/lib/src/Entities/Reporting/BaseSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +108 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +125 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +1 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.d.ts +11 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js +16 -0
- package/lib/src/Entities/Reporting/StoredPaymentMethodSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/index.d.ts +3 -0
- package/lib/src/Entities/Reporting/index.js +20 -0
- package/lib/src/Entities/Reporting/index.js.map +1 -0
- package/lib/src/Entities/Request.d.ts +10 -0
- package/lib/src/Entities/Request.js +18 -0
- package/lib/src/Entities/Request.js.map +1 -0
- package/lib/src/Entities/SSORequestData.d.ts +5 -0
- package/lib/src/Entities/SSORequestData.js +19 -0
- package/lib/src/Entities/SSORequestData.js.map +1 -0
- package/lib/src/Entities/Schedule.d.ts +47 -0
- package/lib/src/Entities/Schedule.js +325 -0
- package/lib/src/Entities/Schedule.js.map +1 -0
- package/lib/src/Entities/ServiceEndpoints.d.ts +12 -0
- package/lib/src/Entities/ServiceEndpoints.js +17 -0
- package/lib/src/Entities/ServiceEndpoints.js.map +1 -0
- package/lib/src/Entities/StoredCredentials.d.ts +9 -0
- package/lib/src/Entities/StoredCredentials.js +13 -0
- package/lib/src/Entities/StoredCredentials.js.map +1 -0
- package/lib/src/Entities/Transaction.d.ts +96 -0
- package/lib/src/Entities/Transaction.js +157 -0
- package/lib/src/Entities/Transaction.js.map +1 -0
- package/lib/src/Entities/TransactionStatus.d.ts +13 -0
- package/lib/src/Entities/TransactionStatus.js +29 -0
- package/lib/src/Entities/TransactionStatus.js.map +1 -0
- package/lib/src/Entities/TransactionSummary.d.ts +78 -0
- package/lib/src/Entities/TransactionSummary.js +83 -0
- package/lib/src/Entities/TransactionSummary.js.map +1 -0
- package/lib/src/Entities/UPA/ProcessIndicator.d.ts +7 -0
- package/lib/src/Entities/UPA/ProcessIndicator.js +11 -0
- package/lib/src/Entities/UPA/ProcessIndicator.js.map +1 -0
- package/lib/src/Entities/UPA/UpaParam.d.ts +10 -0
- package/lib/src/Entities/UPA/UpaParam.js +14 -0
- package/lib/src/Entities/UPA/UpaParam.js.map +1 -0
- package/lib/src/Entities/UPA/UpaTransactionData.d.ts +8 -0
- package/lib/src/Entities/UPA/UpaTransactionData.js +12 -0
- package/lib/src/Entities/UPA/UpaTransactionData.js.map +1 -0
- package/lib/src/Entities/UPA/index.d.ts +3 -0
- package/lib/src/Entities/UPA/index.js +20 -0
- package/lib/src/Entities/UPA/index.js.map +1 -0
- package/lib/src/Entities/index.d.ts +31 -0
- package/lib/src/Entities/index.js +48 -0
- package/lib/src/Entities/index.js.map +1 -0
- package/lib/src/Gateways/Gateway.d.ts +16 -0
- package/lib/src/Gateways/Gateway.js +94 -0
- package/lib/src/Gateways/Gateway.js.map +1 -0
- package/lib/src/Gateways/GatewayResponse.d.ts +8 -0
- package/lib/src/Gateways/GatewayResponse.js +15 -0
- package/lib/src/Gateways/GatewayResponse.js.map +1 -0
- package/lib/src/Gateways/GpApiConnector.d.ts +42 -0
- package/lib/src/Gateways/GpApiConnector.js +232 -0
- package/lib/src/Gateways/GpApiConnector.js.map +1 -0
- package/lib/src/Gateways/GpEcomConnector.d.ts +36 -0
- package/lib/src/Gateways/GpEcomConnector.js +468 -0
- package/lib/src/Gateways/GpEcomConnector.js.map +1 -0
- package/lib/src/Gateways/IPayFacProvider.d.ts +5 -0
- package/lib/src/Gateways/IPayFacProvider.js +3 -0
- package/lib/src/Gateways/IPayFacProvider.js.map +1 -0
- package/lib/src/Gateways/IPaymentGateway.d.ts +8 -0
- package/lib/src/Gateways/IPaymentGateway.js +3 -0
- package/lib/src/Gateways/IPaymentGateway.js.map +1 -0
- package/lib/src/Gateways/IRecurringService.d.ts +6 -0
- package/lib/src/Gateways/IRecurringService.js +3 -0
- package/lib/src/Gateways/IRecurringService.js.map +1 -0
- package/lib/src/Gateways/PayPlanConnector.d.ts +42 -0
- package/lib/src/Gateways/PayPlanConnector.js +545 -0
- package/lib/src/Gateways/PayPlanConnector.js.map +1 -0
- package/lib/src/Gateways/PorticoConnector.d.ts +48 -0
- package/lib/src/Gateways/PorticoConnector.js +1013 -0
- package/lib/src/Gateways/PorticoConnector.js.map +1 -0
- package/lib/src/Gateways/ProPayConnector.d.ts +45 -0
- package/lib/src/Gateways/ProPayConnector.js +801 -0
- package/lib/src/Gateways/ProPayConnector.js.map +1 -0
- package/lib/src/Gateways/RestGateway.d.ts +9 -0
- package/lib/src/Gateways/RestGateway.js +77 -0
- package/lib/src/Gateways/RestGateway.js.map +1 -0
- package/lib/src/Gateways/XmlGateway.d.ts +6 -0
- package/lib/src/Gateways/XmlGateway.js +54 -0
- package/lib/src/Gateways/XmlGateway.js.map +1 -0
- package/lib/src/Gateways/https-wrapper.d.ts +3 -0
- package/lib/src/Gateways/https-wrapper.js +81 -0
- package/lib/src/Gateways/https-wrapper.js.map +1 -0
- package/lib/src/Gateways/index.d.ts +9 -0
- package/lib/src/Gateways/index.js +26 -0
- package/lib/src/Gateways/index.js.map +1 -0
- package/lib/src/HostedPaymentConfig.d.ts +12 -0
- package/lib/src/HostedPaymentConfig.js +16 -0
- package/lib/src/HostedPaymentConfig.js.map +1 -0
- package/lib/src/Mapping/EnumMapping.d.ts +8 -0
- package/lib/src/Mapping/EnumMapping.js +84 -0
- package/lib/src/Mapping/EnumMapping.js.map +1 -0
- package/lib/src/Mapping/GpApiMapping.d.ts +15 -0
- package/lib/src/Mapping/GpApiMapping.js +285 -0
- package/lib/src/Mapping/GpApiMapping.js.map +1 -0
- package/lib/src/Mapping/GpEcomMapping.d.ts +9 -0
- package/lib/src/Mapping/GpEcomMapping.js +85 -0
- package/lib/src/Mapping/GpEcomMapping.js.map +1 -0
- package/lib/src/Mapping/index.d.ts +3 -0
- package/lib/src/Mapping/index.js +20 -0
- package/lib/src/Mapping/index.js.map +1 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.d.ts +22 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js +47 -0
- package/lib/src/PaymentMethods/AlternativePaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/Cash.d.ts +8 -0
- package/lib/src/PaymentMethods/Cash.js +16 -0
- package/lib/src/PaymentMethods/Cash.js.map +1 -0
- package/lib/src/PaymentMethods/Credit.d.ts +109 -0
- package/lib/src/PaymentMethods/Credit.js +161 -0
- package/lib/src/PaymentMethods/Credit.js.map +1 -0
- package/lib/src/PaymentMethods/CreditCardData.d.ts +20 -0
- package/lib/src/PaymentMethods/CreditCardData.js +47 -0
- package/lib/src/PaymentMethods/CreditCardData.js.map +1 -0
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +15 -0
- package/lib/src/PaymentMethods/CreditTrackData.js +36 -0
- package/lib/src/PaymentMethods/CreditTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/Debit.d.ts +48 -0
- package/lib/src/PaymentMethods/Debit.js +64 -0
- package/lib/src/PaymentMethods/Debit.js.map +1 -0
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +9 -0
- package/lib/src/PaymentMethods/DebitTrackData.js +24 -0
- package/lib/src/PaymentMethods/DebitTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/EBT.d.ts +48 -0
- package/lib/src/PaymentMethods/EBT.js +68 -0
- package/lib/src/PaymentMethods/EBT.js.map +1 -0
- package/lib/src/PaymentMethods/EBTCardData.d.ts +16 -0
- package/lib/src/PaymentMethods/EBTCardData.js +25 -0
- package/lib/src/PaymentMethods/EBTCardData.js.map +1 -0
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +8 -0
- package/lib/src/PaymentMethods/EBTTrackData.js +11 -0
- package/lib/src/PaymentMethods/EBTTrackData.js.map +1 -0
- package/lib/src/PaymentMethods/ECheck.d.ts +32 -0
- package/lib/src/PaymentMethods/ECheck.js +38 -0
- package/lib/src/PaymentMethods/ECheck.js.map +1 -0
- package/lib/src/PaymentMethods/GiftCard.d.ts +131 -0
- package/lib/src/PaymentMethods/GiftCard.js +189 -0
- package/lib/src/PaymentMethods/GiftCard.js.map +1 -0
- package/lib/src/PaymentMethods/Interfaces.d.ts +59 -0
- package/lib/src/PaymentMethods/Interfaces.js +3 -0
- package/lib/src/PaymentMethods/Interfaces.js.map +1 -0
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +19 -0
- package/lib/src/PaymentMethods/PaymentMethod.js +57 -0
- package/lib/src/PaymentMethods/PaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +25 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +69 -0
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js.map +1 -0
- package/lib/src/PaymentMethods/TransactionReference.d.ts +10 -0
- package/lib/src/PaymentMethods/TransactionReference.js +17 -0
- package/lib/src/PaymentMethods/TransactionReference.js.map +1 -0
- package/lib/src/PaymentMethods/index.d.ts +17 -0
- package/lib/src/PaymentMethods/index.js +34 -0
- package/lib/src/PaymentMethods/index.js.map +1 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.d.ts +29 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js +43 -0
- package/lib/src/ServiceConfigs/AcceptorConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Configuration.d.ts +15 -0
- package/lib/src/ServiceConfigs/Configuration.js +20 -0
- package/lib/src/ServiceConfigs/Configuration.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.d.ts +14 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js +30 -0
- package/lib/src/ServiceConfigs/Gateways/GatewayConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js +45 -0
- package/lib/src/ServiceConfigs/Gateways/GpApiConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.d.ts +21 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js +51 -0
- package/lib/src/ServiceConfigs/Gateways/GpEcomConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.d.ts +22 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js +117 -0
- package/lib/src/ServiceConfigs/Gateways/PorticoConfig.js.map +1 -0
- package/lib/src/ServiceConfigs/Gateways/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/Gateways/index.js +21 -0
- package/lib/src/ServiceConfigs/Gateways/index.js.map +1 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.d.ts +8 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js +15 -0
- package/lib/src/ServiceConfigs/ServicesConfigs.js.map +1 -0
- package/lib/src/ServiceConfigs/index.d.ts +4 -0
- package/lib/src/ServiceConfigs/index.js +21 -0
- package/lib/src/ServiceConfigs/index.js.map +1 -0
- package/lib/src/Services/BatchService.d.ts +4 -0
- package/lib/src/Services/BatchService.js +15 -0
- package/lib/src/Services/BatchService.js.map +1 -0
- package/lib/src/Services/CheckService.d.ts +7 -0
- package/lib/src/Services/CheckService.js +20 -0
- package/lib/src/Services/CheckService.js.map +1 -0
- package/lib/src/Services/CreditService.d.ts +13 -0
- package/lib/src/Services/CreditService.js +54 -0
- package/lib/src/Services/CreditService.js.map +1 -0
- package/lib/src/Services/DebitService.d.ts +8 -0
- package/lib/src/Services/DebitService.js +28 -0
- package/lib/src/Services/DebitService.js.map +1 -0
- package/lib/src/Services/DeviceService.d.ts +5 -0
- package/lib/src/Services/DeviceService.js +19 -0
- package/lib/src/Services/DeviceService.js.map +1 -0
- package/lib/src/Services/EBTService.d.ts +9 -0
- package/lib/src/Services/EBTService.js +31 -0
- package/lib/src/Services/EBTService.js.map +1 -0
- package/lib/src/Services/GiftService.d.ts +17 -0
- package/lib/src/Services/GiftService.js +54 -0
- package/lib/src/Services/GiftService.js.map +1 -0
- package/lib/src/Services/GpApiServices.d.ts +4 -0
- package/lib/src/Services/GpApiServices.js +44 -0
- package/lib/src/Services/GpApiServices.js.map +1 -0
- package/lib/src/Services/HostedService.d.ts +10 -0
- package/lib/src/Services/HostedService.js +59 -0
- package/lib/src/Services/HostedService.js.map +1 -0
- package/lib/src/Services/PayFacService.d.ts +26 -0
- package/lib/src/Services/PayFacService.js +76 -0
- package/lib/src/Services/PayFacService.js.map +1 -0
- package/lib/src/Services/RecurringService.d.ts +8 -0
- package/lib/src/Services/RecurringService.js +24 -0
- package/lib/src/Services/RecurringService.js.map +1 -0
- package/lib/src/Services/ReportingService.d.ts +10 -0
- package/lib/src/Services/ReportingService.js +34 -0
- package/lib/src/Services/ReportingService.js.map +1 -0
- package/lib/src/Services/index.d.ts +10 -0
- package/lib/src/Services/index.js +27 -0
- package/lib/src/Services/index.js.map +1 -0
- package/lib/src/ServicesContainer.d.ts +19 -0
- package/lib/src/ServicesContainer.js +64 -0
- package/lib/src/ServicesContainer.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.d.ts +6 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceCommInterface.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.d.ts +13 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceInterface.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.d.ts +4 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceMessage.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.d.ts +52 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js +3 -0
- package/lib/src/Terminals/Abstractions/IDeviceResponse.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.d.ts +3 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js +3 -0
- package/lib/src/Terminals/Abstractions/IRequestIdProvider.js.map +1 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.d.ts +3 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js +3 -0
- package/lib/src/Terminals/Abstractions/IRequestSubGroup.js.map +1 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.d.ts +16 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js +3 -0
- package/lib/src/Terminals/Abstractions/ITerminalConfiguration.js.map +1 -0
- package/lib/src/Terminals/Abstractions/index.d.ts +7 -0
- package/lib/src/Terminals/Abstractions/index.js +24 -0
- package/lib/src/Terminals/Abstractions/index.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.d.ts +65 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js +172 -0
- package/lib/src/Terminals/Builders/TerminalAuthBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.d.ts +12 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.js +32 -0
- package/lib/src/Terminals/Builders/TerminalBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.d.ts +30 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js +95 -0
- package/lib/src/Terminals/Builders/TerminalManageBuilder.js.map +1 -0
- package/lib/src/Terminals/Builders/index.d.ts +2 -0
- package/lib/src/Terminals/Builders/index.js +19 -0
- package/lib/src/Terminals/Builders/index.js.map +1 -0
- package/lib/src/Terminals/ConnectionConfig.d.ts +20 -0
- package/lib/src/Terminals/ConnectionConfig.js +49 -0
- package/lib/src/Terminals/ConnectionConfig.js.map +1 -0
- package/lib/src/Terminals/DeviceController.d.ts +23 -0
- package/lib/src/Terminals/DeviceController.js +42 -0
- package/lib/src/Terminals/DeviceController.js.map +1 -0
- package/lib/src/Terminals/DeviceInterface.d.ts +21 -0
- package/lib/src/Terminals/DeviceInterface.js +50 -0
- package/lib/src/Terminals/DeviceInterface.js.map +1 -0
- package/lib/src/Terminals/DeviceMessage.d.ts +15 -0
- package/lib/src/Terminals/DeviceMessage.js +42 -0
- package/lib/src/Terminals/DeviceMessage.js.map +1 -0
- package/lib/src/Terminals/DeviceResponse.d.ts +10 -0
- package/lib/src/Terminals/DeviceResponse.js +16 -0
- package/lib/src/Terminals/DeviceResponse.js.map +1 -0
- package/lib/src/Terminals/Enums/ControlCodes.d.ts +5 -0
- package/lib/src/Terminals/Enums/ControlCodes.js +10 -0
- package/lib/src/Terminals/Enums/ControlCodes.js.map +1 -0
- package/lib/src/Terminals/Enums/index.d.ts +1 -0
- package/lib/src/Terminals/Enums/index.js +18 -0
- package/lib/src/Terminals/Enums/index.js.map +1 -0
- package/lib/src/Terminals/Enums.d.ts +12 -0
- package/lib/src/Terminals/Enums.js +18 -0
- package/lib/src/Terminals/Enums.js.map +1 -0
- package/lib/src/Terminals/SummaryResponse.d.ts +28 -0
- package/lib/src/Terminals/SummaryResponse.js +33 -0
- package/lib/src/Terminals/SummaryResponse.js.map +1 -0
- package/lib/src/Terminals/TerminalResponse.d.ts +42 -0
- package/lib/src/Terminals/TerminalResponse.js +49 -0
- package/lib/src/Terminals/TerminalResponse.js.map +1 -0
- package/lib/src/Terminals/TerminalUtils.d.ts +4 -0
- package/lib/src/Terminals/TerminalUtils.js +24 -0
- package/lib/src/Terminals/TerminalUtils.js.map +1 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.d.ts +20 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js +25 -0
- package/lib/src/Terminals/UPA/Entities/UpaMessageId.js.map +1 -0
- package/lib/src/Terminals/UPA/Entities/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Entities/index.js +18 -0
- package/lib/src/Terminals/UPA/Entities/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.d.ts +12 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js +76 -0
- package/lib/src/Terminals/UPA/Interfaces/UpaMicInterface.js.map +1 -0
- package/lib/src/Terminals/UPA/Interfaces/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Interfaces/index.js +18 -0
- package/lib/src/Terminals/UPA/Interfaces/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.d.ts +53 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js +70 -0
- package/lib/src/Terminals/UPA/Reponses/TransactionResponse.js.map +1 -0
- package/lib/src/Terminals/UPA/Reponses/index.d.ts +1 -0
- package/lib/src/Terminals/UPA/Reponses/index.js +18 -0
- package/lib/src/Terminals/UPA/Reponses/index.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.d.ts +7 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.js +11 -0
- package/lib/src/Terminals/UPA/Request/BaseRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.js +9 -0
- package/lib/src/Terminals/UPA/Request/GroupRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.d.ts +9 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.js +14 -0
- package/lib/src/Terminals/UPA/Request/RequestParams.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.js +9 -0
- package/lib/src/Terminals/UPA/Request/RootRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.d.ts +10 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js +15 -0
- package/lib/src/Terminals/UPA/Request/TransactionRequest.js.map +1 -0
- package/lib/src/Terminals/UPA/Request/index.d.ts +5 -0
- package/lib/src/Terminals/UPA/Request/index.js +22 -0
- package/lib/src/Terminals/UPA/Request/index.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaController.d.ts +16 -0
- package/lib/src/Terminals/UPA/UpaController.js +213 -0
- package/lib/src/Terminals/UPA/UpaController.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaInterface.d.ts +10 -0
- package/lib/src/Terminals/UPA/UpaInterface.js +44 -0
- package/lib/src/Terminals/UPA/UpaInterface.js.map +1 -0
- package/lib/src/Terminals/UPA/UpaMessageType.d.ts +8 -0
- package/lib/src/Terminals/UPA/UpaMessageType.js +13 -0
- package/lib/src/Terminals/UPA/UpaMessageType.js.map +1 -0
- package/lib/src/Terminals/UPA/index.d.ts +7 -0
- package/lib/src/Terminals/UPA/index.js +24 -0
- package/lib/src/Terminals/UPA/index.js.map +1 -0
- package/lib/src/Terminals/index.d.ts +8 -0
- package/lib/src/Terminals/index.js +25 -0
- package/lib/src/Terminals/index.js.map +1 -0
- package/lib/src/Utils/CardUtils.d.ts +13 -0
- package/lib/src/Utils/CardUtils.js +221 -0
- package/lib/src/Utils/CardUtils.js.map +1 -0
- package/lib/src/Utils/GenerationUtils.d.ts +6 -0
- package/lib/src/Utils/GenerationUtils.js +79 -0
- package/lib/src/Utils/GenerationUtils.js.map +1 -0
- package/lib/src/Utils/IRawRequestBuilder.d.ts +3 -0
- package/lib/src/Utils/IRawRequestBuilder.js +3 -0
- package/lib/src/Utils/IRawRequestBuilder.js.map +1 -0
- package/lib/src/Utils/InputValidation.d.ts +12 -0
- package/lib/src/Utils/InputValidation.js +71 -0
- package/lib/src/Utils/InputValidation.js.map +1 -0
- package/lib/src/Utils/Logging/Logger.d.ts +32 -0
- package/lib/src/Utils/Logging/Logger.js +209 -0
- package/lib/src/Utils/Logging/Logger.js.map +1 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.d.ts +11 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.js +23 -0
- package/lib/src/Utils/Logging/ProtectSensitiveData.js.map +1 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.d.ts +12 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.js +38 -0
- package/lib/src/Utils/Logging/SampleRequestLogger.js.map +1 -0
- package/lib/src/Utils/Logging/index.d.ts +3 -0
- package/lib/src/Utils/Logging/index.js +20 -0
- package/lib/src/Utils/Logging/index.js.map +1 -0
- package/lib/src/Utils/Sha1.d.ts +6 -0
- package/lib/src/Utils/Sha1.js +231 -0
- package/lib/src/Utils/Sha1.js.map +1 -0
- package/lib/src/Utils/StringUtils.d.ts +15 -0
- package/lib/src/Utils/StringUtils.js +80 -0
- package/lib/src/Utils/StringUtils.js.map +1 -0
- package/lib/src/Utils/index.d.ts +5 -0
- package/lib/src/Utils/index.js +22 -0
- package/lib/src/Utils/index.js.map +1 -0
- package/lib/src/index.d.ts +13 -0
- package/lib/src/index.js +34 -0
- package/lib/src/index.js.map +1 -0
- package/lib/test/Data/BaseGpApiTestConfig.d.ts +14 -0
- package/lib/test/Data/BaseGpApiTestConfig.js +50 -0
- package/lib/test/Data/BaseGpApiTestConfig.js.map +1 -0
- package/lib/test/Data/TestCards.d.ts +24 -0
- package/lib/test/Data/TestCards.js +220 -0
- package/lib/test/Data/TestCards.js.map +1 -0
- package/lib/test/Data/TestChecks.d.ts +4 -0
- package/lib/test/Data/TestChecks.js +27 -0
- package/lib/test/Data/TestChecks.js.map +1 -0
- package/lib/test/Data/index.d.ts +2 -0
- package/lib/test/Data/index.js +19 -0
- package/lib/test/Data/index.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js +109 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessTokenTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +1023 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js +439 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardPresentTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js +143 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCardTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js +434 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactionsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js +217 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethodsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +337 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js +2446 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AuthTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js +506 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/AvsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js +1296 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js +847 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/HoldTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js +215 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js +99 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/HppTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js +133 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +59 -0
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +378 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +1723 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +86 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +1760 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +420 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +2221 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +392 -0
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +82 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +72 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +111 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +147 -0
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +101 -0
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +50 -0
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js +221 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +39 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +393 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js +44 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js +330 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js +60 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js +80 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTest.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +34 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +322 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js.map +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +4 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +28 -0
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js.map +1 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.d.ts +4 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js +10 -0
- package/lib/test/Integration/Gateways/Terminals/RequestIdProvider.js.map +1 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js +149 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMicTest.js.map +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CheckServiceTest.js +45 -0
- package/lib/test/Integration/Services/CheckServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/CreditServiceTest.js +174 -0
- package/lib/test/Integration/Services/CreditServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/DebitServiceTest.js +81 -0
- package/lib/test/Integration/Services/DebitServiceTest.js.map +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +1 -0
- package/lib/test/Integration/Services/EBTServiceTest.js +64 -0
- package/lib/test/Integration/Services/EBTServiceTest.js.map +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +111 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +62 -0
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js.map +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js +34 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/CreditTest.js.map +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +125 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { CreditCardData } from "../PaymentMethods";
|
|
2
|
+
import { DocumentUploadData } from "../Entities/DocumentUploadData";
|
|
3
|
+
import { AccountPermissions } from "../Entities/ProFac/AccountPermissions";
|
|
4
|
+
import { BankAccountData } from "../Entities/ProFac/BankAccountData";
|
|
5
|
+
import { BankAccountOwnershipData } from "../Entities/ProFac/BankAccountOwnershipData";
|
|
6
|
+
import { BeneficialOwnerData } from "../Entities/ProFac/BeneficialOwnerData";
|
|
7
|
+
import { BusinessData } from "../Entities/ProFac/BusinessData";
|
|
8
|
+
import { DeviceData } from "../Entities/ProFac/DeviceData";
|
|
9
|
+
import { FlashFundsPaymentCardData } from "../Entities/ProFac/FlashFundsPaymentCardData";
|
|
10
|
+
import { GrossBillingInformation } from "../Entities/ProFac/GrossBillingInformation";
|
|
11
|
+
import { RenewAccountData } from "../Entities/ProFac/RenewAccountData";
|
|
12
|
+
import { SignificantOwnerData } from "../Entities/ProFac/SignificantOwnerData";
|
|
13
|
+
import { ThreatRiskData } from "../Entities/ProFac/ThreatRiskData";
|
|
14
|
+
import { UserPersonalData } from "../Entities/ProFac/UserPersonalData";
|
|
15
|
+
import { SSORequestData } from "../Entities/SSORequestData";
|
|
16
|
+
import { Address, BaseBuilder, Transaction, TransactionModifier, TransactionType } from "../";
|
|
17
|
+
import { OrderDevice } from "../Entities/ProFac/OrderDevice";
|
|
18
|
+
export declare class PayFacBuilder extends BaseBuilder<Transaction> {
|
|
19
|
+
protected setupValidations(): void;
|
|
20
|
+
transactionType: TransactionType;
|
|
21
|
+
transactionModifier: TransactionModifier;
|
|
22
|
+
bankAccountData: BankAccountData;
|
|
23
|
+
beneficialOwnerData: BeneficialOwnerData;
|
|
24
|
+
deviceData: DeviceData;
|
|
25
|
+
timeZone: string;
|
|
26
|
+
businessData: BusinessData;
|
|
27
|
+
significantOwnerData: SignificantOwnerData;
|
|
28
|
+
threatRiskData: ThreatRiskData;
|
|
29
|
+
userPersonalData: UserPersonalData;
|
|
30
|
+
creditCardInformation: CreditCardData;
|
|
31
|
+
aCHInformation: BankAccountData;
|
|
32
|
+
mailingAddressInformation: Address;
|
|
33
|
+
secondaryBankInformation: BankAccountData;
|
|
34
|
+
grossBillingInformation: GrossBillingInformation;
|
|
35
|
+
negativeLimit: string;
|
|
36
|
+
renewalAccountData: RenewAccountData;
|
|
37
|
+
accountNumber: string;
|
|
38
|
+
password: string;
|
|
39
|
+
accountPermissions: AccountPermissions;
|
|
40
|
+
primaryBankAccountOwner: BankAccountOwnershipData;
|
|
41
|
+
secondaryBankAccountOwner: BankAccountOwnershipData;
|
|
42
|
+
documentUploadData: DocumentUploadData;
|
|
43
|
+
sSORequestData: SSORequestData;
|
|
44
|
+
amount: string;
|
|
45
|
+
receivingAccountNumber: string;
|
|
46
|
+
allowPending: boolean;
|
|
47
|
+
cCAmount: string;
|
|
48
|
+
requireCCRefund: boolean;
|
|
49
|
+
transNum: string;
|
|
50
|
+
externalID: string;
|
|
51
|
+
sourceEmail: string;
|
|
52
|
+
gatewayTransactionId: string;
|
|
53
|
+
cardBrandTransactionId: string;
|
|
54
|
+
globaltransId: string;
|
|
55
|
+
globalTransSource: string;
|
|
56
|
+
orderDevice: OrderDevice;
|
|
57
|
+
orderDeviceData: DeviceData;
|
|
58
|
+
constructor(type: TransactionType, modifer?: TransactionModifier);
|
|
59
|
+
execute(configName?: string): Promise<Transaction>;
|
|
60
|
+
withBankAccountData(bankAccountData: BankAccountData): this;
|
|
61
|
+
withBeneficialOwnerData(beneficialOwnerData: BeneficialOwnerData): this;
|
|
62
|
+
withDeviceData(deviceData: DeviceData): this;
|
|
63
|
+
withTimeZone(timezone: string): this;
|
|
64
|
+
withBusinessData(businessData: BusinessData): this;
|
|
65
|
+
withSignificantOwnerData(significantOwnerData: SignificantOwnerData): this;
|
|
66
|
+
withThreatRiskData(threatRiskData: ThreatRiskData): this;
|
|
67
|
+
withUserPersonalData(userPersonalData: UserPersonalData): this;
|
|
68
|
+
withCreditCardData(creditCardInformation: CreditCardData): this;
|
|
69
|
+
withACHData(achInformation: BankAccountData): this;
|
|
70
|
+
withMailingAddress(mailingAddressInformation: Address): this;
|
|
71
|
+
withSecondaryBankAccountData(secondaryBankInformation: BankAccountData): this;
|
|
72
|
+
withGrossBillingSettleData(grossBillingInformation: GrossBillingInformation): this;
|
|
73
|
+
withAccountNumber(accountNumber: string): this;
|
|
74
|
+
withPassword(password: string): this;
|
|
75
|
+
withAccountPermissions(accountPermissions: AccountPermissions): this;
|
|
76
|
+
withPrimaryBankAccountOwner(primaryBankAccountOwner: BankAccountOwnershipData): this;
|
|
77
|
+
withSecondaryBankAccountOwner(secondaryBankAccountOwner: BankAccountOwnershipData): this;
|
|
78
|
+
withDocumentUploadData(docUploadData: DocumentUploadData): this;
|
|
79
|
+
withSSORequestData(ssoRequestData: SSORequestData): this;
|
|
80
|
+
withNegativeLimit(negativeLimit: string): this;
|
|
81
|
+
withRenewalAccountData(renewalAccountData: RenewAccountData): this;
|
|
82
|
+
withAmount(amount: string): this;
|
|
83
|
+
withFlashFundsPaymentCardData(cardData: FlashFundsPaymentCardData): this;
|
|
84
|
+
withReceivingAccountNumber(receivingAccountNumber: string): this;
|
|
85
|
+
withAllowPending(allowPending: boolean): this;
|
|
86
|
+
withCCAmount(ccAmount: string): this;
|
|
87
|
+
withRequireCCRefund(requireCCRefund: boolean): this;
|
|
88
|
+
withTransNum(transNum: string): this;
|
|
89
|
+
withGatewayTransactionId(gatewayTransactionId: string): this;
|
|
90
|
+
withCardBrandTransactionId(cardBrandTransactionId: string): this;
|
|
91
|
+
withGlobaltransId(globaltransId: string): this;
|
|
92
|
+
withGlobalTransSource(globalTransSource: string): this;
|
|
93
|
+
withExternalID(externalId: string): this;
|
|
94
|
+
withSourceEmail(sourceEmail: string): this;
|
|
95
|
+
withOrderDevice(orderDevice: OrderDevice): this;
|
|
96
|
+
withOrderDeviceData(orderDeviceData: DeviceData): this;
|
|
97
|
+
}
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PayFacBuilder = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
class PayFacBuilder extends __1.BaseBuilder {
|
|
6
|
+
setupValidations() { }
|
|
7
|
+
transactionType;
|
|
8
|
+
transactionModifier;
|
|
9
|
+
/// <summary>
|
|
10
|
+
/// Primary Bank Account Information - Optional. Used to add a bank account to which funds can be settled
|
|
11
|
+
/// </summary>
|
|
12
|
+
bankAccountData;
|
|
13
|
+
/// <summary>
|
|
14
|
+
/// Merchant Beneficiary Owner Information - Required for all merchants validating KYC based off of personal data
|
|
15
|
+
/// </summary>
|
|
16
|
+
beneficialOwnerData;
|
|
17
|
+
/// <summary>
|
|
18
|
+
/// User for Portico Device Ordering. Must set TimeZone property as well when ordering Portico devices
|
|
19
|
+
/// </summary>
|
|
20
|
+
deviceData;
|
|
21
|
+
/// <summary>
|
|
22
|
+
/// Required for partners ordering Portico devices. Valid values: [ UTC, PT, MST, MT, CT, ET, HST, AT, AST, AKST, ACT, EET, EAT, MET, NET, PLT, IST, BST, VST, CTT, JST, ACT, AET, SST, NST, MIT, CNT, AGT, CAT ]
|
|
23
|
+
/// </summary>
|
|
24
|
+
timeZone;
|
|
25
|
+
/// <summary>
|
|
26
|
+
/// Business Data - Required for business validated accounts. May also be required for personal validated accounts
|
|
27
|
+
/// </summary>
|
|
28
|
+
businessData;
|
|
29
|
+
/// <summary>
|
|
30
|
+
/// Significant Owner Information - May be required for some partners based on ProPay Risk decision
|
|
31
|
+
/// </summary>
|
|
32
|
+
significantOwnerData;
|
|
33
|
+
/// <summary>
|
|
34
|
+
/// Threat Risk Assessment Information - May be required based on ProPay Risk decision
|
|
35
|
+
/// </summary>
|
|
36
|
+
threatRiskData;
|
|
37
|
+
/// <summary>
|
|
38
|
+
/// User/Merchant Personal Data
|
|
39
|
+
/// </summary>
|
|
40
|
+
userPersonalData;
|
|
41
|
+
creditCardInformation;
|
|
42
|
+
aCHInformation;
|
|
43
|
+
mailingAddressInformation;
|
|
44
|
+
secondaryBankInformation;
|
|
45
|
+
grossBillingInformation;
|
|
46
|
+
negativeLimit;
|
|
47
|
+
renewalAccountData;
|
|
48
|
+
accountNumber;
|
|
49
|
+
password;
|
|
50
|
+
accountPermissions;
|
|
51
|
+
primaryBankAccountOwner;
|
|
52
|
+
secondaryBankAccountOwner;
|
|
53
|
+
documentUploadData;
|
|
54
|
+
sSORequestData;
|
|
55
|
+
amount;
|
|
56
|
+
receivingAccountNumber;
|
|
57
|
+
allowPending;
|
|
58
|
+
cCAmount;
|
|
59
|
+
requireCCRefund;
|
|
60
|
+
transNum;
|
|
61
|
+
externalID;
|
|
62
|
+
sourceEmail;
|
|
63
|
+
gatewayTransactionId;
|
|
64
|
+
cardBrandTransactionId;
|
|
65
|
+
globaltransId;
|
|
66
|
+
globalTransSource;
|
|
67
|
+
orderDevice;
|
|
68
|
+
orderDeviceData;
|
|
69
|
+
constructor(type, modifer = __1.TransactionModifier.None) {
|
|
70
|
+
super();
|
|
71
|
+
this.transactionType = type;
|
|
72
|
+
this.transactionModifier = modifer;
|
|
73
|
+
}
|
|
74
|
+
execute(configName = "default") {
|
|
75
|
+
super.execute();
|
|
76
|
+
return __1.ServicesContainer.instance()
|
|
77
|
+
.getXmlClient(configName)
|
|
78
|
+
.processPayFac(this);
|
|
79
|
+
}
|
|
80
|
+
withBankAccountData(bankAccountData) {
|
|
81
|
+
this.bankAccountData = bankAccountData;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
withBeneficialOwnerData(beneficialOwnerData) {
|
|
85
|
+
this.beneficialOwnerData = beneficialOwnerData;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
withDeviceData(deviceData) {
|
|
89
|
+
this.deviceData = deviceData;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
/// <summary>
|
|
93
|
+
/// Required for partners ordering Portico devices. Valid values: [ UTC, PT, MST, MT, CT, ET, HST, AT, AST, AKST, ACT, EET, EAT, MET, NET, PLT, IST, BST, VST, CTT, JST, ACT, AET, SST, NST, MIT, CNT, AGT, CAT ]
|
|
94
|
+
/// </summary>
|
|
95
|
+
withTimeZone(timezone) {
|
|
96
|
+
this.timeZone = timezone;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
withBusinessData(businessData) {
|
|
100
|
+
this.businessData = businessData;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
withSignificantOwnerData(significantOwnerData) {
|
|
104
|
+
this.significantOwnerData = significantOwnerData;
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
withThreatRiskData(threatRiskData) {
|
|
108
|
+
this.threatRiskData = threatRiskData;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
withUserPersonalData(userPersonalData) {
|
|
112
|
+
this.userPersonalData = userPersonalData;
|
|
113
|
+
return this;
|
|
114
|
+
}
|
|
115
|
+
withCreditCardData(creditCardInformation) {
|
|
116
|
+
this.creditCardInformation = creditCardInformation;
|
|
117
|
+
return this;
|
|
118
|
+
}
|
|
119
|
+
withACHData(achInformation) {
|
|
120
|
+
this.aCHInformation = achInformation;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
withMailingAddress(mailingAddressInformation) {
|
|
124
|
+
this.mailingAddressInformation = mailingAddressInformation;
|
|
125
|
+
return this;
|
|
126
|
+
}
|
|
127
|
+
withSecondaryBankAccountData(secondaryBankInformation) {
|
|
128
|
+
this.secondaryBankInformation = secondaryBankInformation;
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
withGrossBillingSettleData(grossBillingInformation) {
|
|
132
|
+
this.grossBillingInformation = grossBillingInformation;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
withAccountNumber(accountNumber) {
|
|
136
|
+
this.accountNumber = accountNumber;
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
139
|
+
withPassword(password) {
|
|
140
|
+
this.password = password;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
withAccountPermissions(accountPermissions) {
|
|
144
|
+
this.accountPermissions = accountPermissions;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
withPrimaryBankAccountOwner(primaryBankAccountOwner) {
|
|
148
|
+
this.primaryBankAccountOwner = primaryBankAccountOwner;
|
|
149
|
+
return this;
|
|
150
|
+
}
|
|
151
|
+
withSecondaryBankAccountOwner(secondaryBankAccountOwner) {
|
|
152
|
+
this.secondaryBankAccountOwner = secondaryBankAccountOwner;
|
|
153
|
+
return this;
|
|
154
|
+
}
|
|
155
|
+
withDocumentUploadData(docUploadData) {
|
|
156
|
+
this.documentUploadData = docUploadData;
|
|
157
|
+
return this;
|
|
158
|
+
}
|
|
159
|
+
withSSORequestData(ssoRequestData) {
|
|
160
|
+
this.sSORequestData = ssoRequestData;
|
|
161
|
+
return this;
|
|
162
|
+
}
|
|
163
|
+
withNegativeLimit(negativeLimit) {
|
|
164
|
+
this.negativeLimit = negativeLimit;
|
|
165
|
+
return this;
|
|
166
|
+
}
|
|
167
|
+
withRenewalAccountData(renewalAccountData) {
|
|
168
|
+
this.renewalAccountData = renewalAccountData;
|
|
169
|
+
return this;
|
|
170
|
+
}
|
|
171
|
+
withAmount(amount) {
|
|
172
|
+
this.amount = amount;
|
|
173
|
+
return this;
|
|
174
|
+
}
|
|
175
|
+
withFlashFundsPaymentCardData(cardData) {
|
|
176
|
+
this.FlashFundsPaymentCardData = cardData;
|
|
177
|
+
return this;
|
|
178
|
+
}
|
|
179
|
+
withReceivingAccountNumber(receivingAccountNumber) {
|
|
180
|
+
this.receivingAccountNumber = receivingAccountNumber;
|
|
181
|
+
return this;
|
|
182
|
+
}
|
|
183
|
+
withAllowPending(allowPending) {
|
|
184
|
+
this.allowPending = allowPending;
|
|
185
|
+
return this;
|
|
186
|
+
}
|
|
187
|
+
withCCAmount(ccAmount) {
|
|
188
|
+
this.cCAmount = ccAmount;
|
|
189
|
+
return this;
|
|
190
|
+
}
|
|
191
|
+
withRequireCCRefund(requireCCRefund) {
|
|
192
|
+
this.requireCCRefund = requireCCRefund;
|
|
193
|
+
return this;
|
|
194
|
+
}
|
|
195
|
+
withTransNum(transNum) {
|
|
196
|
+
this.transNum = transNum;
|
|
197
|
+
return this;
|
|
198
|
+
}
|
|
199
|
+
withGatewayTransactionId(gatewayTransactionId) {
|
|
200
|
+
this.gatewayTransactionId = gatewayTransactionId;
|
|
201
|
+
return this;
|
|
202
|
+
}
|
|
203
|
+
withCardBrandTransactionId(cardBrandTransactionId) {
|
|
204
|
+
this.cardBrandTransactionId = cardBrandTransactionId;
|
|
205
|
+
return this;
|
|
206
|
+
}
|
|
207
|
+
withGlobaltransId(globaltransId) {
|
|
208
|
+
this.globaltransId = globaltransId;
|
|
209
|
+
return this;
|
|
210
|
+
}
|
|
211
|
+
withGlobalTransSource(globalTransSource) {
|
|
212
|
+
this.globalTransSource = globalTransSource;
|
|
213
|
+
return this;
|
|
214
|
+
}
|
|
215
|
+
withExternalID(externalId) {
|
|
216
|
+
this.externalID = externalId;
|
|
217
|
+
return this;
|
|
218
|
+
}
|
|
219
|
+
withSourceEmail(sourceEmail) {
|
|
220
|
+
this.sourceEmail = sourceEmail;
|
|
221
|
+
return this;
|
|
222
|
+
}
|
|
223
|
+
withOrderDevice(orderDevice) {
|
|
224
|
+
this.orderDevice = orderDevice;
|
|
225
|
+
return this;
|
|
226
|
+
}
|
|
227
|
+
withOrderDeviceData(orderDeviceData) {
|
|
228
|
+
this.orderDeviceData = orderDeviceData;
|
|
229
|
+
return this;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
exports.PayFacBuilder = PayFacBuilder;
|
|
233
|
+
//# sourceMappingURL=PayFacBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayFacBuilder.js","sourceRoot":"","sources":["../../../src/Builders/PayFacBuilder.ts"],"names":[],"mappings":";;;AAgBA,2BAOa;AAGb,MAAa,aAAc,SAAQ,eAAwB;IAC/C,gBAAgB,KAAU,CAAC;IAE9B,eAAe,CAAkB;IACjC,mBAAmB,CAAsB;IAEhD,aAAa;IACb,yGAAyG;IACzG,cAAc;IACP,eAAe,CAAkB;IAExC,aAAa;IACb,iHAAiH;IACjH,cAAc;IACP,mBAAmB,CAAsB;IAEhD,aAAa;IACb,sGAAsG;IACtG,cAAc;IACP,UAAU,CAAa;IAE9B,aAAa;IACb,iNAAiN;IACjN,cAAc;IACP,QAAQ,CAAS;IAExB,aAAa;IACb,kHAAkH;IAClH,cAAc;IACP,YAAY,CAAe;IAElC,aAAa;IACb,mGAAmG;IACnG,cAAc;IACP,oBAAoB,CAAuB;IAElD,aAAa;IACb,sFAAsF;IACtF,cAAc;IACP,cAAc,CAAiB;IAEtC,aAAa;IACb,+BAA+B;IAC/B,cAAc;IACP,gBAAgB,CAAmB;IAEnC,qBAAqB,CAAiB;IACtC,cAAc,CAAkB;IAChC,yBAAyB,CAAU;IACnC,wBAAwB,CAAkB;IAC1C,uBAAuB,CAA0B;IACjD,aAAa,CAAS;IACtB,kBAAkB,CAAmB;IACrC,aAAa,CAAS;IACtB,QAAQ,CAAS;IACjB,kBAAkB,CAAqB;IACvC,uBAAuB,CAA2B;IAClD,yBAAyB,CAA2B;IACpD,kBAAkB,CAAqB;IACvC,cAAc,CAAiB;IAC/B,MAAM,CAAS;IACf,sBAAsB,CAAS;IAC/B,YAAY,CAAU;IACtB,QAAQ,CAAS;IACjB,eAAe,CAAU;IACzB,QAAQ,CAAS;IAEjB,UAAU,CAAS;IACnB,WAAW,CAAS;IACpB,oBAAoB,CAAS;IAC7B,sBAAsB,CAAS;IAC/B,aAAa,CAAS;IACtB,iBAAiB,CAAS;IAE1B,WAAW,CAAc;IACzB,eAAe,CAAa;IAEnC,YACE,IAAqB,EACrB,UAA+B,uBAAmB,CAAC,IAAI;QAEvD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,mBAAmB,GAAG,OAAO,CAAC;IACrC,CAAC;IAEM,OAAO,CAAC,aAAqB,SAAS;QAC3C,KAAK,CAAC,OAAO,EAAE,CAAC;QAChB,OAAO,qBAAiB,CAAC,QAAQ,EAAE;aAChC,YAAY,CAAC,UAAU,CAAC;aACxB,aAAa,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;IAEM,mBAAmB,CAAC,eAAgC;QACzD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,uBAAuB,CAAC,mBAAwC;QACrE,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,cAAc,CAAC,UAAsB;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,aAAa;IACb,iNAAiN;IACjN,cAAc;IACP,YAAY,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,gBAAgB,CAAC,YAA0B;QAChD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,wBAAwB,CAAC,oBAA0C;QACxE,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,kBAAkB,CAAC,cAA8B;QACtD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,oBAAoB,CAAC,gBAAkC;QAC5D,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,kBAAkB,CAAC,qBAAqC;QAC7D,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,WAAW,CAAC,cAA+B;QAChD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,kBAAkB,CAAC,yBAAkC;QAC1D,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAC3D,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,4BAA4B,CACjC,wBAAyC;QAEzC,IAAI,CAAC,wBAAwB,GAAG,wBAAwB,CAAC;QACzD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,0BAA0B,CAC/B,uBAAgD;QAEhD,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QACvD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,iBAAiB,CAAC,aAAqB;QAC5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,YAAY,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,sBAAsB,CAAC,kBAAsC;QAClE,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,2BAA2B,CAChC,uBAAiD;QAEjD,IAAI,CAAC,uBAAuB,GAAG,uBAAuB,CAAC;QACvD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,6BAA6B,CAClC,yBAAmD;QAEnD,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAC3D,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,sBAAsB,CAAC,aAAiC;QAC7D,IAAI,CAAC,kBAAkB,GAAG,aAAa,CAAC;QACxC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,kBAAkB,CAAC,cAA8B;QACtD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,iBAAiB,CAAC,aAAqB;QAC5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,sBAAsB,CAAC,kBAAoC;QAChE,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,UAAU,CAAC,MAAc;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,6BAA6B,CAAC,QAAmC;QACtE,IAAI,CAAC,yBAAyB,GAAG,QAAQ,CAAC;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,0BAA0B,CAAC,sBAA8B;QAC9D,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,gBAAgB,CAAC,YAAqB;QAC3C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,YAAY,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,mBAAmB,CAAC,eAAwB;QACjD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,YAAY,CAAC,QAAgB;QAClC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,wBAAwB,CAAC,oBAA4B;QAC1D,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,0BAA0B,CAAC,sBAA8B;QAC9D,IAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,iBAAiB,CAAC,aAAqB;QAC5C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,qBAAqB,CAAC,iBAAyB;QACpD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,cAAc,CAAC,UAAkB;QACtC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,eAAe,CAAC,WAAmB;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,eAAe,CAAC,WAAwB;QAC7C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,mBAAmB,CAAC,eAA2B;QACpD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAhSD,sCAgSC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IRecurringEntity, TransactionType } from "../";
|
|
2
|
+
import { TransactionBuilder } from "./TransactionBuilder";
|
|
3
|
+
import { IDictionary } from "./BaseBuilder";
|
|
4
|
+
export declare class RecurringBuilder<T extends IRecurringEntity> extends TransactionBuilder<T> {
|
|
5
|
+
key: string;
|
|
6
|
+
orderId: string;
|
|
7
|
+
entity: IRecurringEntity | Function;
|
|
8
|
+
searchCriteria: IDictionary<string>;
|
|
9
|
+
constructor(type: TransactionType, entity?: IRecurringEntity | Function);
|
|
10
|
+
addSearchCriteria(key: string, value: string): this;
|
|
11
|
+
execute(configName?: string): Promise<T>;
|
|
12
|
+
setupValidations(): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RecurringBuilder = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
const TransactionBuilder_1 = require("./TransactionBuilder");
|
|
6
|
+
class RecurringBuilder extends TransactionBuilder_1.TransactionBuilder {
|
|
7
|
+
key;
|
|
8
|
+
orderId;
|
|
9
|
+
entity;
|
|
10
|
+
searchCriteria;
|
|
11
|
+
constructor(type, entity) {
|
|
12
|
+
super(type);
|
|
13
|
+
this.searchCriteria = {};
|
|
14
|
+
if (entity) {
|
|
15
|
+
this.entity = entity;
|
|
16
|
+
this.key = entity.key;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
addSearchCriteria(key, value) {
|
|
20
|
+
this.searchCriteria[key] = value;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
execute(configName = "default") {
|
|
24
|
+
super.execute();
|
|
25
|
+
return __1.ServicesContainer.instance()
|
|
26
|
+
.getRecurringClient(configName)
|
|
27
|
+
.processRecurring(this);
|
|
28
|
+
}
|
|
29
|
+
setupValidations() {
|
|
30
|
+
// todo
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.RecurringBuilder = RecurringBuilder;
|
|
34
|
+
//# sourceMappingURL=RecurringBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecurringBuilder.js","sourceRoot":"","sources":["../../../src/Builders/RecurringBuilder.ts"],"names":[],"mappings":";;;AAAA,2BAA2E;AAC3E,6DAA0D;AAG1D,MAAa,gBAEX,SAAQ,uCAAqB;IACtB,GAAG,CAAS;IACZ,OAAO,CAAS;IAChB,MAAM,CAA8B;IACpC,cAAc,CAAsB;IAE3C,YACE,IAAqB,EACrB,MAAoC;QAEpC,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,cAAc,GAAG,EAAE,CAAC;QACzB,IAAI,MAAM,EAAE;YACV,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;YACrB,IAAI,CAAC,GAAG,GAAI,MAAsC,CAAC,GAAG,CAAC;SACxD;IACH,CAAC;IAEM,iBAAiB,CAAC,GAAW,EAAE,KAAa;QACjD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAEM,OAAO,CAAC,aAAqB,SAAS;QAC3C,KAAK,CAAC,OAAO,EAAE,CAAC;QAChB,OAAO,qBAAiB,CAAC,QAAQ,EAAE;aAChC,kBAAkB,CAAC,UAAU,CAAC;aAC9B,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,gBAAgB;QACrB,OAAO;IACT,CAAC;CACF;AAnCD,4CAmCC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReportType, SearchCriteriaBuilder, TimeZoneConversion } from "../";
|
|
2
|
+
import { BaseBuilder } from "./BaseBuilder";
|
|
3
|
+
export declare abstract class ReportBuilder<T> extends BaseBuilder<T> {
|
|
4
|
+
reportType: ReportType;
|
|
5
|
+
timeZoneConversion: TimeZoneConversion;
|
|
6
|
+
searchBuilder: SearchCriteriaBuilder<T>;
|
|
7
|
+
constructor(type: ReportType);
|
|
8
|
+
execute(configName?: string): Promise<T>;
|
|
9
|
+
withPaging(page: number, pageSize: number): this;
|
|
10
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReportBuilder = void 0;
|
|
4
|
+
const __1 = require("../");
|
|
5
|
+
const BaseBuilder_1 = require("./BaseBuilder");
|
|
6
|
+
class ReportBuilder extends BaseBuilder_1.BaseBuilder {
|
|
7
|
+
reportType;
|
|
8
|
+
timeZoneConversion;
|
|
9
|
+
searchBuilder;
|
|
10
|
+
constructor(type) {
|
|
11
|
+
super();
|
|
12
|
+
this.reportType = type;
|
|
13
|
+
}
|
|
14
|
+
execute(configName = "default") {
|
|
15
|
+
super.execute();
|
|
16
|
+
return __1.ServicesContainer.instance()
|
|
17
|
+
.getClient(configName)
|
|
18
|
+
.processReport(this);
|
|
19
|
+
}
|
|
20
|
+
withPaging(page, pageSize) {
|
|
21
|
+
this.page = page;
|
|
22
|
+
this.pageSize = pageSize;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.ReportBuilder = ReportBuilder;
|
|
27
|
+
//# sourceMappingURL=ReportBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/ReportBuilder.ts"],"names":[],"mappings":";;;AAAA,2BAKa;AACb,+CAA4C;AAE5C,MAAsB,aAAiB,SAAQ,yBAAc;IACpD,UAAU,CAAa;IACvB,kBAAkB,CAAqB;IACvC,aAAa,CAA2B;IAE/C,YAAmB,IAAgB;QACjC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;IAEM,OAAO,CAAC,aAAqB,SAAS;QAC3C,KAAK,CAAC,OAAO,EAAE,CAAC;QAChB,OAAO,qBAAiB,CAAC,QAAQ,EAAE;aAChC,SAAS,CAAC,UAAU,CAAC;aACrB,aAAa,CAAI,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,UAAU,CAAC,IAAY,EAAE,QAAgB;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAEzB,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAvBD,sCAuBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IntervalToExpire } from "../../../../src";
|
|
2
|
+
export declare class AccessTokenRequest {
|
|
3
|
+
app_id: string;
|
|
4
|
+
nonce: string;
|
|
5
|
+
secret: string;
|
|
6
|
+
grant_type: string;
|
|
7
|
+
seconds_to_expire: number | undefined;
|
|
8
|
+
interval_to_expire: IntervalToExpire | null | undefined;
|
|
9
|
+
permissions: string[];
|
|
10
|
+
constructor(app_id: string, nonce: string, secret: string, grant_type: string, seconds_to_expire: number, interval_to_expire: IntervalToExpire | null, permissions: string[]);
|
|
11
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessTokenRequest = void 0;
|
|
4
|
+
class AccessTokenRequest {
|
|
5
|
+
app_id;
|
|
6
|
+
nonce;
|
|
7
|
+
secret;
|
|
8
|
+
grant_type;
|
|
9
|
+
seconds_to_expire;
|
|
10
|
+
interval_to_expire;
|
|
11
|
+
permissions;
|
|
12
|
+
constructor(app_id, nonce, secret, grant_type, seconds_to_expire, interval_to_expire, permissions) {
|
|
13
|
+
this.app_id = app_id;
|
|
14
|
+
this.nonce = nonce;
|
|
15
|
+
this.secret = secret;
|
|
16
|
+
this.grant_type = grant_type;
|
|
17
|
+
this.seconds_to_expire = seconds_to_expire || undefined;
|
|
18
|
+
this.interval_to_expire = interval_to_expire || undefined;
|
|
19
|
+
this.permissions = permissions;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.AccessTokenRequest = AccessTokenRequest;
|
|
23
|
+
//# sourceMappingURL=AccessTokenRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccessTokenRequest.js","sourceRoot":"","sources":["../../../../../src/Builders/RequestBuilder/GpApi/AccessTokenRequest.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;IACtB,MAAM,CAAS;IACf,KAAK,CAAS;IACd,MAAM,CAAS;IACf,UAAU,CAAS;IACnB,iBAAiB,CAAqB;IACtC,kBAAkB,CAAsC;IACxD,WAAW,CAAW;IAE7B,YACE,MAAc,EACd,KAAa,EACb,MAAc,EACd,UAAkB,EAClB,iBAAyB,EACzB,kBAA2C,EAC3C,WAAqB;QAErB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,IAAI,SAAS,CAAC;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,IAAI,SAAS,CAAC;QAC1D,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF;AA1BD,gDA0BC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AuthorizationBuilder, BaseBuilder, GpApiConfig, GpApiRequest, IRequestBuilder, Transaction, FraudFilterMode } from "../../../../src";
|
|
2
|
+
type FraudManagement = {
|
|
3
|
+
mode: FraudFilterMode;
|
|
4
|
+
rules?: {
|
|
5
|
+
reference: string;
|
|
6
|
+
mode: FraudFilterMode;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export declare class GpApiAuthorizationRequestBuilder implements IRequestBuilder {
|
|
10
|
+
private builder;
|
|
11
|
+
private maskedValues;
|
|
12
|
+
/***
|
|
13
|
+
* @param AuthorizationBuilder builder
|
|
14
|
+
*
|
|
15
|
+
* @return bool
|
|
16
|
+
*/
|
|
17
|
+
canProcess(builder: BaseBuilder<Transaction>): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @param BaseBuilder builder
|
|
20
|
+
* @param GpApiConfig config
|
|
21
|
+
* @return GpApiRequest|string
|
|
22
|
+
*/
|
|
23
|
+
buildRequest(builder: AuthorizationBuilder, config: GpApiConfig): GpApiRequest;
|
|
24
|
+
private generateVerificationRequest;
|
|
25
|
+
private createPaymentMethodParam;
|
|
26
|
+
private createFromAuthorizationBuilder;
|
|
27
|
+
private setRequestStoredCredentials;
|
|
28
|
+
private setPayerInformation;
|
|
29
|
+
private getPhoneNumber;
|
|
30
|
+
private getEntryMode;
|
|
31
|
+
private getCaptureMode;
|
|
32
|
+
mapFraudManagement(): FraudManagement;
|
|
33
|
+
buildRequestFromJson(jsonRequest: string, config: GpApiConfig): void;
|
|
34
|
+
}
|
|
35
|
+
export {};
|