mollie-api-typescript 1.7.2 → 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 +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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 +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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 +3 -3
- 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
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* With the Sales Invoice API you can generate sales invoices to send to your customers.
|
|
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 salesInvoicesCreate(
|
|
42
44
|
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,
|
|
@@ -38,6 +38,8 @@ import { Result } from "../types/fp.js";
|
|
|
38
38
|
*
|
|
39
39
|
* Sales invoices which are in status `draft` can be deleted. For all other statuses, please use the
|
|
40
40
|
* [Update sales invoice](update-sales-invoice) endpoint instead.
|
|
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 salesInvoicesDelete(
|
|
43
45
|
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,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in beta testing, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* Retrieve a single sales invoice by its ID.
|
|
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 salesInvoicesGet(
|
|
42
44
|
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,
|
|
@@ -46,6 +46,8 @@ import {
|
|
|
46
46
|
* Retrieve a list of all sales invoices created through the API.
|
|
47
47
|
*
|
|
48
48
|
* The results are paginated.
|
|
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 salesInvoicesList(
|
|
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,
|
|
@@ -39,6 +39,8 @@ import { Result } from "../types/fp.js";
|
|
|
39
39
|
* Certain details of an existing sales invoice can be updated. For `draft` it is all values listed below, but for
|
|
40
40
|
* statuses `paid` and `issued` there are certain additional requirements (`paymentDetails` and `emailDetails`,
|
|
41
41
|
* respectively).
|
|
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 salesInvoicesUpdate(
|
|
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,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in private beta, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* Create a session to start a checkout process with Mollie Components.
|
|
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 sessionsCreate(
|
|
42
44
|
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/sessionsGet.ts
CHANGED
|
@@ -36,6 +36,8 @@ import { Result } from "../types/fp.js";
|
|
|
36
36
|
* > This feature is currently in private beta, and the final specification may still change.
|
|
37
37
|
*
|
|
38
38
|
* Retrieve a session to view its details and status to inform your customers about the checkout process.
|
|
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 sessionsGet(
|
|
41
43
|
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,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve all subscriptions initiated across all your customers.
|
|
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 subscriptionsAll(
|
|
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,
|
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Cancel an existing subscription. Canceling a subscription has no effect on the mandates of the customer.
|
|
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 subscriptionsCancel(
|
|
38
40
|
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,
|
|
@@ -51,6 +51,8 @@ import { Result } from "../types/fp.js";
|
|
|
51
51
|
* `amount[currency]="EUR"` `amount[value]="10.00"` `interval="1 month"`
|
|
52
52
|
* `startDate="2018-04-30"`
|
|
53
53
|
* Your customer will be charged €10 on the last day of each month, starting in April 2018.
|
|
54
|
+
*
|
|
55
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
54
56
|
*/
|
|
55
57
|
export function subscriptionsCreate(
|
|
56
58
|
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,
|
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single subscription by its ID and the ID of its parent customer.
|
|
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 subscriptionsGet(
|
|
38
40
|
client: ClientCore,
|
|
@@ -119,7 +121,7 @@ async function $do(
|
|
|
119
121
|
}));
|
|
120
122
|
|
|
121
123
|
const securityInput = await extractSecurity(client._options.security);
|
|
122
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
124
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
123
125
|
|
|
124
126
|
const context = {
|
|
125
127
|
options: client._options,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve all subscriptions of a customer.
|
|
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 subscriptionsList(
|
|
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,
|
|
@@ -42,6 +42,8 @@ import {
|
|
|
42
42
|
* Retrieve all payments of a specific subscription.
|
|
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 subscriptionsListPayments(
|
|
47
49
|
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,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* Canceled subscriptions cannot be updated.
|
|
38
38
|
*
|
|
39
39
|
* For an in-depth explanation of each parameter, refer to the [Create subscription](create-subscription) endpoint.
|
|
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 subscriptionsUpdate(
|
|
42
44
|
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,
|
|
@@ -33,6 +33,8 @@ import { Result } from "../types/fp.js";
|
|
|
33
33
|
*
|
|
34
34
|
* @remarks
|
|
35
35
|
* Retrieve a single terminal 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 terminalsGet(
|
|
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 physical point-of-sale devices.
|
|
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 terminalsList(
|
|
47
49
|
client: ClientCore,
|
|
@@ -130,7 +132,7 @@ async function $do(
|
|
|
130
132
|
}));
|
|
131
133
|
|
|
132
134
|
const securityInput = await extractSecurity(client._options.security);
|
|
133
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
135
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
134
136
|
|
|
135
137
|
const context = {
|
|
136
138
|
options: client._options,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in private beta, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* Retrieves a single unmatched credit transfer by its identifier.
|
|
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 unmatchedCreditTransfersGet(
|
|
42
44
|
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,
|
|
@@ -46,6 +46,8 @@ import {
|
|
|
46
46
|
* Retrieves a list of unmatched credit transfers for the profile.
|
|
47
47
|
*
|
|
48
48
|
* The results are paginated.
|
|
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 unmatchedCreditTransfersList(
|
|
51
53
|
client: ClientCore,
|
|
@@ -133,7 +135,7 @@ async function $do(
|
|
|
133
135
|
}));
|
|
134
136
|
|
|
135
137
|
const securityInput = await extractSecurity(client._options.security);
|
|
136
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
138
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
137
139
|
|
|
138
140
|
const context = {
|
|
139
141
|
options: client._options,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in private beta, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* Matches an unmatched credit transfer to one or more payments, settling the funds accordingly.
|
|
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 unmatchedCreditTransfersMatch(
|
|
42
44
|
client: ClientCore,
|
|
@@ -124,7 +126,7 @@ async function $do(
|
|
|
124
126
|
}));
|
|
125
127
|
|
|
126
128
|
const securityInput = await extractSecurity(client._options.security);
|
|
127
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
129
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
128
130
|
|
|
129
131
|
const context = {
|
|
130
132
|
options: client._options,
|
|
@@ -37,6 +37,8 @@ import { Result } from "../types/fp.js";
|
|
|
37
37
|
* > This feature is currently in private beta, and the final specification may still change.
|
|
38
38
|
*
|
|
39
39
|
* Returns an unmatched credit transfer, sending the funds back to the original sender.
|
|
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 unmatchedCreditTransfersReturn(
|
|
42
44
|
client: ClientCore,
|
|
@@ -119,7 +121,7 @@ async function $do(
|
|
|
119
121
|
}));
|
|
120
122
|
|
|
121
123
|
const securityInput = await extractSecurity(client._options.security);
|
|
122
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
124
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
123
125
|
|
|
124
126
|
const context = {
|
|
125
127
|
options: client._options,
|
|
@@ -51,6 +51,8 @@ import { Result } from "../types/fp.js";
|
|
|
51
51
|
* Payment sessions cannot be requested directly from the browser. The request must be sent from your server. For the
|
|
52
52
|
* full documentation, see the official
|
|
53
53
|
* [Apple Pay JS API](https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_js_api) documentation.
|
|
54
|
+
*
|
|
55
|
+
* If set, this operation will use one of {@link Security.apiKey}, {@link Security.advancedAccessToken}, or {@link Security.oAuth} from the global security.
|
|
54
56
|
*/
|
|
55
57
|
export function walletsRequestApplePaySession(
|
|
56
58
|
client: ClientCore,
|
|
@@ -124,7 +126,7 @@ async function $do(
|
|
|
124
126
|
}));
|
|
125
127
|
|
|
126
128
|
const securityInput = await extractSecurity(client._options.security);
|
|
127
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
129
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0, 1, 2]);
|
|
128
130
|
|
|
129
131
|
const context = {
|
|
130
132
|
options: client._options,
|
package/src/lib/config.ts
CHANGED
|
@@ -78,8 +78,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
78
78
|
export const SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "1.0.0",
|
|
81
|
-
sdkVersion: "1.
|
|
82
|
-
genVersion: "2.884.
|
|
81
|
+
sdkVersion: "1.8.0",
|
|
82
|
+
genVersion: "2.884.4",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.
|
|
84
|
+
"speakeasy-sdk/typescript 1.8.0 2.884.4 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
|
@@ -7,30 +7,7 @@ import * as z from "zod/v3";
|
|
|
7
7
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
8
|
import * as models from "../index.js";
|
|
9
9
|
|
|
10
|
-
export type CreatePayoutGlobals = {
|
|
11
|
-
/**
|
|
12
|
-
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
13
|
-
*
|
|
14
|
-
* @remarks
|
|
15
|
-
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
16
|
-
* setting the `testmode` query parameter to `true`.
|
|
17
|
-
*
|
|
18
|
-
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
19
|
-
*/
|
|
20
|
-
testmode?: boolean | undefined;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
10
|
export type CreatePayoutRequest = {
|
|
24
|
-
/**
|
|
25
|
-
* Most API credentials are specifically created for either live mode or test mode. In those cases the `testmode` query
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by
|
|
29
|
-
* setting the `testmode` query parameter to `true`.
|
|
30
|
-
*
|
|
31
|
-
* Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.
|
|
32
|
-
*/
|
|
33
|
-
testmode?: boolean | undefined;
|
|
34
11
|
/**
|
|
35
12
|
* A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
36
13
|
*/
|
|
@@ -40,7 +17,6 @@ export type CreatePayoutRequest = {
|
|
|
40
17
|
|
|
41
18
|
/** @internal */
|
|
42
19
|
export type CreatePayoutRequest$Outbound = {
|
|
43
|
-
testmode?: boolean | undefined;
|
|
44
20
|
"idempotency-key"?: string | undefined;
|
|
45
21
|
"payout-request": models.PayoutRequest$Outbound;
|
|
46
22
|
};
|
|
@@ -51,7 +27,6 @@ export const CreatePayoutRequest$outboundSchema: z.ZodType<
|
|
|
51
27
|
z.ZodTypeDef,
|
|
52
28
|
CreatePayoutRequest
|
|
53
29
|
> = z.object({
|
|
54
|
-
testmode: z.boolean().optional(),
|
|
55
30
|
idempotencyKey: z.string().optional(),
|
|
56
31
|
payoutRequest: models.PayoutRequest$outboundSchema,
|
|
57
32
|
}).transform((v) => {
|
|
@@ -14,6 +14,11 @@ export const OauthGenerateTokensServerList = [
|
|
|
14
14
|
"https://api.mollie.com/oauth2",
|
|
15
15
|
] as const;
|
|
16
16
|
|
|
17
|
+
export type OauthGenerateTokensSecurity = {
|
|
18
|
+
username: string;
|
|
19
|
+
password: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
17
22
|
export type OauthGenerateTokensRequestBody = {
|
|
18
23
|
grantType: models.OauthGrantType;
|
|
19
24
|
/**
|
|
@@ -86,6 +91,32 @@ export type OauthGenerateTokensResponse = {
|
|
|
86
91
|
scope?: string | undefined;
|
|
87
92
|
};
|
|
88
93
|
|
|
94
|
+
/** @internal */
|
|
95
|
+
export type OauthGenerateTokensSecurity$Outbound = {
|
|
96
|
+
username: string;
|
|
97
|
+
password: string;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const OauthGenerateTokensSecurity$outboundSchema: z.ZodType<
|
|
102
|
+
OauthGenerateTokensSecurity$Outbound,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
OauthGenerateTokensSecurity
|
|
105
|
+
> = z.object({
|
|
106
|
+
username: z.string(),
|
|
107
|
+
password: z.string(),
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export function oauthGenerateTokensSecurityToJSON(
|
|
111
|
+
oauthGenerateTokensSecurity: OauthGenerateTokensSecurity,
|
|
112
|
+
): string {
|
|
113
|
+
return JSON.stringify(
|
|
114
|
+
OauthGenerateTokensSecurity$outboundSchema.parse(
|
|
115
|
+
oauthGenerateTokensSecurity,
|
|
116
|
+
),
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
|
|
89
120
|
/** @internal */
|
|
90
121
|
export type OauthGenerateTokensRequestBody$Outbound = {
|
|
91
122
|
grant_type: string;
|
|
@@ -11,6 +11,11 @@ export const OauthRevokeTokensServerList = [
|
|
|
11
11
|
"https://api.mollie.com/oauth2",
|
|
12
12
|
] as const;
|
|
13
13
|
|
|
14
|
+
export type OauthRevokeTokensSecurity = {
|
|
15
|
+
username: string;
|
|
16
|
+
password: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
14
19
|
export type OauthRevokeTokensRequestBody = {
|
|
15
20
|
tokenTypeHint: models.OauthTokenTypeHint;
|
|
16
21
|
/**
|
|
@@ -27,6 +32,30 @@ export type OauthRevokeTokensRequest = {
|
|
|
27
32
|
requestBody?: OauthRevokeTokensRequestBody | undefined;
|
|
28
33
|
};
|
|
29
34
|
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type OauthRevokeTokensSecurity$Outbound = {
|
|
37
|
+
username: string;
|
|
38
|
+
password: string;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const OauthRevokeTokensSecurity$outboundSchema: z.ZodType<
|
|
43
|
+
OauthRevokeTokensSecurity$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
OauthRevokeTokensSecurity
|
|
46
|
+
> = z.object({
|
|
47
|
+
username: z.string(),
|
|
48
|
+
password: z.string(),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export function oauthRevokeTokensSecurityToJSON(
|
|
52
|
+
oauthRevokeTokensSecurity: OauthRevokeTokensSecurity,
|
|
53
|
+
): string {
|
|
54
|
+
return JSON.stringify(
|
|
55
|
+
OauthRevokeTokensSecurity$outboundSchema.parse(oauthRevokeTokensSecurity),
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
30
59
|
/** @internal */
|
|
31
60
|
export type OauthRevokeTokensRequestBody$Outbound = {
|
|
32
61
|
token_type_hint: string;
|
package/src/sdk/oauth.ts
CHANGED
|
@@ -20,11 +20,13 @@ export class Oauth extends ClientSDK {
|
|
|
20
20
|
* This endpoint can only be accessed using **OAuth client credentials**.
|
|
21
21
|
*/
|
|
22
22
|
async generate(
|
|
23
|
+
security: operations.OauthGenerateTokensSecurity,
|
|
23
24
|
request?: operations.OauthGenerateTokensRequest | undefined,
|
|
24
25
|
options?: RequestOptions,
|
|
25
26
|
): Promise<operations.OauthGenerateTokensResponse> {
|
|
26
27
|
return unwrapAsync(oauthGenerate(
|
|
27
28
|
this,
|
|
29
|
+
security,
|
|
28
30
|
request,
|
|
29
31
|
options,
|
|
30
32
|
));
|
|
@@ -41,11 +43,13 @@ export class Oauth extends ClientSDK {
|
|
|
41
43
|
* This endpoint can only be accessed using **OAuth client credentials**.
|
|
42
44
|
*/
|
|
43
45
|
async revoke(
|
|
46
|
+
security: operations.OauthRevokeTokensSecurity,
|
|
44
47
|
request?: operations.OauthRevokeTokensRequest | undefined,
|
|
45
48
|
options?: RequestOptions,
|
|
46
49
|
): Promise<void> {
|
|
47
50
|
return unwrapAsync(oauthRevoke(
|
|
48
51
|
this,
|
|
52
|
+
security,
|
|
49
53
|
request,
|
|
50
54
|
options,
|
|
51
55
|
));
|