globalpayments-api 1.4.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -3
- package/package.json +3 -4
- package/lib/src/Builders/AuthorizationBuilder.d.ts +0 -325
- package/lib/src/Builders/AuthorizationBuilder.js +0 -599
- package/lib/src/Builders/BaseBuilder/ValidationClause.d.ts +0 -14
- package/lib/src/Builders/BaseBuilder/ValidationClause.js +0 -61
- package/lib/src/Builders/BaseBuilder/ValidationTarget.d.ts +0 -16
- package/lib/src/Builders/BaseBuilder/ValidationTarget.js +0 -28
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder/Validations.js +0 -56
- package/lib/src/Builders/BaseBuilder.d.ts +0 -11
- package/lib/src/Builders/BaseBuilder.js +0 -16
- package/lib/src/Builders/ManagementBuilder.d.ts +0 -103
- package/lib/src/Builders/ManagementBuilder.js +0 -227
- package/lib/src/Builders/PayFacBuilder.d.ts +0 -96
- package/lib/src/Builders/PayFacBuilder.js +0 -184
- package/lib/src/Builders/RecurringBuilder.d.ts +0 -13
- package/lib/src/Builders/RecurringBuilder.js +0 -47
- package/lib/src/Builders/ReportBuilder.d.ts +0 -8
- package/lib/src/Builders/ReportBuilder.js +0 -36
- package/lib/src/Builders/TransactionBuilder.d.ts +0 -10
- package/lib/src/Builders/TransactionBuilder.js +0 -46
- package/lib/src/Builders/TransactionReportBuilder.d.ts +0 -15
- package/lib/src/Builders/TransactionReportBuilder.js +0 -79
- package/lib/src/Builders/index.d.ts +0 -7
- package/lib/src/Builders/index.js +0 -19
- package/lib/src/Entities/Address.d.ts +0 -13
- package/lib/src/Entities/Address.js +0 -19
- package/lib/src/Entities/BatchSummary.d.ts +0 -6
- package/lib/src/Entities/BatchSummary.js +0 -9
- package/lib/src/Entities/Customer.d.ts +0 -64
- package/lib/src/Entities/Customer.js +0 -47
- package/lib/src/Entities/DocumentUploadData.d.ts +0 -13
- package/lib/src/Entities/DocumentUploadData.js +0 -48
- package/lib/src/Entities/EcommerceInfo.d.ts +0 -12
- package/lib/src/Entities/EcommerceInfo.js +0 -14
- package/lib/src/Entities/EncryptionData.d.ts +0 -6
- package/lib/src/Entities/EncryptionData.js +0 -9
- package/lib/src/Entities/Enums.d.ts +0 -273
- package/lib/src/Entities/Enums.js +0 -385
- package/lib/src/Entities/Errors.d.ts +0 -23
- package/lib/src/Entities/Errors.js +0 -106
- package/lib/src/Entities/HostedPaymentData.d.ts +0 -10
- package/lib/src/Entities/HostedPaymentData.js +0 -10
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.d.ts +0 -7
- package/lib/src/Entities/ProFac/AccountBalanceResponseData.js +0 -9
- package/lib/src/Entities/ProFac/AccountPermissions.d.ts +0 -15
- package/lib/src/Entities/ProFac/AccountPermissions.js +0 -9
- package/lib/src/Entities/ProFac/BankAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/BankAccountData.js +0 -9
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.d.ts +0 -8
- package/lib/src/Entities/ProFac/BankAccountOwnershipData.js +0 -11
- package/lib/src/Entities/ProFac/BeneficialOwnerData.d.ts +0 -6
- package/lib/src/Entities/ProFac/BeneficialOwnerData.js +0 -10
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.d.ts +0 -5
- package/lib/src/Entities/ProFac/BeneficialOwnerDataResult.js +0 -9
- package/lib/src/Entities/ProFac/BusinessData.d.ts +0 -14
- package/lib/src/Entities/ProFac/BusinessData.js +0 -11
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.d.ts +0 -4
- package/lib/src/Entities/ProFac/DeviceAttributeInfo.js +0 -9
- package/lib/src/Entities/ProFac/DeviceData.d.ts +0 -5
- package/lib/src/Entities/ProFac/DeviceData.js +0 -10
- package/lib/src/Entities/ProFac/DeviceInfo.d.ts +0 -6
- package/lib/src/Entities/ProFac/DeviceInfo.js +0 -9
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.d.ts +0 -7
- package/lib/src/Entities/ProFac/FlashFundsPaymentCardData.js +0 -13
- package/lib/src/Entities/ProFac/GrossBillingInformation.d.ts +0 -8
- package/lib/src/Entities/ProFac/GrossBillingInformation.js +0 -9
- package/lib/src/Entities/ProFac/OrderDevice.d.ts +0 -18
- package/lib/src/Entities/ProFac/OrderDevice.js +0 -9
- package/lib/src/Entities/ProFac/OwnersData.d.ts +0 -12
- package/lib/src/Entities/ProFac/OwnersData.js +0 -11
- package/lib/src/Entities/ProFac/PayFacResponseData.d.ts +0 -55
- package/lib/src/Entities/ProFac/PayFacResponseData.js +0 -9
- package/lib/src/Entities/ProFac/RenewAccountData.d.ts +0 -10
- package/lib/src/Entities/ProFac/RenewAccountData.js +0 -11
- package/lib/src/Entities/ProFac/SignificantOwnerData.d.ts +0 -8
- package/lib/src/Entities/ProFac/SignificantOwnerData.js +0 -11
- package/lib/src/Entities/ProFac/ThreatRiskData.d.ts +0 -5
- package/lib/src/Entities/ProFac/ThreatRiskData.js +0 -9
- package/lib/src/Entities/ProFac/UserPersonalData.d.ts +0 -26
- package/lib/src/Entities/ProFac/UserPersonalData.js +0 -14
- package/lib/src/Entities/RecurringEntity.d.ts +0 -14
- package/lib/src/Entities/RecurringEntity.js +0 -86
- package/lib/src/Entities/SSORequestData.d.ts +0 -5
- package/lib/src/Entities/SSORequestData.js +0 -9
- package/lib/src/Entities/Schedule.d.ts +0 -47
- package/lib/src/Entities/Schedule.js +0 -253
- package/lib/src/Entities/Transaction.d.ts +0 -78
- package/lib/src/Entities/Transaction.js +0 -108
- package/lib/src/Entities/TransactionSummary.d.ts +0 -61
- package/lib/src/Entities/TransactionSummary.js +0 -9
- package/lib/src/Entities/index.d.ts +0 -12
- package/lib/src/Entities/index.js +0 -24
- package/lib/src/Gateways/Gateway.d.ts +0 -10
- package/lib/src/Gateways/Gateway.js +0 -42
- package/lib/src/Gateways/IPayFacProvider.d.ts +0 -5
- package/lib/src/Gateways/IPayFacProvider.js +0 -2
- package/lib/src/Gateways/IPaymentGateway.d.ts +0 -8
- package/lib/src/Gateways/IPaymentGateway.js +0 -2
- package/lib/src/Gateways/IRecurringService.d.ts +0 -6
- package/lib/src/Gateways/IRecurringService.js +0 -2
- package/lib/src/Gateways/PayPlanConnector.d.ts +0 -43
- package/lib/src/Gateways/PayPlanConnector.js +0 -564
- package/lib/src/Gateways/PorticoConnector.d.ts +0 -44
- package/lib/src/Gateways/PorticoConnector.js +0 -1017
- package/lib/src/Gateways/ProPayConnector.d.ts +0 -41
- package/lib/src/Gateways/ProPayConnector.js +0 -698
- package/lib/src/Gateways/RealexConnector.d.ts +0 -30
- package/lib/src/Gateways/RealexConnector.js +0 -523
- package/lib/src/Gateways/RestGateway.d.ts +0 -6
- package/lib/src/Gateways/RestGateway.js +0 -31
- package/lib/src/Gateways/XmlGateway.d.ts +0 -6
- package/lib/src/Gateways/XmlGateway.js +0 -39
- package/lib/src/Gateways/https-wrapper.d.ts +0 -3
- package/lib/src/Gateways/https-wrapper.js +0 -35
- package/lib/src/Gateways/index.d.ts +0 -7
- package/lib/src/Gateways/index.js +0 -19
- package/lib/src/HostedPaymentConfig.d.ts +0 -12
- package/lib/src/HostedPaymentConfig.js +0 -9
- package/lib/src/PaymentMethods/Cash.d.ts +0 -8
- package/lib/src/PaymentMethods/Cash.js +0 -36
- package/lib/src/PaymentMethods/Credit.d.ts +0 -85
- package/lib/src/PaymentMethods/Credit.js +0 -106
- package/lib/src/PaymentMethods/CreditCardData.d.ts +0 -20
- package/lib/src/PaymentMethods/CreditCardData.js +0 -57
- package/lib/src/PaymentMethods/CreditTrackData.d.ts +0 -7
- package/lib/src/PaymentMethods/CreditTrackData.js +0 -27
- package/lib/src/PaymentMethods/Debit.d.ts +0 -40
- package/lib/src/PaymentMethods/Debit.js +0 -70
- package/lib/src/PaymentMethods/DebitTrackData.d.ts +0 -7
- package/lib/src/PaymentMethods/DebitTrackData.js +0 -27
- package/lib/src/PaymentMethods/EBT.d.ts +0 -48
- package/lib/src/PaymentMethods/EBT.js +0 -88
- package/lib/src/PaymentMethods/EBTCardData.d.ts +0 -16
- package/lib/src/PaymentMethods/EBTCardData.js +0 -32
- package/lib/src/PaymentMethods/EBTTrackData.d.ts +0 -8
- package/lib/src/PaymentMethods/EBTTrackData.js +0 -27
- package/lib/src/PaymentMethods/ECheck.d.ts +0 -32
- package/lib/src/PaymentMethods/ECheck.js +0 -40
- package/lib/src/PaymentMethods/GiftCard.d.ts +0 -131
- package/lib/src/PaymentMethods/GiftCard.js +0 -205
- package/lib/src/PaymentMethods/Interfaces.d.ts +0 -55
- package/lib/src/PaymentMethods/Interfaces.js +0 -2
- package/lib/src/PaymentMethods/PaymentMethod.d.ts +0 -19
- package/lib/src/PaymentMethods/PaymentMethod.js +0 -114
- package/lib/src/PaymentMethods/RecurringPaymentMethod.d.ts +0 -23
- package/lib/src/PaymentMethods/RecurringPaymentMethod.js +0 -77
- package/lib/src/PaymentMethods/TransactionReference.d.ts +0 -10
- package/lib/src/PaymentMethods/TransactionReference.js +0 -12
- package/lib/src/PaymentMethods/index.d.ts +0 -15
- package/lib/src/PaymentMethods/index.js +0 -27
- package/lib/src/Services/BatchService.d.ts +0 -4
- package/lib/src/Services/BatchService.js +0 -17
- package/lib/src/Services/CheckService.d.ts +0 -6
- package/lib/src/Services/CheckService.js +0 -20
- package/lib/src/Services/CreditService.d.ts +0 -12
- package/lib/src/Services/CreditService.js +0 -54
- package/lib/src/Services/DebitService.d.ts +0 -7
- package/lib/src/Services/DebitService.js +0 -28
- package/lib/src/Services/EBTService.d.ts +0 -8
- package/lib/src/Services/EBTService.js +0 -32
- package/lib/src/Services/GiftService.d.ts +0 -16
- package/lib/src/Services/GiftService.js +0 -54
- package/lib/src/Services/HostedService.d.ts +0 -9
- package/lib/src/Services/HostedService.js +0 -59
- package/lib/src/Services/PayFacService.d.ts +0 -26
- package/lib/src/Services/PayFacService.js +0 -77
- package/lib/src/Services/RecurringService.d.ts +0 -8
- package/lib/src/Services/RecurringService.js +0 -27
- package/lib/src/Services/ReportingService.d.ts +0 -6
- package/lib/src/Services/ReportingService.js +0 -19
- package/lib/src/Services/index.d.ts +0 -9
- package/lib/src/Services/index.js +0 -21
- package/lib/src/ServicesConfig.d.ts +0 -27
- package/lib/src/ServicesConfig.js +0 -50
- package/lib/src/ServicesContainer.d.ts +0 -14
- package/lib/src/ServicesContainer.js +0 -87
- package/lib/src/Utils/GenerationUtils.d.ts +0 -5
- package/lib/src/Utils/GenerationUtils.js +0 -36
- package/lib/src/Utils/InputValidation.d.ts +0 -12
- package/lib/src/Utils/InputValidation.js +0 -72
- package/lib/src/Utils/Sha1.d.ts +0 -6
- package/lib/src/Utils/Sha1.js +0 -225
- package/lib/src/Utils/StringUtils.d.ts +0 -6
- package/lib/src/Utils/StringUtils.js +0 -53
- package/lib/src/Utils/index.d.ts +0 -2
- package/lib/src/Utils/index.js +0 -14
- package/lib/src/index.d.ts +0 -11
- package/lib/src/index.js +0 -27
- package/lib/test/Data/TestCards.d.ts +0 -24
- package/lib/test/Data/TestCards.js +0 -232
- package/lib/test/Data/TestChecks.d.ts +0 -4
- package/lib/test/Data/TestChecks.js +0 -32
- package/lib/test/Data/index.d.ts +0 -2
- package/lib/test/Data/index.js +0 -14
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/AchTest.js +0 -112
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/CheckTest.js +0 -483
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheckTest.js +0 -83
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceTest.js +0 -1720
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheckTest.js +0 -83
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoTest.js +0 -1757
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RecurringTest.js +0 -682
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/RetailTest.js +0 -2218
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/CreditTest.js +0 -707
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +0 -151
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EbtTest.js +0 -171
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +0 -192
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/GiftTest.js +0 -377
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/RecurringTest.js +0 -196
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/PorticoConnector/ReportingTest.js +0 -47
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertificationTests.js +0 -100
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertificationTests.js +0 -352
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertificationTests.js +0 -123
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertificationTests.js +0 -146
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.d.ts +0 -39
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/TestData/TestAccountData.js +0 -371
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformationTests.js +0 -100
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccountTests.js +0 -535
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFundsTests.js +0 -124
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.d.ts +0 -1
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransactionTests.js +0 -144
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.d.ts +0 -33
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestAccountData.js +0 -268
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.d.ts +0 -4
- package/lib/test/Integration/Gateways/ProPayConnector/TestData/TestFundsData.js +0 -30
- package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/AuthTest.js +0 -4373
- package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/AvsTest.js +0 -758
- package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/CreditTest.js +0 -2399
- package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/HoldTest.js +0 -1656
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ManualTest.js +0 -5650
- package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/OtbTest.js +0 -1985
- package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/RebateTest.js +0 -2369
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ReleaseTest.js +0 -1703
- package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/SettleTest.js +0 -2053
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/ValidationTest.js +0 -2469
- package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/VerifyEnrolledTest.js +0 -3116
- package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/Certification/VoidTest.js +0 -2031
- package/lib/test/Integration/Gateways/RealexConnector/CreditTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/CreditTest.js +0 -322
- package/lib/test/Integration/Gateways/RealexConnector/HppTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/HppTest.js +0 -98
- package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.d.ts +0 -1
- package/lib/test/Integration/Gateways/RealexConnector/RecurringTest.js +0 -263
- package/lib/test/Integration/Services/CheckServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CheckServiceTest.js +0 -98
- package/lib/test/Integration/Services/CreditServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/CreditServiceTest.js +0 -313
- package/lib/test/Integration/Services/DebitServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/DebitServiceTest.js +0 -154
- package/lib/test/Integration/Services/EBTServiceTest.d.ts +0 -1
- package/lib/test/Integration/Services/EBTServiceTest.js +0 -135
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/AuthorizationBuilder/ValidationTest.js +0 -161
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.d.ts +0 -1
- package/lib/test/Unit/Builders/ReportBuilder/ValidationTest.js +0 -139
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidationTest.js +0 -202
- package/lib/test/Unit/Gateways/RealexConnector/CreditTest.d.ts +0 -1
- package/lib/test/Unit/Gateways/RealexConnector/CreditTest.js +0 -29
- package/logger.txt +0 -483
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentUploadData = void 0;
|
|
4
|
-
var fs = require("fs");
|
|
5
|
-
var DocumentUploadData = /** @class */ (function () {
|
|
6
|
-
function DocumentUploadData() {
|
|
7
|
-
this._validDocTypes = ['tif', 'tiff', 'bmp', 'jpg', 'jpeg', 'gif', 'png', 'doc', 'docx'];
|
|
8
|
-
}
|
|
9
|
-
Object.defineProperty(DocumentUploadData.prototype, "DocType", {
|
|
10
|
-
get: function () {
|
|
11
|
-
return this.docType;
|
|
12
|
-
},
|
|
13
|
-
set: function (value) {
|
|
14
|
-
if (this._validDocTypes.includes(value)) {
|
|
15
|
-
this.docType = value;
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
throw new Error("The provided file type is not supported.");
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
enumerable: false,
|
|
22
|
-
configurable: true
|
|
23
|
-
});
|
|
24
|
-
DocumentUploadData.prototype.DocumentPath = function (value) {
|
|
25
|
-
var docPath = value;
|
|
26
|
-
if (docPath != null) {
|
|
27
|
-
var documentType = docPath.substring(docPath.lastIndexOf('.') + 1);
|
|
28
|
-
if (this._validDocTypes.includes(documentType)) {
|
|
29
|
-
this.docType = documentType;
|
|
30
|
-
this.document = String(this.getByteArray(docPath));
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
throw new Error("The document provided is not a valid file type.");
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
throw new Error("DocumentPath has not been set");
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
DocumentUploadData.prototype.getByteArray = function (filePath) {
|
|
41
|
-
var fileData = fs.readFileSync(filePath);
|
|
42
|
-
var buff = Buffer.from(fileData);
|
|
43
|
-
var base64data = buff.toString('base64');
|
|
44
|
-
return base64data;
|
|
45
|
-
};
|
|
46
|
-
return DocumentUploadData;
|
|
47
|
-
}());
|
|
48
|
-
exports.DocumentUploadData = DocumentUploadData;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EcommerceChannel } from "../Entities";
|
|
2
|
-
export declare class EcommerceInfo {
|
|
3
|
-
cavv: string;
|
|
4
|
-
channel: EcommerceChannel;
|
|
5
|
-
eci: string;
|
|
6
|
-
paymentDataSource: string;
|
|
7
|
-
paymentDataType: string;
|
|
8
|
-
shipDay: string;
|
|
9
|
-
shipMonth: string;
|
|
10
|
-
xid: string;
|
|
11
|
-
constructor();
|
|
12
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EcommerceInfo = void 0;
|
|
4
|
-
var Entities_1 = require("../Entities");
|
|
5
|
-
var EcommerceInfo = /** @class */ (function () {
|
|
6
|
-
function EcommerceInfo() {
|
|
7
|
-
this.channel = Entities_1.EcommerceChannel.Ecom;
|
|
8
|
-
this.shipDay = new Date().getUTCDate().toString();
|
|
9
|
-
this.shipMonth = (new Date().getUTCMonth() + 1).toString();
|
|
10
|
-
this.paymentDataType = "3DSecure";
|
|
11
|
-
}
|
|
12
|
-
return EcommerceInfo;
|
|
13
|
-
}());
|
|
14
|
-
exports.EcommerceInfo = EcommerceInfo;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EncryptionData = void 0;
|
|
4
|
-
var EncryptionData = /** @class */ (function () {
|
|
5
|
-
function EncryptionData() {
|
|
6
|
-
}
|
|
7
|
-
return EncryptionData;
|
|
8
|
-
}());
|
|
9
|
-
exports.EncryptionData = EncryptionData;
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
export declare enum AccountType {
|
|
2
|
-
Checking = "CHECKING",
|
|
3
|
-
Savings = "SAVINGS"
|
|
4
|
-
}
|
|
5
|
-
export declare enum AddressType {
|
|
6
|
-
Billing = 0,
|
|
7
|
-
Shipping = 1
|
|
8
|
-
}
|
|
9
|
-
export declare enum AliasAction {
|
|
10
|
-
Create = "CREATE",
|
|
11
|
-
Add = "ADD",
|
|
12
|
-
Delete = "DELETE"
|
|
13
|
-
}
|
|
14
|
-
export declare enum CheckType {
|
|
15
|
-
Personal = "PERSONAL",
|
|
16
|
-
Business = "BUSINESS",
|
|
17
|
-
Payroll = "PAYROLL"
|
|
18
|
-
}
|
|
19
|
-
export declare enum CurrencyType {
|
|
20
|
-
CURRENCY = 0,
|
|
21
|
-
POINTS = 1
|
|
22
|
-
}
|
|
23
|
-
export declare enum CvnPresenceIndicator {
|
|
24
|
-
Present = 1,
|
|
25
|
-
Illegible = 2,
|
|
26
|
-
NotOnCard = 3,
|
|
27
|
-
NotRequested = 4
|
|
28
|
-
}
|
|
29
|
-
export declare enum EcommerceChannel {
|
|
30
|
-
Ecom = "ECOM",
|
|
31
|
-
Moto = "MOTO"
|
|
32
|
-
}
|
|
33
|
-
export declare enum EmailReceipt {
|
|
34
|
-
Never = "Never",
|
|
35
|
-
All = "All",
|
|
36
|
-
Approvals = "Approvals",
|
|
37
|
-
Declines = "Declines"
|
|
38
|
-
}
|
|
39
|
-
export declare enum EntryMethod {
|
|
40
|
-
Swipe = "SWIPE",
|
|
41
|
-
Proximity = "PROXIMITY",
|
|
42
|
-
Manual = "MANUAL"
|
|
43
|
-
}
|
|
44
|
-
export declare enum ExceptionCodes {
|
|
45
|
-
AuthenticationError = 0,
|
|
46
|
-
InvalidConfiguration = 1,
|
|
47
|
-
InvalidAmount = 2,
|
|
48
|
-
MissingCurrency = 3,
|
|
49
|
-
InvalidCurrency = 4,
|
|
50
|
-
InvalidDate = 5,
|
|
51
|
-
MissingCheckName = 6,
|
|
52
|
-
InvalidPhoneNumber = 7,
|
|
53
|
-
InvalidZipCode = 8,
|
|
54
|
-
InvalidEmailAddress = 9,
|
|
55
|
-
InvalidInputLength = 10,
|
|
56
|
-
UnknownGatewayError = 11,
|
|
57
|
-
InvalidOriginalTransaction = 12,
|
|
58
|
-
NoOpenBatch = 13,
|
|
59
|
-
InvalidCpcData = 14,
|
|
60
|
-
InvalidCardData = 15,
|
|
61
|
-
InvalidNumber = 16,
|
|
62
|
-
GatewayTimeout = 17,
|
|
63
|
-
UnexpectedGatewayResponse = 18,
|
|
64
|
-
GatewayTimeoutReversalError = 19,
|
|
65
|
-
GatewayError = 20,
|
|
66
|
-
UnexpectedGatewayError = 21,
|
|
67
|
-
IncorrectNumber = 22,
|
|
68
|
-
ExpiredCard = 23,
|
|
69
|
-
InvalidPin = 24,
|
|
70
|
-
PinEntriesExceeded = 25,
|
|
71
|
-
InvalidExpiry = 26,
|
|
72
|
-
PinVerification = 27,
|
|
73
|
-
IssuerTimeout = 28,
|
|
74
|
-
IncorrectCvc = 29,
|
|
75
|
-
CardDeclined = 30,
|
|
76
|
-
ProcessingError = 31,
|
|
77
|
-
IssuerTimeoutReversalError = 32,
|
|
78
|
-
UnknownCreditError = 33,
|
|
79
|
-
PossibleFraudDetected = 34,
|
|
80
|
-
UnknownGiftError = 35,
|
|
81
|
-
PartialApproval = 36
|
|
82
|
-
}
|
|
83
|
-
export declare enum FraudFilterMode {
|
|
84
|
-
None = "NONE",
|
|
85
|
-
Off = "OFF",
|
|
86
|
-
Active = "ACTIVE",
|
|
87
|
-
Passive = "PASSIVE"
|
|
88
|
-
}
|
|
89
|
-
export declare enum GiftEntryMethod {
|
|
90
|
-
Swipe = 0,
|
|
91
|
-
Alias = 1,
|
|
92
|
-
Manual = 2
|
|
93
|
-
}
|
|
94
|
-
export declare enum HppVersion {
|
|
95
|
-
Version1 = "1",
|
|
96
|
-
Version2 = "2"
|
|
97
|
-
}
|
|
98
|
-
export declare enum InquiryType {
|
|
99
|
-
Standard = "STANDARD",
|
|
100
|
-
Foodstamp = "FOODSTAMP",
|
|
101
|
-
Cash = "CASH",
|
|
102
|
-
Points = "POINTS"
|
|
103
|
-
}
|
|
104
|
-
export declare enum PaymentMethodType {
|
|
105
|
-
Reference = 1,
|
|
106
|
-
Credit = 2,
|
|
107
|
-
Debit = 4,
|
|
108
|
-
EBT = 8,
|
|
109
|
-
Cash = 16,
|
|
110
|
-
ACH = 32,
|
|
111
|
-
Gift = 64,
|
|
112
|
-
Recurring = 128
|
|
113
|
-
}
|
|
114
|
-
export declare enum PaymentSchedule {
|
|
115
|
-
Dynamic = 0,
|
|
116
|
-
FirstDayOfTheMonth = 1,
|
|
117
|
-
LastDayOfTheMonth = 2
|
|
118
|
-
}
|
|
119
|
-
export declare enum ReasonCode {
|
|
120
|
-
Fraud = "FRAUD",
|
|
121
|
-
FalsePositive = "FALSEPOSITIVE",
|
|
122
|
-
OutOfStock = "OUTOFSTOCK",
|
|
123
|
-
InStock = "INSTOCK",
|
|
124
|
-
Other = "OTHER",
|
|
125
|
-
NotGiven = "NOTGIVEN"
|
|
126
|
-
}
|
|
127
|
-
export declare enum RecurringSequence {
|
|
128
|
-
First = 0,
|
|
129
|
-
Subsequent = 1,
|
|
130
|
-
Last = 2
|
|
131
|
-
}
|
|
132
|
-
export declare enum RecurringType {
|
|
133
|
-
Fixed = 0,
|
|
134
|
-
Variable = 1
|
|
135
|
-
}
|
|
136
|
-
export declare enum ReportType {
|
|
137
|
-
FindTransactions = 1,
|
|
138
|
-
Activity = 2,
|
|
139
|
-
BatchDetail = 4,
|
|
140
|
-
BatchHistory = 8,
|
|
141
|
-
BatchSummary = 16,
|
|
142
|
-
OpenAuths = 32,
|
|
143
|
-
Search = 64,
|
|
144
|
-
TransactionDetail = 128
|
|
145
|
-
}
|
|
146
|
-
export declare enum ScheduleFrequency {
|
|
147
|
-
Weekly = "Weekly",
|
|
148
|
-
BiWeekly = "Bi-Weekly",
|
|
149
|
-
BiMonthly = "Bi-Monthly",
|
|
150
|
-
SemiMonthly = "Semi-Monthly",
|
|
151
|
-
Monthly = "Monthly",
|
|
152
|
-
Quarterly = "Quarterly",
|
|
153
|
-
SemiAnnually = "Semi-Annually",
|
|
154
|
-
Annually = "Annually"
|
|
155
|
-
}
|
|
156
|
-
export declare enum SecCode {
|
|
157
|
-
PPD = "PPD",
|
|
158
|
-
CCD = "CCD",
|
|
159
|
-
POP = "POP",
|
|
160
|
-
WEB = "WEB",
|
|
161
|
-
TEL = "TEL",
|
|
162
|
-
EBronze = "EBronze"
|
|
163
|
-
}
|
|
164
|
-
export declare enum StoredCredentialInitiator {
|
|
165
|
-
CardHolder = "C",
|
|
166
|
-
Merchant = "M"
|
|
167
|
-
}
|
|
168
|
-
export declare enum TaxType {
|
|
169
|
-
NotUsed = 0,
|
|
170
|
-
SalesTax = 1,
|
|
171
|
-
TaxExempt = 2
|
|
172
|
-
}
|
|
173
|
-
export declare enum TimeZoneConversion {
|
|
174
|
-
UTC = 0,
|
|
175
|
-
Merchant = 1,
|
|
176
|
-
Datacenter = 2
|
|
177
|
-
}
|
|
178
|
-
export declare enum TransactionModifier {
|
|
179
|
-
None = 1,
|
|
180
|
-
Incremental = 2,
|
|
181
|
-
Additional = 4,
|
|
182
|
-
Offline = 8,
|
|
183
|
-
LevelII = 16,
|
|
184
|
-
FraudDecline = 32,
|
|
185
|
-
ChipDecline = 64,
|
|
186
|
-
CashBack = 128,
|
|
187
|
-
Voucher = 256,
|
|
188
|
-
Secure3D = 512,
|
|
189
|
-
HostedRequest = 1024,
|
|
190
|
-
Recurring = 2048,
|
|
191
|
-
EncryptedMobile = 4096
|
|
192
|
-
}
|
|
193
|
-
export declare enum TransactionType {
|
|
194
|
-
Decline = 1,
|
|
195
|
-
Verify = 2,
|
|
196
|
-
Capture = 4,
|
|
197
|
-
Auth = 8,
|
|
198
|
-
Refund = 16,
|
|
199
|
-
Reversal = 32,
|
|
200
|
-
Sale = 64,
|
|
201
|
-
Edit = 128,
|
|
202
|
-
Void = 256,
|
|
203
|
-
AddValue = 512,
|
|
204
|
-
Balance = 1024,
|
|
205
|
-
Activate = 2048,
|
|
206
|
-
Alias = 4096,
|
|
207
|
-
Replace = 8192,
|
|
208
|
-
Reward = 16384,
|
|
209
|
-
Deactivate = 32768,
|
|
210
|
-
BatchClose = 65536,
|
|
211
|
-
Create = 131072,
|
|
212
|
-
Delete = 262144,
|
|
213
|
-
BenefitWithDrawal = 524288,
|
|
214
|
-
Fetch = 1048576,
|
|
215
|
-
Search = 2097152,
|
|
216
|
-
Hold = 4194304,
|
|
217
|
-
Release = 8388608,
|
|
218
|
-
CreateAccount = 256,
|
|
219
|
-
EditAccount = 512,
|
|
220
|
-
ResetPassword = 1024,
|
|
221
|
-
RenewAccount = 2048,
|
|
222
|
-
UpdateBeneficialOwnership = 4096,
|
|
223
|
-
DisownAccount = 8192,
|
|
224
|
-
UploadDocumentChargeback = 16384,
|
|
225
|
-
UploadDocument = 32768,
|
|
226
|
-
ObtainSSOKey = 65536,
|
|
227
|
-
UpdateBankAccountOwnership = 131072,
|
|
228
|
-
AddFunds = 262144,
|
|
229
|
-
SweepFunds = 524288,
|
|
230
|
-
AddCardFlashFunds = 1048576,
|
|
231
|
-
PushMoneyFlashFunds = 2097152,
|
|
232
|
-
DisburseFunds = 4194304,
|
|
233
|
-
SpendBack = 8388608,
|
|
234
|
-
ReverseSplitPay = 16777216,
|
|
235
|
-
SplitFunds = 33554432,
|
|
236
|
-
GetAccountDetails = 67108864,
|
|
237
|
-
GetAccountBalance = 134217728,
|
|
238
|
-
Reauth = 268435456,
|
|
239
|
-
SiteConfig = 536870912,
|
|
240
|
-
TimeRequest = 1073741824,
|
|
241
|
-
GetTokenInfo = -2147483648,
|
|
242
|
-
PayLinkUpdate = -2147483648,
|
|
243
|
-
OrderDevice = 1
|
|
244
|
-
}
|
|
245
|
-
export declare enum ProPayAccountStatus {
|
|
246
|
-
ReadyToProcess = 0,
|
|
247
|
-
FraudAccount = 1,
|
|
248
|
-
RiskwiseDeclined = 2,
|
|
249
|
-
Hold = 3,
|
|
250
|
-
Canceled = 4,
|
|
251
|
-
FraudVictim = 5,
|
|
252
|
-
ClosedEula = 6,
|
|
253
|
-
ClosedExcessiveChargeback = 7
|
|
254
|
-
}
|
|
255
|
-
export declare enum MobilePaymentMethodType {
|
|
256
|
-
APPLEPAY = "apple-pay",
|
|
257
|
-
GOOGLEPAY = "pay-with-google"
|
|
258
|
-
}
|
|
259
|
-
export declare enum PaymentDataSourceType {
|
|
260
|
-
APPLEPAY = "ApplePay",
|
|
261
|
-
APPLEPAYAPP = "ApplePayApp",
|
|
262
|
-
APPLEPAYWEB = "ApplePayWeb",
|
|
263
|
-
GOOGLEPAYAPP = "GooglePayApp",
|
|
264
|
-
GOOGLEPAYWEB = "GooglePayWeb",
|
|
265
|
-
DISCOVER3DSECURE = "Discover 3DSecure"
|
|
266
|
-
}
|
|
267
|
-
export declare enum PropayTermsVersion {
|
|
268
|
-
merchantUS = 1,
|
|
269
|
-
paymentUS = 2,
|
|
270
|
-
merchantCA = 3,
|
|
271
|
-
merchantUK = 4,
|
|
272
|
-
merchantAU = 5
|
|
273
|
-
}
|