@payabli/sdk-node 0.0.123 → 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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +2 -1
- package/dist/cjs/api/resources/export/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/export/client/Client.js +5 -21
- package/dist/cjs/api/resources/import/client/Client.d.ts +0 -5
- 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/lineItem/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/lineItem/client/Client.js +5 -21
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +247 -2
- 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/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/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +2 -2
- package/dist/cjs/api/resources/notification/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/notification/client/Client.js +5 -21
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +5 -21
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/ocr/client/Client.js +5 -21
- package/dist/cjs/api/resources/organization/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/organization/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paymentLink/client/Client.js +5 -21
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +5 -21
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/paypoint/client/Client.js +5 -21
- package/dist/cjs/api/resources/query/client/Client.d.ts +0 -5
- 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 +0 -5
- package/dist/cjs/api/resources/statistic/client/Client.js +5 -21
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/subscription/client/Client.js +5 -21
- package/dist/cjs/api/resources/templates/client/Client.d.ts +0 -5
- package/dist/cjs/api/resources/templates/client/Client.js +5 -21
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +51 -5
- 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 +100 -0
- 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 +0 -5
- 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 +0 -5
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -21
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +0 -5
- 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/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/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/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +2 -1
- package/dist/esm/api/resources/export/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/export/client/Client.mjs +5 -21
- package/dist/esm/api/resources/import/client/Client.d.mts +0 -5
- 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/lineItem/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/lineItem/client/Client.mjs +5 -21
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +247 -2
- 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/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/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +2 -2
- package/dist/esm/api/resources/notification/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/notification/client/Client.mjs +5 -21
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +5 -21
- package/dist/esm/api/resources/ocr/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/ocr/client/Client.mjs +5 -21
- package/dist/esm/api/resources/organization/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/organization/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +5 -21
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/paypoint/client/Client.mjs +5 -21
- package/dist/esm/api/resources/query/client/Client.d.mts +0 -5
- 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 +0 -5
- package/dist/esm/api/resources/statistic/client/Client.mjs +5 -21
- package/dist/esm/api/resources/subscription/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/subscription/client/Client.mjs +5 -21
- package/dist/esm/api/resources/templates/client/Client.d.mts +0 -5
- package/dist/esm/api/resources/templates/client/Client.mjs +5 -21
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +51 -5
- 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 +100 -0
- 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 +0 -5
- 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 +0 -5
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -21
- package/dist/esm/api/resources/wallet/client/Client.d.mts +0 -5
- 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/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/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/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +467 -2
- /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
|
@@ -13,6 +13,8 @@ export declare namespace GetMethodResponse {
|
|
|
13
13
|
/** The bank identification number (BIN) */
|
|
14
14
|
bin?: string;
|
|
15
15
|
binData?: Payabli.BinData;
|
|
16
|
+
/** Timestamp for when card was last updated */
|
|
17
|
+
cardUpdatedOn?: string;
|
|
16
18
|
customers?: ResponseData.Customers.Item[];
|
|
17
19
|
descriptor?: Payabli.Descriptor;
|
|
18
20
|
/** Expiration date for card in stored method in format MM/YY */
|
|
@@ -21,6 +23,8 @@ export declare namespace GetMethodResponse {
|
|
|
21
23
|
holderName?: Payabli.Holdername;
|
|
22
24
|
/** The stored payment method's identifier in Payabli */
|
|
23
25
|
idPmethod?: string;
|
|
26
|
+
/** Whether the ACH account has been validated */
|
|
27
|
+
isValidatedACH?: boolean;
|
|
24
28
|
/** Timestamp for last update of stored method, in UTC */
|
|
25
29
|
lastUpdated?: string;
|
|
26
30
|
maskedAccount?: Payabli.Maskedaccount;
|
|
@@ -30,6 +34,7 @@ export declare namespace GetMethodResponse {
|
|
|
30
34
|
methodType?: string;
|
|
31
35
|
/** The payment method postal code */
|
|
32
36
|
postalCode?: string;
|
|
37
|
+
vendors?: ResponseData.Vendors.Item[];
|
|
33
38
|
}
|
|
34
39
|
namespace ResponseData {
|
|
35
40
|
type Customers = Customers.Item[];
|
|
@@ -75,5 +80,100 @@ export declare namespace GetMethodResponse {
|
|
|
75
80
|
timeZone?: number;
|
|
76
81
|
}
|
|
77
82
|
}
|
|
83
|
+
type Vendors = Vendors.Item[];
|
|
84
|
+
namespace Vendors {
|
|
85
|
+
interface Item {
|
|
86
|
+
/** Additional data for vendor */
|
|
87
|
+
additionalData?: Payabli.AdditionalDataMap;
|
|
88
|
+
/** Vendor's address */
|
|
89
|
+
address1?: string;
|
|
90
|
+
/** Additional line for vendor's address */
|
|
91
|
+
address2?: string;
|
|
92
|
+
/** Object containing vendor's bank information */
|
|
93
|
+
billingData?: Payabli.VendorResponseBillingData;
|
|
94
|
+
/** Vendor's city */
|
|
95
|
+
city?: string;
|
|
96
|
+
/** Array of objects describing the vendor's contacts */
|
|
97
|
+
contacts?: Payabli.Contacts[];
|
|
98
|
+
/** Vendor's country */
|
|
99
|
+
country?: string;
|
|
100
|
+
/** Date when vendor was created */
|
|
101
|
+
createdDate?: string;
|
|
102
|
+
/** Custom field 1 for vendor */
|
|
103
|
+
customField1?: string;
|
|
104
|
+
/** Custom field 2 for vendor */
|
|
105
|
+
customField2?: string;
|
|
106
|
+
/** Account number of paypoint in the vendor's side */
|
|
107
|
+
customerVendorAccount?: string;
|
|
108
|
+
/** EIN/Tax ID for vendor. In responses, this field is masked. */
|
|
109
|
+
ein?: string;
|
|
110
|
+
/** Vendor's email address */
|
|
111
|
+
email?: Payabli.Email;
|
|
112
|
+
/** Vendor enrollment status */
|
|
113
|
+
enrollmentStatus?: string;
|
|
114
|
+
/** External paypoint identifier */
|
|
115
|
+
externalPaypointID?: string;
|
|
116
|
+
/** Internal reference ID for vendor */
|
|
117
|
+
internalReferenceId?: Payabli.InternalReferenceId;
|
|
118
|
+
/** Date when vendor was last updated */
|
|
119
|
+
lastUpdated?: string;
|
|
120
|
+
/** Location code for vendor */
|
|
121
|
+
locationCode?: Payabli.LocationCode;
|
|
122
|
+
/** Merchant category code */
|
|
123
|
+
mcc?: Payabli.Mcc;
|
|
124
|
+
/** Primary name for vendor */
|
|
125
|
+
name1?: string;
|
|
126
|
+
/** Secondary name for vendor */
|
|
127
|
+
name2?: string;
|
|
128
|
+
/** ID of the parent organization */
|
|
129
|
+
parentOrgId?: number;
|
|
130
|
+
/** Name of the parent organization */
|
|
131
|
+
parentOrgName?: string;
|
|
132
|
+
/** Primary payee name */
|
|
133
|
+
payeeName1?: Payabli.PayeeName;
|
|
134
|
+
/** Secondary payee name */
|
|
135
|
+
payeeName2?: Payabli.PayeeName;
|
|
136
|
+
/** Preferred payment method for vendor */
|
|
137
|
+
paymentMethod?: string;
|
|
138
|
+
/** DBA name of the paypoint */
|
|
139
|
+
paypointDbaname?: string;
|
|
140
|
+
/** Entry name of the paypoint */
|
|
141
|
+
paypointEntryname?: string;
|
|
142
|
+
/** Paypoint ID */
|
|
143
|
+
paypointId?: string;
|
|
144
|
+
/** Legal name of the paypoint */
|
|
145
|
+
paypointLegalname?: string;
|
|
146
|
+
/** Vendor's phone number */
|
|
147
|
+
phone?: string;
|
|
148
|
+
/** Remittance address line 1 */
|
|
149
|
+
remitAddress1?: Payabli.Remitaddress1;
|
|
150
|
+
/** Remittance address line 2 */
|
|
151
|
+
remitAddress2?: Payabli.Remitaddress2;
|
|
152
|
+
/** Remittance city */
|
|
153
|
+
remitCity?: Payabli.Remitcity;
|
|
154
|
+
/** Remittance country */
|
|
155
|
+
remitCountry?: Payabli.Remitcountry;
|
|
156
|
+
/** Email address for remittance */
|
|
157
|
+
remitEmail?: string;
|
|
158
|
+
/** Remittance state */
|
|
159
|
+
remitState?: Payabli.Remitstate;
|
|
160
|
+
/** Remittance ZIP code */
|
|
161
|
+
remitZip?: Payabli.Remitzip;
|
|
162
|
+
/** Vendor's state */
|
|
163
|
+
state?: string;
|
|
164
|
+
/** Array of stored payment methods for vendor */
|
|
165
|
+
storedMethods?: Payabli.VendorResponseStoredMethod[];
|
|
166
|
+
/** Vendor bill summary statistics */
|
|
167
|
+
summary?: Payabli.VendorResponseSummary;
|
|
168
|
+
/** The unique numeric ID assigned to the vendor in Payabli */
|
|
169
|
+
vendorId?: Payabli.Vendorid;
|
|
170
|
+
/** Custom vendor number assigned by the business */
|
|
171
|
+
vendorNumber?: Payabli.VendorNumber;
|
|
172
|
+
/** Status code for the vendor */
|
|
173
|
+
vendorStatus?: Payabli.Vendorstatus;
|
|
174
|
+
/** Vendor's ZIP code */
|
|
175
|
+
zip?: string;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
78
178
|
}
|
|
79
179
|
}
|
|
@@ -12,6 +12,7 @@ export interface RequestTokenStorage {
|
|
|
12
12
|
methodDescription?: string;
|
|
13
13
|
/** Information about the payment method for the transaction. */
|
|
14
14
|
paymentMethod?: Payabli.RequestTokenStoragePaymentMethod;
|
|
15
|
+
vendorData?: Payabli.VendorDataRequest;
|
|
15
16
|
/** Custom identifier to indicate the source for the request */
|
|
16
17
|
source?: Payabli.Source;
|
|
17
18
|
subdomain?: Payabli.Subdomain;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Object describing the vendor owner of payment method. Required when saving an ACH payment method on behalf of a vendor (for Pay Out transactions).
|
|
3
|
+
*/
|
|
4
|
+
export interface VendorDataRequest {
|
|
5
|
+
/** The unique numeric ID assigned to the vendor in Payabli. Either `vendorId` or `vendorNumber` is required. */
|
|
6
|
+
vendorId?: number;
|
|
7
|
+
/** Custom vendor number assigned by the business. Either `vendorId` or `vendorNumber` is required. */
|
|
8
|
+
vendorNumber?: string;
|
|
9
|
+
}
|
|
@@ -198,11 +198,6 @@ export declare class UserClient {
|
|
|
198
198
|
* @param {Payabli.MfaValidationData} request
|
|
199
199
|
* @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
200
200
|
*
|
|
201
|
-
* @throws {@link Payabli.BadRequestError}
|
|
202
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
203
|
-
* @throws {@link Payabli.InternalServerError}
|
|
204
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
205
|
-
*
|
|
206
201
|
* @example
|
|
207
202
|
* await client.user.validateMfaUser()
|
|
208
203
|
*/
|
|
@@ -684,11 +684,6 @@ export class UserClient {
|
|
|
684
684
|
* @param {Payabli.MfaValidationData} request
|
|
685
685
|
* @param {UserClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
686
686
|
*
|
|
687
|
-
* @throws {@link Payabli.BadRequestError}
|
|
688
|
-
* @throws {@link Payabli.UnauthorizedError}
|
|
689
|
-
* @throws {@link Payabli.InternalServerError}
|
|
690
|
-
* @throws {@link Payabli.ServiceUnavailableError}
|
|
691
|
-
*
|
|
692
687
|
* @example
|
|
693
688
|
* await client.user.validateMfaUser()
|
|
694
689
|
*/
|
|
@@ -718,22 +713,11 @@ export class UserClient {
|
|
|
718
713
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
719
714
|
}
|
|
720
715
|
if (_response.error.reason === "status-code") {
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
case 500:
|
|
727
|
-
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
728
|
-
case 503:
|
|
729
|
-
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
730
|
-
default:
|
|
731
|
-
throw new errors.PayabliError({
|
|
732
|
-
statusCode: _response.error.statusCode,
|
|
733
|
-
body: _response.error.body,
|
|
734
|
-
rawResponse: _response.rawResponse,
|
|
735
|
-
});
|
|
736
|
-
}
|
|
716
|
+
throw new errors.PayabliError({
|
|
717
|
+
statusCode: _response.error.statusCode,
|
|
718
|
+
body: _response.error.body,
|
|
719
|
+
rawResponse: _response.rawResponse,
|
|
720
|
+
});
|
|
737
721
|
}
|
|
738
722
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/User/mfa");
|
|
739
723
|
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class BadRequestAuthResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2BadRequestError, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class BadRequestAuthResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadRequestAuthResponseErrorV2",
|
|
7
|
+
statusCode: 400,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class BadRequestCaptureResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2BadRequestError, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class BadRequestCaptureResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadRequestCaptureResponseErrorV2",
|
|
7
|
+
statusCode: 400,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class BadRequestRefundResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2BadRequestError, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class BadRequestRefundResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadRequestRefundResponseErrorV2",
|
|
7
|
+
statusCode: 400,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class BadRequestVoidResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2BadRequestError, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class BadRequestVoidResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "BadRequestVoidResponseErrorV2",
|
|
7
|
+
statusCode: 400,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class DeclinedAuthResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2DeclinedTransactionResponseWrapper, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class DeclinedAuthResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "DeclinedAuthResponseErrorV2",
|
|
7
|
+
statusCode: 402,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class DeclinedCaptureResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2DeclinedTransactionResponseWrapper, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class DeclinedCaptureResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "DeclinedCaptureResponseErrorV2",
|
|
7
|
+
statusCode: 402,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class DeclinedRefundResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2DeclinedTransactionResponseWrapper, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class DeclinedRefundResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "DeclinedRefundResponseErrorV2",
|
|
7
|
+
statusCode: 402,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class DeclinedVoidResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2DeclinedTransactionResponseWrapper, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class DeclinedVoidResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "DeclinedVoidResponseErrorV2",
|
|
7
|
+
statusCode: 402,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core/index.mjs";
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
import type * as Payabli from "../../../index.mjs";
|
|
4
|
+
export declare class InternalServerResponseErrorV2 extends errors.PayabliError {
|
|
5
|
+
constructor(body: Payabli.V2InternalServerError, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../../../errors/index.mjs";
|
|
3
|
+
export class InternalServerResponseErrorV2 extends errors.PayabliError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "InternalServerResponseErrorV2",
|
|
7
|
+
statusCode: 500,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
12
|
+
if (Error.captureStackTrace) {
|
|
13
|
+
Error.captureStackTrace(this, this.constructor);
|
|
14
|
+
}
|
|
15
|
+
this.name = this.constructor.name;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./BadRequestAuthResponseErrorV2.mjs";
|
|
2
|
+
export * from "./BadRequestCaptureResponseErrorV2.mjs";
|
|
3
|
+
export * from "./BadRequestRefundResponseErrorV2.mjs";
|
|
4
|
+
export * from "./BadRequestVoidResponseErrorV2.mjs";
|
|
5
|
+
export * from "./DeclinedAuthResponseErrorV2.mjs";
|
|
6
|
+
export * from "./DeclinedCaptureResponseErrorV2.mjs";
|
|
7
|
+
export * from "./DeclinedRefundResponseErrorV2.mjs";
|
|
8
|
+
export * from "./DeclinedVoidResponseErrorV2.mjs";
|
|
9
|
+
export * from "./InternalServerResponseErrorV2.mjs";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./BadRequestAuthResponseErrorV2.mjs";
|
|
2
|
+
export * from "./BadRequestCaptureResponseErrorV2.mjs";
|
|
3
|
+
export * from "./BadRequestRefundResponseErrorV2.mjs";
|
|
4
|
+
export * from "./BadRequestVoidResponseErrorV2.mjs";
|
|
5
|
+
export * from "./DeclinedAuthResponseErrorV2.mjs";
|
|
6
|
+
export * from "./DeclinedCaptureResponseErrorV2.mjs";
|
|
7
|
+
export * from "./DeclinedRefundResponseErrorV2.mjs";
|
|
8
|
+
export * from "./DeclinedVoidResponseErrorV2.mjs";
|
|
9
|
+
export * from "./InternalServerResponseErrorV2.mjs";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Bad request error response (HTTP 400) returned when request validation fails. Follows RFC 7807 Problem Details format with additional Payabli-specific fields.
|
|
4
|
+
*/
|
|
5
|
+
export interface V2BadRequestError {
|
|
6
|
+
/** A URI reference that identifies the problem type. Points to human-readable documentation for this error type. */
|
|
7
|
+
type: string;
|
|
8
|
+
/** Always "Bad Request" for 400 errors. */
|
|
9
|
+
title: string;
|
|
10
|
+
/** HTTP status code, always 400 for bad requests. */
|
|
11
|
+
status: number;
|
|
12
|
+
/** Short description of the error. */
|
|
13
|
+
detail: string;
|
|
14
|
+
/** Request URL that caused the error. */
|
|
15
|
+
instance: string;
|
|
16
|
+
/** Payabli's unified response code for validation errors. Starts with 'E'. See [Pay In unified response codes reference](/developers/references/pay-in-unified-response-codes) for more information. */
|
|
17
|
+
code: string;
|
|
18
|
+
/** Dictionary of field-specific validation errors. Keys are field paths (e.g., "paymentMethod.cardnumber") and values are arrays of error details. */
|
|
19
|
+
errors: Record<string, Payabli.V2BadRequestErrorDetail[]>;
|
|
20
|
+
/** Pagination token (equivalent to pageIdentifier in v1 APIs). Usually null for errors. */
|
|
21
|
+
token: string | null;
|
|
22
|
+
}
|