@payabli/sdk-node 0.0.117 → 0.0.126
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/README.md +25 -13
- package/dist/cjs/BaseClient.d.ts +7 -7
- package/dist/cjs/BaseClient.js +3 -1
- package/dist/cjs/Client.d.ts +1 -2
- package/dist/cjs/api/errors/BadRequestError.js +5 -1
- package/dist/cjs/api/errors/ConflictError.js +5 -1
- package/dist/cjs/api/errors/ForbiddenError.js +5 -1
- package/dist/cjs/api/errors/InternalServerError.js +5 -1
- package/dist/cjs/api/errors/ServiceUnavailableError.js +5 -1
- package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
- package/dist/cjs/api/resources/bill/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +2 -1
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/customer/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/export/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/export/client/Client.js +5 -21
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/import/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/import/client/Client.js +5 -21
- package/dist/cjs/api/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/index.js +4 -1
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +6 -5
- package/dist/cjs/api/resources/invoice/client/Client.js +5 -3
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +5 -3
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/lineItem/client/Client.js +5 -21
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +248 -4
- package/dist/cjs/api/resources/moneyIn/client/Client.js +518 -2
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +31 -0
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +99 -0
- package/dist/cjs/api/resources/moneyIn/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +5 -1
- package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.js +5 -1
- package/dist/cjs/api/resources/moneyIn/types/AuthResponseResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/GetPaidResponseData.d.ts +3 -3
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.d.ts +7 -3
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/VoidResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +1 -2
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +2 -2
- package/dist/cjs/api/resources/notification/client/Client.d.ts +14 -7
- package/dist/cjs/api/resources/notification/client/Client.js +18 -21
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +5 -21
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/ocr/client/Client.js +5 -21
- package/dist/cjs/api/resources/organization/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/organization/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +4 -10
- package/dist/cjs/api/resources/paymentLink/client/Client.js +8 -24
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +2 -2
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +5 -21
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/paypoint/client/Client.js +5 -21
- package/dist/cjs/api/resources/query/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/query/client/Client.js +5 -21
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +158 -0
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/statistic/client/Client.js +5 -21
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/subscription/client/Client.js +5 -21
- package/dist/cjs/api/resources/templates/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/templates/client/Client.js +5 -21
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +52 -7
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +56 -21
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +23 -0
- package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.d.ts +6 -0
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +22 -0
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +101 -1
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStorage.d.ts +1 -0
- package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.d.ts +9 -0
- package/dist/cjs/api/resources/tokenStorage/types/VendorDataRequest.js +3 -0
- package/dist/cjs/api/resources/tokenStorage/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/tokenStorage/types/index.js +1 -0
- package/dist/cjs/api/resources/user/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/user/client/Client.js +5 -21
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.ts +6 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.js +54 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.d.ts +9 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/errors/index.js +25 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/index.d.ts +2 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/index.js +18 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.ts +22 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.ts +9 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +761 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.ts +21 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2InternalServerError.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseAction.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.ts +4 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseReason.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.ts +65 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +1003 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.ts +13 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.js +3 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/index.d.ts +11 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/index.js +27 -0
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -21
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +1 -7
- package/dist/cjs/api/resources/wallet/client/Client.js +5 -21
- package/dist/cjs/api/types/ApplicationData.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataManaged.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataOdp.d.ts +1 -0
- package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +1 -0
- package/dist/cjs/api/types/{Avsresponsetext.d.ts → AvsResponse.d.ts} +1 -1
- package/dist/cjs/api/types/AvsResponse.js +3 -0
- package/dist/{esm/api/types/Avsresponsetext.d.mts → cjs/api/types/AvsResponseText.d.ts} +1 -1
- package/dist/cjs/api/types/AvsResponseText.js +3 -0
- package/dist/cjs/api/types/CustomerVaultId.d.ts +1 -0
- package/dist/cjs/api/types/CustomerVaultId.js +3 -0
- package/dist/cjs/api/types/{Cvvresponsetext.d.ts → CvvResponse.d.ts} +1 -1
- package/dist/cjs/api/types/CvvResponse.js +3 -0
- package/dist/{esm/api/types/Cvvresponsetext.d.mts → cjs/api/types/CvvResponseText.d.ts} +1 -1
- package/dist/cjs/api/types/CvvResponseText.js +3 -0
- package/dist/cjs/api/types/EmvAuthResponseData.d.ts +4 -0
- package/dist/cjs/api/types/EmvAuthResponseData.js +3 -0
- package/dist/cjs/api/types/Frequency.d.ts +1 -1
- package/dist/cjs/api/types/Frequency.js +1 -1
- package/dist/cjs/api/types/FrequencyList.d.ts +1 -1
- package/dist/cjs/api/types/MaxTicket.d.ts +4 -0
- package/dist/cjs/api/types/MaxTicket.js +3 -0
- package/dist/cjs/api/types/MinTicket.d.ts +4 -0
- package/dist/cjs/api/types/MinTicket.js +3 -0
- package/dist/cjs/api/types/OnCreate.d.ts +4 -0
- package/dist/cjs/api/types/OnCreate.js +3 -0
- package/dist/cjs/api/types/PayabliApiResponse0.d.ts +2 -2
- package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +2 -2
- package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +3 -2
- package/dist/cjs/api/types/PayorDataResponse.d.ts +1 -1
- package/dist/cjs/api/types/QueryResponseData.d.ts +41 -10
- package/dist/cjs/api/types/QueryResponseSettlements.d.ts +134 -0
- package/dist/cjs/api/types/QuerySubscriptionResponse.d.ts +1 -1
- package/dist/cjs/api/types/QueryTransactionPayorData.d.ts +1 -1
- package/dist/cjs/api/types/ResultCodeText.d.ts +4 -0
- package/dist/cjs/api/types/ResultCodeText.js +3 -0
- package/dist/cjs/api/types/ResultCodev2.d.ts +4 -0
- package/dist/cjs/api/types/ResultCodev2.js +3 -0
- package/dist/cjs/api/types/index.d.ts +11 -2
- package/dist/cjs/api/types/index.js +11 -2
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +4 -2
- package/dist/cjs/errors/PayabliError.js +5 -1
- package/dist/cjs/errors/PayabliTimeoutError.js +5 -1
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/esm/BaseClient.d.mts +7 -7
- package/dist/esm/BaseClient.mjs +3 -1
- package/dist/esm/Client.d.mts +1 -2
- package/dist/esm/api/errors/BadRequestError.mjs +5 -1
- package/dist/esm/api/errors/ConflictError.mjs +5 -1
- package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
- package/dist/esm/api/errors/InternalServerError.mjs +5 -1
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +5 -1
- package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
- package/dist/esm/api/resources/bill/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +2 -1
- package/dist/esm/api/resources/boarding/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/cloud/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/customer/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/export/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/export/client/Client.mjs +5 -21
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/import/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/import/client/Client.mjs +5 -21
- package/dist/esm/api/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/index.mjs +3 -0
- package/dist/esm/api/resources/invoice/client/Client.d.mts +6 -5
- package/dist/esm/api/resources/invoice/client/Client.mjs +5 -3
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +5 -3
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -21
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +248 -4
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +518 -2
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +31 -0
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +99 -0
- package/dist/esm/api/resources/moneyIn/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +5 -1
- package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.mjs +5 -1
- package/dist/esm/api/resources/moneyIn/types/AuthResponseResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/CaptureResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/GetPaidResponseData.d.mts +3 -3
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.d.mts +7 -3
- package/dist/esm/api/resources/moneyIn/types/ValidateResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/VoidResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +1 -2
- package/dist/esm/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +2 -2
- package/dist/esm/api/resources/notification/client/Client.d.mts +14 -7
- package/dist/esm/api/resources/notification/client/Client.mjs +18 -21
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +5 -21
- package/dist/esm/api/resources/ocr/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/ocr/client/Client.mjs +5 -21
- package/dist/esm/api/resources/organization/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +4 -10
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +8 -24
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +2 -2
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/paypoint/client/Client.mjs +5 -21
- package/dist/esm/api/resources/query/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/query/client/Client.mjs +5 -21
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +158 -0
- package/dist/esm/api/resources/statistic/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/statistic/client/Client.mjs +5 -21
- package/dist/esm/api/resources/subscription/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/subscription/client/Client.mjs +5 -21
- package/dist/esm/api/resources/templates/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/templates/client/Client.mjs +5 -21
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +52 -7
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +56 -21
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +23 -0
- package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.d.mts +6 -0
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +22 -0
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +101 -1
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStorage.d.mts +1 -0
- package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.d.mts +9 -0
- package/dist/esm/api/resources/tokenStorage/types/VendorDataRequest.mjs +2 -0
- package/dist/esm/api/resources/tokenStorage/types/index.d.mts +1 -0
- package/dist/esm/api/resources/tokenStorage/types/index.mjs +1 -0
- package/dist/esm/api/resources/user/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/user/client/Client.mjs +5 -21
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestAuthResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestCaptureResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestRefundResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/BadRequestVoidResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedAuthResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedCaptureResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedRefundResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/DeclinedVoidResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.d.mts +6 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/InternalServerResponseErrorV2.mjs +17 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/index.d.mts +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/errors/index.mjs +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/index.d.mts +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/index.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.mts +22 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.d.mts +9 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestErrorDetail.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +761 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.d.mts +21 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2InternalServerError.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseAction.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseExplanation.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.d.mts +4 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseReason.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.d.mts +65 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetailResponseData.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +1003 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.d.mts +13 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionResponseWrapper.mjs +2 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/index.d.mts +11 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/index.mjs +11 -0
- package/dist/esm/api/resources/vendor/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -21
- package/dist/esm/api/resources/wallet/client/Client.d.mts +1 -7
- package/dist/esm/api/resources/wallet/client/Client.mjs +5 -21
- package/dist/esm/api/types/ApplicationData.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataManaged.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataOdp.d.mts +1 -0
- package/dist/esm/api/types/ApplicationDataPayIn.d.mts +1 -0
- package/dist/esm/api/types/AvsResponse.d.mts +4 -0
- package/dist/esm/api/types/AvsResponse.mjs +2 -0
- package/dist/esm/api/types/AvsResponseText.d.mts +4 -0
- package/dist/esm/api/types/AvsResponseText.mjs +2 -0
- package/dist/esm/api/types/CustomerVaultId.d.mts +1 -0
- package/dist/esm/api/types/CustomerVaultId.mjs +2 -0
- package/dist/esm/api/types/CvvResponse.d.mts +4 -0
- package/dist/esm/api/types/CvvResponse.mjs +2 -0
- package/dist/esm/api/types/CvvResponseText.d.mts +4 -0
- package/dist/esm/api/types/CvvResponseText.mjs +2 -0
- package/dist/esm/api/types/EmvAuthResponseData.d.mts +4 -0
- package/dist/esm/api/types/EmvAuthResponseData.mjs +2 -0
- package/dist/esm/api/types/Frequency.d.mts +1 -1
- package/dist/esm/api/types/Frequency.mjs +1 -1
- package/dist/esm/api/types/FrequencyList.d.mts +1 -1
- package/dist/esm/api/types/MaxTicket.d.mts +4 -0
- package/dist/esm/api/types/MaxTicket.mjs +2 -0
- package/dist/esm/api/types/MinTicket.d.mts +4 -0
- package/dist/esm/api/types/MinTicket.mjs +2 -0
- package/dist/esm/api/types/OnCreate.d.mts +4 -0
- package/dist/esm/api/types/OnCreate.mjs +2 -0
- package/dist/esm/api/types/PayabliApiResponse0.d.mts +2 -2
- package/dist/esm/api/types/PayabliApiResponse0000.d.mts +2 -2
- package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +3 -2
- package/dist/esm/api/types/PayorDataResponse.d.mts +1 -1
- package/dist/esm/api/types/QueryResponseData.d.mts +41 -10
- package/dist/esm/api/types/QueryResponseSettlements.d.mts +134 -0
- package/dist/esm/api/types/QuerySubscriptionResponse.d.mts +1 -1
- package/dist/esm/api/types/QueryTransactionPayorData.d.mts +1 -1
- package/dist/esm/api/types/ResultCodeText.d.mts +4 -0
- package/dist/esm/api/types/ResultCodeText.mjs +2 -0
- package/dist/esm/api/types/ResultCodev2.d.mts +4 -0
- package/dist/esm/api/types/ResultCodev2.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +11 -2
- package/dist/esm/api/types/index.mjs +11 -2
- package/dist/esm/auth/HeaderAuthProvider.d.mts +4 -2
- package/dist/esm/errors/PayabliError.mjs +5 -1
- package/dist/esm/errors/PayabliTimeoutError.mjs +5 -1
- package/dist/esm/version.d.mts +1 -0
- package/dist/esm/version.mjs +1 -0
- package/package.json +7 -4
- package/reference.md +475 -8
- /package/dist/cjs/api/{types/Avsresponsetext.js → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.js} +0 -0
- /package/dist/cjs/api/{types/Cvvresponsetext.js → resources/moneyIn/client/requests/RequestPaymentV2.js} +0 -0
- /package/dist/esm/api/{types/Avsresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.mjs} +0 -0
- /package/dist/esm/api/{types/Cvvresponsetext.mjs → resources/moneyIn/client/requests/RequestPaymentV2.mjs} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Standard response wrapper for v2 Money In transaction endpoints. All v2 transaction endpoints return responses in this format with consistent `code`, `reason`, `explanation`, and `action` fields. The `data` field contains transaction details.
|
|
4
|
+
*/
|
|
5
|
+
export interface V2TransactionResponseWrapper {
|
|
6
|
+
code: Payabli.V2ResponseCode;
|
|
7
|
+
reason: Payabli.V2ResponseReason;
|
|
8
|
+
explanation: Payabli.V2ResponseExplanation;
|
|
9
|
+
action: Payabli.V2ResponseAction;
|
|
10
|
+
data: Payabli.V2TransactionDetails;
|
|
11
|
+
/** Pagination token (equivalent to `pageIdentifier` in v1 APIs). Returns `null` when pagination is not applicable. */
|
|
12
|
+
token: string | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./V2BadRequestError.mjs";
|
|
2
|
+
export * from "./V2BadRequestErrorDetail.mjs";
|
|
3
|
+
export * from "./V2DeclinedTransactionResponseWrapper.mjs";
|
|
4
|
+
export * from "./V2InternalServerError.mjs";
|
|
5
|
+
export * from "./V2ResponseAction.mjs";
|
|
6
|
+
export * from "./V2ResponseCode.mjs";
|
|
7
|
+
export * from "./V2ResponseExplanation.mjs";
|
|
8
|
+
export * from "./V2ResponseReason.mjs";
|
|
9
|
+
export * from "./V2TransactionDetailResponseData.mjs";
|
|
10
|
+
export * from "./V2TransactionDetails.mjs";
|
|
11
|
+
export * from "./V2TransactionResponseWrapper.mjs";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./V2BadRequestError.mjs";
|
|
2
|
+
export * from "./V2BadRequestErrorDetail.mjs";
|
|
3
|
+
export * from "./V2DeclinedTransactionResponseWrapper.mjs";
|
|
4
|
+
export * from "./V2InternalServerError.mjs";
|
|
5
|
+
export * from "./V2ResponseAction.mjs";
|
|
6
|
+
export * from "./V2ResponseCode.mjs";
|
|
7
|
+
export * from "./V2ResponseExplanation.mjs";
|
|
8
|
+
export * from "./V2ResponseReason.mjs";
|
|
9
|
+
export * from "./V2TransactionDetailResponseData.mjs";
|
|
10
|
+
export * from "./V2TransactionDetails.mjs";
|
|
11
|
+
export * from "./V2TransactionResponseWrapper.mjs";
|
|
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Payabli from "../../../index.mjs";
|
|
5
5
|
export declare namespace VendorClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -112,11 +111,6 @@ export declare class VendorClient {
|
|
|
112
111
|
* @param {number} idVendor - Vendor ID.
|
|
113
112
|
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
113
|
*
|
|
115
|
-
* @throws {@link Payabli.BadRequestError}
|
|
116
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
117
|
-
* @throws {@link Payabli.InternalServerError}
|
|
118
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
119
|
-
*
|
|
120
114
|
* @example
|
|
121
115
|
* await client.vendor.getVendor(1)
|
|
122
116
|
*/
|
|
@@ -249,11 +249,6 @@ export class VendorClient {
|
|
|
249
249
|
* @param {number} idVendor - Vendor ID.
|
|
250
250
|
* @param {VendorClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
251
251
|
*
|
|
252
|
-
* @throws {@link Payabli.BadRequestError}
|
|
253
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
254
|
-
* @throws {@link Payabli.InternalServerError}
|
|
255
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
256
|
-
*
|
|
257
252
|
* @example
|
|
258
253
|
* await client.vendor.getVendor(1)
|
|
259
254
|
*/
|
|
@@ -280,22 +275,11 @@ export class VendorClient {
|
|
|
280
275
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
281
276
|
}
|
|
282
277
|
if (_response.error.reason === "status-code") {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
case 500:
|
|
289
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
290
|
-
case 503:
|
|
291
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
292
|
-
default:
|
|
293
|
-
throw new errors.PayabliError({
|
|
294
|
-
statusCode: _response.error.statusCode,
|
|
295
|
-
body: _response.error.body,
|
|
296
|
-
rawResponse: _response.rawResponse,
|
|
297
|
-
});
|
|
298
|
-
}
|
|
278
|
+
throw new errors.PayabliError({
|
|
279
|
+
statusCode: _response.error.statusCode,
|
|
280
|
+
body: _response.error.body,
|
|
281
|
+
rawResponse: _response.rawResponse,
|
|
282
|
+
});
|
|
299
283
|
}
|
|
300
284
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Vendor/{idVendor}");
|
|
301
285
|
});
|
|
@@ -3,8 +3,7 @@ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs
|
|
|
3
3
|
import * as core from "../../../../core/index.mjs";
|
|
4
4
|
import * as Payabli from "../../../index.mjs";
|
|
5
5
|
export declare namespace WalletClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -76,11 +75,6 @@ export declare class WalletClient {
|
|
|
76
75
|
* @param {Payabli.ConfigurePaypointRequestGooglePay} request
|
|
77
76
|
* @param {WalletClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
78
77
|
*
|
|
79
|
-
* @throws {@link Payabli.BadRequestError}
|
|
80
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
81
|
-
* @throws {@link Payabli.InternalServerError}
|
|
82
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
83
|
-
*
|
|
84
78
|
* @example
|
|
85
79
|
* await client.wallet.configureGooglePayPaypoint({
|
|
86
80
|
* entry: "8cfec329267",
|
|
@@ -225,11 +225,6 @@ export class WalletClient {
|
|
|
225
225
|
* @param {Payabli.ConfigurePaypointRequestGooglePay} request
|
|
226
226
|
* @param {WalletClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
227
227
|
*
|
|
228
|
-
* @throws {@link Payabli.BadRequestError}
|
|
229
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
230
|
-
* @throws {@link Payabli.InternalServerError}
|
|
231
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
232
|
-
*
|
|
233
228
|
* @example
|
|
234
229
|
* await client.wallet.configureGooglePayPaypoint({
|
|
235
230
|
* entry: "8cfec329267",
|
|
@@ -265,22 +260,11 @@ export class WalletClient {
|
|
|
265
260
|
};
|
|
266
261
|
}
|
|
267
262
|
if (_response.error.reason === "status-code") {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
case 500:
|
|
274
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
275
|
-
case 503:
|
|
276
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
277
|
-
default:
|
|
278
|
-
throw new errors.PayabliError({
|
|
279
|
-
statusCode: _response.error.statusCode,
|
|
280
|
-
body: _response.error.body,
|
|
281
|
-
rawResponse: _response.rawResponse,
|
|
282
|
-
});
|
|
283
|
-
}
|
|
263
|
+
throw new errors.PayabliError({
|
|
264
|
+
statusCode: _response.error.statusCode,
|
|
265
|
+
body: _response.error.body,
|
|
266
|
+
rawResponse: _response.rawResponse,
|
|
267
|
+
});
|
|
284
268
|
}
|
|
285
269
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/Wallet/googlepay/configure-paypoint");
|
|
286
270
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type CustomerVaultId = string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Action to take when the application is created. The only currently supported option is `submitApplication`. Use this when you have collected eSignature elsewhere or are adding additional locations for an applicant, or when you want to submit an application via API with one call without using the hosted boarding UI or embedded boarding components
|
|
3
|
+
*/
|
|
4
|
+
export type OnCreate = string;
|
|
@@ -11,9 +11,9 @@ export interface PayabliApiResponse0 {
|
|
|
11
11
|
export declare namespace PayabliApiResponse0 {
|
|
12
12
|
interface ResponseData {
|
|
13
13
|
AuthCode?: Payabli.Authcode;
|
|
14
|
-
avsResponseText?: Payabli.
|
|
14
|
+
avsResponseText?: Payabli.AvsResponseText;
|
|
15
15
|
CustomerId?: Payabli.Customeridtrans;
|
|
16
|
-
cvvResponseText?: Payabli.
|
|
16
|
+
cvvResponseText?: Payabli.CvvResponseText;
|
|
17
17
|
methodReferenceId?: Payabli.MethodReferenceId;
|
|
18
18
|
ReferenceId?: Payabli.Referenceidtrans;
|
|
19
19
|
ResultCode?: Payabli.ResultCode;
|
|
@@ -12,9 +12,9 @@ export interface PayabliApiResponse0000 {
|
|
|
12
12
|
export declare namespace PayabliApiResponse0000 {
|
|
13
13
|
interface ResponseData {
|
|
14
14
|
AuthCode?: Payabli.Authcode;
|
|
15
|
-
avsResponseText?: Payabli.
|
|
15
|
+
avsResponseText?: Payabli.AvsResponseText;
|
|
16
16
|
CustomerId?: Payabli.Customeridtrans;
|
|
17
|
-
cvvResponseText?: Payabli.
|
|
17
|
+
cvvResponseText?: Payabli.CvvResponseText;
|
|
18
18
|
methodReferenceId?: Payabli.MethodReferenceId;
|
|
19
19
|
ReferenceId?: Payabli.Referenceidtrans;
|
|
20
20
|
ResultCode?: Payabli.ResultCode;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type * as Payabli from "../index.mjs";
|
|
1
2
|
export interface PayabliCredentialsPascal {
|
|
2
3
|
Service?: string;
|
|
3
4
|
Mode?: number;
|
|
4
|
-
MinTicket?:
|
|
5
|
-
MaxTicket?:
|
|
5
|
+
MinTicket?: Payabli.MinTicket;
|
|
6
|
+
MaxTicket?: Payabli.MaxTicket;
|
|
6
7
|
CfeeFix?: number;
|
|
7
8
|
CfeeFloat?: number;
|
|
8
9
|
CfeeMin?: number;
|
|
@@ -3,7 +3,7 @@ import type * as Payabli from "../index.mjs";
|
|
|
3
3
|
* Customer information.
|
|
4
4
|
*/
|
|
5
5
|
export interface PayorDataResponse {
|
|
6
|
-
AdditionalData: Payabli.
|
|
6
|
+
AdditionalData: Payabli.AdditionalDataMap | null;
|
|
7
7
|
BillingAddress1: Payabli.BillingAddressNullable | null;
|
|
8
8
|
BillingAddress2: Payabli.BillingAddressAddtlNullable | null;
|
|
9
9
|
BillingCity: Payabli.BillingCityNullable | null;
|
|
@@ -1,19 +1,48 @@
|
|
|
1
1
|
import type * as Payabli from "../index.mjs";
|
|
2
2
|
/**
|
|
3
3
|
* The transaction's response data.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* authcode: "123456",
|
|
8
|
+
* avsresponse: "N",
|
|
9
|
+
* avsresponse_text: "No address or ZIP match only",
|
|
10
|
+
* cvvresponse: "M",
|
|
11
|
+
* cvvresponse_text: "CVV2/CVC2 match",
|
|
12
|
+
* orderid: "10-bfcd5a17861d4a8690ca53c00000X",
|
|
13
|
+
* response: "Success",
|
|
14
|
+
* response_code: "100",
|
|
15
|
+
* response_code_text: "Transaction was approved.",
|
|
16
|
+
* responsetext: "SUCCESS",
|
|
17
|
+
* resultCode: "A0000",
|
|
18
|
+
* resultCodeText: "Approved",
|
|
19
|
+
* transactionid: "8082800000"
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* {
|
|
24
|
+
* authcode: " ",
|
|
25
|
+
* avsresponse: " ",
|
|
26
|
+
* avsresponse_text: "",
|
|
27
|
+
* cvvresponse: " ",
|
|
28
|
+
* cvvresponse_text: " ",
|
|
29
|
+
* emv_auth_response_data: " ",
|
|
30
|
+
* response: "Success",
|
|
31
|
+
* response_code: "100",
|
|
32
|
+
* response_code_text: "Transaction was approved.",
|
|
33
|
+
* responsetext: "CAPTURED",
|
|
34
|
+
* resultCode: "A0000",
|
|
35
|
+
* resultCodeText: "Approved",
|
|
36
|
+
* transactionid: "TRN_xwCAjQorWAYX1nAhAoHZVfN8iYHbI0"
|
|
37
|
+
* }
|
|
4
38
|
*/
|
|
5
39
|
export interface QueryResponseData {
|
|
6
40
|
authcode?: Payabli.Authcode;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
cvvresponse?: string;
|
|
13
|
-
/** Text code describing the result for CVV validation (applies only for card transactions). */
|
|
14
|
-
cvvresponse_text?: string;
|
|
15
|
-
/** EMV authorization response data, applicable for card transactions. */
|
|
16
|
-
emv_auth_response_data?: string;
|
|
41
|
+
avsresponse?: Payabli.AvsResponse;
|
|
42
|
+
avsresponse_text?: Payabli.AvsResponseText;
|
|
43
|
+
cvvresponse?: Payabli.CvvResponse;
|
|
44
|
+
cvvresponse_text?: Payabli.CvvResponseText;
|
|
45
|
+
emv_auth_response_data?: Payabli.EmvAuthResponseData;
|
|
17
46
|
orderid?: Payabli.OrderId;
|
|
18
47
|
/** Response text for operation: 'Success' or 'Declined'. */
|
|
19
48
|
response?: string;
|
|
@@ -23,6 +52,8 @@ export interface QueryResponseData {
|
|
|
23
52
|
response_code_text?: string;
|
|
24
53
|
/** Text describing the result. If resultCode = 1, will return 'Approved' or a general success message. If resultCode = 2 or 3, will contain the cause of the decline. */
|
|
25
54
|
responsetext?: string;
|
|
55
|
+
resultCode?: Payabli.ResultCodev2;
|
|
56
|
+
resultCodeText?: Payabli.ResultCodeText;
|
|
26
57
|
/** The transaction identifier in Payabli. */
|
|
27
58
|
transactionid?: string;
|
|
28
59
|
/** Type of transaction or operation. */
|
|
@@ -9,6 +9,140 @@ export interface QueryResponseSettlements {
|
|
|
9
9
|
export declare namespace QueryResponseSettlements {
|
|
10
10
|
type Records = Records.Item[];
|
|
11
11
|
namespace Records {
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* {
|
|
15
|
+
* BatchAmount: 32,
|
|
16
|
+
* BatchNumber: "batch-100-20-2024",
|
|
17
|
+
* Category: "auth",
|
|
18
|
+
* CreatedAt: "2024-11-19T15:58:01Z",
|
|
19
|
+
* Customer: {
|
|
20
|
+
* BillingAddress1: "100 Golden Ridge Drive",
|
|
21
|
+
* BillingAddress2: "STE 100",
|
|
22
|
+
* BillingCity: "Mendota",
|
|
23
|
+
* BillingCountry: "US",
|
|
24
|
+
* BillingEmail: "lydia@example.com",
|
|
25
|
+
* BillingPhone: "+12345678",
|
|
26
|
+
* BillingState: "VA",
|
|
27
|
+
* BillingZip: "20147",
|
|
28
|
+
* customerId: 2707,
|
|
29
|
+
* CustomerNumber: "901102",
|
|
30
|
+
* customerStatus: 1,
|
|
31
|
+
* FirstName: "Lydia",
|
|
32
|
+
* LastName: "Marshall"
|
|
33
|
+
* },
|
|
34
|
+
* ExpectedDepositDate: "2024-11-22T00:00:00Z",
|
|
35
|
+
* GatewayTransId: "TRN_XXXXX",
|
|
36
|
+
* Id: 25048,
|
|
37
|
+
* isHold: 0,
|
|
38
|
+
* MaskedAccount: "1XXXXXX5678",
|
|
39
|
+
* Method: "ach",
|
|
40
|
+
* NetAmount: 2,
|
|
41
|
+
* Operation: "Sale",
|
|
42
|
+
* OrderId: "",
|
|
43
|
+
* ParentOrgName: "Pilgrim Planner",
|
|
44
|
+
* PaymentData: {
|
|
45
|
+
* AccountType: "Checking",
|
|
46
|
+
* HolderName: "Lydia Marshall",
|
|
47
|
+
* MaskedAccount: "1XXXXXX5678",
|
|
48
|
+
* paymentDetails: {
|
|
49
|
+
* categories: [{
|
|
50
|
+
* amount: 1000,
|
|
51
|
+
* label: "Deposit"
|
|
52
|
+
* }],
|
|
53
|
+
* currency: "USD",
|
|
54
|
+
* serviceFee: 0,
|
|
55
|
+
* splitFunding: [{}],
|
|
56
|
+
* totalAmount: 2
|
|
57
|
+
* }
|
|
58
|
+
* },
|
|
59
|
+
* PaymentTransId: "245-9e4072eef77e45979ea0e49f680000X",
|
|
60
|
+
* PaymentTransStatus: 1,
|
|
61
|
+
* PaypointDbaname: "Gruzya Adventure Outfitters, LLC",
|
|
62
|
+
* PaypointEntryname: "7f1a3816XX",
|
|
63
|
+
* PaypointLegalname: "Gruzya Adventure Outfitters, LLC",
|
|
64
|
+
* ResponseData: {
|
|
65
|
+
* authcode: " ",
|
|
66
|
+
* avsresponse: " ",
|
|
67
|
+
* avsresponse_text: "",
|
|
68
|
+
* cvvresponse: " ",
|
|
69
|
+
* cvvresponse_text: " ",
|
|
70
|
+
* emv_auth_response_data: " ",
|
|
71
|
+
* response: "Success",
|
|
72
|
+
* response_code: "100",
|
|
73
|
+
* response_code_text: "Transaction was approved.",
|
|
74
|
+
* responsetext: "CAPTURED",
|
|
75
|
+
* resultCode: "A0000",
|
|
76
|
+
* resultCodeText: "Approved",
|
|
77
|
+
* transactionid: "TRN_xwCAjQorWAYX1nAhAoHZVfN8iYHbI0"
|
|
78
|
+
* },
|
|
79
|
+
* ScheduleReference: 0,
|
|
80
|
+
* SettledAmount: 0.5,
|
|
81
|
+
* SettlementDate: "2024-11-20T00:00:00Z",
|
|
82
|
+
* Source: "api",
|
|
83
|
+
* Status: 1,
|
|
84
|
+
* TransactionEvents: [{
|
|
85
|
+
* EventTime: "2024-11-19T15:57:40Z",
|
|
86
|
+
* TransEvent: "Created"
|
|
87
|
+
* }, {
|
|
88
|
+
* EventData: {
|
|
89
|
+
* "account_id": "TRA_XXXXX",
|
|
90
|
+
* "account_name": "123456",
|
|
91
|
+
* "action": {
|
|
92
|
+
* "app_id": "XXXXX",
|
|
93
|
+
* "app_name": "PayAbli",
|
|
94
|
+
* "id": "ACT_XXXXX",
|
|
95
|
+
* "result_code": "SUCCESS",
|
|
96
|
+
* "time_created": "2024-11-19T20:58:01.583Z",
|
|
97
|
+
* "type": "AUTHORIZE"
|
|
98
|
+
* },
|
|
99
|
+
* "amount": "200",
|
|
100
|
+
* "batch_id": "",
|
|
101
|
+
* "capture_mode": "AUTO",
|
|
102
|
+
* "channel": "CNP",
|
|
103
|
+
* "country": "US",
|
|
104
|
+
* "currency": "USD",
|
|
105
|
+
* "fees": {
|
|
106
|
+
* "amount": "0",
|
|
107
|
+
* "rate": "0.00",
|
|
108
|
+
* "total_amount": "0"
|
|
109
|
+
* },
|
|
110
|
+
* "id": "TRN_XXXXX",
|
|
111
|
+
* "merchant_amount": "200",
|
|
112
|
+
* "merchant_id": "MER_XXXXX",
|
|
113
|
+
* "merchant_name": "Henriette97",
|
|
114
|
+
* "order": {
|
|
115
|
+
* "reference": ""
|
|
116
|
+
* },
|
|
117
|
+
* "payment_method": {
|
|
118
|
+
* "bank_transfer": {
|
|
119
|
+
* "account_type": "CHECKING",
|
|
120
|
+
* "bank": {
|
|
121
|
+
* "name": ""
|
|
122
|
+
* },
|
|
123
|
+
* "masked_account_number_last4": "XXXX5678"
|
|
124
|
+
* },
|
|
125
|
+
* "entry_mode": "ECOM",
|
|
126
|
+
* "message": "Success",
|
|
127
|
+
* "narrative": "Lydia Marshall",
|
|
128
|
+
* "result": "00"
|
|
129
|
+
* },
|
|
130
|
+
* "reference": "245-XXXXX",
|
|
131
|
+
* "status": "CAPTURED",
|
|
132
|
+
* "time_created": "2024-11-19T20:58:01.583Z",
|
|
133
|
+
* "type": "SALE"
|
|
134
|
+
* },
|
|
135
|
+
* EventTime: "2024-11-19T20:58:01Z",
|
|
136
|
+
* TransEvent: "Approved"
|
|
137
|
+
* }, {
|
|
138
|
+
* EventTime: "2024-11-20T03:05:10Z",
|
|
139
|
+
* TransEvent: "ClosedBatch"
|
|
140
|
+
* }],
|
|
141
|
+
* TransactionTime: "2024-11-19T15:58:01Z",
|
|
142
|
+
* TransMethod: "ach",
|
|
143
|
+
* Type: "credit"
|
|
144
|
+
* }
|
|
145
|
+
*/
|
|
12
146
|
interface Item {
|
|
13
147
|
/** The batch amount. */
|
|
14
148
|
BatchAmount?: number;
|
|
@@ -33,5 +33,5 @@ export interface QueryTransactionPayorData {
|
|
|
33
33
|
ShippingCountry?: Payabli.Shippingcountry;
|
|
34
34
|
customerId?: Payabli.CustomerId;
|
|
35
35
|
customerStatus?: Payabli.CustomerStatus;
|
|
36
|
-
AdditionalData?: Payabli.
|
|
36
|
+
AdditionalData?: Payabli.AdditionalDataMap;
|
|
37
37
|
}
|