@payabli/sdk-node 0.0.114 → 0.0.117
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 +139 -12
- package/dist/cjs/BaseClient.d.ts +39 -0
- package/dist/cjs/BaseClient.js +60 -0
- package/dist/cjs/Client.d.ts +90 -109
- package/dist/cjs/Client.js +32 -75
- package/dist/cjs/api/errors/BadRequestError.d.ts +1 -4
- package/dist/cjs/api/errors/BadRequestError.js +1 -3
- package/dist/cjs/api/errors/ConflictError.d.ts +2 -5
- package/dist/cjs/api/errors/ConflictError.js +1 -3
- package/dist/cjs/api/errors/ForbiddenError.d.ts +2 -5
- package/dist/cjs/api/errors/ForbiddenError.js +1 -3
- package/dist/cjs/api/errors/InternalServerError.d.ts +1 -4
- package/dist/cjs/api/errors/InternalServerError.js +1 -3
- package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +2 -5
- package/dist/cjs/api/errors/ServiceUnavailableError.js +1 -3
- package/dist/cjs/api/errors/UnauthorizedError.d.ts +1 -4
- package/dist/cjs/api/errors/UnauthorizedError.js +1 -3
- package/dist/cjs/api/index.d.ts +2 -2
- package/dist/cjs/api/index.js +2 -2
- package/dist/cjs/api/resources/bill/client/Client.d.ts +36 -57
- package/dist/cjs/api/resources/bill/client/Client.js +154 -281
- package/dist/cjs/api/resources/bill/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/bill/client/requests/AddBillRequest.d.ts +1 -4
- package/dist/cjs/api/resources/bill/client/requests/AddBillRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/DeleteAttachedFromBillRequest.d.ts +0 -3
- package/dist/cjs/api/resources/bill/client/requests/DeleteAttachedFromBillRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/GetAttachedFromBillRequest.d.ts +0 -3
- package/dist/cjs/api/resources/bill/client/requests/GetAttachedFromBillRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/ListBillsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/bill/client/requests/ListBillsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/ListBillsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/bill/client/requests/ListBillsRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/SendToApprovalBillRequest.d.ts +1 -4
- package/dist/cjs/api/resources/bill/client/requests/SendToApprovalBillRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/SetApprovedBillRequest.d.ts +0 -3
- package/dist/cjs/api/resources/bill/client/requests/SetApprovedBillRequest.js +1 -3
- package/dist/cjs/api/resources/bill/client/requests/index.d.ts +7 -7
- package/dist/cjs/api/resources/bill/index.d.ts +1 -1
- package/dist/cjs/api/resources/bill/index.js +1 -1
- package/dist/cjs/api/resources/bill/types/BillOutData.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/BillOutData.js +1 -3
- package/dist/cjs/api/resources/bill/types/BillOutDataScheduledOptions.d.ts +0 -3
- package/dist/cjs/api/resources/bill/types/BillOutDataScheduledOptions.js +1 -3
- package/dist/cjs/api/resources/bill/types/BillResponse.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/BillResponse.js +1 -3
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/BillResponseData.js +1 -3
- package/dist/cjs/api/resources/bill/types/EditBillResponse.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/EditBillResponse.js +1 -3
- package/dist/cjs/api/resources/bill/types/GetBillResponse.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/GetBillResponse.js +1 -3
- package/dist/cjs/api/resources/bill/types/ModifyApprovalBillResponse.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/ModifyApprovalBillResponse.js +1 -3
- package/dist/cjs/api/resources/bill/types/SetApprovedBillResponse.d.ts +1 -4
- package/dist/cjs/api/resources/bill/types/SetApprovedBillResponse.js +1 -3
- package/dist/cjs/api/resources/bill/types/index.d.ts +4 -4
- package/dist/cjs/api/resources/bill/types/index.js +4 -4
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +30 -51
- package/dist/cjs/api/resources/boarding/client/Client.js +131 -258
- package/dist/cjs/api/resources/boarding/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/boarding/client/requests/GetExternalApplicationRequest.d.ts +0 -3
- package/dist/cjs/api/resources/boarding/client/requests/GetExternalApplicationRequest.js +1 -3
- package/dist/cjs/api/resources/boarding/client/requests/ListApplicationsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/boarding/client/requests/ListApplicationsRequest.js +1 -3
- package/dist/cjs/api/resources/boarding/client/requests/ListBoardingLinksRequest.d.ts +0 -3
- package/dist/cjs/api/resources/boarding/client/requests/ListBoardingLinksRequest.js +1 -3
- package/dist/cjs/api/resources/boarding/client/requests/RequestAppByAuth.d.ts +1 -4
- package/dist/cjs/api/resources/boarding/client/requests/RequestAppByAuth.js +1 -3
- package/dist/cjs/api/resources/boarding/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/boarding/index.d.ts +1 -1
- package/dist/cjs/api/resources/boarding/index.js +1 -1
- package/dist/cjs/api/resources/boarding/types/AddApplicationRequest.d.ts +1 -4
- package/dist/cjs/api/resources/boarding/types/AddApplicationRequest.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +20 -39
- package/dist/cjs/api/resources/chargeBacks/client/Client.js +57 -94
- package/dist/cjs/api/resources/chargeBacks/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -4
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/chargeBacks/index.d.ts +1 -1
- package/dist/cjs/api/resources/chargeBacks/index.js +1 -1
- package/dist/cjs/api/resources/chargeBacks/types/AddResponseResponse.d.ts +1 -4
- package/dist/cjs/api/resources/chargeBacks/types/AddResponseResponse.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/types/ChargeBackResponse.d.ts +1 -4
- package/dist/cjs/api/resources/chargeBacks/types/ChargeBackResponse.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackMessage.d.ts +0 -3
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackMessage.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.d.ts +1 -4
- package/dist/cjs/api/resources/chargeBacks/types/ChargebackQueryRecords.js +1 -3
- package/dist/cjs/api/resources/chargeBacks/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/chargeBacks/types/index.js +2 -2
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +10 -31
- package/dist/cjs/api/resources/checkCapture/client/Client.js +20 -37
- package/dist/cjs/api/resources/checkCapture/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/checkCapture/client/requests/CheckCaptureRequestBody.d.ts +1 -4
- package/dist/cjs/api/resources/checkCapture/client/requests/CheckCaptureRequestBody.js +1 -3
- package/dist/cjs/api/resources/checkCapture/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/checkCapture/index.d.ts +1 -1
- package/dist/cjs/api/resources/checkCapture/index.js +1 -1
- package/dist/cjs/api/resources/checkCapture/types/CheckCaptureRequest.d.ts +1 -4
- package/dist/cjs/api/resources/checkCapture/types/CheckCaptureRequest.js +1 -3
- package/dist/cjs/api/resources/checkCapture/types/CheckCaptureResponse.d.ts +1 -4
- package/dist/cjs/api/resources/checkCapture/types/CheckCaptureResponse.js +1 -3
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +20 -41
- package/dist/cjs/api/resources/cloud/client/Client.js +62 -112
- package/dist/cjs/api/resources/cloud/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/cloud/client/requests/DeviceEntry.d.ts +1 -4
- package/dist/cjs/api/resources/cloud/client/requests/DeviceEntry.js +1 -3
- package/dist/cjs/api/resources/cloud/client/requests/ListDeviceRequest.d.ts +0 -3
- package/dist/cjs/api/resources/cloud/client/requests/ListDeviceRequest.js +1 -3
- package/dist/cjs/api/resources/cloud/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/cloud/index.d.ts +1 -1
- package/dist/cjs/api/resources/cloud/index.js +1 -1
- package/dist/cjs/api/resources/cloud/types/AddDeviceResponse.d.ts +1 -4
- package/dist/cjs/api/resources/cloud/types/AddDeviceResponse.js +1 -3
- package/dist/cjs/api/resources/cloud/types/RemoveDeviceResponse.d.ts +1 -4
- package/dist/cjs/api/resources/cloud/types/RemoveDeviceResponse.js +1 -3
- package/dist/cjs/api/resources/customer/client/Client.d.ts +20 -41
- package/dist/cjs/api/resources/customer/client/Client.js +73 -145
- package/dist/cjs/api/resources/customer/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/customer/client/requests/AddCustomerRequest.d.ts +1 -4
- package/dist/cjs/api/resources/customer/client/requests/AddCustomerRequest.js +1 -3
- package/dist/cjs/api/resources/customer/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/export/client/Client.d.ts +96 -113
- package/dist/cjs/api/resources/export/client/Client.js +501 -822
- package/dist/cjs/api/resources/export/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/export/client/requests/ExportApplicationsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportApplicationsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchDetailsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesOutRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBatchesRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBillsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBillsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBillsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportBillsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportChargebacksOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportChargebacksOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportChargebacksRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportChargebacksRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportCustomersOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportCustomersOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportCustomersRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportCustomersRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportInvoicesOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportInvoicesOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportInvoicesRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportInvoicesRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportOrganizationsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportOrganizationsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPayoutOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPayoutOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPayoutRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPayoutRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPaypointsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportPaypointsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSettlementsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSettlementsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSettlementsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSettlementsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportSubscriptionsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransactionsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransactionsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransactionsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransactionsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransferDetailsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransferDetailsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransfersRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportTransfersRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportVendorsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportVendorsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/ExportVendorsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/export/client/requests/ExportVendorsRequest.js +1 -3
- package/dist/cjs/api/resources/export/client/requests/index.d.ts +29 -29
- package/dist/cjs/api/resources/export/index.d.ts +1 -1
- package/dist/cjs/api/resources/export/index.js +1 -1
- package/dist/cjs/api/resources/export/types/ExportFormat1.d.ts +1 -4
- package/dist/cjs/api/resources/export/types/ExportFormat1.js +1 -3
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +14 -35
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +41 -80
- package/dist/cjs/api/resources/hostedPaymentPages/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/hostedPaymentPages/client/requests/NewPageRequest.d.ts +1 -4
- package/dist/cjs/api/resources/hostedPaymentPages/client/requests/NewPageRequest.js +1 -3
- package/dist/cjs/api/resources/hostedPaymentPages/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/import/client/Client.d.ts +14 -35
- package/dist/cjs/api/resources/import/client/Client.js +42 -81
- package/dist/cjs/api/resources/import/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/import/client/requests/ImportBillsRequest.d.ts +2 -5
- package/dist/cjs/api/resources/import/client/requests/ImportBillsRequest.js +1 -3
- package/dist/cjs/api/resources/import/client/requests/ImportCustomerRequest.d.ts +2 -5
- package/dist/cjs/api/resources/import/client/requests/ImportCustomerRequest.js +1 -3
- package/dist/cjs/api/resources/import/client/requests/ImportVendorRequest.d.ts +2 -5
- package/dist/cjs/api/resources/import/client/requests/ImportVendorRequest.js +1 -3
- package/dist/cjs/api/resources/import/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/index.d.ts +36 -36
- package/dist/cjs/api/resources/index.js +40 -40
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +34 -55
- package/dist/cjs/api/resources/invoice/client/Client.js +148 -275
- package/dist/cjs/api/resources/invoice/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/EditInvoiceRequest.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/client/requests/EditInvoiceRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/GetAttachedFileFromInvoiceRequest.d.ts +0 -3
- package/dist/cjs/api/resources/invoice/client/requests/GetAttachedFileFromInvoiceRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesOrgRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesRequest.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/client/requests/ListInvoicesRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/SendInvoiceRequest.d.ts +0 -3
- package/dist/cjs/api/resources/invoice/client/requests/SendInvoiceRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/invoice/index.d.ts +1 -1
- package/dist/cjs/api/resources/invoice/index.js +1 -1
- package/dist/cjs/api/resources/invoice/types/GetInvoiceRecord.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/GetInvoiceRecord.js +1 -3
- package/dist/cjs/api/resources/invoice/types/InvoiceDataRequest.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/InvoiceDataRequest.js +1 -3
- package/dist/cjs/api/resources/invoice/types/InvoiceId.d.ts +0 -3
- package/dist/cjs/api/resources/invoice/types/InvoiceId.js +1 -3
- package/dist/cjs/api/resources/invoice/types/InvoiceNumberResponse.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/InvoiceNumberResponse.js +1 -3
- package/dist/cjs/api/resources/invoice/types/InvoicePaidAmount.d.ts +0 -3
- package/dist/cjs/api/resources/invoice/types/InvoicePaidAmount.js +1 -3
- package/dist/cjs/api/resources/invoice/types/InvoiceResponseWithoutData.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/InvoiceResponseWithoutData.js +1 -3
- package/dist/cjs/api/resources/invoice/types/QueryInvoiceResponse.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/QueryInvoiceResponse.js +1 -3
- package/dist/cjs/api/resources/invoice/types/SendInvoiceResponse.d.ts +1 -4
- package/dist/cjs/api/resources/invoice/types/SendInvoiceResponse.js +1 -3
- package/dist/cjs/api/resources/invoice/types/index.d.ts +5 -5
- package/dist/cjs/api/resources/invoice/types/index.js +5 -5
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +18 -39
- package/dist/cjs/api/resources/lineItem/client/Client.js +66 -127
- package/dist/cjs/api/resources/lineItem/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/lineItem/client/requests/AddItemRequest.d.ts +1 -4
- package/dist/cjs/api/resources/lineItem/client/requests/AddItemRequest.js +1 -3
- package/dist/cjs/api/resources/lineItem/client/requests/ListLineItemsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/lineItem/client/requests/ListLineItemsRequest.js +1 -3
- package/dist/cjs/api/resources/lineItem/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/lineItem/index.d.ts +1 -1
- package/dist/cjs/api/resources/lineItem/index.js +1 -1
- package/dist/cjs/api/resources/lineItem/types/DeleteItemResponse.d.ts +1 -4
- package/dist/cjs/api/resources/lineItem/types/DeleteItemResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +43 -88
- package/dist/cjs/api/resources/moneyIn/client/Client.js +171 -335
- package/dist/cjs/api/resources/moneyIn/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.d.ts +4 -5
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentValidate.d.ts +3 -8
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentValidate.js +2 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestRefund.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestRefund.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/SendReceipt2TransRequest.d.ts +0 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/SendReceipt2TransRequest.js +1 -3
- package/dist/cjs/api/resources/moneyIn/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.d.ts +2 -5
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +1 -3
- package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.d.ts +2 -5
- package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.js +1 -3
- package/dist/cjs/api/resources/moneyIn/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/errors/index.js +1 -1
- package/dist/cjs/api/resources/moneyIn/index.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/index.js +2 -2
- package/dist/cjs/api/resources/moneyIn/types/AuthResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/AuthResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/AuthResponseResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/AuthResponseResponseData.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/CapturePaymentDetails.d.ts +0 -3
- package/dist/cjs/api/resources/moneyIn/types/CapturePaymentDetails.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/CaptureRequest.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/CaptureRequest.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/CaptureResponseData.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/GetPaidResponseData.d.ts +3 -4
- package/dist/cjs/api/resources/moneyIn/types/GetPaidResponseData.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/InvalidTransStatusErrorType.d.ts +0 -3
- package/dist/cjs/api/resources/moneyIn/types/InvalidTransStatusErrorType.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/PayabliApiResponseGetPaid.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/PayabliApiResponseGetPaid.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/ReceiptResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/ReceiptResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/RefundResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/RefundResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/RefundWithInstructionsResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/RefundWithInstructionsResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/ReverseResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/ReverseResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/TransRequestBody.d.ts +20 -4
- package/dist/cjs/api/resources/moneyIn/types/TransRequestBody.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailCustomer.d.ts +28 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailCustomer.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailEvent.d.ts +8 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailEvent.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.ts +38 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailInvoiceData.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentData.d.ts +19 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentData.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentDetails.d.ts +22 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailPaymentDetails.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecord.d.ts +58 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecord.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecordMethod.d.ts +6 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecordMethod.js +9 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.d.ts +20 -0
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.js +3 -0
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/ValidateResponseData.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/VoidResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/VoidResponse.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/VoidResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/moneyIn/types/VoidResponseData.js +1 -3
- package/dist/cjs/api/resources/moneyIn/types/index.d.ts +19 -11
- package/dist/cjs/api/resources/moneyIn/types/index.js +19 -11
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +47 -51
- package/dist/cjs/api/resources/moneyOut/client/Client.js +163 -210
- package/dist/cjs/api/resources/moneyOut/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/moneyOut/client/requests/CaptureAllOutRequest.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOut/client/requests/CaptureAllOutRequest.js +1 -3
- package/dist/cjs/api/resources/moneyOut/client/requests/CaptureOutRequest.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOut/client/requests/CaptureOutRequest.js +1 -3
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +3 -5
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.js +1 -3
- package/dist/cjs/api/resources/moneyOut/client/requests/SendVCardLinkRequest.d.ts +0 -3
- package/dist/cjs/api/resources/moneyOut/client/requests/SendVCardLinkRequest.js +1 -3
- package/dist/cjs/api/resources/moneyOut/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +4 -5
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/CaptureAllOutResponse.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/LotNumber.d.ts +0 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/LotNumber.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/OperationResult.d.ts +0 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/OperationResult.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/VCardGetResponse.d.ts +1 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/VCardGetResponse.js +1 -3
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +4 -4
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +4 -4
- package/dist/cjs/api/resources/notification/client/Client.d.ts +19 -40
- package/dist/cjs/api/resources/notification/client/Client.js +64 -125
- package/dist/cjs/api/resources/notification/index.d.ts +1 -1
- package/dist/cjs/api/resources/notification/index.js +1 -1
- package/dist/cjs/api/resources/notification/types/AddNotificationRequest.d.ts +1 -4
- package/dist/cjs/api/resources/notification/types/AddNotificationRequest.js +1 -3
- package/dist/cjs/api/resources/notification/types/UpdateNotificationRequest.d.ts +1 -4
- package/dist/cjs/api/resources/notification/types/UpdateNotificationRequest.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +16 -37
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +53 -103
- package/dist/cjs/api/resources/notificationlogs/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.ts +3 -6
- package/dist/cjs/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/notificationlogs/index.d.ts +1 -1
- package/dist/cjs/api/resources/notificationlogs/index.js +1 -1
- package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.d.ts +0 -3
- package/dist/cjs/api/resources/notificationlogs/types/BulkRetryRequest.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.d.ts +0 -3
- package/dist/cjs/api/resources/notificationlogs/types/KeyValueArray.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.d.ts +0 -3
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLog.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.d.ts +1 -4
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogDetail.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.ts +0 -3
- package/dist/cjs/api/resources/notificationlogs/types/NotificationLogSearchRequest.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.d.ts +0 -3
- package/dist/cjs/api/resources/notificationlogs/types/StringStringKeyValuePair.js +1 -3
- package/dist/cjs/api/resources/notificationlogs/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/notificationlogs/types/index.js +3 -3
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +18 -45
- package/dist/cjs/api/resources/ocr/client/Client.js +37 -71
- package/dist/cjs/api/resources/ocr/index.d.ts +1 -1
- package/dist/cjs/api/resources/ocr/index.js +1 -1
- package/dist/cjs/api/resources/ocr/types/FileContentImageOnly.d.ts +2 -7
- package/dist/cjs/api/resources/ocr/types/FileContentImageOnly.js +2 -3
- package/dist/cjs/api/resources/ocr/types/OcrAttachment.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/OcrAttachment.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrBillItem.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/OcrBillItem.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrBillItemAdditionalData.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/OcrBillItemAdditionalData.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrResponseData.d.ts +1 -4
- package/dist/cjs/api/resources/ocr/types/OcrResponseData.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrResultData.d.ts +1 -4
- package/dist/cjs/api/resources/ocr/types/OcrResultData.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrVendor.d.ts +1 -4
- package/dist/cjs/api/resources/ocr/types/OcrVendor.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrVendorAdditionalData.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/OcrVendorAdditionalData.js +1 -3
- package/dist/cjs/api/resources/ocr/types/OcrVendorBillingData.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/OcrVendorBillingData.js +1 -3
- package/dist/cjs/api/resources/ocr/types/PayabliApiResponseOcr.d.ts +1 -4
- package/dist/cjs/api/resources/ocr/types/PayabliApiResponseOcr.js +1 -3
- package/dist/cjs/api/resources/ocr/types/TypeResult.d.ts +0 -3
- package/dist/cjs/api/resources/ocr/types/TypeResult.js +1 -3
- package/dist/cjs/api/resources/ocr/types/index.d.ts +8 -8
- package/dist/cjs/api/resources/ocr/types/index.js +8 -8
- package/dist/cjs/api/resources/organization/client/Client.d.ts +22 -43
- package/dist/cjs/api/resources/organization/client/Client.js +80 -163
- package/dist/cjs/api/resources/organization/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -4
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.js +1 -3
- package/dist/cjs/api/resources/organization/client/requests/OrganizationData.d.ts +1 -4
- package/dist/cjs/api/resources/organization/client/requests/OrganizationData.js +1 -3
- package/dist/cjs/api/resources/organization/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/organization/index.d.ts +1 -1
- package/dist/cjs/api/resources/organization/index.js +1 -1
- package/dist/cjs/api/resources/organization/types/AddOrganizationResponse.d.ts +1 -4
- package/dist/cjs/api/resources/organization/types/AddOrganizationResponse.js +1 -3
- package/dist/cjs/api/resources/organization/types/DeleteOrganizationResponse.d.ts +1 -4
- package/dist/cjs/api/resources/organization/types/DeleteOrganizationResponse.js +1 -3
- package/dist/cjs/api/resources/organization/types/EditOrganizationResponse.d.ts +1 -4
- package/dist/cjs/api/resources/organization/types/EditOrganizationResponse.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +26 -47
- package/dist/cjs/api/resources/paymentLink/client/Client.js +112 -217
- package/dist/cjs/api/resources/paymentLink/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkUpdateData.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkUpdateData.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/RefreshPayLinkFromIdRequest.d.ts +0 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/RefreshPayLinkFromIdRequest.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/SendPayLinkFromIdRequest.d.ts +0 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/SendPayLinkFromIdRequest.js +1 -3
- package/dist/cjs/api/resources/paymentLink/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/paymentLink/index.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/index.js +1 -1
- package/dist/cjs/api/resources/paymentLink/types/GetPayLinkFromIdResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/types/GetPayLinkFromIdResponse.js +1 -3
- package/dist/cjs/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.js +1 -3
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +1 -4
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.js +1 -3
- package/dist/cjs/api/resources/paymentLink/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/types/index.js +1 -1
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +22 -43
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +83 -166
- package/dist/cjs/api/resources/paymentMethodDomain/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/AddPaymentMethodDomainRequest.d.ts +1 -4
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/AddPaymentMethodDomainRequest.js +1 -3
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/ListPaymentMethodDomainsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/ListPaymentMethodDomainsRequest.js +1 -3
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/UpdatePaymentMethodDomainRequest.d.ts +1 -4
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/UpdatePaymentMethodDomainRequest.js +1 -3
- package/dist/cjs/api/resources/paymentMethodDomain/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/paymentMethodDomain/index.d.ts +1 -1
- package/dist/cjs/api/resources/paymentMethodDomain/index.js +1 -1
- package/dist/cjs/api/resources/paymentMethodDomain/types/DeletePaymentMethodDomainResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paymentMethodDomain/types/DeletePaymentMethodDomainResponse.js +1 -3
- package/dist/cjs/api/resources/paymentMethodDomain/types/ListPaymentMethodDomainsResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paymentMethodDomain/types/ListPaymentMethodDomainsResponse.js +1 -3
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +25 -46
- package/dist/cjs/api/resources/paypoint/client/Client.js +95 -189
- package/dist/cjs/api/resources/paypoint/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/paypoint/client/requests/GetEntryConfigRequest.d.ts +0 -3
- package/dist/cjs/api/resources/paypoint/client/requests/GetEntryConfigRequest.js +1 -3
- package/dist/cjs/api/resources/paypoint/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/paypoint/index.d.ts +1 -1
- package/dist/cjs/api/resources/paypoint/index.js +1 -1
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryByIdResponse.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/GetBasicEntryResponse.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/GetEntryConfigResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/GetEntryConfigResponse.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/MigratePaypointResponse.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/MigratePaypointResponse.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/NotificationRequest.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/NotificationRequest.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/PaypointMoveRequest.d.ts +1 -4
- package/dist/cjs/api/resources/paypoint/types/PaypointMoveRequest.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/WebHeaderParameter.d.ts +0 -3
- package/dist/cjs/api/resources/paypoint/types/WebHeaderParameter.js +1 -3
- package/dist/cjs/api/resources/paypoint/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/paypoint/types/index.js +2 -2
- package/dist/cjs/api/resources/query/client/Client.d.ts +74 -95
- package/dist/cjs/api/resources/query/client/Client.js +498 -869
- package/dist/cjs/api/resources/query/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchDetailsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOutOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOutOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOutRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchesOutRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListBatchesRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListBatchesRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListChargebacksOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListChargebacksOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListChargebacksRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListChargebacksRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListCustomersOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListCustomersOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListCustomersRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListCustomersRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationReportsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationsOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListNotificationsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListOrganizationsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListOrganizationsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListPayoutOrgRequest.d.ts +2 -4
- package/dist/cjs/api/resources/query/client/requests/ListPayoutOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListPayoutRequest.d.ts +2 -4
- package/dist/cjs/api/resources/query/client/requests/ListPayoutRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListPaypointsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListPaypointsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListSettlementsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListSettlementsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListSettlementsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListSettlementsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.d.ts +4 -5
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequestOrg.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListTransfersRequestOrg.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListUsersOrgRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListUsersOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListUsersPaypointRequest.d.ts +0 -3
- package/dist/cjs/api/resources/query/client/requests/ListUsersPaypointRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListVendorsOrgRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListVendorsOrgRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/ListVendorsRequest.d.ts +1 -4
- package/dist/cjs/api/resources/query/client/requests/ListVendorsRequest.js +1 -3
- package/dist/cjs/api/resources/query/client/requests/index.d.ts +33 -33
- package/dist/cjs/api/resources/queryTypes/types/LimitRecord.d.ts +0 -3
- package/dist/cjs/api/resources/queryTypes/types/LimitRecord.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/ListOrganizationsResponse.d.ts +1 -4
- package/dist/cjs/api/resources/queryTypes/types/ListOrganizationsResponse.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.ts +1 -4
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesDetailResponse.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.d.ts +1 -10
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesTransfer.d.ts +0 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesTransfer.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +1 -4
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferResponse.d.ts +1 -4
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferResponse.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +3 -4
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.js +1 -3
- package/dist/cjs/api/resources/queryTypes/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/queryTypes/types/index.js +3 -3
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +53 -74
- package/dist/cjs/api/resources/statistic/client/Client.js +114 -161
- package/dist/cjs/api/resources/statistic/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/statistic/client/requests/BasicStatsRequest.d.ts +2 -5
- package/dist/cjs/api/resources/statistic/client/requests/BasicStatsRequest.js +1 -3
- package/dist/cjs/api/resources/statistic/client/requests/CustomerBasicStatsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/statistic/client/requests/CustomerBasicStatsRequest.js +1 -3
- package/dist/cjs/api/resources/statistic/client/requests/SubStatsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/statistic/client/requests/SubStatsRequest.js +1 -3
- package/dist/cjs/api/resources/statistic/client/requests/VendorBasicStatsRequest.d.ts +0 -3
- package/dist/cjs/api/resources/statistic/client/requests/VendorBasicStatsRequest.js +1 -3
- package/dist/cjs/api/resources/statistic/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/statistic/index.d.ts +1 -1
- package/dist/cjs/api/resources/statistic/index.js +1 -1
- package/dist/cjs/api/resources/statistic/types/StatBasicExtendedQueryRecord.d.ts +76 -0
- package/dist/cjs/api/resources/statistic/types/StatBasicExtendedQueryRecord.js +3 -0
- package/dist/cjs/api/resources/statistic/types/StatBasicQueryRecord.d.ts +4 -3
- package/dist/cjs/api/resources/statistic/types/StatBasicQueryRecord.js +1 -3
- package/dist/cjs/api/resources/statistic/types/StatisticsVendorQueryRecord.d.ts +0 -3
- package/dist/cjs/api/resources/statistic/types/StatisticsVendorQueryRecord.js +1 -3
- package/dist/cjs/api/resources/statistic/types/SubscriptionStatsQueryRecord.d.ts +0 -3
- package/dist/cjs/api/resources/statistic/types/SubscriptionStatsQueryRecord.js +1 -3
- package/dist/cjs/api/resources/statistic/types/index.d.ts +2 -1
- package/dist/cjs/api/resources/statistic/types/index.js +2 -1
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +16 -37
- package/dist/cjs/api/resources/subscription/client/Client.js +51 -101
- package/dist/cjs/api/resources/subscription/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/subscription/client/requests/RequestSchedule.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/client/requests/RequestSchedule.js +1 -3
- package/dist/cjs/api/resources/subscription/client/requests/RequestUpdateSchedule.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/client/requests/RequestUpdateSchedule.js +1 -3
- package/dist/cjs/api/resources/subscription/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/subscription/index.d.ts +1 -1
- package/dist/cjs/api/resources/subscription/index.js +1 -1
- package/dist/cjs/api/resources/subscription/types/AddSubscriptionResponse.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/types/AddSubscriptionResponse.js +1 -3
- package/dist/cjs/api/resources/subscription/types/RemoveSubscriptionResponse.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/types/RemoveSubscriptionResponse.js +1 -3
- package/dist/cjs/api/resources/subscription/types/SetPause.d.ts +0 -3
- package/dist/cjs/api/resources/subscription/types/SetPause.js +1 -3
- package/dist/cjs/api/resources/subscription/types/SubscriptionRequestBody.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/types/SubscriptionRequestBody.js +1 -3
- package/dist/cjs/api/resources/subscription/types/UpdateSubscriptionResponse.d.ts +1 -4
- package/dist/cjs/api/resources/subscription/types/UpdateSubscriptionResponse.js +1 -3
- package/dist/cjs/api/resources/subscription/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/subscription/types/index.js +3 -3
- package/dist/cjs/api/resources/templates/client/Client.d.ts +18 -73
- package/dist/cjs/api/resources/templates/client/Client.js +61 -255
- package/dist/cjs/api/resources/templates/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/templates/client/requests/ListTemplatesRequest.d.ts +0 -3
- package/dist/cjs/api/resources/templates/client/requests/ListTemplatesRequest.js +1 -3
- package/dist/cjs/api/resources/templates/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +16 -37
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +57 -107
- package/dist/cjs/api/resources/tokenStorage/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.d.ts +0 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/GetMethodRequest.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tokenStorage/index.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/index.js +1 -1
- package/dist/cjs/api/resources/tokenStorage/types/AddMethodResponse.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/AddMethodResponse.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/ConvertToken.d.ts +0 -3
- package/dist/cjs/api/resources/tokenStorage/types/ConvertToken.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/CreateAnonymous.d.ts +0 -3
- package/dist/cjs/api/resources/tokenStorage/types/CreateAnonymous.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStorage.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStorage.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStoragePaymentMethod.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/RequestTokenStoragePaymentMethod.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/Temporary.d.ts +0 -3
- package/dist/cjs/api/resources/tokenStorage/types/Temporary.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/TokenizeAch.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/TokenizeAch.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/TokenizeCard.d.ts +1 -4
- package/dist/cjs/api/resources/tokenStorage/types/TokenizeCard.js +1 -3
- package/dist/cjs/api/resources/tokenStorage/types/index.d.ts +4 -4
- package/dist/cjs/api/resources/tokenStorage/types/index.js +4 -4
- package/dist/cjs/api/resources/user/client/Client.d.ts +57 -56
- package/dist/cjs/api/resources/user/client/Client.js +155 -271
- package/dist/cjs/api/resources/user/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/user/client/requests/GetUserRequest.d.ts +0 -3
- package/dist/cjs/api/resources/user/client/requests/GetUserRequest.js +1 -3
- package/dist/cjs/api/resources/user/client/requests/MfaValidationData.d.ts +1 -4
- package/dist/cjs/api/resources/user/client/requests/MfaValidationData.js +1 -3
- package/dist/cjs/api/resources/user/client/requests/UserAuthPswResetRequest.d.ts +0 -3
- package/dist/cjs/api/resources/user/client/requests/UserAuthPswResetRequest.js +1 -3
- package/dist/cjs/api/resources/user/client/requests/UserAuthRequest.d.ts +1 -4
- package/dist/cjs/api/resources/user/client/requests/UserAuthRequest.js +1 -3
- package/dist/cjs/api/resources/user/client/requests/UserAuthResetRequest.d.ts +1 -4
- package/dist/cjs/api/resources/user/client/requests/UserAuthResetRequest.js +1 -3
- package/dist/cjs/api/resources/user/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/user/index.d.ts +1 -1
- package/dist/cjs/api/resources/user/index.js +1 -1
- package/dist/cjs/api/resources/user/types/AddUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/AddUserResponse.js +1 -3
- package/dist/cjs/api/resources/user/types/AuthResetUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/AuthResetUserResponse.js +1 -3
- package/dist/cjs/api/resources/user/types/ChangePswUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/ChangePswUserResponse.js +1 -3
- package/dist/cjs/api/resources/user/types/DeleteUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/DeleteUserResponse.js +1 -3
- package/dist/cjs/api/resources/user/types/EditMfaUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/EditMfaUserResponse.js +1 -3
- package/dist/cjs/api/resources/user/types/LogoutUserResponse.d.ts +1 -4
- package/dist/cjs/api/resources/user/types/LogoutUserResponse.js +1 -3
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +16 -37
- package/dist/cjs/api/resources/vendor/client/Client.js +51 -101
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +16 -37
- package/dist/cjs/api/resources/wallet/client/Client.js +47 -97
- package/dist/cjs/api/resources/wallet/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/wallet/client/requests/ConfigureOrganizationRequestApplePay.d.ts +1 -4
- package/dist/cjs/api/resources/wallet/client/requests/ConfigureOrganizationRequestApplePay.js +1 -3
- package/dist/cjs/api/resources/wallet/client/requests/ConfigureOrganizationRequestGooglePay.d.ts +1 -4
- package/dist/cjs/api/resources/wallet/client/requests/ConfigureOrganizationRequestGooglePay.js +1 -3
- package/dist/cjs/api/resources/wallet/client/requests/ConfigurePaypointRequestApplePay.d.ts +1 -4
- package/dist/cjs/api/resources/wallet/client/requests/ConfigurePaypointRequestApplePay.js +1 -3
- package/dist/cjs/api/resources/wallet/client/requests/ConfigurePaypointRequestGooglePay.d.ts +1 -4
- package/dist/cjs/api/resources/wallet/client/requests/ConfigurePaypointRequestGooglePay.js +1 -3
- package/dist/cjs/api/resources/wallet/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/types/ASection.d.ts +0 -3
- package/dist/cjs/api/types/ASection.js +1 -3
- package/dist/cjs/api/types/AcceptOauth.d.ts +0 -3
- package/dist/cjs/api/types/AcceptOauth.js +1 -3
- package/dist/cjs/api/types/AcceptRegister.d.ts +0 -3
- package/dist/cjs/api/types/AcceptRegister.js +1 -3
- package/dist/cjs/api/types/AccountNumber.d.ts +0 -3
- package/dist/cjs/api/types/AccountNumber.js +1 -3
- package/dist/cjs/api/types/Accountexp.d.ts +0 -3
- package/dist/cjs/api/types/Accountexp.js +1 -3
- package/dist/cjs/api/types/Accountid.d.ts +0 -3
- package/dist/cjs/api/types/Accountid.js +1 -3
- package/dist/cjs/api/types/AccountingField.d.ts +0 -3
- package/dist/cjs/api/types/AccountingField.js +1 -3
- package/dist/cjs/api/types/Accounttype.d.ts +0 -3
- package/dist/cjs/api/types/Accounttype.js +1 -3
- package/dist/cjs/api/types/Accountzip.d.ts +0 -3
- package/dist/cjs/api/types/Accountzip.js +1 -3
- package/dist/cjs/api/types/AchAbsorbSection.d.ts +1 -4
- package/dist/cjs/api/types/AchAbsorbSection.js +1 -3
- package/dist/cjs/api/types/AchAcceptanceElement.d.ts +1 -4
- package/dist/cjs/api/types/AchAcceptanceElement.js +1 -3
- package/dist/cjs/api/types/AchFeeSection.d.ts +1 -4
- package/dist/cjs/api/types/AchFeeSection.js +1 -3
- package/dist/cjs/api/types/AchHolder.d.ts +0 -3
- package/dist/cjs/api/types/AchHolder.js +1 -3
- package/dist/cjs/api/types/AchHolderType.d.ts +2 -7
- package/dist/cjs/api/types/AchHolderType.js +2 -3
- package/dist/cjs/api/types/AchLinkTypes.d.ts +1 -4
- package/dist/cjs/api/types/AchLinkTypes.js +1 -3
- package/dist/cjs/api/types/AchPassThroughSection.d.ts +1 -4
- package/dist/cjs/api/types/AchPassThroughSection.js +1 -3
- package/dist/cjs/api/types/AchPaymentMethod.d.ts +0 -3
- package/dist/cjs/api/types/AchPaymentMethod.js +1 -3
- package/dist/cjs/api/types/AchSecCode.d.ts +0 -3
- package/dist/cjs/api/types/AchSecCode.js +1 -3
- package/dist/cjs/api/types/AchSection.d.ts +1 -4
- package/dist/cjs/api/types/AchSection.js +1 -3
- package/dist/cjs/api/types/AchService.d.ts +1 -4
- package/dist/cjs/api/types/AchService.js +1 -3
- package/dist/cjs/api/types/AchSetup.d.ts +0 -3
- package/dist/cjs/api/types/AchSetup.js +1 -3
- package/dist/cjs/api/types/AchTypes.d.ts +1 -4
- package/dist/cjs/api/types/AchTypes.js +1 -3
- package/dist/cjs/api/types/AchTypesPass.d.ts +1 -4
- package/dist/cjs/api/types/AchTypesPass.js +1 -3
- package/dist/cjs/api/types/AchTypesTiers.d.ts +1 -4
- package/dist/cjs/api/types/AchTypesTiers.js +1 -3
- package/dist/cjs/api/types/AchValidation.d.ts +0 -3
- package/dist/cjs/api/types/AchValidation.js +1 -3
- package/dist/cjs/api/types/Achaccount.d.ts +0 -3
- package/dist/cjs/api/types/Achaccount.js +1 -3
- package/dist/cjs/api/types/Achaccounttype.d.ts +2 -7
- package/dist/cjs/api/types/Achaccounttype.js +2 -3
- package/dist/cjs/api/types/Achrouting.d.ts +0 -3
- package/dist/cjs/api/types/Achrouting.js +1 -3
- package/dist/cjs/api/types/AddPaymentMethodDomainApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/AddPaymentMethodDomainApiResponse.js +1 -3
- package/dist/cjs/api/types/AdditionalData.d.ts +0 -3
- package/dist/cjs/api/types/AdditionalData.js +1 -3
- package/dist/cjs/api/types/AdditionalDataMap.d.ts +0 -3
- package/dist/cjs/api/types/AdditionalDataMap.js +1 -3
- package/dist/cjs/api/types/AdditionalDataString.d.ts +0 -3
- package/dist/cjs/api/types/AdditionalDataString.js +1 -3
- package/dist/cjs/api/types/AddressAddtlNullable.d.ts +0 -3
- package/dist/cjs/api/types/AddressAddtlNullable.js +1 -3
- package/dist/cjs/api/types/AddressNullable.d.ts +0 -3
- package/dist/cjs/api/types/AddressNullable.js +1 -3
- package/dist/cjs/api/types/AmountElement.d.ts +1 -4
- package/dist/cjs/api/types/AmountElement.js +1 -3
- package/dist/cjs/api/types/Annualrevenue.d.ts +0 -3
- package/dist/cjs/api/types/Annualrevenue.js +1 -3
- package/dist/cjs/api/types/AppId.d.ts +0 -3
- package/dist/cjs/api/types/AppId.js +1 -3
- package/dist/cjs/api/types/ApplePayData.d.ts +1 -4
- package/dist/cjs/api/types/ApplePayData.js +1 -3
- package/dist/cjs/api/types/ApplePayId.d.ts +0 -3
- package/dist/cjs/api/types/ApplePayId.js +1 -3
- package/dist/cjs/api/types/ApplePayMetadata.d.ts +0 -3
- package/dist/cjs/api/types/ApplePayMetadata.js +1 -3
- package/dist/cjs/api/types/ApplePayOrganizationUpdateData.d.ts +1 -4
- package/dist/cjs/api/types/ApplePayOrganizationUpdateData.js +1 -3
- package/dist/cjs/api/types/ApplePayPaypointRegistrationData.d.ts +1 -4
- package/dist/cjs/api/types/ApplePayPaypointRegistrationData.js +1 -3
- package/dist/cjs/api/types/ApplePayStatusData.d.ts +1 -4
- package/dist/cjs/api/types/ApplePayStatusData.js +1 -3
- package/dist/cjs/api/types/ApplePayType.d.ts +0 -3
- package/dist/cjs/api/types/ApplePayType.js +1 -3
- package/dist/cjs/api/types/AppleWalletData.d.ts +1 -4
- package/dist/cjs/api/types/AppleWalletData.js +1 -3
- package/dist/cjs/api/types/ApplicationData.d.ts +1 -4
- package/dist/cjs/api/types/ApplicationData.js +1 -3
- package/dist/cjs/api/types/ApplicationDataManaged.d.ts +1 -4
- package/dist/cjs/api/types/ApplicationDataManaged.js +1 -3
- package/dist/cjs/api/types/ApplicationDataOdp.d.ts +1 -4
- package/dist/cjs/api/types/ApplicationDataOdp.js +1 -3
- package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +1 -4
- package/dist/cjs/api/types/ApplicationDataPayIn.js +1 -3
- package/dist/cjs/api/types/ApplicationDetailsRecord.d.ts +3 -6
- package/dist/cjs/api/types/ApplicationDetailsRecord.js +1 -3
- package/dist/cjs/api/types/ApplicationQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/ApplicationQueryRecord.js +1 -3
- package/dist/cjs/api/types/AssociatedVendor.d.ts +1 -4
- package/dist/cjs/api/types/AssociatedVendor.js +1 -3
- package/dist/cjs/api/types/Attachments.d.ts +1 -4
- package/dist/cjs/api/types/Attachments.js +1 -3
- package/dist/cjs/api/types/AttestationDate.d.ts +0 -3
- package/dist/cjs/api/types/AttestationDate.js +1 -3
- package/dist/cjs/api/types/Authcode.d.ts +0 -3
- package/dist/cjs/api/types/Authcode.js +1 -3
- package/dist/cjs/api/types/AutoElement.d.ts +1 -4
- package/dist/cjs/api/types/AutoElement.js +1 -3
- package/dist/cjs/api/types/Avgmonthly.d.ts +0 -3
- package/dist/cjs/api/types/Avgmonthly.js +1 -3
- package/dist/cjs/api/types/Avgticketamt.d.ts +0 -3
- package/dist/cjs/api/types/Avgticketamt.js +1 -3
- package/dist/cjs/api/types/Avsresponsetext.d.ts +0 -3
- package/dist/cjs/api/types/Avsresponsetext.js +1 -3
- package/dist/cjs/api/types/BAddress.d.ts +1 -4
- package/dist/cjs/api/types/BAddress.js +1 -3
- package/dist/cjs/api/types/BDetails.d.ts +1 -4
- package/dist/cjs/api/types/BDetails.js +1 -3
- package/dist/cjs/api/types/BSection.d.ts +1 -4
- package/dist/cjs/api/types/BSection.js +1 -3
- package/dist/cjs/api/types/Baddress1.d.ts +0 -3
- package/dist/cjs/api/types/Baddress1.js +1 -3
- package/dist/cjs/api/types/Baddress2.d.ts +0 -3
- package/dist/cjs/api/types/Baddress2.js +1 -3
- package/dist/cjs/api/types/Bank.d.ts +1 -4
- package/dist/cjs/api/types/Bank.js +1 -3
- package/dist/cjs/api/types/BankAccountFunction.d.ts +0 -3
- package/dist/cjs/api/types/BankAccountFunction.js +1 -3
- package/dist/cjs/api/types/BankAccountHolderName.d.ts +0 -3
- package/dist/cjs/api/types/BankAccountHolderName.js +1 -3
- package/dist/cjs/api/types/BankAccountHolderType.d.ts +2 -7
- package/dist/cjs/api/types/BankAccountHolderType.js +2 -3
- package/dist/cjs/api/types/BankData.d.ts +1 -4
- package/dist/cjs/api/types/BankData.js +1 -3
- package/dist/cjs/api/types/BankName.d.ts +0 -3
- package/dist/cjs/api/types/BankName.js +1 -3
- package/dist/cjs/api/types/BankNickname.d.ts +0 -3
- package/dist/cjs/api/types/BankNickname.js +1 -3
- package/dist/cjs/api/types/BankSection.d.ts +1 -4
- package/dist/cjs/api/types/BankSection.js +1 -3
- package/dist/cjs/api/types/BasicTable.d.ts +1 -4
- package/dist/cjs/api/types/BasicTable.js +1 -3
- package/dist/cjs/api/types/BasicTemplateElement.d.ts +1 -4
- package/dist/cjs/api/types/BasicTemplateElement.js +1 -3
- package/dist/cjs/api/types/BatchNumber.d.ts +4 -4
- package/dist/cjs/api/types/BatchNumber.js +1 -3
- package/dist/cjs/api/types/BatchSummary.d.ts +1 -5
- package/dist/cjs/api/types/BatchSummary.js +1 -3
- package/dist/cjs/api/types/Bcity.d.ts +0 -3
- package/dist/cjs/api/types/Bcity.js +1 -3
- package/dist/cjs/api/types/Bcountry.d.ts +0 -3
- package/dist/cjs/api/types/Bcountry.js +1 -3
- package/dist/cjs/api/types/BillApprovals.d.ts +1 -4
- package/dist/cjs/api/types/BillApprovals.js +1 -3
- package/dist/cjs/api/types/BillData.d.ts +2 -5
- package/dist/cjs/api/types/BillData.js +48 -3
- package/dist/cjs/api/types/BillDetailResponse.d.ts +16 -5
- package/dist/cjs/api/types/BillDetailResponse.js +1 -3
- package/dist/cjs/api/types/BillDetailsResponse.d.ts +1 -4
- package/dist/cjs/api/types/BillDetailsResponse.js +1 -3
- package/dist/cjs/api/types/BillEvents.d.ts +1 -4
- package/dist/cjs/api/types/BillEvents.js +1 -3
- package/dist/cjs/api/types/BillId.d.ts +0 -3
- package/dist/cjs/api/types/BillId.js +1 -3
- package/dist/cjs/api/types/BillItem.d.ts +1 -4
- package/dist/cjs/api/types/BillItem.js +1 -3
- package/dist/cjs/api/types/BillOptions.d.ts +0 -3
- package/dist/cjs/api/types/BillOptions.js +1 -3
- package/dist/cjs/api/types/BillPayOutData.d.ts +1 -4
- package/dist/cjs/api/types/BillPayOutData.js +1 -3
- package/dist/cjs/api/types/BillPayOutDataRequest.d.ts +1 -4
- package/dist/cjs/api/types/BillPayOutDataRequest.js +1 -3
- package/dist/cjs/api/types/BillQueryRecord2.d.ts +1 -4
- package/dist/cjs/api/types/BillQueryRecord2.js +1 -3
- package/dist/cjs/api/types/BillQueryRecord2BillApprovalsItem.d.ts +1 -4
- package/dist/cjs/api/types/BillQueryRecord2BillApprovalsItem.js +1 -3
- package/dist/cjs/api/types/BillQueryRecord2PaymentMethod.d.ts +2 -7
- package/dist/cjs/api/types/BillQueryRecord2PaymentMethod.js +2 -3
- package/dist/cjs/api/types/BillQueryResponse.d.ts +1 -5
- package/dist/cjs/api/types/BillQueryResponse.js +1 -3
- package/dist/cjs/api/types/BillQueryResponseSummary.d.ts +1 -4
- package/dist/cjs/api/types/BillQueryResponseSummary.js +1 -3
- package/dist/cjs/api/types/BillingAddressAddtlNullable.d.ts +0 -3
- package/dist/cjs/api/types/BillingAddressAddtlNullable.js +1 -3
- package/dist/cjs/api/types/BillingAddressNullable.d.ts +0 -3
- package/dist/cjs/api/types/BillingAddressNullable.js +1 -3
- package/dist/cjs/api/types/BillingCityNullable.d.ts +0 -3
- package/dist/cjs/api/types/BillingCityNullable.js +1 -3
- package/dist/cjs/api/types/BillingCountryNullable.d.ts +0 -3
- package/dist/cjs/api/types/BillingCountryNullable.js +1 -3
- package/dist/cjs/api/types/BillingData.d.ts +1 -4
- package/dist/cjs/api/types/BillingData.js +1 -3
- package/dist/cjs/api/types/BillingDataResponse.d.ts +1 -4
- package/dist/cjs/api/types/BillingDataResponse.js +1 -3
- package/dist/cjs/api/types/BillingFeeDetail.d.ts +0 -3
- package/dist/cjs/api/types/BillingFeeDetail.js +1 -3
- package/dist/cjs/api/types/BillingStateNullable.d.ts +0 -3
- package/dist/cjs/api/types/BillingStateNullable.js +1 -3
- package/dist/cjs/api/types/BillingZip.d.ts +0 -3
- package/dist/cjs/api/types/BillingZip.js +1 -3
- package/dist/cjs/api/types/Billitems.d.ts +1 -4
- package/dist/cjs/api/types/Billitems.js +1 -3
- package/dist/cjs/api/types/Billstatus.d.ts +0 -3
- package/dist/cjs/api/types/Billstatus.js +1 -3
- package/dist/cjs/api/types/BinData.d.ts +0 -3
- package/dist/cjs/api/types/BinData.js +1 -3
- package/dist/cjs/api/types/Binperson.d.ts +0 -3
- package/dist/cjs/api/types/Binperson.js +1 -3
- package/dist/cjs/api/types/Binphone.d.ts +0 -3
- package/dist/cjs/api/types/Binphone.js +1 -3
- package/dist/cjs/api/types/Binweb.d.ts +0 -3
- package/dist/cjs/api/types/Binweb.js +1 -3
- package/dist/cjs/api/types/Bnk.d.ts +1 -4
- package/dist/cjs/api/types/Bnk.js +1 -3
- package/dist/cjs/api/types/BoardingApplicationAttachments.d.ts +1 -4
- package/dist/cjs/api/types/BoardingApplicationAttachments.js +1 -3
- package/dist/cjs/api/types/BoardingAverageBillSize.d.ts +0 -3
- package/dist/cjs/api/types/BoardingAverageBillSize.js +1 -3
- package/dist/cjs/api/types/BoardingAvgMonthlyBill.d.ts +0 -3
- package/dist/cjs/api/types/BoardingAvgMonthlyBill.js +1 -3
- package/dist/cjs/api/types/BoardingBusinessFax.d.ts +0 -3
- package/dist/cjs/api/types/BoardingBusinessFax.js +1 -3
- package/dist/cjs/api/types/BoardingBusinessPhone.d.ts +0 -3
- package/dist/cjs/api/types/BoardingBusinessPhone.js +1 -3
- package/dist/cjs/api/types/BoardingId.d.ts +0 -3
- package/dist/cjs/api/types/BoardingId.js +1 -3
- package/dist/cjs/api/types/BoardingLinkApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/BoardingLinkApiResponse.js +1 -3
- package/dist/cjs/api/types/BoardingLinkId.d.ts +0 -3
- package/dist/cjs/api/types/BoardingLinkId.js +1 -3
- package/dist/cjs/api/types/BoardingLinkQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/BoardingLinkQueryRecord.js +1 -3
- package/dist/cjs/api/types/BoardingQueryLinks.d.ts +1 -4
- package/dist/cjs/api/types/BoardingQueryLinks.js +1 -3
- package/dist/cjs/api/types/BoardingStatus.d.ts +0 -3
- package/dist/cjs/api/types/BoardingStatus.js +1 -3
- package/dist/cjs/api/types/Bphone.d.ts +0 -3
- package/dist/cjs/api/types/Bphone.js +1 -3
- package/dist/cjs/api/types/Bstate.d.ts +0 -3
- package/dist/cjs/api/types/Bstate.js +1 -3
- package/dist/cjs/api/types/Bsummary.d.ts +0 -3
- package/dist/cjs/api/types/Bsummary.js +1 -3
- package/dist/cjs/api/types/BuilderData.d.ts +1 -4
- package/dist/cjs/api/types/BuilderData.js +1 -3
- package/dist/cjs/api/types/BusinessSection.d.ts +1 -4
- package/dist/cjs/api/types/BusinessSection.js +1 -3
- package/dist/cjs/api/types/Busstartdate.d.ts +0 -3
- package/dist/cjs/api/types/Busstartdate.js +1 -3
- package/dist/cjs/api/types/ButtonElement.d.ts +2 -7
- package/dist/cjs/api/types/ButtonElement.js +2 -3
- package/dist/cjs/api/types/Bzip.d.ts +0 -3
- package/dist/cjs/api/types/Bzip.js +1 -3
- package/dist/cjs/api/types/CList.d.ts +1 -4
- package/dist/cjs/api/types/CList.js +1 -3
- package/dist/cjs/api/types/CardAcceptanceElement.d.ts +1 -4
- package/dist/cjs/api/types/CardAcceptanceElement.js +1 -3
- package/dist/cjs/api/types/CardFeeSection.d.ts +1 -4
- package/dist/cjs/api/types/CardFeeSection.js +1 -3
- package/dist/cjs/api/types/CardFlatSection.d.ts +1 -4
- package/dist/cjs/api/types/CardFlatSection.js +1 -3
- package/dist/cjs/api/types/CardIcpSection.d.ts +1 -4
- package/dist/cjs/api/types/CardIcpSection.js +1 -3
- package/dist/cjs/api/types/CardLinkTypes.d.ts +1 -4
- package/dist/cjs/api/types/CardLinkTypes.js +1 -3
- package/dist/cjs/api/types/CardPassThroughSection.d.ts +1 -4
- package/dist/cjs/api/types/CardPassThroughSection.js +1 -3
- package/dist/cjs/api/types/CardSection.d.ts +1 -4
- package/dist/cjs/api/types/CardSection.js +1 -3
- package/dist/cjs/api/types/CardService.d.ts +1 -4
- package/dist/cjs/api/types/CardService.js +1 -3
- package/dist/cjs/api/types/CardSetup.d.ts +0 -3
- package/dist/cjs/api/types/CardSetup.js +1 -3
- package/dist/cjs/api/types/CardType.d.ts +1 -4
- package/dist/cjs/api/types/CardType.js +1 -3
- package/dist/cjs/api/types/CardTypePass.d.ts +1 -4
- package/dist/cjs/api/types/CardTypePass.js +1 -3
- package/dist/cjs/api/types/CardTypes.d.ts +1 -4
- package/dist/cjs/api/types/CardTypes.js +1 -3
- package/dist/cjs/api/types/Cardcvv.d.ts +0 -3
- package/dist/cjs/api/types/Cardcvv.js +1 -3
- package/dist/cjs/api/types/Cardexp.d.ts +0 -3
- package/dist/cjs/api/types/Cardexp.js +1 -3
- package/dist/cjs/api/types/Cardholder.d.ts +0 -3
- package/dist/cjs/api/types/Cardholder.js +1 -3
- package/dist/cjs/api/types/Cardnumber.d.ts +0 -3
- package/dist/cjs/api/types/Cardnumber.js +1 -3
- package/dist/cjs/api/types/Cardzip.d.ts +0 -3
- package/dist/cjs/api/types/Cardzip.js +1 -3
- package/dist/cjs/api/types/Cascade.d.ts +0 -3
- package/dist/cjs/api/types/Cascade.js +1 -3
- package/dist/cjs/api/types/CascadeJobDetails.d.ts +1 -4
- package/dist/cjs/api/types/CascadeJobDetails.js +1 -3
- package/dist/cjs/api/types/Cash.d.ts +0 -3
- package/dist/cjs/api/types/Cash.js +1 -3
- package/dist/cjs/api/types/Category.d.ts +0 -3
- package/dist/cjs/api/types/Category.js +1 -3
- package/dist/cjs/api/types/ChargebackId.d.ts +0 -3
- package/dist/cjs/api/types/ChargebackId.js +1 -3
- package/dist/cjs/api/types/Check.d.ts +1 -4
- package/dist/cjs/api/types/Check.js +1 -3
- package/dist/cjs/api/types/CityNullable.d.ts +0 -3
- package/dist/cjs/api/types/CityNullable.js +1 -3
- package/dist/cjs/api/types/CloudQueryApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/CloudQueryApiResponse.js +1 -3
- package/dist/cjs/api/types/Comments.d.ts +0 -3
- package/dist/cjs/api/types/Comments.js +1 -3
- package/dist/cjs/api/types/ConfigureApplePayOrganizationApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/ConfigureApplePayOrganizationApiResponse.js +1 -3
- package/dist/cjs/api/types/ConfigureApplePaypointApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/ConfigureApplePaypointApiResponse.js +1 -3
- package/dist/cjs/api/types/ConfigureGooglePaypointApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/ConfigureGooglePaypointApiResponse.js +1 -3
- package/dist/cjs/api/types/ContactElement.d.ts +1 -4
- package/dist/cjs/api/types/ContactElement.js +1 -3
- package/dist/cjs/api/types/Contacts.d.ts +1 -4
- package/dist/cjs/api/types/Contacts.js +1 -3
- package/dist/cjs/api/types/ContactsField.d.ts +1 -4
- package/dist/cjs/api/types/ContactsField.js +1 -3
- package/dist/cjs/api/types/ContactsResponse.d.ts +1 -4
- package/dist/cjs/api/types/ContactsResponse.js +1 -3
- package/dist/cjs/api/types/CountryNullable.d.ts +0 -3
- package/dist/cjs/api/types/CountryNullable.js +1 -3
- package/dist/cjs/api/types/CreatedAt.d.ts +0 -3
- package/dist/cjs/api/types/CreatedAt.js +1 -3
- package/dist/cjs/api/types/CustomerData.d.ts +1 -4
- package/dist/cjs/api/types/CustomerData.js +1 -3
- package/dist/cjs/api/types/CustomerId.d.ts +0 -3
- package/dist/cjs/api/types/CustomerId.js +1 -3
- package/dist/cjs/api/types/CustomerNumberNullable.d.ts +0 -3
- package/dist/cjs/api/types/CustomerNumberNullable.js +1 -3
- package/dist/cjs/api/types/CustomerQueryRecords.d.ts +2 -22
- package/dist/cjs/api/types/CustomerQueryRecords.js +1 -3
- package/dist/cjs/api/types/CustomerStatus.d.ts +0 -3
- package/dist/cjs/api/types/CustomerStatus.js +1 -3
- package/dist/cjs/api/types/CustomerSummaryRecord.d.ts +1 -4
- package/dist/cjs/api/types/CustomerSummaryRecord.js +1 -3
- package/dist/cjs/api/types/Customeridtrans.d.ts +0 -3
- package/dist/cjs/api/types/Customeridtrans.js +1 -3
- package/dist/cjs/api/types/Cvvresponsetext.d.ts +0 -3
- package/dist/cjs/api/types/Cvvresponsetext.js +1 -3
- package/dist/cjs/api/types/DSection.d.ts +1 -4
- package/dist/cjs/api/types/DSection.js +1 -3
- package/dist/cjs/api/types/Datenullable.d.ts +0 -3
- package/dist/cjs/api/types/Datenullable.js +1 -3
- package/dist/cjs/api/types/DatetimeNullable.d.ts +0 -3
- package/dist/cjs/api/types/DatetimeNullable.js +1 -3
- package/dist/cjs/api/types/Dbaname.d.ts +0 -3
- package/dist/cjs/api/types/Dbaname.js +1 -3
- package/dist/cjs/api/types/DepositDate.d.ts +0 -3
- package/dist/cjs/api/types/DepositDate.js +1 -3
- package/dist/cjs/api/types/Descriptor.d.ts +0 -3
- package/dist/cjs/api/types/Descriptor.js +1 -3
- package/dist/cjs/api/types/Device.d.ts +0 -3
- package/dist/cjs/api/types/Device.js +1 -3
- package/dist/cjs/api/types/DeviceId.d.ts +1 -4
- package/dist/cjs/api/types/DeviceId.js +1 -3
- package/dist/cjs/api/types/Discount.d.ts +0 -3
- package/dist/cjs/api/types/Discount.js +1 -3
- package/dist/cjs/api/types/DisplayProperty.d.ts +0 -3
- package/dist/cjs/api/types/DisplayProperty.js +1 -3
- package/dist/cjs/api/types/DocumentSection.d.ts +1 -4
- package/dist/cjs/api/types/DocumentSection.js +1 -3
- package/dist/cjs/api/types/DocumentsRef.d.ts +1 -4
- package/dist/cjs/api/types/DocumentsRef.js +1 -3
- package/dist/cjs/api/types/DomainName.d.ts +0 -3
- package/dist/cjs/api/types/DomainName.js +1 -3
- package/dist/cjs/api/types/DutyAmount.d.ts +0 -3
- package/dist/cjs/api/types/DutyAmount.js +1 -3
- package/dist/cjs/api/types/Ein.d.ts +0 -3
- package/dist/cjs/api/types/Ein.js +1 -3
- package/dist/cjs/api/types/Element.d.ts +1 -4
- package/dist/cjs/api/types/Element.js +1 -3
- package/dist/cjs/api/types/Email.d.ts +0 -3
- package/dist/cjs/api/types/Email.js +1 -3
- package/dist/cjs/api/types/Enabled.d.ts +0 -3
- package/dist/cjs/api/types/Enabled.js +1 -3
- package/dist/cjs/api/types/EnrollmentStatus.d.ts +0 -3
- package/dist/cjs/api/types/EnrollmentStatus.js +1 -3
- package/dist/cjs/api/types/EntityId.d.ts +0 -3
- package/dist/cjs/api/types/EntityId.js +1 -3
- package/dist/cjs/api/types/EntityType.d.ts +0 -3
- package/dist/cjs/api/types/EntityType.js +1 -3
- package/dist/cjs/api/types/Entry.d.ts +0 -3
- package/dist/cjs/api/types/Entry.js +1 -3
- package/dist/cjs/api/types/EntryAttributes.d.ts +0 -3
- package/dist/cjs/api/types/EntryAttributes.js +1 -3
- package/dist/cjs/api/types/EntrypageId.d.ts +0 -3
- package/dist/cjs/api/types/EntrypageId.js +1 -3
- package/dist/cjs/api/types/Entrypointfield.d.ts +0 -3
- package/dist/cjs/api/types/Entrypointfield.js +1 -3
- package/dist/cjs/api/types/ExpectedDepositDate.d.ts +0 -3
- package/dist/cjs/api/types/ExpectedDepositDate.js +1 -3
- package/dist/cjs/api/types/ExpectedProcessingDateTime.d.ts +0 -3
- package/dist/cjs/api/types/ExpectedProcessingDateTime.js +1 -3
- package/dist/cjs/api/types/ExportFormat.d.ts +6 -13
- package/dist/cjs/api/types/ExportFormat.js +6 -3
- package/dist/cjs/api/types/ExternalPaypointId.d.ts +0 -3
- package/dist/cjs/api/types/ExternalPaypointId.js +1 -3
- package/dist/cjs/api/types/ExternalProcessorInformation.d.ts +0 -3
- package/dist/cjs/api/types/ExternalProcessorInformation.js +1 -3
- package/dist/cjs/api/types/FaxNumber.d.ts +0 -3
- package/dist/cjs/api/types/FaxNumber.js +1 -3
- package/dist/cjs/api/types/FeeAmount.d.ts +0 -3
- package/dist/cjs/api/types/FeeAmount.js +1 -3
- package/dist/cjs/api/types/FileContent.d.ts +2 -7
- package/dist/cjs/api/types/FileContent.js +2 -3
- package/dist/cjs/api/types/File_.d.ts +0 -3
- package/dist/cjs/api/types/File_.js +1 -3
- package/dist/cjs/api/types/Finishtype.d.ts +0 -3
- package/dist/cjs/api/types/Finishtype.js +1 -3
- package/dist/cjs/api/types/ForceCustomerCreation.d.ts +0 -3
- package/dist/cjs/api/types/ForceCustomerCreation.js +1 -3
- package/dist/cjs/api/types/FreightAmount.d.ts +0 -3
- package/dist/cjs/api/types/FreightAmount.js +1 -3
- package/dist/cjs/api/types/Frequency.d.ts +2 -7
- package/dist/cjs/api/types/Frequency.js +2 -3
- package/dist/cjs/api/types/FrequencyList.d.ts +0 -3
- package/dist/cjs/api/types/FrequencyList.js +1 -3
- package/dist/cjs/api/types/Frequencynotification.d.ts +1 -4
- package/dist/cjs/api/types/Frequencynotification.js +17 -3
- package/dist/cjs/api/types/Gatewayfield.d.ts +0 -3
- package/dist/cjs/api/types/Gatewayfield.js +1 -3
- package/dist/cjs/api/types/GeneralEvents.d.ts +1 -4
- package/dist/cjs/api/types/GeneralEvents.js +1 -3
- package/dist/cjs/api/types/GooglePayData.d.ts +1 -4
- package/dist/cjs/api/types/GooglePayData.js +1 -3
- package/dist/cjs/api/types/GooglePayMetadata.d.ts +0 -3
- package/dist/cjs/api/types/GooglePayMetadata.js +1 -3
- package/dist/cjs/api/types/GooglePayPaypointRegistrationData.d.ts +1 -4
- package/dist/cjs/api/types/GooglePayPaypointRegistrationData.js +1 -3
- package/dist/cjs/api/types/GooglePayStatusData.d.ts +1 -4
- package/dist/cjs/api/types/GooglePayStatusData.js +1 -3
- package/dist/cjs/api/types/GoogleWalletData.d.ts +0 -3
- package/dist/cjs/api/types/GoogleWalletData.js +1 -3
- package/dist/cjs/api/types/HasVcardTransactions.d.ts +0 -3
- package/dist/cjs/api/types/HasVcardTransactions.js +1 -3
- package/dist/cjs/api/types/HeaderElement.d.ts +1 -4
- package/dist/cjs/api/types/HeaderElement.js +1 -3
- package/dist/cjs/api/types/Highticketamt.d.ts +0 -3
- package/dist/cjs/api/types/Highticketamt.js +1 -3
- package/dist/cjs/api/types/Holdername.d.ts +0 -3
- package/dist/cjs/api/types/Holdername.js +1 -3
- package/dist/cjs/api/types/IdempotencyKey.d.ts +0 -3
- package/dist/cjs/api/types/IdempotencyKey.js +1 -3
- package/dist/cjs/api/types/Identifierfields.d.ts +0 -3
- package/dist/cjs/api/types/Identifierfields.js +1 -3
- package/dist/cjs/api/types/Idpaypoint.d.ts +0 -3
- package/dist/cjs/api/types/Idpaypoint.js +1 -3
- package/dist/cjs/api/types/Initiator.d.ts +0 -3
- package/dist/cjs/api/types/Initiator.js +1 -3
- package/dist/cjs/api/types/Instrument.d.ts +1 -4
- package/dist/cjs/api/types/Instrument.js +1 -3
- package/dist/cjs/api/types/InternalReferenceId.d.ts +0 -3
- package/dist/cjs/api/types/InternalReferenceId.js +1 -3
- package/dist/cjs/api/types/InvoiceAmount.d.ts +0 -3
- package/dist/cjs/api/types/InvoiceAmount.js +1 -3
- package/dist/cjs/api/types/InvoiceElement.d.ts +1 -4
- package/dist/cjs/api/types/InvoiceElement.js +1 -3
- package/dist/cjs/api/types/InvoiceNumber.d.ts +0 -3
- package/dist/cjs/api/types/InvoiceNumber.js +1 -3
- package/dist/cjs/api/types/InvoiceType.d.ts +0 -3
- package/dist/cjs/api/types/InvoiceType.js +1 -3
- package/dist/cjs/api/types/Invoicestatus.d.ts +0 -3
- package/dist/cjs/api/types/Invoicestatus.js +1 -3
- package/dist/cjs/api/types/IpAddress.d.ts +0 -3
- package/dist/cjs/api/types/IpAddress.js +1 -3
- package/dist/cjs/api/types/IsEnabled.d.ts +0 -3
- package/dist/cjs/api/types/IsEnabled.js +1 -3
- package/dist/cjs/api/types/IsRoot.d.ts +0 -3
- package/dist/cjs/api/types/IsRoot.js +1 -3
- package/dist/cjs/api/types/IsSameDayAch.d.ts +0 -3
- package/dist/cjs/api/types/IsSameDayAch.js +1 -3
- package/dist/cjs/api/types/IsSuccess.d.ts +0 -3
- package/dist/cjs/api/types/IsSuccess.js +1 -3
- package/dist/cjs/api/types/ItemCommodityCode.d.ts +0 -3
- package/dist/cjs/api/types/ItemCommodityCode.js +1 -3
- package/dist/cjs/api/types/ItemDescription.d.ts +0 -3
- package/dist/cjs/api/types/ItemDescription.js +1 -3
- package/dist/cjs/api/types/ItemProductCode.d.ts +0 -3
- package/dist/cjs/api/types/ItemProductCode.js +1 -3
- package/dist/cjs/api/types/ItemProductName.d.ts +0 -3
- package/dist/cjs/api/types/ItemProductName.js +1 -3
- package/dist/cjs/api/types/ItemUnitofMeasure.d.ts +0 -3
- package/dist/cjs/api/types/ItemUnitofMeasure.js +1 -3
- package/dist/cjs/api/types/JobId.d.ts +0 -3
- package/dist/cjs/api/types/JobId.js +1 -3
- package/dist/cjs/api/types/JobStatus.d.ts +0 -3
- package/dist/cjs/api/types/JobStatus.js +1 -3
- package/dist/cjs/api/types/KeyValue.d.ts +1 -4
- package/dist/cjs/api/types/KeyValue.js +1 -3
- package/dist/cjs/api/types/KeyValueDuo.d.ts +0 -3
- package/dist/cjs/api/types/KeyValueDuo.js +1 -3
- package/dist/cjs/api/types/LabelElement.d.ts +1 -4
- package/dist/cjs/api/types/LabelElement.js +1 -3
- package/dist/cjs/api/types/Language.d.ts +0 -3
- package/dist/cjs/api/types/Language.js +1 -3
- package/dist/cjs/api/types/LastModified.d.ts +0 -3
- package/dist/cjs/api/types/LastModified.js +1 -3
- package/dist/cjs/api/types/Legalname.d.ts +0 -3
- package/dist/cjs/api/types/Legalname.js +1 -3
- package/dist/cjs/api/types/License.d.ts +0 -3
- package/dist/cjs/api/types/License.js +1 -3
- package/dist/cjs/api/types/Licensestate.d.ts +0 -3
- package/dist/cjs/api/types/Licensestate.js +1 -3
- package/dist/cjs/api/types/LineItem.d.ts +1 -4
- package/dist/cjs/api/types/LineItem.js +1 -3
- package/dist/cjs/api/types/LineItemQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/LineItemQueryRecord.js +1 -3
- package/dist/cjs/api/types/LinkData.d.ts +1 -4
- package/dist/cjs/api/types/LinkData.js +1 -3
- package/dist/cjs/api/types/LinkRow.d.ts +1 -4
- package/dist/cjs/api/types/LinkRow.js +1 -3
- package/dist/cjs/api/types/LocationCode.d.ts +0 -3
- package/dist/cjs/api/types/LocationCode.js +1 -3
- package/dist/cjs/api/types/Maddress.d.ts +0 -3
- package/dist/cjs/api/types/Maddress.js +1 -3
- package/dist/cjs/api/types/Maddress1.d.ts +0 -3
- package/dist/cjs/api/types/Maddress1.js +1 -3
- package/dist/cjs/api/types/Maskedaccount.d.ts +0 -3
- package/dist/cjs/api/types/Maskedaccount.js +1 -3
- package/dist/cjs/api/types/Mcc.d.ts +0 -3
- package/dist/cjs/api/types/Mcc.js +1 -3
- package/dist/cjs/api/types/Mcity.d.ts +0 -3
- package/dist/cjs/api/types/Mcity.js +1 -3
- package/dist/cjs/api/types/Mcountry.d.ts +0 -3
- package/dist/cjs/api/types/Mcountry.js +1 -3
- package/dist/cjs/api/types/MethodElement.d.ts +7 -16
- package/dist/cjs/api/types/MethodElement.js +4 -3
- package/dist/cjs/api/types/MethodQueryRecords.d.ts +1 -4
- package/dist/cjs/api/types/MethodQueryRecords.js +1 -3
- package/dist/cjs/api/types/MethodReferenceId.d.ts +0 -3
- package/dist/cjs/api/types/MethodReferenceId.js +1 -3
- package/dist/cjs/api/types/Methodall.d.ts +2 -7
- package/dist/cjs/api/types/Methodall.js +2 -3
- package/dist/cjs/api/types/Methodnotification.d.ts +2 -7
- package/dist/cjs/api/types/Methodnotification.js +2 -3
- package/dist/cjs/api/types/MethodsList.d.ts +0 -3
- package/dist/cjs/api/types/MethodsList.js +1 -3
- package/dist/cjs/api/types/Mfa.d.ts +0 -3
- package/dist/cjs/api/types/Mfa.js +1 -3
- package/dist/cjs/api/types/MfaData.d.ts +1 -4
- package/dist/cjs/api/types/MfaData.js +1 -3
- package/dist/cjs/api/types/MfaMode.d.ts +0 -3
- package/dist/cjs/api/types/MfaMode.js +1 -3
- package/dist/cjs/api/types/MfaValidationCode.d.ts +0 -3
- package/dist/cjs/api/types/MfaValidationCode.js +1 -3
- package/dist/cjs/api/types/Mstate.d.ts +0 -3
- package/dist/cjs/api/types/Mstate.js +1 -3
- package/dist/cjs/api/types/Mzip.d.ts +0 -3
- package/dist/cjs/api/types/Mzip.js +1 -3
- package/dist/cjs/api/types/NameUser.d.ts +0 -3
- package/dist/cjs/api/types/NameUser.js +1 -3
- package/dist/cjs/api/types/NetAmountstring.d.ts +0 -3
- package/dist/cjs/api/types/NetAmountstring.js +1 -3
- package/dist/cjs/api/types/Netamountnullable.d.ts +0 -3
- package/dist/cjs/api/types/Netamountnullable.js +1 -3
- package/dist/cjs/api/types/NoteElement.d.ts +1 -4
- package/dist/cjs/api/types/NoteElement.js +1 -3
- package/dist/cjs/api/types/NotificationContent.d.ts +7 -13
- package/dist/cjs/api/types/NotificationContent.js +8 -3
- package/dist/cjs/api/types/NotificationId.d.ts +0 -3
- package/dist/cjs/api/types/NotificationId.js +1 -3
- package/dist/cjs/api/types/NotificationQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/NotificationQueryRecord.js +1 -3
- package/dist/cjs/api/types/NotificationReportRequest.d.ts +8 -17
- package/dist/cjs/api/types/NotificationReportRequest.js +4 -3
- package/dist/cjs/api/types/NotificationStandardRequest.d.ts +7 -13
- package/dist/cjs/api/types/NotificationStandardRequest.js +4 -3
- package/dist/cjs/api/types/OList.d.ts +1 -4
- package/dist/cjs/api/types/OList.js +1 -3
- package/dist/cjs/api/types/OSection.d.ts +1 -4
- package/dist/cjs/api/types/OSection.js +1 -3
- package/dist/cjs/api/types/OdpSetup.d.ts +2 -7
- package/dist/cjs/api/types/OdpSetup.js +2 -3
- package/dist/cjs/api/types/Operation.d.ts +0 -3
- package/dist/cjs/api/types/Operation.js +1 -3
- package/dist/cjs/api/types/OptinStatus.d.ts +0 -3
- package/dist/cjs/api/types/OptinStatus.js +1 -3
- package/dist/cjs/api/types/Order.d.ts +0 -3
- package/dist/cjs/api/types/Order.js +1 -3
- package/dist/cjs/api/types/OrderId.d.ts +0 -3
- package/dist/cjs/api/types/OrderId.js +1 -3
- package/dist/cjs/api/types/Orderdescription.d.ts +0 -3
- package/dist/cjs/api/types/Orderdescription.js +1 -3
- package/dist/cjs/api/types/OrgData.d.ts +1 -4
- package/dist/cjs/api/types/OrgData.js +1 -3
- package/dist/cjs/api/types/OrgParentId.d.ts +0 -3
- package/dist/cjs/api/types/OrgParentId.js +1 -3
- package/dist/cjs/api/types/OrgParentName.d.ts +0 -3
- package/dist/cjs/api/types/OrgParentName.js +1 -3
- package/dist/cjs/api/types/OrgScope.d.ts +1 -4
- package/dist/cjs/api/types/OrgScope.js +1 -3
- package/dist/cjs/api/types/OrgXScope.d.ts +1 -4
- package/dist/cjs/api/types/OrgXScope.js +1 -3
- package/dist/cjs/api/types/Orgaddress.d.ts +0 -3
- package/dist/cjs/api/types/Orgaddress.js +1 -3
- package/dist/cjs/api/types/OrganizationId.d.ts +0 -3
- package/dist/cjs/api/types/OrganizationId.js +1 -3
- package/dist/cjs/api/types/OrganizationQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/OrganizationQueryRecord.js +1 -3
- package/dist/cjs/api/types/OrganizationUpdates.d.ts +1 -4
- package/dist/cjs/api/types/OrganizationUpdates.js +1 -3
- package/dist/cjs/api/types/Orgcity.d.ts +0 -3
- package/dist/cjs/api/types/Orgcity.js +1 -3
- package/dist/cjs/api/types/Orgcountry.d.ts +0 -3
- package/dist/cjs/api/types/Orgcountry.js +1 -3
- package/dist/cjs/api/types/Orgentryname.d.ts +0 -3
- package/dist/cjs/api/types/Orgentryname.js +1 -3
- package/dist/cjs/api/types/Orgid.d.ts +0 -3
- package/dist/cjs/api/types/Orgid.js +1 -3
- package/dist/cjs/api/types/Orgidstring.d.ts +0 -3
- package/dist/cjs/api/types/Orgidstring.js +1 -3
- package/dist/cjs/api/types/Orgname.d.ts +0 -3
- package/dist/cjs/api/types/Orgname.js +1 -3
- package/dist/cjs/api/types/Orgstate.d.ts +0 -3
- package/dist/cjs/api/types/Orgstate.js +1 -3
- package/dist/cjs/api/types/Orgtimezone.d.ts +0 -3
- package/dist/cjs/api/types/Orgtimezone.js +1 -3
- package/dist/cjs/api/types/Orgtype.d.ts +0 -3
- package/dist/cjs/api/types/Orgtype.js +1 -3
- package/dist/cjs/api/types/Orgwebsite.d.ts +0 -3
- package/dist/cjs/api/types/Orgwebsite.js +1 -3
- package/dist/cjs/api/types/Orgzip.d.ts +0 -3
- package/dist/cjs/api/types/Orgzip.js +1 -3
- package/dist/cjs/api/types/OwnType.d.ts +2 -7
- package/dist/cjs/api/types/OwnType.js +2 -3
- package/dist/cjs/api/types/OwnerEntityId.d.ts +0 -3
- package/dist/cjs/api/types/OwnerEntityId.js +1 -3
- package/dist/cjs/api/types/OwnerEntityType.d.ts +0 -3
- package/dist/cjs/api/types/OwnerEntityType.js +1 -3
- package/dist/cjs/api/types/Ownerid.d.ts +0 -3
- package/dist/cjs/api/types/Ownerid.js +1 -3
- package/dist/cjs/api/types/Owners.d.ts +1 -4
- package/dist/cjs/api/types/Owners.js +1 -3
- package/dist/cjs/api/types/OwnersSection.d.ts +1 -4
- package/dist/cjs/api/types/OwnersSection.js +1 -3
- package/dist/cjs/api/types/Ownership.d.ts +1 -4
- package/dist/cjs/api/types/Ownership.js +1 -3
- package/dist/cjs/api/types/Ownertype.d.ts +0 -3
- package/dist/cjs/api/types/Ownertype.js +1 -3
- package/dist/cjs/api/types/PSection.d.ts +1 -4
- package/dist/cjs/api/types/PSection.js +1 -3
- package/dist/cjs/api/types/PageContent.d.ts +1 -4
- package/dist/cjs/api/types/PageContent.js +1 -3
- package/dist/cjs/api/types/PageElement.d.ts +1 -4
- package/dist/cjs/api/types/PageElement.js +1 -3
- package/dist/cjs/api/types/PageIdentifier.d.ts +0 -3
- package/dist/cjs/api/types/PageIdentifier.js +1 -3
- package/dist/cjs/api/types/PageSetting.d.ts +1 -4
- package/dist/cjs/api/types/PageSetting.js +1 -3
- package/dist/cjs/api/types/PagelinkSetting.d.ts +1 -4
- package/dist/cjs/api/types/PagelinkSetting.js +1 -3
- package/dist/cjs/api/types/Pagesize.d.ts +0 -3
- package/dist/cjs/api/types/Pagesize.js +1 -3
- package/dist/cjs/api/types/PairFiles.d.ts +0 -3
- package/dist/cjs/api/types/PairFiles.js +1 -3
- package/dist/cjs/api/types/PayCategory.d.ts +1 -4
- package/dist/cjs/api/types/PayCategory.js +1 -3
- package/dist/cjs/api/types/PayMethodBodyAllFields.d.ts +1 -4
- package/dist/cjs/api/types/PayMethodBodyAllFields.js +1 -3
- package/dist/cjs/api/types/PayMethodCloud.d.ts +1 -4
- package/dist/cjs/api/types/PayMethodCloud.js +1 -3
- package/dist/cjs/api/types/PayMethodCredit.d.ts +1 -4
- package/dist/cjs/api/types/PayMethodCredit.js +1 -3
- package/dist/cjs/api/types/PayMethodStoredMethod.d.ts +3 -8
- package/dist/cjs/api/types/PayMethodStoredMethod.js +2 -3
- package/dist/cjs/api/types/PayabliApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponse0.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse0.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponse00.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse00.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponse0000.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse0000.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponse00Responsedatanonobject.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse00Responsedatanonobject.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponse6.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponse6.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseCustomerQuery.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseCustomerQuery.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseError400.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseError400.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseGeneric2Part.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseGeneric2Part.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseImport.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseImport.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseMfaBasic.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseMfaBasic.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseNotifications.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseNotifications.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponsePaylinks.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponsePaylinks.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponsePaymethodDelete.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponsePaymethodDelete.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseTemplateId.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseTemplateId.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseUserMfa.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseUserMfa.js +1 -3
- package/dist/cjs/api/types/PayabliApiResponseVendors.d.ts +1 -4
- package/dist/cjs/api/types/PayabliApiResponseVendors.js +1 -3
- package/dist/cjs/api/types/PayabliCredentials.d.ts +0 -3
- package/dist/cjs/api/types/PayabliCredentials.js +1 -3
- package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +0 -3
- package/dist/cjs/api/types/PayabliCredentialsPascal.js +1 -3
- package/dist/cjs/api/types/PayabliPages.d.ts +1 -4
- package/dist/cjs/api/types/PayabliPages.js +1 -3
- package/dist/cjs/api/types/PayeeName.d.ts +0 -3
- package/dist/cjs/api/types/PayeeName.js +1 -3
- package/dist/cjs/api/types/PaylinkId.d.ts +0 -3
- package/dist/cjs/api/types/PaylinkId.js +1 -3
- package/dist/cjs/api/types/PaymentCategories.d.ts +0 -3
- package/dist/cjs/api/types/PaymentCategories.js +1 -3
- package/dist/cjs/api/types/PaymentDetail.d.ts +1 -4
- package/dist/cjs/api/types/PaymentDetail.js +1 -3
- package/dist/cjs/api/types/PaymentDetailCredit.d.ts +0 -3
- package/dist/cjs/api/types/PaymentDetailCredit.js +1 -3
- package/dist/cjs/api/types/PaymentIdString.d.ts +0 -3
- package/dist/cjs/api/types/PaymentIdString.js +1 -3
- package/dist/cjs/api/types/PaymentMethod.d.ts +1 -4
- package/dist/cjs/api/types/PaymentMethod.js +1 -3
- package/dist/cjs/api/types/PaymentMethodDomainApiResponse.d.ts +1 -4
- package/dist/cjs/api/types/PaymentMethodDomainApiResponse.js +1 -3
- package/dist/cjs/api/types/PaymentMethodDomainGeneralResponse.d.ts +1 -4
- package/dist/cjs/api/types/PaymentMethodDomainGeneralResponse.js +1 -3
- package/dist/cjs/api/types/PaymentMethodDomainId.d.ts +0 -3
- package/dist/cjs/api/types/PaymentMethodDomainId.js +1 -3
- package/dist/cjs/api/types/PaymentTransStatusDescription.d.ts +0 -3
- package/dist/cjs/api/types/PaymentTransStatusDescription.js +1 -3
- package/dist/cjs/api/types/Paymentid.d.ts +0 -3
- package/dist/cjs/api/types/Paymentid.js +1 -3
- package/dist/cjs/api/types/PayorDataRequest.d.ts +1 -4
- package/dist/cjs/api/types/PayorDataRequest.js +1 -3
- package/dist/cjs/api/types/PayorDataResponse.d.ts +1 -4
- package/dist/cjs/api/types/PayorDataResponse.js +1 -3
- package/dist/cjs/api/types/PayorElement.d.ts +1 -4
- package/dist/cjs/api/types/PayorElement.js +1 -3
- package/dist/cjs/api/types/PayorFields.d.ts +1 -4
- package/dist/cjs/api/types/PayorFields.js +1 -3
- package/dist/cjs/api/types/PayorId.d.ts +0 -3
- package/dist/cjs/api/types/PayorId.js +1 -3
- package/dist/cjs/api/types/PayoutAverageMonthlyVolume.d.ts +0 -3
- package/dist/cjs/api/types/PayoutAverageMonthlyVolume.js +1 -3
- package/dist/cjs/api/types/PayoutAverageTicketLimit.d.ts +0 -3
- package/dist/cjs/api/types/PayoutAverageTicketLimit.js +1 -3
- package/dist/cjs/api/types/PayoutCreditLimit.d.ts +0 -3
- package/dist/cjs/api/types/PayoutCreditLimit.js +1 -3
- package/dist/cjs/api/types/PayoutGatewayConnector.d.ts +0 -3
- package/dist/cjs/api/types/PayoutGatewayConnector.js +1 -3
- package/dist/cjs/api/types/PayoutHighTicketAmount.d.ts +0 -3
- package/dist/cjs/api/types/PayoutHighTicketAmount.js +1 -3
- package/dist/cjs/api/types/PayoutProgram.d.ts +0 -3
- package/dist/cjs/api/types/PayoutProgram.js +1 -3
- package/dist/cjs/api/types/PaypointData.d.ts +1 -4
- package/dist/cjs/api/types/PaypointData.js +1 -3
- package/dist/cjs/api/types/PaypointEntryConfig.d.ts +1 -4
- package/dist/cjs/api/types/PaypointEntryConfig.js +1 -3
- package/dist/cjs/api/types/PaypointId.d.ts +0 -3
- package/dist/cjs/api/types/PaypointId.js +1 -3
- package/dist/cjs/api/types/PaypointName.d.ts +0 -3
- package/dist/cjs/api/types/PaypointName.js +1 -3
- package/dist/cjs/api/types/PaypointSummary.d.ts +0 -3
- package/dist/cjs/api/types/PaypointSummary.js +1 -3
- package/dist/cjs/api/types/Paypointstatus.d.ts +0 -3
- package/dist/cjs/api/types/Paypointstatus.js +1 -3
- package/dist/cjs/api/types/PciAttestation.d.ts +0 -3
- package/dist/cjs/api/types/PciAttestation.js +1 -3
- package/dist/cjs/api/types/PendingFeeAmount.d.ts +0 -3
- package/dist/cjs/api/types/PendingFeeAmount.js +1 -3
- package/dist/cjs/api/types/PhoneNumber.d.ts +0 -3
- package/dist/cjs/api/types/PhoneNumber.js +1 -3
- package/dist/cjs/api/types/PoiDevice.d.ts +0 -3
- package/dist/cjs/api/types/PoiDevice.js +1 -3
- package/dist/cjs/api/types/PolicyId.d.ts +0 -3
- package/dist/cjs/api/types/PolicyId.js +1 -3
- package/dist/cjs/api/types/PosCol.d.ts +0 -3
- package/dist/cjs/api/types/PosCol.js +1 -3
- package/dist/cjs/api/types/PosRow.d.ts +0 -3
- package/dist/cjs/api/types/PosRow.js +1 -3
- package/dist/cjs/api/types/ProcessingSection.d.ts +1 -4
- package/dist/cjs/api/types/ProcessingSection.js +1 -3
- package/dist/cjs/api/types/PurchaseOrder.d.ts +0 -3
- package/dist/cjs/api/types/PurchaseOrder.js +1 -3
- package/dist/cjs/api/types/PushPayLinkRequest.d.ts +1 -4
- package/dist/cjs/api/types/PushPayLinkRequest.js +1 -3
- package/dist/cjs/api/types/QueryBatchesOutResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryBatchesOutResponse.js +1 -3
- package/dist/cjs/api/types/QueryBoardingAppsListResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryBoardingAppsListResponse.js +1 -3
- package/dist/cjs/api/types/QueryBoardingLinksResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryBoardingLinksResponse.js +1 -3
- package/dist/cjs/api/types/QueryCFeeTransaction.d.ts +1 -4
- package/dist/cjs/api/types/QueryCFeeTransaction.js +1 -3
- package/dist/cjs/api/types/QueryChargebacksResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryChargebacksResponse.js +1 -3
- package/dist/cjs/api/types/QueryCustomerResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryCustomerResponse.js +1 -3
- package/dist/cjs/api/types/QueryEntrypointResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryEntrypointResponse.js +1 -3
- package/dist/cjs/api/types/QueryPaymentData.d.ts +1 -4
- package/dist/cjs/api/types/QueryPaymentData.js +1 -3
- package/dist/cjs/api/types/QueryPayoutTransaction.d.ts +1 -4
- package/dist/cjs/api/types/QueryPayoutTransaction.js +1 -3
- package/dist/cjs/api/types/QueryResponse.d.ts +0 -3
- package/dist/cjs/api/types/QueryResponse.js +1 -3
- package/dist/cjs/api/types/QueryResponseData.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseData.js +1 -3
- package/dist/cjs/api/types/QueryResponseItems.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseItems.js +1 -3
- package/dist/cjs/api/types/QueryResponseNotificationReports.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseNotificationReports.js +1 -3
- package/dist/cjs/api/types/QueryResponseNotifications.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseNotifications.js +1 -3
- package/dist/cjs/api/types/QueryResponseSettlements.d.ts +2 -5
- package/dist/cjs/api/types/QueryResponseSettlements.js +1 -3
- package/dist/cjs/api/types/QueryResponseTransactions.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseTransactions.js +1 -3
- package/dist/cjs/api/types/QueryResponseVendors.d.ts +1 -4
- package/dist/cjs/api/types/QueryResponseVendors.js +1 -3
- package/dist/cjs/api/types/QuerySubscriptionResponse.d.ts +1 -4
- package/dist/cjs/api/types/QuerySubscriptionResponse.js +1 -3
- package/dist/cjs/api/types/QuerySummary.d.ts +1 -4
- package/dist/cjs/api/types/QuerySummary.js +1 -3
- package/dist/cjs/api/types/QuerySummaryNoAmt.d.ts +1 -4
- package/dist/cjs/api/types/QuerySummaryNoAmt.js +1 -3
- package/dist/cjs/api/types/QueryTransactionEvents.d.ts +0 -3
- package/dist/cjs/api/types/QueryTransactionEvents.js +1 -3
- package/dist/cjs/api/types/QueryTransactionPayorData.d.ts +1 -4
- package/dist/cjs/api/types/QueryTransactionPayorData.js +1 -3
- package/dist/cjs/api/types/QueryTransactionPayorDataCustomer.d.ts +37 -0
- package/dist/cjs/api/types/QueryTransactionPayorDataCustomer.js +3 -0
- package/dist/cjs/api/types/QueryUserResponse.d.ts +1 -4
- package/dist/cjs/api/types/QueryUserResponse.js +1 -3
- package/dist/cjs/api/types/ReadOnly.d.ts +0 -3
- package/dist/cjs/api/types/ReadOnly.js +1 -3
- package/dist/cjs/api/types/ReceiptContent.d.ts +1 -4
- package/dist/cjs/api/types/ReceiptContent.js +1 -3
- package/dist/cjs/api/types/RecipientEmailNotification.d.ts +0 -3
- package/dist/cjs/api/types/RecipientEmailNotification.js +1 -3
- package/dist/cjs/api/types/ReferenceName.d.ts +0 -3
- package/dist/cjs/api/types/ReferenceName.js +1 -3
- package/dist/cjs/api/types/ReferenceTemplateId.d.ts +0 -3
- package/dist/cjs/api/types/ReferenceTemplateId.js +1 -3
- package/dist/cjs/api/types/Referenceidtrans.d.ts +0 -3
- package/dist/cjs/api/types/Referenceidtrans.js +1 -3
- package/dist/cjs/api/types/RefundDetail.d.ts +1 -4
- package/dist/cjs/api/types/RefundDetail.js +1 -3
- package/dist/cjs/api/types/RefundId.d.ts +0 -3
- package/dist/cjs/api/types/RefundId.js +1 -3
- package/dist/cjs/api/types/RemitEmail.d.ts +0 -3
- package/dist/cjs/api/types/RemitEmail.js +1 -3
- package/dist/cjs/api/types/Remitaddress1.d.ts +0 -3
- package/dist/cjs/api/types/Remitaddress1.js +1 -3
- package/dist/cjs/api/types/Remitaddress2.d.ts +0 -3
- package/dist/cjs/api/types/Remitaddress2.js +1 -3
- package/dist/cjs/api/types/Remitcity.d.ts +0 -3
- package/dist/cjs/api/types/Remitcity.js +1 -3
- package/dist/cjs/api/types/Remitcountry.d.ts +0 -3
- package/dist/cjs/api/types/Remitcountry.js +1 -3
- package/dist/cjs/api/types/Remitstate.d.ts +0 -3
- package/dist/cjs/api/types/Remitstate.js +1 -3
- package/dist/cjs/api/types/Remitzip.d.ts +0 -3
- package/dist/cjs/api/types/Remitzip.js +1 -3
- package/dist/cjs/api/types/RepCode.d.ts +0 -3
- package/dist/cjs/api/types/RepCode.js +1 -3
- package/dist/cjs/api/types/RepName.d.ts +0 -3
- package/dist/cjs/api/types/RepName.js +1 -3
- package/dist/cjs/api/types/RepOffice.d.ts +0 -3
- package/dist/cjs/api/types/RepOffice.js +1 -3
- package/dist/cjs/api/types/ReplyToEmail.d.ts +0 -3
- package/dist/cjs/api/types/ReplyToEmail.js +1 -3
- package/dist/cjs/api/types/Replyby.d.ts +0 -3
- package/dist/cjs/api/types/Replyby.js +1 -3
- package/dist/cjs/api/types/RequiredElement.d.ts +0 -3
- package/dist/cjs/api/types/RequiredElement.js +1 -3
- package/dist/cjs/api/types/ResponseText.d.ts +0 -3
- package/dist/cjs/api/types/ResponseText.js +1 -3
- package/dist/cjs/api/types/Responsecode.d.ts +0 -3
- package/dist/cjs/api/types/Responsecode.js +1 -3
- package/dist/cjs/api/types/Responsedata.d.ts +0 -3
- package/dist/cjs/api/types/Responsedata.js +1 -3
- package/dist/cjs/api/types/Responsedatanonobject.d.ts +0 -3
- package/dist/cjs/api/types/Responsedatanonobject.js +1 -3
- package/dist/cjs/api/types/ResultCode.d.ts +0 -3
- package/dist/cjs/api/types/ResultCode.js +1 -3
- package/dist/cjs/api/types/Resulttext.d.ts +0 -3
- package/dist/cjs/api/types/Resulttext.js +1 -3
- package/dist/cjs/api/types/Resumable.d.ts +0 -3
- package/dist/cjs/api/types/Resumable.js +1 -3
- package/dist/cjs/api/types/RetrievalId.d.ts +0 -3
- package/dist/cjs/api/types/RetrievalId.js +1 -3
- package/dist/cjs/api/types/ReturnedId.d.ts +0 -3
- package/dist/cjs/api/types/ReturnedId.js +1 -3
- package/dist/cjs/api/types/RiskAction.d.ts +0 -3
- package/dist/cjs/api/types/RiskAction.js +1 -3
- package/dist/cjs/api/types/RiskActionCode.d.ts +0 -3
- package/dist/cjs/api/types/RiskActionCode.js +1 -3
- package/dist/cjs/api/types/RiskFlagged.d.ts +0 -3
- package/dist/cjs/api/types/RiskFlagged.js +1 -3
- package/dist/cjs/api/types/RiskFlaggedOn.d.ts +0 -3
- package/dist/cjs/api/types/RiskFlaggedOn.js +1 -3
- package/dist/cjs/api/types/RiskReason.d.ts +0 -3
- package/dist/cjs/api/types/RiskReason.js +1 -3
- package/dist/cjs/api/types/RiskStatus.d.ts +0 -3
- package/dist/cjs/api/types/RiskStatus.js +1 -3
- package/dist/cjs/api/types/RoomIdNotInUse.d.ts +0 -3
- package/dist/cjs/api/types/RoomIdNotInUse.js +1 -3
- package/dist/cjs/api/types/RoutingAccount.d.ts +0 -3
- package/dist/cjs/api/types/RoutingAccount.js +1 -3
- package/dist/cjs/api/types/SSection.d.ts +1 -4
- package/dist/cjs/api/types/SSection.js +1 -3
- package/dist/cjs/api/types/SalesCode.d.ts +0 -3
- package/dist/cjs/api/types/SalesCode.js +1 -3
- package/dist/cjs/api/types/SalesSection.d.ts +1 -4
- package/dist/cjs/api/types/SalesSection.js +1 -3
- package/dist/cjs/api/types/SaveIfSuccess.d.ts +0 -3
- package/dist/cjs/api/types/SaveIfSuccess.js +1 -3
- package/dist/cjs/api/types/ScheduleDetail.d.ts +1 -4
- package/dist/cjs/api/types/ScheduleDetail.js +1 -3
- package/dist/cjs/api/types/ScheduleId.d.ts +0 -3
- package/dist/cjs/api/types/ScheduleId.js +1 -3
- package/dist/cjs/api/types/Sequence.d.ts +0 -3
- package/dist/cjs/api/types/Sequence.js +1 -3
- package/dist/cjs/api/types/ServiceCost.d.ts +1 -4
- package/dist/cjs/api/types/ServiceCost.js +1 -3
- package/dist/cjs/api/types/Services.d.ts +1 -4
- package/dist/cjs/api/types/Services.js +1 -3
- package/dist/cjs/api/types/ServicesSection.d.ts +1 -4
- package/dist/cjs/api/types/ServicesSection.js +1 -3
- package/dist/cjs/api/types/SettingElement.d.ts +1 -4
- package/dist/cjs/api/types/SettingElement.js +1 -3
- package/dist/cjs/api/types/SettingsQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/SettingsQueryRecord.js +1 -3
- package/dist/cjs/api/types/SettlementStatus.d.ts +0 -3
- package/dist/cjs/api/types/SettlementStatus.js +1 -3
- package/dist/cjs/api/types/SettlementStatusPayout.d.ts +0 -3
- package/dist/cjs/api/types/SettlementStatusPayout.js +1 -3
- package/dist/cjs/api/types/ShippingFromZip.d.ts +0 -3
- package/dist/cjs/api/types/ShippingFromZip.js +1 -3
- package/dist/cjs/api/types/Shippingaddress.d.ts +0 -3
- package/dist/cjs/api/types/Shippingaddress.js +1 -3
- package/dist/cjs/api/types/Shippingaddressadditional.d.ts +0 -3
- package/dist/cjs/api/types/Shippingaddressadditional.js +1 -3
- package/dist/cjs/api/types/Shippingcity.d.ts +0 -3
- package/dist/cjs/api/types/Shippingcity.js +1 -3
- package/dist/cjs/api/types/Shippingcountry.d.ts +0 -3
- package/dist/cjs/api/types/Shippingcountry.js +1 -3
- package/dist/cjs/api/types/Shippingstate.d.ts +0 -3
- package/dist/cjs/api/types/Shippingstate.js +1 -3
- package/dist/cjs/api/types/Shippingzip.d.ts +0 -3
- package/dist/cjs/api/types/Shippingzip.js +1 -3
- package/dist/cjs/api/types/SignDate.d.ts +0 -3
- package/dist/cjs/api/types/SignDate.js +1 -3
- package/dist/cjs/api/types/Signaturedata.d.ts +0 -3
- package/dist/cjs/api/types/Signaturedata.js +1 -3
- package/dist/cjs/api/types/SignedDocumentReference.d.ts +0 -3
- package/dist/cjs/api/types/SignedDocumentReference.js +1 -3
- package/dist/cjs/api/types/SignerAcceptance.d.ts +0 -3
- package/dist/cjs/api/types/SignerAcceptance.js +1 -3
- package/dist/cjs/api/types/SignerAddress1.d.ts +0 -3
- package/dist/cjs/api/types/SignerAddress1.js +1 -3
- package/dist/cjs/api/types/SignerCity.d.ts +0 -3
- package/dist/cjs/api/types/SignerCity.js +1 -3
- package/dist/cjs/api/types/SignerCountry.d.ts +0 -3
- package/dist/cjs/api/types/SignerCountry.js +1 -3
- package/dist/cjs/api/types/SignerData.d.ts +1 -4
- package/dist/cjs/api/types/SignerData.js +1 -3
- package/dist/cjs/api/types/SignerDataRequest.d.ts +1 -4
- package/dist/cjs/api/types/SignerDataRequest.js +1 -3
- package/dist/cjs/api/types/SignerDob.d.ts +0 -3
- package/dist/cjs/api/types/SignerDob.js +1 -3
- package/dist/cjs/api/types/SignerName.d.ts +0 -3
- package/dist/cjs/api/types/SignerName.js +1 -3
- package/dist/cjs/api/types/SignerPhone.d.ts +0 -3
- package/dist/cjs/api/types/SignerPhone.js +1 -3
- package/dist/cjs/api/types/SignerSection.d.ts +1 -4
- package/dist/cjs/api/types/SignerSection.js +1 -3
- package/dist/cjs/api/types/SignerSsn.d.ts +0 -3
- package/dist/cjs/api/types/SignerSsn.js +1 -3
- package/dist/cjs/api/types/SignerState.d.ts +0 -3
- package/dist/cjs/api/types/SignerState.js +1 -3
- package/dist/cjs/api/types/SignerZip.d.ts +0 -3
- package/dist/cjs/api/types/SignerZip.js +1 -3
- package/dist/cjs/api/types/Signeraddress.d.ts +0 -3
- package/dist/cjs/api/types/Signeraddress.js +1 -3
- package/dist/cjs/api/types/Source.d.ts +0 -3
- package/dist/cjs/api/types/Source.js +1 -3
- package/dist/cjs/api/types/SplitFunding.d.ts +1 -4
- package/dist/cjs/api/types/SplitFunding.js +1 -3
- package/dist/cjs/api/types/SplitFundingContent.d.ts +0 -3
- package/dist/cjs/api/types/SplitFundingContent.js +1 -3
- package/dist/cjs/api/types/SplitFundingRefundContent.d.ts +0 -3
- package/dist/cjs/api/types/SplitFundingRefundContent.js +1 -3
- package/dist/cjs/api/types/StateNullable.d.ts +0 -3
- package/dist/cjs/api/types/StateNullable.js +1 -3
- package/dist/cjs/api/types/Statusnotification.d.ts +0 -3
- package/dist/cjs/api/types/Statusnotification.js +1 -3
- package/dist/cjs/api/types/StoredMethodUsageType.d.ts +0 -3
- package/dist/cjs/api/types/StoredMethodUsageType.js +1 -3
- package/dist/cjs/api/types/Storedmethodid.d.ts +0 -3
- package/dist/cjs/api/types/Storedmethodid.js +1 -3
- package/dist/cjs/api/types/SubFooter.d.ts +0 -3
- package/dist/cjs/api/types/SubFooter.js +1 -3
- package/dist/cjs/api/types/SubHeader.d.ts +0 -3
- package/dist/cjs/api/types/SubHeader.js +1 -3
- package/dist/cjs/api/types/Subdomain.d.ts +0 -3
- package/dist/cjs/api/types/Subdomain.js +1 -3
- package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +1 -4
- package/dist/cjs/api/types/SubscriptionQueryRecords.js +1 -3
- package/dist/cjs/api/types/Subscriptionid.d.ts +0 -3
- package/dist/cjs/api/types/Subscriptionid.js +1 -3
- package/dist/cjs/api/types/SummaryCommodityCode.d.ts +0 -3
- package/dist/cjs/api/types/SummaryCommodityCode.js +1 -3
- package/dist/cjs/api/types/SummaryOrg.d.ts +0 -3
- package/dist/cjs/api/types/SummaryOrg.js +1 -3
- package/dist/cjs/api/types/Target.d.ts +0 -3
- package/dist/cjs/api/types/Target.js +1 -3
- package/dist/cjs/api/types/Tax.d.ts +0 -3
- package/dist/cjs/api/types/Tax.js +1 -3
- package/dist/cjs/api/types/Taxfillname.d.ts +0 -3
- package/dist/cjs/api/types/Taxfillname.js +1 -3
- package/dist/cjs/api/types/TemplateAdditionalDataField.d.ts +1 -4
- package/dist/cjs/api/types/TemplateAdditionalDataField.js +1 -3
- package/dist/cjs/api/types/TemplateAdditionalDataSection.d.ts +1 -4
- package/dist/cjs/api/types/TemplateAdditionalDataSection.js +1 -3
- package/dist/cjs/api/types/TemplateCode.d.ts +0 -3
- package/dist/cjs/api/types/TemplateCode.js +1 -3
- package/dist/cjs/api/types/TemplateContent.d.ts +1 -4
- package/dist/cjs/api/types/TemplateContent.js +1 -3
- package/dist/cjs/api/types/TemplateContentResponse.d.ts +1 -4
- package/dist/cjs/api/types/TemplateContentResponse.js +1 -3
- package/dist/cjs/api/types/TemplateData.d.ts +1 -4
- package/dist/cjs/api/types/TemplateData.js +1 -3
- package/dist/cjs/api/types/TemplateElement.d.ts +1 -4
- package/dist/cjs/api/types/TemplateElement.js +1 -3
- package/dist/cjs/api/types/TemplateId.d.ts +0 -3
- package/dist/cjs/api/types/TemplateId.js +1 -3
- package/dist/cjs/api/types/TemplateName.d.ts +0 -3
- package/dist/cjs/api/types/TemplateName.js +1 -3
- package/dist/cjs/api/types/TemplateQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/TemplateQueryRecord.js +1 -3
- package/dist/cjs/api/types/TemplateQueryResponse.d.ts +1 -4
- package/dist/cjs/api/types/TemplateQueryResponse.js +1 -3
- package/dist/cjs/api/types/Terms.d.ts +0 -3
- package/dist/cjs/api/types/Terms.js +1 -3
- package/dist/cjs/api/types/TermsConditions.d.ts +0 -3
- package/dist/cjs/api/types/TermsConditions.js +1 -3
- package/dist/cjs/api/types/Ticketamt.d.ts +0 -3
- package/dist/cjs/api/types/Ticketamt.js +1 -3
- package/dist/cjs/api/types/TierItem.d.ts +0 -3
- package/dist/cjs/api/types/TierItem.js +1 -3
- package/dist/cjs/api/types/TierItemPass.d.ts +0 -3
- package/dist/cjs/api/types/TierItemPass.js +1 -3
- package/dist/cjs/api/types/Timezone.d.ts +0 -3
- package/dist/cjs/api/types/Timezone.js +1 -3
- package/dist/cjs/api/types/Totalpages.d.ts +0 -3
- package/dist/cjs/api/types/Totalpages.js +1 -3
- package/dist/cjs/api/types/Totalrecords.d.ts +0 -3
- package/dist/cjs/api/types/Totalrecords.js +1 -3
- package/dist/cjs/api/types/TransStatus.d.ts +0 -3
- package/dist/cjs/api/types/TransStatus.js +1 -3
- package/dist/cjs/api/types/TransactionOutQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/TransactionOutQueryRecord.js +1 -3
- package/dist/cjs/api/types/TransactionQueryRecords.d.ts +1 -4
- package/dist/cjs/api/types/TransactionQueryRecords.js +1 -3
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +60 -0
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.js +3 -0
- package/dist/cjs/api/types/TransactionTime.d.ts +0 -3
- package/dist/cjs/api/types/TransactionTime.js +1 -3
- package/dist/cjs/api/types/Transfer.d.ts +4 -6
- package/dist/cjs/api/types/Transfer.js +1 -3
- package/dist/cjs/api/types/TransferBankAccount.d.ts +1 -4
- package/dist/cjs/api/types/TransferBankAccount.js +1 -3
- package/dist/cjs/api/types/TransferIdentifier.d.ts +0 -3
- package/dist/cjs/api/types/TransferIdentifier.js +1 -3
- package/dist/cjs/api/types/TransferMessage.d.ts +1 -4
- package/dist/cjs/api/types/TransferMessage.js +1 -3
- package/dist/cjs/api/types/TransferMessageProperties.d.ts +0 -3
- package/dist/cjs/api/types/TransferMessageProperties.js +1 -3
- package/dist/cjs/api/types/TransferQueryResponse.d.ts +2 -6
- package/dist/cjs/api/types/TransferQueryResponse.js +1 -3
- package/dist/cjs/api/types/TransferSummary.d.ts +1 -4
- package/dist/cjs/api/types/TransferSummary.js +1 -3
- package/dist/cjs/api/types/TypeAccount.d.ts +2 -7
- package/dist/cjs/api/types/TypeAccount.js +2 -3
- package/dist/cjs/api/types/UnderWritingMethod.d.ts +1 -4
- package/dist/cjs/api/types/UnderWritingMethod.js +7 -3
- package/dist/cjs/api/types/UnderwritingData.d.ts +1 -4
- package/dist/cjs/api/types/UnderwritingData.js +1 -3
- package/dist/cjs/api/types/UnderwritingDataResponse.d.ts +1 -4
- package/dist/cjs/api/types/UnderwritingDataResponse.js +1 -3
- package/dist/cjs/api/types/UserData.d.ts +1 -4
- package/dist/cjs/api/types/UserData.js +1 -3
- package/dist/cjs/api/types/UserQueryRecord.d.ts +1 -4
- package/dist/cjs/api/types/UserQueryRecord.js +1 -3
- package/dist/cjs/api/types/UsrAccess.d.ts +0 -3
- package/dist/cjs/api/types/UsrAccess.js +1 -3
- package/dist/cjs/api/types/UsrStatus.d.ts +0 -3
- package/dist/cjs/api/types/UsrStatus.js +1 -3
- package/dist/cjs/api/types/VCardQueryResponse.d.ts +1 -4
- package/dist/cjs/api/types/VCardQueryResponse.js +1 -3
- package/dist/cjs/api/types/VCardRecord.d.ts +1 -4
- package/dist/cjs/api/types/VCardRecord.js +1 -3
- package/dist/cjs/api/types/VCardSummary.d.ts +1 -4
- package/dist/cjs/api/types/VCardSummary.js +1 -3
- package/dist/cjs/api/types/ValueTemplates.d.ts +0 -3
- package/dist/cjs/api/types/ValueTemplates.js +1 -3
- package/dist/cjs/api/types/VendorCheckNumber.d.ts +0 -3
- package/dist/cjs/api/types/VendorCheckNumber.js +1 -3
- package/dist/cjs/api/types/VendorData.d.ts +1 -4
- package/dist/cjs/api/types/VendorData.js +1 -3
- package/dist/cjs/api/types/VendorDataResponse.d.ts +3 -11
- package/dist/cjs/api/types/VendorDataResponse.js +2 -3
- package/dist/cjs/api/types/VendorEin.d.ts +0 -3
- package/dist/cjs/api/types/VendorEin.js +1 -3
- package/dist/cjs/api/types/VendorName1.d.ts +0 -3
- package/dist/cjs/api/types/VendorName1.js +1 -3
- package/dist/cjs/api/types/VendorName2.d.ts +0 -3
- package/dist/cjs/api/types/VendorName2.js +1 -3
- package/dist/cjs/api/types/VendorNumber.d.ts +0 -3
- package/dist/cjs/api/types/VendorNumber.js +1 -3
- package/dist/cjs/api/types/VendorOutData.d.ts +1 -4
- package/dist/cjs/api/types/VendorOutData.js +1 -3
- package/dist/cjs/api/types/VendorPaymentMethod.d.ts +0 -3
- package/dist/cjs/api/types/VendorPaymentMethod.js +1 -3
- package/dist/cjs/api/types/VendorPaymentMethodString.d.ts +0 -3
- package/dist/cjs/api/types/VendorPaymentMethodString.js +1 -3
- package/dist/cjs/api/types/VendorPhone.d.ts +0 -3
- package/dist/cjs/api/types/VendorPhone.js +1 -3
- package/dist/cjs/api/types/VendorQueryRecord.d.ts +1 -8
- package/dist/cjs/api/types/VendorQueryRecord.js +1 -3
- package/dist/cjs/api/types/VendorResponseBillingData.d.ts +0 -3
- package/dist/cjs/api/types/VendorResponseBillingData.js +1 -3
- package/dist/cjs/api/types/VendorResponseStoredMethod.d.ts +0 -3
- package/dist/cjs/api/types/VendorResponseStoredMethod.js +1 -3
- package/dist/cjs/api/types/VendorResponseSummary.d.ts +0 -3
- package/dist/cjs/api/types/VendorResponseSummary.js +1 -3
- package/dist/cjs/api/types/VendorSummary.d.ts +0 -3
- package/dist/cjs/api/types/VendorSummary.js +1 -3
- package/dist/cjs/api/types/Vendorid.d.ts +0 -3
- package/dist/cjs/api/types/Vendorid.js +1 -3
- package/dist/cjs/api/types/Vendorstatus.d.ts +0 -3
- package/dist/cjs/api/types/Vendorstatus.js +1 -3
- package/dist/cjs/api/types/Visible.d.ts +0 -3
- package/dist/cjs/api/types/Visible.js +1 -3
- package/dist/cjs/api/types/WalletCascade.d.ts +0 -3
- package/dist/cjs/api/types/WalletCascade.js +1 -3
- package/dist/cjs/api/types/WalletIsEnabled.d.ts +0 -3
- package/dist/cjs/api/types/WalletIsEnabled.js +1 -3
- package/dist/cjs/api/types/Website.d.ts +0 -3
- package/dist/cjs/api/types/Website.js +1 -3
- package/dist/cjs/api/types/Whencharged.d.ts +2 -7
- package/dist/cjs/api/types/Whencharged.js +2 -3
- package/dist/cjs/api/types/Whendelivered.d.ts +2 -7
- package/dist/cjs/api/types/Whendelivered.js +2 -3
- package/dist/cjs/api/types/Whenprovided.d.ts +2 -7
- package/dist/cjs/api/types/Whenprovided.js +2 -3
- package/dist/cjs/api/types/Whenrefunded.d.ts +2 -7
- package/dist/cjs/api/types/Whenrefunded.js +2 -3
- package/dist/cjs/api/types/Zip.d.ts +0 -3
- package/dist/cjs/api/types/Zip.js +1 -3
- package/dist/cjs/api/types/index.d.ts +63 -61
- package/dist/cjs/api/types/index.js +63 -61
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +14 -0
- package/dist/cjs/auth/HeaderAuthProvider.js +71 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
- package/dist/cjs/{version.js → core/auth/AuthProvider.js} +0 -2
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +27 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +9 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/exports.d.ts +1 -0
- package/dist/cjs/core/exports.js +1 -0
- package/dist/cjs/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +6 -7
- package/dist/cjs/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/cjs/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/cjs/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/cjs/core/fetcher/Fetcher.d.ts +14 -5
- package/dist/cjs/core/fetcher/Fetcher.js +207 -11
- package/dist/cjs/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
- package/dist/cjs/core/fetcher/getRequestBody.d.ts +1 -1
- package/dist/cjs/core/fetcher/getRequestBody.js +4 -0
- package/dist/cjs/core/fetcher/getResponseBody.js +21 -7
- package/dist/cjs/core/fetcher/index.d.ts +2 -0
- package/dist/cjs/core/fetcher/index.js +3 -1
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/cjs/core/fetcher/makeRequest.js +2 -4
- package/dist/cjs/core/fetcher/requestWithRetries.js +16 -21
- package/dist/cjs/core/fetcher/signals.d.ts +1 -7
- package/dist/cjs/core/fetcher/signals.js +0 -12
- package/dist/cjs/core/file/exports.d.ts +1 -1
- package/dist/cjs/core/file/file.d.ts +6 -1
- package/dist/cjs/core/file/file.js +25 -7
- package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +2 -3
- package/dist/cjs/core/form-data-utils/FormDataWrapper.js +62 -85
- package/dist/cjs/core/headers.d.ts +2 -3
- package/dist/cjs/core/headers.js +6 -4
- package/dist/cjs/core/index.d.ts +5 -2
- package/dist/cjs/core/index.js +6 -3
- package/dist/cjs/core/logging/exports.d.ts +18 -0
- package/dist/cjs/core/logging/exports.js +45 -0
- package/dist/cjs/core/logging/index.d.ts +1 -0
- package/dist/cjs/core/logging/index.js +17 -0
- package/dist/cjs/core/logging/logger.d.ts +126 -0
- package/dist/cjs/core/logging/logger.js +144 -0
- package/dist/cjs/core/runtime/runtime.js +11 -10
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +1 -0
- package/dist/cjs/core/url/index.js +3 -1
- package/dist/cjs/core/url/join.js +3 -4
- package/dist/cjs/environments.d.ts +0 -3
- package/dist/cjs/environments.js +1 -3
- package/dist/cjs/errors/PayabliError.d.ts +1 -4
- package/dist/cjs/errors/PayabliError.js +2 -4
- package/dist/cjs/errors/PayabliTimeoutError.d.ts +0 -3
- package/dist/cjs/errors/PayabliTimeoutError.js +1 -3
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
- package/dist/cjs/index.d.ts +2 -1
- package/dist/cjs/index.js +4 -4
- package/dist/esm/BaseClient.d.mts +39 -0
- package/dist/esm/BaseClient.mjs +23 -0
- package/dist/esm/Client.d.mts +90 -109
- package/dist/esm/Client.mjs +60 -70
- package/dist/esm/api/errors/BadRequestError.d.mts +1 -4
- package/dist/esm/api/errors/BadRequestError.mjs +1 -3
- package/dist/esm/api/errors/ConflictError.d.mts +2 -5
- package/dist/esm/api/errors/ConflictError.mjs +1 -3
- package/dist/esm/api/errors/ForbiddenError.d.mts +2 -5
- package/dist/esm/api/errors/ForbiddenError.mjs +1 -3
- package/dist/esm/api/errors/InternalServerError.d.mts +1 -4
- package/dist/esm/api/errors/InternalServerError.mjs +1 -3
- package/dist/esm/api/errors/ServiceUnavailableError.d.mts +2 -5
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +1 -3
- package/dist/esm/api/errors/UnauthorizedError.d.mts +1 -4
- package/dist/esm/api/errors/UnauthorizedError.mjs +1 -3
- package/dist/esm/api/index.d.mts +2 -2
- package/dist/esm/api/index.mjs +2 -2
- package/dist/esm/api/resources/bill/client/Client.d.mts +36 -57
- package/dist/esm/api/resources/bill/client/Client.mjs +152 -279
- package/dist/esm/api/resources/bill/client/index.d.mts +0 -1
- package/dist/esm/api/resources/bill/client/requests/AddBillRequest.d.mts +1 -4
- package/dist/esm/api/resources/bill/client/requests/AddBillRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/DeleteAttachedFromBillRequest.d.mts +0 -3
- package/dist/esm/api/resources/bill/client/requests/DeleteAttachedFromBillRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/GetAttachedFromBillRequest.d.mts +0 -3
- package/dist/esm/api/resources/bill/client/requests/GetAttachedFromBillRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/ListBillsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/bill/client/requests/ListBillsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/ListBillsRequest.d.mts +1 -4
- package/dist/esm/api/resources/bill/client/requests/ListBillsRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/SendToApprovalBillRequest.d.mts +1 -4
- package/dist/esm/api/resources/bill/client/requests/SendToApprovalBillRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/SetApprovedBillRequest.d.mts +0 -3
- package/dist/esm/api/resources/bill/client/requests/SetApprovedBillRequest.mjs +1 -3
- package/dist/esm/api/resources/bill/client/requests/index.d.mts +7 -7
- package/dist/esm/api/resources/bill/index.d.mts +1 -1
- package/dist/esm/api/resources/bill/index.mjs +1 -1
- package/dist/esm/api/resources/bill/types/BillOutData.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/BillOutData.mjs +1 -3
- package/dist/esm/api/resources/bill/types/BillOutDataScheduledOptions.d.mts +0 -3
- package/dist/esm/api/resources/bill/types/BillOutDataScheduledOptions.mjs +1 -3
- package/dist/esm/api/resources/bill/types/BillResponse.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/BillResponse.mjs +1 -3
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/BillResponseData.mjs +1 -3
- package/dist/esm/api/resources/bill/types/EditBillResponse.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/EditBillResponse.mjs +1 -3
- package/dist/esm/api/resources/bill/types/GetBillResponse.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/GetBillResponse.mjs +1 -3
- package/dist/esm/api/resources/bill/types/ModifyApprovalBillResponse.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/ModifyApprovalBillResponse.mjs +1 -3
- package/dist/esm/api/resources/bill/types/SetApprovedBillResponse.d.mts +1 -4
- package/dist/esm/api/resources/bill/types/SetApprovedBillResponse.mjs +1 -3
- package/dist/esm/api/resources/bill/types/index.d.mts +4 -4
- package/dist/esm/api/resources/bill/types/index.mjs +4 -4
- package/dist/esm/api/resources/boarding/client/Client.d.mts +30 -51
- package/dist/esm/api/resources/boarding/client/Client.mjs +129 -256
- package/dist/esm/api/resources/boarding/client/index.d.mts +0 -1
- package/dist/esm/api/resources/boarding/client/requests/GetExternalApplicationRequest.d.mts +0 -3
- package/dist/esm/api/resources/boarding/client/requests/GetExternalApplicationRequest.mjs +1 -3
- package/dist/esm/api/resources/boarding/client/requests/ListApplicationsRequest.d.mts +1 -4
- package/dist/esm/api/resources/boarding/client/requests/ListApplicationsRequest.mjs +1 -3
- package/dist/esm/api/resources/boarding/client/requests/ListBoardingLinksRequest.d.mts +0 -3
- package/dist/esm/api/resources/boarding/client/requests/ListBoardingLinksRequest.mjs +1 -3
- package/dist/esm/api/resources/boarding/client/requests/RequestAppByAuth.d.mts +1 -4
- package/dist/esm/api/resources/boarding/client/requests/RequestAppByAuth.mjs +1 -3
- package/dist/esm/api/resources/boarding/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/boarding/index.d.mts +1 -1
- package/dist/esm/api/resources/boarding/index.mjs +1 -1
- package/dist/esm/api/resources/boarding/types/AddApplicationRequest.d.mts +1 -4
- package/dist/esm/api/resources/boarding/types/AddApplicationRequest.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +20 -39
- package/dist/esm/api/resources/chargeBacks/client/Client.mjs +55 -92
- package/dist/esm/api/resources/chargeBacks/client/index.d.mts +0 -1
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -4
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/chargeBacks/index.d.mts +1 -1
- package/dist/esm/api/resources/chargeBacks/index.mjs +1 -1
- package/dist/esm/api/resources/chargeBacks/types/AddResponseResponse.d.mts +1 -4
- package/dist/esm/api/resources/chargeBacks/types/AddResponseResponse.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/types/ChargeBackResponse.d.mts +1 -4
- package/dist/esm/api/resources/chargeBacks/types/ChargeBackResponse.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/types/ChargebackMessage.d.mts +0 -3
- package/dist/esm/api/resources/chargeBacks/types/ChargebackMessage.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.d.mts +1 -4
- package/dist/esm/api/resources/chargeBacks/types/ChargebackQueryRecords.mjs +1 -3
- package/dist/esm/api/resources/chargeBacks/types/index.d.mts +2 -2
- package/dist/esm/api/resources/chargeBacks/types/index.mjs +2 -2
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +10 -31
- package/dist/esm/api/resources/checkCapture/client/Client.mjs +18 -35
- package/dist/esm/api/resources/checkCapture/client/index.d.mts +0 -1
- package/dist/esm/api/resources/checkCapture/client/requests/CheckCaptureRequestBody.d.mts +1 -4
- package/dist/esm/api/resources/checkCapture/client/requests/CheckCaptureRequestBody.mjs +1 -3
- package/dist/esm/api/resources/checkCapture/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/checkCapture/index.d.mts +1 -1
- package/dist/esm/api/resources/checkCapture/index.mjs +1 -1
- package/dist/esm/api/resources/checkCapture/types/CheckCaptureRequest.d.mts +1 -4
- package/dist/esm/api/resources/checkCapture/types/CheckCaptureRequest.mjs +1 -3
- package/dist/esm/api/resources/checkCapture/types/CheckCaptureResponse.d.mts +1 -4
- package/dist/esm/api/resources/checkCapture/types/CheckCaptureResponse.mjs +1 -3
- package/dist/esm/api/resources/cloud/client/Client.d.mts +20 -41
- package/dist/esm/api/resources/cloud/client/Client.mjs +60 -110
- package/dist/esm/api/resources/cloud/client/index.d.mts +0 -1
- package/dist/esm/api/resources/cloud/client/requests/DeviceEntry.d.mts +1 -4
- package/dist/esm/api/resources/cloud/client/requests/DeviceEntry.mjs +1 -3
- package/dist/esm/api/resources/cloud/client/requests/ListDeviceRequest.d.mts +0 -3
- package/dist/esm/api/resources/cloud/client/requests/ListDeviceRequest.mjs +1 -3
- package/dist/esm/api/resources/cloud/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/cloud/index.d.mts +1 -1
- package/dist/esm/api/resources/cloud/index.mjs +1 -1
- package/dist/esm/api/resources/cloud/types/AddDeviceResponse.d.mts +1 -4
- package/dist/esm/api/resources/cloud/types/AddDeviceResponse.mjs +1 -3
- package/dist/esm/api/resources/cloud/types/RemoveDeviceResponse.d.mts +1 -4
- package/dist/esm/api/resources/cloud/types/RemoveDeviceResponse.mjs +1 -3
- package/dist/esm/api/resources/customer/client/Client.d.mts +20 -41
- package/dist/esm/api/resources/customer/client/Client.mjs +71 -143
- package/dist/esm/api/resources/customer/client/index.d.mts +0 -1
- package/dist/esm/api/resources/customer/client/requests/AddCustomerRequest.d.mts +1 -4
- package/dist/esm/api/resources/customer/client/requests/AddCustomerRequest.mjs +1 -3
- package/dist/esm/api/resources/customer/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/export/client/Client.d.mts +96 -113
- package/dist/esm/api/resources/export/client/Client.mjs +499 -820
- package/dist/esm/api/resources/export/client/index.d.mts +0 -1
- package/dist/esm/api/resources/export/client/requests/ExportApplicationsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportApplicationsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchDetailsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOutOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOutOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOutRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesOutRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBatchesRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBillsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBillsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportBillsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportBillsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportChargebacksOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportChargebacksOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportChargebacksRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportChargebacksRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportCustomersOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportCustomersOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportCustomersRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportCustomersRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportInvoicesOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportInvoicesOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportInvoicesRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportInvoicesRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportOrganizationsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportOrganizationsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportPayoutOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportPayoutOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportPayoutRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportPayoutRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportPaypointsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportPaypointsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportSettlementsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportSettlementsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportSettlementsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportSettlementsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportSubscriptionsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransactionsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransactionsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransactionsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransactionsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransferDetailsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransferDetailsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransfersRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportTransfersRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportVendorsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportVendorsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/ExportVendorsRequest.d.mts +0 -3
- package/dist/esm/api/resources/export/client/requests/ExportVendorsRequest.mjs +1 -3
- package/dist/esm/api/resources/export/client/requests/index.d.mts +29 -29
- package/dist/esm/api/resources/export/index.d.mts +1 -1
- package/dist/esm/api/resources/export/index.mjs +1 -1
- package/dist/esm/api/resources/export/types/ExportFormat1.d.mts +1 -4
- package/dist/esm/api/resources/export/types/ExportFormat1.mjs +1 -3
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +14 -35
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +39 -78
- package/dist/esm/api/resources/hostedPaymentPages/client/index.d.mts +0 -1
- package/dist/esm/api/resources/hostedPaymentPages/client/requests/NewPageRequest.d.mts +1 -4
- package/dist/esm/api/resources/hostedPaymentPages/client/requests/NewPageRequest.mjs +1 -3
- package/dist/esm/api/resources/hostedPaymentPages/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/import/client/Client.d.mts +14 -35
- package/dist/esm/api/resources/import/client/Client.mjs +40 -79
- package/dist/esm/api/resources/import/client/index.d.mts +0 -1
- package/dist/esm/api/resources/import/client/requests/ImportBillsRequest.d.mts +2 -5
- package/dist/esm/api/resources/import/client/requests/ImportBillsRequest.mjs +1 -3
- package/dist/esm/api/resources/import/client/requests/ImportCustomerRequest.d.mts +2 -5
- package/dist/esm/api/resources/import/client/requests/ImportCustomerRequest.mjs +1 -3
- package/dist/esm/api/resources/import/client/requests/ImportVendorRequest.d.mts +2 -5
- package/dist/esm/api/resources/import/client/requests/ImportVendorRequest.mjs +1 -3
- package/dist/esm/api/resources/import/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/index.d.mts +36 -36
- package/dist/esm/api/resources/index.mjs +36 -36
- package/dist/esm/api/resources/invoice/client/Client.d.mts +34 -55
- package/dist/esm/api/resources/invoice/client/Client.mjs +146 -273
- package/dist/esm/api/resources/invoice/client/index.d.mts +0 -1
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +1 -4
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/EditInvoiceRequest.d.mts +1 -4
- package/dist/esm/api/resources/invoice/client/requests/EditInvoiceRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/GetAttachedFileFromInvoiceRequest.d.mts +0 -3
- package/dist/esm/api/resources/invoice/client/requests/GetAttachedFileFromInvoiceRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/ListInvoicesOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/invoice/client/requests/ListInvoicesOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/ListInvoicesRequest.d.mts +1 -4
- package/dist/esm/api/resources/invoice/client/requests/ListInvoicesRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/SendInvoiceRequest.d.mts +0 -3
- package/dist/esm/api/resources/invoice/client/requests/SendInvoiceRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/invoice/index.d.mts +1 -1
- package/dist/esm/api/resources/invoice/index.mjs +1 -1
- package/dist/esm/api/resources/invoice/types/GetInvoiceRecord.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/GetInvoiceRecord.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/InvoiceDataRequest.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/InvoiceDataRequest.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/InvoiceId.d.mts +0 -3
- package/dist/esm/api/resources/invoice/types/InvoiceId.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/InvoiceNumberResponse.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/InvoiceNumberResponse.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/InvoicePaidAmount.d.mts +0 -3
- package/dist/esm/api/resources/invoice/types/InvoicePaidAmount.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/InvoiceResponseWithoutData.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/InvoiceResponseWithoutData.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/QueryInvoiceResponse.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/QueryInvoiceResponse.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/SendInvoiceResponse.d.mts +1 -4
- package/dist/esm/api/resources/invoice/types/SendInvoiceResponse.mjs +1 -3
- package/dist/esm/api/resources/invoice/types/index.d.mts +5 -5
- package/dist/esm/api/resources/invoice/types/index.mjs +5 -5
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +18 -39
- package/dist/esm/api/resources/lineItem/client/Client.mjs +64 -125
- package/dist/esm/api/resources/lineItem/client/index.d.mts +0 -1
- package/dist/esm/api/resources/lineItem/client/requests/AddItemRequest.d.mts +1 -4
- package/dist/esm/api/resources/lineItem/client/requests/AddItemRequest.mjs +1 -3
- package/dist/esm/api/resources/lineItem/client/requests/ListLineItemsRequest.d.mts +0 -3
- package/dist/esm/api/resources/lineItem/client/requests/ListLineItemsRequest.mjs +1 -3
- package/dist/esm/api/resources/lineItem/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/lineItem/index.d.mts +1 -1
- package/dist/esm/api/resources/lineItem/index.mjs +1 -1
- package/dist/esm/api/resources/lineItem/types/DeleteItemResponse.d.mts +1 -4
- package/dist/esm/api/resources/lineItem/types/DeleteItemResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +43 -88
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +169 -333
- package/dist/esm/api/resources/moneyIn/client/index.d.mts +0 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.d.mts +4 -5
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentValidate.d.mts +3 -8
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentValidate.mjs +2 -3
- package/dist/esm/api/resources/moneyIn/client/requests/RequestRefund.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/client/requests/RequestRefund.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/requests/SendReceipt2TransRequest.d.mts +0 -3
- package/dist/esm/api/resources/moneyIn/client/requests/SendReceipt2TransRequest.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.d.mts +2 -5
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.d.mts +2 -5
- package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/errors/index.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/index.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/index.mjs +2 -2
- package/dist/esm/api/resources/moneyIn/types/AuthResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/AuthResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/AuthResponseResponseData.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/AuthResponseResponseData.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/CapturePaymentDetails.d.mts +0 -3
- package/dist/esm/api/resources/moneyIn/types/CapturePaymentDetails.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/CaptureRequest.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/CaptureRequest.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/CaptureResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/CaptureResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/CaptureResponseData.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/CaptureResponseData.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/GetPaidResponseData.d.mts +3 -4
- package/dist/esm/api/resources/moneyIn/types/GetPaidResponseData.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/InvalidTransStatusErrorType.d.mts +0 -3
- package/dist/esm/api/resources/moneyIn/types/InvalidTransStatusErrorType.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/PayabliApiResponseGetPaid.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/PayabliApiResponseGetPaid.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/ReceiptResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/ReceiptResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/RefundResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/RefundResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/RefundWithInstructionsResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/RefundWithInstructionsResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/ReverseResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/ReverseResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/TransRequestBody.d.mts +20 -4
- package/dist/esm/api/resources/moneyIn/types/TransRequestBody.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailCustomer.d.mts +28 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailCustomer.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailEvent.d.mts +8 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailEvent.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.mts +38 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailInvoiceData.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentData.d.mts +19 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentData.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentDetails.d.mts +22 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailPaymentDetails.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecord.d.mts +58 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecord.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecordMethod.d.mts +6 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecordMethod.mjs +6 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.d.mts +20 -0
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.mjs +2 -0
- package/dist/esm/api/resources/moneyIn/types/ValidateResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/ValidateResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/ValidateResponseData.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/ValidateResponseData.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/VoidResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/VoidResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/VoidResponseData.d.mts +1 -4
- package/dist/esm/api/resources/moneyIn/types/VoidResponseData.mjs +1 -3
- package/dist/esm/api/resources/moneyIn/types/index.d.mts +19 -11
- package/dist/esm/api/resources/moneyIn/types/index.mjs +19 -11
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +47 -51
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +161 -208
- package/dist/esm/api/resources/moneyOut/client/index.d.mts +0 -1
- package/dist/esm/api/resources/moneyOut/client/requests/CaptureAllOutRequest.d.mts +1 -4
- package/dist/esm/api/resources/moneyOut/client/requests/CaptureAllOutRequest.mjs +1 -3
- package/dist/esm/api/resources/moneyOut/client/requests/CaptureOutRequest.d.mts +1 -4
- package/dist/esm/api/resources/moneyOut/client/requests/CaptureOutRequest.mjs +1 -3
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +3 -5
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.mjs +1 -3
- package/dist/esm/api/resources/moneyOut/client/requests/SendVCardLinkRequest.d.mts +0 -3
- package/dist/esm/api/resources/moneyOut/client/requests/SendVCardLinkRequest.mjs +1 -3
- package/dist/esm/api/resources/moneyOut/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyOutTypes/types/AuthCapturePayoutResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.d.mts +1 -4
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePaymentMethod.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +4 -5
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/CaptureAllOutResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyOutTypes/types/CaptureAllOutResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/LotNumber.d.mts +0 -3
- package/dist/esm/api/resources/moneyOutTypes/types/LotNumber.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/OperationResult.d.mts +0 -3
- package/dist/esm/api/resources/moneyOutTypes/types/OperationResult.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/VCardGetResponse.d.mts +1 -4
- package/dist/esm/api/resources/moneyOutTypes/types/VCardGetResponse.mjs +1 -3
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +4 -4
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +4 -4
- package/dist/esm/api/resources/notification/client/Client.d.mts +19 -40
- package/dist/esm/api/resources/notification/client/Client.mjs +62 -123
- package/dist/esm/api/resources/notification/index.d.mts +1 -1
- package/dist/esm/api/resources/notification/index.mjs +1 -1
- package/dist/esm/api/resources/notification/types/AddNotificationRequest.d.mts +1 -4
- package/dist/esm/api/resources/notification/types/AddNotificationRequest.mjs +1 -3
- package/dist/esm/api/resources/notification/types/UpdateNotificationRequest.d.mts +1 -4
- package/dist/esm/api/resources/notification/types/UpdateNotificationRequest.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +16 -37
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +51 -101
- package/dist/esm/api/resources/notificationlogs/client/index.d.mts +0 -1
- package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.d.mts +3 -6
- package/dist/esm/api/resources/notificationlogs/client/requests/SearchNotificationLogsRequest.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/notificationlogs/index.d.mts +1 -1
- package/dist/esm/api/resources/notificationlogs/index.mjs +1 -1
- package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.d.mts +0 -3
- package/dist/esm/api/resources/notificationlogs/types/BulkRetryRequest.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.d.mts +0 -3
- package/dist/esm/api/resources/notificationlogs/types/KeyValueArray.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/NotificationLog.d.mts +0 -3
- package/dist/esm/api/resources/notificationlogs/types/NotificationLog.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.d.mts +1 -4
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogDetail.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.d.mts +0 -3
- package/dist/esm/api/resources/notificationlogs/types/NotificationLogSearchRequest.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.d.mts +0 -3
- package/dist/esm/api/resources/notificationlogs/types/StringStringKeyValuePair.mjs +1 -3
- package/dist/esm/api/resources/notificationlogs/types/index.d.mts +3 -3
- package/dist/esm/api/resources/notificationlogs/types/index.mjs +3 -3
- package/dist/esm/api/resources/ocr/client/Client.d.mts +18 -45
- package/dist/esm/api/resources/ocr/client/Client.mjs +35 -69
- package/dist/esm/api/resources/ocr/index.d.mts +1 -1
- package/dist/esm/api/resources/ocr/index.mjs +1 -1
- package/dist/esm/api/resources/ocr/types/FileContentImageOnly.d.mts +2 -7
- package/dist/esm/api/resources/ocr/types/FileContentImageOnly.mjs +2 -3
- package/dist/esm/api/resources/ocr/types/OcrAttachment.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/OcrAttachment.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrBillItem.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/OcrBillItem.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrBillItemAdditionalData.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/OcrBillItemAdditionalData.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrResponseData.d.mts +1 -4
- package/dist/esm/api/resources/ocr/types/OcrResponseData.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrResultData.d.mts +1 -4
- package/dist/esm/api/resources/ocr/types/OcrResultData.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrVendor.d.mts +1 -4
- package/dist/esm/api/resources/ocr/types/OcrVendor.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrVendorAdditionalData.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/OcrVendorAdditionalData.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/OcrVendorBillingData.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/OcrVendorBillingData.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/PayabliApiResponseOcr.d.mts +1 -4
- package/dist/esm/api/resources/ocr/types/PayabliApiResponseOcr.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/TypeResult.d.mts +0 -3
- package/dist/esm/api/resources/ocr/types/TypeResult.mjs +1 -3
- package/dist/esm/api/resources/ocr/types/index.d.mts +8 -8
- package/dist/esm/api/resources/ocr/types/index.mjs +8 -8
- package/dist/esm/api/resources/organization/client/Client.d.mts +22 -43
- package/dist/esm/api/resources/organization/client/Client.mjs +78 -161
- package/dist/esm/api/resources/organization/client/index.d.mts +0 -1
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -4
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.mjs +1 -3
- package/dist/esm/api/resources/organization/client/requests/OrganizationData.d.mts +1 -4
- package/dist/esm/api/resources/organization/client/requests/OrganizationData.mjs +1 -3
- package/dist/esm/api/resources/organization/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/organization/index.d.mts +1 -1
- package/dist/esm/api/resources/organization/index.mjs +1 -1
- package/dist/esm/api/resources/organization/types/AddOrganizationResponse.d.mts +1 -4
- package/dist/esm/api/resources/organization/types/AddOrganizationResponse.mjs +1 -3
- package/dist/esm/api/resources/organization/types/DeleteOrganizationResponse.d.mts +1 -4
- package/dist/esm/api/resources/organization/types/DeleteOrganizationResponse.mjs +1 -3
- package/dist/esm/api/resources/organization/types/EditOrganizationResponse.d.mts +1 -4
- package/dist/esm/api/resources/organization/types/EditOrganizationResponse.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +26 -47
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +110 -215
- package/dist/esm/api/resources/paymentLink/client/index.d.mts +0 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkUpdateData.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkUpdateData.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/RefreshPayLinkFromIdRequest.d.mts +0 -3
- package/dist/esm/api/resources/paymentLink/client/requests/RefreshPayLinkFromIdRequest.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/SendPayLinkFromIdRequest.d.mts +0 -3
- package/dist/esm/api/resources/paymentLink/client/requests/SendPayLinkFromIdRequest.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/paymentLink/index.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/index.mjs +1 -1
- package/dist/esm/api/resources/paymentLink/types/GetPayLinkFromIdResponse.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/types/GetPayLinkFromIdResponse.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/types/PayabliApiResponsePaymentLinks.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +1 -4
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.mjs +1 -3
- package/dist/esm/api/resources/paymentLink/types/index.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/types/index.mjs +1 -1
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +22 -43
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +81 -164
- package/dist/esm/api/resources/paymentMethodDomain/client/index.d.mts +0 -1
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/AddPaymentMethodDomainRequest.d.mts +1 -4
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/AddPaymentMethodDomainRequest.mjs +1 -3
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/ListPaymentMethodDomainsRequest.d.mts +0 -3
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/ListPaymentMethodDomainsRequest.mjs +1 -3
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/UpdatePaymentMethodDomainRequest.d.mts +1 -4
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/UpdatePaymentMethodDomainRequest.mjs +1 -3
- package/dist/esm/api/resources/paymentMethodDomain/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/paymentMethodDomain/index.d.mts +1 -1
- package/dist/esm/api/resources/paymentMethodDomain/index.mjs +1 -1
- package/dist/esm/api/resources/paymentMethodDomain/types/DeletePaymentMethodDomainResponse.d.mts +1 -4
- package/dist/esm/api/resources/paymentMethodDomain/types/DeletePaymentMethodDomainResponse.mjs +1 -3
- package/dist/esm/api/resources/paymentMethodDomain/types/ListPaymentMethodDomainsResponse.d.mts +1 -4
- package/dist/esm/api/resources/paymentMethodDomain/types/ListPaymentMethodDomainsResponse.mjs +1 -3
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +25 -46
- package/dist/esm/api/resources/paypoint/client/Client.mjs +93 -187
- package/dist/esm/api/resources/paypoint/client/index.d.mts +0 -1
- package/dist/esm/api/resources/paypoint/client/requests/GetEntryConfigRequest.d.mts +0 -3
- package/dist/esm/api/resources/paypoint/client/requests/GetEntryConfigRequest.mjs +1 -3
- package/dist/esm/api/resources/paypoint/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/paypoint/index.d.mts +1 -1
- package/dist/esm/api/resources/paypoint/index.mjs +1 -1
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryByIdResponse.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryByIdResponse.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryResponse.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/GetBasicEntryResponse.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/GetEntryConfigResponse.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/GetEntryConfigResponse.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/MigratePaypointResponse.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/MigratePaypointResponse.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/NotificationRequest.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/NotificationRequest.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/PaypointMoveRequest.d.mts +1 -4
- package/dist/esm/api/resources/paypoint/types/PaypointMoveRequest.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/WebHeaderParameter.d.mts +0 -3
- package/dist/esm/api/resources/paypoint/types/WebHeaderParameter.mjs +1 -3
- package/dist/esm/api/resources/paypoint/types/index.d.mts +2 -2
- package/dist/esm/api/resources/paypoint/types/index.mjs +2 -2
- package/dist/esm/api/resources/query/client/Client.d.mts +74 -95
- package/dist/esm/api/resources/query/client/Client.mjs +496 -867
- package/dist/esm/api/resources/query/client/index.d.mts +0 -1
- package/dist/esm/api/resources/query/client/requests/ListBatchDetailsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchDetailsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListBatchDetailsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchDetailsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListBatchesOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchesOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListBatchesOutOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchesOutOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListBatchesOutRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchesOutRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListBatchesRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListBatchesRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListChargebacksOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListChargebacksOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListChargebacksRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListChargebacksRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListCustomersOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListCustomersOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListCustomersRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListCustomersRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationReportsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationReportsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationReportsRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationReportsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationsOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationsRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListNotificationsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListOrganizationsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListOrganizationsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListPayoutOrgRequest.d.mts +2 -4
- package/dist/esm/api/resources/query/client/requests/ListPayoutOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListPayoutRequest.d.mts +2 -4
- package/dist/esm/api/resources/query/client/requests/ListPayoutRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListPaypointsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListPaypointsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListSettlementsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListSettlementsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListSettlementsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListSettlementsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.d.mts +4 -5
- package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequestOrg.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListTransfersRequestOrg.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListUsersOrgRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListUsersOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListUsersPaypointRequest.d.mts +0 -3
- package/dist/esm/api/resources/query/client/requests/ListUsersPaypointRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListVendorsOrgRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListVendorsOrgRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/ListVendorsRequest.d.mts +1 -4
- package/dist/esm/api/resources/query/client/requests/ListVendorsRequest.mjs +1 -3
- package/dist/esm/api/resources/query/client/requests/index.d.mts +33 -33
- package/dist/esm/api/resources/query/types/Entry.mjs +3 -0
- package/dist/esm/api/resources/queryTypes/types/LimitRecord.d.mts +0 -3
- package/dist/esm/api/resources/queryTypes/types/LimitRecord.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/ListOrganizationsResponse.d.mts +1 -4
- package/dist/esm/api/resources/queryTypes/types/ListOrganizationsResponse.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.d.mts +1 -4
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesDetailResponse.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.d.mts +1 -10
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesTransfer.d.mts +0 -3
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesTransfer.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +1 -4
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryTransferResponse.d.mts +1 -4
- package/dist/esm/api/resources/queryTypes/types/QueryTransferResponse.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +3 -4
- package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.mjs +1 -3
- package/dist/esm/api/resources/queryTypes/types/index.d.mts +3 -3
- package/dist/esm/api/resources/queryTypes/types/index.mjs +3 -3
- package/dist/esm/api/resources/statistic/client/Client.d.mts +53 -74
- package/dist/esm/api/resources/statistic/client/Client.mjs +112 -159
- package/dist/esm/api/resources/statistic/client/index.d.mts +0 -1
- package/dist/esm/api/resources/statistic/client/requests/BasicStatsRequest.d.mts +2 -5
- package/dist/esm/api/resources/statistic/client/requests/BasicStatsRequest.mjs +1 -3
- package/dist/esm/api/resources/statistic/client/requests/CustomerBasicStatsRequest.d.mts +0 -3
- package/dist/esm/api/resources/statistic/client/requests/CustomerBasicStatsRequest.mjs +1 -3
- package/dist/esm/api/resources/statistic/client/requests/SubStatsRequest.d.mts +0 -3
- package/dist/esm/api/resources/statistic/client/requests/SubStatsRequest.mjs +1 -3
- package/dist/esm/api/resources/statistic/client/requests/VendorBasicStatsRequest.d.mts +0 -3
- package/dist/esm/api/resources/statistic/client/requests/VendorBasicStatsRequest.mjs +1 -3
- package/dist/esm/api/resources/statistic/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/statistic/index.d.mts +1 -1
- package/dist/esm/api/resources/statistic/index.mjs +1 -1
- package/dist/esm/api/resources/statistic/types/StatBasicExtendedQueryRecord.d.mts +76 -0
- package/dist/esm/api/resources/statistic/types/StatBasicExtendedQueryRecord.mjs +2 -0
- package/dist/esm/api/resources/statistic/types/StatBasicQueryRecord.d.mts +4 -3
- package/dist/esm/api/resources/statistic/types/StatBasicQueryRecord.mjs +1 -3
- package/dist/esm/api/resources/statistic/types/StatisticsVendorQueryRecord.d.mts +0 -3
- package/dist/esm/api/resources/statistic/types/StatisticsVendorQueryRecord.mjs +1 -3
- package/dist/esm/api/resources/statistic/types/SubscriptionStatsQueryRecord.d.mts +0 -3
- package/dist/esm/api/resources/statistic/types/SubscriptionStatsQueryRecord.mjs +1 -3
- package/dist/esm/api/resources/statistic/types/index.d.mts +2 -1
- package/dist/esm/api/resources/statistic/types/index.mjs +2 -1
- package/dist/esm/api/resources/subscription/client/Client.d.mts +16 -37
- package/dist/esm/api/resources/subscription/client/Client.mjs +49 -99
- package/dist/esm/api/resources/subscription/client/index.d.mts +0 -1
- package/dist/esm/api/resources/subscription/client/requests/RequestSchedule.d.mts +1 -4
- package/dist/esm/api/resources/subscription/client/requests/RequestSchedule.mjs +1 -3
- package/dist/esm/api/resources/subscription/client/requests/RequestUpdateSchedule.d.mts +1 -4
- package/dist/esm/api/resources/subscription/client/requests/RequestUpdateSchedule.mjs +1 -3
- package/dist/esm/api/resources/subscription/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/subscription/index.d.mts +1 -1
- package/dist/esm/api/resources/subscription/index.mjs +1 -1
- package/dist/esm/api/resources/subscription/types/AddSubscriptionResponse.d.mts +1 -4
- package/dist/esm/api/resources/subscription/types/AddSubscriptionResponse.mjs +1 -3
- package/dist/esm/api/resources/subscription/types/RemoveSubscriptionResponse.d.mts +1 -4
- package/dist/esm/api/resources/subscription/types/RemoveSubscriptionResponse.mjs +1 -3
- package/dist/esm/api/resources/subscription/types/SetPause.d.mts +0 -3
- package/dist/esm/api/resources/subscription/types/SetPause.mjs +1 -3
- package/dist/esm/api/resources/subscription/types/SubscriptionRequestBody.d.mts +1 -4
- package/dist/esm/api/resources/subscription/types/SubscriptionRequestBody.mjs +1 -3
- package/dist/esm/api/resources/subscription/types/UpdateSubscriptionResponse.d.mts +1 -4
- package/dist/esm/api/resources/subscription/types/UpdateSubscriptionResponse.mjs +1 -3
- package/dist/esm/api/resources/subscription/types/index.d.mts +3 -3
- package/dist/esm/api/resources/subscription/types/index.mjs +3 -3
- package/dist/esm/api/resources/templates/client/Client.d.mts +18 -73
- package/dist/esm/api/resources/templates/client/Client.mjs +59 -253
- package/dist/esm/api/resources/templates/client/index.d.mts +0 -1
- package/dist/esm/api/resources/templates/client/requests/ListTemplatesRequest.d.mts +0 -3
- package/dist/esm/api/resources/templates/client/requests/ListTemplatesRequest.mjs +1 -3
- package/dist/esm/api/resources/templates/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +16 -37
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +55 -105
- package/dist/esm/api/resources/tokenStorage/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.d.mts +0 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/GetMethodRequest.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tokenStorage/index.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/index.mjs +1 -1
- package/dist/esm/api/resources/tokenStorage/types/AddMethodResponse.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/AddMethodResponse.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/ConvertToken.d.mts +0 -3
- package/dist/esm/api/resources/tokenStorage/types/ConvertToken.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/CreateAnonymous.d.mts +0 -3
- package/dist/esm/api/resources/tokenStorage/types/CreateAnonymous.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStorage.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStorage.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStoragePaymentMethod.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/RequestTokenStoragePaymentMethod.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/Temporary.d.mts +0 -3
- package/dist/esm/api/resources/tokenStorage/types/Temporary.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/TokenizeAch.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/TokenizeAch.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/TokenizeCard.d.mts +1 -4
- package/dist/esm/api/resources/tokenStorage/types/TokenizeCard.mjs +1 -3
- package/dist/esm/api/resources/tokenStorage/types/index.d.mts +4 -4
- package/dist/esm/api/resources/tokenStorage/types/index.mjs +4 -4
- package/dist/esm/api/resources/user/client/Client.d.mts +57 -56
- package/dist/esm/api/resources/user/client/Client.mjs +153 -269
- package/dist/esm/api/resources/user/client/index.d.mts +0 -1
- package/dist/esm/api/resources/user/client/requests/GetUserRequest.d.mts +0 -3
- package/dist/esm/api/resources/user/client/requests/GetUserRequest.mjs +1 -3
- package/dist/esm/api/resources/user/client/requests/MfaValidationData.d.mts +1 -4
- package/dist/esm/api/resources/user/client/requests/MfaValidationData.mjs +1 -3
- package/dist/esm/api/resources/user/client/requests/UserAuthPswResetRequest.d.mts +0 -3
- package/dist/esm/api/resources/user/client/requests/UserAuthPswResetRequest.mjs +1 -3
- package/dist/esm/api/resources/user/client/requests/UserAuthRequest.d.mts +1 -4
- package/dist/esm/api/resources/user/client/requests/UserAuthRequest.mjs +1 -3
- package/dist/esm/api/resources/user/client/requests/UserAuthResetRequest.d.mts +1 -4
- package/dist/esm/api/resources/user/client/requests/UserAuthResetRequest.mjs +1 -3
- package/dist/esm/api/resources/user/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/user/index.d.mts +1 -1
- package/dist/esm/api/resources/user/index.mjs +1 -1
- package/dist/esm/api/resources/user/types/AddUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/AddUserResponse.mjs +1 -3
- package/dist/esm/api/resources/user/types/AuthResetUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/AuthResetUserResponse.mjs +1 -3
- package/dist/esm/api/resources/user/types/ChangePswUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/ChangePswUserResponse.mjs +1 -3
- package/dist/esm/api/resources/user/types/DeleteUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/DeleteUserResponse.mjs +1 -3
- package/dist/esm/api/resources/user/types/EditMfaUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/EditMfaUserResponse.mjs +1 -3
- package/dist/esm/api/resources/user/types/LogoutUserResponse.d.mts +1 -4
- package/dist/esm/api/resources/user/types/LogoutUserResponse.mjs +1 -3
- package/dist/esm/api/resources/vendor/client/Client.d.mts +16 -37
- package/dist/esm/api/resources/vendor/client/Client.mjs +49 -99
- package/dist/esm/api/resources/wallet/client/Client.d.mts +16 -37
- package/dist/esm/api/resources/wallet/client/Client.mjs +45 -95
- package/dist/esm/api/resources/wallet/client/index.d.mts +0 -1
- package/dist/esm/api/resources/wallet/client/requests/ConfigureOrganizationRequestApplePay.d.mts +1 -4
- package/dist/esm/api/resources/wallet/client/requests/ConfigureOrganizationRequestApplePay.mjs +1 -3
- package/dist/esm/api/resources/wallet/client/requests/ConfigureOrganizationRequestGooglePay.d.mts +1 -4
- package/dist/esm/api/resources/wallet/client/requests/ConfigureOrganizationRequestGooglePay.mjs +1 -3
- package/dist/esm/api/resources/wallet/client/requests/ConfigurePaypointRequestApplePay.d.mts +1 -4
- package/dist/esm/api/resources/wallet/client/requests/ConfigurePaypointRequestApplePay.mjs +1 -3
- package/dist/esm/api/resources/wallet/client/requests/ConfigurePaypointRequestGooglePay.d.mts +1 -4
- package/dist/esm/api/resources/wallet/client/requests/ConfigurePaypointRequestGooglePay.mjs +1 -3
- package/dist/esm/api/resources/wallet/client/requests/index.d.mts +4 -4
- package/dist/esm/api/types/ASection.d.mts +0 -3
- package/dist/esm/api/types/ASection.mjs +1 -3
- package/dist/esm/api/types/AcceptOauth.d.mts +0 -3
- package/dist/esm/api/types/AcceptOauth.mjs +1 -3
- package/dist/esm/api/types/AcceptRegister.d.mts +0 -3
- package/dist/esm/api/types/AcceptRegister.mjs +1 -3
- package/dist/esm/api/types/AccountNumber.d.mts +0 -3
- package/dist/esm/api/types/AccountNumber.mjs +1 -3
- package/dist/esm/api/types/Accountexp.d.mts +0 -3
- package/dist/esm/api/types/Accountexp.mjs +1 -3
- package/dist/esm/api/types/Accountid.d.mts +0 -3
- package/dist/esm/api/types/Accountid.mjs +1 -3
- package/dist/esm/api/types/AccountingField.d.mts +0 -3
- package/dist/esm/api/types/AccountingField.mjs +1 -3
- package/dist/esm/api/types/Accounttype.d.mts +0 -3
- package/dist/esm/api/types/Accounttype.mjs +1 -3
- package/dist/esm/api/types/Accountzip.d.mts +0 -3
- package/dist/esm/api/types/Accountzip.mjs +1 -3
- package/dist/esm/api/types/AchAbsorbSection.d.mts +1 -4
- package/dist/esm/api/types/AchAbsorbSection.mjs +1 -3
- package/dist/esm/api/types/AchAcceptanceElement.d.mts +1 -4
- package/dist/esm/api/types/AchAcceptanceElement.mjs +1 -3
- package/dist/esm/api/types/AchFeeSection.d.mts +1 -4
- package/dist/esm/api/types/AchFeeSection.mjs +1 -3
- package/dist/esm/api/types/AchHolder.d.mts +0 -3
- package/dist/esm/api/types/AchHolder.mjs +1 -3
- package/dist/esm/api/types/AchHolderType.d.mts +2 -7
- package/dist/esm/api/types/AchHolderType.mjs +2 -3
- package/dist/esm/api/types/AchLinkTypes.d.mts +1 -4
- package/dist/esm/api/types/AchLinkTypes.mjs +1 -3
- package/dist/esm/api/types/AchPassThroughSection.d.mts +1 -4
- package/dist/esm/api/types/AchPassThroughSection.mjs +1 -3
- package/dist/esm/api/types/AchPaymentMethod.d.mts +0 -3
- package/dist/esm/api/types/AchPaymentMethod.mjs +1 -3
- package/dist/esm/api/types/AchSecCode.d.mts +0 -3
- package/dist/esm/api/types/AchSecCode.mjs +1 -3
- package/dist/esm/api/types/AchSection.d.mts +1 -4
- package/dist/esm/api/types/AchSection.mjs +1 -3
- package/dist/esm/api/types/AchService.d.mts +1 -4
- package/dist/esm/api/types/AchService.mjs +1 -3
- package/dist/esm/api/types/AchSetup.d.mts +0 -3
- package/dist/esm/api/types/AchSetup.mjs +1 -3
- package/dist/esm/api/types/AchTypes.d.mts +1 -4
- package/dist/esm/api/types/AchTypes.mjs +1 -3
- package/dist/esm/api/types/AchTypesPass.d.mts +1 -4
- package/dist/esm/api/types/AchTypesPass.mjs +1 -3
- package/dist/esm/api/types/AchTypesTiers.d.mts +1 -4
- package/dist/esm/api/types/AchTypesTiers.mjs +1 -3
- package/dist/esm/api/types/AchValidation.d.mts +0 -3
- package/dist/esm/api/types/AchValidation.mjs +1 -3
- package/dist/esm/api/types/Achaccount.d.mts +0 -3
- package/dist/esm/api/types/Achaccount.mjs +1 -3
- package/dist/esm/api/types/Achaccounttype.d.mts +2 -7
- package/dist/esm/api/types/Achaccounttype.mjs +2 -3
- package/dist/esm/api/types/Achrouting.d.mts +0 -3
- package/dist/esm/api/types/Achrouting.mjs +1 -3
- package/dist/esm/api/types/AddPaymentMethodDomainApiResponse.d.mts +1 -4
- package/dist/esm/api/types/AddPaymentMethodDomainApiResponse.mjs +1 -3
- package/dist/esm/api/types/AdditionalData.d.mts +0 -3
- package/dist/esm/api/types/AdditionalData.mjs +1 -3
- package/dist/esm/api/types/AdditionalDataMap.d.mts +0 -3
- package/dist/esm/api/types/AdditionalDataMap.mjs +1 -3
- package/dist/esm/api/types/AdditionalDataString.d.mts +0 -3
- package/dist/esm/api/types/AdditionalDataString.mjs +1 -3
- package/dist/esm/api/types/AddressAddtlNullable.d.mts +0 -3
- package/dist/esm/api/types/AddressAddtlNullable.mjs +1 -3
- package/dist/esm/api/types/AddressNullable.d.mts +0 -3
- package/dist/esm/api/types/AddressNullable.mjs +1 -3
- package/dist/esm/api/types/AmountElement.d.mts +1 -4
- package/dist/esm/api/types/AmountElement.mjs +1 -3
- package/dist/esm/api/types/Annualrevenue.d.mts +0 -3
- package/dist/esm/api/types/Annualrevenue.mjs +1 -3
- package/dist/esm/api/types/AppId.d.mts +0 -3
- package/dist/esm/api/types/AppId.mjs +1 -3
- package/dist/esm/api/types/ApplePayData.d.mts +1 -4
- package/dist/esm/api/types/ApplePayData.mjs +1 -3
- package/dist/esm/api/types/ApplePayId.d.mts +0 -3
- package/dist/esm/api/types/ApplePayId.mjs +1 -3
- package/dist/esm/api/types/ApplePayMetadata.d.mts +0 -3
- package/dist/esm/api/types/ApplePayMetadata.mjs +1 -3
- package/dist/esm/api/types/ApplePayOrganizationUpdateData.d.mts +1 -4
- package/dist/esm/api/types/ApplePayOrganizationUpdateData.mjs +1 -3
- package/dist/esm/api/types/ApplePayPaypointRegistrationData.d.mts +1 -4
- package/dist/esm/api/types/ApplePayPaypointRegistrationData.mjs +1 -3
- package/dist/esm/api/types/ApplePayStatusData.d.mts +1 -4
- package/dist/esm/api/types/ApplePayStatusData.mjs +1 -3
- package/dist/esm/api/types/ApplePayType.d.mts +0 -3
- package/dist/esm/api/types/ApplePayType.mjs +1 -3
- package/dist/esm/api/types/AppleWalletData.d.mts +1 -4
- package/dist/esm/api/types/AppleWalletData.mjs +1 -3
- package/dist/esm/api/types/ApplicationData.d.mts +1 -4
- package/dist/esm/api/types/ApplicationData.mjs +1 -3
- package/dist/esm/api/types/ApplicationDataManaged.d.mts +1 -4
- package/dist/esm/api/types/ApplicationDataManaged.mjs +1 -3
- package/dist/esm/api/types/ApplicationDataOdp.d.mts +1 -4
- package/dist/esm/api/types/ApplicationDataOdp.mjs +1 -3
- package/dist/esm/api/types/ApplicationDataPayIn.d.mts +1 -4
- package/dist/esm/api/types/ApplicationDataPayIn.mjs +1 -3
- package/dist/esm/api/types/ApplicationDetailsRecord.d.mts +3 -6
- package/dist/esm/api/types/ApplicationDetailsRecord.mjs +1 -3
- package/dist/esm/api/types/ApplicationQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/ApplicationQueryRecord.mjs +1 -3
- package/dist/esm/api/types/AssociatedVendor.d.mts +1 -4
- package/dist/esm/api/types/AssociatedVendor.mjs +1 -3
- package/dist/esm/api/types/Attachments.d.mts +1 -4
- package/dist/esm/api/types/Attachments.mjs +1 -3
- package/dist/esm/api/types/AttestationDate.d.mts +0 -3
- package/dist/esm/api/types/AttestationDate.mjs +1 -3
- package/dist/esm/api/types/Authcode.d.mts +0 -3
- package/dist/esm/api/types/Authcode.mjs +1 -3
- package/dist/esm/api/types/AutoElement.d.mts +1 -4
- package/dist/esm/api/types/AutoElement.mjs +1 -3
- package/dist/esm/api/types/Avgmonthly.d.mts +0 -3
- package/dist/esm/api/types/Avgmonthly.mjs +1 -3
- package/dist/esm/api/types/Avgticketamt.d.mts +0 -3
- package/dist/esm/api/types/Avgticketamt.mjs +1 -3
- package/dist/esm/api/types/Avsresponsetext.d.mts +0 -3
- package/dist/esm/api/types/Avsresponsetext.mjs +1 -3
- package/dist/esm/api/types/BAddress.d.mts +1 -4
- package/dist/esm/api/types/BAddress.mjs +1 -3
- package/dist/esm/api/types/BDetails.d.mts +1 -4
- package/dist/esm/api/types/BDetails.mjs +1 -3
- package/dist/esm/api/types/BSection.d.mts +1 -4
- package/dist/esm/api/types/BSection.mjs +1 -3
- package/dist/esm/api/types/Baddress1.d.mts +0 -3
- package/dist/esm/api/types/Baddress1.mjs +1 -3
- package/dist/esm/api/types/Baddress2.d.mts +0 -3
- package/dist/esm/api/types/Baddress2.mjs +1 -3
- package/dist/esm/api/types/Bank.d.mts +1 -4
- package/dist/esm/api/types/Bank.mjs +1 -3
- package/dist/esm/api/types/BankAccountFunction.d.mts +0 -3
- package/dist/esm/api/types/BankAccountFunction.mjs +1 -3
- package/dist/esm/api/types/BankAccountHolderName.d.mts +0 -3
- package/dist/esm/api/types/BankAccountHolderName.mjs +1 -3
- package/dist/esm/api/types/BankAccountHolderType.d.mts +2 -7
- package/dist/esm/api/types/BankAccountHolderType.mjs +2 -3
- package/dist/esm/api/types/BankData.d.mts +1 -4
- package/dist/esm/api/types/BankData.mjs +1 -3
- package/dist/esm/api/types/BankName.d.mts +0 -3
- package/dist/esm/api/types/BankName.mjs +1 -3
- package/dist/esm/api/types/BankNickname.d.mts +0 -3
- package/dist/esm/api/types/BankNickname.mjs +1 -3
- package/dist/esm/api/types/BankSection.d.mts +1 -4
- package/dist/esm/api/types/BankSection.mjs +1 -3
- package/dist/esm/api/types/BasicTable.d.mts +1 -4
- package/dist/esm/api/types/BasicTable.mjs +1 -3
- package/dist/esm/api/types/BasicTemplateElement.d.mts +1 -4
- package/dist/esm/api/types/BasicTemplateElement.mjs +1 -3
- package/dist/esm/api/types/BatchNumber.d.mts +4 -4
- package/dist/esm/api/types/BatchNumber.mjs +1 -3
- package/dist/esm/api/types/BatchSummary.d.mts +1 -5
- package/dist/esm/api/types/BatchSummary.mjs +1 -3
- package/dist/esm/api/types/Bcity.d.mts +0 -3
- package/dist/esm/api/types/Bcity.mjs +1 -3
- package/dist/esm/api/types/Bcountry.d.mts +0 -3
- package/dist/esm/api/types/Bcountry.mjs +1 -3
- package/dist/esm/api/types/BillApprovals.d.mts +1 -4
- package/dist/esm/api/types/BillApprovals.mjs +1 -3
- package/dist/esm/api/types/BillData.d.mts +2 -5
- package/dist/esm/api/types/BillData.mjs +48 -3
- package/dist/esm/api/types/BillDetailResponse.d.mts +16 -5
- package/dist/esm/api/types/BillDetailResponse.mjs +1 -3
- package/dist/esm/api/types/BillDetailsResponse.d.mts +1 -4
- package/dist/esm/api/types/BillDetailsResponse.mjs +1 -3
- package/dist/esm/api/types/BillEvents.d.mts +1 -4
- package/dist/esm/api/types/BillEvents.mjs +1 -3
- package/dist/esm/api/types/BillId.d.mts +0 -3
- package/dist/esm/api/types/BillId.mjs +1 -3
- package/dist/esm/api/types/BillItem.d.mts +1 -4
- package/dist/esm/api/types/BillItem.mjs +1 -3
- package/dist/esm/api/types/BillOptions.d.mts +0 -3
- package/dist/esm/api/types/BillOptions.mjs +1 -3
- package/dist/esm/api/types/BillPayOutData.d.mts +1 -4
- package/dist/esm/api/types/BillPayOutData.mjs +1 -3
- package/dist/esm/api/types/BillPayOutDataRequest.d.mts +1 -4
- package/dist/esm/api/types/BillPayOutDataRequest.mjs +1 -3
- package/dist/esm/api/types/BillQueryRecord2.d.mts +1 -4
- package/dist/esm/api/types/BillQueryRecord2.mjs +1 -3
- package/dist/esm/api/types/BillQueryRecord2BillApprovalsItem.d.mts +1 -4
- package/dist/esm/api/types/BillQueryRecord2BillApprovalsItem.mjs +1 -3
- package/dist/esm/api/types/BillQueryRecord2PaymentMethod.d.mts +2 -7
- package/dist/esm/api/types/BillQueryRecord2PaymentMethod.mjs +2 -3
- package/dist/esm/api/types/BillQueryResponse.d.mts +1 -5
- package/dist/esm/api/types/BillQueryResponse.mjs +1 -3
- package/dist/esm/api/types/BillQueryResponseSummary.d.mts +1 -4
- package/dist/esm/api/types/BillQueryResponseSummary.mjs +1 -3
- package/dist/esm/api/types/BillingAddressAddtlNullable.d.mts +0 -3
- package/dist/esm/api/types/BillingAddressAddtlNullable.mjs +1 -3
- package/dist/esm/api/types/BillingAddressNullable.d.mts +0 -3
- package/dist/esm/api/types/BillingAddressNullable.mjs +1 -3
- package/dist/esm/api/types/BillingCityNullable.d.mts +0 -3
- package/dist/esm/api/types/BillingCityNullable.mjs +1 -3
- package/dist/esm/api/types/BillingCountryNullable.d.mts +0 -3
- package/dist/esm/api/types/BillingCountryNullable.mjs +1 -3
- package/dist/esm/api/types/BillingData.d.mts +1 -4
- package/dist/esm/api/types/BillingData.mjs +1 -3
- package/dist/esm/api/types/BillingDataResponse.d.mts +1 -4
- package/dist/esm/api/types/BillingDataResponse.mjs +1 -3
- package/dist/esm/api/types/BillingFeeDetail.d.mts +0 -3
- package/dist/esm/api/types/BillingFeeDetail.mjs +1 -3
- package/dist/esm/api/types/BillingStateNullable.d.mts +0 -3
- package/dist/esm/api/types/BillingStateNullable.mjs +1 -3
- package/dist/esm/api/types/BillingZip.d.mts +0 -3
- package/dist/esm/api/types/BillingZip.mjs +1 -3
- package/dist/esm/api/types/Billitems.d.mts +1 -4
- package/dist/esm/api/types/Billitems.mjs +1 -3
- package/dist/esm/api/types/Billstatus.d.mts +0 -3
- package/dist/esm/api/types/Billstatus.mjs +1 -3
- package/dist/esm/api/types/BinData.d.mts +0 -3
- package/dist/esm/api/types/BinData.mjs +1 -3
- package/dist/esm/api/types/Binperson.d.mts +0 -3
- package/dist/esm/api/types/Binperson.mjs +1 -3
- package/dist/esm/api/types/Binphone.d.mts +0 -3
- package/dist/esm/api/types/Binphone.mjs +1 -3
- package/dist/esm/api/types/Binweb.d.mts +0 -3
- package/dist/esm/api/types/Binweb.mjs +1 -3
- package/dist/esm/api/types/Bnk.d.mts +1 -4
- package/dist/esm/api/types/Bnk.mjs +1 -3
- package/dist/esm/api/types/BoardingApplicationAttachments.d.mts +1 -4
- package/dist/esm/api/types/BoardingApplicationAttachments.mjs +1 -3
- package/dist/esm/api/types/BoardingAverageBillSize.d.mts +0 -3
- package/dist/esm/api/types/BoardingAverageBillSize.mjs +1 -3
- package/dist/esm/api/types/BoardingAvgMonthlyBill.d.mts +0 -3
- package/dist/esm/api/types/BoardingAvgMonthlyBill.mjs +1 -3
- package/dist/esm/api/types/BoardingBusinessFax.d.mts +0 -3
- package/dist/esm/api/types/BoardingBusinessFax.mjs +1 -3
- package/dist/esm/api/types/BoardingBusinessPhone.d.mts +0 -3
- package/dist/esm/api/types/BoardingBusinessPhone.mjs +1 -3
- package/dist/esm/api/types/BoardingId.d.mts +0 -3
- package/dist/esm/api/types/BoardingId.mjs +1 -3
- package/dist/esm/api/types/BoardingLinkApiResponse.d.mts +1 -4
- package/dist/esm/api/types/BoardingLinkApiResponse.mjs +1 -3
- package/dist/esm/api/types/BoardingLinkId.d.mts +0 -3
- package/dist/esm/api/types/BoardingLinkId.mjs +1 -3
- package/dist/esm/api/types/BoardingLinkQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/BoardingLinkQueryRecord.mjs +1 -3
- package/dist/esm/api/types/BoardingQueryLinks.d.mts +1 -4
- package/dist/esm/api/types/BoardingQueryLinks.mjs +1 -3
- package/dist/esm/api/types/BoardingStatus.d.mts +0 -3
- package/dist/esm/api/types/BoardingStatus.mjs +1 -3
- package/dist/esm/api/types/Bphone.d.mts +0 -3
- package/dist/esm/api/types/Bphone.mjs +1 -3
- package/dist/esm/api/types/Bstate.d.mts +0 -3
- package/dist/esm/api/types/Bstate.mjs +1 -3
- package/dist/esm/api/types/Bsummary.d.mts +0 -3
- package/dist/esm/api/types/Bsummary.mjs +1 -3
- package/dist/esm/api/types/BuilderData.d.mts +1 -4
- package/dist/esm/api/types/BuilderData.mjs +1 -3
- package/dist/esm/api/types/BusinessSection.d.mts +1 -4
- package/dist/esm/api/types/BusinessSection.mjs +1 -3
- package/dist/esm/api/types/Busstartdate.d.mts +0 -3
- package/dist/esm/api/types/Busstartdate.mjs +1 -3
- package/dist/esm/api/types/ButtonElement.d.mts +2 -7
- package/dist/esm/api/types/ButtonElement.mjs +2 -3
- package/dist/esm/api/types/Bzip.d.mts +0 -3
- package/dist/esm/api/types/Bzip.mjs +1 -3
- package/dist/esm/api/types/CList.d.mts +1 -4
- package/dist/esm/api/types/CList.mjs +1 -3
- package/dist/esm/api/types/CardAcceptanceElement.d.mts +1 -4
- package/dist/esm/api/types/CardAcceptanceElement.mjs +1 -3
- package/dist/esm/api/types/CardFeeSection.d.mts +1 -4
- package/dist/esm/api/types/CardFeeSection.mjs +1 -3
- package/dist/esm/api/types/CardFlatSection.d.mts +1 -4
- package/dist/esm/api/types/CardFlatSection.mjs +1 -3
- package/dist/esm/api/types/CardIcpSection.d.mts +1 -4
- package/dist/esm/api/types/CardIcpSection.mjs +1 -3
- package/dist/esm/api/types/CardLinkTypes.d.mts +1 -4
- package/dist/esm/api/types/CardLinkTypes.mjs +1 -3
- package/dist/esm/api/types/CardPassThroughSection.d.mts +1 -4
- package/dist/esm/api/types/CardPassThroughSection.mjs +1 -3
- package/dist/esm/api/types/CardSection.d.mts +1 -4
- package/dist/esm/api/types/CardSection.mjs +1 -3
- package/dist/esm/api/types/CardService.d.mts +1 -4
- package/dist/esm/api/types/CardService.mjs +1 -3
- package/dist/esm/api/types/CardSetup.d.mts +0 -3
- package/dist/esm/api/types/CardSetup.mjs +1 -3
- package/dist/esm/api/types/CardType.d.mts +1 -4
- package/dist/esm/api/types/CardType.mjs +1 -3
- package/dist/esm/api/types/CardTypePass.d.mts +1 -4
- package/dist/esm/api/types/CardTypePass.mjs +1 -3
- package/dist/esm/api/types/CardTypes.d.mts +1 -4
- package/dist/esm/api/types/CardTypes.mjs +1 -3
- package/dist/esm/api/types/Cardcvv.d.mts +0 -3
- package/dist/esm/api/types/Cardcvv.mjs +1 -3
- package/dist/esm/api/types/Cardexp.d.mts +0 -3
- package/dist/esm/api/types/Cardexp.mjs +1 -3
- package/dist/esm/api/types/Cardholder.d.mts +0 -3
- package/dist/esm/api/types/Cardholder.mjs +1 -3
- package/dist/esm/api/types/Cardnumber.d.mts +0 -3
- package/dist/esm/api/types/Cardnumber.mjs +1 -3
- package/dist/esm/api/types/Cardzip.d.mts +0 -3
- package/dist/esm/api/types/Cardzip.mjs +1 -3
- package/dist/esm/api/types/Cascade.d.mts +0 -3
- package/dist/esm/api/types/Cascade.mjs +1 -3
- package/dist/esm/api/types/CascadeJobDetails.d.mts +1 -4
- package/dist/esm/api/types/CascadeJobDetails.mjs +1 -3
- package/dist/esm/api/types/Cash.d.mts +0 -3
- package/dist/esm/api/types/Cash.mjs +1 -3
- package/dist/esm/api/types/Category.d.mts +0 -3
- package/dist/esm/api/types/Category.mjs +1 -3
- package/dist/esm/api/types/ChargebackId.d.mts +0 -3
- package/dist/esm/api/types/ChargebackId.mjs +1 -3
- package/dist/esm/api/types/Check.d.mts +1 -4
- package/dist/esm/api/types/Check.mjs +1 -3
- package/dist/esm/api/types/CityNullable.d.mts +0 -3
- package/dist/esm/api/types/CityNullable.mjs +1 -3
- package/dist/esm/api/types/CloudQueryApiResponse.d.mts +1 -4
- package/dist/esm/api/types/CloudQueryApiResponse.mjs +1 -3
- package/dist/esm/api/types/Comments.d.mts +0 -3
- package/dist/esm/api/types/Comments.mjs +1 -3
- package/dist/esm/api/types/ConfigureApplePayOrganizationApiResponse.d.mts +1 -4
- package/dist/esm/api/types/ConfigureApplePayOrganizationApiResponse.mjs +1 -3
- package/dist/esm/api/types/ConfigureApplePaypointApiResponse.d.mts +1 -4
- package/dist/esm/api/types/ConfigureApplePaypointApiResponse.mjs +1 -3
- package/dist/esm/api/types/ConfigureGooglePaypointApiResponse.d.mts +1 -4
- package/dist/esm/api/types/ConfigureGooglePaypointApiResponse.mjs +1 -3
- package/dist/esm/api/types/ContactElement.d.mts +1 -4
- package/dist/esm/api/types/ContactElement.mjs +1 -3
- package/dist/esm/api/types/Contacts.d.mts +1 -4
- package/dist/esm/api/types/Contacts.mjs +1 -3
- package/dist/esm/api/types/ContactsField.d.mts +1 -4
- package/dist/esm/api/types/ContactsField.mjs +1 -3
- package/dist/esm/api/types/ContactsResponse.d.mts +1 -4
- package/dist/esm/api/types/ContactsResponse.mjs +1 -3
- package/dist/esm/api/types/CountryNullable.d.mts +0 -3
- package/dist/esm/api/types/CountryNullable.mjs +1 -3
- package/dist/esm/api/types/CreatedAt.d.mts +0 -3
- package/dist/esm/api/types/CreatedAt.mjs +1 -3
- package/dist/esm/api/types/CustomerData.d.mts +1 -4
- package/dist/esm/api/types/CustomerData.mjs +1 -3
- package/dist/esm/api/types/CustomerId.d.mts +0 -3
- package/dist/esm/api/types/CustomerId.mjs +1 -3
- package/dist/esm/api/types/CustomerNumberNullable.d.mts +0 -3
- package/dist/esm/api/types/CustomerNumberNullable.mjs +1 -3
- package/dist/esm/api/types/CustomerQueryRecords.d.mts +2 -22
- package/dist/esm/api/types/CustomerQueryRecords.mjs +1 -3
- package/dist/esm/api/types/CustomerStatus.d.mts +0 -3
- package/dist/esm/api/types/CustomerStatus.mjs +1 -3
- package/dist/esm/api/types/CustomerSummaryRecord.d.mts +1 -4
- package/dist/esm/api/types/CustomerSummaryRecord.mjs +1 -3
- package/dist/esm/api/types/Customeridtrans.d.mts +0 -3
- package/dist/esm/api/types/Customeridtrans.mjs +1 -3
- package/dist/esm/api/types/Cvvresponsetext.d.mts +0 -3
- package/dist/esm/api/types/Cvvresponsetext.mjs +1 -3
- package/dist/esm/api/types/DSection.d.mts +1 -4
- package/dist/esm/api/types/DSection.mjs +1 -3
- package/dist/esm/api/types/Datenullable.d.mts +0 -3
- package/dist/esm/api/types/Datenullable.mjs +1 -3
- package/dist/esm/api/types/DatetimeNullable.d.mts +0 -3
- package/dist/esm/api/types/DatetimeNullable.mjs +1 -3
- package/dist/esm/api/types/Dbaname.d.mts +0 -3
- package/dist/esm/api/types/Dbaname.mjs +1 -3
- package/dist/esm/api/types/DepositDate.d.mts +0 -3
- package/dist/esm/api/types/DepositDate.mjs +1 -3
- package/dist/esm/api/types/Descriptor.d.mts +0 -3
- package/dist/esm/api/types/Descriptor.mjs +1 -3
- package/dist/esm/api/types/Device.d.mts +0 -3
- package/dist/esm/api/types/Device.mjs +1 -3
- package/dist/esm/api/types/DeviceId.d.mts +1 -4
- package/dist/esm/api/types/DeviceId.mjs +1 -3
- package/dist/esm/api/types/Discount.d.mts +0 -3
- package/dist/esm/api/types/Discount.mjs +1 -3
- package/dist/esm/api/types/DisplayProperty.d.mts +0 -3
- package/dist/esm/api/types/DisplayProperty.mjs +1 -3
- package/dist/esm/api/types/DocumentSection.d.mts +1 -4
- package/dist/esm/api/types/DocumentSection.mjs +1 -3
- package/dist/esm/api/types/DocumentsRef.d.mts +1 -4
- package/dist/esm/api/types/DocumentsRef.mjs +1 -3
- package/dist/esm/api/types/DomainName.d.mts +0 -3
- package/dist/esm/api/types/DomainName.mjs +1 -3
- package/dist/esm/api/types/DutyAmount.d.mts +0 -3
- package/dist/esm/api/types/DutyAmount.mjs +1 -3
- package/dist/esm/api/types/Ein.d.mts +0 -3
- package/dist/esm/api/types/Ein.mjs +1 -3
- package/dist/esm/api/types/Element.d.mts +1 -4
- package/dist/esm/api/types/Element.mjs +1 -3
- package/dist/esm/api/types/Email.d.mts +0 -3
- package/dist/esm/api/types/Email.mjs +1 -3
- package/dist/esm/api/types/Enabled.d.mts +0 -3
- package/dist/esm/api/types/Enabled.mjs +1 -3
- package/dist/esm/api/types/EnrollmentStatus.d.mts +0 -3
- package/dist/esm/api/types/EnrollmentStatus.mjs +1 -3
- package/dist/esm/api/types/EntityId.d.mts +0 -3
- package/dist/esm/api/types/EntityId.mjs +1 -3
- package/dist/esm/api/types/EntityType.d.mts +0 -3
- package/dist/esm/api/types/EntityType.mjs +1 -3
- package/dist/esm/api/types/Entry.d.mts +0 -3
- package/dist/esm/api/types/Entry.mjs +1 -3
- package/dist/esm/api/types/EntryAttributes.d.mts +0 -3
- package/dist/esm/api/types/EntryAttributes.mjs +1 -3
- package/dist/esm/api/types/EntrypageId.d.mts +0 -3
- package/dist/esm/api/types/EntrypageId.mjs +1 -3
- package/dist/esm/api/types/Entrypointfield.d.mts +0 -3
- package/dist/esm/api/types/Entrypointfield.mjs +1 -3
- package/dist/esm/api/types/ExpectedDepositDate.d.mts +0 -3
- package/dist/esm/api/types/ExpectedDepositDate.mjs +1 -3
- package/dist/esm/api/types/ExpectedProcessingDateTime.d.mts +0 -3
- package/dist/esm/api/types/ExpectedProcessingDateTime.mjs +1 -3
- package/dist/esm/api/types/ExportFormat.d.mts +6 -13
- package/dist/esm/api/types/ExportFormat.mjs +6 -3
- package/dist/esm/api/types/ExternalPaypointId.d.mts +0 -3
- package/dist/esm/api/types/ExternalPaypointId.mjs +1 -3
- package/dist/esm/api/types/ExternalProcessorInformation.d.mts +0 -3
- package/dist/esm/api/types/ExternalProcessorInformation.mjs +1 -3
- package/dist/esm/api/types/FaxNumber.d.mts +0 -3
- package/dist/esm/api/types/FaxNumber.mjs +1 -3
- package/dist/esm/api/types/FeeAmount.d.mts +0 -3
- package/dist/esm/api/types/FeeAmount.mjs +1 -3
- package/dist/esm/api/types/FileContent.d.mts +2 -7
- package/dist/esm/api/types/FileContent.mjs +2 -3
- package/dist/esm/api/types/File_.d.mts +0 -3
- package/dist/esm/api/types/File_.mjs +1 -3
- package/dist/esm/api/types/Finishtype.d.mts +0 -3
- package/dist/esm/api/types/Finishtype.mjs +1 -3
- package/dist/esm/api/types/ForceCustomerCreation.d.mts +0 -3
- package/dist/esm/api/types/ForceCustomerCreation.mjs +1 -3
- package/dist/esm/api/types/FreightAmount.d.mts +0 -3
- package/dist/esm/api/types/FreightAmount.mjs +1 -3
- package/dist/esm/api/types/Frequency.d.mts +2 -7
- package/dist/esm/api/types/Frequency.mjs +2 -3
- package/dist/esm/api/types/FrequencyList.d.mts +0 -3
- package/dist/esm/api/types/FrequencyList.mjs +1 -3
- package/dist/esm/api/types/Frequencynotification.d.mts +1 -4
- package/dist/esm/api/types/Frequencynotification.mjs +15 -1
- package/dist/esm/api/types/Gatewayfield.d.mts +0 -3
- package/dist/esm/api/types/Gatewayfield.mjs +1 -3
- package/dist/esm/api/types/GeneralEvents.d.mts +1 -4
- package/dist/esm/api/types/GeneralEvents.mjs +1 -3
- package/dist/esm/api/types/GooglePayData.d.mts +1 -4
- package/dist/esm/api/types/GooglePayData.mjs +1 -3
- package/dist/esm/api/types/GooglePayMetadata.d.mts +0 -3
- package/dist/esm/api/types/GooglePayMetadata.mjs +1 -3
- package/dist/esm/api/types/GooglePayPaypointRegistrationData.d.mts +1 -4
- package/dist/esm/api/types/GooglePayPaypointRegistrationData.mjs +1 -3
- package/dist/esm/api/types/GooglePayStatusData.d.mts +1 -4
- package/dist/esm/api/types/GooglePayStatusData.mjs +1 -3
- package/dist/esm/api/types/GoogleWalletData.d.mts +0 -3
- package/dist/esm/api/types/GoogleWalletData.mjs +1 -3
- package/dist/esm/api/types/HasVcardTransactions.d.mts +0 -3
- package/dist/esm/api/types/HasVcardTransactions.mjs +1 -3
- package/dist/esm/api/types/HeaderElement.d.mts +1 -4
- package/dist/esm/api/types/HeaderElement.mjs +1 -3
- package/dist/esm/api/types/Highticketamt.d.mts +0 -3
- package/dist/esm/api/types/Highticketamt.mjs +1 -3
- package/dist/esm/api/types/Holdername.d.mts +0 -3
- package/dist/esm/api/types/Holdername.mjs +1 -3
- package/dist/esm/api/types/IdempotencyKey.d.mts +0 -3
- package/dist/esm/api/types/IdempotencyKey.mjs +1 -3
- package/dist/esm/api/types/Identifierfields.d.mts +0 -3
- package/dist/esm/api/types/Identifierfields.mjs +1 -3
- package/dist/esm/api/types/Idpaypoint.d.mts +0 -3
- package/dist/esm/api/types/Idpaypoint.mjs +1 -3
- package/dist/esm/api/types/Initiator.d.mts +0 -3
- package/dist/esm/api/types/Initiator.mjs +1 -3
- package/dist/esm/api/types/Instrument.d.mts +1 -4
- package/dist/esm/api/types/Instrument.mjs +1 -3
- package/dist/esm/api/types/InternalReferenceId.d.mts +0 -3
- package/dist/esm/api/types/InternalReferenceId.mjs +1 -3
- package/dist/esm/api/types/InvoiceAmount.d.mts +0 -3
- package/dist/esm/api/types/InvoiceAmount.mjs +1 -3
- package/dist/esm/api/types/InvoiceElement.d.mts +1 -4
- package/dist/esm/api/types/InvoiceElement.mjs +1 -3
- package/dist/esm/api/types/InvoiceNumber.d.mts +0 -3
- package/dist/esm/api/types/InvoiceNumber.mjs +1 -3
- package/dist/esm/api/types/InvoiceType.d.mts +0 -3
- package/dist/esm/api/types/InvoiceType.mjs +1 -3
- package/dist/esm/api/types/Invoicestatus.d.mts +0 -3
- package/dist/esm/api/types/Invoicestatus.mjs +1 -3
- package/dist/esm/api/types/IpAddress.d.mts +0 -3
- package/dist/esm/api/types/IpAddress.mjs +1 -3
- package/dist/esm/api/types/IsEnabled.d.mts +0 -3
- package/dist/esm/api/types/IsEnabled.mjs +1 -3
- package/dist/esm/api/types/IsRoot.d.mts +0 -3
- package/dist/esm/api/types/IsRoot.mjs +1 -3
- package/dist/esm/api/types/IsSameDayAch.d.mts +0 -3
- package/dist/esm/api/types/IsSameDayAch.mjs +1 -3
- package/dist/esm/api/types/IsSuccess.d.mts +0 -3
- package/dist/esm/api/types/IsSuccess.mjs +1 -3
- package/dist/esm/api/types/ItemCommodityCode.d.mts +0 -3
- package/dist/esm/api/types/ItemCommodityCode.mjs +1 -3
- package/dist/esm/api/types/ItemDescription.d.mts +0 -3
- package/dist/esm/api/types/ItemDescription.mjs +1 -3
- package/dist/esm/api/types/ItemProductCode.d.mts +0 -3
- package/dist/esm/api/types/ItemProductCode.mjs +1 -3
- package/dist/esm/api/types/ItemProductName.d.mts +0 -3
- package/dist/esm/api/types/ItemProductName.mjs +1 -3
- package/dist/esm/api/types/ItemUnitofMeasure.d.mts +0 -3
- package/dist/esm/api/types/ItemUnitofMeasure.mjs +1 -3
- package/dist/esm/api/types/JobId.d.mts +0 -3
- package/dist/esm/api/types/JobId.mjs +1 -3
- package/dist/esm/api/types/JobStatus.d.mts +0 -3
- package/dist/esm/api/types/JobStatus.mjs +1 -3
- package/dist/esm/api/types/KeyValue.d.mts +1 -4
- package/dist/esm/api/types/KeyValue.mjs +1 -3
- package/dist/esm/api/types/KeyValueDuo.d.mts +0 -3
- package/dist/esm/api/types/KeyValueDuo.mjs +1 -3
- package/dist/esm/api/types/LabelElement.d.mts +1 -4
- package/dist/esm/api/types/LabelElement.mjs +1 -3
- package/dist/esm/api/types/Language.d.mts +0 -3
- package/dist/esm/api/types/Language.mjs +1 -3
- package/dist/esm/api/types/LastModified.d.mts +0 -3
- package/dist/esm/api/types/LastModified.mjs +1 -3
- package/dist/esm/api/types/Legalname.d.mts +0 -3
- package/dist/esm/api/types/Legalname.mjs +1 -3
- package/dist/esm/api/types/License.d.mts +0 -3
- package/dist/esm/api/types/License.mjs +1 -3
- package/dist/esm/api/types/Licensestate.d.mts +0 -3
- package/dist/esm/api/types/Licensestate.mjs +1 -3
- package/dist/esm/api/types/LineItem.d.mts +1 -4
- package/dist/esm/api/types/LineItem.mjs +1 -3
- package/dist/esm/api/types/LineItemQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/LineItemQueryRecord.mjs +1 -3
- package/dist/esm/api/types/LinkData.d.mts +1 -4
- package/dist/esm/api/types/LinkData.mjs +1 -3
- package/dist/esm/api/types/LinkRow.d.mts +1 -4
- package/dist/esm/api/types/LinkRow.mjs +1 -3
- package/dist/esm/api/types/LocationCode.d.mts +0 -3
- package/dist/esm/api/types/LocationCode.mjs +1 -3
- package/dist/esm/api/types/Maddress.d.mts +0 -3
- package/dist/esm/api/types/Maddress.mjs +1 -3
- package/dist/esm/api/types/Maddress1.d.mts +0 -3
- package/dist/esm/api/types/Maddress1.mjs +1 -3
- package/dist/esm/api/types/Maskedaccount.d.mts +0 -3
- package/dist/esm/api/types/Maskedaccount.mjs +1 -3
- package/dist/esm/api/types/Mcc.d.mts +0 -3
- package/dist/esm/api/types/Mcc.mjs +1 -3
- package/dist/esm/api/types/Mcity.d.mts +0 -3
- package/dist/esm/api/types/Mcity.mjs +1 -3
- package/dist/esm/api/types/Mcountry.d.mts +0 -3
- package/dist/esm/api/types/Mcountry.mjs +1 -3
- package/dist/esm/api/types/MethodElement.d.mts +7 -16
- package/dist/esm/api/types/MethodElement.mjs +4 -3
- package/dist/esm/api/types/MethodQueryRecords.d.mts +1 -4
- package/dist/esm/api/types/MethodQueryRecords.mjs +1 -3
- package/dist/esm/api/types/MethodReferenceId.d.mts +0 -3
- package/dist/esm/api/types/MethodReferenceId.mjs +1 -3
- package/dist/esm/api/types/Methodall.d.mts +2 -7
- package/dist/esm/api/types/Methodall.mjs +2 -3
- package/dist/esm/api/types/Methodnotification.d.mts +2 -7
- package/dist/esm/api/types/Methodnotification.mjs +2 -3
- package/dist/esm/api/types/MethodsList.d.mts +0 -3
- package/dist/esm/api/types/MethodsList.mjs +1 -3
- package/dist/esm/api/types/Mfa.d.mts +0 -3
- package/dist/esm/api/types/Mfa.mjs +1 -3
- package/dist/esm/api/types/MfaData.d.mts +1 -4
- package/dist/esm/api/types/MfaData.mjs +1 -3
- package/dist/esm/api/types/MfaMode.d.mts +0 -3
- package/dist/esm/api/types/MfaMode.mjs +1 -3
- package/dist/esm/api/types/MfaValidationCode.d.mts +0 -3
- package/dist/esm/api/types/MfaValidationCode.mjs +1 -3
- package/dist/esm/api/types/Mstate.d.mts +0 -3
- package/dist/esm/api/types/Mstate.mjs +1 -3
- package/dist/esm/api/types/Mzip.d.mts +0 -3
- package/dist/esm/api/types/Mzip.mjs +1 -3
- package/dist/esm/api/types/NameUser.d.mts +0 -3
- package/dist/esm/api/types/NameUser.mjs +1 -3
- package/dist/esm/api/types/NetAmountstring.d.mts +0 -3
- package/dist/esm/api/types/NetAmountstring.mjs +1 -3
- package/dist/esm/api/types/Netamountnullable.d.mts +0 -3
- package/dist/esm/api/types/Netamountnullable.mjs +1 -3
- package/dist/esm/api/types/NoteElement.d.mts +1 -4
- package/dist/esm/api/types/NoteElement.mjs +1 -3
- package/dist/esm/api/types/NotificationContent.d.mts +7 -13
- package/dist/esm/api/types/NotificationContent.mjs +8 -3
- package/dist/esm/api/types/NotificationId.d.mts +0 -3
- package/dist/esm/api/types/NotificationId.mjs +1 -3
- package/dist/esm/api/types/NotificationQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/NotificationQueryRecord.mjs +1 -3
- package/dist/esm/api/types/NotificationReportRequest.d.mts +8 -17
- package/dist/esm/api/types/NotificationReportRequest.mjs +4 -3
- package/dist/esm/api/types/NotificationStandardRequest.d.mts +7 -13
- package/dist/esm/api/types/NotificationStandardRequest.mjs +4 -3
- package/dist/esm/api/types/OList.d.mts +1 -4
- package/dist/esm/api/types/OList.mjs +1 -3
- package/dist/esm/api/types/OSection.d.mts +1 -4
- package/dist/esm/api/types/OSection.mjs +1 -3
- package/dist/esm/api/types/OdpSetup.d.mts +2 -7
- package/dist/esm/api/types/OdpSetup.mjs +2 -3
- package/dist/esm/api/types/Operation.d.mts +0 -3
- package/dist/esm/api/types/Operation.mjs +1 -3
- package/dist/esm/api/types/OptinStatus.d.mts +0 -3
- package/dist/esm/api/types/OptinStatus.mjs +1 -3
- package/dist/esm/api/types/Order.d.mts +0 -3
- package/dist/esm/api/types/Order.mjs +1 -3
- package/dist/esm/api/types/OrderId.d.mts +0 -3
- package/dist/esm/api/types/OrderId.mjs +1 -3
- package/dist/esm/api/types/Orderdescription.d.mts +0 -3
- package/dist/esm/api/types/Orderdescription.mjs +1 -3
- package/dist/esm/api/types/OrgData.d.mts +1 -4
- package/dist/esm/api/types/OrgData.mjs +1 -3
- package/dist/esm/api/types/OrgParentId.d.mts +0 -3
- package/dist/esm/api/types/OrgParentId.mjs +1 -3
- package/dist/esm/api/types/OrgParentName.d.mts +0 -3
- package/dist/esm/api/types/OrgParentName.mjs +1 -3
- package/dist/esm/api/types/OrgScope.d.mts +1 -4
- package/dist/esm/api/types/OrgScope.mjs +1 -3
- package/dist/esm/api/types/OrgXScope.d.mts +1 -4
- package/dist/esm/api/types/OrgXScope.mjs +1 -3
- package/dist/esm/api/types/Orgaddress.d.mts +0 -3
- package/dist/esm/api/types/Orgaddress.mjs +1 -3
- package/dist/esm/api/types/OrganizationId.d.mts +0 -3
- package/dist/esm/api/types/OrganizationId.mjs +1 -3
- package/dist/esm/api/types/OrganizationQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/OrganizationQueryRecord.mjs +1 -3
- package/dist/esm/api/types/OrganizationUpdates.d.mts +1 -4
- package/dist/esm/api/types/OrganizationUpdates.mjs +1 -3
- package/dist/esm/api/types/Orgcity.d.mts +0 -3
- package/dist/esm/api/types/Orgcity.mjs +1 -3
- package/dist/esm/api/types/Orgcountry.d.mts +0 -3
- package/dist/esm/api/types/Orgcountry.mjs +1 -3
- package/dist/esm/api/types/Orgentryname.d.mts +0 -3
- package/dist/esm/api/types/Orgentryname.mjs +1 -3
- package/dist/esm/api/types/Orgid.d.mts +0 -3
- package/dist/esm/api/types/Orgid.mjs +1 -3
- package/dist/esm/api/types/Orgidstring.d.mts +0 -3
- package/dist/esm/api/types/Orgidstring.mjs +1 -3
- package/dist/esm/api/types/Orgname.d.mts +0 -3
- package/dist/esm/api/types/Orgname.mjs +1 -3
- package/dist/esm/api/types/Orgstate.d.mts +0 -3
- package/dist/esm/api/types/Orgstate.mjs +1 -3
- package/dist/esm/api/types/Orgtimezone.d.mts +0 -3
- package/dist/esm/api/types/Orgtimezone.mjs +1 -3
- package/dist/esm/api/types/Orgtype.d.mts +0 -3
- package/dist/esm/api/types/Orgtype.mjs +1 -3
- package/dist/esm/api/types/Orgwebsite.d.mts +0 -3
- package/dist/esm/api/types/Orgwebsite.mjs +1 -3
- package/dist/esm/api/types/Orgzip.d.mts +0 -3
- package/dist/esm/api/types/Orgzip.mjs +1 -3
- package/dist/esm/api/types/OwnType.d.mts +2 -7
- package/dist/esm/api/types/OwnType.mjs +2 -3
- package/dist/esm/api/types/OwnerEntityId.d.mts +0 -3
- package/dist/esm/api/types/OwnerEntityId.mjs +1 -3
- package/dist/esm/api/types/OwnerEntityType.d.mts +0 -3
- package/dist/esm/api/types/OwnerEntityType.mjs +1 -3
- package/dist/esm/api/types/Ownerid.d.mts +0 -3
- package/dist/esm/api/types/Ownerid.mjs +1 -3
- package/dist/esm/api/types/Owners.d.mts +1 -4
- package/dist/esm/api/types/Owners.mjs +1 -3
- package/dist/esm/api/types/OwnersSection.d.mts +1 -4
- package/dist/esm/api/types/OwnersSection.mjs +1 -3
- package/dist/esm/api/types/Ownership.d.mts +1 -4
- package/dist/esm/api/types/Ownership.mjs +1 -3
- package/dist/esm/api/types/Ownertype.d.mts +0 -3
- package/dist/esm/api/types/Ownertype.mjs +1 -3
- package/dist/esm/api/types/PSection.d.mts +1 -4
- package/dist/esm/api/types/PSection.mjs +1 -3
- package/dist/esm/api/types/PageContent.d.mts +1 -4
- package/dist/esm/api/types/PageContent.mjs +1 -3
- package/dist/esm/api/types/PageElement.d.mts +1 -4
- package/dist/esm/api/types/PageElement.mjs +1 -3
- package/dist/esm/api/types/PageIdentifier.d.mts +0 -3
- package/dist/esm/api/types/PageIdentifier.mjs +1 -3
- package/dist/esm/api/types/PageSetting.d.mts +1 -4
- package/dist/esm/api/types/PageSetting.mjs +1 -3
- package/dist/esm/api/types/PagelinkSetting.d.mts +1 -4
- package/dist/esm/api/types/PagelinkSetting.mjs +1 -3
- package/dist/esm/api/types/Pagesize.d.mts +0 -3
- package/dist/esm/api/types/Pagesize.mjs +1 -3
- package/dist/esm/api/types/PairFiles.d.mts +0 -3
- package/dist/esm/api/types/PairFiles.mjs +1 -3
- package/dist/esm/api/types/PayCategory.d.mts +1 -4
- package/dist/esm/api/types/PayCategory.mjs +1 -3
- package/dist/esm/api/types/PayMethodBodyAllFields.d.mts +1 -4
- package/dist/esm/api/types/PayMethodBodyAllFields.mjs +1 -3
- package/dist/esm/api/types/PayMethodCloud.d.mts +1 -4
- package/dist/esm/api/types/PayMethodCloud.mjs +1 -3
- package/dist/esm/api/types/PayMethodCredit.d.mts +1 -4
- package/dist/esm/api/types/PayMethodCredit.mjs +1 -3
- package/dist/esm/api/types/PayMethodStoredMethod.d.mts +3 -8
- package/dist/esm/api/types/PayMethodStoredMethod.mjs +2 -3
- package/dist/esm/api/types/PayabliApiResponse.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponse0.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse0.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponse00.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse00.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponse0000.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse0000.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponse00Responsedatanonobject.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse00Responsedatanonobject.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponse6.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponse6.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseCustomerQuery.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseCustomerQuery.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseError400.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseError400.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseGeneric2Part.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseGeneric2Part.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseImport.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseImport.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseMfaBasic.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseMfaBasic.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseNotifications.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseNotifications.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponsePaylinks.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponsePaylinks.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponsePaymethodDelete.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponsePaymethodDelete.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseTemplateId.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseTemplateId.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseUserMfa.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseUserMfa.mjs +1 -3
- package/dist/esm/api/types/PayabliApiResponseVendors.d.mts +1 -4
- package/dist/esm/api/types/PayabliApiResponseVendors.mjs +1 -3
- package/dist/esm/api/types/PayabliCredentials.d.mts +0 -3
- package/dist/esm/api/types/PayabliCredentials.mjs +1 -3
- package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +0 -3
- package/dist/esm/api/types/PayabliCredentialsPascal.mjs +1 -3
- package/dist/esm/api/types/PayabliPages.d.mts +1 -4
- package/dist/esm/api/types/PayabliPages.mjs +1 -3
- package/dist/esm/api/types/PayeeName.d.mts +0 -3
- package/dist/esm/api/types/PayeeName.mjs +1 -3
- package/dist/esm/api/types/PaylinkId.d.mts +0 -3
- package/dist/esm/api/types/PaylinkId.mjs +1 -3
- package/dist/esm/api/types/PaymentCategories.d.mts +0 -3
- package/dist/esm/api/types/PaymentCategories.mjs +1 -3
- package/dist/esm/api/types/PaymentDetail.d.mts +1 -4
- package/dist/esm/api/types/PaymentDetail.mjs +1 -3
- package/dist/esm/api/types/PaymentDetailCredit.d.mts +0 -3
- package/dist/esm/api/types/PaymentDetailCredit.mjs +1 -3
- package/dist/esm/api/types/PaymentIdString.d.mts +0 -3
- package/dist/esm/api/types/PaymentIdString.mjs +1 -3
- package/dist/esm/api/types/PaymentMethod.d.mts +1 -4
- package/dist/esm/api/types/PaymentMethod.mjs +1 -3
- package/dist/esm/api/types/PaymentMethodDomainApiResponse.d.mts +1 -4
- package/dist/esm/api/types/PaymentMethodDomainApiResponse.mjs +1 -3
- package/dist/esm/api/types/PaymentMethodDomainGeneralResponse.d.mts +1 -4
- package/dist/esm/api/types/PaymentMethodDomainGeneralResponse.mjs +1 -3
- package/dist/esm/api/types/PaymentMethodDomainId.d.mts +0 -3
- package/dist/esm/api/types/PaymentMethodDomainId.mjs +1 -3
- package/dist/esm/api/types/PaymentTransStatusDescription.d.mts +0 -3
- package/dist/esm/api/types/PaymentTransStatusDescription.mjs +1 -3
- package/dist/esm/api/types/Paymentid.d.mts +0 -3
- package/dist/esm/api/types/Paymentid.mjs +1 -3
- package/dist/esm/api/types/PayorDataRequest.d.mts +1 -4
- package/dist/esm/api/types/PayorDataRequest.mjs +1 -3
- package/dist/esm/api/types/PayorDataResponse.d.mts +1 -4
- package/dist/esm/api/types/PayorDataResponse.mjs +1 -3
- package/dist/esm/api/types/PayorElement.d.mts +1 -4
- package/dist/esm/api/types/PayorElement.mjs +1 -3
- package/dist/esm/api/types/PayorFields.d.mts +1 -4
- package/dist/esm/api/types/PayorFields.mjs +1 -3
- package/dist/esm/api/types/PayorId.d.mts +0 -3
- package/dist/esm/api/types/PayorId.mjs +1 -3
- package/dist/esm/api/types/PayoutAverageMonthlyVolume.d.mts +0 -3
- package/dist/esm/api/types/PayoutAverageMonthlyVolume.mjs +1 -3
- package/dist/esm/api/types/PayoutAverageTicketLimit.d.mts +0 -3
- package/dist/esm/api/types/PayoutAverageTicketLimit.mjs +1 -3
- package/dist/esm/api/types/PayoutCreditLimit.d.mts +0 -3
- package/dist/esm/api/types/PayoutCreditLimit.mjs +1 -3
- package/dist/esm/api/types/PayoutGatewayConnector.d.mts +0 -3
- package/dist/esm/api/types/PayoutGatewayConnector.mjs +1 -3
- package/dist/esm/api/types/PayoutHighTicketAmount.d.mts +0 -3
- package/dist/esm/api/types/PayoutHighTicketAmount.mjs +1 -3
- package/dist/esm/api/types/PayoutProgram.d.mts +0 -3
- package/dist/esm/api/types/PayoutProgram.mjs +1 -3
- package/dist/esm/api/types/PaypointData.d.mts +1 -4
- package/dist/esm/api/types/PaypointData.mjs +1 -3
- package/dist/esm/api/types/PaypointEntryConfig.d.mts +1 -4
- package/dist/esm/api/types/PaypointEntryConfig.mjs +1 -3
- package/dist/esm/api/types/PaypointId.d.mts +0 -3
- package/dist/esm/api/types/PaypointId.mjs +1 -3
- package/dist/esm/api/types/PaypointName.d.mts +0 -3
- package/dist/esm/api/types/PaypointName.mjs +1 -3
- package/dist/esm/api/types/PaypointSummary.d.mts +0 -3
- package/dist/esm/api/types/PaypointSummary.mjs +1 -3
- package/dist/esm/api/types/Paypointstatus.d.mts +0 -3
- package/dist/esm/api/types/Paypointstatus.mjs +1 -3
- package/dist/esm/api/types/PciAttestation.d.mts +0 -3
- package/dist/esm/api/types/PciAttestation.mjs +1 -3
- package/dist/esm/api/types/PendingFeeAmount.d.mts +0 -3
- package/dist/esm/api/types/PendingFeeAmount.mjs +1 -3
- package/dist/esm/api/types/PhoneNumber.d.mts +0 -3
- package/dist/esm/api/types/PhoneNumber.mjs +1 -3
- package/dist/esm/api/types/PoiDevice.d.mts +0 -3
- package/dist/esm/api/types/PoiDevice.mjs +1 -3
- package/dist/esm/api/types/PolicyId.d.mts +0 -3
- package/dist/esm/api/types/PolicyId.mjs +1 -3
- package/dist/esm/api/types/PosCol.d.mts +0 -3
- package/dist/esm/api/types/PosCol.mjs +1 -3
- package/dist/esm/api/types/PosRow.d.mts +0 -3
- package/dist/esm/api/types/PosRow.mjs +1 -3
- package/dist/esm/api/types/ProcessingSection.d.mts +1 -4
- package/dist/esm/api/types/ProcessingSection.mjs +1 -3
- package/dist/esm/api/types/PurchaseOrder.d.mts +0 -3
- package/dist/esm/api/types/PurchaseOrder.mjs +1 -3
- package/dist/esm/api/types/PushPayLinkRequest.d.mts +1 -4
- package/dist/esm/api/types/PushPayLinkRequest.mjs +1 -3
- package/dist/esm/api/types/QueryBatchesOutResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryBatchesOutResponse.mjs +1 -3
- package/dist/esm/api/types/QueryBoardingAppsListResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryBoardingAppsListResponse.mjs +1 -3
- package/dist/esm/api/types/QueryBoardingLinksResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryBoardingLinksResponse.mjs +1 -3
- package/dist/esm/api/types/QueryCFeeTransaction.d.mts +1 -4
- package/dist/esm/api/types/QueryCFeeTransaction.mjs +1 -3
- package/dist/esm/api/types/QueryChargebacksResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryChargebacksResponse.mjs +1 -3
- package/dist/esm/api/types/QueryCustomerResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryCustomerResponse.mjs +1 -3
- package/dist/esm/api/types/QueryEntrypointResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryEntrypointResponse.mjs +1 -3
- package/dist/esm/api/types/QueryPaymentData.d.mts +1 -4
- package/dist/esm/api/types/QueryPaymentData.mjs +1 -3
- package/dist/esm/api/types/QueryPayoutTransaction.d.mts +1 -4
- package/dist/esm/api/types/QueryPayoutTransaction.mjs +1 -3
- package/dist/esm/api/types/QueryResponse.d.mts +0 -3
- package/dist/esm/api/types/QueryResponse.mjs +1 -3
- package/dist/esm/api/types/QueryResponseData.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseData.mjs +1 -3
- package/dist/esm/api/types/QueryResponseItems.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseItems.mjs +1 -3
- package/dist/esm/api/types/QueryResponseNotificationReports.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseNotificationReports.mjs +1 -3
- package/dist/esm/api/types/QueryResponseNotifications.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseNotifications.mjs +1 -3
- package/dist/esm/api/types/QueryResponseSettlements.d.mts +2 -5
- package/dist/esm/api/types/QueryResponseSettlements.mjs +1 -3
- package/dist/esm/api/types/QueryResponseTransactions.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseTransactions.mjs +1 -3
- package/dist/esm/api/types/QueryResponseVendors.d.mts +1 -4
- package/dist/esm/api/types/QueryResponseVendors.mjs +1 -3
- package/dist/esm/api/types/QuerySubscriptionResponse.d.mts +1 -4
- package/dist/esm/api/types/QuerySubscriptionResponse.mjs +1 -3
- package/dist/esm/api/types/QuerySummary.d.mts +1 -4
- package/dist/esm/api/types/QuerySummary.mjs +1 -3
- package/dist/esm/api/types/QuerySummaryNoAmt.d.mts +1 -4
- package/dist/esm/api/types/QuerySummaryNoAmt.mjs +1 -3
- package/dist/esm/api/types/QueryTransactionEvents.d.mts +0 -3
- package/dist/esm/api/types/QueryTransactionEvents.mjs +1 -3
- package/dist/esm/api/types/QueryTransactionPayorData.d.mts +1 -4
- package/dist/esm/api/types/QueryTransactionPayorData.mjs +1 -3
- package/dist/esm/api/types/QueryTransactionPayorDataCustomer.d.mts +37 -0
- package/dist/esm/api/types/QueryTransactionPayorDataCustomer.mjs +2 -0
- package/dist/esm/api/types/QueryUserResponse.d.mts +1 -4
- package/dist/esm/api/types/QueryUserResponse.mjs +1 -3
- package/dist/esm/api/types/ReadOnly.d.mts +0 -3
- package/dist/esm/api/types/ReadOnly.mjs +1 -3
- package/dist/esm/api/types/ReceiptContent.d.mts +1 -4
- package/dist/esm/api/types/ReceiptContent.mjs +1 -3
- package/dist/esm/api/types/RecipientEmailNotification.d.mts +0 -3
- package/dist/esm/api/types/RecipientEmailNotification.mjs +1 -3
- package/dist/esm/api/types/ReferenceName.d.mts +0 -3
- package/dist/esm/api/types/ReferenceName.mjs +1 -3
- package/dist/esm/api/types/ReferenceTemplateId.d.mts +0 -3
- package/dist/esm/api/types/ReferenceTemplateId.mjs +1 -3
- package/dist/esm/api/types/Referenceidtrans.d.mts +0 -3
- package/dist/esm/api/types/Referenceidtrans.mjs +1 -3
- package/dist/esm/api/types/RefundDetail.d.mts +1 -4
- package/dist/esm/api/types/RefundDetail.mjs +1 -3
- package/dist/esm/api/types/RefundId.d.mts +0 -3
- package/dist/esm/api/types/RefundId.mjs +1 -3
- package/dist/esm/api/types/RemitEmail.d.mts +0 -3
- package/dist/esm/api/types/RemitEmail.mjs +1 -3
- package/dist/esm/api/types/Remitaddress1.d.mts +0 -3
- package/dist/esm/api/types/Remitaddress1.mjs +1 -3
- package/dist/esm/api/types/Remitaddress2.d.mts +0 -3
- package/dist/esm/api/types/Remitaddress2.mjs +1 -3
- package/dist/esm/api/types/Remitcity.d.mts +0 -3
- package/dist/esm/api/types/Remitcity.mjs +1 -3
- package/dist/esm/api/types/Remitcountry.d.mts +0 -3
- package/dist/esm/api/types/Remitcountry.mjs +1 -3
- package/dist/esm/api/types/Remitstate.d.mts +0 -3
- package/dist/esm/api/types/Remitstate.mjs +1 -3
- package/dist/esm/api/types/Remitzip.d.mts +0 -3
- package/dist/esm/api/types/Remitzip.mjs +1 -3
- package/dist/esm/api/types/RepCode.d.mts +0 -3
- package/dist/esm/api/types/RepCode.mjs +1 -3
- package/dist/esm/api/types/RepName.d.mts +0 -3
- package/dist/esm/api/types/RepName.mjs +1 -3
- package/dist/esm/api/types/RepOffice.d.mts +0 -3
- package/dist/esm/api/types/RepOffice.mjs +1 -3
- package/dist/esm/api/types/ReplyToEmail.d.mts +0 -3
- package/dist/esm/api/types/ReplyToEmail.mjs +1 -3
- package/dist/esm/api/types/Replyby.d.mts +0 -3
- package/dist/esm/api/types/Replyby.mjs +1 -3
- package/dist/esm/api/types/RequiredElement.d.mts +0 -3
- package/dist/esm/api/types/RequiredElement.mjs +1 -3
- package/dist/esm/api/types/ResponseText.d.mts +0 -3
- package/dist/esm/api/types/ResponseText.mjs +1 -3
- package/dist/esm/api/types/Responsecode.d.mts +0 -3
- package/dist/esm/api/types/Responsecode.mjs +1 -3
- package/dist/esm/api/types/Responsedata.d.mts +0 -3
- package/dist/esm/api/types/Responsedata.mjs +1 -3
- package/dist/esm/api/types/Responsedatanonobject.d.mts +0 -3
- package/dist/esm/api/types/Responsedatanonobject.mjs +1 -3
- package/dist/esm/api/types/ResultCode.d.mts +0 -3
- package/dist/esm/api/types/ResultCode.mjs +1 -3
- package/dist/esm/api/types/Resulttext.d.mts +0 -3
- package/dist/esm/api/types/Resulttext.mjs +1 -3
- package/dist/esm/api/types/Resumable.d.mts +0 -3
- package/dist/esm/api/types/Resumable.mjs +1 -3
- package/dist/esm/api/types/RetrievalId.d.mts +0 -3
- package/dist/esm/api/types/RetrievalId.mjs +1 -3
- package/dist/esm/api/types/ReturnedId.d.mts +0 -3
- package/dist/esm/api/types/ReturnedId.mjs +1 -3
- package/dist/esm/api/types/RiskAction.d.mts +0 -3
- package/dist/esm/api/types/RiskAction.mjs +1 -3
- package/dist/esm/api/types/RiskActionCode.d.mts +0 -3
- package/dist/esm/api/types/RiskActionCode.mjs +1 -3
- package/dist/esm/api/types/RiskFlagged.d.mts +0 -3
- package/dist/esm/api/types/RiskFlagged.mjs +1 -3
- package/dist/esm/api/types/RiskFlaggedOn.d.mts +0 -3
- package/dist/esm/api/types/RiskFlaggedOn.mjs +1 -3
- package/dist/esm/api/types/RiskReason.d.mts +0 -3
- package/dist/esm/api/types/RiskReason.mjs +1 -3
- package/dist/esm/api/types/RiskStatus.d.mts +0 -3
- package/dist/esm/api/types/RiskStatus.mjs +1 -3
- package/dist/esm/api/types/RoomIdNotInUse.d.mts +0 -3
- package/dist/esm/api/types/RoomIdNotInUse.mjs +1 -3
- package/dist/esm/api/types/RoutingAccount.d.mts +0 -3
- package/dist/esm/api/types/RoutingAccount.mjs +1 -3
- package/dist/esm/api/types/SSection.d.mts +1 -4
- package/dist/esm/api/types/SSection.mjs +1 -3
- package/dist/esm/api/types/SalesCode.d.mts +0 -3
- package/dist/esm/api/types/SalesCode.mjs +1 -3
- package/dist/esm/api/types/SalesSection.d.mts +1 -4
- package/dist/esm/api/types/SalesSection.mjs +1 -3
- package/dist/esm/api/types/SaveIfSuccess.d.mts +0 -3
- package/dist/esm/api/types/SaveIfSuccess.mjs +1 -3
- package/dist/esm/api/types/ScheduleDetail.d.mts +1 -4
- package/dist/esm/api/types/ScheduleDetail.mjs +1 -3
- package/dist/esm/api/types/ScheduleId.d.mts +0 -3
- package/dist/esm/api/types/ScheduleId.mjs +1 -3
- package/dist/esm/api/types/Sequence.d.mts +0 -3
- package/dist/esm/api/types/Sequence.mjs +1 -3
- package/dist/esm/api/types/ServiceCost.d.mts +1 -4
- package/dist/esm/api/types/ServiceCost.mjs +1 -3
- package/dist/esm/api/types/Services.d.mts +1 -4
- package/dist/esm/api/types/Services.mjs +1 -3
- package/dist/esm/api/types/ServicesSection.d.mts +1 -4
- package/dist/esm/api/types/ServicesSection.mjs +1 -3
- package/dist/esm/api/types/SettingElement.d.mts +1 -4
- package/dist/esm/api/types/SettingElement.mjs +1 -3
- package/dist/esm/api/types/SettingsQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/SettingsQueryRecord.mjs +1 -3
- package/dist/esm/api/types/SettlementStatus.d.mts +0 -3
- package/dist/esm/api/types/SettlementStatus.mjs +1 -3
- package/dist/esm/api/types/SettlementStatusPayout.d.mts +0 -3
- package/dist/esm/api/types/SettlementStatusPayout.mjs +1 -3
- package/dist/esm/api/types/ShippingFromZip.d.mts +0 -3
- package/dist/esm/api/types/ShippingFromZip.mjs +1 -3
- package/dist/esm/api/types/Shippingaddress.d.mts +0 -3
- package/dist/esm/api/types/Shippingaddress.mjs +1 -3
- package/dist/esm/api/types/Shippingaddressadditional.d.mts +0 -3
- package/dist/esm/api/types/Shippingaddressadditional.mjs +1 -3
- package/dist/esm/api/types/Shippingcity.d.mts +0 -3
- package/dist/esm/api/types/Shippingcity.mjs +1 -3
- package/dist/esm/api/types/Shippingcountry.d.mts +0 -3
- package/dist/esm/api/types/Shippingcountry.mjs +1 -3
- package/dist/esm/api/types/Shippingstate.d.mts +0 -3
- package/dist/esm/api/types/Shippingstate.mjs +1 -3
- package/dist/esm/api/types/Shippingzip.d.mts +0 -3
- package/dist/esm/api/types/Shippingzip.mjs +1 -3
- package/dist/esm/api/types/SignDate.d.mts +0 -3
- package/dist/esm/api/types/SignDate.mjs +1 -3
- package/dist/esm/api/types/Signaturedata.d.mts +0 -3
- package/dist/esm/api/types/Signaturedata.mjs +1 -3
- package/dist/esm/api/types/SignedDocumentReference.d.mts +0 -3
- package/dist/esm/api/types/SignedDocumentReference.mjs +1 -3
- package/dist/esm/api/types/SignerAcceptance.d.mts +0 -3
- package/dist/esm/api/types/SignerAcceptance.mjs +1 -3
- package/dist/esm/api/types/SignerAddress1.d.mts +0 -3
- package/dist/esm/api/types/SignerAddress1.mjs +1 -3
- package/dist/esm/api/types/SignerCity.d.mts +0 -3
- package/dist/esm/api/types/SignerCity.mjs +1 -3
- package/dist/esm/api/types/SignerCountry.d.mts +0 -3
- package/dist/esm/api/types/SignerCountry.mjs +1 -3
- package/dist/esm/api/types/SignerData.d.mts +1 -4
- package/dist/esm/api/types/SignerData.mjs +1 -3
- package/dist/esm/api/types/SignerDataRequest.d.mts +1 -4
- package/dist/esm/api/types/SignerDataRequest.mjs +1 -3
- package/dist/esm/api/types/SignerDob.d.mts +0 -3
- package/dist/esm/api/types/SignerDob.mjs +1 -3
- package/dist/esm/api/types/SignerName.d.mts +0 -3
- package/dist/esm/api/types/SignerName.mjs +1 -3
- package/dist/esm/api/types/SignerPhone.d.mts +0 -3
- package/dist/esm/api/types/SignerPhone.mjs +1 -3
- package/dist/esm/api/types/SignerSection.d.mts +1 -4
- package/dist/esm/api/types/SignerSection.mjs +1 -3
- package/dist/esm/api/types/SignerSsn.d.mts +0 -3
- package/dist/esm/api/types/SignerSsn.mjs +1 -3
- package/dist/esm/api/types/SignerState.d.mts +0 -3
- package/dist/esm/api/types/SignerState.mjs +1 -3
- package/dist/esm/api/types/SignerZip.d.mts +0 -3
- package/dist/esm/api/types/SignerZip.mjs +1 -3
- package/dist/esm/api/types/Signeraddress.d.mts +0 -3
- package/dist/esm/api/types/Signeraddress.mjs +1 -3
- package/dist/esm/api/types/Source.d.mts +0 -3
- package/dist/esm/api/types/Source.mjs +1 -3
- package/dist/esm/api/types/SplitFunding.d.mts +1 -4
- package/dist/esm/api/types/SplitFunding.mjs +1 -3
- package/dist/esm/api/types/SplitFundingContent.d.mts +0 -3
- package/dist/esm/api/types/SplitFundingContent.mjs +1 -3
- package/dist/esm/api/types/SplitFundingRefundContent.d.mts +0 -3
- package/dist/esm/api/types/SplitFundingRefundContent.mjs +1 -3
- package/dist/esm/api/types/StateNullable.d.mts +0 -3
- package/dist/esm/api/types/StateNullable.mjs +1 -3
- package/dist/esm/api/types/Statusnotification.d.mts +0 -3
- package/dist/esm/api/types/Statusnotification.mjs +1 -3
- package/dist/esm/api/types/StoredMethodUsageType.d.mts +0 -3
- package/dist/esm/api/types/StoredMethodUsageType.mjs +1 -3
- package/dist/esm/api/types/Storedmethodid.d.mts +0 -3
- package/dist/esm/api/types/Storedmethodid.mjs +1 -3
- package/dist/esm/api/types/SubFooter.d.mts +0 -3
- package/dist/esm/api/types/SubFooter.mjs +1 -3
- package/dist/esm/api/types/SubHeader.d.mts +0 -3
- package/dist/esm/api/types/SubHeader.mjs +1 -3
- package/dist/esm/api/types/Subdomain.d.mts +0 -3
- package/dist/esm/api/types/Subdomain.mjs +1 -3
- package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +1 -4
- package/dist/esm/api/types/SubscriptionQueryRecords.mjs +1 -3
- package/dist/esm/api/types/Subscriptionid.d.mts +0 -3
- package/dist/esm/api/types/Subscriptionid.mjs +1 -3
- package/dist/esm/api/types/SummaryCommodityCode.d.mts +0 -3
- package/dist/esm/api/types/SummaryCommodityCode.mjs +1 -3
- package/dist/esm/api/types/SummaryOrg.d.mts +0 -3
- package/dist/esm/api/types/SummaryOrg.mjs +1 -3
- package/dist/esm/api/types/Target.d.mts +0 -3
- package/dist/esm/api/types/Target.mjs +1 -3
- package/dist/esm/api/types/Tax.d.mts +0 -3
- package/dist/esm/api/types/Tax.mjs +1 -3
- package/dist/esm/api/types/Taxfillname.d.mts +0 -3
- package/dist/esm/api/types/Taxfillname.mjs +1 -3
- package/dist/esm/api/types/TemplateAdditionalDataField.d.mts +1 -4
- package/dist/esm/api/types/TemplateAdditionalDataField.mjs +1 -3
- package/dist/esm/api/types/TemplateAdditionalDataSection.d.mts +1 -4
- package/dist/esm/api/types/TemplateAdditionalDataSection.mjs +1 -3
- package/dist/esm/api/types/TemplateCode.d.mts +0 -3
- package/dist/esm/api/types/TemplateCode.mjs +1 -3
- package/dist/esm/api/types/TemplateContent.d.mts +1 -4
- package/dist/esm/api/types/TemplateContent.mjs +1 -3
- package/dist/esm/api/types/TemplateContentResponse.d.mts +1 -4
- package/dist/esm/api/types/TemplateContentResponse.mjs +1 -3
- package/dist/esm/api/types/TemplateData.d.mts +1 -4
- package/dist/esm/api/types/TemplateData.mjs +1 -3
- package/dist/esm/api/types/TemplateElement.d.mts +1 -4
- package/dist/esm/api/types/TemplateElement.mjs +1 -3
- package/dist/esm/api/types/TemplateId.d.mts +0 -3
- package/dist/esm/api/types/TemplateId.mjs +1 -3
- package/dist/esm/api/types/TemplateName.d.mts +0 -3
- package/dist/esm/api/types/TemplateName.mjs +1 -3
- package/dist/esm/api/types/TemplateQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/TemplateQueryRecord.mjs +1 -3
- package/dist/esm/api/types/TemplateQueryResponse.d.mts +1 -4
- package/dist/esm/api/types/TemplateQueryResponse.mjs +1 -3
- package/dist/esm/api/types/Terms.d.mts +0 -3
- package/dist/esm/api/types/Terms.mjs +1 -3
- package/dist/esm/api/types/TermsConditions.d.mts +0 -3
- package/dist/esm/api/types/TermsConditions.mjs +1 -3
- package/dist/esm/api/types/Ticketamt.d.mts +0 -3
- package/dist/esm/api/types/Ticketamt.mjs +1 -3
- package/dist/esm/api/types/TierItem.d.mts +0 -3
- package/dist/esm/api/types/TierItem.mjs +1 -3
- package/dist/esm/api/types/TierItemPass.d.mts +0 -3
- package/dist/esm/api/types/TierItemPass.mjs +1 -3
- package/dist/esm/api/types/Timezone.d.mts +0 -3
- package/dist/esm/api/types/Timezone.mjs +1 -3
- package/dist/esm/api/types/Totalpages.d.mts +0 -3
- package/dist/esm/api/types/Totalpages.mjs +1 -3
- package/dist/esm/api/types/Totalrecords.d.mts +0 -3
- package/dist/esm/api/types/Totalrecords.mjs +1 -3
- package/dist/esm/api/types/TransStatus.d.mts +0 -3
- package/dist/esm/api/types/TransStatus.mjs +1 -3
- package/dist/esm/api/types/TransactionOutQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/TransactionOutQueryRecord.mjs +1 -3
- package/dist/esm/api/types/TransactionQueryRecords.d.mts +1 -4
- package/dist/esm/api/types/TransactionQueryRecords.mjs +1 -3
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +60 -0
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.mjs +2 -0
- package/dist/esm/api/types/TransactionTime.d.mts +0 -3
- package/dist/esm/api/types/TransactionTime.mjs +1 -3
- package/dist/esm/api/types/Transfer.d.mts +4 -6
- package/dist/esm/api/types/Transfer.mjs +1 -3
- package/dist/esm/api/types/TransferBankAccount.d.mts +1 -4
- package/dist/esm/api/types/TransferBankAccount.mjs +1 -3
- package/dist/esm/api/types/TransferIdentifier.d.mts +0 -3
- package/dist/esm/api/types/TransferIdentifier.mjs +1 -3
- package/dist/esm/api/types/TransferMessage.d.mts +1 -4
- package/dist/esm/api/types/TransferMessage.mjs +1 -3
- package/dist/esm/api/types/TransferMessageProperties.d.mts +0 -3
- package/dist/esm/api/types/TransferMessageProperties.mjs +1 -3
- package/dist/esm/api/types/TransferQueryResponse.d.mts +2 -6
- package/dist/esm/api/types/TransferQueryResponse.mjs +1 -3
- package/dist/esm/api/types/TransferSummary.d.mts +1 -4
- package/dist/esm/api/types/TransferSummary.mjs +1 -3
- package/dist/esm/api/types/TypeAccount.d.mts +2 -7
- package/dist/esm/api/types/TypeAccount.mjs +2 -3
- package/dist/esm/api/types/UnderWritingMethod.d.mts +1 -4
- package/dist/esm/api/types/UnderWritingMethod.mjs +5 -1
- package/dist/esm/api/types/UnderwritingData.d.mts +1 -4
- package/dist/esm/api/types/UnderwritingData.mjs +1 -3
- package/dist/esm/api/types/UnderwritingDataResponse.d.mts +1 -4
- package/dist/esm/api/types/UnderwritingDataResponse.mjs +1 -3
- package/dist/esm/api/types/UserData.d.mts +1 -4
- package/dist/esm/api/types/UserData.mjs +1 -3
- package/dist/esm/api/types/UserQueryRecord.d.mts +1 -4
- package/dist/esm/api/types/UserQueryRecord.mjs +1 -3
- package/dist/esm/api/types/UsrAccess.d.mts +0 -3
- package/dist/esm/api/types/UsrAccess.mjs +1 -3
- package/dist/esm/api/types/UsrStatus.d.mts +0 -3
- package/dist/esm/api/types/UsrStatus.mjs +1 -3
- package/dist/esm/api/types/VCardQueryResponse.d.mts +1 -4
- package/dist/esm/api/types/VCardQueryResponse.mjs +1 -3
- package/dist/esm/api/types/VCardRecord.d.mts +1 -4
- package/dist/esm/api/types/VCardRecord.mjs +1 -3
- package/dist/esm/api/types/VCardSummary.d.mts +1 -4
- package/dist/esm/api/types/VCardSummary.mjs +1 -3
- package/dist/esm/api/types/ValueTemplates.d.mts +0 -3
- package/dist/esm/api/types/ValueTemplates.mjs +1 -3
- package/dist/esm/api/types/VendorCheckNumber.d.mts +0 -3
- package/dist/esm/api/types/VendorCheckNumber.mjs +1 -3
- package/dist/esm/api/types/VendorData.d.mts +1 -4
- package/dist/esm/api/types/VendorData.mjs +1 -3
- package/dist/esm/api/types/VendorDataResponse.d.mts +3 -11
- package/dist/esm/api/types/VendorDataResponse.mjs +2 -3
- package/dist/esm/api/types/VendorEin.d.mts +0 -3
- package/dist/esm/api/types/VendorEin.mjs +1 -3
- package/dist/esm/api/types/VendorName1.d.mts +0 -3
- package/dist/esm/api/types/VendorName1.mjs +1 -3
- package/dist/esm/api/types/VendorName2.d.mts +0 -3
- package/dist/esm/api/types/VendorName2.mjs +1 -3
- package/dist/esm/api/types/VendorNumber.d.mts +0 -3
- package/dist/esm/api/types/VendorNumber.mjs +1 -3
- package/dist/esm/api/types/VendorOutData.d.mts +1 -4
- package/dist/esm/api/types/VendorOutData.mjs +1 -3
- package/dist/esm/api/types/VendorPaymentMethod.d.mts +0 -3
- package/dist/esm/api/types/VendorPaymentMethod.mjs +1 -3
- package/dist/esm/api/types/VendorPaymentMethodString.d.mts +0 -3
- package/dist/esm/api/types/VendorPaymentMethodString.mjs +1 -3
- package/dist/esm/api/types/VendorPhone.d.mts +0 -3
- package/dist/esm/api/types/VendorPhone.mjs +1 -3
- package/dist/esm/api/types/VendorQueryRecord.d.mts +1 -8
- package/dist/esm/api/types/VendorQueryRecord.mjs +1 -3
- package/dist/esm/api/types/VendorResponseBillingData.d.mts +0 -3
- package/dist/esm/api/types/VendorResponseBillingData.mjs +1 -3
- package/dist/esm/api/types/VendorResponseStoredMethod.d.mts +0 -3
- package/dist/esm/api/types/VendorResponseStoredMethod.mjs +1 -3
- package/dist/esm/api/types/VendorResponseSummary.d.mts +0 -3
- package/dist/esm/api/types/VendorResponseSummary.mjs +1 -3
- package/dist/esm/api/types/VendorSummary.d.mts +0 -3
- package/dist/esm/api/types/VendorSummary.mjs +1 -3
- package/dist/esm/api/types/Vendorid.d.mts +0 -3
- package/dist/esm/api/types/Vendorid.mjs +1 -3
- package/dist/esm/api/types/Vendorstatus.d.mts +0 -3
- package/dist/esm/api/types/Vendorstatus.mjs +1 -3
- package/dist/esm/api/types/Visible.d.mts +0 -3
- package/dist/esm/api/types/Visible.mjs +1 -3
- package/dist/esm/api/types/WalletCascade.d.mts +0 -3
- package/dist/esm/api/types/WalletCascade.mjs +1 -3
- package/dist/esm/api/types/WalletIsEnabled.d.mts +0 -3
- package/dist/esm/api/types/WalletIsEnabled.mjs +1 -3
- package/dist/esm/api/types/Website.d.mts +0 -3
- package/dist/esm/api/types/Website.mjs +1 -3
- package/dist/esm/api/types/Whencharged.d.mts +2 -7
- package/dist/esm/api/types/Whencharged.mjs +2 -3
- package/dist/esm/api/types/Whendelivered.d.mts +2 -7
- package/dist/esm/api/types/Whendelivered.mjs +2 -3
- package/dist/esm/api/types/Whenprovided.d.mts +2 -7
- package/dist/esm/api/types/Whenprovided.mjs +2 -3
- package/dist/esm/api/types/Whenrefunded.d.mts +2 -7
- package/dist/esm/api/types/Whenrefunded.mjs +2 -3
- package/dist/esm/api/types/Zip.d.mts +0 -3
- package/dist/esm/api/types/Zip.mjs +1 -3
- package/dist/esm/api/types/index.d.mts +63 -61
- package/dist/esm/api/types/index.mjs +63 -61
- package/dist/esm/auth/HeaderAuthProvider.d.mts +14 -0
- package/dist/esm/auth/HeaderAuthProvider.mjs +34 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
- package/dist/esm/core/auth/AuthProvider.mjs +1 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +24 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +3 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/exports.d.mts +1 -0
- package/dist/esm/core/exports.mjs +1 -0
- package/dist/esm/core/fetcher/APIResponse.d.mts +1 -1
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +6 -7
- package/dist/esm/core/fetcher/EndpointMetadata.d.mts +13 -0
- package/dist/esm/core/fetcher/EndpointMetadata.mjs +1 -0
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +12 -0
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +19 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +14 -5
- package/dist/esm/core/fetcher/Fetcher.mjs +207 -11
- package/dist/esm/core/fetcher/HttpResponsePromise.d.mts +1 -1
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
- package/dist/esm/core/fetcher/getRequestBody.d.mts +1 -1
- package/dist/esm/core/fetcher/getRequestBody.mjs +4 -0
- package/dist/esm/core/fetcher/getResponseBody.mjs +21 -7
- package/dist/esm/core/fetcher/index.d.mts +2 -0
- package/dist/esm/core/fetcher/index.mjs +1 -0
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +2 -4
- package/dist/esm/core/fetcher/requestWithRetries.mjs +16 -21
- package/dist/esm/core/fetcher/signals.d.mts +1 -7
- package/dist/esm/core/fetcher/signals.mjs +0 -12
- package/dist/esm/core/file/exports.d.mts +1 -1
- package/dist/esm/core/file/file.d.mts +6 -1
- package/dist/esm/core/file/file.mjs +24 -7
- package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +2 -3
- package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +59 -82
- package/dist/esm/core/headers.d.mts +2 -3
- package/dist/esm/core/headers.mjs +6 -4
- package/dist/esm/core/index.d.mts +5 -2
- package/dist/esm/core/index.mjs +5 -2
- package/dist/esm/core/logging/exports.d.mts +18 -0
- package/dist/esm/core/logging/exports.mjs +9 -0
- package/dist/esm/core/logging/index.d.mts +1 -0
- package/dist/esm/core/logging/index.mjs +1 -0
- package/dist/esm/core/logging/logger.d.mts +126 -0
- package/dist/esm/core/logging/logger.mjs +138 -0
- package/dist/esm/core/runtime/runtime.mjs +11 -10
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +1 -0
- package/dist/esm/core/url/index.mjs +1 -0
- package/dist/esm/core/url/join.mjs +3 -4
- package/dist/esm/environments.d.mts +0 -3
- package/dist/esm/environments.mjs +1 -3
- package/dist/esm/errors/PayabliError.d.mts +1 -4
- package/dist/esm/errors/PayabliError.mjs +2 -4
- package/dist/esm/errors/PayabliTimeoutError.d.mts +0 -3
- package/dist/esm/errors/PayabliTimeoutError.mjs +1 -3
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
- package/dist/esm/index.d.mts +2 -1
- package/dist/esm/index.mjs +1 -1
- package/package.json +20 -19
- package/reference.md +2360 -2274
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/cjs/version.d.ts +0 -1
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
- package/dist/esm/version.d.mts +0 -1
- package/dist/esm/version.mjs +0 -1
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
5
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45,16 +43,18 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
45
43
|
});
|
|
46
44
|
};
|
|
47
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.
|
|
49
|
-
const
|
|
46
|
+
exports.ExportClient = void 0;
|
|
47
|
+
const BaseClient_js_1 = require("../../../../BaseClient.js");
|
|
48
|
+
const headers_js_1 = require("../../../../core/headers.js");
|
|
50
49
|
const core = __importStar(require("../../../../core/index.js"));
|
|
51
|
-
const Payabli = __importStar(require("../../../index.js"));
|
|
52
50
|
const json_js_1 = require("../../../../core/json.js");
|
|
53
|
-
const
|
|
51
|
+
const environments = __importStar(require("../../../../environments.js"));
|
|
52
|
+
const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatusCodeError.js");
|
|
54
53
|
const errors = __importStar(require("../../../../errors/index.js"));
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
const Payabli = __importStar(require("../../../index.js"));
|
|
55
|
+
class ExportClient {
|
|
56
|
+
constructor(options = {}) {
|
|
57
|
+
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Export a list of boarding applications for an organization. Use filters to limit results.
|
|
@@ -62,7 +62,7 @@ class Export {
|
|
|
62
62
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
63
63
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
64
64
|
* @param {Payabli.ExportApplicationsRequest} request
|
|
65
|
-
* @param {
|
|
65
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link Payabli.BadRequestError}
|
|
68
68
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -81,30 +81,33 @@ class Export {
|
|
|
81
81
|
}
|
|
82
82
|
__exportApplications(format_1, orgId_1) {
|
|
83
83
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
84
|
-
var _a, _b, _c;
|
|
84
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
85
85
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
86
86
|
const _queryParams = {};
|
|
87
87
|
if (columnsExport != null) {
|
|
88
|
-
_queryParams
|
|
88
|
+
_queryParams.columnsExport = columnsExport;
|
|
89
89
|
}
|
|
90
90
|
if (fromRecord != null) {
|
|
91
|
-
_queryParams
|
|
91
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
92
92
|
}
|
|
93
93
|
if (limitRecord != null) {
|
|
94
|
-
_queryParams
|
|
94
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
95
95
|
}
|
|
96
96
|
if (parameters != null) {
|
|
97
|
-
_queryParams
|
|
97
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
100
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
100
101
|
const _response = yield core.fetcher({
|
|
101
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/boarding/${
|
|
102
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/boarding/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
|
|
102
103
|
method: "GET",
|
|
103
104
|
headers: _headers,
|
|
104
105
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
105
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
106
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
107
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
107
108
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
109
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
110
|
+
logging: this._options.logging,
|
|
108
111
|
});
|
|
109
112
|
if (_response.ok) {
|
|
110
113
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -127,28 +130,16 @@ class Export {
|
|
|
127
130
|
});
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
|
-
|
|
131
|
-
case "non-json":
|
|
132
|
-
throw new errors.PayabliError({
|
|
133
|
-
statusCode: _response.error.statusCode,
|
|
134
|
-
body: _response.error.rawBody,
|
|
135
|
-
rawResponse: _response.rawResponse,
|
|
136
|
-
});
|
|
137
|
-
case "timeout":
|
|
138
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/boarding/{format}/{orgId}.");
|
|
139
|
-
case "unknown":
|
|
140
|
-
throw new errors.PayabliError({
|
|
141
|
-
message: _response.error.errorMessage,
|
|
142
|
-
rawResponse: _response.rawResponse,
|
|
143
|
-
});
|
|
144
|
-
}
|
|
133
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/boarding/{format}/{orgId}");
|
|
145
134
|
});
|
|
146
135
|
}
|
|
147
136
|
/**
|
|
148
|
-
*
|
|
137
|
+
* This endpoint is deprecated. Export batch details for a paypoint. Use filters to limit results.
|
|
138
|
+
*
|
|
149
139
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
140
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
150
141
|
* @param {Payabli.ExportBatchDetailsRequest} request
|
|
151
|
-
* @param {
|
|
142
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
152
143
|
*
|
|
153
144
|
* @throws {@link Payabli.BadRequestError}
|
|
154
145
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -156,41 +147,44 @@ class Export {
|
|
|
156
147
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
157
148
|
*
|
|
158
149
|
* @example
|
|
159
|
-
* await client.export.exportBatchDetails("
|
|
150
|
+
* await client.export.exportBatchDetails("csv", "8cfec329267", {
|
|
160
151
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
161
152
|
* fromRecord: 251,
|
|
162
153
|
* limitRecord: 1000
|
|
163
154
|
* })
|
|
164
155
|
*/
|
|
165
|
-
exportBatchDetails(
|
|
166
|
-
return core.HttpResponsePromise.fromPromise(this.__exportBatchDetails(
|
|
156
|
+
exportBatchDetails(format, entry, request = {}, requestOptions) {
|
|
157
|
+
return core.HttpResponsePromise.fromPromise(this.__exportBatchDetails(format, entry, request, requestOptions));
|
|
167
158
|
}
|
|
168
|
-
__exportBatchDetails(
|
|
169
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
170
|
-
var _a, _b, _c;
|
|
159
|
+
__exportBatchDetails(format_1, entry_1) {
|
|
160
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
161
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
171
162
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
172
163
|
const _queryParams = {};
|
|
173
164
|
if (columnsExport != null) {
|
|
174
|
-
_queryParams
|
|
165
|
+
_queryParams.columnsExport = columnsExport;
|
|
175
166
|
}
|
|
176
167
|
if (fromRecord != null) {
|
|
177
|
-
_queryParams
|
|
168
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
178
169
|
}
|
|
179
170
|
if (limitRecord != null) {
|
|
180
|
-
_queryParams
|
|
171
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
181
172
|
}
|
|
182
173
|
if (parameters != null) {
|
|
183
|
-
_queryParams
|
|
174
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
184
175
|
}
|
|
185
|
-
|
|
176
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
177
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
186
178
|
const _response = yield core.fetcher({
|
|
187
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${
|
|
179
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
188
180
|
method: "GET",
|
|
189
181
|
headers: _headers,
|
|
190
182
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
191
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
192
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
183
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
184
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
193
185
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
186
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
187
|
+
logging: this._options.logging,
|
|
194
188
|
});
|
|
195
189
|
if (_response.ok) {
|
|
196
190
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -213,28 +207,16 @@ class Export {
|
|
|
213
207
|
});
|
|
214
208
|
}
|
|
215
209
|
}
|
|
216
|
-
|
|
217
|
-
case "non-json":
|
|
218
|
-
throw new errors.PayabliError({
|
|
219
|
-
statusCode: _response.error.statusCode,
|
|
220
|
-
body: _response.error.rawBody,
|
|
221
|
-
rawResponse: _response.rawResponse,
|
|
222
|
-
});
|
|
223
|
-
case "timeout":
|
|
224
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batchDetails/{format}/{entry}.");
|
|
225
|
-
case "unknown":
|
|
226
|
-
throw new errors.PayabliError({
|
|
227
|
-
message: _response.error.errorMessage,
|
|
228
|
-
rawResponse: _response.rawResponse,
|
|
229
|
-
});
|
|
230
|
-
}
|
|
210
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batchDetails/{format}/{entry}");
|
|
231
211
|
});
|
|
232
212
|
}
|
|
233
213
|
/**
|
|
214
|
+
* This endpoint is deprecated. Export batch details for an organization. Use filters to limit results.
|
|
215
|
+
*
|
|
234
216
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
235
217
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
236
218
|
* @param {Payabli.ExportBatchDetailsOrgRequest} request
|
|
237
|
-
* @param {
|
|
219
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
238
220
|
*
|
|
239
221
|
* @throws {@link Payabli.BadRequestError}
|
|
240
222
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -253,30 +235,33 @@ class Export {
|
|
|
253
235
|
}
|
|
254
236
|
__exportBatchDetailsOrg(format_1, orgId_1) {
|
|
255
237
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
256
|
-
var _a, _b, _c;
|
|
238
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
257
239
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
258
240
|
const _queryParams = {};
|
|
259
241
|
if (columnsExport != null) {
|
|
260
|
-
_queryParams
|
|
242
|
+
_queryParams.columnsExport = columnsExport;
|
|
261
243
|
}
|
|
262
244
|
if (fromRecord != null) {
|
|
263
|
-
_queryParams
|
|
245
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
264
246
|
}
|
|
265
247
|
if (limitRecord != null) {
|
|
266
|
-
_queryParams
|
|
248
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
267
249
|
}
|
|
268
250
|
if (parameters != null) {
|
|
269
|
-
_queryParams
|
|
251
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
270
252
|
}
|
|
271
|
-
|
|
253
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
254
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
272
255
|
const _response = yield core.fetcher({
|
|
273
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${
|
|
256
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchDetails/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
274
257
|
method: "GET",
|
|
275
258
|
headers: _headers,
|
|
276
259
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
277
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
278
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
260
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
261
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
279
262
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
263
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
264
|
+
logging: this._options.logging,
|
|
280
265
|
});
|
|
281
266
|
if (_response.ok) {
|
|
282
267
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -299,30 +284,16 @@ class Export {
|
|
|
299
284
|
});
|
|
300
285
|
}
|
|
301
286
|
}
|
|
302
|
-
|
|
303
|
-
case "non-json":
|
|
304
|
-
throw new errors.PayabliError({
|
|
305
|
-
statusCode: _response.error.statusCode,
|
|
306
|
-
body: _response.error.rawBody,
|
|
307
|
-
rawResponse: _response.rawResponse,
|
|
308
|
-
});
|
|
309
|
-
case "timeout":
|
|
310
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batchDetails/{format}/org/{orgId}.");
|
|
311
|
-
case "unknown":
|
|
312
|
-
throw new errors.PayabliError({
|
|
313
|
-
message: _response.error.errorMessage,
|
|
314
|
-
rawResponse: _response.rawResponse,
|
|
315
|
-
});
|
|
316
|
-
}
|
|
287
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batchDetails/{format}/org/{orgId}");
|
|
317
288
|
});
|
|
318
289
|
}
|
|
319
290
|
/**
|
|
320
291
|
* Export a list of batches for an entrypoint. Use filters to limit results.
|
|
321
292
|
*
|
|
322
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
323
293
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
294
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
324
295
|
* @param {Payabli.ExportBatchesRequest} request
|
|
325
|
-
* @param {
|
|
296
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
326
297
|
*
|
|
327
298
|
* @throws {@link Payabli.BadRequestError}
|
|
328
299
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -330,41 +301,44 @@ class Export {
|
|
|
330
301
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
331
302
|
*
|
|
332
303
|
* @example
|
|
333
|
-
* await client.export.exportBatches("
|
|
304
|
+
* await client.export.exportBatches("csv", "8cfec329267", {
|
|
334
305
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
335
306
|
* fromRecord: 251,
|
|
336
307
|
* limitRecord: 1000
|
|
337
308
|
* })
|
|
338
309
|
*/
|
|
339
|
-
exportBatches(
|
|
340
|
-
return core.HttpResponsePromise.fromPromise(this.__exportBatches(
|
|
310
|
+
exportBatches(format, entry, request = {}, requestOptions) {
|
|
311
|
+
return core.HttpResponsePromise.fromPromise(this.__exportBatches(format, entry, request, requestOptions));
|
|
341
312
|
}
|
|
342
|
-
__exportBatches(
|
|
343
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
344
|
-
var _a, _b, _c;
|
|
313
|
+
__exportBatches(format_1, entry_1) {
|
|
314
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
315
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
345
316
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
346
317
|
const _queryParams = {};
|
|
347
318
|
if (columnsExport != null) {
|
|
348
|
-
_queryParams
|
|
319
|
+
_queryParams.columnsExport = columnsExport;
|
|
349
320
|
}
|
|
350
321
|
if (fromRecord != null) {
|
|
351
|
-
_queryParams
|
|
322
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
352
323
|
}
|
|
353
324
|
if (limitRecord != null) {
|
|
354
|
-
_queryParams
|
|
325
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
355
326
|
}
|
|
356
327
|
if (parameters != null) {
|
|
357
|
-
_queryParams
|
|
328
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
358
329
|
}
|
|
359
|
-
|
|
330
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
331
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
360
332
|
const _response = yield core.fetcher({
|
|
361
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${
|
|
333
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
362
334
|
method: "GET",
|
|
363
335
|
headers: _headers,
|
|
364
336
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
365
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
366
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
337
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
338
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
367
339
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
340
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
341
|
+
logging: this._options.logging,
|
|
368
342
|
});
|
|
369
343
|
if (_response.ok) {
|
|
370
344
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -387,21 +361,7 @@ class Export {
|
|
|
387
361
|
});
|
|
388
362
|
}
|
|
389
363
|
}
|
|
390
|
-
|
|
391
|
-
case "non-json":
|
|
392
|
-
throw new errors.PayabliError({
|
|
393
|
-
statusCode: _response.error.statusCode,
|
|
394
|
-
body: _response.error.rawBody,
|
|
395
|
-
rawResponse: _response.rawResponse,
|
|
396
|
-
});
|
|
397
|
-
case "timeout":
|
|
398
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batches/{format}/{entry}.");
|
|
399
|
-
case "unknown":
|
|
400
|
-
throw new errors.PayabliError({
|
|
401
|
-
message: _response.error.errorMessage,
|
|
402
|
-
rawResponse: _response.rawResponse,
|
|
403
|
-
});
|
|
404
|
-
}
|
|
364
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batches/{format}/{entry}");
|
|
405
365
|
});
|
|
406
366
|
}
|
|
407
367
|
/**
|
|
@@ -410,7 +370,7 @@ class Export {
|
|
|
410
370
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
411
371
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
412
372
|
* @param {Payabli.ExportBatchesOrgRequest} request
|
|
413
|
-
* @param {
|
|
373
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
414
374
|
*
|
|
415
375
|
* @throws {@link Payabli.BadRequestError}
|
|
416
376
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -429,30 +389,33 @@ class Export {
|
|
|
429
389
|
}
|
|
430
390
|
__exportBatchesOrg(format_1, orgId_1) {
|
|
431
391
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
432
|
-
var _a, _b, _c;
|
|
392
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
433
393
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
434
394
|
const _queryParams = {};
|
|
435
395
|
if (columnsExport != null) {
|
|
436
|
-
_queryParams
|
|
396
|
+
_queryParams.columnsExport = columnsExport;
|
|
437
397
|
}
|
|
438
398
|
if (fromRecord != null) {
|
|
439
|
-
_queryParams
|
|
399
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
440
400
|
}
|
|
441
401
|
if (limitRecord != null) {
|
|
442
|
-
_queryParams
|
|
402
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
443
403
|
}
|
|
444
404
|
if (parameters != null) {
|
|
445
|
-
_queryParams
|
|
405
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
446
406
|
}
|
|
447
|
-
|
|
407
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
408
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
448
409
|
const _response = yield core.fetcher({
|
|
449
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${
|
|
410
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batches/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
450
411
|
method: "GET",
|
|
451
412
|
headers: _headers,
|
|
452
413
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
453
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
454
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
414
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
415
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
455
416
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
417
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
418
|
+
logging: this._options.logging,
|
|
456
419
|
});
|
|
457
420
|
if (_response.ok) {
|
|
458
421
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -475,30 +438,16 @@ class Export {
|
|
|
475
438
|
});
|
|
476
439
|
}
|
|
477
440
|
}
|
|
478
|
-
|
|
479
|
-
case "non-json":
|
|
480
|
-
throw new errors.PayabliError({
|
|
481
|
-
statusCode: _response.error.statusCode,
|
|
482
|
-
body: _response.error.rawBody,
|
|
483
|
-
rawResponse: _response.rawResponse,
|
|
484
|
-
});
|
|
485
|
-
case "timeout":
|
|
486
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batches/{format}/org/{orgId}.");
|
|
487
|
-
case "unknown":
|
|
488
|
-
throw new errors.PayabliError({
|
|
489
|
-
message: _response.error.errorMessage,
|
|
490
|
-
rawResponse: _response.rawResponse,
|
|
491
|
-
});
|
|
492
|
-
}
|
|
441
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batches/{format}/org/{orgId}");
|
|
493
442
|
});
|
|
494
443
|
}
|
|
495
444
|
/**
|
|
496
445
|
* Export a list of money out batches for a paypoint. Use filters to limit results.
|
|
497
446
|
*
|
|
498
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
499
447
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
448
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
500
449
|
* @param {Payabli.ExportBatchesOutRequest} request
|
|
501
|
-
* @param {
|
|
450
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
502
451
|
*
|
|
503
452
|
* @throws {@link Payabli.BadRequestError}
|
|
504
453
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -506,41 +455,44 @@ class Export {
|
|
|
506
455
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
507
456
|
*
|
|
508
457
|
* @example
|
|
509
|
-
* await client.export.exportBatchesOut("
|
|
458
|
+
* await client.export.exportBatchesOut("csv", "8cfec329267", {
|
|
510
459
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
511
460
|
* fromRecord: 251,
|
|
512
461
|
* limitRecord: 1000
|
|
513
462
|
* })
|
|
514
463
|
*/
|
|
515
|
-
exportBatchesOut(
|
|
516
|
-
return core.HttpResponsePromise.fromPromise(this.__exportBatchesOut(
|
|
464
|
+
exportBatchesOut(format, entry, request = {}, requestOptions) {
|
|
465
|
+
return core.HttpResponsePromise.fromPromise(this.__exportBatchesOut(format, entry, request, requestOptions));
|
|
517
466
|
}
|
|
518
|
-
__exportBatchesOut(
|
|
519
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
520
|
-
var _a, _b, _c;
|
|
467
|
+
__exportBatchesOut(format_1, entry_1) {
|
|
468
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
469
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
521
470
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
522
471
|
const _queryParams = {};
|
|
523
472
|
if (columnsExport != null) {
|
|
524
|
-
_queryParams
|
|
473
|
+
_queryParams.columnsExport = columnsExport;
|
|
525
474
|
}
|
|
526
475
|
if (fromRecord != null) {
|
|
527
|
-
_queryParams
|
|
476
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
528
477
|
}
|
|
529
478
|
if (limitRecord != null) {
|
|
530
|
-
_queryParams
|
|
479
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
531
480
|
}
|
|
532
481
|
if (parameters != null) {
|
|
533
|
-
_queryParams
|
|
482
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
534
483
|
}
|
|
535
|
-
|
|
484
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
485
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
536
486
|
const _response = yield core.fetcher({
|
|
537
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${
|
|
487
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
538
488
|
method: "GET",
|
|
539
489
|
headers: _headers,
|
|
540
490
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
541
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
542
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
491
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
492
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
543
493
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
494
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
495
|
+
logging: this._options.logging,
|
|
544
496
|
});
|
|
545
497
|
if (_response.ok) {
|
|
546
498
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -563,21 +515,7 @@ class Export {
|
|
|
563
515
|
});
|
|
564
516
|
}
|
|
565
517
|
}
|
|
566
|
-
|
|
567
|
-
case "non-json":
|
|
568
|
-
throw new errors.PayabliError({
|
|
569
|
-
statusCode: _response.error.statusCode,
|
|
570
|
-
body: _response.error.rawBody,
|
|
571
|
-
rawResponse: _response.rawResponse,
|
|
572
|
-
});
|
|
573
|
-
case "timeout":
|
|
574
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batchesOut/{format}/{entry}.");
|
|
575
|
-
case "unknown":
|
|
576
|
-
throw new errors.PayabliError({
|
|
577
|
-
message: _response.error.errorMessage,
|
|
578
|
-
rawResponse: _response.rawResponse,
|
|
579
|
-
});
|
|
580
|
-
}
|
|
518
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batchesOut/{format}/{entry}");
|
|
581
519
|
});
|
|
582
520
|
}
|
|
583
521
|
/**
|
|
@@ -586,7 +524,7 @@ class Export {
|
|
|
586
524
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
587
525
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
588
526
|
* @param {Payabli.ExportBatchesOutOrgRequest} request
|
|
589
|
-
* @param {
|
|
527
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
590
528
|
*
|
|
591
529
|
* @throws {@link Payabli.BadRequestError}
|
|
592
530
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -605,30 +543,33 @@ class Export {
|
|
|
605
543
|
}
|
|
606
544
|
__exportBatchesOutOrg(format_1, orgId_1) {
|
|
607
545
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
608
|
-
var _a, _b, _c;
|
|
546
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
609
547
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
610
548
|
const _queryParams = {};
|
|
611
549
|
if (columnsExport != null) {
|
|
612
|
-
_queryParams
|
|
550
|
+
_queryParams.columnsExport = columnsExport;
|
|
613
551
|
}
|
|
614
552
|
if (fromRecord != null) {
|
|
615
|
-
_queryParams
|
|
553
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
616
554
|
}
|
|
617
555
|
if (limitRecord != null) {
|
|
618
|
-
_queryParams
|
|
556
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
619
557
|
}
|
|
620
558
|
if (parameters != null) {
|
|
621
|
-
_queryParams
|
|
559
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
622
560
|
}
|
|
623
|
-
|
|
561
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
562
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
624
563
|
const _response = yield core.fetcher({
|
|
625
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${
|
|
564
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/batchesOut/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
626
565
|
method: "GET",
|
|
627
566
|
headers: _headers,
|
|
628
567
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
629
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
630
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
568
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
569
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
631
570
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
571
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
572
|
+
logging: this._options.logging,
|
|
632
573
|
});
|
|
633
574
|
if (_response.ok) {
|
|
634
575
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -651,30 +592,16 @@ class Export {
|
|
|
651
592
|
});
|
|
652
593
|
}
|
|
653
594
|
}
|
|
654
|
-
|
|
655
|
-
case "non-json":
|
|
656
|
-
throw new errors.PayabliError({
|
|
657
|
-
statusCode: _response.error.statusCode,
|
|
658
|
-
body: _response.error.rawBody,
|
|
659
|
-
rawResponse: _response.rawResponse,
|
|
660
|
-
});
|
|
661
|
-
case "timeout":
|
|
662
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/batchesOut/{format}/org/{orgId}.");
|
|
663
|
-
case "unknown":
|
|
664
|
-
throw new errors.PayabliError({
|
|
665
|
-
message: _response.error.errorMessage,
|
|
666
|
-
rawResponse: _response.rawResponse,
|
|
667
|
-
});
|
|
668
|
-
}
|
|
595
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/batchesOut/{format}/org/{orgId}");
|
|
669
596
|
});
|
|
670
597
|
}
|
|
671
598
|
/**
|
|
672
599
|
* Export a list of bills for an entrypoint. Use filters to limit results.
|
|
673
600
|
*
|
|
674
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
675
601
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
602
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
676
603
|
* @param {Payabli.ExportBillsRequest} request
|
|
677
|
-
* @param {
|
|
604
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
678
605
|
*
|
|
679
606
|
* @throws {@link Payabli.BadRequestError}
|
|
680
607
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -682,41 +609,44 @@ class Export {
|
|
|
682
609
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
683
610
|
*
|
|
684
611
|
* @example
|
|
685
|
-
* await client.export.exportBills("
|
|
612
|
+
* await client.export.exportBills("csv", "8cfec329267", {
|
|
686
613
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
687
614
|
* fromRecord: 251,
|
|
688
615
|
* limitRecord: 1000
|
|
689
616
|
* })
|
|
690
617
|
*/
|
|
691
|
-
exportBills(
|
|
692
|
-
return core.HttpResponsePromise.fromPromise(this.__exportBills(
|
|
618
|
+
exportBills(format, entry, request = {}, requestOptions) {
|
|
619
|
+
return core.HttpResponsePromise.fromPromise(this.__exportBills(format, entry, request, requestOptions));
|
|
693
620
|
}
|
|
694
|
-
__exportBills(
|
|
695
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
696
|
-
var _a, _b, _c;
|
|
621
|
+
__exportBills(format_1, entry_1) {
|
|
622
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
623
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
697
624
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
698
625
|
const _queryParams = {};
|
|
699
626
|
if (columnsExport != null) {
|
|
700
|
-
_queryParams
|
|
627
|
+
_queryParams.columnsExport = columnsExport;
|
|
701
628
|
}
|
|
702
629
|
if (fromRecord != null) {
|
|
703
|
-
_queryParams
|
|
630
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
704
631
|
}
|
|
705
632
|
if (limitRecord != null) {
|
|
706
|
-
_queryParams
|
|
633
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
707
634
|
}
|
|
708
635
|
if (parameters != null) {
|
|
709
|
-
_queryParams
|
|
636
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
710
637
|
}
|
|
711
|
-
|
|
638
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
639
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
712
640
|
const _response = yield core.fetcher({
|
|
713
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${
|
|
641
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
714
642
|
method: "GET",
|
|
715
643
|
headers: _headers,
|
|
716
644
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
717
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
718
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
645
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
646
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
719
647
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
648
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
649
|
+
logging: this._options.logging,
|
|
720
650
|
});
|
|
721
651
|
if (_response.ok) {
|
|
722
652
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -739,21 +669,7 @@ class Export {
|
|
|
739
669
|
});
|
|
740
670
|
}
|
|
741
671
|
}
|
|
742
|
-
|
|
743
|
-
case "non-json":
|
|
744
|
-
throw new errors.PayabliError({
|
|
745
|
-
statusCode: _response.error.statusCode,
|
|
746
|
-
body: _response.error.rawBody,
|
|
747
|
-
rawResponse: _response.rawResponse,
|
|
748
|
-
});
|
|
749
|
-
case "timeout":
|
|
750
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/bills/{format}/{entry}.");
|
|
751
|
-
case "unknown":
|
|
752
|
-
throw new errors.PayabliError({
|
|
753
|
-
message: _response.error.errorMessage,
|
|
754
|
-
rawResponse: _response.rawResponse,
|
|
755
|
-
});
|
|
756
|
-
}
|
|
672
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/bills/{format}/{entry}");
|
|
757
673
|
});
|
|
758
674
|
}
|
|
759
675
|
/**
|
|
@@ -762,7 +678,7 @@ class Export {
|
|
|
762
678
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
763
679
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
764
680
|
* @param {Payabli.ExportBillsOrgRequest} request
|
|
765
|
-
* @param {
|
|
681
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
766
682
|
*
|
|
767
683
|
* @throws {@link Payabli.BadRequestError}
|
|
768
684
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -781,30 +697,33 @@ class Export {
|
|
|
781
697
|
}
|
|
782
698
|
__exportBillsOrg(format_1, orgId_1) {
|
|
783
699
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
784
|
-
var _a, _b, _c;
|
|
700
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
785
701
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
786
702
|
const _queryParams = {};
|
|
787
703
|
if (columnsExport != null) {
|
|
788
|
-
_queryParams
|
|
704
|
+
_queryParams.columnsExport = columnsExport;
|
|
789
705
|
}
|
|
790
706
|
if (fromRecord != null) {
|
|
791
|
-
_queryParams
|
|
707
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
792
708
|
}
|
|
793
709
|
if (limitRecord != null) {
|
|
794
|
-
_queryParams
|
|
710
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
795
711
|
}
|
|
796
712
|
if (parameters != null) {
|
|
797
|
-
_queryParams
|
|
713
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
798
714
|
}
|
|
799
|
-
|
|
715
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
716
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
800
717
|
const _response = yield core.fetcher({
|
|
801
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${
|
|
718
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/bills/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
802
719
|
method: "GET",
|
|
803
720
|
headers: _headers,
|
|
804
721
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
805
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
806
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
722
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
723
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
807
724
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
725
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
726
|
+
logging: this._options.logging,
|
|
808
727
|
});
|
|
809
728
|
if (_response.ok) {
|
|
810
729
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -827,30 +746,16 @@ class Export {
|
|
|
827
746
|
});
|
|
828
747
|
}
|
|
829
748
|
}
|
|
830
|
-
|
|
831
|
-
case "non-json":
|
|
832
|
-
throw new errors.PayabliError({
|
|
833
|
-
statusCode: _response.error.statusCode,
|
|
834
|
-
body: _response.error.rawBody,
|
|
835
|
-
rawResponse: _response.rawResponse,
|
|
836
|
-
});
|
|
837
|
-
case "timeout":
|
|
838
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/bills/{format}/org/{orgId}.");
|
|
839
|
-
case "unknown":
|
|
840
|
-
throw new errors.PayabliError({
|
|
841
|
-
message: _response.error.errorMessage,
|
|
842
|
-
rawResponse: _response.rawResponse,
|
|
843
|
-
});
|
|
844
|
-
}
|
|
749
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/bills/{format}/org/{orgId}");
|
|
845
750
|
});
|
|
846
751
|
}
|
|
847
752
|
/**
|
|
848
753
|
* Export a list of chargebacks and ACH returns for an entrypoint. Use filters to limit results.
|
|
849
754
|
*
|
|
850
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
851
755
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
756
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
852
757
|
* @param {Payabli.ExportChargebacksRequest} request
|
|
853
|
-
* @param {
|
|
758
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
854
759
|
*
|
|
855
760
|
* @throws {@link Payabli.BadRequestError}
|
|
856
761
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -858,41 +763,44 @@ class Export {
|
|
|
858
763
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
859
764
|
*
|
|
860
765
|
* @example
|
|
861
|
-
* await client.export.exportChargebacks("
|
|
766
|
+
* await client.export.exportChargebacks("csv", "8cfec329267", {
|
|
862
767
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
863
768
|
* fromRecord: 251,
|
|
864
769
|
* limitRecord: 1000
|
|
865
770
|
* })
|
|
866
771
|
*/
|
|
867
|
-
exportChargebacks(
|
|
868
|
-
return core.HttpResponsePromise.fromPromise(this.__exportChargebacks(
|
|
772
|
+
exportChargebacks(format, entry, request = {}, requestOptions) {
|
|
773
|
+
return core.HttpResponsePromise.fromPromise(this.__exportChargebacks(format, entry, request, requestOptions));
|
|
869
774
|
}
|
|
870
|
-
__exportChargebacks(
|
|
871
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
872
|
-
var _a, _b, _c;
|
|
775
|
+
__exportChargebacks(format_1, entry_1) {
|
|
776
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
777
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
873
778
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
874
779
|
const _queryParams = {};
|
|
875
780
|
if (columnsExport != null) {
|
|
876
|
-
_queryParams
|
|
781
|
+
_queryParams.columnsExport = columnsExport;
|
|
877
782
|
}
|
|
878
783
|
if (fromRecord != null) {
|
|
879
|
-
_queryParams
|
|
784
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
880
785
|
}
|
|
881
786
|
if (limitRecord != null) {
|
|
882
|
-
_queryParams
|
|
787
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
883
788
|
}
|
|
884
789
|
if (parameters != null) {
|
|
885
|
-
_queryParams
|
|
790
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
886
791
|
}
|
|
887
|
-
|
|
792
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
793
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
888
794
|
const _response = yield core.fetcher({
|
|
889
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${
|
|
795
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
890
796
|
method: "GET",
|
|
891
797
|
headers: _headers,
|
|
892
798
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
893
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
894
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
799
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
800
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
895
801
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
802
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
803
|
+
logging: this._options.logging,
|
|
896
804
|
});
|
|
897
805
|
if (_response.ok) {
|
|
898
806
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -915,21 +823,7 @@ class Export {
|
|
|
915
823
|
});
|
|
916
824
|
}
|
|
917
825
|
}
|
|
918
|
-
|
|
919
|
-
case "non-json":
|
|
920
|
-
throw new errors.PayabliError({
|
|
921
|
-
statusCode: _response.error.statusCode,
|
|
922
|
-
body: _response.error.rawBody,
|
|
923
|
-
rawResponse: _response.rawResponse,
|
|
924
|
-
});
|
|
925
|
-
case "timeout":
|
|
926
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/chargebacks/{format}/{entry}.");
|
|
927
|
-
case "unknown":
|
|
928
|
-
throw new errors.PayabliError({
|
|
929
|
-
message: _response.error.errorMessage,
|
|
930
|
-
rawResponse: _response.rawResponse,
|
|
931
|
-
});
|
|
932
|
-
}
|
|
826
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/chargebacks/{format}/{entry}");
|
|
933
827
|
});
|
|
934
828
|
}
|
|
935
829
|
/**
|
|
@@ -938,7 +832,7 @@ class Export {
|
|
|
938
832
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
939
833
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
940
834
|
* @param {Payabli.ExportChargebacksOrgRequest} request
|
|
941
|
-
* @param {
|
|
835
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
942
836
|
*
|
|
943
837
|
* @throws {@link Payabli.BadRequestError}
|
|
944
838
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -957,30 +851,33 @@ class Export {
|
|
|
957
851
|
}
|
|
958
852
|
__exportChargebacksOrg(format_1, orgId_1) {
|
|
959
853
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
960
|
-
var _a, _b, _c;
|
|
854
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
961
855
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
962
856
|
const _queryParams = {};
|
|
963
857
|
if (columnsExport != null) {
|
|
964
|
-
_queryParams
|
|
858
|
+
_queryParams.columnsExport = columnsExport;
|
|
965
859
|
}
|
|
966
860
|
if (fromRecord != null) {
|
|
967
|
-
_queryParams
|
|
861
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
968
862
|
}
|
|
969
863
|
if (limitRecord != null) {
|
|
970
|
-
_queryParams
|
|
864
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
971
865
|
}
|
|
972
866
|
if (parameters != null) {
|
|
973
|
-
_queryParams
|
|
867
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
974
868
|
}
|
|
975
|
-
|
|
869
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
870
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
976
871
|
const _response = yield core.fetcher({
|
|
977
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${
|
|
872
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/chargebacks/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
978
873
|
method: "GET",
|
|
979
874
|
headers: _headers,
|
|
980
875
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
981
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
982
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
876
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
877
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
983
878
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
879
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
880
|
+
logging: this._options.logging,
|
|
984
881
|
});
|
|
985
882
|
if (_response.ok) {
|
|
986
883
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1003,30 +900,16 @@ class Export {
|
|
|
1003
900
|
});
|
|
1004
901
|
}
|
|
1005
902
|
}
|
|
1006
|
-
|
|
1007
|
-
case "non-json":
|
|
1008
|
-
throw new errors.PayabliError({
|
|
1009
|
-
statusCode: _response.error.statusCode,
|
|
1010
|
-
body: _response.error.rawBody,
|
|
1011
|
-
rawResponse: _response.rawResponse,
|
|
1012
|
-
});
|
|
1013
|
-
case "timeout":
|
|
1014
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/chargebacks/{format}/org/{orgId}.");
|
|
1015
|
-
case "unknown":
|
|
1016
|
-
throw new errors.PayabliError({
|
|
1017
|
-
message: _response.error.errorMessage,
|
|
1018
|
-
rawResponse: _response.rawResponse,
|
|
1019
|
-
});
|
|
1020
|
-
}
|
|
903
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/chargebacks/{format}/org/{orgId}");
|
|
1021
904
|
});
|
|
1022
905
|
}
|
|
1023
906
|
/**
|
|
1024
907
|
* Export a list of customers for an entrypoint. Use filters to limit results.
|
|
1025
908
|
*
|
|
1026
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1027
909
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
910
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1028
911
|
* @param {Payabli.ExportCustomersRequest} request
|
|
1029
|
-
* @param {
|
|
912
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1030
913
|
*
|
|
1031
914
|
* @throws {@link Payabli.BadRequestError}
|
|
1032
915
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1034,41 +917,44 @@ class Export {
|
|
|
1034
917
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
1035
918
|
*
|
|
1036
919
|
* @example
|
|
1037
|
-
* await client.export.exportCustomers("
|
|
920
|
+
* await client.export.exportCustomers("csv", "8cfec329267", {
|
|
1038
921
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
1039
922
|
* fromRecord: 251,
|
|
1040
923
|
* limitRecord: 1000
|
|
1041
924
|
* })
|
|
1042
925
|
*/
|
|
1043
|
-
exportCustomers(
|
|
1044
|
-
return core.HttpResponsePromise.fromPromise(this.__exportCustomers(
|
|
926
|
+
exportCustomers(format, entry, request = {}, requestOptions) {
|
|
927
|
+
return core.HttpResponsePromise.fromPromise(this.__exportCustomers(format, entry, request, requestOptions));
|
|
1045
928
|
}
|
|
1046
|
-
__exportCustomers(
|
|
1047
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
1048
|
-
var _a, _b, _c;
|
|
929
|
+
__exportCustomers(format_1, entry_1) {
|
|
930
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
931
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1049
932
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1050
933
|
const _queryParams = {};
|
|
1051
934
|
if (columnsExport != null) {
|
|
1052
|
-
_queryParams
|
|
935
|
+
_queryParams.columnsExport = columnsExport;
|
|
1053
936
|
}
|
|
1054
937
|
if (fromRecord != null) {
|
|
1055
|
-
_queryParams
|
|
938
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1056
939
|
}
|
|
1057
940
|
if (limitRecord != null) {
|
|
1058
|
-
_queryParams
|
|
941
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1059
942
|
}
|
|
1060
943
|
if (parameters != null) {
|
|
1061
|
-
_queryParams
|
|
944
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1062
945
|
}
|
|
1063
|
-
|
|
946
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
947
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1064
948
|
const _response = yield core.fetcher({
|
|
1065
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${
|
|
949
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1066
950
|
method: "GET",
|
|
1067
951
|
headers: _headers,
|
|
1068
952
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1069
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1070
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
953
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
954
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1071
955
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
956
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
957
|
+
logging: this._options.logging,
|
|
1072
958
|
});
|
|
1073
959
|
if (_response.ok) {
|
|
1074
960
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1091,21 +977,7 @@ class Export {
|
|
|
1091
977
|
});
|
|
1092
978
|
}
|
|
1093
979
|
}
|
|
1094
|
-
|
|
1095
|
-
case "non-json":
|
|
1096
|
-
throw new errors.PayabliError({
|
|
1097
|
-
statusCode: _response.error.statusCode,
|
|
1098
|
-
body: _response.error.rawBody,
|
|
1099
|
-
rawResponse: _response.rawResponse,
|
|
1100
|
-
});
|
|
1101
|
-
case "timeout":
|
|
1102
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/customers/{format}/{entry}.");
|
|
1103
|
-
case "unknown":
|
|
1104
|
-
throw new errors.PayabliError({
|
|
1105
|
-
message: _response.error.errorMessage,
|
|
1106
|
-
rawResponse: _response.rawResponse,
|
|
1107
|
-
});
|
|
1108
|
-
}
|
|
980
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/customers/{format}/{entry}");
|
|
1109
981
|
});
|
|
1110
982
|
}
|
|
1111
983
|
/**
|
|
@@ -1114,7 +986,7 @@ class Export {
|
|
|
1114
986
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1115
987
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1116
988
|
* @param {Payabli.ExportCustomersOrgRequest} request
|
|
1117
|
-
* @param {
|
|
989
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1118
990
|
*
|
|
1119
991
|
* @throws {@link Payabli.BadRequestError}
|
|
1120
992
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1133,30 +1005,33 @@ class Export {
|
|
|
1133
1005
|
}
|
|
1134
1006
|
__exportCustomersOrg(format_1, orgId_1) {
|
|
1135
1007
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1136
|
-
var _a, _b, _c;
|
|
1008
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1137
1009
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1138
1010
|
const _queryParams = {};
|
|
1139
1011
|
if (columnsExport != null) {
|
|
1140
|
-
_queryParams
|
|
1012
|
+
_queryParams.columnsExport = columnsExport;
|
|
1141
1013
|
}
|
|
1142
1014
|
if (fromRecord != null) {
|
|
1143
|
-
_queryParams
|
|
1015
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1144
1016
|
}
|
|
1145
1017
|
if (limitRecord != null) {
|
|
1146
|
-
_queryParams
|
|
1018
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1147
1019
|
}
|
|
1148
1020
|
if (parameters != null) {
|
|
1149
|
-
_queryParams
|
|
1021
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1150
1022
|
}
|
|
1151
|
-
|
|
1023
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1024
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1152
1025
|
const _response = yield core.fetcher({
|
|
1153
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${
|
|
1026
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/customers/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1154
1027
|
method: "GET",
|
|
1155
1028
|
headers: _headers,
|
|
1156
1029
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1157
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1158
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1030
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1031
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1159
1032
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1033
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1034
|
+
logging: this._options.logging,
|
|
1160
1035
|
});
|
|
1161
1036
|
if (_response.ok) {
|
|
1162
1037
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1179,30 +1054,16 @@ class Export {
|
|
|
1179
1054
|
});
|
|
1180
1055
|
}
|
|
1181
1056
|
}
|
|
1182
|
-
|
|
1183
|
-
case "non-json":
|
|
1184
|
-
throw new errors.PayabliError({
|
|
1185
|
-
statusCode: _response.error.statusCode,
|
|
1186
|
-
body: _response.error.rawBody,
|
|
1187
|
-
rawResponse: _response.rawResponse,
|
|
1188
|
-
});
|
|
1189
|
-
case "timeout":
|
|
1190
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/customers/{format}/org/{orgId}.");
|
|
1191
|
-
case "unknown":
|
|
1192
|
-
throw new errors.PayabliError({
|
|
1193
|
-
message: _response.error.errorMessage,
|
|
1194
|
-
rawResponse: _response.rawResponse,
|
|
1195
|
-
});
|
|
1196
|
-
}
|
|
1057
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/customers/{format}/org/{orgId}");
|
|
1197
1058
|
});
|
|
1198
1059
|
}
|
|
1199
1060
|
/**
|
|
1200
1061
|
* Export list of invoices for an entrypoint. Use filters to limit results.
|
|
1201
1062
|
*
|
|
1202
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1203
1063
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1064
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1204
1065
|
* @param {Payabli.ExportInvoicesRequest} request
|
|
1205
|
-
* @param {
|
|
1066
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1206
1067
|
*
|
|
1207
1068
|
* @throws {@link Payabli.BadRequestError}
|
|
1208
1069
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1210,41 +1071,44 @@ class Export {
|
|
|
1210
1071
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
1211
1072
|
*
|
|
1212
1073
|
* @example
|
|
1213
|
-
* await client.export.exportInvoices("
|
|
1074
|
+
* await client.export.exportInvoices("csv", "8cfec329267", {
|
|
1214
1075
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
1215
1076
|
* fromRecord: 251,
|
|
1216
1077
|
* limitRecord: 1000
|
|
1217
1078
|
* })
|
|
1218
1079
|
*/
|
|
1219
|
-
exportInvoices(
|
|
1220
|
-
return core.HttpResponsePromise.fromPromise(this.__exportInvoices(
|
|
1080
|
+
exportInvoices(format, entry, request = {}, requestOptions) {
|
|
1081
|
+
return core.HttpResponsePromise.fromPromise(this.__exportInvoices(format, entry, request, requestOptions));
|
|
1221
1082
|
}
|
|
1222
|
-
__exportInvoices(
|
|
1223
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
1224
|
-
var _a, _b, _c;
|
|
1083
|
+
__exportInvoices(format_1, entry_1) {
|
|
1084
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
1085
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1225
1086
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1226
1087
|
const _queryParams = {};
|
|
1227
1088
|
if (columnsExport != null) {
|
|
1228
|
-
_queryParams
|
|
1089
|
+
_queryParams.columnsExport = columnsExport;
|
|
1229
1090
|
}
|
|
1230
1091
|
if (fromRecord != null) {
|
|
1231
|
-
_queryParams
|
|
1092
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1232
1093
|
}
|
|
1233
1094
|
if (limitRecord != null) {
|
|
1234
|
-
_queryParams
|
|
1095
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1235
1096
|
}
|
|
1236
1097
|
if (parameters != null) {
|
|
1237
|
-
_queryParams
|
|
1098
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1238
1099
|
}
|
|
1239
|
-
|
|
1100
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1101
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1240
1102
|
const _response = yield core.fetcher({
|
|
1241
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${
|
|
1103
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1242
1104
|
method: "GET",
|
|
1243
1105
|
headers: _headers,
|
|
1244
1106
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1245
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1246
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1107
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1108
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1247
1109
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1110
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1111
|
+
logging: this._options.logging,
|
|
1248
1112
|
});
|
|
1249
1113
|
if (_response.ok) {
|
|
1250
1114
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1267,21 +1131,7 @@ class Export {
|
|
|
1267
1131
|
});
|
|
1268
1132
|
}
|
|
1269
1133
|
}
|
|
1270
|
-
|
|
1271
|
-
case "non-json":
|
|
1272
|
-
throw new errors.PayabliError({
|
|
1273
|
-
statusCode: _response.error.statusCode,
|
|
1274
|
-
body: _response.error.rawBody,
|
|
1275
|
-
rawResponse: _response.rawResponse,
|
|
1276
|
-
});
|
|
1277
|
-
case "timeout":
|
|
1278
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/invoices/{format}/{entry}.");
|
|
1279
|
-
case "unknown":
|
|
1280
|
-
throw new errors.PayabliError({
|
|
1281
|
-
message: _response.error.errorMessage,
|
|
1282
|
-
rawResponse: _response.rawResponse,
|
|
1283
|
-
});
|
|
1284
|
-
}
|
|
1134
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/invoices/{format}/{entry}");
|
|
1285
1135
|
});
|
|
1286
1136
|
}
|
|
1287
1137
|
/**
|
|
@@ -1290,7 +1140,7 @@ class Export {
|
|
|
1290
1140
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1291
1141
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1292
1142
|
* @param {Payabli.ExportInvoicesOrgRequest} request
|
|
1293
|
-
* @param {
|
|
1143
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1294
1144
|
*
|
|
1295
1145
|
* @throws {@link Payabli.BadRequestError}
|
|
1296
1146
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1309,30 +1159,33 @@ class Export {
|
|
|
1309
1159
|
}
|
|
1310
1160
|
__exportInvoicesOrg(format_1, orgId_1) {
|
|
1311
1161
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1312
|
-
var _a, _b, _c;
|
|
1162
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1313
1163
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1314
1164
|
const _queryParams = {};
|
|
1315
1165
|
if (columnsExport != null) {
|
|
1316
|
-
_queryParams
|
|
1166
|
+
_queryParams.columnsExport = columnsExport;
|
|
1317
1167
|
}
|
|
1318
1168
|
if (fromRecord != null) {
|
|
1319
|
-
_queryParams
|
|
1169
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1320
1170
|
}
|
|
1321
1171
|
if (limitRecord != null) {
|
|
1322
|
-
_queryParams
|
|
1172
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1323
1173
|
}
|
|
1324
1174
|
if (parameters != null) {
|
|
1325
|
-
_queryParams
|
|
1175
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1326
1176
|
}
|
|
1327
|
-
|
|
1177
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1178
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1328
1179
|
const _response = yield core.fetcher({
|
|
1329
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${
|
|
1180
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/invoices/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1330
1181
|
method: "GET",
|
|
1331
1182
|
headers: _headers,
|
|
1332
1183
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1333
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1334
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1184
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1185
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1335
1186
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1187
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1188
|
+
logging: this._options.logging,
|
|
1336
1189
|
});
|
|
1337
1190
|
if (_response.ok) {
|
|
1338
1191
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1355,21 +1208,7 @@ class Export {
|
|
|
1355
1208
|
});
|
|
1356
1209
|
}
|
|
1357
1210
|
}
|
|
1358
|
-
|
|
1359
|
-
case "non-json":
|
|
1360
|
-
throw new errors.PayabliError({
|
|
1361
|
-
statusCode: _response.error.statusCode,
|
|
1362
|
-
body: _response.error.rawBody,
|
|
1363
|
-
rawResponse: _response.rawResponse,
|
|
1364
|
-
});
|
|
1365
|
-
case "timeout":
|
|
1366
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/invoices/{format}/org/{orgId}.");
|
|
1367
|
-
case "unknown":
|
|
1368
|
-
throw new errors.PayabliError({
|
|
1369
|
-
message: _response.error.errorMessage,
|
|
1370
|
-
rawResponse: _response.rawResponse,
|
|
1371
|
-
});
|
|
1372
|
-
}
|
|
1211
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/invoices/{format}/org/{orgId}");
|
|
1373
1212
|
});
|
|
1374
1213
|
}
|
|
1375
1214
|
/**
|
|
@@ -1378,7 +1217,7 @@ class Export {
|
|
|
1378
1217
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1379
1218
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1380
1219
|
* @param {Payabli.ExportOrganizationsRequest} request
|
|
1381
|
-
* @param {
|
|
1220
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1382
1221
|
*
|
|
1383
1222
|
* @throws {@link Payabli.BadRequestError}
|
|
1384
1223
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1397,30 +1236,33 @@ class Export {
|
|
|
1397
1236
|
}
|
|
1398
1237
|
__exportOrganizations(format_1, orgId_1) {
|
|
1399
1238
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1400
|
-
var _a, _b, _c;
|
|
1239
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1401
1240
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1402
1241
|
const _queryParams = {};
|
|
1403
1242
|
if (columnsExport != null) {
|
|
1404
|
-
_queryParams
|
|
1243
|
+
_queryParams.columnsExport = columnsExport;
|
|
1405
1244
|
}
|
|
1406
1245
|
if (fromRecord != null) {
|
|
1407
|
-
_queryParams
|
|
1246
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1408
1247
|
}
|
|
1409
1248
|
if (limitRecord != null) {
|
|
1410
|
-
_queryParams
|
|
1249
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1411
1250
|
}
|
|
1412
1251
|
if (parameters != null) {
|
|
1413
|
-
_queryParams
|
|
1252
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1414
1253
|
}
|
|
1415
|
-
|
|
1254
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1255
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1416
1256
|
const _response = yield core.fetcher({
|
|
1417
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/organizations/${
|
|
1257
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/organizations/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1418
1258
|
method: "GET",
|
|
1419
1259
|
headers: _headers,
|
|
1420
1260
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1421
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1422
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1261
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1262
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1423
1263
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1264
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1265
|
+
logging: this._options.logging,
|
|
1424
1266
|
});
|
|
1425
1267
|
if (_response.ok) {
|
|
1426
1268
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1443,30 +1285,16 @@ class Export {
|
|
|
1443
1285
|
});
|
|
1444
1286
|
}
|
|
1445
1287
|
}
|
|
1446
|
-
|
|
1447
|
-
case "non-json":
|
|
1448
|
-
throw new errors.PayabliError({
|
|
1449
|
-
statusCode: _response.error.statusCode,
|
|
1450
|
-
body: _response.error.rawBody,
|
|
1451
|
-
rawResponse: _response.rawResponse,
|
|
1452
|
-
});
|
|
1453
|
-
case "timeout":
|
|
1454
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/organizations/{format}/org/{orgId}.");
|
|
1455
|
-
case "unknown":
|
|
1456
|
-
throw new errors.PayabliError({
|
|
1457
|
-
message: _response.error.errorMessage,
|
|
1458
|
-
rawResponse: _response.rawResponse,
|
|
1459
|
-
});
|
|
1460
|
-
}
|
|
1288
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/organizations/{format}/org/{orgId}");
|
|
1461
1289
|
});
|
|
1462
1290
|
}
|
|
1463
1291
|
/**
|
|
1464
1292
|
* Export a list of payouts and their statuses for an entrypoint. Use filters to limit results.
|
|
1465
1293
|
*
|
|
1466
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1467
1294
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1295
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1468
1296
|
* @param {Payabli.ExportPayoutRequest} request
|
|
1469
|
-
* @param {
|
|
1297
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1470
1298
|
*
|
|
1471
1299
|
* @throws {@link Payabli.BadRequestError}
|
|
1472
1300
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1474,41 +1302,44 @@ class Export {
|
|
|
1474
1302
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
1475
1303
|
*
|
|
1476
1304
|
* @example
|
|
1477
|
-
* await client.export.exportPayout("
|
|
1305
|
+
* await client.export.exportPayout("csv", "8cfec329267", {
|
|
1478
1306
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
1479
1307
|
* fromRecord: 251,
|
|
1480
1308
|
* limitRecord: 1000
|
|
1481
1309
|
* })
|
|
1482
1310
|
*/
|
|
1483
|
-
exportPayout(
|
|
1484
|
-
return core.HttpResponsePromise.fromPromise(this.__exportPayout(
|
|
1311
|
+
exportPayout(format, entry, request = {}, requestOptions) {
|
|
1312
|
+
return core.HttpResponsePromise.fromPromise(this.__exportPayout(format, entry, request, requestOptions));
|
|
1485
1313
|
}
|
|
1486
|
-
__exportPayout(
|
|
1487
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
1488
|
-
var _a, _b, _c;
|
|
1314
|
+
__exportPayout(format_1, entry_1) {
|
|
1315
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
1316
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1489
1317
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1490
1318
|
const _queryParams = {};
|
|
1491
1319
|
if (columnsExport != null) {
|
|
1492
|
-
_queryParams
|
|
1320
|
+
_queryParams.columnsExport = columnsExport;
|
|
1493
1321
|
}
|
|
1494
1322
|
if (fromRecord != null) {
|
|
1495
|
-
_queryParams
|
|
1323
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1496
1324
|
}
|
|
1497
1325
|
if (limitRecord != null) {
|
|
1498
|
-
_queryParams
|
|
1326
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1499
1327
|
}
|
|
1500
1328
|
if (parameters != null) {
|
|
1501
|
-
_queryParams
|
|
1329
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1502
1330
|
}
|
|
1503
|
-
|
|
1331
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1332
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1504
1333
|
const _response = yield core.fetcher({
|
|
1505
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${
|
|
1334
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1506
1335
|
method: "GET",
|
|
1507
1336
|
headers: _headers,
|
|
1508
1337
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1509
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1510
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1338
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1339
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1511
1340
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1341
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1342
|
+
logging: this._options.logging,
|
|
1512
1343
|
});
|
|
1513
1344
|
if (_response.ok) {
|
|
1514
1345
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1531,21 +1362,7 @@ class Export {
|
|
|
1531
1362
|
});
|
|
1532
1363
|
}
|
|
1533
1364
|
}
|
|
1534
|
-
|
|
1535
|
-
case "non-json":
|
|
1536
|
-
throw new errors.PayabliError({
|
|
1537
|
-
statusCode: _response.error.statusCode,
|
|
1538
|
-
body: _response.error.rawBody,
|
|
1539
|
-
rawResponse: _response.rawResponse,
|
|
1540
|
-
});
|
|
1541
|
-
case "timeout":
|
|
1542
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/payouts/{format}/{entry}.");
|
|
1543
|
-
case "unknown":
|
|
1544
|
-
throw new errors.PayabliError({
|
|
1545
|
-
message: _response.error.errorMessage,
|
|
1546
|
-
rawResponse: _response.rawResponse,
|
|
1547
|
-
});
|
|
1548
|
-
}
|
|
1365
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/payouts/{format}/{entry}");
|
|
1549
1366
|
});
|
|
1550
1367
|
}
|
|
1551
1368
|
/**
|
|
@@ -1554,7 +1371,7 @@ class Export {
|
|
|
1554
1371
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1555
1372
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1556
1373
|
* @param {Payabli.ExportPayoutOrgRequest} request
|
|
1557
|
-
* @param {
|
|
1374
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1558
1375
|
*
|
|
1559
1376
|
* @throws {@link Payabli.BadRequestError}
|
|
1560
1377
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1573,30 +1390,33 @@ class Export {
|
|
|
1573
1390
|
}
|
|
1574
1391
|
__exportPayoutOrg(format_1, orgId_1) {
|
|
1575
1392
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1576
|
-
var _a, _b, _c;
|
|
1393
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1577
1394
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1578
1395
|
const _queryParams = {};
|
|
1579
1396
|
if (columnsExport != null) {
|
|
1580
|
-
_queryParams
|
|
1397
|
+
_queryParams.columnsExport = columnsExport;
|
|
1581
1398
|
}
|
|
1582
1399
|
if (fromRecord != null) {
|
|
1583
|
-
_queryParams
|
|
1400
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1584
1401
|
}
|
|
1585
1402
|
if (limitRecord != null) {
|
|
1586
|
-
_queryParams
|
|
1403
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1587
1404
|
}
|
|
1588
1405
|
if (parameters != null) {
|
|
1589
|
-
_queryParams
|
|
1406
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1590
1407
|
}
|
|
1591
|
-
|
|
1408
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1409
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1592
1410
|
const _response = yield core.fetcher({
|
|
1593
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${
|
|
1411
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/payouts/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1594
1412
|
method: "GET",
|
|
1595
1413
|
headers: _headers,
|
|
1596
1414
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1597
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1598
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1415
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1416
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1599
1417
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1418
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1419
|
+
logging: this._options.logging,
|
|
1600
1420
|
});
|
|
1601
1421
|
if (_response.ok) {
|
|
1602
1422
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1619,21 +1439,7 @@ class Export {
|
|
|
1619
1439
|
});
|
|
1620
1440
|
}
|
|
1621
1441
|
}
|
|
1622
|
-
|
|
1623
|
-
case "non-json":
|
|
1624
|
-
throw new errors.PayabliError({
|
|
1625
|
-
statusCode: _response.error.statusCode,
|
|
1626
|
-
body: _response.error.rawBody,
|
|
1627
|
-
rawResponse: _response.rawResponse,
|
|
1628
|
-
});
|
|
1629
|
-
case "timeout":
|
|
1630
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/payouts/{format}/org/{orgId}.");
|
|
1631
|
-
case "unknown":
|
|
1632
|
-
throw new errors.PayabliError({
|
|
1633
|
-
message: _response.error.errorMessage,
|
|
1634
|
-
rawResponse: _response.rawResponse,
|
|
1635
|
-
});
|
|
1636
|
-
}
|
|
1442
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/payouts/{format}/org/{orgId}");
|
|
1637
1443
|
});
|
|
1638
1444
|
}
|
|
1639
1445
|
/**
|
|
@@ -1642,7 +1448,7 @@ class Export {
|
|
|
1642
1448
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1643
1449
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1644
1450
|
* @param {Payabli.ExportPaypointsRequest} request
|
|
1645
|
-
* @param {
|
|
1451
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1646
1452
|
*
|
|
1647
1453
|
* @throws {@link Payabli.BadRequestError}
|
|
1648
1454
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1661,30 +1467,33 @@ class Export {
|
|
|
1661
1467
|
}
|
|
1662
1468
|
__exportPaypoints(format_1, orgId_1) {
|
|
1663
1469
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1664
|
-
var _a, _b, _c;
|
|
1470
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1665
1471
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1666
1472
|
const _queryParams = {};
|
|
1667
1473
|
if (columnsExport != null) {
|
|
1668
|
-
_queryParams
|
|
1474
|
+
_queryParams.columnsExport = columnsExport;
|
|
1669
1475
|
}
|
|
1670
1476
|
if (fromRecord != null) {
|
|
1671
|
-
_queryParams
|
|
1477
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1672
1478
|
}
|
|
1673
1479
|
if (limitRecord != null) {
|
|
1674
|
-
_queryParams
|
|
1480
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1675
1481
|
}
|
|
1676
1482
|
if (parameters != null) {
|
|
1677
|
-
_queryParams
|
|
1483
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1678
1484
|
}
|
|
1679
|
-
|
|
1485
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1486
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1680
1487
|
const _response = yield core.fetcher({
|
|
1681
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/paypoints/${
|
|
1488
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/paypoints/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
|
|
1682
1489
|
method: "GET",
|
|
1683
1490
|
headers: _headers,
|
|
1684
1491
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1685
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1686
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1492
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1493
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1687
1494
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1495
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1496
|
+
logging: this._options.logging,
|
|
1688
1497
|
});
|
|
1689
1498
|
if (_response.ok) {
|
|
1690
1499
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1707,30 +1516,16 @@ class Export {
|
|
|
1707
1516
|
});
|
|
1708
1517
|
}
|
|
1709
1518
|
}
|
|
1710
|
-
|
|
1711
|
-
case "non-json":
|
|
1712
|
-
throw new errors.PayabliError({
|
|
1713
|
-
statusCode: _response.error.statusCode,
|
|
1714
|
-
body: _response.error.rawBody,
|
|
1715
|
-
rawResponse: _response.rawResponse,
|
|
1716
|
-
});
|
|
1717
|
-
case "timeout":
|
|
1718
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/paypoints/{format}/{orgId}.");
|
|
1719
|
-
case "unknown":
|
|
1720
|
-
throw new errors.PayabliError({
|
|
1721
|
-
message: _response.error.errorMessage,
|
|
1722
|
-
rawResponse: _response.rawResponse,
|
|
1723
|
-
});
|
|
1724
|
-
}
|
|
1519
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/paypoints/{format}/{orgId}");
|
|
1725
1520
|
});
|
|
1726
1521
|
}
|
|
1727
1522
|
/**
|
|
1728
1523
|
* Export a list of settled transactions for an entrypoint. Use filters to limit results.
|
|
1729
1524
|
*
|
|
1730
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1731
1525
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1526
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1732
1527
|
* @param {Payabli.ExportSettlementsRequest} request
|
|
1733
|
-
* @param {
|
|
1528
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1734
1529
|
*
|
|
1735
1530
|
* @throws {@link Payabli.BadRequestError}
|
|
1736
1531
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1738,41 +1533,44 @@ class Export {
|
|
|
1738
1533
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
1739
1534
|
*
|
|
1740
1535
|
* @example
|
|
1741
|
-
* await client.export.exportSettlements("
|
|
1536
|
+
* await client.export.exportSettlements("csv", "8cfec329267", {
|
|
1742
1537
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
1743
1538
|
* fromRecord: 251,
|
|
1744
1539
|
* limitRecord: 1000
|
|
1745
1540
|
* })
|
|
1746
1541
|
*/
|
|
1747
|
-
exportSettlements(
|
|
1748
|
-
return core.HttpResponsePromise.fromPromise(this.__exportSettlements(
|
|
1542
|
+
exportSettlements(format, entry, request = {}, requestOptions) {
|
|
1543
|
+
return core.HttpResponsePromise.fromPromise(this.__exportSettlements(format, entry, request, requestOptions));
|
|
1749
1544
|
}
|
|
1750
|
-
__exportSettlements(
|
|
1751
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
1752
|
-
var _a, _b, _c;
|
|
1545
|
+
__exportSettlements(format_1, entry_1) {
|
|
1546
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
1547
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1753
1548
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1754
1549
|
const _queryParams = {};
|
|
1755
1550
|
if (columnsExport != null) {
|
|
1756
|
-
_queryParams
|
|
1551
|
+
_queryParams.columnsExport = columnsExport;
|
|
1757
1552
|
}
|
|
1758
1553
|
if (fromRecord != null) {
|
|
1759
|
-
_queryParams
|
|
1554
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1760
1555
|
}
|
|
1761
1556
|
if (limitRecord != null) {
|
|
1762
|
-
_queryParams
|
|
1557
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1763
1558
|
}
|
|
1764
1559
|
if (parameters != null) {
|
|
1765
|
-
_queryParams
|
|
1560
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1766
1561
|
}
|
|
1767
|
-
|
|
1562
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1563
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1768
1564
|
const _response = yield core.fetcher({
|
|
1769
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${
|
|
1565
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1770
1566
|
method: "GET",
|
|
1771
1567
|
headers: _headers,
|
|
1772
1568
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1773
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1774
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1569
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1570
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1775
1571
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1572
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1573
|
+
logging: this._options.logging,
|
|
1776
1574
|
});
|
|
1777
1575
|
if (_response.ok) {
|
|
1778
1576
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1795,21 +1593,7 @@ class Export {
|
|
|
1795
1593
|
});
|
|
1796
1594
|
}
|
|
1797
1595
|
}
|
|
1798
|
-
|
|
1799
|
-
case "non-json":
|
|
1800
|
-
throw new errors.PayabliError({
|
|
1801
|
-
statusCode: _response.error.statusCode,
|
|
1802
|
-
body: _response.error.rawBody,
|
|
1803
|
-
rawResponse: _response.rawResponse,
|
|
1804
|
-
});
|
|
1805
|
-
case "timeout":
|
|
1806
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/settlements/{format}/{entry}.");
|
|
1807
|
-
case "unknown":
|
|
1808
|
-
throw new errors.PayabliError({
|
|
1809
|
-
message: _response.error.errorMessage,
|
|
1810
|
-
rawResponse: _response.rawResponse,
|
|
1811
|
-
});
|
|
1812
|
-
}
|
|
1596
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/settlements/{format}/{entry}");
|
|
1813
1597
|
});
|
|
1814
1598
|
}
|
|
1815
1599
|
/**
|
|
@@ -1818,7 +1602,7 @@ class Export {
|
|
|
1818
1602
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1819
1603
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1820
1604
|
* @param {Payabli.ExportSettlementsOrgRequest} request
|
|
1821
|
-
* @param {
|
|
1605
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1822
1606
|
*
|
|
1823
1607
|
* @throws {@link Payabli.BadRequestError}
|
|
1824
1608
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1837,30 +1621,33 @@ class Export {
|
|
|
1837
1621
|
}
|
|
1838
1622
|
__exportSettlementsOrg(format_1, orgId_1) {
|
|
1839
1623
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
1840
|
-
var _a, _b, _c;
|
|
1624
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1841
1625
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1842
1626
|
const _queryParams = {};
|
|
1843
1627
|
if (columnsExport != null) {
|
|
1844
|
-
_queryParams
|
|
1628
|
+
_queryParams.columnsExport = columnsExport;
|
|
1845
1629
|
}
|
|
1846
1630
|
if (fromRecord != null) {
|
|
1847
|
-
_queryParams
|
|
1631
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1848
1632
|
}
|
|
1849
1633
|
if (limitRecord != null) {
|
|
1850
|
-
_queryParams
|
|
1634
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1851
1635
|
}
|
|
1852
1636
|
if (parameters != null) {
|
|
1853
|
-
_queryParams
|
|
1637
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1854
1638
|
}
|
|
1855
|
-
|
|
1639
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1640
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1856
1641
|
const _response = yield core.fetcher({
|
|
1857
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${
|
|
1642
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/settlements/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
1858
1643
|
method: "GET",
|
|
1859
1644
|
headers: _headers,
|
|
1860
1645
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1861
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1862
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1646
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1647
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1863
1648
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1649
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1650
|
+
logging: this._options.logging,
|
|
1864
1651
|
});
|
|
1865
1652
|
if (_response.ok) {
|
|
1866
1653
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1883,30 +1670,16 @@ class Export {
|
|
|
1883
1670
|
});
|
|
1884
1671
|
}
|
|
1885
1672
|
}
|
|
1886
|
-
|
|
1887
|
-
case "non-json":
|
|
1888
|
-
throw new errors.PayabliError({
|
|
1889
|
-
statusCode: _response.error.statusCode,
|
|
1890
|
-
body: _response.error.rawBody,
|
|
1891
|
-
rawResponse: _response.rawResponse,
|
|
1892
|
-
});
|
|
1893
|
-
case "timeout":
|
|
1894
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/settlements/{format}/org/{orgId}.");
|
|
1895
|
-
case "unknown":
|
|
1896
|
-
throw new errors.PayabliError({
|
|
1897
|
-
message: _response.error.errorMessage,
|
|
1898
|
-
rawResponse: _response.rawResponse,
|
|
1899
|
-
});
|
|
1900
|
-
}
|
|
1673
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/settlements/{format}/org/{orgId}");
|
|
1901
1674
|
});
|
|
1902
1675
|
}
|
|
1903
1676
|
/**
|
|
1904
1677
|
* Export a list of subscriptions for an entrypoint. Use filters to limit results.
|
|
1905
1678
|
*
|
|
1906
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1907
1679
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1680
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
1908
1681
|
* @param {Payabli.ExportSubscriptionsRequest} request
|
|
1909
|
-
* @param {
|
|
1682
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1910
1683
|
*
|
|
1911
1684
|
* @throws {@link Payabli.BadRequestError}
|
|
1912
1685
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -1914,41 +1687,44 @@ class Export {
|
|
|
1914
1687
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
1915
1688
|
*
|
|
1916
1689
|
* @example
|
|
1917
|
-
* await client.export.exportSubscriptions("
|
|
1690
|
+
* await client.export.exportSubscriptions("csv", "8cfec329267", {
|
|
1918
1691
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
1919
1692
|
* fromRecord: 251,
|
|
1920
1693
|
* limitRecord: 1000
|
|
1921
1694
|
* })
|
|
1922
1695
|
*/
|
|
1923
|
-
exportSubscriptions(
|
|
1924
|
-
return core.HttpResponsePromise.fromPromise(this.__exportSubscriptions(
|
|
1696
|
+
exportSubscriptions(format, entry, request = {}, requestOptions) {
|
|
1697
|
+
return core.HttpResponsePromise.fromPromise(this.__exportSubscriptions(format, entry, request, requestOptions));
|
|
1925
1698
|
}
|
|
1926
|
-
__exportSubscriptions(
|
|
1927
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
1928
|
-
var _a, _b, _c;
|
|
1699
|
+
__exportSubscriptions(format_1, entry_1) {
|
|
1700
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
1701
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1929
1702
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
1930
1703
|
const _queryParams = {};
|
|
1931
1704
|
if (columnsExport != null) {
|
|
1932
|
-
_queryParams
|
|
1705
|
+
_queryParams.columnsExport = columnsExport;
|
|
1933
1706
|
}
|
|
1934
1707
|
if (fromRecord != null) {
|
|
1935
|
-
_queryParams
|
|
1708
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
1936
1709
|
}
|
|
1937
1710
|
if (limitRecord != null) {
|
|
1938
|
-
_queryParams
|
|
1711
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
1939
1712
|
}
|
|
1940
1713
|
if (parameters != null) {
|
|
1941
|
-
_queryParams
|
|
1714
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
1942
1715
|
}
|
|
1943
|
-
|
|
1716
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1717
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1944
1718
|
const _response = yield core.fetcher({
|
|
1945
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${
|
|
1719
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
1946
1720
|
method: "GET",
|
|
1947
1721
|
headers: _headers,
|
|
1948
1722
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1949
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1950
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1723
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1724
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1951
1725
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1726
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1727
|
+
logging: this._options.logging,
|
|
1952
1728
|
});
|
|
1953
1729
|
if (_response.ok) {
|
|
1954
1730
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -1971,21 +1747,7 @@ class Export {
|
|
|
1971
1747
|
});
|
|
1972
1748
|
}
|
|
1973
1749
|
}
|
|
1974
|
-
|
|
1975
|
-
case "non-json":
|
|
1976
|
-
throw new errors.PayabliError({
|
|
1977
|
-
statusCode: _response.error.statusCode,
|
|
1978
|
-
body: _response.error.rawBody,
|
|
1979
|
-
rawResponse: _response.rawResponse,
|
|
1980
|
-
});
|
|
1981
|
-
case "timeout":
|
|
1982
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/subscriptions/{format}/{entry}.");
|
|
1983
|
-
case "unknown":
|
|
1984
|
-
throw new errors.PayabliError({
|
|
1985
|
-
message: _response.error.errorMessage,
|
|
1986
|
-
rawResponse: _response.rawResponse,
|
|
1987
|
-
});
|
|
1988
|
-
}
|
|
1750
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/subscriptions/{format}/{entry}");
|
|
1989
1751
|
});
|
|
1990
1752
|
}
|
|
1991
1753
|
/**
|
|
@@ -1994,7 +1756,7 @@ class Export {
|
|
|
1994
1756
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1995
1757
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
1996
1758
|
* @param {Payabli.ExportSubscriptionsOrgRequest} request
|
|
1997
|
-
* @param {
|
|
1759
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1998
1760
|
*
|
|
1999
1761
|
* @throws {@link Payabli.BadRequestError}
|
|
2000
1762
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2013,30 +1775,33 @@ class Export {
|
|
|
2013
1775
|
}
|
|
2014
1776
|
__exportSubscriptionsOrg(format_1, orgId_1) {
|
|
2015
1777
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
2016
|
-
var _a, _b, _c;
|
|
1778
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2017
1779
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
2018
1780
|
const _queryParams = {};
|
|
2019
1781
|
if (columnsExport != null) {
|
|
2020
|
-
_queryParams
|
|
1782
|
+
_queryParams.columnsExport = columnsExport;
|
|
2021
1783
|
}
|
|
2022
1784
|
if (fromRecord != null) {
|
|
2023
|
-
_queryParams
|
|
1785
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2024
1786
|
}
|
|
2025
1787
|
if (limitRecord != null) {
|
|
2026
|
-
_queryParams
|
|
1788
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2027
1789
|
}
|
|
2028
1790
|
if (parameters != null) {
|
|
2029
|
-
_queryParams
|
|
1791
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2030
1792
|
}
|
|
2031
|
-
|
|
1793
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1794
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2032
1795
|
const _response = yield core.fetcher({
|
|
2033
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${
|
|
1796
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/subscriptions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
2034
1797
|
method: "GET",
|
|
2035
1798
|
headers: _headers,
|
|
2036
1799
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2037
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2038
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1800
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1801
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2039
1802
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1803
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1804
|
+
logging: this._options.logging,
|
|
2040
1805
|
});
|
|
2041
1806
|
if (_response.ok) {
|
|
2042
1807
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2059,30 +1824,16 @@ class Export {
|
|
|
2059
1824
|
});
|
|
2060
1825
|
}
|
|
2061
1826
|
}
|
|
2062
|
-
|
|
2063
|
-
case "non-json":
|
|
2064
|
-
throw new errors.PayabliError({
|
|
2065
|
-
statusCode: _response.error.statusCode,
|
|
2066
|
-
body: _response.error.rawBody,
|
|
2067
|
-
rawResponse: _response.rawResponse,
|
|
2068
|
-
});
|
|
2069
|
-
case "timeout":
|
|
2070
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/subscriptions/{format}/org/{orgId}.");
|
|
2071
|
-
case "unknown":
|
|
2072
|
-
throw new errors.PayabliError({
|
|
2073
|
-
message: _response.error.errorMessage,
|
|
2074
|
-
rawResponse: _response.rawResponse,
|
|
2075
|
-
});
|
|
2076
|
-
}
|
|
1827
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/subscriptions/{format}/org/{orgId}");
|
|
2077
1828
|
});
|
|
2078
1829
|
}
|
|
2079
1830
|
/**
|
|
2080
1831
|
* Export a list of transactions for an entrypoint in a file in XLXS or CSV format. Use filters to limit results. If you don't specify a date range in the request, the last two months of data are returned.
|
|
2081
1832
|
*
|
|
2082
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2083
1833
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1834
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2084
1835
|
* @param {Payabli.ExportTransactionsRequest} request
|
|
2085
|
-
* @param {
|
|
1836
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2086
1837
|
*
|
|
2087
1838
|
* @throws {@link Payabli.BadRequestError}
|
|
2088
1839
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2090,41 +1841,44 @@ class Export {
|
|
|
2090
1841
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2091
1842
|
*
|
|
2092
1843
|
* @example
|
|
2093
|
-
* await client.export.exportTransactions("
|
|
1844
|
+
* await client.export.exportTransactions("csv", "8cfec329267", {
|
|
2094
1845
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
2095
1846
|
* fromRecord: 251,
|
|
2096
1847
|
* limitRecord: 1000
|
|
2097
1848
|
* })
|
|
2098
1849
|
*/
|
|
2099
|
-
exportTransactions(
|
|
2100
|
-
return core.HttpResponsePromise.fromPromise(this.__exportTransactions(
|
|
1850
|
+
exportTransactions(format, entry, request = {}, requestOptions) {
|
|
1851
|
+
return core.HttpResponsePromise.fromPromise(this.__exportTransactions(format, entry, request, requestOptions));
|
|
2101
1852
|
}
|
|
2102
|
-
__exportTransactions(
|
|
2103
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
2104
|
-
var _a, _b, _c;
|
|
1853
|
+
__exportTransactions(format_1, entry_1) {
|
|
1854
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
1855
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2105
1856
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
2106
1857
|
const _queryParams = {};
|
|
2107
1858
|
if (columnsExport != null) {
|
|
2108
|
-
_queryParams
|
|
1859
|
+
_queryParams.columnsExport = columnsExport;
|
|
2109
1860
|
}
|
|
2110
1861
|
if (fromRecord != null) {
|
|
2111
|
-
_queryParams
|
|
1862
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2112
1863
|
}
|
|
2113
1864
|
if (limitRecord != null) {
|
|
2114
|
-
_queryParams
|
|
1865
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2115
1866
|
}
|
|
2116
1867
|
if (parameters != null) {
|
|
2117
|
-
_queryParams
|
|
1868
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2118
1869
|
}
|
|
2119
|
-
|
|
1870
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1871
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2120
1872
|
const _response = yield core.fetcher({
|
|
2121
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${
|
|
1873
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
2122
1874
|
method: "GET",
|
|
2123
1875
|
headers: _headers,
|
|
2124
1876
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2125
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2126
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1877
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1878
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2127
1879
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1880
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1881
|
+
logging: this._options.logging,
|
|
2128
1882
|
});
|
|
2129
1883
|
if (_response.ok) {
|
|
2130
1884
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2147,21 +1901,7 @@ class Export {
|
|
|
2147
1901
|
});
|
|
2148
1902
|
}
|
|
2149
1903
|
}
|
|
2150
|
-
|
|
2151
|
-
case "non-json":
|
|
2152
|
-
throw new errors.PayabliError({
|
|
2153
|
-
statusCode: _response.error.statusCode,
|
|
2154
|
-
body: _response.error.rawBody,
|
|
2155
|
-
rawResponse: _response.rawResponse,
|
|
2156
|
-
});
|
|
2157
|
-
case "timeout":
|
|
2158
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/transactions/{format}/{entry}.");
|
|
2159
|
-
case "unknown":
|
|
2160
|
-
throw new errors.PayabliError({
|
|
2161
|
-
message: _response.error.errorMessage,
|
|
2162
|
-
rawResponse: _response.rawResponse,
|
|
2163
|
-
});
|
|
2164
|
-
}
|
|
1904
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/transactions/{format}/{entry}");
|
|
2165
1905
|
});
|
|
2166
1906
|
}
|
|
2167
1907
|
/**
|
|
@@ -2170,7 +1910,7 @@ class Export {
|
|
|
2170
1910
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
2171
1911
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
2172
1912
|
* @param {Payabli.ExportTransactionsOrgRequest} request
|
|
2173
|
-
* @param {
|
|
1913
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2174
1914
|
*
|
|
2175
1915
|
* @throws {@link Payabli.BadRequestError}
|
|
2176
1916
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2189,30 +1929,33 @@ class Export {
|
|
|
2189
1929
|
}
|
|
2190
1930
|
__exportTransactionsOrg(format_1, orgId_1) {
|
|
2191
1931
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
2192
|
-
var _a, _b, _c;
|
|
1932
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2193
1933
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
2194
1934
|
const _queryParams = {};
|
|
2195
1935
|
if (columnsExport != null) {
|
|
2196
|
-
_queryParams
|
|
1936
|
+
_queryParams.columnsExport = columnsExport;
|
|
2197
1937
|
}
|
|
2198
1938
|
if (fromRecord != null) {
|
|
2199
|
-
_queryParams
|
|
1939
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2200
1940
|
}
|
|
2201
1941
|
if (limitRecord != null) {
|
|
2202
|
-
_queryParams
|
|
1942
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2203
1943
|
}
|
|
2204
1944
|
if (parameters != null) {
|
|
2205
|
-
_queryParams
|
|
1945
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2206
1946
|
}
|
|
2207
|
-
|
|
1947
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
1948
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2208
1949
|
const _response = yield core.fetcher({
|
|
2209
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${
|
|
1950
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transactions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
2210
1951
|
method: "GET",
|
|
2211
1952
|
headers: _headers,
|
|
2212
1953
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2213
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2214
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1954
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1955
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2215
1956
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1957
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
1958
|
+
logging: this._options.logging,
|
|
2216
1959
|
});
|
|
2217
1960
|
if (_response.ok) {
|
|
2218
1961
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2235,31 +1978,17 @@ class Export {
|
|
|
2235
1978
|
});
|
|
2236
1979
|
}
|
|
2237
1980
|
}
|
|
2238
|
-
|
|
2239
|
-
case "non-json":
|
|
2240
|
-
throw new errors.PayabliError({
|
|
2241
|
-
statusCode: _response.error.statusCode,
|
|
2242
|
-
body: _response.error.rawBody,
|
|
2243
|
-
rawResponse: _response.rawResponse,
|
|
2244
|
-
});
|
|
2245
|
-
case "timeout":
|
|
2246
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/transactions/{format}/org/{orgId}.");
|
|
2247
|
-
case "unknown":
|
|
2248
|
-
throw new errors.PayabliError({
|
|
2249
|
-
message: _response.error.errorMessage,
|
|
2250
|
-
rawResponse: _response.rawResponse,
|
|
2251
|
-
});
|
|
2252
|
-
}
|
|
1981
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/transactions/{format}/org/{orgId}");
|
|
2253
1982
|
});
|
|
2254
1983
|
}
|
|
2255
1984
|
/**
|
|
2256
1985
|
* Export a list of transfer details for an entrypoint. Use filters to limit results.
|
|
2257
1986
|
*
|
|
2258
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2259
1987
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
1988
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2260
1989
|
* @param {number} transferId - Transfer identifier.
|
|
2261
1990
|
* @param {Payabli.ExportTransferDetailsRequest} request
|
|
2262
|
-
* @param {
|
|
1991
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2263
1992
|
*
|
|
2264
1993
|
* @throws {@link Payabli.BadRequestError}
|
|
2265
1994
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2267,45 +1996,48 @@ class Export {
|
|
|
2267
1996
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2268
1997
|
*
|
|
2269
1998
|
* @example
|
|
2270
|
-
* await client.export.exportTransferDetails("
|
|
1999
|
+
* await client.export.exportTransferDetails("csv", "8cfec329267", 1000000, {
|
|
2271
2000
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
2272
2001
|
* fromRecord: 251,
|
|
2273
2002
|
* limitRecord: 1000,
|
|
2274
2003
|
* sortBy: "desc(field_name)"
|
|
2275
2004
|
* })
|
|
2276
2005
|
*/
|
|
2277
|
-
exportTransferDetails(
|
|
2278
|
-
return core.HttpResponsePromise.fromPromise(this.__exportTransferDetails(
|
|
2006
|
+
exportTransferDetails(format, entry, transferId, request = {}, requestOptions) {
|
|
2007
|
+
return core.HttpResponsePromise.fromPromise(this.__exportTransferDetails(format, entry, transferId, request, requestOptions));
|
|
2279
2008
|
}
|
|
2280
|
-
__exportTransferDetails(
|
|
2281
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
2282
|
-
var _a, _b, _c;
|
|
2009
|
+
__exportTransferDetails(format_1, entry_1, transferId_1) {
|
|
2010
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, transferId, request = {}, requestOptions) {
|
|
2011
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2283
2012
|
const { columnsExport, fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2284
2013
|
const _queryParams = {};
|
|
2285
2014
|
if (columnsExport != null) {
|
|
2286
|
-
_queryParams
|
|
2015
|
+
_queryParams.columnsExport = columnsExport;
|
|
2287
2016
|
}
|
|
2288
2017
|
if (fromRecord != null) {
|
|
2289
|
-
_queryParams
|
|
2018
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2290
2019
|
}
|
|
2291
2020
|
if (limitRecord != null) {
|
|
2292
|
-
_queryParams
|
|
2021
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2293
2022
|
}
|
|
2294
2023
|
if (parameters != null) {
|
|
2295
|
-
_queryParams
|
|
2024
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2296
2025
|
}
|
|
2297
2026
|
if (sortBy != null) {
|
|
2298
|
-
_queryParams
|
|
2027
|
+
_queryParams.sortBy = sortBy;
|
|
2299
2028
|
}
|
|
2300
|
-
|
|
2029
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2030
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2301
2031
|
const _response = yield core.fetcher({
|
|
2302
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transferDetails/${
|
|
2032
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transferDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(transferId)}`),
|
|
2303
2033
|
method: "GET",
|
|
2304
2034
|
headers: _headers,
|
|
2305
2035
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2306
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2307
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2036
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2037
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2308
2038
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2039
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2040
|
+
logging: this._options.logging,
|
|
2309
2041
|
});
|
|
2310
2042
|
if (_response.ok) {
|
|
2311
2043
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2328,21 +2060,7 @@ class Export {
|
|
|
2328
2060
|
});
|
|
2329
2061
|
}
|
|
2330
2062
|
}
|
|
2331
|
-
|
|
2332
|
-
case "non-json":
|
|
2333
|
-
throw new errors.PayabliError({
|
|
2334
|
-
statusCode: _response.error.statusCode,
|
|
2335
|
-
body: _response.error.rawBody,
|
|
2336
|
-
rawResponse: _response.rawResponse,
|
|
2337
|
-
});
|
|
2338
|
-
case "timeout":
|
|
2339
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/transferDetails/{format}/{entry}/{transferId}.");
|
|
2340
|
-
case "unknown":
|
|
2341
|
-
throw new errors.PayabliError({
|
|
2342
|
-
message: _response.error.errorMessage,
|
|
2343
|
-
rawResponse: _response.rawResponse,
|
|
2344
|
-
});
|
|
2345
|
-
}
|
|
2063
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/transferDetails/{format}/{entry}/{transferId}");
|
|
2346
2064
|
});
|
|
2347
2065
|
}
|
|
2348
2066
|
/**
|
|
@@ -2350,7 +2068,7 @@ class Export {
|
|
|
2350
2068
|
*
|
|
2351
2069
|
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2352
2070
|
* @param {Payabli.ExportTransfersRequest} request
|
|
2353
|
-
* @param {
|
|
2071
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2354
2072
|
*
|
|
2355
2073
|
* @throws {@link Payabli.BadRequestError}
|
|
2356
2074
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2370,33 +2088,36 @@ class Export {
|
|
|
2370
2088
|
}
|
|
2371
2089
|
__exportTransfers(entry_1) {
|
|
2372
2090
|
return __awaiter(this, arguments, void 0, function* (entry, request = {}, requestOptions) {
|
|
2373
|
-
var _a, _b, _c;
|
|
2091
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2374
2092
|
const { columnsExport, fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2375
2093
|
const _queryParams = {};
|
|
2376
2094
|
if (columnsExport != null) {
|
|
2377
|
-
_queryParams
|
|
2095
|
+
_queryParams.columnsExport = columnsExport;
|
|
2378
2096
|
}
|
|
2379
2097
|
if (fromRecord != null) {
|
|
2380
|
-
_queryParams
|
|
2098
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2381
2099
|
}
|
|
2382
2100
|
if (limitRecord != null) {
|
|
2383
|
-
_queryParams
|
|
2101
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2384
2102
|
}
|
|
2385
2103
|
if (parameters != null) {
|
|
2386
|
-
_queryParams
|
|
2104
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2387
2105
|
}
|
|
2388
2106
|
if (sortBy != null) {
|
|
2389
|
-
_queryParams
|
|
2107
|
+
_queryParams.sortBy = sortBy;
|
|
2390
2108
|
}
|
|
2391
|
-
|
|
2109
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2110
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2392
2111
|
const _response = yield core.fetcher({
|
|
2393
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transfers/${
|
|
2112
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/transfers/${core.url.encodePathParam(entry)}`),
|
|
2394
2113
|
method: "GET",
|
|
2395
2114
|
headers: _headers,
|
|
2396
2115
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2397
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2398
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2116
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2117
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2399
2118
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2119
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2120
|
+
logging: this._options.logging,
|
|
2400
2121
|
});
|
|
2401
2122
|
if (_response.ok) {
|
|
2402
2123
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2419,30 +2140,16 @@ class Export {
|
|
|
2419
2140
|
});
|
|
2420
2141
|
}
|
|
2421
2142
|
}
|
|
2422
|
-
|
|
2423
|
-
case "non-json":
|
|
2424
|
-
throw new errors.PayabliError({
|
|
2425
|
-
statusCode: _response.error.statusCode,
|
|
2426
|
-
body: _response.error.rawBody,
|
|
2427
|
-
rawResponse: _response.rawResponse,
|
|
2428
|
-
});
|
|
2429
|
-
case "timeout":
|
|
2430
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/transfers/{entry}.");
|
|
2431
|
-
case "unknown":
|
|
2432
|
-
throw new errors.PayabliError({
|
|
2433
|
-
message: _response.error.errorMessage,
|
|
2434
|
-
rawResponse: _response.rawResponse,
|
|
2435
|
-
});
|
|
2436
|
-
}
|
|
2143
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/transfers/{entry}");
|
|
2437
2144
|
});
|
|
2438
2145
|
}
|
|
2439
2146
|
/**
|
|
2440
2147
|
* Export a list of vendors for an entrypoint. Use filters to limit results.
|
|
2441
2148
|
*
|
|
2442
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2443
2149
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
2150
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2444
2151
|
* @param {Payabli.ExportVendorsRequest} request
|
|
2445
|
-
* @param {
|
|
2152
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2446
2153
|
*
|
|
2447
2154
|
* @throws {@link Payabli.BadRequestError}
|
|
2448
2155
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2450,41 +2157,44 @@ class Export {
|
|
|
2450
2157
|
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2451
2158
|
*
|
|
2452
2159
|
* @example
|
|
2453
|
-
* await client.export.exportVendors("
|
|
2160
|
+
* await client.export.exportVendors("csv", "8cfec329267", {
|
|
2454
2161
|
* columnsExport: "BatchDate:Batch_Date,PaypointName:Legal_name",
|
|
2455
2162
|
* fromRecord: 251,
|
|
2456
2163
|
* limitRecord: 1000
|
|
2457
2164
|
* })
|
|
2458
2165
|
*/
|
|
2459
|
-
exportVendors(
|
|
2460
|
-
return core.HttpResponsePromise.fromPromise(this.__exportVendors(
|
|
2166
|
+
exportVendors(format, entry, request = {}, requestOptions) {
|
|
2167
|
+
return core.HttpResponsePromise.fromPromise(this.__exportVendors(format, entry, request, requestOptions));
|
|
2461
2168
|
}
|
|
2462
|
-
__exportVendors(
|
|
2463
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
2464
|
-
var _a, _b, _c;
|
|
2169
|
+
__exportVendors(format_1, entry_1) {
|
|
2170
|
+
return __awaiter(this, arguments, void 0, function* (format, entry, request = {}, requestOptions) {
|
|
2171
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2465
2172
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
2466
2173
|
const _queryParams = {};
|
|
2467
2174
|
if (columnsExport != null) {
|
|
2468
|
-
_queryParams
|
|
2175
|
+
_queryParams.columnsExport = columnsExport;
|
|
2469
2176
|
}
|
|
2470
2177
|
if (fromRecord != null) {
|
|
2471
|
-
_queryParams
|
|
2178
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2472
2179
|
}
|
|
2473
2180
|
if (limitRecord != null) {
|
|
2474
|
-
_queryParams
|
|
2181
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2475
2182
|
}
|
|
2476
2183
|
if (parameters != null) {
|
|
2477
|
-
_queryParams
|
|
2184
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2478
2185
|
}
|
|
2479
|
-
|
|
2186
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2187
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2480
2188
|
const _response = yield core.fetcher({
|
|
2481
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${
|
|
2189
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
|
|
2482
2190
|
method: "GET",
|
|
2483
2191
|
headers: _headers,
|
|
2484
2192
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2485
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2486
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2193
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2194
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2487
2195
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2196
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2197
|
+
logging: this._options.logging,
|
|
2488
2198
|
});
|
|
2489
2199
|
if (_response.ok) {
|
|
2490
2200
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2507,21 +2217,7 @@ class Export {
|
|
|
2507
2217
|
});
|
|
2508
2218
|
}
|
|
2509
2219
|
}
|
|
2510
|
-
|
|
2511
|
-
case "non-json":
|
|
2512
|
-
throw new errors.PayabliError({
|
|
2513
|
-
statusCode: _response.error.statusCode,
|
|
2514
|
-
body: _response.error.rawBody,
|
|
2515
|
-
rawResponse: _response.rawResponse,
|
|
2516
|
-
});
|
|
2517
|
-
case "timeout":
|
|
2518
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/vendors/{format}/{entry}.");
|
|
2519
|
-
case "unknown":
|
|
2520
|
-
throw new errors.PayabliError({
|
|
2521
|
-
message: _response.error.errorMessage,
|
|
2522
|
-
rawResponse: _response.rawResponse,
|
|
2523
|
-
});
|
|
2524
|
-
}
|
|
2220
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/vendors/{format}/{entry}");
|
|
2525
2221
|
});
|
|
2526
2222
|
}
|
|
2527
2223
|
/**
|
|
@@ -2530,7 +2226,7 @@ class Export {
|
|
|
2530
2226
|
* @param {Payabli.ExportFormat1} format - Format for the export, either XLSX or CSV.
|
|
2531
2227
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
2532
2228
|
* @param {Payabli.ExportVendorsOrgRequest} request
|
|
2533
|
-
* @param {
|
|
2229
|
+
* @param {ExportClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2534
2230
|
*
|
|
2535
2231
|
* @throws {@link Payabli.BadRequestError}
|
|
2536
2232
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -2549,30 +2245,33 @@ class Export {
|
|
|
2549
2245
|
}
|
|
2550
2246
|
__exportVendorsOrg(format_1, orgId_1) {
|
|
2551
2247
|
return __awaiter(this, arguments, void 0, function* (format, orgId, request = {}, requestOptions) {
|
|
2552
|
-
var _a, _b, _c;
|
|
2248
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2553
2249
|
const { columnsExport, fromRecord, limitRecord, parameters } = request;
|
|
2554
2250
|
const _queryParams = {};
|
|
2555
2251
|
if (columnsExport != null) {
|
|
2556
|
-
_queryParams
|
|
2252
|
+
_queryParams.columnsExport = columnsExport;
|
|
2557
2253
|
}
|
|
2558
2254
|
if (fromRecord != null) {
|
|
2559
|
-
_queryParams
|
|
2255
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2560
2256
|
}
|
|
2561
2257
|
if (limitRecord != null) {
|
|
2562
|
-
_queryParams
|
|
2258
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2563
2259
|
}
|
|
2564
2260
|
if (parameters != null) {
|
|
2565
|
-
_queryParams
|
|
2261
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2566
2262
|
}
|
|
2567
|
-
|
|
2263
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
2264
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2568
2265
|
const _response = yield core.fetcher({
|
|
2569
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${
|
|
2266
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Export/vendors/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
|
|
2570
2267
|
method: "GET",
|
|
2571
2268
|
headers: _headers,
|
|
2572
2269
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2573
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2574
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2270
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2271
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2575
2272
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2273
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2274
|
+
logging: this._options.logging,
|
|
2576
2275
|
});
|
|
2577
2276
|
if (_response.ok) {
|
|
2578
2277
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
@@ -2595,28 +2294,8 @@ class Export {
|
|
|
2595
2294
|
});
|
|
2596
2295
|
}
|
|
2597
2296
|
}
|
|
2598
|
-
|
|
2599
|
-
case "non-json":
|
|
2600
|
-
throw new errors.PayabliError({
|
|
2601
|
-
statusCode: _response.error.statusCode,
|
|
2602
|
-
body: _response.error.rawBody,
|
|
2603
|
-
rawResponse: _response.rawResponse,
|
|
2604
|
-
});
|
|
2605
|
-
case "timeout":
|
|
2606
|
-
throw new errors.PayabliTimeoutError("Timeout exceeded when calling GET /Export/vendors/{format}/org/{orgId}.");
|
|
2607
|
-
case "unknown":
|
|
2608
|
-
throw new errors.PayabliError({
|
|
2609
|
-
message: _response.error.errorMessage,
|
|
2610
|
-
rawResponse: _response.rawResponse,
|
|
2611
|
-
});
|
|
2612
|
-
}
|
|
2613
|
-
});
|
|
2614
|
-
}
|
|
2615
|
-
_getCustomAuthorizationHeaders() {
|
|
2616
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2617
|
-
const apiKeyValue = yield core.Supplier.get(this._options.apiKey);
|
|
2618
|
-
return { requestToken: apiKeyValue };
|
|
2297
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Export/vendors/{format}/org/{orgId}");
|
|
2619
2298
|
});
|
|
2620
2299
|
}
|
|
2621
2300
|
}
|
|
2622
|
-
exports.
|
|
2301
|
+
exports.ExportClient = ExportClient;
|