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,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const ava_1 = __importDefault(require("ava"));
|
|
7
|
+
const PayFacService_1 = require("../../../../../src/Services/PayFacService");
|
|
8
|
+
const src_1 = require("../../../../../src");
|
|
9
|
+
const config = new src_1.PorticoConfig();
|
|
10
|
+
config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
|
|
11
|
+
config.certificationStr = "d17d770d4734341aaedab32b7a7763";
|
|
12
|
+
config.terminalId = "7a7763";
|
|
13
|
+
const _service = new PayFacService_1.PayFacService();
|
|
14
|
+
ava_1.default.before(() => {
|
|
15
|
+
src_1.ServicesContainer.configureService(config);
|
|
16
|
+
});
|
|
17
|
+
(0, ava_1.default)("get account info", async (t) => {
|
|
18
|
+
t.plan(2);
|
|
19
|
+
const response = await _service
|
|
20
|
+
.getAccountDetails()
|
|
21
|
+
.withAccountNumber("718570752")
|
|
22
|
+
.execute();
|
|
23
|
+
t.truthy(response);
|
|
24
|
+
t.is("00", response.responseCode);
|
|
25
|
+
});
|
|
26
|
+
(0, ava_1.default)("get account balance", async (t) => {
|
|
27
|
+
t.plan(2);
|
|
28
|
+
const response = await _service
|
|
29
|
+
.getAccountBalance()
|
|
30
|
+
.withAccountNumber("718570752")
|
|
31
|
+
.execute();
|
|
32
|
+
t.truthy(response);
|
|
33
|
+
t.is("00", response.responseCode);
|
|
34
|
+
});
|
|
35
|
+
(0, ava_1.default)("get account info enchance", async (t) => {
|
|
36
|
+
t.plan(2);
|
|
37
|
+
const response = await _service
|
|
38
|
+
.getAccountDetailsEnhanced()
|
|
39
|
+
.withAccountNumber("718570752")
|
|
40
|
+
.execute();
|
|
41
|
+
t.truthy(response);
|
|
42
|
+
t.is("00", response.responseCode);
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=GetInformationCertificationTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetInformationCertificationTest.js","sourceRoot":"","sources":["../../../../../../test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,6EAA0E;AAC1E,4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AAC,CAAC;IACV,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,yBAAyB,EAAE;SAC3B,iBAAiB,CAAC,WAAW,CAAC;SAC9B,OAAO,EAAE,CAAC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const ava_1 = __importDefault(require("ava"));
|
|
7
|
+
const PayFacService_1 = require("../../../../../src/Services/PayFacService");
|
|
8
|
+
const src_1 = require("../../../../../src");
|
|
9
|
+
const TestAccountData_1 = require("./TestData/TestAccountData");
|
|
10
|
+
const BankAccountData_1 = require("../../../../../src/Entities/ProFac/BankAccountData");
|
|
11
|
+
const DocumentUploadData_1 = require("../../../../../src/Entities/DocumentUploadData");
|
|
12
|
+
const SSORequestData_1 = require("../../../../../src/Entities/SSORequestData");
|
|
13
|
+
const config = new src_1.PorticoConfig();
|
|
14
|
+
config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
|
|
15
|
+
config.certificationStr = "d17d770d4734341aaedab32b7a7763";
|
|
16
|
+
config.terminalId = "7a7763";
|
|
17
|
+
config.selfSignedCertLocation =
|
|
18
|
+
"test/Integration/Gateways/ProPayConnector/Certifications/TestData/selfSignedCertificate.crt";
|
|
19
|
+
const _service = new PayFacService_1.PayFacService();
|
|
20
|
+
ava_1.default.before(() => {
|
|
21
|
+
src_1.ServicesContainer.configureService(config);
|
|
22
|
+
});
|
|
23
|
+
(0, ava_1.default)("create account", async (t) => {
|
|
24
|
+
t.plan(5);
|
|
25
|
+
const accountPersonalInfo = TestAccountData_1.TestAccountData.GetUserPersonalData();
|
|
26
|
+
const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
|
|
27
|
+
const response = await _service
|
|
28
|
+
.createAccount()
|
|
29
|
+
.withUserPersonalData(accountPersonalInfo)
|
|
30
|
+
.withBeneficialOwnerData(ownersInfo)
|
|
31
|
+
.execute();
|
|
32
|
+
t.truthy(response);
|
|
33
|
+
t.is("00", response.responseCode);
|
|
34
|
+
t.truthy(response.payFacData.accountNumber);
|
|
35
|
+
t.truthy(response.payFacData.password);
|
|
36
|
+
t.truthy(response.payFacData.sourceEmail);
|
|
37
|
+
});
|
|
38
|
+
(0, ava_1.default)("Order a new device", async (t) => {
|
|
39
|
+
t.plan(2);
|
|
40
|
+
const orderDeviceInfo = TestAccountData_1.TestAccountData.GetOrderNewDeviceData();
|
|
41
|
+
const deviceData = TestAccountData_1.TestAccountData.GetDeviceDataForPhysicalDevice(1, false);
|
|
42
|
+
const response = await _service
|
|
43
|
+
.orderDevice()
|
|
44
|
+
.withOrderDevice(orderDeviceInfo)
|
|
45
|
+
.withDeviceData(deviceData)
|
|
46
|
+
.execute();
|
|
47
|
+
t.truthy(response);
|
|
48
|
+
t.is("00", response.responseCode);
|
|
49
|
+
});
|
|
50
|
+
(0, ava_1.default)("create account Device Order", async (t) => {
|
|
51
|
+
t.plan(5);
|
|
52
|
+
const bankAccountInfo = TestAccountData_1.TestAccountData.GetBankAccountForBoardingData();
|
|
53
|
+
const accountPersonalInfo = TestAccountData_1.TestAccountData.GetUserPersonalForBoadingData();
|
|
54
|
+
const deviceData = TestAccountData_1.TestAccountData.GetDeviceData(1, false);
|
|
55
|
+
const userBusinessInfo = TestAccountData_1.TestAccountData.GetBusinessForBoardingData();
|
|
56
|
+
const mailingAddressInfo = TestAccountData_1.TestAccountData.GetMailingAddressForBoarding();
|
|
57
|
+
const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
|
|
58
|
+
const response = await _service
|
|
59
|
+
.createAccount()
|
|
60
|
+
.withBankAccountData(bankAccountInfo)
|
|
61
|
+
.withUserPersonalData(accountPersonalInfo)
|
|
62
|
+
.withBusinessData(userBusinessInfo)
|
|
63
|
+
.withDeviceData(deviceData)
|
|
64
|
+
.withMailingAddress(mailingAddressInfo)
|
|
65
|
+
.withBeneficialOwnerData(ownersInfo)
|
|
66
|
+
.withTimeZone("UTC")
|
|
67
|
+
.execute();
|
|
68
|
+
t.truthy(response);
|
|
69
|
+
t.is("00", response.responseCode);
|
|
70
|
+
t.truthy(response.payFacData.accountNumber);
|
|
71
|
+
t.truthy(response.payFacData.password);
|
|
72
|
+
t.truthy(response.payFacData.sourceEmail);
|
|
73
|
+
});
|
|
74
|
+
(0, ava_1.default)("create account Physical Device", async (t) => {
|
|
75
|
+
t.plan(5);
|
|
76
|
+
const bankAccountInfo = TestAccountData_1.TestAccountData.GetBankAccountForBoardingData();
|
|
77
|
+
const accountPersonalInfo = TestAccountData_1.TestAccountData.GetUserPersonalForBoadingData();
|
|
78
|
+
const deviceData = TestAccountData_1.TestAccountData.GetDeviceDataForPhysicalDevice(1, false);
|
|
79
|
+
const userBusinessInfo = TestAccountData_1.TestAccountData.GetBusinessForBoardingData();
|
|
80
|
+
const mailingAddressInfo = TestAccountData_1.TestAccountData.GetMailingAddressForBoarding();
|
|
81
|
+
const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
|
|
82
|
+
const response = await _service
|
|
83
|
+
.createAccount()
|
|
84
|
+
.withBankAccountData(bankAccountInfo)
|
|
85
|
+
.withUserPersonalData(accountPersonalInfo)
|
|
86
|
+
.withBusinessData(userBusinessInfo)
|
|
87
|
+
.withDeviceData(deviceData)
|
|
88
|
+
.withMailingAddress(mailingAddressInfo)
|
|
89
|
+
.withBeneficialOwnerData(ownersInfo)
|
|
90
|
+
.withTimeZone("UTC")
|
|
91
|
+
.execute();
|
|
92
|
+
t.truthy(response);
|
|
93
|
+
t.is("00", response.responseCode);
|
|
94
|
+
t.truthy(response.payFacData.accountNumber);
|
|
95
|
+
t.truthy(response.payFacData.password);
|
|
96
|
+
t.truthy(response.payFacData.sourceEmail);
|
|
97
|
+
});
|
|
98
|
+
(0, ava_1.default)("Test Failed KYC (Status 66)", async (t) => {
|
|
99
|
+
t.plan(2);
|
|
100
|
+
const bankAccountInfo = TestAccountData_1.TestAccountData.GetBankAccountForBoardingData();
|
|
101
|
+
const accountPersonalInfo = TestAccountData_1.TestAccountData.GetUserPersonalForBoadingData("01-01-1971");
|
|
102
|
+
const deviceData = TestAccountData_1.TestAccountData.GetDeviceData(1, false);
|
|
103
|
+
const userBusinessInfo = TestAccountData_1.TestAccountData.GetBusinessForBoardingData();
|
|
104
|
+
const mailingAddressInfo = TestAccountData_1.TestAccountData.GetMailingAddressForBoarding();
|
|
105
|
+
const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
|
|
106
|
+
const response = await _service
|
|
107
|
+
.createAccount()
|
|
108
|
+
.withBankAccountData(bankAccountInfo)
|
|
109
|
+
.withUserPersonalData(accountPersonalInfo)
|
|
110
|
+
.withBusinessData(userBusinessInfo)
|
|
111
|
+
.withDeviceData(deviceData)
|
|
112
|
+
.withMailingAddress(mailingAddressInfo)
|
|
113
|
+
.withBeneficialOwnerData(ownersInfo)
|
|
114
|
+
.withTimeZone("UTC")
|
|
115
|
+
.execute();
|
|
116
|
+
console.log(response);
|
|
117
|
+
t.truthy(response);
|
|
118
|
+
t.is("66", response.responseCode);
|
|
119
|
+
});
|
|
120
|
+
(0, ava_1.default)("edit account information", async (t) => {
|
|
121
|
+
t.plan(2);
|
|
122
|
+
const bankAccountData = new BankAccountData_1.BankAccountData();
|
|
123
|
+
bankAccountData.accountCountryCode = "USA";
|
|
124
|
+
bankAccountData.accountType = "Checking";
|
|
125
|
+
bankAccountData.accountNumber = "718570634";
|
|
126
|
+
bankAccountData.bankName = "BankName";
|
|
127
|
+
bankAccountData.routingNumber = "104000058";
|
|
128
|
+
bankAccountData.accountOwnershipType = "Business";
|
|
129
|
+
const response = await _service
|
|
130
|
+
.editAccount()
|
|
131
|
+
.withAccountNumber("718570634")
|
|
132
|
+
.withBankAccountData(bankAccountData)
|
|
133
|
+
.execute();
|
|
134
|
+
t.truthy(response);
|
|
135
|
+
t.is("00", response.responseCode);
|
|
136
|
+
});
|
|
137
|
+
(0, ava_1.default)("reset password", async (t) => {
|
|
138
|
+
const response = await _service
|
|
139
|
+
.resetPassword()
|
|
140
|
+
.withAccountNumber("718570758")
|
|
141
|
+
.execute();
|
|
142
|
+
t.truthy(response);
|
|
143
|
+
});
|
|
144
|
+
(0, ava_1.default)("renew account", async (t) => {
|
|
145
|
+
t.plan(2);
|
|
146
|
+
const response = await _service
|
|
147
|
+
.renewAccount()
|
|
148
|
+
.withRenewalAccountData(TestAccountData_1.TestAccountData.GetRenewAccountDetails())
|
|
149
|
+
.withAccountNumber("718570759")
|
|
150
|
+
.execute();
|
|
151
|
+
t.truthy(response);
|
|
152
|
+
t.is("00", response.responseCode);
|
|
153
|
+
});
|
|
154
|
+
ava_1.default.skip("disown account", async (t) => {
|
|
155
|
+
t.plan(2);
|
|
156
|
+
const response = await _service
|
|
157
|
+
.disownAccount()
|
|
158
|
+
.withAccountNumber("718570772") // The account being "disowned" needs to have another affiliation set. Contact propayimplementations@tsys.com and they will set one if necessary
|
|
159
|
+
.execute();
|
|
160
|
+
t.truthy(response);
|
|
161
|
+
t.is("00", response.responseCode);
|
|
162
|
+
});
|
|
163
|
+
// Note : The transaction number of the chargeback you need to dispute. (can be verify at certification process)
|
|
164
|
+
(0, ava_1.default)("upload document chargeback", async (t) => {
|
|
165
|
+
t.plan(2);
|
|
166
|
+
const docUploadData = new DocumentUploadData_1.DocumentUploadData();
|
|
167
|
+
docUploadData.documentName = "TestDocCB_12345";
|
|
168
|
+
docUploadData.transactionReference = "1";
|
|
169
|
+
docUploadData.documentPath =
|
|
170
|
+
"test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestDocChargeback.docx";
|
|
171
|
+
docUploadData.DocumentPath(docUploadData.documentPath);
|
|
172
|
+
const response = await _service
|
|
173
|
+
.uploadDocumentChargeback()
|
|
174
|
+
.withAccountNumber("718569967") //("718567300")
|
|
175
|
+
.withDocumentUploadData(docUploadData)
|
|
176
|
+
.execute();
|
|
177
|
+
t.truthy(response);
|
|
178
|
+
t.is("00", response.responseCode);
|
|
179
|
+
});
|
|
180
|
+
(0, ava_1.default)("upload document", async (t) => {
|
|
181
|
+
t.plan(2);
|
|
182
|
+
const docUploadData = new DocumentUploadData_1.DocumentUploadData();
|
|
183
|
+
docUploadData.documentName = "TestDoc_12345";
|
|
184
|
+
docUploadData.docCategory = "Verification";
|
|
185
|
+
docUploadData.documentPath =
|
|
186
|
+
"test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestDoc.docx";
|
|
187
|
+
docUploadData.DocumentPath(docUploadData.documentPath);
|
|
188
|
+
const response = await _service
|
|
189
|
+
.uploadDocument()
|
|
190
|
+
.withAccountNumber("718570858")
|
|
191
|
+
.withDocumentUploadData(docUploadData)
|
|
192
|
+
.execute();
|
|
193
|
+
t.truthy(response);
|
|
194
|
+
t.is("00", response.responseCode);
|
|
195
|
+
});
|
|
196
|
+
(0, ava_1.default)("obtain sSO key", async (t) => {
|
|
197
|
+
t.plan(3);
|
|
198
|
+
const ssoRequestData = new SSORequestData_1.SSORequestData();
|
|
199
|
+
ssoRequestData.referrerURL = "https://www.globalpaymentsinc.com/";
|
|
200
|
+
ssoRequestData.iPAddress = "40.81.11.219";
|
|
201
|
+
ssoRequestData.iPSubnetMask = "255.255.255.0";
|
|
202
|
+
const response = await _service
|
|
203
|
+
.obtainSSOKey()
|
|
204
|
+
.withAccountNumber("718570860")
|
|
205
|
+
.withSSORequestData(ssoRequestData)
|
|
206
|
+
.execute();
|
|
207
|
+
t.truthy(response);
|
|
208
|
+
t.is("00", response.responseCode);
|
|
209
|
+
t.truthy(response.payFacData.authToken);
|
|
210
|
+
});
|
|
211
|
+
(0, ava_1.default)("update beneficial data", async (t) => {
|
|
212
|
+
//Owners count shoud not be excedded 6
|
|
213
|
+
const ownersInfo = TestAccountData_1.TestAccountData.GetBeneficialOwnerData();
|
|
214
|
+
const response = await _service
|
|
215
|
+
.updateBeneficialOwnershipInfo()
|
|
216
|
+
.withAccountNumber("718570792")
|
|
217
|
+
.withBeneficialOwnerData(ownersInfo)
|
|
218
|
+
.execute();
|
|
219
|
+
t.truthy(response);
|
|
220
|
+
});
|
|
221
|
+
//# sourceMappingURL=ProPayAccountCertificationTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProPayAccountCertificationTest.js","sourceRoot":"","sources":["../../../../../../test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,6EAA0E;AAC1E,4CAAsE;AAEtE,gEAA6D;AAC7D,wFAAqF;AACrF,uFAAoF;AACpF,+EAA4E;AAE5E,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,CAAC,sBAAsB;IAC3B,6FAA6F,CAAC;AAChG,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,aAAI,CAAC,MAAM,CAAC,GAAG,EAAE;IACf,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,gBAAgB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACjC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,MAAM,mBAAmB,GAAG,iCAAe,CAAC,mBAAmB,EAAE,CAAC;IAClE,MAAM,U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AAQ,CAAC,CAAC;AACrB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const ava_1 = __importDefault(require("ava"));
|
|
7
|
+
const PayFacService_1 = require("../../../../../src/Services/PayFacService");
|
|
8
|
+
const src_1 = require("../../../../../src");
|
|
9
|
+
const TestFundsData_1 = require("../TestData/TestFundsData");
|
|
10
|
+
const config = new src_1.PorticoConfig();
|
|
11
|
+
config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
|
|
12
|
+
config.certificationStr = "d17d770d4734341aaedab32b7a7763";
|
|
13
|
+
config.terminalId = "7a7763";
|
|
14
|
+
config.selfSignedCertLocation =
|
|
15
|
+
"test/Integration/Gateways/ProPayConnector/Certifications/TestData/selfSignedCertificate.crt";
|
|
16
|
+
const _service = new PayFacService_1.PayFacService();
|
|
17
|
+
ava_1.default.before(() => {
|
|
18
|
+
src_1.ServicesContainer.configureService(config);
|
|
19
|
+
});
|
|
20
|
+
(0, ava_1.default)("add funds", async (t) => {
|
|
21
|
+
t.plan(2);
|
|
22
|
+
const response = await _service
|
|
23
|
+
.addFunds()
|
|
24
|
+
.withAccountNumber("718571343") //718571145")
|
|
25
|
+
.withAmount("100")
|
|
26
|
+
.execute();
|
|
27
|
+
t.truthy(response);
|
|
28
|
+
t.is("00", response.responseCode);
|
|
29
|
+
});
|
|
30
|
+
(0, ava_1.default)("sweep funds", async (t) => {
|
|
31
|
+
t.plan(2);
|
|
32
|
+
const response = await _service
|
|
33
|
+
.sweepFunds()
|
|
34
|
+
.withAccountNumber("718571343") //718571146")
|
|
35
|
+
.withAmount("10")
|
|
36
|
+
.execute();
|
|
37
|
+
t.truthy(response);
|
|
38
|
+
t.is("00", response.responseCode);
|
|
39
|
+
});
|
|
40
|
+
ava_1.default.skip("add flash funds payment card", async (t) => {
|
|
41
|
+
t.plan(2);
|
|
42
|
+
const response = await _service
|
|
43
|
+
.addCardFlashFunds()
|
|
44
|
+
.withAccountNumber("718571147")
|
|
45
|
+
.withFlashFundsPaymentCardData(TestFundsData_1.TestFundsData.GetFlashFundsPaymentCardData())
|
|
46
|
+
.execute();
|
|
47
|
+
t.truthy(response);
|
|
48
|
+
t.is("00", response.responseCode);
|
|
49
|
+
});
|
|
50
|
+
ava_1.default.skip("push money to flash funds card", async (t) => {
|
|
51
|
+
t.plan(2);
|
|
52
|
+
const response = await _service
|
|
53
|
+
.pushMoneyToFlashFundsCard()
|
|
54
|
+
.withAccountNumber("718571148")
|
|
55
|
+
.withAmount("100")
|
|
56
|
+
.execute();
|
|
57
|
+
t.truthy(response);
|
|
58
|
+
t.is("00", response.responseCode);
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=ProPayFundCertificationTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProPayFundCertificationTest.js","sourceRoot":"","sources":["../../../../../../test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,6EAA0E;AAC1E,4CAAsE;AACtE,6DAA0D;AAE1D,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,CAAC,sBAAsB;IAC3B,6FAA6F,CAAC;AAChG,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,aAAI,CAA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AC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC;AAEH,aAAI,CAAC,IAAI,CAAC,gCAAgC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACtD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,MAAM,QAAQ,GAAG,MAAM,QAAQ;SAC5B,yBAAyB,EAAE;SAC3B,iBAAiB,CAAC,WAAW,CAAC;SAC9B,UAAU,CAAC,KAAK,CAAC;SACjB,OAAO,EAAE,CAAC;IAEb,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IACnB,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const ava_1 = __importDefault(require("ava"));
|
|
7
|
+
const PayFacService_1 = require("../../../../../src/Services/PayFacService");
|
|
8
|
+
const src_1 = require("../../../../../src/");
|
|
9
|
+
const config = new src_1.PorticoConfig();
|
|
10
|
+
config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
|
|
11
|
+
config.certificationStr = "d17d770d4734341aaedab32b7a7763";
|
|
12
|
+
config.terminalId = "7a7763";
|
|
13
|
+
config.selfSignedCertLocation =
|
|
14
|
+
"test/Integration/Gateways/ProPayConnector/Certifications/TestData/selfSignedCertificate.crt";
|
|
15
|
+
const _service = new PayFacService_1.PayFacService();
|
|
16
|
+
ava_1.default.before(() => {
|
|
17
|
+
src_1.ServicesContainer.configureService(config);
|
|
18
|
+
});
|
|
19
|
+
(0, ava_1.default)("disburse funds", async (t) => {
|
|
20
|
+
t.plan(2);
|
|
21
|
+
config.serviceUrl = "https://xmltest.propay.com/API/PropayAPI.aspx";
|
|
22
|
+
config.certificationStr = "D515DA6DA576475A85AAB5268DE822"; // disburment of fund only
|
|
23
|
+
config.terminalId = "D515DA6DA576475A";
|
|
24
|
+
config.selfSignedCertLocation =
|
|
25
|
+
"test/Integration/Gateways/ProPayConnector/TestData/selfSignedCertificate.crt";
|
|
26
|
+
src_1.ServicesContainer.configureService(config, "second");
|
|
27
|
+
const response = await _service
|
|
28
|
+
.disburseFunds()
|
|
29
|
+
.withReceivingAccountNumber("718570634") //718136438")
|
|
30
|
+
.withAmount("100")
|
|
31
|
+
.execute("second");
|
|
32
|
+
t.truthy(response);
|
|
33
|
+
t.is("00", response.responseCode);
|
|
34
|
+
});
|
|
35
|
+
(0, ava_1.default)("spend back transaction", async (t) => {
|
|
36
|
+
t.plan(2);
|
|
37
|
+
const config = new src_1.PorticoConfig();
|
|
38
|
+
config.certificationStr = "d17d770d4734341aaedab32b7a7763";
|
|
39
|
+
const response = await _service
|
|
40
|
+
.spendBack()
|
|
41
|
+
.withAccountNumber("718570634")
|
|
42
|
+
.withReceivingAccountNumber("718571166")
|
|
43
|
+
.withAmount("100")
|
|
44
|
+
.withAllowPending(true)
|
|
45
|
+
.execute();
|
|
46
|
+
t.truthy(response);
|
|
47
|
+
t.is("00", response.responseCode);
|
|
48
|
+
});
|
|
49
|
+
/* before executing need to run Transaction Type 04 -> and from success response,
|
|
50
|
+
* the transNum value need to use here
|
|
51
|
+
*/
|
|
52
|
+
(0, ava_1.default)("split funds", async (t) => {
|
|
53
|
+
t.plan(2);
|
|
54
|
+
const response = await _service
|
|
55
|
+
.splitFunds()
|
|
56
|
+
.withAccountNumber("718575860")
|
|
57
|
+
.withReceivingAccountNumber("718571150")
|
|
58
|
+
.withAmount("95")
|
|
59
|
+
.withTransNum("15")
|
|
60
|
+
.execute();
|
|
61
|
+
t.truthy(response);
|
|
62
|
+
t.is("00", response.responseCode);
|
|
63
|
+
});
|
|
64
|
+
(0, ava_1.default)("reverse split pay", async (t) => {
|
|
65
|
+
t.plan(5);
|
|
66
|
+
const response = await _service
|
|
67
|
+
.reverseSplitPay()
|
|
68
|
+
.withAccountNumber("718571150")
|
|
69
|
+
.withAmount("1")
|
|
70
|
+
.withCCAmount("0")
|
|
71
|
+
.withRequireCCRefund(false)
|
|
72
|
+
.withTransNum("4")
|
|
73
|
+
.execute();
|
|
74
|
+
t.truthy(response);
|
|
75
|
+
t.is("00", response.responseCode);
|
|
76
|
+
t.truthy(response.payFacData.amount);
|
|
77
|
+
t.truthy(response.payFacData.recAccountNum);
|
|
78
|
+
t.truthy(response.payFacData.transNum);
|
|
79
|
+
});
|
|
80
|
+
//# sourceMappingURL=ProPayInNetworkTransactionCertificationTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProPayInNetworkTransactionCertificationTest.js","sourceRoot":"","sources":["../../../../../../test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTest.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AACvB,6EAA0E;AAC1E,6CAAuE;AAEvE,MAAM,MAAM,GAAG,IAAI,mBAAa,EAAE,CAAC;AACnC,MAAM,CAAC,UAAU,GAAG,+CAA+C,CAAC;AACpE,MAAM,CAAC,gBAAgB,GAAG,gCAAgC,CAAC;AAC3D,MAAM,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC7B,MAAM,CAAC,sBAAsB;IAC3B,6FAA6F,CAAC;AAChG,MAAM,QAAQ,GAAG,IAAI,6BAAa,EAAE,CAAC;AAErC,aAAI,CAAC,MAAM,CAAC,GAAG,EAAE;IACf,uBAAiB,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,E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integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AccountPermissions } from "../../../../../../src/Entities/ProFac/AccountPermissions";
|
|
2
|
+
import { BankAccountData } from "../../../../../../src/Entities/ProFac/BankAccountData";
|
|
3
|
+
import { BeneficialOwnerData } from "../../../../../../src/Entities/ProFac/BeneficialOwnerData";
|
|
4
|
+
import { BusinessData } from "../../../../../../src/Entities/ProFac/BusinessData";
|
|
5
|
+
import { DeviceData } from "../../../../../../src/Entities/ProFac/DeviceData";
|
|
6
|
+
import { GrossBillingInformation } from "../../../../../../src/Entities/ProFac/GrossBillingInformation";
|
|
7
|
+
import { RenewAccountData } from "../../../../../../src/Entities/ProFac/RenewAccountData";
|
|
8
|
+
import { SignificantOwnerData } from "../../../../../../src/Entities/ProFac/SignificantOwnerData";
|
|
9
|
+
import { ThreatRiskData } from "../../../../../../src/Entities/ProFac/ThreatRiskData";
|
|
10
|
+
import { UserPersonalData } from "../../../../../../src/Entities/ProFac/UserPersonalData";
|
|
11
|
+
import { CreditCardData } from "../../../../../../src/PaymentMethods";
|
|
12
|
+
import { Address } from "../../../../../../src/Entities/Address";
|
|
13
|
+
import { OrderDevice } from "../../../../../../src/Entities/ProFac/OrderDevice";
|
|
14
|
+
export declare class TestAccountData {
|
|
15
|
+
static GetBankAccountForBoardingData(): BankAccountData;
|
|
16
|
+
static GetBankAccountData(): BankAccountData;
|
|
17
|
+
static GetBusinessForBoardingData(): BusinessData;
|
|
18
|
+
static GetOrderNewDeviceData(): OrderDevice;
|
|
19
|
+
static GetBusinessData(): BusinessData;
|
|
20
|
+
static GetUserPersonalForBoadingData(dob?: string): UserPersonalData;
|
|
21
|
+
static GetUserPersonalData(): UserPersonalData;
|
|
22
|
+
static GetUserPersonalDeviceOrderTestData(): UserPersonalData;
|
|
23
|
+
static GetThreatRiskData(): ThreatRiskData;
|
|
24
|
+
static GetSignificantOwnerData(): SignificantOwnerData;
|
|
25
|
+
static GetBeneficialOwnerData(): BeneficialOwnerData;
|
|
26
|
+
static GetCreditCardData(): CreditCardData;
|
|
27
|
+
static GetACHData(): BankAccountData;
|
|
28
|
+
static GetMailingAddressForBoarding(): Address;
|
|
29
|
+
static GetMailingAddress(): Address;
|
|
30
|
+
static GetSecondaryBankAccountData(): BankAccountData;
|
|
31
|
+
static GetGrossBillingSettleData(): GrossBillingInformation;
|
|
32
|
+
static GetAccountPermissions(): AccountPermissions;
|
|
33
|
+
static GetRenewAccountDetails(): RenewAccountData;
|
|
34
|
+
static GetDeviceDataForPhysicalDevice(numDeviceTypes?: number, withAttributes?: boolean): DeviceData;
|
|
35
|
+
static GetDeviceData(numDeviceTypes?: number, withAttributes?: boolean): DeviceData;
|
|
36
|
+
static GetDocumentBase64String(filepath: string): string;
|
|
37
|
+
private static getByteArray;
|
|
38
|
+
static getRandomInt(min: number, max: number): number;
|
|
39
|
+
}
|