@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
|
@@ -115,7 +115,7 @@ export class PaymentLinkClient {
|
|
|
115
115
|
* name: "fullName",
|
|
116
116
|
* order: 0,
|
|
117
117
|
* required: true,
|
|
118
|
-
* validation: "
|
|
118
|
+
* validation: "alpha",
|
|
119
119
|
* value: "",
|
|
120
120
|
* width: 0
|
|
121
121
|
* }],
|
|
@@ -275,7 +275,7 @@ export class PaymentLinkClient {
|
|
|
275
275
|
* name: "fullName",
|
|
276
276
|
* order: 0,
|
|
277
277
|
* required: true,
|
|
278
|
-
* validation: "
|
|
278
|
+
* validation: "alpha",
|
|
279
279
|
* value: "",
|
|
280
280
|
* width: 0
|
|
281
281
|
* }],
|
|
@@ -762,11 +762,6 @@ export class PaymentLinkClient {
|
|
|
762
762
|
* @param {Payabli.PayLinkDataOut} request
|
|
763
763
|
* @param {PaymentLinkClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
764
764
|
*
|
|
765
|
-
* @throws {@link Payabli.BadRequestError}
|
|
766
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
767
|
-
* @throws {@link Payabli.InternalServerError}
|
|
768
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
769
|
-
*
|
|
770
765
|
* @example
|
|
771
766
|
* await client.paymentLink.addPayLinkFromBillLotNumber("LOT-2024-001", {
|
|
772
767
|
* entryPoint: "billing",
|
|
@@ -833,7 +828,7 @@ export class PaymentLinkClient {
|
|
|
833
828
|
* name: "fullName",
|
|
834
829
|
* order: 0,
|
|
835
830
|
* required: true,
|
|
836
|
-
* validation: "
|
|
831
|
+
* validation: "alpha",
|
|
837
832
|
* value: "",
|
|
838
833
|
* width: 0
|
|
839
834
|
* }],
|
|
@@ -891,22 +886,11 @@ export class PaymentLinkClient {
|
|
|
891
886
|
};
|
|
892
887
|
}
|
|
893
888
|
if (_response.error.reason === "status-code") {
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
case 500:
|
|
900
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
901
|
-
case 503:
|
|
902
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
903
|
-
default:
|
|
904
|
-
throw new errors.PayabliError({
|
|
905
|
-
statusCode: _response.error.statusCode,
|
|
906
|
-
body: _response.error.body,
|
|
907
|
-
rawResponse: _response.rawResponse,
|
|
908
|
-
});
|
|
909
|
-
}
|
|
889
|
+
throw new errors.PayabliError({
|
|
890
|
+
statusCode: _response.error.statusCode,
|
|
891
|
+
body: _response.error.body,
|
|
892
|
+
rawResponse: _response.rawResponse,
|
|
893
|
+
});
|
|
910
894
|
}
|
|
911
895
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/PaymentLink/bill/lotNumber/{lotNumber}");
|
|
912
896
|
});
|
|
@@ -82,7 +82,7 @@ import type * as Payabli from "../../../index.mjs";
|
|
|
82
82
|
* name: "fullName",
|
|
83
83
|
* order: 0,
|
|
84
84
|
* required: true,
|
|
85
|
-
* validation: "
|
|
85
|
+
* validation: "alpha",
|
|
86
86
|
* value: "",
|
|
87
87
|
* width: 0
|
|
88
88
|
* }],
|
|
@@ -170,7 +170,7 @@ import type * as Payabli from "../../../index.mjs";
|
|
|
170
170
|
* name: "fullName",
|
|
171
171
|
* order: 0,
|
|
172
172
|
* required: true,
|
|
173
|
-
* validation: "
|
|
173
|
+
* validation: "alpha",
|
|
174
174
|
* value: "",
|
|
175
175
|
* width: 0
|
|
176
176
|
* }],
|
|
@@ -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 PaymentMethodDomainClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -140,11 +139,6 @@ export declare class PaymentMethodDomainClient {
|
|
|
140
139
|
* @param {string} domainId - The payment method domain's ID in Payabli.
|
|
141
140
|
* @param {PaymentMethodDomainClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
141
|
*
|
|
143
|
-
* @throws {@link Payabli.BadRequestError}
|
|
144
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
145
|
-
* @throws {@link Payabli.InternalServerError}
|
|
146
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
147
|
-
*
|
|
148
142
|
* @example
|
|
149
143
|
* await client.paymentMethodDomain.verifyPaymentMethodDomain("pmd_b8237fa45c964d8a9ef27160cd42b8c5")
|
|
150
144
|
*/
|
|
@@ -432,11 +432,6 @@ export class PaymentMethodDomainClient {
|
|
|
432
432
|
* @param {string} domainId - The payment method domain's ID in Payabli.
|
|
433
433
|
* @param {PaymentMethodDomainClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
434
434
|
*
|
|
435
|
-
* @throws {@link Payabli.BadRequestError}
|
|
436
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
437
|
-
* @throws {@link Payabli.InternalServerError}
|
|
438
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
439
|
-
*
|
|
440
435
|
* @example
|
|
441
436
|
* await client.paymentMethodDomain.verifyPaymentMethodDomain("pmd_b8237fa45c964d8a9ef27160cd42b8c5")
|
|
442
437
|
*/
|
|
@@ -466,22 +461,11 @@ export class PaymentMethodDomainClient {
|
|
|
466
461
|
};
|
|
467
462
|
}
|
|
468
463
|
if (_response.error.reason === "status-code") {
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
case 500:
|
|
475
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
476
|
-
case 503:
|
|
477
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
478
|
-
default:
|
|
479
|
-
throw new errors.PayabliError({
|
|
480
|
-
statusCode: _response.error.statusCode,
|
|
481
|
-
body: _response.error.body,
|
|
482
|
-
rawResponse: _response.rawResponse,
|
|
483
|
-
});
|
|
484
|
-
}
|
|
464
|
+
throw new errors.PayabliError({
|
|
465
|
+
statusCode: _response.error.statusCode,
|
|
466
|
+
body: _response.error.body,
|
|
467
|
+
rawResponse: _response.rawResponse,
|
|
468
|
+
});
|
|
485
469
|
}
|
|
486
470
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/PaymentMethodDomain/{domainId}/verify");
|
|
487
471
|
});
|
|
@@ -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 PaypointClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -133,11 +132,6 @@ export declare class PaypointClient {
|
|
|
133
132
|
* @param {Payabli.PaypointMoveRequest} request
|
|
134
133
|
* @param {PaypointClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
135
134
|
*
|
|
136
|
-
* @throws {@link Payabli.BadRequestError}
|
|
137
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
138
|
-
* @throws {@link Payabli.InternalServerError}
|
|
139
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
140
|
-
*
|
|
141
135
|
* @example
|
|
142
136
|
* await client.paypoint.migrate({
|
|
143
137
|
* entryPoint: "473abc123def",
|
|
@@ -442,11 +442,6 @@ export class PaypointClient {
|
|
|
442
442
|
* @param {Payabli.PaypointMoveRequest} request
|
|
443
443
|
* @param {PaypointClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
444
444
|
*
|
|
445
|
-
* @throws {@link Payabli.BadRequestError}
|
|
446
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
447
|
-
* @throws {@link Payabli.InternalServerError}
|
|
448
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
449
|
-
*
|
|
450
445
|
* @example
|
|
451
446
|
* await client.paypoint.migrate({
|
|
452
447
|
* entryPoint: "473abc123def",
|
|
@@ -486,22 +481,11 @@ export class PaypointClient {
|
|
|
486
481
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
487
482
|
}
|
|
488
483
|
if (_response.error.reason === "status-code") {
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
case 500:
|
|
495
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
496
|
-
case 503:
|
|
497
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
498
|
-
default:
|
|
499
|
-
throw new errors.PayabliError({
|
|
500
|
-
statusCode: _response.error.statusCode,
|
|
501
|
-
body: _response.error.body,
|
|
502
|
-
rawResponse: _response.rawResponse,
|
|
503
|
-
});
|
|
504
|
-
}
|
|
484
|
+
throw new errors.PayabliError({
|
|
485
|
+
statusCode: _response.error.statusCode,
|
|
486
|
+
body: _response.error.body,
|
|
487
|
+
rawResponse: _response.rawResponse,
|
|
488
|
+
});
|
|
505
489
|
}
|
|
506
490
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/Paypoint/migrate");
|
|
507
491
|
});
|
|
@@ -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 QueryClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -707,11 +706,6 @@ export declare class QueryClient {
|
|
|
707
706
|
* @param {Payabli.ListVcardsOrgRequest} request
|
|
708
707
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
709
708
|
*
|
|
710
|
-
* @throws {@link Payabli.BadRequestError}
|
|
711
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
712
|
-
* @throws {@link Payabli.InternalServerError}
|
|
713
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
714
|
-
*
|
|
715
709
|
* @example
|
|
716
710
|
* await client.query.listVcardsOrg(123, {
|
|
717
711
|
* fromRecord: 251,
|
|
@@ -2558,11 +2558,6 @@ export class QueryClient {
|
|
|
2558
2558
|
* @param {Payabli.ListVcardsOrgRequest} request
|
|
2559
2559
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2560
2560
|
*
|
|
2561
|
-
* @throws {@link Payabli.BadRequestError}
|
|
2562
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
2563
|
-
* @throws {@link Payabli.InternalServerError}
|
|
2564
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2565
|
-
*
|
|
2566
2561
|
* @example
|
|
2567
2562
|
* await client.query.listVcardsOrg(123, {
|
|
2568
2563
|
* fromRecord: 251,
|
|
@@ -2610,22 +2605,11 @@ export class QueryClient {
|
|
|
2610
2605
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
2611
2606
|
}
|
|
2612
2607
|
if (_response.error.reason === "status-code") {
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
case 500:
|
|
2619
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2620
|
-
case 503:
|
|
2621
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2622
|
-
default:
|
|
2623
|
-
throw new errors.PayabliError({
|
|
2624
|
-
statusCode: _response.error.statusCode,
|
|
2625
|
-
body: _response.error.body,
|
|
2626
|
-
rawResponse: _response.rawResponse,
|
|
2627
|
-
});
|
|
2628
|
-
}
|
|
2608
|
+
throw new errors.PayabliError({
|
|
2609
|
+
statusCode: _response.error.statusCode,
|
|
2610
|
+
body: _response.error.body,
|
|
2611
|
+
rawResponse: _response.rawResponse,
|
|
2612
|
+
});
|
|
2629
2613
|
}
|
|
2630
2614
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Query/vcards/org/{orgId}");
|
|
2631
2615
|
});
|
|
@@ -9,6 +9,164 @@ export interface QueryBatchesDetailResponse {
|
|
|
9
9
|
export declare namespace QueryBatchesDetailResponse {
|
|
10
10
|
type Records = Records.Item[];
|
|
11
11
|
namespace Records {
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* {
|
|
15
|
+
* Id: 25048,
|
|
16
|
+
* Method: "ach",
|
|
17
|
+
* WalletType: null,
|
|
18
|
+
* SettledAmount: 0.5,
|
|
19
|
+
* Type: "credit",
|
|
20
|
+
* BatchNumber: "batch-100-20-2024",
|
|
21
|
+
* BatchAmount: 32,
|
|
22
|
+
* PaymentTransId: "245-9e4072eef77e45979ea0e49f680000X",
|
|
23
|
+
* PaymentTransStatus: 1,
|
|
24
|
+
* ScheduleReference: 0,
|
|
25
|
+
* GatewayTransId: "TRN_XXXXX",
|
|
26
|
+
* OrderId: "",
|
|
27
|
+
* TransMethod: "ach",
|
|
28
|
+
* PaymentData: {
|
|
29
|
+
* AccountType: "Checking",
|
|
30
|
+
* HolderName: "Lydia Marshall",
|
|
31
|
+
* MaskedAccount: "1XXXXXX5678",
|
|
32
|
+
* paymentDetails: {
|
|
33
|
+
* categories: [{
|
|
34
|
+
* amount: 1000,
|
|
35
|
+
* label: "Deposit"
|
|
36
|
+
* }],
|
|
37
|
+
* currency: "USD",
|
|
38
|
+
* serviceFee: 0,
|
|
39
|
+
* splitFunding: [{}],
|
|
40
|
+
* totalAmount: 2
|
|
41
|
+
* }
|
|
42
|
+
* },
|
|
43
|
+
* NetAmount: 2,
|
|
44
|
+
* Operation: "Sale",
|
|
45
|
+
* Category: "auth",
|
|
46
|
+
* Source: "api",
|
|
47
|
+
* Status: 1,
|
|
48
|
+
* TransactionTime: "2024-11-19T15:58:01Z",
|
|
49
|
+
* Customer: {
|
|
50
|
+
* BillingAddress1: "100 Golden Ridge Drive",
|
|
51
|
+
* BillingAddress2: "STE 100",
|
|
52
|
+
* BillingCity: "Mendota",
|
|
53
|
+
* BillingCountry: "US",
|
|
54
|
+
* BillingEmail: "lydia@example.com",
|
|
55
|
+
* BillingPhone: "+12345678",
|
|
56
|
+
* BillingState: "VA",
|
|
57
|
+
* BillingZip: "20147",
|
|
58
|
+
* customerId: 2707,
|
|
59
|
+
* CustomerNumber: "901102",
|
|
60
|
+
* customerStatus: 1,
|
|
61
|
+
* FirstName: "Lydia",
|
|
62
|
+
* LastName: "Marshall"
|
|
63
|
+
* },
|
|
64
|
+
* SettlementDate: "2024-11-20T00:00:00Z",
|
|
65
|
+
* PaymentSettlementStatus: 1,
|
|
66
|
+
* BatchStatus: 1,
|
|
67
|
+
* DepositDate: "2024-11-22T00:00:00Z",
|
|
68
|
+
* ExpectedDepositDate: "2024-11-22T00:00:00Z",
|
|
69
|
+
* MaskedAccount: "1XXXXXX5678",
|
|
70
|
+
* CreatedAt: "2024-11-19T15:58:01Z",
|
|
71
|
+
* PaypointLegalname: "Gruzya Adventure Outfitters, LLC",
|
|
72
|
+
* ResponseData: {
|
|
73
|
+
* authcode: " ",
|
|
74
|
+
* avsresponse: " ",
|
|
75
|
+
* avsresponse_text: "",
|
|
76
|
+
* cvvresponse: " ",
|
|
77
|
+
* cvvresponse_text: " ",
|
|
78
|
+
* emv_auth_response_data: " ",
|
|
79
|
+
* response: "Success",
|
|
80
|
+
* response_code: "100",
|
|
81
|
+
* response_code_text: "Transaction was approved.",
|
|
82
|
+
* responsetext: "CAPTURED",
|
|
83
|
+
* resultCode: "A0000",
|
|
84
|
+
* resultCodeText: "Approved",
|
|
85
|
+
* transactionid: "TRN_xwCAjQorWAYX1nAhAoHZVfN8iYHbI0"
|
|
86
|
+
* },
|
|
87
|
+
* PaypointDbaname: "Gruzya Adventure Outfitters, LLC",
|
|
88
|
+
* ParentOrgName: "Pilgrim Planner",
|
|
89
|
+
* ParentOrgId: 123,
|
|
90
|
+
* PaypointEntryname: "7f1a3816XX",
|
|
91
|
+
* DeviceId: "",
|
|
92
|
+
* RetrievalId: 0,
|
|
93
|
+
* ChargebackId: 0,
|
|
94
|
+
* AchHolderType: Payabli.AchHolderType.Personal,
|
|
95
|
+
* AchSecCode: "PPD",
|
|
96
|
+
* ConnectorName: "DefaultConnector",
|
|
97
|
+
* EntrypageId: 0,
|
|
98
|
+
* FeeAmount: 0,
|
|
99
|
+
* OrgId: 123,
|
|
100
|
+
* PayorId: 2707,
|
|
101
|
+
* PaypointId: 123,
|
|
102
|
+
* PendingFeeAmount: 0,
|
|
103
|
+
* RefundId: 0,
|
|
104
|
+
* ReturnedId: 0,
|
|
105
|
+
* splitFundingInstructions: [],
|
|
106
|
+
* TotalAmount: 2,
|
|
107
|
+
* CfeeTransactions: [],
|
|
108
|
+
* invoiceData: null,
|
|
109
|
+
* TransactionEvents: [{
|
|
110
|
+
* EventTime: "2024-11-19T15:57:40Z",
|
|
111
|
+
* TransEvent: "Created"
|
|
112
|
+
* }, {
|
|
113
|
+
* EventData: {
|
|
114
|
+
* "account_id": "TRA_XXXXX",
|
|
115
|
+
* "account_name": "123456",
|
|
116
|
+
* "action": {
|
|
117
|
+
* "app_id": "XXXXX",
|
|
118
|
+
* "app_name": "PayAbli",
|
|
119
|
+
* "id": "ACT_XXXXX",
|
|
120
|
+
* "result_code": "SUCCESS",
|
|
121
|
+
* "time_created": "2024-11-19T20:58:01.583Z",
|
|
122
|
+
* "type": "AUTHORIZE"
|
|
123
|
+
* },
|
|
124
|
+
* "amount": "200",
|
|
125
|
+
* "batch_id": "",
|
|
126
|
+
* "capture_mode": "AUTO",
|
|
127
|
+
* "channel": "CNP",
|
|
128
|
+
* "country": "US",
|
|
129
|
+
* "currency": "USD",
|
|
130
|
+
* "fees": {
|
|
131
|
+
* "amount": "0",
|
|
132
|
+
* "rate": "0.00",
|
|
133
|
+
* "total_amount": "0"
|
|
134
|
+
* },
|
|
135
|
+
* "id": "TRN_XXXXX",
|
|
136
|
+
* "merchant_amount": "200",
|
|
137
|
+
* "merchant_id": "MER_XXXXX",
|
|
138
|
+
* "merchant_name": "Henriette97",
|
|
139
|
+
* "order": {
|
|
140
|
+
* "reference": ""
|
|
141
|
+
* },
|
|
142
|
+
* "payment_method": {
|
|
143
|
+
* "bank_transfer": {
|
|
144
|
+
* "account_type": "CHECKING",
|
|
145
|
+
* "bank": {
|
|
146
|
+
* "name": ""
|
|
147
|
+
* },
|
|
148
|
+
* "masked_account_number_last4": "XXXX5678"
|
|
149
|
+
* },
|
|
150
|
+
* "entry_mode": "ECOM",
|
|
151
|
+
* "message": "Success",
|
|
152
|
+
* "narrative": "Lydia Marshall",
|
|
153
|
+
* "result": "00"
|
|
154
|
+
* },
|
|
155
|
+
* "reference": "245-XXXXX",
|
|
156
|
+
* "status": "CAPTURED",
|
|
157
|
+
* "time_created": "2024-11-19T20:58:01.583Z",
|
|
158
|
+
* "type": "SALE"
|
|
159
|
+
* },
|
|
160
|
+
* EventTime: "2024-11-19T20:58:01Z",
|
|
161
|
+
* TransEvent: "Approved"
|
|
162
|
+
* }, {
|
|
163
|
+
* EventTime: "2024-11-20T03:05:10Z",
|
|
164
|
+
* TransEvent: "ClosedBatch"
|
|
165
|
+
* }],
|
|
166
|
+
* externalPaypointID: "ext-paypoint-123",
|
|
167
|
+
* isHold: 0
|
|
168
|
+
* }
|
|
169
|
+
*/
|
|
12
170
|
interface Item {
|
|
13
171
|
Id: number;
|
|
14
172
|
Method: string;
|
|
@@ -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 StatisticClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -150,11 +149,6 @@ export declare class StatisticClient {
|
|
|
150
149
|
* @param {Payabli.VendorBasicStatsRequest} request
|
|
151
150
|
* @param {StatisticClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
151
|
*
|
|
153
|
-
* @throws {@link Payabli.BadRequestError}
|
|
154
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
155
|
-
* @throws {@link Payabli.InternalServerError}
|
|
156
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
157
|
-
*
|
|
158
152
|
* @example
|
|
159
153
|
* await client.statistic.vendorBasicStats("ytd", "m", 1)
|
|
160
154
|
*/
|
|
@@ -309,11 +309,6 @@ export class StatisticClient {
|
|
|
309
309
|
* @param {Payabli.VendorBasicStatsRequest} request
|
|
310
310
|
* @param {StatisticClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
311
311
|
*
|
|
312
|
-
* @throws {@link Payabli.BadRequestError}
|
|
313
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
314
|
-
* @throws {@link Payabli.InternalServerError}
|
|
315
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
316
|
-
*
|
|
317
312
|
* @example
|
|
318
313
|
* await client.statistic.vendorBasicStats("ytd", "m", 1)
|
|
319
314
|
*/
|
|
@@ -348,22 +343,11 @@ export class StatisticClient {
|
|
|
348
343
|
};
|
|
349
344
|
}
|
|
350
345
|
if (_response.error.reason === "status-code") {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
case 500:
|
|
357
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
358
|
-
case 503:
|
|
359
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
360
|
-
default:
|
|
361
|
-
throw new errors.PayabliError({
|
|
362
|
-
statusCode: _response.error.statusCode,
|
|
363
|
-
body: _response.error.body,
|
|
364
|
-
rawResponse: _response.rawResponse,
|
|
365
|
-
});
|
|
366
|
-
}
|
|
346
|
+
throw new errors.PayabliError({
|
|
347
|
+
statusCode: _response.error.statusCode,
|
|
348
|
+
body: _response.error.body,
|
|
349
|
+
rawResponse: _response.rawResponse,
|
|
350
|
+
});
|
|
367
351
|
}
|
|
368
352
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Statistic/vendorbasic/{mode}/{freq}/{idVendor}");
|
|
369
353
|
});
|
|
@@ -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 SubscriptionClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -146,11 +145,6 @@ export declare class SubscriptionClient {
|
|
|
146
145
|
* @param {Payabli.RequestUpdateSchedule} request
|
|
147
146
|
* @param {SubscriptionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
148
147
|
*
|
|
149
|
-
* @throws {@link Payabli.BadRequestError}
|
|
150
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
151
|
-
* @throws {@link Payabli.InternalServerError}
|
|
152
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
153
|
-
*
|
|
154
148
|
* @example
|
|
155
149
|
* await client.subscription.updateSubscription(231, {
|
|
156
150
|
* setPause: true
|
|
@@ -285,11 +285,6 @@ export class SubscriptionClient {
|
|
|
285
285
|
* @param {Payabli.RequestUpdateSchedule} request
|
|
286
286
|
* @param {SubscriptionClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
287
287
|
*
|
|
288
|
-
* @throws {@link Payabli.BadRequestError}
|
|
289
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
290
|
-
* @throws {@link Payabli.InternalServerError}
|
|
291
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
292
|
-
*
|
|
293
288
|
* @example
|
|
294
289
|
* await client.subscription.updateSubscription(231, {
|
|
295
290
|
* setPause: true
|
|
@@ -340,22 +335,11 @@ export class SubscriptionClient {
|
|
|
340
335
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
341
336
|
}
|
|
342
337
|
if (_response.error.reason === "status-code") {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
case 500:
|
|
349
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
350
|
-
case 503:
|
|
351
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
352
|
-
default:
|
|
353
|
-
throw new errors.PayabliError({
|
|
354
|
-
statusCode: _response.error.statusCode,
|
|
355
|
-
body: _response.error.body,
|
|
356
|
-
rawResponse: _response.rawResponse,
|
|
357
|
-
});
|
|
358
|
-
}
|
|
338
|
+
throw new errors.PayabliError({
|
|
339
|
+
statusCode: _response.error.statusCode,
|
|
340
|
+
body: _response.error.body,
|
|
341
|
+
rawResponse: _response.rawResponse,
|
|
342
|
+
});
|
|
359
343
|
}
|
|
360
344
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PUT", "/Subscription/{subId}");
|
|
361
345
|
});
|
|
@@ -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 TemplatesClient {
|
|
6
|
-
|
|
7
|
-
}
|
|
6
|
+
type Options = BaseClientOptions;
|
|
8
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
9
8
|
}
|
|
10
9
|
}
|
|
@@ -67,11 +66,6 @@ export declare class TemplatesClient {
|
|
|
67
66
|
* @param {Payabli.ListTemplatesRequest} request
|
|
68
67
|
* @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
68
|
*
|
|
70
|
-
* @throws {@link Payabli.BadRequestError}
|
|
71
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
72
|
-
* @throws {@link Payabli.InternalServerError}
|
|
73
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
74
|
-
*
|
|
75
69
|
* @example
|
|
76
70
|
* await client.templates.listTemplates(123, {
|
|
77
71
|
* fromRecord: 251,
|