mollie-api-typescript 1.7.3 → 1.8.0
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/FUNCTIONS.md +4 -5
- package/README.md +44 -18
- package/dist/commonjs/funcs/capturesCreate.d.ts +2 -0
- package/dist/commonjs/funcs/capturesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/capturesCreate.js +3 -1
- package/dist/commonjs/funcs/capturesCreate.js.map +1 -1
- package/dist/commonjs/funcs/capturesGet.d.ts +2 -0
- package/dist/commonjs/funcs/capturesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/capturesGet.js +3 -1
- package/dist/commonjs/funcs/capturesGet.js.map +1 -1
- package/dist/commonjs/funcs/capturesList.d.ts +2 -0
- package/dist/commonjs/funcs/capturesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/capturesList.js +3 -1
- package/dist/commonjs/funcs/capturesList.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksAll.d.ts +2 -0
- package/dist/commonjs/funcs/chargebacksAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/chargebacksAll.js +3 -1
- package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksGet.d.ts +2 -0
- package/dist/commonjs/funcs/chargebacksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/chargebacksGet.js +3 -1
- package/dist/commonjs/funcs/chargebacksGet.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksList.d.ts +2 -0
- package/dist/commonjs/funcs/chargebacksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/chargebacksList.js +3 -1
- package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.d.ts +2 -0
- package/dist/commonjs/funcs/customersCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersCreate.js +3 -1
- package/dist/commonjs/funcs/customersCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersCreatePayment.d.ts +2 -0
- package/dist/commonjs/funcs/customersCreatePayment.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersCreatePayment.js +3 -1
- package/dist/commonjs/funcs/customersCreatePayment.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.d.ts +2 -0
- package/dist/commonjs/funcs/customersDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +3 -1
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.d.ts +2 -0
- package/dist/commonjs/funcs/customersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +3 -1
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersList.d.ts +2 -0
- package/dist/commonjs/funcs/customersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersList.js +3 -1
- package/dist/commonjs/funcs/customersList.js.map +1 -1
- package/dist/commonjs/funcs/customersListPayments.d.ts +2 -0
- package/dist/commonjs/funcs/customersListPayments.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersListPayments.js +3 -1
- package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js +3 -1
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingCreate.d.ts +2 -0
- package/dist/commonjs/funcs/delayedRoutingCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingCreate.js +3 -1
- package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingGet.d.ts +2 -0
- package/dist/commonjs/funcs/delayedRoutingGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingGet.js +3 -1
- package/dist/commonjs/funcs/delayedRoutingGet.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingList.d.ts +2 -0
- package/dist/commonjs/funcs/delayedRoutingList.d.ts.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingList.js +3 -1
- package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
- package/dist/commonjs/funcs/mandatesCreate.d.ts +2 -0
- package/dist/commonjs/funcs/mandatesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/mandatesCreate.js +3 -1
- package/dist/commonjs/funcs/mandatesCreate.js.map +1 -1
- package/dist/commonjs/funcs/mandatesGet.d.ts +2 -0
- package/dist/commonjs/funcs/mandatesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/mandatesGet.js +3 -1
- package/dist/commonjs/funcs/mandatesGet.js.map +1 -1
- package/dist/commonjs/funcs/mandatesList.d.ts +2 -0
- package/dist/commonjs/funcs/mandatesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/mandatesList.js +3 -1
- package/dist/commonjs/funcs/mandatesList.js.map +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.d.ts +2 -0
- package/dist/commonjs/funcs/mandatesRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.js +3 -1
- package/dist/commonjs/funcs/mandatesRevoke.js.map +1 -1
- package/dist/commonjs/funcs/methodsAll.d.ts +2 -0
- package/dist/commonjs/funcs/methodsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/methodsAll.js +3 -1
- package/dist/commonjs/funcs/methodsAll.js.map +1 -1
- package/dist/commonjs/funcs/methodsGet.d.ts +2 -0
- package/dist/commonjs/funcs/methodsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/methodsGet.js +3 -1
- package/dist/commonjs/funcs/methodsGet.js.map +1 -1
- package/dist/commonjs/funcs/methodsList.d.ts +2 -0
- package/dist/commonjs/funcs/methodsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/methodsList.js +3 -1
- package/dist/commonjs/funcs/methodsList.js.map +1 -1
- package/dist/commonjs/funcs/oauthGenerate.d.ts +1 -3
- package/dist/commonjs/funcs/oauthGenerate.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauthGenerate.js +10 -8
- package/dist/commonjs/funcs/oauthGenerate.js.map +1 -1
- package/dist/commonjs/funcs/oauthRevoke.d.ts +1 -3
- package/dist/commonjs/funcs/oauthRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauthRevoke.js +10 -8
- package/dist/commonjs/funcs/oauthRevoke.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksCreate.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksCreate.js +3 -1
- package/dist/commonjs/funcs/paymentLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.js +3 -1
- package/dist/commonjs/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksGet.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksGet.js +3 -1
- package/dist/commonjs/funcs/paymentLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksList.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksList.js +3 -1
- package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksListPayments.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksListPayments.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksListPayments.js +3 -1
- package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentLinksUpdate.js +3 -1
- package/dist/commonjs/funcs/paymentLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsCancel.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsCancel.js +3 -1
- package/dist/commonjs/funcs/paymentsCancel.js.map +1 -1
- package/dist/commonjs/funcs/paymentsCreate.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsCreate.js +3 -1
- package/dist/commonjs/funcs/paymentsCreate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.js +3 -1
- package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/paymentsList.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsList.js +3 -1
- package/dist/commonjs/funcs/paymentsList.js.map +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js +3 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/commonjs/funcs/paymentsUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/paymentsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/paymentsUpdate.js +3 -1
- package/dist/commonjs/funcs/paymentsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/payoutsCancel.d.ts +2 -0
- package/dist/commonjs/funcs/payoutsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/payoutsCancel.js +3 -1
- package/dist/commonjs/funcs/payoutsCancel.js.map +1 -1
- package/dist/commonjs/funcs/payoutsCreate.d.ts +2 -0
- package/dist/commonjs/funcs/payoutsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/payoutsCreate.js +3 -5
- package/dist/commonjs/funcs/payoutsCreate.js.map +1 -1
- package/dist/commonjs/funcs/payoutsGet.d.ts +2 -0
- package/dist/commonjs/funcs/payoutsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/payoutsGet.js +3 -1
- package/dist/commonjs/funcs/payoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/payoutsList.d.ts +2 -0
- package/dist/commonjs/funcs/payoutsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/payoutsList.js +3 -1
- package/dist/commonjs/funcs/payoutsList.js.map +1 -1
- package/dist/commonjs/funcs/refundsAll.d.ts +2 -0
- package/dist/commonjs/funcs/refundsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsAll.js +3 -1
- package/dist/commonjs/funcs/refundsAll.js.map +1 -1
- package/dist/commonjs/funcs/refundsCancel.d.ts +2 -0
- package/dist/commonjs/funcs/refundsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsCancel.js +3 -1
- package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.d.ts +2 -0
- package/dist/commonjs/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +3 -1
- package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
- package/dist/commonjs/funcs/refundsGet.d.ts +2 -0
- package/dist/commonjs/funcs/refundsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsGet.js +3 -1
- package/dist/commonjs/funcs/refundsGet.js.map +1 -1
- package/dist/commonjs/funcs/refundsList.d.ts +2 -0
- package/dist/commonjs/funcs/refundsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/refundsList.js +3 -1
- package/dist/commonjs/funcs/refundsList.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.d.ts +2 -0
- package/dist/commonjs/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.js +3 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts +2 -0
- package/dist/commonjs/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js +3 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts +2 -0
- package/dist/commonjs/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js +3 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesList.d.ts +2 -0
- package/dist/commonjs/funcs/salesInvoicesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesList.js +3 -1
- package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js +3 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/sessionsCreate.d.ts +2 -0
- package/dist/commonjs/funcs/sessionsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/sessionsCreate.js +3 -1
- package/dist/commonjs/funcs/sessionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/sessionsGet.d.ts +2 -0
- package/dist/commonjs/funcs/sessionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/sessionsGet.js +3 -1
- package/dist/commonjs/funcs/sessionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsAll.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.js +3 -1
- package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCancel.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsCancel.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCancel.js +3 -1
- package/dist/commonjs/funcs/subscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCreate.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCreate.js +3 -1
- package/dist/commonjs/funcs/subscriptionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +3 -1
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +3 -1
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsListPayments.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsListPayments.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsListPayments.js +3 -1
- package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js +3 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/terminalsGet.d.ts +2 -0
- package/dist/commonjs/funcs/terminalsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/terminalsGet.js +3 -1
- package/dist/commonjs/funcs/terminalsGet.js.map +1 -1
- package/dist/commonjs/funcs/terminalsList.d.ts +2 -0
- package/dist/commonjs/funcs/terminalsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/terminalsList.js +3 -1
- package/dist/commonjs/funcs/terminalsList.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts +2 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js +3 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts +2 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js +3 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts +2 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js +3 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts +2 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js +3 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
- package/dist/commonjs/funcs/walletsRequestApplePaySession.d.ts +2 -0
- package/dist/commonjs/funcs/walletsRequestApplePaySession.d.ts.map +1 -1
- package/dist/commonjs/funcs/walletsRequestApplePaySession.js +3 -1
- package/dist/commonjs/funcs/walletsRequestApplePaySession.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/operations/createpayout.d.ts +0 -23
- package/dist/commonjs/models/operations/createpayout.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createpayout.js +0 -1
- package/dist/commonjs/models/operations/createpayout.js.map +1 -1
- package/dist/commonjs/models/operations/oauthgeneratetokens.d.ts +12 -0
- package/dist/commonjs/models/operations/oauthgeneratetokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/oauthgeneratetokens.js +10 -1
- package/dist/commonjs/models/operations/oauthgeneratetokens.js.map +1 -1
- package/dist/commonjs/models/operations/oauthrevoketokens.d.ts +12 -0
- package/dist/commonjs/models/operations/oauthrevoketokens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/oauthrevoketokens.js +10 -1
- package/dist/commonjs/models/operations/oauthrevoketokens.js.map +1 -1
- package/dist/commonjs/sdk/oauth.d.ts +2 -2
- package/dist/commonjs/sdk/oauth.d.ts.map +1 -1
- package/dist/commonjs/sdk/oauth.js +4 -4
- package/dist/commonjs/sdk/oauth.js.map +1 -1
- package/dist/esm/funcs/capturesCreate.d.ts +2 -0
- package/dist/esm/funcs/capturesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/capturesCreate.js +3 -1
- package/dist/esm/funcs/capturesCreate.js.map +1 -1
- package/dist/esm/funcs/capturesGet.d.ts +2 -0
- package/dist/esm/funcs/capturesGet.d.ts.map +1 -1
- package/dist/esm/funcs/capturesGet.js +3 -1
- package/dist/esm/funcs/capturesGet.js.map +1 -1
- package/dist/esm/funcs/capturesList.d.ts +2 -0
- package/dist/esm/funcs/capturesList.d.ts.map +1 -1
- package/dist/esm/funcs/capturesList.js +3 -1
- package/dist/esm/funcs/capturesList.js.map +1 -1
- package/dist/esm/funcs/chargebacksAll.d.ts +2 -0
- package/dist/esm/funcs/chargebacksAll.d.ts.map +1 -1
- package/dist/esm/funcs/chargebacksAll.js +3 -1
- package/dist/esm/funcs/chargebacksAll.js.map +1 -1
- package/dist/esm/funcs/chargebacksGet.d.ts +2 -0
- package/dist/esm/funcs/chargebacksGet.d.ts.map +1 -1
- package/dist/esm/funcs/chargebacksGet.js +3 -1
- package/dist/esm/funcs/chargebacksGet.js.map +1 -1
- package/dist/esm/funcs/chargebacksList.d.ts +2 -0
- package/dist/esm/funcs/chargebacksList.d.ts.map +1 -1
- package/dist/esm/funcs/chargebacksList.js +3 -1
- package/dist/esm/funcs/chargebacksList.js.map +1 -1
- package/dist/esm/funcs/customersCreate.d.ts +2 -0
- package/dist/esm/funcs/customersCreate.d.ts.map +1 -1
- package/dist/esm/funcs/customersCreate.js +3 -1
- package/dist/esm/funcs/customersCreate.js.map +1 -1
- package/dist/esm/funcs/customersCreatePayment.d.ts +2 -0
- package/dist/esm/funcs/customersCreatePayment.d.ts.map +1 -1
- package/dist/esm/funcs/customersCreatePayment.js +3 -1
- package/dist/esm/funcs/customersCreatePayment.js.map +1 -1
- package/dist/esm/funcs/customersDelete.d.ts +2 -0
- package/dist/esm/funcs/customersDelete.d.ts.map +1 -1
- package/dist/esm/funcs/customersDelete.js +3 -1
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersGet.d.ts +2 -0
- package/dist/esm/funcs/customersGet.d.ts.map +1 -1
- package/dist/esm/funcs/customersGet.js +3 -1
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersList.d.ts +2 -0
- package/dist/esm/funcs/customersList.d.ts.map +1 -1
- package/dist/esm/funcs/customersList.js +3 -1
- package/dist/esm/funcs/customersList.js.map +1 -1
- package/dist/esm/funcs/customersListPayments.d.ts +2 -0
- package/dist/esm/funcs/customersListPayments.d.ts.map +1 -1
- package/dist/esm/funcs/customersListPayments.js +3 -1
- package/dist/esm/funcs/customersListPayments.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.d.ts +2 -0
- package/dist/esm/funcs/customersUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/customersUpdate.js +3 -1
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingCreate.d.ts +2 -0
- package/dist/esm/funcs/delayedRoutingCreate.d.ts.map +1 -1
- package/dist/esm/funcs/delayedRoutingCreate.js +3 -1
- package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingGet.d.ts +2 -0
- package/dist/esm/funcs/delayedRoutingGet.d.ts.map +1 -1
- package/dist/esm/funcs/delayedRoutingGet.js +3 -1
- package/dist/esm/funcs/delayedRoutingGet.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingList.d.ts +2 -0
- package/dist/esm/funcs/delayedRoutingList.d.ts.map +1 -1
- package/dist/esm/funcs/delayedRoutingList.js +3 -1
- package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
- package/dist/esm/funcs/mandatesCreate.d.ts +2 -0
- package/dist/esm/funcs/mandatesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/mandatesCreate.js +3 -1
- package/dist/esm/funcs/mandatesCreate.js.map +1 -1
- package/dist/esm/funcs/mandatesGet.d.ts +2 -0
- package/dist/esm/funcs/mandatesGet.d.ts.map +1 -1
- package/dist/esm/funcs/mandatesGet.js +3 -1
- package/dist/esm/funcs/mandatesGet.js.map +1 -1
- package/dist/esm/funcs/mandatesList.d.ts +2 -0
- package/dist/esm/funcs/mandatesList.d.ts.map +1 -1
- package/dist/esm/funcs/mandatesList.js +3 -1
- package/dist/esm/funcs/mandatesList.js.map +1 -1
- package/dist/esm/funcs/mandatesRevoke.d.ts +2 -0
- package/dist/esm/funcs/mandatesRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/mandatesRevoke.js +3 -1
- package/dist/esm/funcs/mandatesRevoke.js.map +1 -1
- package/dist/esm/funcs/methodsAll.d.ts +2 -0
- package/dist/esm/funcs/methodsAll.d.ts.map +1 -1
- package/dist/esm/funcs/methodsAll.js +3 -1
- package/dist/esm/funcs/methodsAll.js.map +1 -1
- package/dist/esm/funcs/methodsGet.d.ts +2 -0
- package/dist/esm/funcs/methodsGet.d.ts.map +1 -1
- package/dist/esm/funcs/methodsGet.js +3 -1
- package/dist/esm/funcs/methodsGet.js.map +1 -1
- package/dist/esm/funcs/methodsList.d.ts +2 -0
- package/dist/esm/funcs/methodsList.d.ts.map +1 -1
- package/dist/esm/funcs/methodsList.js +3 -1
- package/dist/esm/funcs/methodsList.js.map +1 -1
- package/dist/esm/funcs/oauthGenerate.d.ts +1 -3
- package/dist/esm/funcs/oauthGenerate.d.ts.map +1 -1
- package/dist/esm/funcs/oauthGenerate.js +11 -9
- package/dist/esm/funcs/oauthGenerate.js.map +1 -1
- package/dist/esm/funcs/oauthRevoke.d.ts +1 -3
- package/dist/esm/funcs/oauthRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/oauthRevoke.js +11 -9
- package/dist/esm/funcs/oauthRevoke.js.map +1 -1
- package/dist/esm/funcs/paymentLinksCreate.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksCreate.js +3 -1
- package/dist/esm/funcs/paymentLinksCreate.js.map +1 -1
- package/dist/esm/funcs/paymentLinksDelete.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksDelete.js +3 -1
- package/dist/esm/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/esm/funcs/paymentLinksGet.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksGet.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksGet.js +3 -1
- package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
- package/dist/esm/funcs/paymentLinksList.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksList.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksList.js +3 -1
- package/dist/esm/funcs/paymentLinksList.js.map +1 -1
- package/dist/esm/funcs/paymentLinksListPayments.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksListPayments.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksListPayments.js +3 -1
- package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
- package/dist/esm/funcs/paymentLinksUpdate.d.ts +2 -0
- package/dist/esm/funcs/paymentLinksUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/paymentLinksUpdate.js +3 -1
- package/dist/esm/funcs/paymentLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/paymentsCancel.d.ts +2 -0
- package/dist/esm/funcs/paymentsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsCancel.js +3 -1
- package/dist/esm/funcs/paymentsCancel.js.map +1 -1
- package/dist/esm/funcs/paymentsCreate.d.ts +2 -0
- package/dist/esm/funcs/paymentsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsCreate.js +3 -1
- package/dist/esm/funcs/paymentsCreate.js.map +1 -1
- package/dist/esm/funcs/paymentsGet.d.ts +2 -0
- package/dist/esm/funcs/paymentsGet.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsGet.js +3 -1
- package/dist/esm/funcs/paymentsGet.js.map +1 -1
- package/dist/esm/funcs/paymentsList.d.ts +2 -0
- package/dist/esm/funcs/paymentsList.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsList.js +3 -1
- package/dist/esm/funcs/paymentsList.js.map +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts +2 -0
- package/dist/esm/funcs/paymentsReleaseAuthorization.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.js +3 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/esm/funcs/paymentsUpdate.d.ts +2 -0
- package/dist/esm/funcs/paymentsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/paymentsUpdate.js +3 -1
- package/dist/esm/funcs/paymentsUpdate.js.map +1 -1
- package/dist/esm/funcs/payoutsCancel.d.ts +2 -0
- package/dist/esm/funcs/payoutsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/payoutsCancel.js +3 -1
- package/dist/esm/funcs/payoutsCancel.js.map +1 -1
- package/dist/esm/funcs/payoutsCreate.d.ts +2 -0
- package/dist/esm/funcs/payoutsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/payoutsCreate.js +4 -6
- package/dist/esm/funcs/payoutsCreate.js.map +1 -1
- package/dist/esm/funcs/payoutsGet.d.ts +2 -0
- package/dist/esm/funcs/payoutsGet.d.ts.map +1 -1
- package/dist/esm/funcs/payoutsGet.js +3 -1
- package/dist/esm/funcs/payoutsGet.js.map +1 -1
- package/dist/esm/funcs/payoutsList.d.ts +2 -0
- package/dist/esm/funcs/payoutsList.d.ts.map +1 -1
- package/dist/esm/funcs/payoutsList.js +3 -1
- package/dist/esm/funcs/payoutsList.js.map +1 -1
- package/dist/esm/funcs/refundsAll.d.ts +2 -0
- package/dist/esm/funcs/refundsAll.d.ts.map +1 -1
- package/dist/esm/funcs/refundsAll.js +3 -1
- package/dist/esm/funcs/refundsAll.js.map +1 -1
- package/dist/esm/funcs/refundsCancel.d.ts +2 -0
- package/dist/esm/funcs/refundsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/refundsCancel.js +3 -1
- package/dist/esm/funcs/refundsCancel.js.map +1 -1
- package/dist/esm/funcs/refundsCreate.d.ts +2 -0
- package/dist/esm/funcs/refundsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +3 -1
- package/dist/esm/funcs/refundsCreate.js.map +1 -1
- package/dist/esm/funcs/refundsGet.d.ts +2 -0
- package/dist/esm/funcs/refundsGet.d.ts.map +1 -1
- package/dist/esm/funcs/refundsGet.js +3 -1
- package/dist/esm/funcs/refundsGet.js.map +1 -1
- package/dist/esm/funcs/refundsList.d.ts +2 -0
- package/dist/esm/funcs/refundsList.d.ts.map +1 -1
- package/dist/esm/funcs/refundsList.js +3 -1
- package/dist/esm/funcs/refundsList.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.d.ts +2 -0
- package/dist/esm/funcs/salesInvoicesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.js +3 -1
- package/dist/esm/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.d.ts +2 -0
- package/dist/esm/funcs/salesInvoicesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.js +3 -1
- package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.d.ts +2 -0
- package/dist/esm/funcs/salesInvoicesGet.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.js +3 -1
- package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesList.d.ts +2 -0
- package/dist/esm/funcs/salesInvoicesList.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesList.js +3 -1
- package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts +2 -0
- package/dist/esm/funcs/salesInvoicesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js +3 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/esm/funcs/sessionsCreate.d.ts +2 -0
- package/dist/esm/funcs/sessionsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/sessionsCreate.js +3 -1
- package/dist/esm/funcs/sessionsCreate.js.map +1 -1
- package/dist/esm/funcs/sessionsGet.d.ts +2 -0
- package/dist/esm/funcs/sessionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/sessionsGet.js +3 -1
- package/dist/esm/funcs/sessionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsAll.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsAll.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsAll.js +3 -1
- package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
- package/dist/esm/funcs/subscriptionsCancel.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsCancel.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsCancel.js +3 -1
- package/dist/esm/funcs/subscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/subscriptionsCreate.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsCreate.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsCreate.js +3 -1
- package/dist/esm/funcs/subscriptionsCreate.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +3 -1
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsList.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +3 -1
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/funcs/subscriptionsListPayments.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsListPayments.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsListPayments.js +3 -1
- package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.d.ts +2 -0
- package/dist/esm/funcs/subscriptionsUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js +3 -1
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/terminalsGet.d.ts +2 -0
- package/dist/esm/funcs/terminalsGet.d.ts.map +1 -1
- package/dist/esm/funcs/terminalsGet.js +3 -1
- package/dist/esm/funcs/terminalsGet.js.map +1 -1
- package/dist/esm/funcs/terminalsList.d.ts +2 -0
- package/dist/esm/funcs/terminalsList.d.ts.map +1 -1
- package/dist/esm/funcs/terminalsList.js +3 -1
- package/dist/esm/funcs/terminalsList.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts +2 -0
- package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js +3 -1
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts +2 -0
- package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersList.js +3 -1
- package/dist/esm/funcs/unmatchedCreditTransfersList.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts +2 -0
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js +3 -1
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts +2 -0
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js +3 -1
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
- package/dist/esm/funcs/walletsRequestApplePaySession.d.ts +2 -0
- package/dist/esm/funcs/walletsRequestApplePaySession.d.ts.map +1 -1
- package/dist/esm/funcs/walletsRequestApplePaySession.js +3 -1
- package/dist/esm/funcs/walletsRequestApplePaySession.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/operations/createpayout.d.ts +0 -23
- package/dist/esm/models/operations/createpayout.d.ts.map +1 -1
- package/dist/esm/models/operations/createpayout.js +0 -1
- package/dist/esm/models/operations/createpayout.js.map +1 -1
- package/dist/esm/models/operations/oauthgeneratetokens.d.ts +12 -0
- package/dist/esm/models/operations/oauthgeneratetokens.d.ts.map +1 -1
- package/dist/esm/models/operations/oauthgeneratetokens.js +8 -0
- package/dist/esm/models/operations/oauthgeneratetokens.js.map +1 -1
- package/dist/esm/models/operations/oauthrevoketokens.d.ts +12 -0
- package/dist/esm/models/operations/oauthrevoketokens.d.ts.map +1 -1
- package/dist/esm/models/operations/oauthrevoketokens.js +8 -0
- package/dist/esm/models/operations/oauthrevoketokens.js.map +1 -1
- package/dist/esm/sdk/oauth.d.ts +2 -2
- package/dist/esm/sdk/oauth.d.ts.map +1 -1
- package/dist/esm/sdk/oauth.js +4 -4
- package/dist/esm/sdk/oauth.js.map +1 -1
- package/examples/oauthGenerate.example.ts +4 -5
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/capturesCreate.ts +3 -1
- package/src/funcs/capturesGet.ts +3 -1
- package/src/funcs/capturesList.ts +3 -1
- package/src/funcs/chargebacksAll.ts +3 -1
- package/src/funcs/chargebacksGet.ts +3 -1
- package/src/funcs/chargebacksList.ts +3 -1
- package/src/funcs/customersCreate.ts +3 -1
- package/src/funcs/customersCreatePayment.ts +3 -1
- package/src/funcs/customersDelete.ts +3 -1
- package/src/funcs/customersGet.ts +3 -1
- package/src/funcs/customersList.ts +3 -1
- package/src/funcs/customersListPayments.ts +3 -1
- package/src/funcs/customersUpdate.ts +3 -1
- package/src/funcs/delayedRoutingCreate.ts +3 -1
- package/src/funcs/delayedRoutingGet.ts +3 -1
- package/src/funcs/delayedRoutingList.ts +3 -1
- package/src/funcs/mandatesCreate.ts +3 -1
- package/src/funcs/mandatesGet.ts +3 -1
- package/src/funcs/mandatesList.ts +3 -1
- package/src/funcs/mandatesRevoke.ts +3 -1
- package/src/funcs/methodsAll.ts +3 -1
- package/src/funcs/methodsGet.ts +3 -1
- package/src/funcs/methodsList.ts +3 -1
- package/src/funcs/oauthGenerate.ts +13 -6
- package/src/funcs/oauthRevoke.ts +13 -6
- package/src/funcs/paymentLinksCreate.ts +3 -1
- package/src/funcs/paymentLinksDelete.ts +3 -1
- package/src/funcs/paymentLinksGet.ts +3 -1
- package/src/funcs/paymentLinksList.ts +3 -1
- package/src/funcs/paymentLinksListPayments.ts +3 -1
- package/src/funcs/paymentLinksUpdate.ts +3 -1
- package/src/funcs/paymentsCancel.ts +3 -1
- package/src/funcs/paymentsCreate.ts +3 -1
- package/src/funcs/paymentsGet.ts +3 -1
- package/src/funcs/paymentsList.ts +3 -1
- package/src/funcs/paymentsReleaseAuthorization.ts +3 -1
- package/src/funcs/paymentsUpdate.ts +3 -1
- package/src/funcs/payoutsCancel.ts +3 -1
- package/src/funcs/payoutsCreate.ts +4 -7
- package/src/funcs/payoutsGet.ts +3 -1
- package/src/funcs/payoutsList.ts +3 -1
- package/src/funcs/refundsAll.ts +3 -1
- package/src/funcs/refundsCancel.ts +3 -1
- package/src/funcs/refundsCreate.ts +3 -1
- package/src/funcs/refundsGet.ts +3 -1
- package/src/funcs/refundsList.ts +3 -1
- package/src/funcs/salesInvoicesCreate.ts +3 -1
- package/src/funcs/salesInvoicesDelete.ts +3 -1
- package/src/funcs/salesInvoicesGet.ts +3 -1
- package/src/funcs/salesInvoicesList.ts +3 -1
- package/src/funcs/salesInvoicesUpdate.ts +3 -1
- package/src/funcs/sessionsCreate.ts +3 -1
- package/src/funcs/sessionsGet.ts +3 -1
- package/src/funcs/subscriptionsAll.ts +3 -1
- package/src/funcs/subscriptionsCancel.ts +3 -1
- package/src/funcs/subscriptionsCreate.ts +3 -1
- package/src/funcs/subscriptionsGet.ts +3 -1
- package/src/funcs/subscriptionsList.ts +3 -1
- package/src/funcs/subscriptionsListPayments.ts +3 -1
- package/src/funcs/subscriptionsUpdate.ts +3 -1
- package/src/funcs/terminalsGet.ts +3 -1
- package/src/funcs/terminalsList.ts +3 -1
- package/src/funcs/unmatchedCreditTransfersGet.ts +3 -1
- package/src/funcs/unmatchedCreditTransfersList.ts +3 -1
- package/src/funcs/unmatchedCreditTransfersMatch.ts +3 -1
- package/src/funcs/unmatchedCreditTransfersReturn.ts +3 -1
- package/src/funcs/walletsRequestApplePaySession.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/createpayout.ts +0 -25
- package/src/models/operations/oauthgeneratetokens.ts +31 -0
- package/src/models/operations/oauthrevoketokens.ts +29 -0
- package/src/sdk/oauth.ts +4 -0
package/src/funcs/mandatesGet.ts
CHANGED
|
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single mandate by its ID. Depending on the type of mandate, the object will contain the customer's bank
|
|
36
36
|
* account details, card details, or PayPal account details.
|
|
37
|
+
*
|
|
38
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
37
39
|
*/
|
|
38
40
|
export function mandatesGet(
|
|
39
41
|
client: ClientCore,
|
|
@@ -120,7 +122,7 @@ async function $do(
|
|
|
120
122
|
}));
|
|
121
123
|
|
|
122
124
|
const securityInput = await extractSecurity(client._options.security);
|
|
123
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
124
126
|
|
|
125
127
|
const context = {
|
|
126
128
|
options: client._options,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve a list of all mandates.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function mandatesList(
|
|
47
49
|
client: ClientCore,
|
|
@@ -136,7 +138,7 @@ async function $do(
|
|
|
136
138
|
}));
|
|
137
139
|
|
|
138
140
|
const securityInput = await extractSecurity(client._options.security);
|
|
139
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
141
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
140
142
|
|
|
141
143
|
const context = {
|
|
142
144
|
options: client._options,
|
|
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Revoke a customer's mandate. You will no longer be able to charge the customer's bank account or card with this
|
|
36
36
|
* mandate, and all connected subscriptions will be canceled.
|
|
37
|
+
*
|
|
38
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
37
39
|
*/
|
|
38
40
|
export function mandatesRevoke(
|
|
39
41
|
client: ClientCore,
|
|
@@ -117,7 +119,7 @@ async function $do(
|
|
|
117
119
|
}));
|
|
118
120
|
|
|
119
121
|
const securityInput = await extractSecurity(client._options.security);
|
|
120
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
122
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
121
123
|
|
|
122
124
|
const context = {
|
|
123
125
|
options: client._options,
|
package/src/funcs/methodsAll.ts
CHANGED
|
@@ -43,6 +43,8 @@ import { Result } from "../types/fp.js";
|
|
|
43
43
|
*
|
|
44
44
|
* ℹ️ **Note:** This endpoint only returns **online** payment methods. If you wish to retrieve the information about
|
|
45
45
|
* a non-online payment method, you can use the [Get payment method endpoint](get-method).
|
|
46
|
+
*
|
|
47
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
46
48
|
*/
|
|
47
49
|
export function methodsAll(
|
|
48
50
|
client: ClientCore,
|
|
@@ -127,7 +129,7 @@ async function $do(
|
|
|
127
129
|
}));
|
|
128
130
|
|
|
129
131
|
const securityInput = await extractSecurity(client._options.security);
|
|
130
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
132
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
131
133
|
|
|
132
134
|
const context = {
|
|
133
135
|
options: client._options,
|
package/src/funcs/methodsGet.ts
CHANGED
|
@@ -44,6 +44,8 @@ import { Result } from "../types/fp.js";
|
|
|
44
44
|
*
|
|
45
45
|
* Additionally, it is possible to check if wallet methods such as Apple Pay
|
|
46
46
|
* are enabled by passing the wallet ID (`applepay`) as the method ID.
|
|
47
|
+
*
|
|
48
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
47
49
|
*/
|
|
48
50
|
export function methodsGet(
|
|
49
51
|
client: ClientCore,
|
|
@@ -129,7 +131,7 @@ async function $do(
|
|
|
129
131
|
}));
|
|
130
132
|
|
|
131
133
|
const securityInput = await extractSecurity(client._options.security);
|
|
132
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
134
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
133
135
|
|
|
134
136
|
const context = {
|
|
135
137
|
options: client._options,
|
package/src/funcs/methodsList.ts
CHANGED
|
@@ -55,6 +55,8 @@ import { Result } from "../types/fp.js";
|
|
|
55
55
|
*
|
|
56
56
|
* ℹ️ **Note:** This endpoint only returns **online** payment methods. If you wish to retrieve the information about
|
|
57
57
|
* a non-online payment method, you can use the [Get payment method endpoint](get-method).
|
|
58
|
+
*
|
|
59
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
58
60
|
*/
|
|
59
61
|
export function methodsList(
|
|
60
62
|
client: ClientCore,
|
|
@@ -143,7 +145,7 @@ async function $do(
|
|
|
143
145
|
}));
|
|
144
146
|
|
|
145
147
|
const securityInput = await extractSecurity(client._options.security);
|
|
146
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
148
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
147
149
|
|
|
148
150
|
const context = {
|
|
149
151
|
options: client._options,
|
|
@@ -10,7 +10,7 @@ import * as M from "../lib/matchers.js";
|
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
11
11
|
import { safeParse } from "../lib/schemas.js";
|
|
12
12
|
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
-
import {
|
|
13
|
+
import { resolveSecurity } from "../lib/security.js";
|
|
14
14
|
import { pathToFunc } from "../lib/url.js";
|
|
15
15
|
import { ClientError } from "../models/errors/clienterror.js";
|
|
16
16
|
import {
|
|
@@ -35,11 +35,10 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* API credential, with which you can communicate with the Mollie API on behalf of the consenting merchant.
|
|
36
36
|
*
|
|
37
37
|
* This endpoint can only be accessed using **OAuth client credentials**.
|
|
38
|
-
*
|
|
39
|
-
* If set, this operation will use {@link Security.oAuth} from the global security.
|
|
40
38
|
*/
|
|
41
39
|
export function oauthGenerate(
|
|
42
40
|
client: ClientCore,
|
|
41
|
+
security: operations.OauthGenerateTokensSecurity,
|
|
43
42
|
request?: operations.OauthGenerateTokensRequest | undefined,
|
|
44
43
|
options?: RequestOptions,
|
|
45
44
|
): APIPromise<
|
|
@@ -57,6 +56,7 @@ export function oauthGenerate(
|
|
|
57
56
|
> {
|
|
58
57
|
return new APIPromise($do(
|
|
59
58
|
client,
|
|
59
|
+
security,
|
|
60
60
|
request,
|
|
61
61
|
options,
|
|
62
62
|
));
|
|
@@ -64,6 +64,7 @@ export function oauthGenerate(
|
|
|
64
64
|
|
|
65
65
|
async function $do(
|
|
66
66
|
client: ClientCore,
|
|
67
|
+
security: operations.OauthGenerateTokensSecurity,
|
|
67
68
|
request?: operations.OauthGenerateTokensRequest | undefined,
|
|
68
69
|
options?: RequestOptions,
|
|
69
70
|
): Promise<
|
|
@@ -113,8 +114,14 @@ async function $do(
|
|
|
113
114
|
),
|
|
114
115
|
}));
|
|
115
116
|
|
|
116
|
-
const
|
|
117
|
-
|
|
117
|
+
const requestSecurity = resolveSecurity(
|
|
118
|
+
[
|
|
119
|
+
{
|
|
120
|
+
type: "http:basic",
|
|
121
|
+
value: { username: security?.username, password: security?.password },
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
);
|
|
118
125
|
|
|
119
126
|
const context = {
|
|
120
127
|
options: client._options,
|
|
@@ -124,7 +131,7 @@ async function $do(
|
|
|
124
131
|
|
|
125
132
|
resolvedSecurity: requestSecurity,
|
|
126
133
|
|
|
127
|
-
securitySource:
|
|
134
|
+
securitySource: security,
|
|
128
135
|
retryConfig: options?.retries
|
|
129
136
|
|| client._options.retryConfig
|
|
130
137
|
|| {
|
package/src/funcs/oauthRevoke.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as M from "../lib/matchers.js";
|
|
|
11
11
|
import { compactMap } from "../lib/primitives.js";
|
|
12
12
|
import { safeParse } from "../lib/schemas.js";
|
|
13
13
|
import { RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import {
|
|
14
|
+
import { resolveSecurity } from "../lib/security.js";
|
|
15
15
|
import { pathToFunc } from "../lib/url.js";
|
|
16
16
|
import { ClientError } from "../models/errors/clienterror.js";
|
|
17
17
|
import {
|
|
@@ -37,11 +37,10 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* Revoking a refresh token revokes all access tokens that were created using the same authorization.
|
|
38
38
|
*
|
|
39
39
|
* This endpoint can only be accessed using **OAuth client credentials**.
|
|
40
|
-
*
|
|
41
|
-
* If set, this operation will use {@link Security.oAuth} from the global security.
|
|
42
40
|
*/
|
|
43
41
|
export function oauthRevoke(
|
|
44
42
|
client: ClientCore,
|
|
43
|
+
security: operations.OauthRevokeTokensSecurity,
|
|
45
44
|
request?: operations.OauthRevokeTokensRequest | undefined,
|
|
46
45
|
options?: RequestOptions,
|
|
47
46
|
): APIPromise<
|
|
@@ -59,6 +58,7 @@ export function oauthRevoke(
|
|
|
59
58
|
> {
|
|
60
59
|
return new APIPromise($do(
|
|
61
60
|
client,
|
|
61
|
+
security,
|
|
62
62
|
request,
|
|
63
63
|
options,
|
|
64
64
|
));
|
|
@@ -66,6 +66,7 @@ export function oauthRevoke(
|
|
|
66
66
|
|
|
67
67
|
async function $do(
|
|
68
68
|
client: ClientCore,
|
|
69
|
+
security: operations.OauthRevokeTokensSecurity,
|
|
69
70
|
request?: operations.OauthRevokeTokensRequest | undefined,
|
|
70
71
|
options?: RequestOptions,
|
|
71
72
|
): Promise<
|
|
@@ -115,8 +116,14 @@ async function $do(
|
|
|
115
116
|
),
|
|
116
117
|
}));
|
|
117
118
|
|
|
118
|
-
const
|
|
119
|
-
|
|
119
|
+
const requestSecurity = resolveSecurity(
|
|
120
|
+
[
|
|
121
|
+
{
|
|
122
|
+
type: "http:basic",
|
|
123
|
+
value: { username: security?.username, password: security?.password },
|
|
124
|
+
},
|
|
125
|
+
],
|
|
126
|
+
);
|
|
120
127
|
|
|
121
128
|
const context = {
|
|
122
129
|
options: client._options,
|
|
@@ -126,7 +133,7 @@ async function $do(
|
|
|
126
133
|
|
|
127
134
|
resolvedSecurity: requestSecurity,
|
|
128
135
|
|
|
129
|
-
securitySource:
|
|
136
|
+
securitySource: security,
|
|
130
137
|
retryConfig: options?.retries
|
|
131
138
|
|| client._options.retryConfig
|
|
132
139
|
|| {
|
|
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* With the Payment links API you can generate payment links that by default, unlike regular payments, do not expire.
|
|
36
36
|
* The payment link can be shared with your customers and will redirect them to them the payment page where they can
|
|
37
37
|
* complete the payment. A [payment](get-payment) will only be created once the customer initiates the payment.
|
|
38
|
+
*
|
|
39
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
38
40
|
*/
|
|
39
41
|
export function paymentLinksCreate(
|
|
40
42
|
client: ClientCore,
|
|
@@ -109,7 +111,7 @@ async function $do(
|
|
|
109
111
|
}));
|
|
110
112
|
|
|
111
113
|
const securityInput = await extractSecurity(client._options.security);
|
|
112
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
113
115
|
|
|
114
116
|
const context = {
|
|
115
117
|
options: client._options,
|
|
@@ -39,6 +39,8 @@ import { Result } from "../types/fp.js";
|
|
|
39
39
|
*
|
|
40
40
|
* To simply disable a payment link without fully deleting it, you can use the `archived` parameter on the
|
|
41
41
|
* [Update payment link](update-payment-link) endpoint instead.
|
|
42
|
+
*
|
|
43
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
42
44
|
*/
|
|
43
45
|
export function paymentLinksDelete(
|
|
44
46
|
client: ClientCore,
|
|
@@ -116,7 +118,7 @@ async function $do(
|
|
|
116
118
|
}));
|
|
117
119
|
|
|
118
120
|
const securityInput = await extractSecurity(client._options.security);
|
|
119
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
121
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
120
122
|
|
|
121
123
|
const context = {
|
|
122
124
|
options: client._options,
|
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single payment link by its ID.
|
|
36
|
+
*
|
|
37
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
36
38
|
*/
|
|
37
39
|
export function paymentLinksGet(
|
|
38
40
|
client: ClientCore,
|
|
@@ -113,7 +115,7 @@ async function $do(
|
|
|
113
115
|
}));
|
|
114
116
|
|
|
115
117
|
const securityInput = await extractSecurity(client._options.security);
|
|
116
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
117
119
|
|
|
118
120
|
const context = {
|
|
119
121
|
options: client._options,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve a list of all payment links.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function paymentLinksList(
|
|
47
49
|
client: ClientCore,
|
|
@@ -129,7 +131,7 @@ async function $do(
|
|
|
129
131
|
}));
|
|
130
132
|
|
|
131
133
|
const securityInput = await extractSecurity(client._options.security);
|
|
132
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
134
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
133
135
|
|
|
134
136
|
const context = {
|
|
135
137
|
options: client._options,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve the list of payments for a specific payment link.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function paymentLinksListPayments(
|
|
47
49
|
client: ClientCore,
|
|
@@ -136,7 +138,7 @@ async function $do(
|
|
|
136
138
|
}));
|
|
137
139
|
|
|
138
140
|
const securityInput = await extractSecurity(client._options.security);
|
|
139
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
141
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
140
142
|
|
|
141
143
|
const context = {
|
|
142
144
|
options: client._options,
|
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Certain details of an existing payment link can be updated.
|
|
36
|
+
*
|
|
37
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
36
38
|
*/
|
|
37
39
|
export function paymentLinksUpdate(
|
|
38
40
|
client: ClientCore,
|
|
@@ -110,7 +112,7 @@ async function $do(
|
|
|
110
112
|
}));
|
|
111
113
|
|
|
112
114
|
const securityInput = await extractSecurity(client._options.security);
|
|
113
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
115
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
114
116
|
|
|
115
117
|
const context = {
|
|
116
118
|
options: client._options,
|
|
@@ -38,6 +38,8 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
* Payments may also be canceled manually from the Mollie Dashboard.
|
|
39
39
|
*
|
|
40
40
|
* The `isCancelable` property on the [Payment object](get-payment) will indicate if the payment can be canceled.
|
|
41
|
+
*
|
|
42
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
41
43
|
*/
|
|
42
44
|
export function paymentsCancel(
|
|
43
45
|
client: ClientCore,
|
|
@@ -115,7 +117,7 @@ async function $do(
|
|
|
115
117
|
}));
|
|
116
118
|
|
|
117
119
|
const securityInput = await extractSecurity(client._options.security);
|
|
118
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
120
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
119
121
|
|
|
120
122
|
const context = {
|
|
121
123
|
options: client._options,
|
|
@@ -44,6 +44,8 @@ import { Result } from "../types/fp.js";
|
|
|
44
44
|
* If you specify the `method` parameter when creating a payment, optional
|
|
45
45
|
* additional parameters may be available for the payment method that are not listed below. Please refer to the
|
|
46
46
|
* guide on [method-specific parameters](extra-payment-parameters).
|
|
47
|
+
*
|
|
48
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
47
49
|
*/
|
|
48
50
|
export function paymentsCreate(
|
|
49
51
|
client: ClientCore,
|
|
@@ -122,7 +124,7 @@ async function $do(
|
|
|
122
124
|
}));
|
|
123
125
|
|
|
124
126
|
const securityInput = await extractSecurity(client._options.security);
|
|
125
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
127
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
126
128
|
|
|
127
129
|
const context = {
|
|
128
130
|
options: client._options,
|
package/src/funcs/paymentsGet.ts
CHANGED
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single payment object by its payment ID.
|
|
36
|
+
*
|
|
37
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
36
38
|
*/
|
|
37
39
|
export function paymentsGet(
|
|
38
40
|
client: ClientCore,
|
|
@@ -115,7 +117,7 @@ async function $do(
|
|
|
115
117
|
}));
|
|
116
118
|
|
|
117
119
|
const securityInput = await extractSecurity(client._options.security);
|
|
118
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
120
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
119
121
|
|
|
120
122
|
const context = {
|
|
121
123
|
options: client._options,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve all payments created with the current website profile.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function paymentsList(
|
|
47
49
|
client: ClientCore,
|
|
@@ -131,7 +133,7 @@ async function $do(
|
|
|
131
133
|
}));
|
|
132
134
|
|
|
133
135
|
const securityInput = await extractSecurity(client._options.security);
|
|
134
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
136
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
135
137
|
|
|
136
138
|
const context = {
|
|
137
139
|
options: client._options,
|
|
@@ -40,6 +40,8 @@ import { Result } from "../types/fp.js";
|
|
|
40
40
|
*
|
|
41
41
|
* If the request does succeed, the payment status will change to `canceled` for payments without captures.
|
|
42
42
|
* If there is a successful capture, the payment will transition to `paid`.
|
|
43
|
+
*
|
|
44
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
43
45
|
*/
|
|
44
46
|
export function paymentsReleaseAuthorization(
|
|
45
47
|
client: ClientCore,
|
|
@@ -120,7 +122,7 @@ async function $do(
|
|
|
120
122
|
}));
|
|
121
123
|
|
|
122
124
|
const securityInput = await extractSecurity(client._options.security);
|
|
123
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
124
126
|
|
|
125
127
|
const context = {
|
|
126
128
|
options: client._options,
|
|
@@ -35,6 +35,8 @@ import { Result } from "../types/fp.js";
|
|
|
35
35
|
* Certain details of an existing payment can be updated.
|
|
36
36
|
*
|
|
37
37
|
* Updating the payment details will not result in a webhook call.
|
|
38
|
+
*
|
|
39
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
38
40
|
*/
|
|
39
41
|
export function paymentsUpdate(
|
|
40
42
|
client: ClientCore,
|
|
@@ -112,7 +114,7 @@ async function $do(
|
|
|
112
114
|
}));
|
|
113
115
|
|
|
114
116
|
const securityInput = await extractSecurity(client._options.security);
|
|
115
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
117
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
116
118
|
|
|
117
119
|
const context = {
|
|
118
120
|
options: client._options,
|
|
@@ -36,6 +36,8 @@ import { Result } from "../types/fp.js";
|
|
|
36
36
|
* to `initiated`, it is too late to cancel.
|
|
37
37
|
*
|
|
38
38
|
* The canceled payout object is returned with the status set to `canceled`.
|
|
39
|
+
*
|
|
40
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
39
41
|
*/
|
|
40
42
|
export function payoutsCancel(
|
|
41
43
|
client: ClientCore,
|
|
@@ -116,7 +118,7 @@ async function $do(
|
|
|
116
118
|
}));
|
|
117
119
|
|
|
118
120
|
const securityInput = await extractSecurity(client._options.security);
|
|
119
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
121
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
120
122
|
|
|
121
123
|
const context = {
|
|
122
124
|
options: client._options,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { ClientCore } from "../core.js";
|
|
7
|
-
import {
|
|
7
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
8
8
|
import { matchStatusCode } from "../lib/http.js";
|
|
9
9
|
import * as M from "../lib/matchers.js";
|
|
10
10
|
import { compactMap } from "../lib/primitives.js";
|
|
@@ -68,6 +68,8 @@ import { Result } from "../types/fp.js";
|
|
|
68
68
|
* - The balance has queued refunds.
|
|
69
69
|
* - One of the organization's balances is below the negative balance threshold.
|
|
70
70
|
* - The payout destination (bank account) is invalid or not configured.
|
|
71
|
+
*
|
|
72
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
71
73
|
*/
|
|
72
74
|
export function payoutsCreate(
|
|
73
75
|
client: ClientCore,
|
|
@@ -128,10 +130,6 @@ async function $do(
|
|
|
128
130
|
|
|
129
131
|
const path = pathToFunc("/v2/payouts")();
|
|
130
132
|
|
|
131
|
-
const query = encodeFormQuery({
|
|
132
|
-
"testmode": payload.testmode ?? client._options.testmode,
|
|
133
|
-
});
|
|
134
|
-
|
|
135
133
|
const headers = new Headers(compactMap({
|
|
136
134
|
"Content-Type": "application/json",
|
|
137
135
|
Accept: "application/hal+json",
|
|
@@ -143,7 +141,7 @@ async function $do(
|
|
|
143
141
|
}));
|
|
144
142
|
|
|
145
143
|
const securityInput = await extractSecurity(client._options.security);
|
|
146
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
144
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
147
145
|
|
|
148
146
|
const context = {
|
|
149
147
|
options: client._options,
|
|
@@ -176,7 +174,6 @@ async function $do(
|
|
|
176
174
|
baseURL: options?.serverURL,
|
|
177
175
|
path: path,
|
|
178
176
|
headers: headers,
|
|
179
|
-
query: query,
|
|
180
177
|
body: body,
|
|
181
178
|
userAgent: client._options.userAgent,
|
|
182
179
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
package/src/funcs/payoutsGet.ts
CHANGED
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single payout by its ID.
|
|
36
|
+
*
|
|
37
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
36
38
|
*/
|
|
37
39
|
export function payoutsGet(
|
|
38
40
|
client: ClientCore,
|
|
@@ -113,7 +115,7 @@ async function $do(
|
|
|
113
115
|
}));
|
|
114
116
|
|
|
115
117
|
const securityInput = await extractSecurity(client._options.security);
|
|
116
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
117
119
|
|
|
118
120
|
const context = {
|
|
119
121
|
options: client._options,
|
package/src/funcs/payoutsList.ts
CHANGED
|
@@ -46,6 +46,8 @@ import {
|
|
|
46
46
|
*
|
|
47
47
|
* The results are paginated. Use the `from` query parameter together with `_links.next` to iterate through
|
|
48
48
|
* the full result set.
|
|
49
|
+
*
|
|
50
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
49
51
|
*/
|
|
50
52
|
export function payoutsList(
|
|
51
53
|
client: ClientCore,
|
|
@@ -135,7 +137,7 @@ async function $do(
|
|
|
135
137
|
}));
|
|
136
138
|
|
|
137
139
|
const securityInput = await extractSecurity(client._options.security);
|
|
138
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
140
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
139
141
|
|
|
140
142
|
const context = {
|
|
141
143
|
options: client._options,
|
package/src/funcs/refundsAll.ts
CHANGED
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve a list of all of your refunds.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function refundsAll(
|
|
47
49
|
client: ClientCore,
|
|
@@ -132,7 +134,7 @@ async function $do(
|
|
|
132
134
|
}));
|
|
133
135
|
|
|
134
136
|
const securityInput = await extractSecurity(client._options.security);
|
|
135
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
137
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
136
138
|
|
|
137
139
|
const context = {
|
|
138
140
|
options: client._options,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
*
|
|
38
38
|
* A refund can only be canceled while its `status` field is either `queued` or `pending`. See the
|
|
39
39
|
* [Get refund endpoint](get-refund) for more information.
|
|
40
|
+
*
|
|
41
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
40
42
|
*/
|
|
41
43
|
export function refundsCancel(
|
|
42
44
|
client: ClientCore,
|
|
@@ -123,7 +125,7 @@ async function $do(
|
|
|
123
125
|
}));
|
|
124
126
|
|
|
125
127
|
const securityInput = await extractSecurity(client._options.security);
|
|
126
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
128
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
127
129
|
|
|
128
130
|
const context = {
|
|
129
131
|
options: client._options,
|
|
@@ -34,6 +34,8 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
* @remarks
|
|
35
35
|
* Creates a refund for a specific payment. The refunded amount is credited to your customer usually either via a bank
|
|
36
36
|
* transfer or by refunding the amount to your customer's credit card.
|
|
37
|
+
*
|
|
38
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
37
39
|
*/
|
|
38
40
|
export function refundsCreate(
|
|
39
41
|
client: ClientCore,
|
|
@@ -111,7 +113,7 @@ async function $do(
|
|
|
111
113
|
}));
|
|
112
114
|
|
|
113
115
|
const securityInput = await extractSecurity(client._options.security);
|
|
114
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
116
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
115
117
|
|
|
116
118
|
const context = {
|
|
117
119
|
options: client._options,
|
package/src/funcs/refundsGet.ts
CHANGED
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single payment refund by its ID and the ID of its parent payment.
|
|
36
|
+
*
|
|
37
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
36
38
|
*/
|
|
37
39
|
export function refundsGet(
|
|
38
40
|
client: ClientCore,
|
|
@@ -120,7 +122,7 @@ async function $do(
|
|
|
120
122
|
}));
|
|
121
123
|
|
|
122
124
|
const securityInput = await extractSecurity(client._options.security);
|
|
123
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
124
126
|
|
|
125
127
|
const context = {
|
|
126
128
|
options: client._options,
|
package/src/funcs/refundsList.ts
CHANGED
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve a list of all refunds created for a specific payment.
|
|
43
43
|
*
|
|
44
44
|
* The results are paginated.
|
|
45
|
+
*
|
|
46
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
45
47
|
*/
|
|
46
48
|
export function refundsList(
|
|
47
49
|
client: ClientCore,
|
|
@@ -135,7 +137,7 @@ async function $do(
|
|
|
135
137
|
}));
|
|
136
138
|
|
|
137
139
|
const securityInput = await extractSecurity(client._options.security);
|
|
138
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
140
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
139
141
|
|
|
140
142
|
const context = {
|
|
141
143
|
options: client._options,
|