mollie-api-typescript 1.3.2 → 1.3.4
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 +1 -1
- package/README.md +26 -7
- package/bin/mcp-server.js +1054 -152
- package/bin/mcp-server.js.map +81 -53
- package/dist/commonjs/funcs/balanceTransfersCreate.d.ts +2 -0
- package/dist/commonjs/funcs/balanceTransfersCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersCreate.js +3 -1
- package/dist/commonjs/funcs/balanceTransfersCreate.js.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersGet.d.ts +2 -0
- package/dist/commonjs/funcs/balanceTransfersGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersGet.js +3 -1
- package/dist/commonjs/funcs/balanceTransfersGet.js.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersList.d.ts +2 -0
- package/dist/commonjs/funcs/balanceTransfersList.d.ts.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersList.js +3 -1
- package/dist/commonjs/funcs/balanceTransfersList.js.map +1 -1
- package/dist/commonjs/funcs/balancesGet.d.ts +2 -0
- package/dist/commonjs/funcs/balancesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesGet.js +3 -1
- package/dist/commonjs/funcs/balancesGet.js.map +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.d.ts +2 -0
- package/dist/commonjs/funcs/balancesGetPrimary.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.js +3 -1
- package/dist/commonjs/funcs/balancesGetPrimary.js.map +1 -1
- package/dist/commonjs/funcs/balancesGetReport.d.ts +2 -0
- package/dist/commonjs/funcs/balancesGetReport.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesGetReport.js +3 -1
- package/dist/commonjs/funcs/balancesGetReport.js.map +1 -1
- package/dist/commonjs/funcs/balancesList.d.ts +2 -0
- package/dist/commonjs/funcs/balancesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesList.js +3 -1
- package/dist/commonjs/funcs/balancesList.js.map +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.d.ts +2 -0
- package/dist/commonjs/funcs/balancesListTransactions.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.js +3 -1
- package/dist/commonjs/funcs/balancesListTransactions.js.map +1 -1
- package/dist/commonjs/funcs/capabilitiesList.d.ts +2 -0
- package/dist/commonjs/funcs/capabilitiesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/capabilitiesList.js +3 -1
- package/dist/commonjs/funcs/capabilitiesList.js.map +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.d.ts +2 -0
- package/dist/commonjs/funcs/clientLinksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js +3 -1
- package/dist/commonjs/funcs/clientLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/clientsGet.d.ts +2 -0
- package/dist/commonjs/funcs/clientsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientsGet.js +3 -1
- package/dist/commonjs/funcs/clientsGet.js.map +1 -1
- package/dist/commonjs/funcs/clientsList.d.ts +2 -0
- package/dist/commonjs/funcs/clientsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/clientsList.js +3 -1
- package/dist/commonjs/funcs/clientsList.js.map +1 -1
- package/dist/commonjs/funcs/invoicesGet.d.ts +2 -0
- package/dist/commonjs/funcs/invoicesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/invoicesGet.js +3 -1
- package/dist/commonjs/funcs/invoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/invoicesList.d.ts +2 -0
- package/dist/commonjs/funcs/invoicesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/invoicesList.js +3 -1
- package/dist/commonjs/funcs/invoicesList.js.map +1 -1
- package/dist/commonjs/funcs/onboardingGet.d.ts +2 -0
- package/dist/commonjs/funcs/onboardingGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/onboardingGet.js +3 -1
- package/dist/commonjs/funcs/onboardingGet.js.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts +2 -0
- package/dist/commonjs/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.js +3 -1
- package/dist/commonjs/funcs/onboardingSubmit.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.d.ts +2 -0
- package/dist/commonjs/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +3 -1
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.d.ts +2 -0
- package/dist/commonjs/funcs/organizationsGetCurrent.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.js +3 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.d.ts +2 -0
- package/dist/commonjs/funcs/organizationsGetPartner.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.js +3 -1
- package/dist/commonjs/funcs/organizationsGetPartner.js.map +1 -1
- package/dist/commonjs/funcs/permissionsGet.d.ts +2 -0
- package/dist/commonjs/funcs/permissionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/permissionsGet.js +3 -1
- package/dist/commonjs/funcs/permissionsGet.js.map +1 -1
- package/dist/commonjs/funcs/permissionsList.d.ts +2 -0
- package/dist/commonjs/funcs/permissionsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/permissionsList.js +3 -1
- package/dist/commonjs/funcs/permissionsList.js.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.d.ts +2 -0
- package/dist/commonjs/funcs/profilesCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.js +5 -3
- package/dist/commonjs/funcs/profilesCreate.js.map +1 -1
- package/dist/commonjs/funcs/profilesDelete.d.ts +2 -0
- package/dist/commonjs/funcs/profilesDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesDelete.js +3 -1
- package/dist/commonjs/funcs/profilesDelete.js.map +1 -1
- package/dist/commonjs/funcs/profilesGet.d.ts +2 -0
- package/dist/commonjs/funcs/profilesGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesGet.js +3 -1
- package/dist/commonjs/funcs/profilesGet.js.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts +2 -0
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.js +3 -1
- package/dist/commonjs/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/commonjs/funcs/profilesList.d.ts +2 -0
- package/dist/commonjs/funcs/profilesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesList.js +3 -1
- package/dist/commonjs/funcs/profilesList.js.map +1 -1
- package/dist/commonjs/funcs/profilesUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/profilesUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesUpdate.js +5 -3
- package/dist/commonjs/funcs/profilesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGet.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsGet.js +3 -1
- package/dist/commonjs/funcs/settlementsGet.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsGetNext.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.js +3 -1
- package/dist/commonjs/funcs/settlementsGetNext.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsGetOpen.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.js +3 -1
- package/dist/commonjs/funcs/settlementsGetOpen.js.map +1 -1
- package/dist/commonjs/funcs/settlementsList.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsList.js +3 -1
- package/dist/commonjs/funcs/settlementsList.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListCaptures.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsListCaptures.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsListCaptures.js +3 -1
- package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsListChargebacks.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.js +3 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListPayments.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsListPayments.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsListPayments.js +3 -1
- package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.d.ts +2 -0
- package/dist/commonjs/funcs/settlementsListRefunds.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js +3 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/commonjs/funcs/transfersCreate.d.ts +44 -0
- package/dist/commonjs/funcs/transfersCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/transfersCreate.js +166 -0
- package/dist/commonjs/funcs/transfersCreate.js.map +1 -0
- package/dist/commonjs/funcs/transfersGet.d.ts +26 -0
- package/dist/commonjs/funcs/transfersGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/transfersGet.js +147 -0
- package/dist/commonjs/funcs/transfersGet.js.map +1 -0
- package/dist/commonjs/funcs/verifyPayeesCreate.d.ts +42 -0
- package/dist/commonjs/funcs/verifyPayeesCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/verifyPayeesCreate.js +161 -0
- package/dist/commonjs/funcs/verifyPayeesCreate.js.map +1 -0
- package/dist/commonjs/funcs/webhookEventsGet.d.ts +2 -0
- package/dist/commonjs/funcs/webhookEventsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhookEventsGet.js +3 -1
- package/dist/commonjs/funcs/webhookEventsGet.js.map +1 -1
- package/dist/commonjs/funcs/webhooksCreate.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksCreate.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksCreate.js +3 -1
- package/dist/commonjs/funcs/webhooksCreate.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDelete.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksDelete.js +3 -1
- package/dist/commonjs/funcs/webhooksDelete.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGet.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksGet.js +3 -1
- package/dist/commonjs/funcs/webhooksGet.js.map +1 -1
- package/dist/commonjs/funcs/webhooksList.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksList.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksList.js +3 -1
- package/dist/commonjs/funcs/webhooksList.js.map +1 -1
- package/dist/commonjs/funcs/webhooksTest.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksTest.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksTest.js +3 -1
- package/dist/commonjs/funcs/webhooksTest.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdate.d.ts +2 -0
- package/dist/commonjs/funcs/webhooksUpdate.d.ts.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdate.js +3 -1
- package/dist/commonjs/funcs/webhooksUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +34 -21
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +7 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/transfersCreate.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/transfersCreate.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/transfersCreate.js +88 -0
- package/dist/commonjs/mcp-server/tools/transfersCreate.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/transfersGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/transfersGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/transfersGet.js +70 -0
- package/dist/commonjs/mcp-server/tools/transfersGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/verifyPayeesCreate.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/verifyPayeesCreate.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/verifyPayeesCreate.js +86 -0
- package/dist/commonjs/mcp-server/tools/verifyPayeesCreate.js.map +1 -0
- package/dist/commonjs/models/accountnumberformat.d.ts +17 -0
- package/dist/commonjs/models/accountnumberformat.d.ts.map +1 -0
- package/dist/commonjs/models/accountnumberformat.js +52 -0
- package/dist/commonjs/models/accountnumberformat.js.map +1 -0
- package/dist/commonjs/models/accountnumberformatresponse.d.ts +17 -0
- package/dist/commonjs/models/accountnumberformatresponse.d.ts.map +1 -0
- package/dist/commonjs/models/accountnumberformatresponse.js +52 -0
- package/dist/commonjs/models/accountnumberformatresponse.js.map +1 -0
- package/dist/commonjs/models/creditdebitindicator.d.ts +18 -0
- package/dist/commonjs/models/creditdebitindicator.d.ts.map +1 -0
- package/dist/commonjs/models/creditdebitindicator.js +53 -0
- package/dist/commonjs/models/creditdebitindicator.js.map +1 -0
- package/dist/commonjs/models/creditorbankaccount.d.ts +34 -0
- package/dist/commonjs/models/creditorbankaccount.d.ts.map +1 -0
- package/dist/commonjs/models/creditorbankaccount.js +64 -0
- package/dist/commonjs/models/creditorbankaccount.js.map +1 -0
- package/dist/commonjs/models/creditorbankaccountresponse.d.ts +34 -0
- package/dist/commonjs/models/creditorbankaccountresponse.d.ts.map +1 -0
- package/dist/commonjs/models/creditorbankaccountresponse.js +64 -0
- package/dist/commonjs/models/creditorbankaccountresponse.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +19 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +19 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/createtransfer.d.ts +48 -0
- package/dist/commonjs/models/operations/createtransfer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/createtransfer.js +85 -0
- package/dist/commonjs/models/operations/createtransfer.js.map +1 -0
- package/dist/commonjs/models/operations/gettransfer.d.ts +58 -0
- package/dist/commonjs/models/operations/gettransfer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/gettransfer.js +88 -0
- package/dist/commonjs/models/operations/gettransfer.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/verifypayee.d.ts +23 -0
- package/dist/commonjs/models/operations/verifypayee.d.ts.map +1 -0
- package/dist/commonjs/models/operations/verifypayee.js +75 -0
- package/dist/commonjs/models/operations/verifypayee.js.map +1 -0
- package/dist/commonjs/models/statushistoryentryresponse.d.ts +40 -0
- package/dist/commonjs/models/statushistoryentryresponse.d.ts.map +1 -0
- package/dist/commonjs/models/statushistoryentryresponse.js +65 -0
- package/dist/commonjs/models/statushistoryentryresponse.js.map +1 -0
- package/dist/commonjs/models/statusreason2.d.ts +34 -0
- package/dist/commonjs/models/statusreason2.d.ts.map +1 -0
- package/dist/commonjs/models/statusreason2.js +62 -0
- package/dist/commonjs/models/statusreason2.js.map +1 -0
- package/dist/commonjs/models/statusreasoncoderesponse.d.ts +19 -0
- package/dist/commonjs/models/statusreasoncoderesponse.d.ts.map +1 -0
- package/dist/commonjs/models/statusreasoncoderesponse.js +54 -0
- package/dist/commonjs/models/statusreasoncoderesponse.js.map +1 -0
- package/dist/commonjs/models/transferparty.d.ts +50 -0
- package/dist/commonjs/models/transferparty.d.ts.map +1 -0
- package/dist/commonjs/models/transferparty.js +77 -0
- package/dist/commonjs/models/transferparty.js.map +1 -0
- package/dist/commonjs/models/transferrequest.d.ts +75 -0
- package/dist/commonjs/models/transferrequest.d.ts.map +1 -0
- package/dist/commonjs/models/transferrequest.js +75 -0
- package/dist/commonjs/models/transferrequest.js.map +1 -0
- package/dist/commonjs/models/transferresponse.d.ts +165 -0
- package/dist/commonjs/models/transferresponse.d.ts.map +1 -0
- package/dist/commonjs/models/transferresponse.js +131 -0
- package/dist/commonjs/models/transferresponse.js.map +1 -0
- package/dist/commonjs/models/transferscheme.d.ts +24 -0
- package/dist/commonjs/models/transferscheme.d.ts.map +1 -0
- package/dist/commonjs/models/transferscheme.js +60 -0
- package/dist/commonjs/models/transferscheme.js.map +1 -0
- package/dist/commonjs/models/transferschemeresponse.d.ts +24 -0
- package/dist/commonjs/models/transferschemeresponse.d.ts.map +1 -0
- package/dist/commonjs/models/transferschemeresponse.js +60 -0
- package/dist/commonjs/models/transferschemeresponse.js.map +1 -0
- package/dist/commonjs/models/transferschemetype.d.ts +18 -0
- package/dist/commonjs/models/transferschemetype.d.ts.map +1 -0
- package/dist/commonjs/models/transferschemetype.js +53 -0
- package/dist/commonjs/models/transferschemetype.js.map +1 -0
- package/dist/commonjs/models/transferschemetyperesponse.d.ts +18 -0
- package/dist/commonjs/models/transferschemetyperesponse.d.ts.map +1 -0
- package/dist/commonjs/models/transferschemetyperesponse.js +53 -0
- package/dist/commonjs/models/transferschemetyperesponse.js.map +1 -0
- package/dist/commonjs/models/transferstatus.d.ts +23 -0
- package/dist/commonjs/models/transferstatus.d.ts.map +1 -0
- package/dist/commonjs/models/transferstatus.js +58 -0
- package/dist/commonjs/models/transferstatus.js.map +1 -0
- package/dist/commonjs/models/verificationofpayeerequest.d.ts +38 -0
- package/dist/commonjs/models/verificationofpayeerequest.d.ts.map +1 -0
- package/dist/commonjs/models/verificationofpayeerequest.js +62 -0
- package/dist/commonjs/models/verificationofpayeerequest.js.map +1 -0
- package/dist/commonjs/models/verificationofpayeeresponse.d.ts +64 -0
- package/dist/commonjs/models/verificationofpayeeresponse.d.ts.map +1 -0
- package/dist/commonjs/models/verificationofpayeeresponse.js +85 -0
- package/dist/commonjs/models/verificationofpayeeresponse.js.map +1 -0
- package/dist/commonjs/models/verificationresultenum.d.ts +20 -0
- package/dist/commonjs/models/verificationresultenum.d.ts.map +1 -0
- package/dist/commonjs/models/verificationresultenum.js +55 -0
- package/dist/commonjs/models/verificationresultenum.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +6 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +8 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/transfers.d.ts +48 -0
- package/dist/commonjs/sdk/transfers.d.ts.map +1 -0
- package/dist/commonjs/sdk/transfers.js +61 -0
- package/dist/commonjs/sdk/transfers.js.map +1 -0
- package/dist/commonjs/sdk/verifypayees.d.ts +34 -0
- package/dist/commonjs/sdk/verifypayees.d.ts.map +1 -0
- package/dist/commonjs/sdk/verifypayees.js +44 -0
- package/dist/commonjs/sdk/verifypayees.js.map +1 -0
- package/dist/esm/funcs/balanceTransfersCreate.d.ts +2 -0
- package/dist/esm/funcs/balanceTransfersCreate.d.ts.map +1 -1
- package/dist/esm/funcs/balanceTransfersCreate.js +3 -1
- package/dist/esm/funcs/balanceTransfersCreate.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersGet.d.ts +2 -0
- package/dist/esm/funcs/balanceTransfersGet.d.ts.map +1 -1
- package/dist/esm/funcs/balanceTransfersGet.js +3 -1
- package/dist/esm/funcs/balanceTransfersGet.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersList.d.ts +2 -0
- package/dist/esm/funcs/balanceTransfersList.d.ts.map +1 -1
- package/dist/esm/funcs/balanceTransfersList.js +3 -1
- package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
- package/dist/esm/funcs/balancesGet.d.ts +2 -0
- package/dist/esm/funcs/balancesGet.d.ts.map +1 -1
- package/dist/esm/funcs/balancesGet.js +3 -1
- package/dist/esm/funcs/balancesGet.js.map +1 -1
- package/dist/esm/funcs/balancesGetPrimary.d.ts +2 -0
- package/dist/esm/funcs/balancesGetPrimary.d.ts.map +1 -1
- package/dist/esm/funcs/balancesGetPrimary.js +3 -1
- package/dist/esm/funcs/balancesGetPrimary.js.map +1 -1
- package/dist/esm/funcs/balancesGetReport.d.ts +2 -0
- package/dist/esm/funcs/balancesGetReport.d.ts.map +1 -1
- package/dist/esm/funcs/balancesGetReport.js +3 -1
- package/dist/esm/funcs/balancesGetReport.js.map +1 -1
- package/dist/esm/funcs/balancesList.d.ts +2 -0
- package/dist/esm/funcs/balancesList.d.ts.map +1 -1
- package/dist/esm/funcs/balancesList.js +3 -1
- package/dist/esm/funcs/balancesList.js.map +1 -1
- package/dist/esm/funcs/balancesListTransactions.d.ts +2 -0
- package/dist/esm/funcs/balancesListTransactions.d.ts.map +1 -1
- package/dist/esm/funcs/balancesListTransactions.js +3 -1
- package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
- package/dist/esm/funcs/capabilitiesList.d.ts +2 -0
- package/dist/esm/funcs/capabilitiesList.d.ts.map +1 -1
- package/dist/esm/funcs/capabilitiesList.js +3 -1
- package/dist/esm/funcs/capabilitiesList.js.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.d.ts +2 -0
- package/dist/esm/funcs/clientLinksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.js +3 -1
- package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
- package/dist/esm/funcs/clientsGet.d.ts +2 -0
- package/dist/esm/funcs/clientsGet.d.ts.map +1 -1
- package/dist/esm/funcs/clientsGet.js +3 -1
- package/dist/esm/funcs/clientsGet.js.map +1 -1
- package/dist/esm/funcs/clientsList.d.ts +2 -0
- package/dist/esm/funcs/clientsList.d.ts.map +1 -1
- package/dist/esm/funcs/clientsList.js +3 -1
- package/dist/esm/funcs/clientsList.js.map +1 -1
- package/dist/esm/funcs/invoicesGet.d.ts +2 -0
- package/dist/esm/funcs/invoicesGet.d.ts.map +1 -1
- package/dist/esm/funcs/invoicesGet.js +3 -1
- package/dist/esm/funcs/invoicesGet.js.map +1 -1
- package/dist/esm/funcs/invoicesList.d.ts +2 -0
- package/dist/esm/funcs/invoicesList.d.ts.map +1 -1
- package/dist/esm/funcs/invoicesList.js +3 -1
- package/dist/esm/funcs/invoicesList.js.map +1 -1
- package/dist/esm/funcs/onboardingGet.d.ts +2 -0
- package/dist/esm/funcs/onboardingGet.d.ts.map +1 -1
- package/dist/esm/funcs/onboardingGet.js +3 -1
- package/dist/esm/funcs/onboardingGet.js.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts +2 -0
- package/dist/esm/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.js +3 -1
- package/dist/esm/funcs/onboardingSubmit.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.d.ts +2 -0
- package/dist/esm/funcs/organizationsGet.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGet.js +3 -1
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.d.ts +2 -0
- package/dist/esm/funcs/organizationsGetCurrent.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.js +3 -1
- package/dist/esm/funcs/organizationsGetCurrent.js.map +1 -1
- package/dist/esm/funcs/organizationsGetPartner.d.ts +2 -0
- package/dist/esm/funcs/organizationsGetPartner.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGetPartner.js +3 -1
- package/dist/esm/funcs/organizationsGetPartner.js.map +1 -1
- package/dist/esm/funcs/permissionsGet.d.ts +2 -0
- package/dist/esm/funcs/permissionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/permissionsGet.js +3 -1
- package/dist/esm/funcs/permissionsGet.js.map +1 -1
- package/dist/esm/funcs/permissionsList.d.ts +2 -0
- package/dist/esm/funcs/permissionsList.d.ts.map +1 -1
- package/dist/esm/funcs/permissionsList.js +3 -1
- package/dist/esm/funcs/permissionsList.js.map +1 -1
- package/dist/esm/funcs/profilesCreate.d.ts +2 -0
- package/dist/esm/funcs/profilesCreate.d.ts.map +1 -1
- package/dist/esm/funcs/profilesCreate.js +5 -3
- package/dist/esm/funcs/profilesCreate.js.map +1 -1
- package/dist/esm/funcs/profilesDelete.d.ts +2 -0
- package/dist/esm/funcs/profilesDelete.d.ts.map +1 -1
- package/dist/esm/funcs/profilesDelete.js +3 -1
- package/dist/esm/funcs/profilesDelete.js.map +1 -1
- package/dist/esm/funcs/profilesGet.d.ts +2 -0
- package/dist/esm/funcs/profilesGet.d.ts.map +1 -1
- package/dist/esm/funcs/profilesGet.js +3 -1
- package/dist/esm/funcs/profilesGet.js.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.d.ts +2 -0
- package/dist/esm/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.js +3 -1
- package/dist/esm/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/esm/funcs/profilesList.d.ts +2 -0
- package/dist/esm/funcs/profilesList.d.ts.map +1 -1
- package/dist/esm/funcs/profilesList.js +3 -1
- package/dist/esm/funcs/profilesList.js.map +1 -1
- package/dist/esm/funcs/profilesUpdate.d.ts +2 -0
- package/dist/esm/funcs/profilesUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/profilesUpdate.js +5 -3
- package/dist/esm/funcs/profilesUpdate.js.map +1 -1
- package/dist/esm/funcs/settlementsGet.d.ts +2 -0
- package/dist/esm/funcs/settlementsGet.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsGet.js +3 -1
- package/dist/esm/funcs/settlementsGet.js.map +1 -1
- package/dist/esm/funcs/settlementsGetNext.d.ts +2 -0
- package/dist/esm/funcs/settlementsGetNext.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsGetNext.js +3 -1
- package/dist/esm/funcs/settlementsGetNext.js.map +1 -1
- package/dist/esm/funcs/settlementsGetOpen.d.ts +2 -0
- package/dist/esm/funcs/settlementsGetOpen.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsGetOpen.js +3 -1
- package/dist/esm/funcs/settlementsGetOpen.js.map +1 -1
- package/dist/esm/funcs/settlementsList.d.ts +2 -0
- package/dist/esm/funcs/settlementsList.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsList.js +3 -1
- package/dist/esm/funcs/settlementsList.js.map +1 -1
- package/dist/esm/funcs/settlementsListCaptures.d.ts +2 -0
- package/dist/esm/funcs/settlementsListCaptures.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsListCaptures.js +3 -1
- package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
- package/dist/esm/funcs/settlementsListChargebacks.d.ts +2 -0
- package/dist/esm/funcs/settlementsListChargebacks.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsListChargebacks.js +3 -1
- package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
- package/dist/esm/funcs/settlementsListPayments.d.ts +2 -0
- package/dist/esm/funcs/settlementsListPayments.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsListPayments.js +3 -1
- package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
- package/dist/esm/funcs/settlementsListRefunds.d.ts +2 -0
- package/dist/esm/funcs/settlementsListRefunds.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsListRefunds.js +3 -1
- package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/esm/funcs/transfersCreate.d.ts +44 -0
- package/dist/esm/funcs/transfersCreate.d.ts.map +1 -0
- package/dist/esm/funcs/transfersCreate.js +130 -0
- package/dist/esm/funcs/transfersCreate.js.map +1 -0
- package/dist/esm/funcs/transfersGet.d.ts +26 -0
- package/dist/esm/funcs/transfersGet.d.ts.map +1 -0
- package/dist/esm/funcs/transfersGet.js +111 -0
- package/dist/esm/funcs/transfersGet.js.map +1 -0
- package/dist/esm/funcs/verifyPayeesCreate.d.ts +42 -0
- package/dist/esm/funcs/verifyPayeesCreate.d.ts.map +1 -0
- package/dist/esm/funcs/verifyPayeesCreate.js +125 -0
- package/dist/esm/funcs/verifyPayeesCreate.js.map +1 -0
- package/dist/esm/funcs/webhookEventsGet.d.ts +2 -0
- package/dist/esm/funcs/webhookEventsGet.d.ts.map +1 -1
- package/dist/esm/funcs/webhookEventsGet.js +3 -1
- package/dist/esm/funcs/webhookEventsGet.js.map +1 -1
- package/dist/esm/funcs/webhooksCreate.d.ts +2 -0
- package/dist/esm/funcs/webhooksCreate.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksCreate.js +3 -1
- package/dist/esm/funcs/webhooksCreate.js.map +1 -1
- package/dist/esm/funcs/webhooksDelete.d.ts +2 -0
- package/dist/esm/funcs/webhooksDelete.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksDelete.js +3 -1
- package/dist/esm/funcs/webhooksDelete.js.map +1 -1
- package/dist/esm/funcs/webhooksGet.d.ts +2 -0
- package/dist/esm/funcs/webhooksGet.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksGet.js +3 -1
- package/dist/esm/funcs/webhooksGet.js.map +1 -1
- package/dist/esm/funcs/webhooksList.d.ts +2 -0
- package/dist/esm/funcs/webhooksList.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksList.js +3 -1
- package/dist/esm/funcs/webhooksList.js.map +1 -1
- package/dist/esm/funcs/webhooksTest.d.ts +2 -0
- package/dist/esm/funcs/webhooksTest.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksTest.js +3 -1
- package/dist/esm/funcs/webhooksTest.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdate.d.ts +2 -0
- package/dist/esm/funcs/webhooksUpdate.d.ts.map +1 -1
- package/dist/esm/funcs/webhooksUpdate.js +3 -1
- package/dist/esm/funcs/webhooksUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/security.d.ts +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +34 -21
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +7 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/transfersCreate.d.ts +8 -0
- package/dist/esm/mcp-server/tools/transfersCreate.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/transfersCreate.js +52 -0
- package/dist/esm/mcp-server/tools/transfersCreate.js.map +1 -0
- package/dist/esm/mcp-server/tools/transfersGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/transfersGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/transfersGet.js +34 -0
- package/dist/esm/mcp-server/tools/transfersGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/verifyPayeesCreate.d.ts +8 -0
- package/dist/esm/mcp-server/tools/verifyPayeesCreate.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/verifyPayeesCreate.js +50 -0
- package/dist/esm/mcp-server/tools/verifyPayeesCreate.js.map +1 -0
- package/dist/esm/models/accountnumberformat.d.ts +17 -0
- package/dist/esm/models/accountnumberformat.d.ts.map +1 -0
- package/dist/esm/models/accountnumberformat.js +16 -0
- package/dist/esm/models/accountnumberformat.js.map +1 -0
- package/dist/esm/models/accountnumberformatresponse.d.ts +17 -0
- package/dist/esm/models/accountnumberformatresponse.d.ts.map +1 -0
- package/dist/esm/models/accountnumberformatresponse.js +16 -0
- package/dist/esm/models/accountnumberformatresponse.js.map +1 -0
- package/dist/esm/models/creditdebitindicator.d.ts +18 -0
- package/dist/esm/models/creditdebitindicator.d.ts.map +1 -0
- package/dist/esm/models/creditdebitindicator.js +17 -0
- package/dist/esm/models/creditdebitindicator.js.map +1 -0
- package/dist/esm/models/creditorbankaccount.d.ts +34 -0
- package/dist/esm/models/creditorbankaccount.d.ts.map +1 -0
- package/dist/esm/models/creditorbankaccount.js +26 -0
- package/dist/esm/models/creditorbankaccount.js.map +1 -0
- package/dist/esm/models/creditorbankaccountresponse.d.ts +34 -0
- package/dist/esm/models/creditorbankaccountresponse.d.ts.map +1 -0
- package/dist/esm/models/creditorbankaccountresponse.js +26 -0
- package/dist/esm/models/creditorbankaccountresponse.js.map +1 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +19 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/createtransfer.d.ts +48 -0
- package/dist/esm/models/operations/createtransfer.d.ts.map +1 -0
- package/dist/esm/models/operations/createtransfer.js +47 -0
- package/dist/esm/models/operations/createtransfer.js.map +1 -0
- package/dist/esm/models/operations/gettransfer.d.ts +58 -0
- package/dist/esm/models/operations/gettransfer.d.ts.map +1 -0
- package/dist/esm/models/operations/gettransfer.js +48 -0
- package/dist/esm/models/operations/gettransfer.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/verifypayee.d.ts +23 -0
- package/dist/esm/models/operations/verifypayee.d.ts.map +1 -0
- package/dist/esm/models/operations/verifypayee.js +37 -0
- package/dist/esm/models/operations/verifypayee.js.map +1 -0
- package/dist/esm/models/statushistoryentryresponse.d.ts +40 -0
- package/dist/esm/models/statushistoryentryresponse.d.ts.map +1 -0
- package/dist/esm/models/statushistoryentryresponse.js +27 -0
- package/dist/esm/models/statushistoryentryresponse.js.map +1 -0
- package/dist/esm/models/statusreason2.d.ts +34 -0
- package/dist/esm/models/statusreason2.d.ts.map +1 -0
- package/dist/esm/models/statusreason2.js +24 -0
- package/dist/esm/models/statusreason2.js.map +1 -0
- package/dist/esm/models/statusreasoncoderesponse.d.ts +19 -0
- package/dist/esm/models/statusreasoncoderesponse.d.ts.map +1 -0
- package/dist/esm/models/statusreasoncoderesponse.js +18 -0
- package/dist/esm/models/statusreasoncoderesponse.js.map +1 -0
- package/dist/esm/models/transferparty.d.ts +50 -0
- package/dist/esm/models/transferparty.d.ts.map +1 -0
- package/dist/esm/models/transferparty.js +37 -0
- package/dist/esm/models/transferparty.js.map +1 -0
- package/dist/esm/models/transferrequest.d.ts +75 -0
- package/dist/esm/models/transferrequest.d.ts.map +1 -0
- package/dist/esm/models/transferrequest.js +37 -0
- package/dist/esm/models/transferrequest.js.map +1 -0
- package/dist/esm/models/transferresponse.d.ts +165 -0
- package/dist/esm/models/transferresponse.d.ts.map +1 -0
- package/dist/esm/models/transferresponse.js +89 -0
- package/dist/esm/models/transferresponse.js.map +1 -0
- package/dist/esm/models/transferscheme.d.ts +24 -0
- package/dist/esm/models/transferscheme.d.ts.map +1 -0
- package/dist/esm/models/transferscheme.js +22 -0
- package/dist/esm/models/transferscheme.js.map +1 -0
- package/dist/esm/models/transferschemeresponse.d.ts +24 -0
- package/dist/esm/models/transferschemeresponse.d.ts.map +1 -0
- package/dist/esm/models/transferschemeresponse.js +22 -0
- package/dist/esm/models/transferschemeresponse.js.map +1 -0
- package/dist/esm/models/transferschemetype.d.ts +18 -0
- package/dist/esm/models/transferschemetype.d.ts.map +1 -0
- package/dist/esm/models/transferschemetype.js +17 -0
- package/dist/esm/models/transferschemetype.js.map +1 -0
- package/dist/esm/models/transferschemetyperesponse.d.ts +18 -0
- package/dist/esm/models/transferschemetyperesponse.d.ts.map +1 -0
- package/dist/esm/models/transferschemetyperesponse.js +17 -0
- package/dist/esm/models/transferschemetyperesponse.js.map +1 -0
- package/dist/esm/models/transferstatus.d.ts +23 -0
- package/dist/esm/models/transferstatus.d.ts.map +1 -0
- package/dist/esm/models/transferstatus.js +22 -0
- package/dist/esm/models/transferstatus.js.map +1 -0
- package/dist/esm/models/verificationofpayeerequest.d.ts +38 -0
- package/dist/esm/models/verificationofpayeerequest.d.ts.map +1 -0
- package/dist/esm/models/verificationofpayeerequest.js +24 -0
- package/dist/esm/models/verificationofpayeerequest.js.map +1 -0
- package/dist/esm/models/verificationofpayeeresponse.d.ts +64 -0
- package/dist/esm/models/verificationofpayeeresponse.d.ts.map +1 -0
- package/dist/esm/models/verificationofpayeeresponse.js +45 -0
- package/dist/esm/models/verificationofpayeeresponse.js.map +1 -0
- package/dist/esm/models/verificationresultenum.d.ts +20 -0
- package/dist/esm/models/verificationresultenum.d.ts.map +1 -0
- package/dist/esm/models/verificationresultenum.js +19 -0
- package/dist/esm/models/verificationresultenum.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +6 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +8 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/transfers.d.ts +48 -0
- package/dist/esm/sdk/transfers.d.ts.map +1 -0
- package/dist/esm/sdk/transfers.js +57 -0
- package/dist/esm/sdk/transfers.js.map +1 -0
- package/dist/esm/sdk/verifypayees.d.ts +34 -0
- package/dist/esm/sdk/verifypayees.d.ts.map +1 -0
- package/dist/esm/sdk/verifypayees.js +40 -0
- package/dist/esm/sdk/verifypayees.js.map +1 -0
- package/examples/balancesList.example.ts +2 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/balanceTransfersCreate.ts +3 -1
- package/src/funcs/balanceTransfersGet.ts +3 -1
- package/src/funcs/balanceTransfersList.ts +3 -1
- package/src/funcs/balancesGet.ts +3 -1
- package/src/funcs/balancesGetPrimary.ts +3 -1
- package/src/funcs/balancesGetReport.ts +3 -1
- package/src/funcs/balancesList.ts +3 -1
- package/src/funcs/balancesListTransactions.ts +3 -1
- package/src/funcs/capabilitiesList.ts +3 -1
- package/src/funcs/clientLinksCreate.ts +3 -1
- package/src/funcs/clientsGet.ts +3 -1
- package/src/funcs/clientsList.ts +3 -1
- package/src/funcs/invoicesGet.ts +3 -1
- package/src/funcs/invoicesList.ts +3 -1
- package/src/funcs/onboardingGet.ts +3 -1
- package/src/funcs/onboardingSubmit.ts +3 -1
- package/src/funcs/organizationsGet.ts +3 -1
- package/src/funcs/organizationsGetCurrent.ts +3 -1
- package/src/funcs/organizationsGetPartner.ts +3 -1
- package/src/funcs/permissionsGet.ts +3 -1
- package/src/funcs/permissionsList.ts +3 -1
- package/src/funcs/profilesCreate.ts +5 -3
- package/src/funcs/profilesDelete.ts +3 -1
- package/src/funcs/profilesGet.ts +3 -1
- package/src/funcs/profilesGetCurrent.ts +3 -1
- package/src/funcs/profilesList.ts +3 -1
- package/src/funcs/profilesUpdate.ts +5 -3
- package/src/funcs/settlementsGet.ts +3 -1
- package/src/funcs/settlementsGetNext.ts +3 -1
- package/src/funcs/settlementsGetOpen.ts +3 -1
- package/src/funcs/settlementsList.ts +3 -1
- package/src/funcs/settlementsListCaptures.ts +3 -1
- package/src/funcs/settlementsListChargebacks.ts +3 -1
- package/src/funcs/settlementsListPayments.ts +3 -1
- package/src/funcs/settlementsListRefunds.ts +3 -1
- package/src/funcs/transfersCreate.ts +234 -0
- package/src/funcs/transfersGet.ts +209 -0
- package/src/funcs/verifyPayeesCreate.ts +218 -0
- package/src/funcs/webhookEventsGet.ts +3 -1
- package/src/funcs/webhooksCreate.ts +3 -1
- package/src/funcs/webhooksDelete.ts +3 -1
- package/src/funcs/webhooksGet.ts +3 -1
- package/src/funcs/webhooksList.ts +3 -1
- package/src/funcs/webhooksTest.ts +3 -1
- package/src/funcs/webhooksUpdate.ts +3 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +14 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/transfersCreate.ts +61 -0
- package/src/mcp-server/tools/transfersGet.ts +43 -0
- package/src/mcp-server/tools/verifyPayeesCreate.ts +59 -0
- package/src/models/accountnumberformat.ts +27 -0
- package/src/models/accountnumberformatresponse.ts +34 -0
- package/src/models/creditdebitindicator.ts +33 -0
- package/src/models/creditorbankaccount.ts +77 -0
- package/src/models/creditorbankaccountresponse.ts +79 -0
- package/src/models/index.ts +19 -0
- package/src/models/operations/createtransfer.ts +108 -0
- package/src/models/operations/gettransfer.ts +136 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/verifypayee.ts +75 -0
- package/src/models/statushistoryentryresponse.ts +88 -0
- package/src/models/statusreason2.ts +71 -0
- package/src/models/statusreasoncoderesponse.ts +36 -0
- package/src/models/transferparty.ts +113 -0
- package/src/models/transferrequest.ts +140 -0
- package/src/models/transferresponse.ts +321 -0
- package/src/models/transferscheme.ts +59 -0
- package/src/models/transferschemeresponse.ts +63 -0
- package/src/models/transferschemetype.ts +28 -0
- package/src/models/transferschemetyperesponse.ts +35 -0
- package/src/models/transferstatus.ts +38 -0
- package/src/models/verificationofpayeerequest.ts +80 -0
- package/src/models/verificationofpayeeresponse.ts +163 -0
- package/src/models/verificationresultenum.ts +35 -0
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/transfers.ts +75 -0
- package/src/sdk/verifypayees.ts +50 -0
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Retrieve a single webhook event object by its event ID.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhookEventsGet(
|
|
37
39
|
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, [1, 2]);
|
|
116
118
|
|
|
117
119
|
const context = {
|
|
118
120
|
options: client._options,
|
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* A webhook must have a name, an url and a list of event types. You can also create webhooks in the webhooks settings section of the Dashboard.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhooksCreate(
|
|
37
39
|
client: ClientCore,
|
|
@@ -104,7 +106,7 @@ async function $do(
|
|
|
104
106
|
}));
|
|
105
107
|
|
|
106
108
|
const securityInput = await extractSecurity(client._options.security);
|
|
107
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
109
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [1, 2]);
|
|
108
110
|
|
|
109
111
|
const context = {
|
|
110
112
|
options: client._options,
|
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Delete a single webhook object by its webhook ID.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhooksDelete(
|
|
37
39
|
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, [1, 2]);
|
|
113
115
|
|
|
114
116
|
const context = {
|
|
115
117
|
options: client._options,
|
package/src/funcs/webhooksGet.ts
CHANGED
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Retrieve a single webhook object by its ID.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhooksGet(
|
|
37
39
|
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, [1, 2]);
|
|
116
118
|
|
|
117
119
|
const context = {
|
|
118
120
|
options: client._options,
|
|
@@ -39,6 +39,8 @@ import {
|
|
|
39
39
|
*
|
|
40
40
|
* @remarks
|
|
41
41
|
* Returns a paginated list of your webhooks. If no webhook endpoints are available, the resulting array will be empty. This request should never throw an error.
|
|
42
|
+
*
|
|
43
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
42
44
|
*/
|
|
43
45
|
export function webhooksList(
|
|
44
46
|
client: ClientCore,
|
|
@@ -128,7 +130,7 @@ async function $do(
|
|
|
128
130
|
}));
|
|
129
131
|
|
|
130
132
|
const securityInput = await extractSecurity(client._options.security);
|
|
131
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
133
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [1, 2]);
|
|
132
134
|
|
|
133
135
|
const context = {
|
|
134
136
|
options: client._options,
|
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Sends a test event to the webhook to verify the endpoint is working as expected.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhooksTest(
|
|
37
39
|
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, [1, 2]);
|
|
113
115
|
|
|
114
116
|
const context = {
|
|
115
117
|
options: client._options,
|
|
@@ -32,6 +32,8 @@ import { Result } from "../types/fp.js";
|
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
34
|
* Updates the webhook. You may edit the name, url and the list of subscribed event types.
|
|
35
|
+
*
|
|
36
|
+
* If set, this operation will use either {@link Security.organizationAccessToken} or {@link Security.oAuth} from the global security.
|
|
35
37
|
*/
|
|
36
38
|
export function webhooksUpdate(
|
|
37
39
|
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, [1, 2]);
|
|
113
115
|
|
|
114
116
|
const context = {
|
|
115
117
|
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.3.
|
|
82
|
-
genVersion: "2.
|
|
81
|
+
sdkVersion: "1.3.4",
|
|
82
|
+
genVersion: "2.879.1",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.3.
|
|
84
|
+
"speakeasy-sdk/typescript 1.3.4 2.879.1 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
package/src/lib/security.ts
CHANGED
|
@@ -241,8 +241,9 @@ function applyBearer(
|
|
|
241
241
|
|
|
242
242
|
export function resolveGlobalSecurity(
|
|
243
243
|
security: Partial<models.Security> | null | undefined,
|
|
244
|
+
allowedFields?: number[],
|
|
244
245
|
): SecurityState | null {
|
|
245
|
-
|
|
246
|
+
let inputs: SecurityInput[][] = [
|
|
246
247
|
[
|
|
247
248
|
{
|
|
248
249
|
fieldName: "Authorization",
|
|
@@ -265,7 +266,18 @@ export function resolveGlobalSecurity(
|
|
|
265
266
|
value: security?.oAuth ?? env().CLIENT_O_AUTH,
|
|
266
267
|
},
|
|
267
268
|
],
|
|
268
|
-
|
|
269
|
+
];
|
|
270
|
+
|
|
271
|
+
if (allowedFields) {
|
|
272
|
+
inputs = allowedFields.map((i) => {
|
|
273
|
+
if (i < 0 || i >= inputs.length) {
|
|
274
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
275
|
+
}
|
|
276
|
+
return inputs[i]!;
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
return resolveSecurity(...inputs);
|
|
269
281
|
}
|
|
270
282
|
|
|
271
283
|
export async function extractSecurity<
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -105,6 +105,9 @@ import { tool$subscriptionsListPayments } from "./tools/subscriptionsListPayment
|
|
|
105
105
|
import { tool$subscriptionsUpdate } from "./tools/subscriptionsUpdate.js";
|
|
106
106
|
import { tool$terminalsGet } from "./tools/terminalsGet.js";
|
|
107
107
|
import { tool$terminalsList } from "./tools/terminalsList.js";
|
|
108
|
+
import { tool$transfersCreate } from "./tools/transfersCreate.js";
|
|
109
|
+
import { tool$transfersGet } from "./tools/transfersGet.js";
|
|
110
|
+
import { tool$verifyPayeesCreate } from "./tools/verifyPayeesCreate.js";
|
|
108
111
|
import { tool$walletsRequestApplePaySession } from "./tools/walletsRequestApplePaySession.js";
|
|
109
112
|
import { tool$webhookEventsGet } from "./tools/webhookEventsGet.js";
|
|
110
113
|
import { tool$webhooksCreate } from "./tools/webhooksCreate.js";
|
|
@@ -127,7 +130,7 @@ export function createMCPServer(deps: {
|
|
|
127
130
|
}) {
|
|
128
131
|
const server = new McpServer({
|
|
129
132
|
name: "Client",
|
|
130
|
-
version: "1.3.
|
|
133
|
+
version: "1.3.4",
|
|
131
134
|
});
|
|
132
135
|
|
|
133
136
|
const client = new ClientCore({
|
|
@@ -259,6 +262,9 @@ export function createMCPServer(deps: {
|
|
|
259
262
|
tool(tool$salesInvoicesGet);
|
|
260
263
|
tool(tool$salesInvoicesUpdate);
|
|
261
264
|
tool(tool$salesInvoicesDelete);
|
|
265
|
+
tool(tool$transfersCreate);
|
|
266
|
+
tool(tool$transfersGet);
|
|
267
|
+
tool(tool$verifyPayeesCreate);
|
|
262
268
|
|
|
263
269
|
return server;
|
|
264
270
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 973b197c2696
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { transfersCreate } from "../../funcs/transfersCreate.js";
|
|
7
|
+
import * as operations from "../../models/operations/index.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request: operations.CreateTransferRequest$inboundSchema,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$transfersCreate: ToolDefinition<typeof args> = {
|
|
15
|
+
name: "transfers-create",
|
|
16
|
+
description: `Create transfer
|
|
17
|
+
|
|
18
|
+
> 🚧 Beta feature
|
|
19
|
+
>
|
|
20
|
+
> This feature is currently in beta testing, and the final specification may still change.
|
|
21
|
+
|
|
22
|
+
Create a SEPA Credit Transfer from your Mollie Business Account.
|
|
23
|
+
|
|
24
|
+
To initiate a transfer, you must provide the transfer scheme, the amount, the debtor IBAN (your Mollie Business
|
|
25
|
+
Account IBAN), and the creditor (recipient) details.
|
|
26
|
+
|
|
27
|
+
Each request must include an \`Idempotency-Key\` header to prevent duplicate transfers, and must be signed using the
|
|
28
|
+
\`X-Client-Signature\` and \`X-Client-Signed-At\` headers.
|
|
29
|
+
|
|
30
|
+
### Simulating transfer scenarios in test mode
|
|
31
|
+
|
|
32
|
+
In test mode, you can simulate various transfer scenarios by adjusting the transfer amount. This allows you to
|
|
33
|
+
mimic the typical status progression of a real-world transfer. Note that a transfer's progression will stop once
|
|
34
|
+
it reaches a final status: \`blocked\`, \`failed\`, or \`processed\`.
|
|
35
|
+
|
|
36
|
+
| Amount | Scenario | Webhook sequence |
|
|
37
|
+
|---------|----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
38
|
+
| \`11.00\` | Transfer initiated, pending review by Mollie | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.pending-review\` |
|
|
39
|
+
| \`12.00\` | Transfer initiated, blocked by Mollie | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.pending-review\` → \`business-account-transfer.blocked\` |
|
|
40
|
+
| \`13.00\` | Transfer initiated, failed on scheme submission | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.failed\` |
|
|
41
|
+
| Other | Default: transfer is processed | \`business-account-transfer.requested\` → \`business-account-transfer.initiated\` → \`business-account-transfer.processed\` |`,
|
|
42
|
+
args,
|
|
43
|
+
tool: async (client, args, ctx) => {
|
|
44
|
+
const [result, apiCall] = await transfersCreate(
|
|
45
|
+
client,
|
|
46
|
+
args.request,
|
|
47
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
48
|
+
).$inspect();
|
|
49
|
+
|
|
50
|
+
if (!result.ok) {
|
|
51
|
+
return {
|
|
52
|
+
content: [{ type: "text", text: result.error.message }],
|
|
53
|
+
isError: true,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const value = result.value;
|
|
58
|
+
|
|
59
|
+
return formatResult(value, apiCall);
|
|
60
|
+
},
|
|
61
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: dc03b8b6e094
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { transfersGet } from "../../funcs/transfersGet.js";
|
|
7
|
+
import * as operations from "../../models/operations/index.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request: operations.GetTransferRequest$inboundSchema,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$transfersGet: ToolDefinition<typeof args> = {
|
|
15
|
+
name: "transfers-get",
|
|
16
|
+
description: `Get transfer
|
|
17
|
+
|
|
18
|
+
> 🚧 Beta feature
|
|
19
|
+
>
|
|
20
|
+
> This feature is currently in beta testing, and the final specification may still change.
|
|
21
|
+
|
|
22
|
+
Retrieve a single transfer object by its transfer ID. This allows you to check the current status
|
|
23
|
+
and details of a previously created transfer.`,
|
|
24
|
+
args,
|
|
25
|
+
tool: async (client, args, ctx) => {
|
|
26
|
+
const [result, apiCall] = await transfersGet(
|
|
27
|
+
client,
|
|
28
|
+
args.request,
|
|
29
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
30
|
+
).$inspect();
|
|
31
|
+
|
|
32
|
+
if (!result.ok) {
|
|
33
|
+
return {
|
|
34
|
+
content: [{ type: "text", text: result.error.message }],
|
|
35
|
+
isError: true,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const value = result.value;
|
|
40
|
+
|
|
41
|
+
return formatResult(value, apiCall);
|
|
42
|
+
},
|
|
43
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b7a84eda5fc9
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { verifyPayeesCreate } from "../../funcs/verifyPayeesCreate.js";
|
|
7
|
+
import * as operations from "../../models/operations/index.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request: operations.VerifyPayeeRequest$inboundSchema.optional(),
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$verifyPayeesCreate: ToolDefinition<typeof args> = {
|
|
15
|
+
name: "verify-payees-create",
|
|
16
|
+
description: `Verify Payee
|
|
17
|
+
|
|
18
|
+
> 🚧 Beta feature
|
|
19
|
+
>
|
|
20
|
+
> This feature is currently in beta testing, and the final specification may still change.
|
|
21
|
+
|
|
22
|
+
Perform a Verification of Payee (VoP) check. This allows you to verify the account holder name against the
|
|
23
|
+
records held by the receiving bank before initiating a transfer.
|
|
24
|
+
|
|
25
|
+
The verification result indicates whether the provided name matches, closely matches, or does not match the
|
|
26
|
+
name on file at the receiving bank. This helps prevent misdirected payments.
|
|
27
|
+
|
|
28
|
+
### Simulating verification scenarios in test mode
|
|
29
|
+
|
|
30
|
+
In test mode, you can simulate various verification outcomes by adjusting the creditor name in the
|
|
31
|
+
\`creditorBankAccount.accountHolderName\` property. This allows you to test all possible Verification of Payee
|
|
32
|
+
results without needing special properties. The names are case insensitive.
|
|
33
|
+
|
|
34
|
+
| Account holder name | Scenario | Verification result | Suggested name |
|
|
35
|
+
|----------------------------------------|-----------------------------------------------|---------------------|----------------|
|
|
36
|
+
| \`John Close Match\` | Name closely matches the bank records | \`close-match\` | \`John Match\` |
|
|
37
|
+
| \`John No Match\` | Name does not match the bank records | \`no-match\` | — |
|
|
38
|
+
| \`John Unavailable\` | Verification is not available | \`not-available\` | — |
|
|
39
|
+
| Any other name | Default: name matches the bank records | \`match\` | — |`,
|
|
40
|
+
args,
|
|
41
|
+
tool: async (client, args, ctx) => {
|
|
42
|
+
const [result, apiCall] = await verifyPayeesCreate(
|
|
43
|
+
client,
|
|
44
|
+
args.request,
|
|
45
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
46
|
+
).$inspect();
|
|
47
|
+
|
|
48
|
+
if (!result.ok) {
|
|
49
|
+
return {
|
|
50
|
+
content: [{ type: "text", text: result.error.message }],
|
|
51
|
+
isError: true,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const value = result.value;
|
|
56
|
+
|
|
57
|
+
return formatResult(value, apiCall);
|
|
58
|
+
},
|
|
59
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 37f5aec7abed
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* The format of the account number.
|
|
11
|
+
*/
|
|
12
|
+
export const AccountNumberFormat = {
|
|
13
|
+
Iban: "iban",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* The format of the account number.
|
|
17
|
+
*/
|
|
18
|
+
export type AccountNumberFormat = ClosedEnum<typeof AccountNumberFormat>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const AccountNumberFormat$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof AccountNumberFormat
|
|
23
|
+
> = z.nativeEnum(AccountNumberFormat);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const AccountNumberFormat$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof AccountNumberFormat
|
|
27
|
+
> = AccountNumberFormat$inboundSchema;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 490b5d1720ba
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../types/enums.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The format of the account number.
|
|
12
|
+
*/
|
|
13
|
+
export const AccountNumberFormatResponse = {
|
|
14
|
+
Iban: "iban",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* The format of the account number.
|
|
18
|
+
*/
|
|
19
|
+
export type AccountNumberFormatResponse = OpenEnum<
|
|
20
|
+
typeof AccountNumberFormatResponse
|
|
21
|
+
>;
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const AccountNumberFormatResponse$inboundSchema: z.ZodType<
|
|
25
|
+
AccountNumberFormatResponse,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = openEnums.inboundSchema(AccountNumberFormatResponse);
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const AccountNumberFormatResponse$outboundSchema: z.ZodType<
|
|
31
|
+
string,
|
|
32
|
+
z.ZodTypeDef,
|
|
33
|
+
AccountNumberFormatResponse
|
|
34
|
+
> = openEnums.outboundSchema(AccountNumberFormatResponse);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d02b12646cee
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import * as openEnums from "../types/enums.js";
|
|
8
|
+
import { OpenEnum } from "../types/enums.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Indicates whether the transfer is a credit or debit transaction from the perspective of the account holder.
|
|
12
|
+
*/
|
|
13
|
+
export const CreditDebitIndicator = {
|
|
14
|
+
Credit: "credit",
|
|
15
|
+
Debit: "debit",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the transfer is a credit or debit transaction from the perspective of the account holder.
|
|
19
|
+
*/
|
|
20
|
+
export type CreditDebitIndicator = OpenEnum<typeof CreditDebitIndicator>;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const CreditDebitIndicator$inboundSchema: z.ZodType<
|
|
24
|
+
CreditDebitIndicator,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = openEnums.inboundSchema(CreditDebitIndicator);
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const CreditDebitIndicator$outboundSchema: z.ZodType<
|
|
30
|
+
string,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
CreditDebitIndicator
|
|
33
|
+
> = openEnums.outboundSchema(CreditDebitIndicator);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a51965af674f
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import {
|
|
10
|
+
AccountNumberFormat,
|
|
11
|
+
AccountNumberFormat$inboundSchema,
|
|
12
|
+
AccountNumberFormat$outboundSchema,
|
|
13
|
+
} from "./accountnumberformat.js";
|
|
14
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The bank account details of the creditor (recipient) for Verification of Payee.
|
|
18
|
+
*/
|
|
19
|
+
export type CreditorBankAccount = {
|
|
20
|
+
/**
|
|
21
|
+
* The full name of the creditor account holder to verify against bank records.
|
|
22
|
+
*/
|
|
23
|
+
accountHolderName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The format of the account number.
|
|
26
|
+
*/
|
|
27
|
+
format: AccountNumberFormat;
|
|
28
|
+
/**
|
|
29
|
+
* The bank account details of the creditor.
|
|
30
|
+
*/
|
|
31
|
+
accountNumber: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const CreditorBankAccount$inboundSchema: z.ZodType<
|
|
36
|
+
CreditorBankAccount,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
accountHolderName: z.string(),
|
|
41
|
+
format: AccountNumberFormat$inboundSchema,
|
|
42
|
+
accountNumber: z.string(),
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type CreditorBankAccount$Outbound = {
|
|
46
|
+
accountHolderName: string;
|
|
47
|
+
format: string;
|
|
48
|
+
accountNumber: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreditorBankAccount$outboundSchema: z.ZodType<
|
|
53
|
+
CreditorBankAccount$Outbound,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
CreditorBankAccount
|
|
56
|
+
> = z.object({
|
|
57
|
+
accountHolderName: z.string(),
|
|
58
|
+
format: AccountNumberFormat$outboundSchema,
|
|
59
|
+
accountNumber: z.string(),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function creditorBankAccountToJSON(
|
|
63
|
+
creditorBankAccount: CreditorBankAccount,
|
|
64
|
+
): string {
|
|
65
|
+
return JSON.stringify(
|
|
66
|
+
CreditorBankAccount$outboundSchema.parse(creditorBankAccount),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
export function creditorBankAccountFromJSON(
|
|
70
|
+
jsonString: string,
|
|
71
|
+
): SafeParseResult<CreditorBankAccount, SDKValidationError> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) => CreditorBankAccount$inboundSchema.parse(JSON.parse(x)),
|
|
75
|
+
`Failed to parse 'CreditorBankAccount' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 65e8ad895881
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
9
|
+
import {
|
|
10
|
+
AccountNumberFormatResponse,
|
|
11
|
+
AccountNumberFormatResponse$inboundSchema,
|
|
12
|
+
AccountNumberFormatResponse$outboundSchema,
|
|
13
|
+
} from "./accountnumberformatresponse.js";
|
|
14
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The bank account details of the creditor (recipient) for Verification of Payee.
|
|
18
|
+
*/
|
|
19
|
+
export type CreditorBankAccountResponse = {
|
|
20
|
+
/**
|
|
21
|
+
* The full name of the creditor account holder to verify against bank records.
|
|
22
|
+
*/
|
|
23
|
+
accountHolderName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The format of the account number.
|
|
26
|
+
*/
|
|
27
|
+
format: AccountNumberFormatResponse;
|
|
28
|
+
/**
|
|
29
|
+
* The bank account details of the creditor.
|
|
30
|
+
*/
|
|
31
|
+
accountNumber: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const CreditorBankAccountResponse$inboundSchema: z.ZodType<
|
|
36
|
+
CreditorBankAccountResponse,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
accountHolderName: z.string(),
|
|
41
|
+
format: AccountNumberFormatResponse$inboundSchema,
|
|
42
|
+
accountNumber: z.string(),
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
export type CreditorBankAccountResponse$Outbound = {
|
|
46
|
+
accountHolderName: string;
|
|
47
|
+
format: string;
|
|
48
|
+
accountNumber: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CreditorBankAccountResponse$outboundSchema: z.ZodType<
|
|
53
|
+
CreditorBankAccountResponse$Outbound,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
CreditorBankAccountResponse
|
|
56
|
+
> = z.object({
|
|
57
|
+
accountHolderName: z.string(),
|
|
58
|
+
format: AccountNumberFormatResponse$outboundSchema,
|
|
59
|
+
accountNumber: z.string(),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function creditorBankAccountResponseToJSON(
|
|
63
|
+
creditorBankAccountResponse: CreditorBankAccountResponse,
|
|
64
|
+
): string {
|
|
65
|
+
return JSON.stringify(
|
|
66
|
+
CreditorBankAccountResponse$outboundSchema.parse(
|
|
67
|
+
creditorBankAccountResponse,
|
|
68
|
+
),
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
export function creditorBankAccountResponseFromJSON(
|
|
72
|
+
jsonString: string,
|
|
73
|
+
): SafeParseResult<CreditorBankAccountResponse, SDKValidationError> {
|
|
74
|
+
return safeParse(
|
|
75
|
+
jsonString,
|
|
76
|
+
(x) => CreditorBankAccountResponse$inboundSchema.parse(JSON.parse(x)),
|
|
77
|
+
`Failed to parse 'CreditorBankAccountResponse' from JSON`,
|
|
78
|
+
);
|
|
79
|
+
}
|