@payabli/sdk-node 0.0.109 → 0.0.114
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 +4 -0
- package/dist/cjs/Client.d.ts +5 -2
- package/dist/cjs/Client.js +33 -28
- package/dist/cjs/api/resources/bill/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/bill/types/BillResponse.d.ts +1 -1
- package/dist/cjs/api/resources/bill/types/EditBillResponse.d.ts +1 -1
- package/dist/cjs/api/resources/bill/types/GetBillResponse.d.ts +1 -1
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -2
- package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.ts +1 -1
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackMessage.d.ts +21 -0
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.d.ts +69 -0
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.js +5 -0
- package/dist/cjs/api/resources/chargeBacks/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/chargeBacks/types/index.js +3 -0
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/customer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/export/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/import/client/Client.d.ts +2 -2
- 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 +2 -2
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/lineItem/types/DeleteItemResponse.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +1 -1
- package/dist/cjs/api/resources/moneyIn/types/ReceiptResponse.d.ts +1 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +8 -10
- package/dist/cjs/api/resources/moneyOut/client/Client.js +6 -8
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +6 -8
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.ts +30 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.js +5 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +3 -10
- package/dist/cjs/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.ts +1 -1
- package/dist/cjs/api/resources/moneyOutTypes/types/VCardGetResponse.d.ts +2 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +1 -0
- package/dist/cjs/api/resources/notification/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +370 -0
- package/dist/cjs/api/resources/notificationlogs/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notificationlogs/client/index.js +17 -0
- package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.ts +23 -0
- package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notificationlogs/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/notificationlogs/index.d.ts +2 -0
- package/dist/cjs/api/resources/notificationlogs/index.js +18 -0
- package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.d.ts +7 -0
- package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.d.ts +7 -0
- package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.d.ts +29 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.d.ts +9 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.ts +17 -0
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.d.ts +7 -0
- package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.js +5 -0
- package/dist/cjs/api/resources/notificationlogs/types/index.d.ts +6 -0
- package/dist/cjs/api/resources/notificationlogs/types/index.js +22 -0
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/ocr/types/PayabliApiResponseOcr.d.ts +3 -3
- package/dist/cjs/api/resources/organization/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -2
- package/dist/cjs/api/resources/organization/types/AddOrganizationResponse.d.ts +1 -1
- package/dist/cjs/api/resources/organization/types/DeleteOrganizationResponse.d.ts +1 -1
- package/dist/cjs/api/resources/organization/types/EditOrganizationResponse.d.ts +2 -2
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.ts +2 -2
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryResponse.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/types/GetEntryConfigResponse.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/types/MigratePaypointResponse.d.ts +2 -2
- package/dist/cjs/api/resources/query/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.d.ts +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +0 -2
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +0 -2
- package/dist/cjs/api/resources/queryTypes/types/ListOrganizationsResponse.d.ts +2 -2
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +7 -7
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.d.ts +10 -10
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +72 -72
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferResponse.d.ts +2 -2
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +23 -18
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/subscription/types/AddSubscriptionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/subscription/types/RemoveSubscriptionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/subscription/types/UpdateSubscriptionResponse.d.ts +1 -1
- package/dist/cjs/api/resources/templates/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tokenStorage/types/AddMethodResponse.d.ts +5 -5
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/user/types/AddUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/AuthResetUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/ChangePswUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/DeleteUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/EditMfaUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/types/LogoutUserResponse.d.ts +1 -1
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +2 -2
- package/dist/cjs/api/types/AdditionalData.d.ts +1 -1
- package/dist/cjs/api/types/BoardingLinkApiResponse.d.ts +1 -1
- package/dist/cjs/api/types/CloudQueryApiResponse.d.ts +1 -1
- package/dist/cjs/api/types/ConfigureApplePayOrganizationApiResponse.d.ts +1 -1
- package/dist/cjs/api/types/ConfigureApplePaypointApiResponse.d.ts +1 -1
- package/dist/cjs/api/types/IdempotencyKey.d.ts +1 -1
- package/dist/cjs/api/types/NotificationStandardRequest.d.ts +75 -1
- package/dist/cjs/api/types/NotificationStandardRequest.js +74 -0
- package/dist/cjs/api/types/PayabliApiResponse.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponse0.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponse00.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponse00Responsedatanonobject.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponse6.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseCustomerQuery.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseGeneric2Part.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseImport.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseMfaBasic.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseNotifications.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponsePaymethodDelete.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseTemplateId.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseUserMfa.d.ts +1 -1
- package/dist/cjs/api/types/PayabliApiResponseVendors.d.ts +1 -1
- package/dist/cjs/api/types/PaymentMethodDomainGeneralResponse.d.ts +1 -1
- package/dist/cjs/api/types/Transfer.d.ts +31 -16
- package/dist/cjs/api/types/TransferMessage.d.ts +8 -8
- package/dist/cjs/api/types/TransferMessageProperties.d.ts +2 -2
- package/dist/cjs/api/types/TransferQueryResponse.d.ts +11 -6
- package/dist/cjs/api/types/VCardRecord.d.ts +43 -0
- package/dist/cjs/api/types/index.d.ts +3 -5
- package/dist/cjs/api/types/index.js +3 -5
- package/dist/cjs/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/cjs/core/fetcher/requestWithRetries.js +34 -2
- package/dist/cjs/core/headers.d.ts +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +5 -2
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/bill/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/bill/types/BillResponse.d.mts +1 -1
- package/dist/esm/api/resources/bill/types/EditBillResponse.d.mts +1 -1
- package/dist/esm/api/resources/bill/types/GetBillResponse.d.mts +1 -1
- package/dist/esm/api/resources/boarding/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -2
- package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.d.mts +1 -1
- package/dist/esm/api/resources/chargeBacks/types/ChargebackMessage.d.mts +21 -0
- package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.d.mts +69 -0
- package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.mjs +4 -0
- package/dist/esm/api/resources/chargeBacks/types/index.d.mts +3 -0
- package/dist/esm/api/resources/chargeBacks/types/index.mjs +3 -0
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/cloud/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/customer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/export/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/import/client/Client.d.mts +2 -2
- 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 +2 -2
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/lineItem/types/DeleteItemResponse.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/types/ReceiptResponse.d.mts +1 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +8 -10
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +6 -8
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +6 -8
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.mts +30 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.mjs +4 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +3 -10
- package/dist/esm/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.mts +1 -1
- package/dist/esm/api/resources/moneyOutTypes/types/VCardGetResponse.d.mts +2 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +1 -0
- package/dist/esm/api/resources/notification/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +333 -0
- package/dist/esm/api/resources/notificationlogs/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notificationlogs/client/index.mjs +1 -0
- package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.mts +23 -0
- package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notificationlogs/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notificationlogs/index.d.mts +2 -0
- package/dist/esm/api/resources/notificationlogs/index.mjs +2 -0
- package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.d.mts +7 -0
- package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.d.mts +7 -0
- package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLog.d.mts +29 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLog.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.d.mts +9 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.mts +17 -0
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.d.mts +7 -0
- package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.mjs +4 -0
- package/dist/esm/api/resources/notificationlogs/types/index.d.mts +6 -0
- package/dist/esm/api/resources/notificationlogs/types/index.mjs +6 -0
- package/dist/esm/api/resources/ocr/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/ocr/types/PayabliApiResponseOcr.d.mts +3 -3
- package/dist/esm/api/resources/organization/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -2
- package/dist/esm/api/resources/organization/types/AddOrganizationResponse.d.mts +1 -1
- package/dist/esm/api/resources/organization/types/DeleteOrganizationResponse.d.mts +1 -1
- package/dist/esm/api/resources/organization/types/EditOrganizationResponse.d.mts +2 -2
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.mts +2 -2
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryResponse.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/types/GetEntryConfigResponse.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/types/MigratePaypointResponse.d.mts +2 -2
- package/dist/esm/api/resources/query/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.d.mts +3 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +0 -2
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +0 -2
- package/dist/esm/api/resources/queryTypes/types/ListOrganizationsResponse.d.mts +2 -2
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +7 -7
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.d.mts +10 -10
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +72 -72
- package/dist/esm/api/resources/queryTypes/types/QueryTransferResponse.d.mts +2 -2
- package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +23 -18
- package/dist/esm/api/resources/statistic/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/subscription/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/subscription/types/AddSubscriptionResponse.d.mts +1 -1
- package/dist/esm/api/resources/subscription/types/RemoveSubscriptionResponse.d.mts +1 -1
- package/dist/esm/api/resources/subscription/types/UpdateSubscriptionResponse.d.mts +1 -1
- package/dist/esm/api/resources/templates/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tokenStorage/types/AddMethodResponse.d.mts +5 -5
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/user/types/AddUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/AuthResetUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/ChangePswUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/DeleteUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/EditMfaUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/types/LogoutUserResponse.d.mts +1 -1
- package/dist/esm/api/resources/vendor/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/wallet/client/Client.d.mts +2 -2
- package/dist/esm/api/types/AdditionalData.d.mts +1 -1
- package/dist/esm/api/types/BoardingLinkApiResponse.d.mts +1 -1
- package/dist/esm/api/types/CloudQueryApiResponse.d.mts +1 -1
- package/dist/esm/api/types/ConfigureApplePayOrganizationApiResponse.d.mts +1 -1
- package/dist/esm/api/types/ConfigureApplePaypointApiResponse.d.mts +1 -1
- package/dist/esm/api/types/IdempotencyKey.d.mts +1 -1
- package/dist/esm/api/types/NotificationStandardRequest.d.mts +75 -1
- package/dist/esm/api/types/NotificationStandardRequest.mjs +74 -0
- package/dist/esm/api/types/PayabliApiResponse.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponse0.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponse00.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponse0000.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponse00Responsedatanonobject.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponse6.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseCustomerQuery.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseGeneric2Part.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseImport.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseMfaBasic.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseNotifications.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponsePaymethodDelete.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseTemplateId.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseUserMfa.d.mts +1 -1
- package/dist/esm/api/types/PayabliApiResponseVendors.d.mts +1 -1
- package/dist/esm/api/types/PaymentMethodDomainGeneralResponse.d.mts +1 -1
- package/dist/esm/api/types/Transfer.d.mts +31 -16
- package/dist/esm/api/types/TransferMessage.d.mts +8 -8
- package/dist/esm/api/types/TransferMessageProperties.d.mts +2 -2
- package/dist/esm/api/types/TransferQueryResponse.d.mts +11 -6
- package/dist/esm/api/types/VCardRecord.d.mts +43 -0
- package/dist/esm/api/types/index.d.mts +3 -5
- package/dist/esm/api/types/index.mjs +3 -5
- package/dist/esm/core/fetcher/Fetcher.d.mts +1 -1
- package/dist/esm/core/fetcher/requestWithRetries.mjs +34 -2
- package/dist/esm/core/headers.d.mts +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +278 -0
- package/dist/cjs/api/types/ChargebackQueryRecords.d.ts +0 -54
- package/dist/esm/api/types/ChargebackQueryRecords.d.mts +0 -54
- /package/dist/cjs/api/{types → resources/chargeBacks/types}/ChargeBackResponse.js +0 -0
- /package/dist/cjs/api/{types/ChargebackQueryRecords.js → resources/chargeBacks/types/ChargebackMessage.js} +0 -0
- /package/dist/esm/api/{types → resources/chargeBacks/types}/ChargeBackResponse.mjs +0 -0
- /package/dist/esm/api/{types/ChargebackQueryRecords.mjs → resources/chargeBacks/types/ChargebackMessage.mjs} +0 -0
|
@@ -11,7 +11,7 @@ export declare namespace MoneyOut {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace MoneyOut {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class MoneyOut {
|
|
@@ -112,7 +112,12 @@ export declare class MoneyOut {
|
|
|
112
112
|
* body: {
|
|
113
113
|
* entryPoint: "47ced57b",
|
|
114
114
|
* paymentMethod: {
|
|
115
|
-
* method: "ach"
|
|
115
|
+
* method: "ach",
|
|
116
|
+
* achHolder: "John Doe",
|
|
117
|
+
* achRouting: "011401533",
|
|
118
|
+
* achAccount: "123456789",
|
|
119
|
+
* achAccountType: "checking",
|
|
120
|
+
* achHolderType: "business"
|
|
116
121
|
* },
|
|
117
122
|
* paymentDetails: {
|
|
118
123
|
* totalAmount: 978.32
|
|
@@ -136,13 +141,6 @@ export declare class MoneyOut {
|
|
|
136
141
|
* contactEmail: "Mandy65@heritagepro.com",
|
|
137
142
|
* contactPhone: "996-325-5420 x31028"
|
|
138
143
|
* }],
|
|
139
|
-
* billingData: {
|
|
140
|
-
* bankName: "Chase",
|
|
141
|
-
* routingAccount: "011401533",
|
|
142
|
-
* accountNumber: "1237658922",
|
|
143
|
-
* typeAccount: "Savings",
|
|
144
|
-
* bankAccountHolderName: "Payabli"
|
|
145
|
-
* },
|
|
146
144
|
* vendorStatus: 1,
|
|
147
145
|
* remitAddress1: "727 Terrell Streets",
|
|
148
146
|
* remitAddress2: "Apt. 773",
|
|
@@ -138,7 +138,12 @@ class MoneyOut {
|
|
|
138
138
|
* body: {
|
|
139
139
|
* entryPoint: "47ced57b",
|
|
140
140
|
* paymentMethod: {
|
|
141
|
-
* method: "ach"
|
|
141
|
+
* method: "ach",
|
|
142
|
+
* achHolder: "John Doe",
|
|
143
|
+
* achRouting: "011401533",
|
|
144
|
+
* achAccount: "123456789",
|
|
145
|
+
* achAccountType: "checking",
|
|
146
|
+
* achHolderType: "business"
|
|
142
147
|
* },
|
|
143
148
|
* paymentDetails: {
|
|
144
149
|
* totalAmount: 978.32
|
|
@@ -162,13 +167,6 @@ class MoneyOut {
|
|
|
162
167
|
* contactEmail: "Mandy65@heritagepro.com",
|
|
163
168
|
* contactPhone: "996-325-5420 x31028"
|
|
164
169
|
* }],
|
|
165
|
-
* billingData: {
|
|
166
|
-
* bankName: "Chase",
|
|
167
|
-
* routingAccount: "011401533",
|
|
168
|
-
* accountNumber: "1237658922",
|
|
169
|
-
* typeAccount: "Savings",
|
|
170
|
-
* bankAccountHolderName: "Payabli"
|
|
171
|
-
* },
|
|
172
170
|
* vendorStatus: 1,
|
|
173
171
|
* remitAddress1: "727 Terrell Streets",
|
|
174
172
|
* remitAddress2: "Apt. 773",
|
package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts
CHANGED
|
@@ -75,7 +75,12 @@ import * as Payabli from "../../../../index.js";
|
|
|
75
75
|
* body: {
|
|
76
76
|
* entryPoint: "47ced57b",
|
|
77
77
|
* paymentMethod: {
|
|
78
|
-
* method: "ach"
|
|
78
|
+
* method: "ach",
|
|
79
|
+
* achHolder: "John Doe",
|
|
80
|
+
* achRouting: "011401533",
|
|
81
|
+
* achAccount: "123456789",
|
|
82
|
+
* achAccountType: "checking",
|
|
83
|
+
* achHolderType: "business"
|
|
79
84
|
* },
|
|
80
85
|
* paymentDetails: {
|
|
81
86
|
* totalAmount: 978.32
|
|
@@ -99,13 +104,6 @@ import * as Payabli from "../../../../index.js";
|
|
|
99
104
|
* contactEmail: "Mandy65@heritagepro.com",
|
|
100
105
|
* contactPhone: "996-325-5420 x31028"
|
|
101
106
|
* }],
|
|
102
|
-
* billingData: {
|
|
103
|
-
* bankName: "Chase",
|
|
104
|
-
* routingAccount: "011401533",
|
|
105
|
-
* accountNumber: "1237658922",
|
|
106
|
-
* typeAccount: "Savings",
|
|
107
|
-
* bankAccountHolderName: "Payabli"
|
|
108
|
-
* },
|
|
109
107
|
* vendorStatus: 1,
|
|
110
108
|
* remitAddress1: "727 Terrell Streets",
|
|
111
109
|
* remitAddress2: "Apt. 773",
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Payabli from "../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Payment method object for vendor payouts.
|
|
7
|
+
* - `{ method: "managed" }` - Managed payment method
|
|
8
|
+
* - `{ method: "vcard" }` - Virtual card payment method
|
|
9
|
+
* - `{ method: "check" }` - Check payment method
|
|
10
|
+
* - `{ method: "ach", achHolder: "...", achRouting: "...", achAccount: "...", achAccountType: "..." }` - ACH payment method with bank details
|
|
11
|
+
* - `{ method: "ach", storedMethodId: "..." }` - ACH payment method using stored method ID
|
|
12
|
+
*/
|
|
13
|
+
export interface AuthorizePaymentMethod {
|
|
14
|
+
/** Payment method type - "managed", "vcard", "check", or "ach" */
|
|
15
|
+
method: string;
|
|
16
|
+
/** Account holder name for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
|
|
17
|
+
achHolder?: string;
|
|
18
|
+
/** Bank routing number for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
|
|
19
|
+
achRouting?: string;
|
|
20
|
+
/** Bank account number for ACH payments. Required when method is "ach" and not using `storedMethodId`. */
|
|
21
|
+
achAccount?: string;
|
|
22
|
+
/** Account type for ACH payments ("checking" or "savings"). Required when method is "ach" and not using `storedMethodId`. */
|
|
23
|
+
achAccountType?: string;
|
|
24
|
+
achCode?: Payabli.AchSecCode;
|
|
25
|
+
achHolderType?: Payabli.AchHolderType;
|
|
26
|
+
/** ID of the stored ACH payment method. Only applicable when method is `ach`. Use this to reference a previously saved ACH method instead of providing bank details directly. */
|
|
27
|
+
storedMethodId?: string;
|
|
28
|
+
initiator?: Payabli.Initiator;
|
|
29
|
+
storedMethodUsageType?: Payabli.StoredMethodUsageType;
|
|
30
|
+
}
|
|
@@ -7,17 +7,10 @@ export interface AuthorizePayoutBody {
|
|
|
7
7
|
source?: Payabli.Source;
|
|
8
8
|
orderId?: Payabli.OrderId;
|
|
9
9
|
orderDescription?: Payabli.Orderdescription;
|
|
10
|
-
paymentMethod: Payabli.
|
|
10
|
+
paymentMethod: Payabli.AuthorizePaymentMethod;
|
|
11
11
|
/** Object containing payment details. */
|
|
12
12
|
paymentDetails: AuthorizePayoutBody.PaymentDetails;
|
|
13
|
-
/**
|
|
14
|
-
* Object containing vendor data.
|
|
15
|
-
* <Note>
|
|
16
|
-
* When creating a new vendor in a payout authorization, the system first checks `billingData` for the vendor's billing information.
|
|
17
|
-
* If `billingData` is empty, it falls back to the `paymentMethod` object information.
|
|
18
|
-
* For existing vendors, `paymentMethod` is ignored unless a `storedMethodId` is provided.
|
|
19
|
-
* </Note>
|
|
20
|
-
*/
|
|
13
|
+
/** Object containing vendor data. */
|
|
21
14
|
vendorData: AuthorizePayoutBody.VendorData;
|
|
22
15
|
/** Array of bills associated to the transaction */
|
|
23
16
|
invoiceData: AuthorizePayoutBody.InvoiceData.Item[];
|
|
@@ -77,7 +70,7 @@ export declare namespace AuthorizePayoutBody {
|
|
|
77
70
|
}
|
|
78
71
|
namespace VendorData {
|
|
79
72
|
/**
|
|
80
|
-
* Object containing vendor's bank information.
|
|
73
|
+
* Object containing vendor's bank information. This object is deprecated for this endpoint. Use the `paymentMethod` object in payout authorize requests instead.
|
|
81
74
|
*/
|
|
82
75
|
interface BillingData {
|
|
83
76
|
bankName?: Payabli.BankName;
|
|
@@ -8,7 +8,7 @@ export interface CaptureAllOutResponse {
|
|
|
8
8
|
responseCode?: Payabli.Responsecode;
|
|
9
9
|
/** Array of objects describing the transactions. */
|
|
10
10
|
responseData?: CaptureAllOutResponse.ResponseData.Item[];
|
|
11
|
-
responseText
|
|
11
|
+
responseText: Payabli.ResponseText;
|
|
12
12
|
}
|
|
13
13
|
export declare namespace CaptureAllOutResponse {
|
|
14
14
|
type ResponseData = ResponseData.Item[];
|
|
@@ -54,6 +54,8 @@ export interface VCardGetResponse {
|
|
|
54
54
|
/** Entry name for the Paypoint, if applicable. */
|
|
55
55
|
PaypointEntryname?: string;
|
|
56
56
|
externalPaypointID?: Payabli.ExternalPaypointId;
|
|
57
|
+
/** The unique identifier for the paypoint. */
|
|
58
|
+
paypointId?: number;
|
|
57
59
|
}
|
|
58
60
|
export declare namespace VCardGetResponse {
|
|
59
61
|
/**
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./LotNumber.js"), exports);
|
|
18
18
|
__exportStar(require("./AuthorizePayoutBody.js"), exports);
|
|
19
|
+
__exportStar(require("./AuthorizePaymentMethod.js"), exports);
|
|
19
20
|
__exportStar(require("./AuthCapturePayoutResponse.js"), exports);
|
|
20
21
|
__exportStar(require("./CaptureAllOutResponse.js"), exports);
|
|
21
22
|
__exportStar(require("./VCardGetResponse.js"), exports);
|
|
@@ -11,7 +11,7 @@ export declare namespace Notification {
|
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
apiKey?: core.Supplier<string | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
15
|
}
|
|
16
16
|
interface RequestOptions {
|
|
17
17
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -23,7 +23,7 @@ export declare namespace Notification {
|
|
|
23
23
|
/** Additional query string parameters to include in the request. */
|
|
24
24
|
queryParams?: Record<string, unknown>;
|
|
25
25
|
/** Additional headers to include in the request. */
|
|
26
|
-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
export declare class Notification {
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
|
+
import * as Payabli from "../../../index.js";
|
|
7
|
+
export declare namespace Notificationlogs {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.PayabliEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
apiKey?: core.Supplier<string | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
/** Additional query string parameters to include in the request. */
|
|
24
|
+
queryParams?: Record<string, unknown>;
|
|
25
|
+
/** Additional headers to include in the request. */
|
|
26
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare class Notificationlogs {
|
|
30
|
+
protected readonly _options: Notificationlogs.Options;
|
|
31
|
+
constructor(_options?: Notificationlogs.Options);
|
|
32
|
+
/**
|
|
33
|
+
* Search notification logs with filtering and pagination.
|
|
34
|
+
* - Start date and end date cannot be more than 30 days apart
|
|
35
|
+
* - Either `orgId` or `paypointId` must be provided
|
|
36
|
+
*
|
|
37
|
+
* This endpoint requires the `notifications_create` OR `notifications_read` permission.
|
|
38
|
+
*
|
|
39
|
+
* @param {Payabli.SearchNotificationLogsRequest} request
|
|
40
|
+
* @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link Payabli.BadRequestError}
|
|
43
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
44
|
+
* @throws {@link Payabli.InternalServerError}
|
|
45
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* await client.notificationlogs.searchNotificationLogs({
|
|
49
|
+
* PageSize: 20,
|
|
50
|
+
* body: {
|
|
51
|
+
* startDate: "2024-01-01T00:00:00Z",
|
|
52
|
+
* endDate: "2024-01-31T23:59:59Z",
|
|
53
|
+
* orgId: 12345,
|
|
54
|
+
* notificationEvent: "ActivatedMerchant",
|
|
55
|
+
* succeeded: true
|
|
56
|
+
* }
|
|
57
|
+
* })
|
|
58
|
+
*/
|
|
59
|
+
searchNotificationLogs(request: Payabli.SearchNotificationLogsRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLog[]>;
|
|
60
|
+
private __searchNotificationLogs;
|
|
61
|
+
/**
|
|
62
|
+
* Get detailed information for a specific notification log entry.
|
|
63
|
+
* This endpoint requires the `notifications_create` OR `notifications_read` permission.
|
|
64
|
+
*
|
|
65
|
+
* @param {string} uuid - The notification log entry.
|
|
66
|
+
* @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link Payabli.BadRequestError}
|
|
69
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
70
|
+
* @throws {@link Payabli.InternalServerError}
|
|
71
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
* await client.notificationlogs.getNotificationLog("550e8400-e29b-41d4-a716-446655440000")
|
|
75
|
+
*/
|
|
76
|
+
getNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
|
|
77
|
+
private __getNotificationLog;
|
|
78
|
+
/**
|
|
79
|
+
* Retry sending a specific notification.
|
|
80
|
+
*
|
|
81
|
+
* **Permissions:** notifications_create
|
|
82
|
+
*
|
|
83
|
+
* @param {string} uuid - Unique id
|
|
84
|
+
* @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link Payabli.BadRequestError}
|
|
87
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
88
|
+
* @throws {@link Payabli.InternalServerError}
|
|
89
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* await client.notificationlogs.retryNotificationLog("550e8400-e29b-41d4-a716-446655440000")
|
|
93
|
+
*/
|
|
94
|
+
retryNotificationLog(uuid: string, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<Payabli.NotificationLogDetail>;
|
|
95
|
+
private __retryNotificationLog;
|
|
96
|
+
/**
|
|
97
|
+
* Retry sending multiple notifications (maximum 50 IDs).
|
|
98
|
+
* This is an async process, so use the search endpoint again to check the notification status.
|
|
99
|
+
*
|
|
100
|
+
* This endpoint requires the `notifications_create` permission.
|
|
101
|
+
*
|
|
102
|
+
* @param {Payabli.BulkRetryRequest} request
|
|
103
|
+
* @param {Notificationlogs.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link Payabli.BadRequestError}
|
|
106
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
107
|
+
* @throws {@link Payabli.InternalServerError}
|
|
108
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* await client.notificationlogs.bulkRetryNotificationLogs(["550e8400-e29b-41d4-a716-446655440000", "550e8400-e29b-41d4-a716-446655440001", "550e8400-e29b-41d4-a716-446655440002"])
|
|
112
|
+
*/
|
|
113
|
+
bulkRetryNotificationLogs(request: Payabli.BulkRetryRequest, requestOptions?: Notificationlogs.RequestOptions): core.HttpResponsePromise<void>;
|
|
114
|
+
private __bulkRetryNotificationLogs;
|
|
115
|
+
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
116
|
+
requestToken: string | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
}
|