globalpayments-api 3.6.2 → 3.8.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 +143 -125
- package/lib/src/Builders/AuthorizationBuilder.d.ts +9 -1
- package/lib/src/Builders/AuthorizationBuilder.js +10 -1
- package/lib/src/Builders/AuthorizationBuilder.js.map +1 -1
- package/lib/src/Builders/BaseBuilder/Validations.d.ts +3 -1
- package/lib/src/Builders/BaseBuilder/Validations.js +5 -5
- package/lib/src/Builders/BaseBuilder/Validations.js.map +1 -1
- package/lib/src/Builders/ManagementBuilder.d.ts +17 -1
- package/lib/src/Builders/ManagementBuilder.js +22 -0
- package/lib/src/Builders/ManagementBuilder.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js +19 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiManagementRequestBuilder.js.map +1 -1
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.d.ts +2 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js +120 -0
- package/lib/src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.js.map +1 -1
- package/lib/src/Builders/TransactionReportBuilder.d.ts +7 -2
- package/lib/src/Builders/TransactionReportBuilder.js +28 -0
- package/lib/src/Builders/TransactionReportBuilder.js.map +1 -1
- package/lib/src/Entities/DisputeDocument.d.ts +5 -0
- package/lib/src/Entities/DisputeDocument.js +10 -0
- package/lib/src/Entities/DisputeDocument.js.map +1 -0
- package/lib/src/Entities/Document.d.ts +10 -0
- package/lib/src/Entities/Document.js +13 -0
- package/lib/src/Entities/Document.js.map +1 -0
- package/lib/src/Entities/Enums/DepositSortProperty.d.ts +6 -0
- package/lib/src/Entities/Enums/DepositSortProperty.js +11 -0
- package/lib/src/Entities/Enums/DepositSortProperty.js.map +1 -0
- package/lib/src/Entities/Enums/DisputeSortProperty.d.ts +12 -0
- package/lib/src/Entities/Enums/DisputeSortProperty.js +17 -0
- package/lib/src/Entities/Enums/DisputeSortProperty.js.map +1 -0
- package/lib/src/Entities/Enums/DisputeStage.d.ts +11 -0
- package/lib/src/Entities/Enums/DisputeStage.js +16 -0
- package/lib/src/Entities/Enums/DisputeStage.js.map +1 -0
- package/lib/src/Entities/Enums/DisputeStatus.d.ts +7 -0
- package/lib/src/Entities/Enums/DisputeStatus.js +12 -0
- package/lib/src/Entities/Enums/DisputeStatus.js.map +1 -0
- package/lib/src/Entities/Enums/DocumentCategory.d.ts +5 -0
- package/lib/src/Entities/Enums/DocumentCategory.js +10 -0
- package/lib/src/Entities/Enums/DocumentCategory.js.map +1 -0
- package/lib/src/Entities/Enums/FileType.d.ts +11 -0
- package/lib/src/Entities/Enums/FileType.js +16 -0
- package/lib/src/Entities/Enums/FileType.js.map +1 -0
- package/lib/src/Entities/Enums.d.ts +8 -0
- package/lib/src/Entities/Enums.js +8 -0
- package/lib/src/Entities/Enums.js.map +1 -1
- package/lib/src/Entities/HostedPaymentData.d.ts +3 -0
- package/lib/src/Entities/HostedPaymentData.js +3 -0
- package/lib/src/Entities/HostedPaymentData.js.map +1 -1
- package/lib/src/Entities/Reporting/DepositSummary.d.ts +29 -0
- package/lib/src/Entities/Reporting/DepositSummary.js +34 -0
- package/lib/src/Entities/Reporting/DepositSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/DisputeSummary.d.ts +53 -0
- package/lib/src/Entities/Reporting/DisputeSummary.js +64 -0
- package/lib/src/Entities/Reporting/DisputeSummary.js.map +1 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.d.ts +4 -2
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js +2 -0
- package/lib/src/Entities/Reporting/SearchCriteriaBuilder.js.map +1 -1
- package/lib/src/Entities/Reporting/index.d.ts +2 -0
- package/lib/src/Entities/Reporting/index.js +2 -0
- package/lib/src/Entities/Reporting/index.js.map +1 -1
- package/lib/src/Entities/Transaction.d.ts +15 -1
- package/lib/src/Entities/Transaction.js +34 -0
- package/lib/src/Entities/Transaction.js.map +1 -1
- package/lib/src/Entities/index.d.ts +8 -0
- package/lib/src/Entities/index.js +8 -0
- package/lib/src/Entities/index.js.map +1 -1
- package/lib/src/Gateways/GpApiConnector.js +3 -0
- package/lib/src/Gateways/GpApiConnector.js.map +1 -1
- package/lib/src/Gateways/GpEcomConnector.js +9 -0
- package/lib/src/Gateways/GpEcomConnector.js.map +1 -1
- package/lib/src/Gateways/PorticoConnector.js +5 -0
- package/lib/src/Gateways/PorticoConnector.js.map +1 -1
- package/lib/src/Mapping/GpApiMapping.d.ts +3 -0
- package/lib/src/Mapping/GpApiMapping.js +128 -13
- package/lib/src/Mapping/GpApiMapping.js.map +1 -1
- package/lib/src/Services/ReportingService.d.ts +8 -1
- package/lib/src/Services/ReportingService.js +21 -0
- package/lib/src/Services/ReportingService.js.map +1 -1
- 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/GpApi3DSTestCards.d.ts +17 -0
- package/lib/test/Data/GpApi3DSTestCards.js +22 -0
- package/lib/test/Data/GpApi3DSTestCards.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 +4 -0
- package/lib/test/Data/index.js +21 -0
- package/lib/test/Data/index.js.map +1 -0
- package/lib/test/Integration/Gateways/AcsResponse.d.ts +12 -0
- package/lib/test/Integration/Gateways/AcsResponse.js +33 -0
- package/lib/test/Integration/Gateways/AcsResponse.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js +1026 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js +1029 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DS2Test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js +643 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecure.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js +649 -0
- package/lib/test/Integration/Gateways/GpApiConnector/3DSecureTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.js +130 -0
- package/lib/test/Integration/Gateways/GpApiConnector/AccessToken.test.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/CreditCardNotPresent.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresent.test.js +1070 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresent.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/CreditCardNotPresentTest.js +1025 -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/DebitCard.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCard.test.js +137 -0
- package/lib/test/Integration/Gateways/GpApiConnector/DebitCard.test.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/GpApiCertification.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertification.test.js +642 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertification.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js +639 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiCertificationTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.js +151 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagement.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js +149 -0
- package/lib/test/Integration/Gateways/GpApiConnector/GpApiTokenManagementTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.js +226 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDeposits.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js +226 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDepositsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.js +571 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingDisputes.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.js +430 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingSettlementTransactions.test.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/ReportingStoredPaymentMethods.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethods.test.js +216 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingStoredPaymentMethods.test.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/ReportingTransactions.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactions.test.js +340 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactions.test.js.map +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js +338 -0
- package/lib/test/Integration/Gateways/GpApiConnector/ReportingTransactionsTest.js.map +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.js +2426 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Auth.test.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/Avs.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Avs.test.js +562 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Avs.test.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/Credit.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Credit.test.js +1292 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Credit.test.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/Hold.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Hold.test.js +880 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Certification/Hold.test.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/Credit.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.js +207 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Credit.test.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/Hpp.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Hpp.test.js +137 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Hpp.test.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/Recurring.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Recurring.test.js +124 -0
- package/lib/test/Integration/Gateways/GpEcomConnector/Recurring.test.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/Ach.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ach.test.js +54 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ach.test.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/Check.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Check.test.js +357 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Check.test.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/Ecommerce.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js +1667 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Ecommerce.test.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.js +80 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/EcommerceCheck.test.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/Moto.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Moto.test.js +1487 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Moto.test.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.js +80 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/MotoCheck.test.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/Recurring.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Recurring.test.js +393 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Recurring.test.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/Retail.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Retail.test.js +2102 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Certifications/Retail.test.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/Credit.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.js +367 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Credit.test.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/Debit.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Debit.test.js +83 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Debit.test.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js +88 -0
- package/lib/test/Integration/Gateways/PorticoConnector/DebitTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.js +63 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ebt.test.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/Ecommerce.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js +136 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Ecommerce.test.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js +143 -0
- package/lib/test/Integration/Gateways/PorticoConnector/EcommerceTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.js +121 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Gift.test.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/PorticoManagementToken.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementToken.test.js +40 -0
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementToken.test.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js +48 -0
- package/lib/test/Integration/Gateways/PorticoConnector/PorticoManagementTokenTest.js.map +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.js +87 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Recurring.test.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/Reporting.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Reporting.test.js +44 -0
- package/lib/test/Integration/Gateways/PorticoConnector/Reporting.test.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/GetInformationCertification.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertification.test.js +38 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/GetInformationCertification.test.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/ProPayAccountCertification.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertification.test.js +206 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayAccountCertification.test.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/ProPayFundCertification.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertification.test.js +52 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayFundCertification.test.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/ProPayInNetworkTransactionCertification.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertification.test.js +72 -0
- package/lib/test/Integration/Gateways/ProPayConnector/Certifications/ProPayInNetworkTransactionCertification.test.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/GetInformation.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformation.test.js +37 -0
- package/lib/test/Integration/Gateways/ProPayConnector/GetInformation.test.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/ProPayAccount.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccount.test.js +310 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayAccount.test.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/ProPayFunds.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFunds.test.js +53 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayFunds.test.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/ProPayInNetworkTransaction.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransaction.test.js +72 -0
- package/lib/test/Integration/Gateways/ProPayConnector/ProPayInNetworkTransaction.test.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/UpaMic.test.d.ts +1 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMic.test.js +165 -0
- package/lib/test/Integration/Gateways/Terminals/UPA/UpaMic.test.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/Gateways/ThreeDSecureAsClient.d.ts +16 -0
- package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js +212 -0
- package/lib/test/Integration/Gateways/ThreeDSecureAsClient.js.map +1 -0
- package/lib/test/Integration/Services/CheckService.test.d.ts +1 -0
- package/lib/test/Integration/Services/CheckService.test.js +38 -0
- package/lib/test/Integration/Services/CheckService.test.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/CreditService.test.d.ts +1 -0
- package/lib/test/Integration/Services/CreditService.test.js +158 -0
- package/lib/test/Integration/Services/CreditService.test.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/DebitService.test.d.ts +1 -0
- package/lib/test/Integration/Services/DebitService.test.js +77 -0
- package/lib/test/Integration/Services/DebitService.test.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/EBTService.test.d.ts +1 -0
- package/lib/test/Integration/Services/EBTService.test.js +54 -0
- package/lib/test/Integration/Services/EBTService.test.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/Validation.test.d.ts +1 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/Validation.test.js +122 -0
- package/lib/test/Unit/Builders/AuthorizationBuilder/Validation.test.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/Validation.test.d.ts +1 -0
- package/lib/test/Unit/Builders/ReportBuilder/Validation.test.js +66 -0
- package/lib/test/Unit/Builders/ReportBuilder/Validation.test.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/Credit.test.d.ts +1 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/Credit.test.js +32 -0
- package/lib/test/Unit/Gateways/GpEcomConnector/Credit.test.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/InputValidation.test.d.ts +1 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidation.test.js +128 -0
- package/lib/test/Unit/Gateways/PorticoConnector/InputValidation.test.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 +62 -71
|
@@ -123,6 +123,95 @@ class GpApiReportRequestBuilder {
|
|
|
123
123
|
queryParams["system.hierarchy"] = builder.searchBuilder.systemHierarchy;
|
|
124
124
|
queryParams = { ...queryParams, ...this.getTransactionParams(builder) };
|
|
125
125
|
break;
|
|
126
|
+
case src_1.ReportType.FindDepositsPaged:
|
|
127
|
+
endpoint = src_1.GpApiRequest.DEPOSITS_ENDPOINT;
|
|
128
|
+
verb = "GET";
|
|
129
|
+
queryParams["account_name"] = config.accessTokenInfo.dataAccountName;
|
|
130
|
+
queryParams["account_id"] = config.accessTokenInfo.dataAccountID;
|
|
131
|
+
queryParams["order_by"] = builder.depositOrderBy;
|
|
132
|
+
queryParams["order"] = builder.order;
|
|
133
|
+
queryParams["amount"] = builder.searchBuilder?.amount
|
|
134
|
+
? src_1.StringUtils.toNumeric(builder.searchBuilder.amount.toString())
|
|
135
|
+
: undefined;
|
|
136
|
+
if (builder.searchBuilder.startDate) {
|
|
137
|
+
queryParams["from_time_created"] = new Date(builder.searchBuilder.startDate)
|
|
138
|
+
.toISOString()
|
|
139
|
+
.split("T")[0];
|
|
140
|
+
}
|
|
141
|
+
if (builder.searchBuilder.endDate) {
|
|
142
|
+
queryParams["to_time_created"] = new Date(builder.searchBuilder.endDate)
|
|
143
|
+
.toISOString()
|
|
144
|
+
.split("T")[0];
|
|
145
|
+
}
|
|
146
|
+
queryParams["id"] = builder.searchBuilder.depositId;
|
|
147
|
+
queryParams["status"] = builder.searchBuilder.depositStatus;
|
|
148
|
+
queryParams["masked_account_number_last4"] =
|
|
149
|
+
builder.searchBuilder.accountNumberLastFour;
|
|
150
|
+
queryParams["system.mid"] = builder.searchBuilder.merchantId;
|
|
151
|
+
queryParams["system.hierarchy"] = builder.searchBuilder.systemHierarchy;
|
|
152
|
+
break;
|
|
153
|
+
case src_1.ReportType.DepositDetail:
|
|
154
|
+
endpoint =
|
|
155
|
+
src_1.GpApiRequest.DEPOSITS_ENDPOINT +
|
|
156
|
+
"/" +
|
|
157
|
+
builder.searchBuilder.depositId;
|
|
158
|
+
verb = "GET";
|
|
159
|
+
break;
|
|
160
|
+
case src_1.ReportType.DisputeDetail:
|
|
161
|
+
endpoint =
|
|
162
|
+
src_1.GpApiRequest.DISPUTES_ENDPOINT +
|
|
163
|
+
"/" +
|
|
164
|
+
builder.searchBuilder.disputeId;
|
|
165
|
+
verb = "GET";
|
|
166
|
+
break;
|
|
167
|
+
case src_1.ReportType.DocumentDisputeDetail:
|
|
168
|
+
endpoint =
|
|
169
|
+
src_1.GpApiRequest.DISPUTES_ENDPOINT +
|
|
170
|
+
"/" +
|
|
171
|
+
builder.searchBuilder.disputeId +
|
|
172
|
+
"/documents/" +
|
|
173
|
+
builder.searchBuilder.disputeDocumentId;
|
|
174
|
+
verb = "GET";
|
|
175
|
+
break;
|
|
176
|
+
case src_1.ReportType.DisputeDetail:
|
|
177
|
+
endpoint =
|
|
178
|
+
src_1.GpApiRequest.DISPUTES_ENDPOINT +
|
|
179
|
+
"/" +
|
|
180
|
+
builder.searchBuilder.disputeId;
|
|
181
|
+
verb = "GET";
|
|
182
|
+
break;
|
|
183
|
+
case src_1.ReportType.SettlementDisputeDetail:
|
|
184
|
+
endpoint =
|
|
185
|
+
src_1.GpApiRequest.SETTLEMENT_DISPUTES_ENDPOINT +
|
|
186
|
+
"/" +
|
|
187
|
+
builder.searchBuilder.settlementDisputeId;
|
|
188
|
+
verb = "GET";
|
|
189
|
+
break;
|
|
190
|
+
case src_1.ReportType.DisputeDetail:
|
|
191
|
+
endpoint =
|
|
192
|
+
src_1.GpApiRequest.DISPUTES_ENDPOINT +
|
|
193
|
+
"/" +
|
|
194
|
+
builder.searchBuilder.disputeId;
|
|
195
|
+
verb = "GET";
|
|
196
|
+
break;
|
|
197
|
+
case src_1.ReportType.FindSettlementDisputesPaged:
|
|
198
|
+
endpoint = src_1.GpApiRequest.SETTLEMENT_DISPUTES_ENDPOINT;
|
|
199
|
+
verb = "GET";
|
|
200
|
+
queryParams = {
|
|
201
|
+
...queryParams,
|
|
202
|
+
...this.getDisputesParams(builder),
|
|
203
|
+
account_name: config.accessTokenInfo.dataAccountName,
|
|
204
|
+
account_id: config.accessTokenInfo.dataAccountID,
|
|
205
|
+
};
|
|
206
|
+
break;
|
|
207
|
+
case src_1.ReportType.FindDisputesPaged:
|
|
208
|
+
endpoint = src_1.GpApiRequest.DISPUTES_ENDPOINT;
|
|
209
|
+
verb = "GET";
|
|
210
|
+
queryParams = {
|
|
211
|
+
...queryParams,
|
|
212
|
+
...this.getDisputesParams(builder),
|
|
213
|
+
};
|
|
214
|
+
break;
|
|
126
215
|
default:
|
|
127
216
|
throw new src_1.NotImplementedError();
|
|
128
217
|
}
|
|
@@ -158,6 +247,37 @@ class GpApiReportRequestBuilder {
|
|
|
158
247
|
page_size: builder.pageSize,
|
|
159
248
|
};
|
|
160
249
|
}
|
|
250
|
+
getDisputesParams(builder) {
|
|
251
|
+
return {
|
|
252
|
+
order_by: builder.disputeOrderBy,
|
|
253
|
+
order: builder.order,
|
|
254
|
+
arn: builder.searchBuilder.aquirerReferenceNumber,
|
|
255
|
+
brand: builder.searchBuilder.cardBrand,
|
|
256
|
+
status: builder.searchBuilder.disputeStatus,
|
|
257
|
+
stage: builder.searchBuilder.disputeStage,
|
|
258
|
+
from_stage_time_created: builder.searchBuilder.startStageDate
|
|
259
|
+
? this.formatDate(builder.searchBuilder.startStageDate)
|
|
260
|
+
: null,
|
|
261
|
+
to_stage_time_created: builder.searchBuilder.endStageDate
|
|
262
|
+
? this.formatDate(builder.searchBuilder.endStageDate)
|
|
263
|
+
: null,
|
|
264
|
+
from_deposit_time_created: builder.searchBuilder.startDepositDate
|
|
265
|
+
? this.formatDate(builder.searchBuilder.startDepositDate)
|
|
266
|
+
: null,
|
|
267
|
+
to_deposit_time_created: builder.searchBuilder.endDepositDate
|
|
268
|
+
? this.formatDate(builder.searchBuilder.endDepositDate)
|
|
269
|
+
: null,
|
|
270
|
+
"system.mid": builder.searchBuilder.merchantId,
|
|
271
|
+
"system.hierarchy": builder.searchBuilder.systemHierarchy,
|
|
272
|
+
deposit_id: builder.searchBuilder.depositReference,
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
formatDate(date) {
|
|
276
|
+
const year = date.getFullYear();
|
|
277
|
+
const month = ("0" + (date.getMonth() + 1)).slice(-2);
|
|
278
|
+
const day = ("0" + date.getDate()).slice(-2);
|
|
279
|
+
return `${year}-${month}-${day}`;
|
|
280
|
+
}
|
|
161
281
|
}
|
|
162
282
|
exports.GpApiReportRequestBuilder = GpApiReportRequestBuilder;
|
|
163
283
|
//# sourceMappingURL=GpApiReportRequestBuilder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GpApiReportRequestBuilder.js","sourceRoot":"","sources":["../../../../../src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.ts"],"names":[],"mappings":";;;AACA,yCAUyB;AAEzB,MAAa,yBAAyB;IACpC,UAAU,CAAC,OAA0C;QACnD,OAAO,OAAO,YAAY,mBAAa,CAAC;IAC1C,CAAC;IAED,YAAY,CACV,OAA0C,EAC1C,MAAmB;QAEnB,IAAI,WAAW,GAAmB,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC/D,IAAI,OAAY,CAAC;QACjB,IAAI,QAAgB,CAAC;QACrB,IAAI,IAAY,CAAC;QACjB,QAAQ,OAAO,CAAC,UAAU,EAAE;YAC1B,KAAK,gBAAU,CAAC,iBAAiB;gBAC/B,QAAQ,GAAG,GAAG,kBAAY,CAAC,oBAAoB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;gBAC3E,IAAI,GAAG,KAAK,CAAC;gBACb,MAAM;YACR,KAAK,gBAAU,CAAC,6BAA6B;gBAC3C,IAAI,OAAO,EAAE,aAAa,EAAE,aAAa,YAAY,oBAAc,EAAE;oBACnE,QAAQ,GAAG,GAAG,kBAAY,CAAC,wBAAwB,SAAS,CAAC;oBAC7D,IAAI,GAAG,MAAM,CAAC;oBAEd,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,EAAE,aAAa,CAAC;oBAC3D,MAAM,IAAI,GAAG;wBACX,MAAM,EAAE,aAAa,CAAC,MAAM;wBAC5B,YAAY,EAAE,aAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC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,UAAU,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,QAAQ,CAAC;QACzD,WAAW,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,eAAe,CAAC;QACjE,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,iBAAiB,CAAC;QAChE,WAAW,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,SAAS;YAChE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC7D,CAAC,CAAC,IAAI,CAAC;QACT,WAAW,CAAC,iBAAiB,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO;YAC5D,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC3D,CAAC,CAAC,IAAI,CAAC;QAET,OAAO,WAAW,CAAC;IACrB,CAAC;IAEM,oBAAoB,CAAC,WAAmB,EAAE,MAAmB;QAClE,iDAAiD;QACjD,WAAW,CAAC;QACZ,MAAM,CAAC;IACT,CAAC;IAEM,cAAc,CAAC,OAA0C;QAC9D,OAAO;YACL,IAAI,EAAE,OAAO,CAAC,IAAI;YAClB,SAAS,EAAE,OAAO,CAAC,QAAQ;SAC5B,CAAC;IACJ,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"GpApiReportRequestBuilder.js","sourceRoot":"","sources":["../../../../../src/Builders/RequestBuilder/GpApi/GpApiReportRequestBuilder.ts"],"names":[],"mappings":";;;AACA,yCAUyB;AAEzB,MAAa,yBAAyB;IACpC,UAAU,CAAC,OAA0C;QACnD,OAAO,OAAO,YAAY,mBAAa,CAAC;IAC1C,CAAC;IAED,YAAY,CACV,OAA0C,EAC1C,MAAmB;QAEnB,IAAI,WAAW,GAAmB,IAAI,CAAC,cAAc,CA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KAAK,IAAI,GAAG,EAAE,CAAC;IACnC,CAAC;CACF;AAtTD,8DAsTC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReportType, SearchCriteriaBuilder, SortDirection, StoredPaymentMethodSortProperty, TransactionSortProperty } from "../";
|
|
1
|
+
import { DepositSortProperty, DisputeSortProperty, ReportType, SearchCriteriaBuilder, SortDirection, StoredPaymentMethodSortProperty, TransactionSortProperty } from "../";
|
|
2
2
|
import { ReportBuilder } from "./ReportBuilder";
|
|
3
3
|
import { IDictionary } from "./BaseBuilder";
|
|
4
4
|
export declare class TransactionReportBuilder<T> extends ReportBuilder<T> {
|
|
@@ -7,13 +7,18 @@ export declare class TransactionReportBuilder<T> extends ReportBuilder<T> {
|
|
|
7
7
|
startDate: Date;
|
|
8
8
|
transactionId: string;
|
|
9
9
|
searchCriteria: IDictionary<string>;
|
|
10
|
+
depositOrderBy: DepositSortProperty;
|
|
11
|
+
disputeOrderBy: DisputeSortProperty;
|
|
10
12
|
constructor(type: ReportType);
|
|
11
13
|
setupValidations(): void;
|
|
12
14
|
withDeviceId(deviceId?: string): this;
|
|
15
|
+
withDisputeId(disputeId?: string | null): this;
|
|
13
16
|
withEndDate(endDate?: Date): this;
|
|
14
17
|
withStartDate(startDate?: Date): this;
|
|
15
18
|
withStoredPaymentMethodId(storedPaymentMethodId?: string): this;
|
|
16
19
|
withTransactionId(transactionId?: string): this;
|
|
20
|
+
withDepositId(depositId: string): this;
|
|
21
|
+
withSettlementDisputeId(settlementDisputeId: string): this;
|
|
17
22
|
where(criteria: string, value: any): SearchCriteriaBuilder<T>;
|
|
18
|
-
orderBy(sortProperty: StoredPaymentMethodSortProperty | TransactionSortProperty, sortDirection?: SortDirection): this;
|
|
23
|
+
orderBy(sortProperty: StoredPaymentMethodSortProperty | TransactionSortProperty | DepositSortProperty | DisputeSortProperty, sortDirection?: SortDirection): this;
|
|
19
24
|
}
|
|
@@ -9,6 +9,8 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
9
9
|
startDate;
|
|
10
10
|
transactionId;
|
|
11
11
|
searchCriteria;
|
|
12
|
+
depositOrderBy;
|
|
13
|
+
disputeOrderBy;
|
|
12
14
|
constructor(type) {
|
|
13
15
|
super(type);
|
|
14
16
|
this.searchBuilder = new __1.SearchCriteriaBuilder(this);
|
|
@@ -30,6 +32,12 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
30
32
|
.of("reportType", __1.ReportType.Activity)
|
|
31
33
|
.check("transactionId")
|
|
32
34
|
.isNull();
|
|
35
|
+
this.validations
|
|
36
|
+
.of("reportType", __1.ReportType.DocumentDisputeDetail)
|
|
37
|
+
.check("searchBuilder.disputeDocumentId")
|
|
38
|
+
.isNotNull()
|
|
39
|
+
.check("searchBuilder.disputeId")
|
|
40
|
+
.isNotNull();
|
|
33
41
|
}
|
|
34
42
|
withDeviceId(deviceId) {
|
|
35
43
|
if (deviceId !== undefined) {
|
|
@@ -37,6 +45,10 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
37
45
|
}
|
|
38
46
|
return this;
|
|
39
47
|
}
|
|
48
|
+
withDisputeId(disputeId) {
|
|
49
|
+
this.searchBuilder.disputeId = disputeId;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
40
52
|
withEndDate(endDate) {
|
|
41
53
|
if (endDate !== undefined) {
|
|
42
54
|
this.endDate = endDate;
|
|
@@ -61,6 +73,14 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
61
73
|
}
|
|
62
74
|
return this;
|
|
63
75
|
}
|
|
76
|
+
withDepositId(depositId) {
|
|
77
|
+
this.searchBuilder.depositId = depositId;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
withSettlementDisputeId(settlementDisputeId) {
|
|
81
|
+
this.searchBuilder.settlementDisputeId = settlementDisputeId;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
64
84
|
where(criteria, value) {
|
|
65
85
|
if (criteria !== undefined && value !== undefined) {
|
|
66
86
|
if (this.searchCriteria == undefined) {
|
|
@@ -82,6 +102,14 @@ class TransactionReportBuilder extends ReportBuilder_1.ReportBuilder {
|
|
|
82
102
|
case __1.ReportType.FindSettlementTransactionsPaged:
|
|
83
103
|
this.transactionOrderBy = sortProperty;
|
|
84
104
|
break;
|
|
105
|
+
case __1.ReportType.FindDeposits:
|
|
106
|
+
case __1.ReportType.FindDepositsPaged:
|
|
107
|
+
this.depositOrderBy = sortProperty;
|
|
108
|
+
break;
|
|
109
|
+
case __1.ReportType.FindDisputesPaged:
|
|
110
|
+
case __1.ReportType.FindSettlementDisputesPaged:
|
|
111
|
+
this.disputeOrderBy = sortProperty;
|
|
112
|
+
break;
|
|
85
113
|
default:
|
|
86
114
|
throw new __1.NotImplementedError();
|
|
87
115
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionReportBuilder.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TransactionReportBuilder.js","sourceRoot":"","sources":["../../../src/Builders/TransactionReportBuilder.ts"],"names":[],"mappings":";;;AAAA,2BASa;AACb,mDAAgD;AAGhD,MAAa,wBAA4B,SAAQ,6BAAgB;IACxD,QAAQ,CAAS;IACjB,OAAO,CAAO;IACd,SAAS,CAAO;IAChB,aAAa,CAAS;IACtB,cAAc,CAAsB;IACpC,cAAc,CAAsB;IACpC,cAAc,CAAsB;IAE3C,YAAY,IAAgB;QAC1B,KAAK,CAAC,IAAI,CAAC,CAAC;QACZ,IAAI,CAAC,aAAa,GAAG,IAAI,yBAAqB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAEM,gBAAgB;QACrB,IAAI,CAAC,WAAW;aACb,EAAE,CAAC,YAAY,EAAE,cAAU,CAAC,iBAAiB,CAAC;aAC9C,KAAK,CAAC,eAAe,CAAC;aACtB,SAAS,EAAE;aACX,K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AAU,CAAC,iBAAiB;gBAC/B,IAAI,CAAC,cAAc,GAAG,YAAmC,CAAC;gBAC1D,MAAM;YACR,KAAK,cAAU,CAAC,iBAAiB,CAAC;YAClC,KAAK,cAAU,CAAC,2BAA2B;gBACzC,IAAI,CAAC,cAAc,GAAG,YAAmC,CAAC;gBAC1D,MAAM;YACR;gBACE,MAAM,IAAI,uBAAmB,EAAE,CAAC;SACnC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AA1ID,4DA0IC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisputeDocument = void 0;
|
|
4
|
+
const Document_1 = require("./Document");
|
|
5
|
+
class DisputeDocument extends Document_1.Document {
|
|
6
|
+
type;
|
|
7
|
+
b64_content;
|
|
8
|
+
}
|
|
9
|
+
exports.DisputeDocument = DisputeDocument;
|
|
10
|
+
//# sourceMappingURL=DisputeDocument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeDocument.js","sourceRoot":"","sources":["../../../src/Entities/DisputeDocument.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,eAAgB,SAAQ,mBAAQ;IACpC,IAAI,CAAS;IACb,WAAW,CAAS;CAC5B;AAHD,0CAGC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DocumentCategory } from "./Enums/DocumentCategory";
|
|
2
|
+
import { FileType } from "./Enums/FileType";
|
|
3
|
+
export declare class Document {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
status: string;
|
|
7
|
+
timeCreated: string;
|
|
8
|
+
format: FileType;
|
|
9
|
+
category: DocumentCategory;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Document = void 0;
|
|
4
|
+
class Document {
|
|
5
|
+
id;
|
|
6
|
+
name;
|
|
7
|
+
status;
|
|
8
|
+
timeCreated;
|
|
9
|
+
format;
|
|
10
|
+
category;
|
|
11
|
+
}
|
|
12
|
+
exports.Document = Document;
|
|
13
|
+
//# sourceMappingURL=Document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Document.js","sourceRoot":"","sources":["../../../src/Entities/Document.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;IACZ,EAAE,CAAS;IACX,IAAI,CAAS;IACb,MAAM,CAAS;IACf,WAAW,CAAS;IACpB,MAAM,CAAW;IACjB,QAAQ,CAAmB;CACnC;AAPD,4BAOC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DepositSortProperty = void 0;
|
|
4
|
+
var DepositSortProperty;
|
|
5
|
+
(function (DepositSortProperty) {
|
|
6
|
+
DepositSortProperty["TimeCreated"] = "TIME_CREATED";
|
|
7
|
+
DepositSortProperty["Status"] = "STATUS";
|
|
8
|
+
DepositSortProperty["Type"] = "TYPE";
|
|
9
|
+
DepositSortProperty["DepositId"] = "DEPOSIT_ID";
|
|
10
|
+
})(DepositSortProperty || (exports.DepositSortProperty = DepositSortProperty = {}));
|
|
11
|
+
//# sourceMappingURL=DepositSortProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositSortProperty.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/DepositSortProperty.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,mDAA4B,CAAA;IAC5B,wCAAiB,CAAA;IACjB,oCAAa,CAAA;IACb,+CAAwB,CAAA;AAC1B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare enum DisputeSortProperty {
|
|
2
|
+
Id = "id",
|
|
3
|
+
Arn = "arn",
|
|
4
|
+
Brand = "brand",
|
|
5
|
+
Status = "status",
|
|
6
|
+
Stage = "stage",
|
|
7
|
+
FromStageTimeCreated = "from_stage_time_created",
|
|
8
|
+
ToStageTimeCreated = "to_stage_time_created",
|
|
9
|
+
AdjustmentFunding = "adjustment_funding",
|
|
10
|
+
FromAdjustmentTimeCreated = "from_adjustment_time_created",
|
|
11
|
+
ToAdjustmentTimeCreated = "to_adjustment_time_created"
|
|
12
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisputeSortProperty = void 0;
|
|
4
|
+
var DisputeSortProperty;
|
|
5
|
+
(function (DisputeSortProperty) {
|
|
6
|
+
DisputeSortProperty["Id"] = "id";
|
|
7
|
+
DisputeSortProperty["Arn"] = "arn";
|
|
8
|
+
DisputeSortProperty["Brand"] = "brand";
|
|
9
|
+
DisputeSortProperty["Status"] = "status";
|
|
10
|
+
DisputeSortProperty["Stage"] = "stage";
|
|
11
|
+
DisputeSortProperty["FromStageTimeCreated"] = "from_stage_time_created";
|
|
12
|
+
DisputeSortProperty["ToStageTimeCreated"] = "to_stage_time_created";
|
|
13
|
+
DisputeSortProperty["AdjustmentFunding"] = "adjustment_funding";
|
|
14
|
+
DisputeSortProperty["FromAdjustmentTimeCreated"] = "from_adjustment_time_created";
|
|
15
|
+
DisputeSortProperty["ToAdjustmentTimeCreated"] = "to_adjustment_time_created";
|
|
16
|
+
})(DisputeSortProperty || (exports.DisputeSortProperty = DisputeSortProperty = {}));
|
|
17
|
+
//# sourceMappingURL=DisputeSortProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeSortProperty.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/DisputeSortProperty.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAWX;AAXD,WAAY,mBAAmB;IAC7B,gCAAS,CAAA;IACT,kCAAW,CAAA;IACX,sCAAe,CAAA;IACf,wCAAiB,CAAA;IACjB,sCAAe,CAAA;IACf,uEAAgD,CAAA;IAChD,mEAA4C,CAAA;IAC5C,+DAAwC,CAAA;IACxC,iFAA0D,CAAA;IAC1D,6EAAsD,CAAA;AACxD,CAAC,EAXW,mBAAmB,mCAAnB,mBAAmB,QAW9B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum DisputeStage {
|
|
2
|
+
Retrieval = "RETRIEVAL",
|
|
3
|
+
Chargeback = "CHARGEBACK",
|
|
4
|
+
Reversal = "REVERSAL",
|
|
5
|
+
SecondChargeback = "SECOND_CHARGEBACK",
|
|
6
|
+
PreArbitration = "PRE_ARBITRATION",
|
|
7
|
+
Arbitration = "ARBITRATION",
|
|
8
|
+
PreCompliance = "PRE_COMPLIANCE",
|
|
9
|
+
Compliance = "COMPLIANCE",
|
|
10
|
+
Goodfaith = "GOODFAITH"
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisputeStage = void 0;
|
|
4
|
+
var DisputeStage;
|
|
5
|
+
(function (DisputeStage) {
|
|
6
|
+
DisputeStage["Retrieval"] = "RETRIEVAL";
|
|
7
|
+
DisputeStage["Chargeback"] = "CHARGEBACK";
|
|
8
|
+
DisputeStage["Reversal"] = "REVERSAL";
|
|
9
|
+
DisputeStage["SecondChargeback"] = "SECOND_CHARGEBACK";
|
|
10
|
+
DisputeStage["PreArbitration"] = "PRE_ARBITRATION";
|
|
11
|
+
DisputeStage["Arbitration"] = "ARBITRATION";
|
|
12
|
+
DisputeStage["PreCompliance"] = "PRE_COMPLIANCE";
|
|
13
|
+
DisputeStage["Compliance"] = "COMPLIANCE";
|
|
14
|
+
DisputeStage["Goodfaith"] = "GOODFAITH";
|
|
15
|
+
})(DisputeStage || (exports.DisputeStage = DisputeStage = {}));
|
|
16
|
+
//# sourceMappingURL=DisputeStage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeStage.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/DisputeStage.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,yCAAyB,CAAA;IACzB,qCAAqB,CAAA;IACrB,sDAAsC,CAAA;IACtC,kDAAkC,CAAA;IAClC,2CAA2B,CAAA;IAC3B,gDAAgC,CAAA;IAChC,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;AACzB,CAAC,EAVW,YAAY,4BAAZ,YAAY,QAUvB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisputeStatus = void 0;
|
|
4
|
+
var DisputeStatus;
|
|
5
|
+
(function (DisputeStatus) {
|
|
6
|
+
DisputeStatus["UnderReview"] = "UNDER_REVIEW";
|
|
7
|
+
DisputeStatus["WithMerchant"] = "WITH_MERCHANT";
|
|
8
|
+
DisputeStatus["Closed"] = "CLOSED";
|
|
9
|
+
DisputeStatus["SettleDisputeFunded"] = "FUNDED";
|
|
10
|
+
DisputeStatus["SettleDisputeDelayed"] = "DELAYED";
|
|
11
|
+
})(DisputeStatus || (exports.DisputeStatus = DisputeStatus = {}));
|
|
12
|
+
//# sourceMappingURL=DisputeStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DisputeStatus.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/DisputeStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,6CAA4B,CAAA;IAC5B,+CAA8B,CAAA;IAC9B,kCAAiB,CAAA;IACjB,+CAA8B,CAAA;IAC9B,iDAAgC,CAAA;AAClC,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DocumentCategory = void 0;
|
|
4
|
+
var DocumentCategory;
|
|
5
|
+
(function (DocumentCategory) {
|
|
6
|
+
DocumentCategory["IdentityVerification"] = "IDENTITY_VERIFICATION";
|
|
7
|
+
DocumentCategory["RiskReview"] = "RISK_REVIEW";
|
|
8
|
+
DocumentCategory["Underwriting"] = "UNDERWRITING";
|
|
9
|
+
})(DocumentCategory || (exports.DocumentCategory = DocumentCategory = {}));
|
|
10
|
+
//# sourceMappingURL=DocumentCategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentCategory.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/DocumentCategory.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,kEAA8C,CAAA;IAC9C,8CAA0B,CAAA;IAC1B,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FileType = void 0;
|
|
4
|
+
var FileType;
|
|
5
|
+
(function (FileType) {
|
|
6
|
+
FileType["TIF"] = "TIF";
|
|
7
|
+
FileType["TIFF"] = "TIFF";
|
|
8
|
+
FileType["PDF"] = "PDF";
|
|
9
|
+
FileType["BMP"] = "BMP";
|
|
10
|
+
FileType["JPEG"] = "JPEG";
|
|
11
|
+
FileType["GIF"] = "GIF";
|
|
12
|
+
FileType["PNG"] = "PNG";
|
|
13
|
+
FileType["DOC"] = "DOC";
|
|
14
|
+
FileType["DOCX"] = "DOCX";
|
|
15
|
+
})(FileType || (exports.FileType = FileType = {}));
|
|
16
|
+
//# sourceMappingURL=FileType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileType.js","sourceRoot":"","sources":["../../../../src/Entities/Enums/FileType.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,yBAAa,CAAA;AACf,CAAC,EAVW,QAAQ,wBAAR,QAAQ,QAUnB"}
|
|
@@ -485,14 +485,20 @@ export declare enum ReportType {
|
|
|
485
485
|
Activity = 2,
|
|
486
486
|
BatchDetail = 4,
|
|
487
487
|
BatchHistory = 8,
|
|
488
|
+
DocumentDisputeDetail = 8,
|
|
488
489
|
BatchSummary = 16,
|
|
489
490
|
OpenAuths = 32,
|
|
490
491
|
Search = 64,
|
|
491
492
|
TransactionDetail = 128,
|
|
493
|
+
FindDeposits = 256,
|
|
492
494
|
DepositDetail = 2048,
|
|
495
|
+
DisputeDetail = 4096,
|
|
496
|
+
SettlementDisputeDetail = 8192,
|
|
493
497
|
FindTransactionsPaged = 32768,
|
|
494
498
|
FindSettlementTransactionsPaged = 65536,
|
|
495
499
|
FindDepositsPaged = 131072,
|
|
500
|
+
FindDisputesPaged = 262144,
|
|
501
|
+
FindSettlementDisputesPaged = 524288,
|
|
496
502
|
FindStoredPaymentMethodsPaged = 1048576,
|
|
497
503
|
StoredPaymentMethodDetail = 2097152
|
|
498
504
|
}
|
|
@@ -773,6 +779,8 @@ export declare enum TransactionType {
|
|
|
773
779
|
AddCardFlashFunds = 1048576,
|
|
774
780
|
Detokenize = 1048576,
|
|
775
781
|
PushMoneyFlashFunds = 2097152,
|
|
782
|
+
DisputeAcceptance = 2097152,
|
|
783
|
+
DisputeChallenge = 4194304,
|
|
776
784
|
DisburseFunds = 4194304,
|
|
777
785
|
SpendBack = 8388608,
|
|
778
786
|
ReverseSplitPay = 16777216,
|
|
@@ -597,14 +597,20 @@ var ReportType;
|
|
|
597
597
|
ReportType[ReportType["Activity"] = 2] = "Activity";
|
|
598
598
|
ReportType[ReportType["BatchDetail"] = 4] = "BatchDetail";
|
|
599
599
|
ReportType[ReportType["BatchHistory"] = 8] = "BatchHistory";
|
|
600
|
+
ReportType[ReportType["DocumentDisputeDetail"] = 8] = "DocumentDisputeDetail";
|
|
600
601
|
ReportType[ReportType["BatchSummary"] = 16] = "BatchSummary";
|
|
601
602
|
ReportType[ReportType["OpenAuths"] = 32] = "OpenAuths";
|
|
602
603
|
ReportType[ReportType["Search"] = 64] = "Search";
|
|
603
604
|
ReportType[ReportType["TransactionDetail"] = 128] = "TransactionDetail";
|
|
605
|
+
ReportType[ReportType["FindDeposits"] = 256] = "FindDeposits";
|
|
604
606
|
ReportType[ReportType["DepositDetail"] = 2048] = "DepositDetail";
|
|
607
|
+
ReportType[ReportType["DisputeDetail"] = 4096] = "DisputeDetail";
|
|
608
|
+
ReportType[ReportType["SettlementDisputeDetail"] = 8192] = "SettlementDisputeDetail";
|
|
605
609
|
ReportType[ReportType["FindTransactionsPaged"] = 32768] = "FindTransactionsPaged";
|
|
606
610
|
ReportType[ReportType["FindSettlementTransactionsPaged"] = 65536] = "FindSettlementTransactionsPaged";
|
|
607
611
|
ReportType[ReportType["FindDepositsPaged"] = 131072] = "FindDepositsPaged";
|
|
612
|
+
ReportType[ReportType["FindDisputesPaged"] = 262144] = "FindDisputesPaged";
|
|
613
|
+
ReportType[ReportType["FindSettlementDisputesPaged"] = 524288] = "FindSettlementDisputesPaged";
|
|
608
614
|
ReportType[ReportType["FindStoredPaymentMethodsPaged"] = 1048576] = "FindStoredPaymentMethodsPaged";
|
|
609
615
|
ReportType[ReportType["StoredPaymentMethodDetail"] = 2097152] = "StoredPaymentMethodDetail";
|
|
610
616
|
})(ReportType || (exports.ReportType = ReportType = {}));
|
|
@@ -950,6 +956,8 @@ var TransactionType;
|
|
|
950
956
|
/// ProPay: Move money out via Flash Funds
|
|
951
957
|
/// </summary>
|
|
952
958
|
TransactionType[TransactionType["PushMoneyFlashFunds"] = 2097152] = "PushMoneyFlashFunds";
|
|
959
|
+
TransactionType[TransactionType["DisputeAcceptance"] = 2097152] = "DisputeAcceptance";
|
|
960
|
+
TransactionType[TransactionType["DisputeChallenge"] = 4194304] = "DisputeChallenge";
|
|
953
961
|
/// <summary>
|
|
954
962
|
/// ProPay: Disburse funds to a ProPay account
|
|
955
963
|
/// </summary>
|