mollie-api-typescript 1.3.6 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -0
- package/bin/mcp-server.js +5624 -3703
- package/bin/mcp-server.js.map +50 -13
- package/dist/commonjs/funcs/accountsGet.d.ts +22 -0
- package/dist/commonjs/funcs/accountsGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountsGet.js +147 -0
- package/dist/commonjs/funcs/accountsGet.js.map +1 -0
- package/dist/commonjs/funcs/accountsGetAccount.d.ts +22 -0
- package/dist/commonjs/funcs/accountsGetAccount.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountsGetAccount.js +143 -0
- package/dist/commonjs/funcs/accountsGetAccount.js.map +1 -0
- package/dist/commonjs/funcs/accountsList.d.ts +27 -0
- package/dist/commonjs/funcs/accountsList.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountsList.js +178 -0
- package/dist/commonjs/funcs/accountsList.js.map +1 -0
- package/dist/commonjs/funcs/accountsListAccounts.d.ts +27 -0
- package/dist/commonjs/funcs/accountsListAccounts.d.ts.map +1 -0
- package/dist/commonjs/funcs/accountsListAccounts.js +178 -0
- package/dist/commonjs/funcs/accountsListAccounts.js.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts +23 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js +140 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts +29 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.d.ts.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js +179 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts +23 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js +141 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts +23 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js +140 -0
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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 +17 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/accountsGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/accountsGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsGet.js +66 -0
- package/dist/commonjs/mcp-server/tools/accountsGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsGetAccount.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/accountsGetAccount.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsGetAccount.js +66 -0
- package/dist/commonjs/mcp-server/tools/accountsGetAccount.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/accountsList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsList.js +67 -0
- package/dist/commonjs/mcp-server/tools/accountsList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsListAccounts.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/accountsListAccounts.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/accountsListAccounts.js +67 -0
- package/dist/commonjs/mcp-server/tools/accountsListAccounts.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.js +69 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersGet.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.js +72 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersList.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.js +69 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersMatch.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.js +69 -0
- package/dist/commonjs/mcp-server/tools/unmatchedCreditTransfersReturn.js.map +1 -0
- package/dist/commonjs/models/accountdetails.d.ts +43 -0
- package/dist/commonjs/models/accountdetails.d.ts.map +1 -0
- package/dist/commonjs/models/accountdetails.js +67 -0
- package/dist/commonjs/models/accountdetails.js.map +1 -0
- package/dist/commonjs/models/accountstatus.d.ts +19 -0
- package/dist/commonjs/models/accountstatus.d.ts.map +1 -0
- package/dist/commonjs/models/accountstatus.js +54 -0
- package/dist/commonjs/models/accountstatus.js.map +1 -0
- package/dist/commonjs/models/afterbalance.d.ts +24 -0
- package/dist/commonjs/models/afterbalance.d.ts.map +1 -0
- package/dist/commonjs/models/afterbalance.js +60 -0
- package/dist/commonjs/models/afterbalance.js.map +1 -0
- package/dist/commonjs/models/balance.d.ts +24 -0
- package/dist/commonjs/models/balance.d.ts.map +1 -0
- package/dist/commonjs/models/balance.js +60 -0
- package/dist/commonjs/models/balance.js.map +1 -0
- package/dist/commonjs/models/businessaccountresponse.d.ts +60 -0
- package/dist/commonjs/models/businessaccountresponse.d.ts.map +1 -0
- package/dist/commonjs/models/businessaccountresponse.js +75 -0
- package/dist/commonjs/models/businessaccountresponse.js.map +1 -0
- package/dist/commonjs/models/counterparty.d.ts +28 -0
- package/dist/commonjs/models/counterparty.d.ts.map +1 -0
- package/dist/commonjs/models/counterparty.js +61 -0
- package/dist/commonjs/models/counterparty.js.map +1 -0
- package/dist/commonjs/models/creditdebitindicator.d.ts +2 -2
- package/dist/commonjs/models/creditdebitindicator.js +1 -1
- package/dist/commonjs/models/entityunmatchedcredittransfer.d.ts +214 -0
- package/dist/commonjs/models/entityunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/commonjs/models/entityunmatchedcredittransfer.js +204 -0
- package/dist/commonjs/models/entityunmatchedcredittransfer.js.map +1 -0
- package/dist/commonjs/models/errorresponse.d.ts +8 -8
- package/dist/commonjs/models/errorresponse.d.ts.map +1 -1
- package/dist/commonjs/models/errorresponse.js +11 -11
- package/dist/commonjs/models/errorresponse.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +13 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +13 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/listentityunmatchedcredittransfer.d.ts +191 -0
- package/dist/commonjs/models/listentityunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/commonjs/models/listentityunmatchedcredittransfer.js +185 -0
- package/dist/commonjs/models/listentityunmatchedcredittransfer.js.map +1 -0
- package/dist/commonjs/models/operations/getbusinessaccount.d.ts +58 -0
- package/dist/commonjs/models/operations/getbusinessaccount.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getbusinessaccount.js +88 -0
- package/dist/commonjs/models/operations/getbusinessaccount.js.map +1 -0
- package/dist/commonjs/models/operations/getbusinessaccounttransaction.d.ts +63 -0
- package/dist/commonjs/models/operations/getbusinessaccounttransaction.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getbusinessaccounttransaction.js +90 -0
- package/dist/commonjs/models/operations/getbusinessaccounttransaction.js.map +1 -0
- package/dist/commonjs/models/operations/getunmatchedcredittransfer.d.ts +25 -0
- package/dist/commonjs/models/operations/getunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getunmatchedcredittransfer.js +70 -0
- package/dist/commonjs/models/operations/getunmatchedcredittransfer.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +8 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +8 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/listbusinessaccounts.d.ts +131 -0
- package/dist/commonjs/models/operations/listbusinessaccounts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listbusinessaccounts.js +161 -0
- package/dist/commonjs/models/operations/listbusinessaccounts.js.map +1 -0
- package/dist/commonjs/models/operations/listbusinessaccounttransactions.d.ts +136 -0
- package/dist/commonjs/models/operations/listbusinessaccounttransactions.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listbusinessaccounttransactions.js +161 -0
- package/dist/commonjs/models/operations/listbusinessaccounttransactions.js.map +1 -0
- package/dist/commonjs/models/operations/listunmatchedcredittransfers.d.ts +95 -0
- package/dist/commonjs/models/operations/listunmatchedcredittransfers.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listunmatchedcredittransfers.js +151 -0
- package/dist/commonjs/models/operations/listunmatchedcredittransfers.js.map +1 -0
- package/dist/commonjs/models/operations/matchunmatchedcredittransfer.d.ts +28 -0
- package/dist/commonjs/models/operations/matchunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/matchunmatchedcredittransfer.js +77 -0
- package/dist/commonjs/models/operations/matchunmatchedcredittransfer.js.map +1 -0
- package/dist/commonjs/models/operations/returnunmatchedcredittransfer.d.ts +25 -0
- package/dist/commonjs/models/operations/returnunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/commonjs/models/operations/returnunmatchedcredittransfer.js +70 -0
- package/dist/commonjs/models/operations/returnunmatchedcredittransfer.js.map +1 -0
- package/dist/commonjs/models/transactionresponse.d.ts +92 -0
- package/dist/commonjs/models/transactionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/transactionresponse.js +87 -0
- package/dist/commonjs/models/transactionresponse.js.map +1 -0
- package/dist/commonjs/models/transactiontype.d.ts +35 -0
- package/dist/commonjs/models/transactiontype.d.ts.map +1 -0
- package/dist/commonjs/models/transactiontype.js +65 -0
- package/dist/commonjs/models/transactiontype.js.map +1 -0
- package/dist/commonjs/models/transferresponse.d.ts +1 -1
- package/dist/commonjs/models/unmatchedcredittransferactionresponse.d.ts +164 -0
- package/dist/commonjs/models/unmatchedcredittransferactionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/unmatchedcredittransferactionresponse.js +175 -0
- package/dist/commonjs/models/unmatchedcredittransferactionresponse.js.map +1 -0
- package/dist/commonjs/models/unmatchedcredittransfermatchrequest.d.ts +20 -0
- package/dist/commonjs/models/unmatchedcredittransfermatchrequest.d.ts.map +1 -0
- package/dist/commonjs/models/unmatchedcredittransfermatchrequest.js +59 -0
- package/dist/commonjs/models/unmatchedcredittransfermatchrequest.js.map +1 -0
- package/dist/commonjs/models/unmatchedcredittransferstatus.d.ts +14 -0
- package/dist/commonjs/models/unmatchedcredittransferstatus.d.ts.map +1 -0
- package/dist/commonjs/models/unmatchedcredittransferstatus.js +52 -0
- package/dist/commonjs/models/unmatchedcredittransferstatus.js.map +1 -0
- package/dist/commonjs/sdk/accounts.d.ts +45 -0
- package/dist/commonjs/sdk/accounts.d.ts.map +1 -0
- package/dist/commonjs/sdk/accounts.js +60 -0
- package/dist/commonjs/sdk/accounts.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/unmatchedcredittransfers.d.ts +55 -0
- package/dist/commonjs/sdk/unmatchedcredittransfers.d.ts.map +1 -0
- package/dist/commonjs/sdk/unmatchedcredittransfers.js +72 -0
- package/dist/commonjs/sdk/unmatchedcredittransfers.js.map +1 -0
- package/dist/esm/funcs/accountsGet.d.ts +22 -0
- package/dist/esm/funcs/accountsGet.d.ts.map +1 -0
- package/dist/esm/funcs/accountsGet.js +111 -0
- package/dist/esm/funcs/accountsGet.js.map +1 -0
- package/dist/esm/funcs/accountsGetAccount.d.ts +22 -0
- package/dist/esm/funcs/accountsGetAccount.d.ts.map +1 -0
- package/dist/esm/funcs/accountsGetAccount.js +107 -0
- package/dist/esm/funcs/accountsGetAccount.js.map +1 -0
- package/dist/esm/funcs/accountsList.d.ts +27 -0
- package/dist/esm/funcs/accountsList.d.ts.map +1 -0
- package/dist/esm/funcs/accountsList.js +142 -0
- package/dist/esm/funcs/accountsList.js.map +1 -0
- package/dist/esm/funcs/accountsListAccounts.d.ts +27 -0
- package/dist/esm/funcs/accountsListAccounts.d.ts.map +1 -0
- package/dist/esm/funcs/accountsListAccounts.js +142 -0
- package/dist/esm/funcs/accountsListAccounts.js.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts +23 -0
- package/dist/esm/funcs/unmatchedCreditTransfersGet.d.ts.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js +104 -0
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts +29 -0
- package/dist/esm/funcs/unmatchedCreditTransfersList.d.ts.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersList.js +143 -0
- package/dist/esm/funcs/unmatchedCreditTransfersList.js.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts +23 -0
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.d.ts.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js +105 -0
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts +23 -0
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.d.ts.map +1 -0
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js +104 -0
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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 +17 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/accountsGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/accountsGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/accountsGet.js +30 -0
- package/dist/esm/mcp-server/tools/accountsGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/accountsGetAccount.d.ts +8 -0
- package/dist/esm/mcp-server/tools/accountsGetAccount.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/accountsGetAccount.js +30 -0
- package/dist/esm/mcp-server/tools/accountsGetAccount.js.map +1 -0
- package/dist/esm/mcp-server/tools/accountsList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/accountsList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/accountsList.js +31 -0
- package/dist/esm/mcp-server/tools/accountsList.js.map +1 -0
- package/dist/esm/mcp-server/tools/accountsListAccounts.d.ts +8 -0
- package/dist/esm/mcp-server/tools/accountsListAccounts.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/accountsListAccounts.js +31 -0
- package/dist/esm/mcp-server/tools/accountsListAccounts.js.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.d.ts +8 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.js +33 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersGet.js.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.d.ts +8 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.js +36 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersList.js.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts +8 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.js +33 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersMatch.js.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts +8 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.js +33 -0
- package/dist/esm/mcp-server/tools/unmatchedCreditTransfersReturn.js.map +1 -0
- package/dist/esm/models/accountdetails.d.ts +43 -0
- package/dist/esm/models/accountdetails.d.ts.map +1 -0
- package/dist/esm/models/accountdetails.js +29 -0
- package/dist/esm/models/accountdetails.js.map +1 -0
- package/dist/esm/models/accountstatus.d.ts +19 -0
- package/dist/esm/models/accountstatus.d.ts.map +1 -0
- package/dist/esm/models/accountstatus.js +18 -0
- package/dist/esm/models/accountstatus.js.map +1 -0
- package/dist/esm/models/afterbalance.d.ts +24 -0
- package/dist/esm/models/afterbalance.d.ts.map +1 -0
- package/dist/esm/models/afterbalance.js +22 -0
- package/dist/esm/models/afterbalance.js.map +1 -0
- package/dist/esm/models/balance.d.ts +24 -0
- package/dist/esm/models/balance.d.ts.map +1 -0
- package/dist/esm/models/balance.js +22 -0
- package/dist/esm/models/balance.js.map +1 -0
- package/dist/esm/models/businessaccountresponse.d.ts +60 -0
- package/dist/esm/models/businessaccountresponse.d.ts.map +1 -0
- package/dist/esm/models/businessaccountresponse.js +37 -0
- package/dist/esm/models/businessaccountresponse.js.map +1 -0
- package/dist/esm/models/counterparty.d.ts +28 -0
- package/dist/esm/models/counterparty.d.ts.map +1 -0
- package/dist/esm/models/counterparty.js +23 -0
- package/dist/esm/models/counterparty.js.map +1 -0
- package/dist/esm/models/creditdebitindicator.d.ts +2 -2
- package/dist/esm/models/creditdebitindicator.js +1 -1
- package/dist/esm/models/entityunmatchedcredittransfer.d.ts +214 -0
- package/dist/esm/models/entityunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/esm/models/entityunmatchedcredittransfer.js +154 -0
- package/dist/esm/models/entityunmatchedcredittransfer.js.map +1 -0
- package/dist/esm/models/errorresponse.d.ts +8 -8
- package/dist/esm/models/errorresponse.d.ts.map +1 -1
- package/dist/esm/models/errorresponse.js +8 -8
- package/dist/esm/models/errorresponse.js.map +1 -1
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +13 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/listentityunmatchedcredittransfer.d.ts +191 -0
- package/dist/esm/models/listentityunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/esm/models/listentityunmatchedcredittransfer.js +137 -0
- package/dist/esm/models/listentityunmatchedcredittransfer.js.map +1 -0
- package/dist/esm/models/operations/getbusinessaccount.d.ts +58 -0
- package/dist/esm/models/operations/getbusinessaccount.d.ts.map +1 -0
- package/dist/esm/models/operations/getbusinessaccount.js +48 -0
- package/dist/esm/models/operations/getbusinessaccount.js.map +1 -0
- package/dist/esm/models/operations/getbusinessaccounttransaction.d.ts +63 -0
- package/dist/esm/models/operations/getbusinessaccounttransaction.d.ts.map +1 -0
- package/dist/esm/models/operations/getbusinessaccounttransaction.js +50 -0
- package/dist/esm/models/operations/getbusinessaccounttransaction.js.map +1 -0
- package/dist/esm/models/operations/getunmatchedcredittransfer.d.ts +25 -0
- package/dist/esm/models/operations/getunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/esm/models/operations/getunmatchedcredittransfer.js +32 -0
- package/dist/esm/models/operations/getunmatchedcredittransfer.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +8 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +8 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/listbusinessaccounts.d.ts +131 -0
- package/dist/esm/models/operations/listbusinessaccounts.d.ts.map +1 -0
- package/dist/esm/models/operations/listbusinessaccounts.js +115 -0
- package/dist/esm/models/operations/listbusinessaccounts.js.map +1 -0
- package/dist/esm/models/operations/listbusinessaccounttransactions.d.ts +136 -0
- package/dist/esm/models/operations/listbusinessaccounttransactions.d.ts.map +1 -0
- package/dist/esm/models/operations/listbusinessaccounttransactions.js +115 -0
- package/dist/esm/models/operations/listbusinessaccounttransactions.js.map +1 -0
- package/dist/esm/models/operations/listunmatchedcredittransfers.d.ts +95 -0
- package/dist/esm/models/operations/listunmatchedcredittransfers.d.ts.map +1 -0
- package/dist/esm/models/operations/listunmatchedcredittransfers.js +107 -0
- package/dist/esm/models/operations/listunmatchedcredittransfers.js.map +1 -0
- package/dist/esm/models/operations/matchunmatchedcredittransfer.d.ts +28 -0
- package/dist/esm/models/operations/matchunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/esm/models/operations/matchunmatchedcredittransfer.js +39 -0
- package/dist/esm/models/operations/matchunmatchedcredittransfer.js.map +1 -0
- package/dist/esm/models/operations/returnunmatchedcredittransfer.d.ts +25 -0
- package/dist/esm/models/operations/returnunmatchedcredittransfer.d.ts.map +1 -0
- package/dist/esm/models/operations/returnunmatchedcredittransfer.js +32 -0
- package/dist/esm/models/operations/returnunmatchedcredittransfer.js.map +1 -0
- package/dist/esm/models/transactionresponse.d.ts +92 -0
- package/dist/esm/models/transactionresponse.d.ts.map +1 -0
- package/dist/esm/models/transactionresponse.js +49 -0
- package/dist/esm/models/transactionresponse.js.map +1 -0
- package/dist/esm/models/transactiontype.d.ts +35 -0
- package/dist/esm/models/transactiontype.d.ts.map +1 -0
- package/dist/esm/models/transactiontype.js +29 -0
- package/dist/esm/models/transactiontype.js.map +1 -0
- package/dist/esm/models/transferresponse.d.ts +1 -1
- package/dist/esm/models/unmatchedcredittransferactionresponse.d.ts +164 -0
- package/dist/esm/models/unmatchedcredittransferactionresponse.d.ts.map +1 -0
- package/dist/esm/models/unmatchedcredittransferactionresponse.js +129 -0
- package/dist/esm/models/unmatchedcredittransferactionresponse.js.map +1 -0
- package/dist/esm/models/unmatchedcredittransfermatchrequest.d.ts +20 -0
- package/dist/esm/models/unmatchedcredittransfermatchrequest.d.ts.map +1 -0
- package/dist/esm/models/unmatchedcredittransfermatchrequest.js +21 -0
- package/dist/esm/models/unmatchedcredittransfermatchrequest.js.map +1 -0
- package/dist/esm/models/unmatchedcredittransferstatus.d.ts +14 -0
- package/dist/esm/models/unmatchedcredittransferstatus.d.ts.map +1 -0
- package/dist/esm/models/unmatchedcredittransferstatus.js +16 -0
- package/dist/esm/models/unmatchedcredittransferstatus.js.map +1 -0
- package/dist/esm/sdk/accounts.d.ts +45 -0
- package/dist/esm/sdk/accounts.d.ts.map +1 -0
- package/dist/esm/sdk/accounts.js +56 -0
- package/dist/esm/sdk/accounts.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/unmatchedcredittransfers.d.ts +55 -0
- package/dist/esm/sdk/unmatchedcredittransfers.d.ts.map +1 -0
- package/dist/esm/sdk/unmatchedcredittransfers.js +68 -0
- package/dist/esm/sdk/unmatchedcredittransfers.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accountsGet.ts +212 -0
- package/src/funcs/accountsGetAccount.ts +205 -0
- package/src/funcs/accountsList.ts +285 -0
- package/src/funcs/accountsListAccounts.ts +275 -0
- package/src/funcs/unmatchedCreditTransfersGet.ts +202 -0
- package/src/funcs/unmatchedCreditTransfersList.ts +274 -0
- package/src/funcs/unmatchedCreditTransfersMatch.ts +209 -0
- package/src/funcs/unmatchedCreditTransfersReturn.ts +204 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +17 -1
- package/src/mcp-server/tools/accountsGet.ts +39 -0
- package/src/mcp-server/tools/accountsGetAccount.ts +39 -0
- package/src/mcp-server/tools/accountsList.ts +40 -0
- package/src/mcp-server/tools/accountsListAccounts.ts +40 -0
- package/src/mcp-server/tools/unmatchedCreditTransfersGet.ts +42 -0
- package/src/mcp-server/tools/unmatchedCreditTransfersList.ts +45 -0
- package/src/mcp-server/tools/unmatchedCreditTransfersMatch.ts +42 -0
- package/src/mcp-server/tools/unmatchedCreditTransfersReturn.ts +43 -0
- package/src/models/accountdetails.ts +82 -0
- package/src/models/accountstatus.ts +34 -0
- package/src/models/afterbalance.ts +60 -0
- package/src/models/balance.ts +57 -0
- package/src/models/businessaccountresponse.ts +121 -0
- package/src/models/counterparty.ts +61 -0
- package/src/models/creditdebitindicator.ts +2 -2
- package/src/models/entityunmatchedcredittransfer.ts +538 -0
- package/src/models/errorresponse.ts +21 -17
- package/src/models/index.ts +13 -0
- package/src/models/listentityunmatchedcredittransfer.ts +476 -0
- package/src/models/operations/getbusinessaccount.ts +136 -0
- package/src/models/operations/getbusinessaccounttransaction.ts +149 -0
- package/src/models/operations/getunmatchedcredittransfer.ts +73 -0
- package/src/models/operations/index.ts +8 -0
- package/src/models/operations/listbusinessaccounts.ts +333 -0
- package/src/models/operations/listbusinessaccounttransactions.ts +373 -0
- package/src/models/operations/listunmatchedcredittransfers.ts +287 -0
- package/src/models/operations/matchunmatchedcredittransfer.ts +89 -0
- package/src/models/operations/returnunmatchedcredittransfer.ts +74 -0
- package/src/models/transactionresponse.ts +172 -0
- package/src/models/transactiontype.ts +50 -0
- package/src/models/transferresponse.ts +1 -1
- package/src/models/unmatchedcredittransferactionresponse.ts +426 -0
- package/src/models/unmatchedcredittransfermatchrequest.ts +58 -0
- package/src/models/unmatchedcredittransferstatus.ts +31 -0
- package/src/sdk/accounts.ts +97 -0
- package/src/sdk/sdk.ts +14 -0
- package/src/sdk/unmatchedcredittransfers.ts +107 -0
|
@@ -0,0 +1,538 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4963e048ca78
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
+
import {
|
|
11
|
+
Amount,
|
|
12
|
+
Amount$inboundSchema,
|
|
13
|
+
Amount$Outbound,
|
|
14
|
+
Amount$outboundSchema,
|
|
15
|
+
} from "./amount.js";
|
|
16
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
17
|
+
import {
|
|
18
|
+
UnmatchedCreditTransferStatus,
|
|
19
|
+
UnmatchedCreditTransferStatus$inboundSchema,
|
|
20
|
+
UnmatchedCreditTransferStatus$outboundSchema,
|
|
21
|
+
} from "./unmatchedcredittransferstatus.js";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Details about the sender of the credit transfer.
|
|
25
|
+
*/
|
|
26
|
+
export type EntityUnmatchedCreditTransferSource = {
|
|
27
|
+
/**
|
|
28
|
+
* The format of the source account. Currently always `iban`.
|
|
29
|
+
*/
|
|
30
|
+
format: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the account holder who sent the unmatched credit transfer.
|
|
33
|
+
*/
|
|
34
|
+
accountHolderName: string;
|
|
35
|
+
/**
|
|
36
|
+
* The IBAN of the sender's bank account.
|
|
37
|
+
*/
|
|
38
|
+
iban: string;
|
|
39
|
+
/**
|
|
40
|
+
* The BIC of the sender's bank.
|
|
41
|
+
*/
|
|
42
|
+
bic: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Structured references provided with the unmatched credit transfer.
|
|
47
|
+
*/
|
|
48
|
+
export type EntityUnmatchedCreditTransferReferences = {
|
|
49
|
+
/**
|
|
50
|
+
* The creditor reference.
|
|
51
|
+
*/
|
|
52
|
+
creditorReference?: string | null | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The end-to-end identifier.
|
|
55
|
+
*/
|
|
56
|
+
endToEndId?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Remittance information provided with the unmatched credit transfer.
|
|
61
|
+
*/
|
|
62
|
+
export type EntityUnmatchedCreditTransferRemittanceInformation = {
|
|
63
|
+
/**
|
|
64
|
+
* Unstructured remittance information, such as a free-text payment description.
|
|
65
|
+
*/
|
|
66
|
+
unstructured?: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Structured references provided with the unmatched credit transfer.
|
|
69
|
+
*/
|
|
70
|
+
references?: EntityUnmatchedCreditTransferReferences | undefined;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The URL to this unmatched credit transfer.
|
|
75
|
+
*/
|
|
76
|
+
export type EntityUnmatchedCreditTransferSelf = {
|
|
77
|
+
href?: string | undefined;
|
|
78
|
+
type?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The URL to the documentation of this endpoint.
|
|
83
|
+
*/
|
|
84
|
+
export type EntityUnmatchedCreditTransferDocumentation = {
|
|
85
|
+
href?: string | undefined;
|
|
86
|
+
type?: string | undefined;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Links to related resources.
|
|
91
|
+
*/
|
|
92
|
+
export type EntityUnmatchedCreditTransferLinks = {
|
|
93
|
+
/**
|
|
94
|
+
* The URL to this unmatched credit transfer.
|
|
95
|
+
*/
|
|
96
|
+
self?: EntityUnmatchedCreditTransferSelf | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* The URL to the documentation of this endpoint.
|
|
99
|
+
*/
|
|
100
|
+
documentation?: EntityUnmatchedCreditTransferDocumentation | undefined;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export type EntityUnmatchedCreditTransfer = {
|
|
104
|
+
/**
|
|
105
|
+
* Indicates the response contains an unmatched credit transfer object. Will always contain the string
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* `unmatched-credit-transfer` for this endpoint.
|
|
109
|
+
*/
|
|
110
|
+
resource: string;
|
|
111
|
+
/**
|
|
112
|
+
* The identifier uniquely referring to this unmatched credit transfer.
|
|
113
|
+
*/
|
|
114
|
+
id: string;
|
|
115
|
+
profileId: string;
|
|
116
|
+
/**
|
|
117
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
118
|
+
*/
|
|
119
|
+
amount: Amount;
|
|
120
|
+
/**
|
|
121
|
+
* Details about the sender of the credit transfer.
|
|
122
|
+
*/
|
|
123
|
+
source: EntityUnmatchedCreditTransferSource;
|
|
124
|
+
/**
|
|
125
|
+
* Remittance information provided with the unmatched credit transfer.
|
|
126
|
+
*/
|
|
127
|
+
remittanceInformation: EntityUnmatchedCreditTransferRemittanceInformation;
|
|
128
|
+
status: UnmatchedCreditTransferStatus;
|
|
129
|
+
/**
|
|
130
|
+
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
131
|
+
*/
|
|
132
|
+
createdAt: string;
|
|
133
|
+
/**
|
|
134
|
+
* The date and time at which the unmatched credit transfer expires, in
|
|
135
|
+
*
|
|
136
|
+
* @remarks
|
|
137
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
138
|
+
*/
|
|
139
|
+
expiresAt: string;
|
|
140
|
+
/**
|
|
141
|
+
* The IDs of the payments this credit transfer was matched to. Only present when the status is `matched`.
|
|
142
|
+
*/
|
|
143
|
+
paymentIds?: Array<string> | undefined;
|
|
144
|
+
/**
|
|
145
|
+
* Links to related resources.
|
|
146
|
+
*/
|
|
147
|
+
links: EntityUnmatchedCreditTransferLinks;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export const EntityUnmatchedCreditTransferSource$inboundSchema: z.ZodType<
|
|
152
|
+
EntityUnmatchedCreditTransferSource,
|
|
153
|
+
z.ZodTypeDef,
|
|
154
|
+
unknown
|
|
155
|
+
> = z.object({
|
|
156
|
+
format: z.string(),
|
|
157
|
+
accountHolderName: z.string(),
|
|
158
|
+
iban: z.string(),
|
|
159
|
+
bic: z.string(),
|
|
160
|
+
});
|
|
161
|
+
/** @internal */
|
|
162
|
+
export type EntityUnmatchedCreditTransferSource$Outbound = {
|
|
163
|
+
format: string;
|
|
164
|
+
accountHolderName: string;
|
|
165
|
+
iban: string;
|
|
166
|
+
bic: string;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/** @internal */
|
|
170
|
+
export const EntityUnmatchedCreditTransferSource$outboundSchema: z.ZodType<
|
|
171
|
+
EntityUnmatchedCreditTransferSource$Outbound,
|
|
172
|
+
z.ZodTypeDef,
|
|
173
|
+
EntityUnmatchedCreditTransferSource
|
|
174
|
+
> = z.object({
|
|
175
|
+
format: z.string(),
|
|
176
|
+
accountHolderName: z.string(),
|
|
177
|
+
iban: z.string(),
|
|
178
|
+
bic: z.string(),
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export function entityUnmatchedCreditTransferSourceToJSON(
|
|
182
|
+
entityUnmatchedCreditTransferSource: EntityUnmatchedCreditTransferSource,
|
|
183
|
+
): string {
|
|
184
|
+
return JSON.stringify(
|
|
185
|
+
EntityUnmatchedCreditTransferSource$outboundSchema.parse(
|
|
186
|
+
entityUnmatchedCreditTransferSource,
|
|
187
|
+
),
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
export function entityUnmatchedCreditTransferSourceFromJSON(
|
|
191
|
+
jsonString: string,
|
|
192
|
+
): SafeParseResult<EntityUnmatchedCreditTransferSource, SDKValidationError> {
|
|
193
|
+
return safeParse(
|
|
194
|
+
jsonString,
|
|
195
|
+
(x) =>
|
|
196
|
+
EntityUnmatchedCreditTransferSource$inboundSchema.parse(JSON.parse(x)),
|
|
197
|
+
`Failed to parse 'EntityUnmatchedCreditTransferSource' from JSON`,
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/** @internal */
|
|
202
|
+
export const EntityUnmatchedCreditTransferReferences$inboundSchema: z.ZodType<
|
|
203
|
+
EntityUnmatchedCreditTransferReferences,
|
|
204
|
+
z.ZodTypeDef,
|
|
205
|
+
unknown
|
|
206
|
+
> = z.object({
|
|
207
|
+
creditorReference: z.nullable(z.string()).optional(),
|
|
208
|
+
endToEndId: z.string().optional(),
|
|
209
|
+
});
|
|
210
|
+
/** @internal */
|
|
211
|
+
export type EntityUnmatchedCreditTransferReferences$Outbound = {
|
|
212
|
+
creditorReference?: string | null | undefined;
|
|
213
|
+
endToEndId?: string | undefined;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/** @internal */
|
|
217
|
+
export const EntityUnmatchedCreditTransferReferences$outboundSchema: z.ZodType<
|
|
218
|
+
EntityUnmatchedCreditTransferReferences$Outbound,
|
|
219
|
+
z.ZodTypeDef,
|
|
220
|
+
EntityUnmatchedCreditTransferReferences
|
|
221
|
+
> = z.object({
|
|
222
|
+
creditorReference: z.nullable(z.string()).optional(),
|
|
223
|
+
endToEndId: z.string().optional(),
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
export function entityUnmatchedCreditTransferReferencesToJSON(
|
|
227
|
+
entityUnmatchedCreditTransferReferences:
|
|
228
|
+
EntityUnmatchedCreditTransferReferences,
|
|
229
|
+
): string {
|
|
230
|
+
return JSON.stringify(
|
|
231
|
+
EntityUnmatchedCreditTransferReferences$outboundSchema.parse(
|
|
232
|
+
entityUnmatchedCreditTransferReferences,
|
|
233
|
+
),
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
export function entityUnmatchedCreditTransferReferencesFromJSON(
|
|
237
|
+
jsonString: string,
|
|
238
|
+
): SafeParseResult<
|
|
239
|
+
EntityUnmatchedCreditTransferReferences,
|
|
240
|
+
SDKValidationError
|
|
241
|
+
> {
|
|
242
|
+
return safeParse(
|
|
243
|
+
jsonString,
|
|
244
|
+
(x) =>
|
|
245
|
+
EntityUnmatchedCreditTransferReferences$inboundSchema.parse(
|
|
246
|
+
JSON.parse(x),
|
|
247
|
+
),
|
|
248
|
+
`Failed to parse 'EntityUnmatchedCreditTransferReferences' from JSON`,
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/** @internal */
|
|
253
|
+
export const EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema:
|
|
254
|
+
z.ZodType<
|
|
255
|
+
EntityUnmatchedCreditTransferRemittanceInformation,
|
|
256
|
+
z.ZodTypeDef,
|
|
257
|
+
unknown
|
|
258
|
+
> = z.object({
|
|
259
|
+
unstructured: z.string().optional(),
|
|
260
|
+
references: z.lazy(() =>
|
|
261
|
+
EntityUnmatchedCreditTransferReferences$inboundSchema
|
|
262
|
+
).optional(),
|
|
263
|
+
});
|
|
264
|
+
/** @internal */
|
|
265
|
+
export type EntityUnmatchedCreditTransferRemittanceInformation$Outbound = {
|
|
266
|
+
unstructured?: string | undefined;
|
|
267
|
+
references?: EntityUnmatchedCreditTransferReferences$Outbound | undefined;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
/** @internal */
|
|
271
|
+
export const EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema:
|
|
272
|
+
z.ZodType<
|
|
273
|
+
EntityUnmatchedCreditTransferRemittanceInformation$Outbound,
|
|
274
|
+
z.ZodTypeDef,
|
|
275
|
+
EntityUnmatchedCreditTransferRemittanceInformation
|
|
276
|
+
> = z.object({
|
|
277
|
+
unstructured: z.string().optional(),
|
|
278
|
+
references: z.lazy(() =>
|
|
279
|
+
EntityUnmatchedCreditTransferReferences$outboundSchema
|
|
280
|
+
).optional(),
|
|
281
|
+
});
|
|
282
|
+
|
|
283
|
+
export function entityUnmatchedCreditTransferRemittanceInformationToJSON(
|
|
284
|
+
entityUnmatchedCreditTransferRemittanceInformation:
|
|
285
|
+
EntityUnmatchedCreditTransferRemittanceInformation,
|
|
286
|
+
): string {
|
|
287
|
+
return JSON.stringify(
|
|
288
|
+
EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema.parse(
|
|
289
|
+
entityUnmatchedCreditTransferRemittanceInformation,
|
|
290
|
+
),
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
export function entityUnmatchedCreditTransferRemittanceInformationFromJSON(
|
|
294
|
+
jsonString: string,
|
|
295
|
+
): SafeParseResult<
|
|
296
|
+
EntityUnmatchedCreditTransferRemittanceInformation,
|
|
297
|
+
SDKValidationError
|
|
298
|
+
> {
|
|
299
|
+
return safeParse(
|
|
300
|
+
jsonString,
|
|
301
|
+
(x) =>
|
|
302
|
+
EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema.parse(
|
|
303
|
+
JSON.parse(x),
|
|
304
|
+
),
|
|
305
|
+
`Failed to parse 'EntityUnmatchedCreditTransferRemittanceInformation' from JSON`,
|
|
306
|
+
);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/** @internal */
|
|
310
|
+
export const EntityUnmatchedCreditTransferSelf$inboundSchema: z.ZodType<
|
|
311
|
+
EntityUnmatchedCreditTransferSelf,
|
|
312
|
+
z.ZodTypeDef,
|
|
313
|
+
unknown
|
|
314
|
+
> = z.object({
|
|
315
|
+
href: z.string().optional(),
|
|
316
|
+
type: z.string().optional(),
|
|
317
|
+
});
|
|
318
|
+
/** @internal */
|
|
319
|
+
export type EntityUnmatchedCreditTransferSelf$Outbound = {
|
|
320
|
+
href?: string | undefined;
|
|
321
|
+
type?: string | undefined;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
/** @internal */
|
|
325
|
+
export const EntityUnmatchedCreditTransferSelf$outboundSchema: z.ZodType<
|
|
326
|
+
EntityUnmatchedCreditTransferSelf$Outbound,
|
|
327
|
+
z.ZodTypeDef,
|
|
328
|
+
EntityUnmatchedCreditTransferSelf
|
|
329
|
+
> = z.object({
|
|
330
|
+
href: z.string().optional(),
|
|
331
|
+
type: z.string().optional(),
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
export function entityUnmatchedCreditTransferSelfToJSON(
|
|
335
|
+
entityUnmatchedCreditTransferSelf: EntityUnmatchedCreditTransferSelf,
|
|
336
|
+
): string {
|
|
337
|
+
return JSON.stringify(
|
|
338
|
+
EntityUnmatchedCreditTransferSelf$outboundSchema.parse(
|
|
339
|
+
entityUnmatchedCreditTransferSelf,
|
|
340
|
+
),
|
|
341
|
+
);
|
|
342
|
+
}
|
|
343
|
+
export function entityUnmatchedCreditTransferSelfFromJSON(
|
|
344
|
+
jsonString: string,
|
|
345
|
+
): SafeParseResult<EntityUnmatchedCreditTransferSelf, SDKValidationError> {
|
|
346
|
+
return safeParse(
|
|
347
|
+
jsonString,
|
|
348
|
+
(x) => EntityUnmatchedCreditTransferSelf$inboundSchema.parse(JSON.parse(x)),
|
|
349
|
+
`Failed to parse 'EntityUnmatchedCreditTransferSelf' from JSON`,
|
|
350
|
+
);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/** @internal */
|
|
354
|
+
export const EntityUnmatchedCreditTransferDocumentation$inboundSchema:
|
|
355
|
+
z.ZodType<EntityUnmatchedCreditTransferDocumentation, z.ZodTypeDef, unknown> =
|
|
356
|
+
z.object({
|
|
357
|
+
href: z.string().optional(),
|
|
358
|
+
type: z.string().optional(),
|
|
359
|
+
});
|
|
360
|
+
/** @internal */
|
|
361
|
+
export type EntityUnmatchedCreditTransferDocumentation$Outbound = {
|
|
362
|
+
href?: string | undefined;
|
|
363
|
+
type?: string | undefined;
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/** @internal */
|
|
367
|
+
export const EntityUnmatchedCreditTransferDocumentation$outboundSchema:
|
|
368
|
+
z.ZodType<
|
|
369
|
+
EntityUnmatchedCreditTransferDocumentation$Outbound,
|
|
370
|
+
z.ZodTypeDef,
|
|
371
|
+
EntityUnmatchedCreditTransferDocumentation
|
|
372
|
+
> = z.object({
|
|
373
|
+
href: z.string().optional(),
|
|
374
|
+
type: z.string().optional(),
|
|
375
|
+
});
|
|
376
|
+
|
|
377
|
+
export function entityUnmatchedCreditTransferDocumentationToJSON(
|
|
378
|
+
entityUnmatchedCreditTransferDocumentation:
|
|
379
|
+
EntityUnmatchedCreditTransferDocumentation,
|
|
380
|
+
): string {
|
|
381
|
+
return JSON.stringify(
|
|
382
|
+
EntityUnmatchedCreditTransferDocumentation$outboundSchema.parse(
|
|
383
|
+
entityUnmatchedCreditTransferDocumentation,
|
|
384
|
+
),
|
|
385
|
+
);
|
|
386
|
+
}
|
|
387
|
+
export function entityUnmatchedCreditTransferDocumentationFromJSON(
|
|
388
|
+
jsonString: string,
|
|
389
|
+
): SafeParseResult<
|
|
390
|
+
EntityUnmatchedCreditTransferDocumentation,
|
|
391
|
+
SDKValidationError
|
|
392
|
+
> {
|
|
393
|
+
return safeParse(
|
|
394
|
+
jsonString,
|
|
395
|
+
(x) =>
|
|
396
|
+
EntityUnmatchedCreditTransferDocumentation$inboundSchema.parse(
|
|
397
|
+
JSON.parse(x),
|
|
398
|
+
),
|
|
399
|
+
`Failed to parse 'EntityUnmatchedCreditTransferDocumentation' from JSON`,
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/** @internal */
|
|
404
|
+
export const EntityUnmatchedCreditTransferLinks$inboundSchema: z.ZodType<
|
|
405
|
+
EntityUnmatchedCreditTransferLinks,
|
|
406
|
+
z.ZodTypeDef,
|
|
407
|
+
unknown
|
|
408
|
+
> = z.object({
|
|
409
|
+
self: z.lazy(() => EntityUnmatchedCreditTransferSelf$inboundSchema)
|
|
410
|
+
.optional(),
|
|
411
|
+
documentation: z.lazy(() =>
|
|
412
|
+
EntityUnmatchedCreditTransferDocumentation$inboundSchema
|
|
413
|
+
).optional(),
|
|
414
|
+
});
|
|
415
|
+
/** @internal */
|
|
416
|
+
export type EntityUnmatchedCreditTransferLinks$Outbound = {
|
|
417
|
+
self?: EntityUnmatchedCreditTransferSelf$Outbound | undefined;
|
|
418
|
+
documentation?:
|
|
419
|
+
| EntityUnmatchedCreditTransferDocumentation$Outbound
|
|
420
|
+
| undefined;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
/** @internal */
|
|
424
|
+
export const EntityUnmatchedCreditTransferLinks$outboundSchema: z.ZodType<
|
|
425
|
+
EntityUnmatchedCreditTransferLinks$Outbound,
|
|
426
|
+
z.ZodTypeDef,
|
|
427
|
+
EntityUnmatchedCreditTransferLinks
|
|
428
|
+
> = z.object({
|
|
429
|
+
self: z.lazy(() => EntityUnmatchedCreditTransferSelf$outboundSchema)
|
|
430
|
+
.optional(),
|
|
431
|
+
documentation: z.lazy(() =>
|
|
432
|
+
EntityUnmatchedCreditTransferDocumentation$outboundSchema
|
|
433
|
+
).optional(),
|
|
434
|
+
});
|
|
435
|
+
|
|
436
|
+
export function entityUnmatchedCreditTransferLinksToJSON(
|
|
437
|
+
entityUnmatchedCreditTransferLinks: EntityUnmatchedCreditTransferLinks,
|
|
438
|
+
): string {
|
|
439
|
+
return JSON.stringify(
|
|
440
|
+
EntityUnmatchedCreditTransferLinks$outboundSchema.parse(
|
|
441
|
+
entityUnmatchedCreditTransferLinks,
|
|
442
|
+
),
|
|
443
|
+
);
|
|
444
|
+
}
|
|
445
|
+
export function entityUnmatchedCreditTransferLinksFromJSON(
|
|
446
|
+
jsonString: string,
|
|
447
|
+
): SafeParseResult<EntityUnmatchedCreditTransferLinks, SDKValidationError> {
|
|
448
|
+
return safeParse(
|
|
449
|
+
jsonString,
|
|
450
|
+
(x) =>
|
|
451
|
+
EntityUnmatchedCreditTransferLinks$inboundSchema.parse(JSON.parse(x)),
|
|
452
|
+
`Failed to parse 'EntityUnmatchedCreditTransferLinks' from JSON`,
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/** @internal */
|
|
457
|
+
export const EntityUnmatchedCreditTransfer$inboundSchema: z.ZodType<
|
|
458
|
+
EntityUnmatchedCreditTransfer,
|
|
459
|
+
z.ZodTypeDef,
|
|
460
|
+
unknown
|
|
461
|
+
> = z.object({
|
|
462
|
+
resource: z.string(),
|
|
463
|
+
id: z.string(),
|
|
464
|
+
profileId: z.string(),
|
|
465
|
+
amount: Amount$inboundSchema,
|
|
466
|
+
source: z.lazy(() => EntityUnmatchedCreditTransferSource$inboundSchema),
|
|
467
|
+
remittanceInformation: z.lazy(() =>
|
|
468
|
+
EntityUnmatchedCreditTransferRemittanceInformation$inboundSchema
|
|
469
|
+
),
|
|
470
|
+
status: UnmatchedCreditTransferStatus$inboundSchema,
|
|
471
|
+
createdAt: z.string(),
|
|
472
|
+
expiresAt: z.string(),
|
|
473
|
+
paymentIds: z.array(z.string()).optional(),
|
|
474
|
+
_links: z.lazy(() => EntityUnmatchedCreditTransferLinks$inboundSchema),
|
|
475
|
+
}).transform((v) => {
|
|
476
|
+
return remap$(v, {
|
|
477
|
+
"_links": "links",
|
|
478
|
+
});
|
|
479
|
+
});
|
|
480
|
+
/** @internal */
|
|
481
|
+
export type EntityUnmatchedCreditTransfer$Outbound = {
|
|
482
|
+
resource: string;
|
|
483
|
+
id: string;
|
|
484
|
+
profileId: string;
|
|
485
|
+
amount: Amount$Outbound;
|
|
486
|
+
source: EntityUnmatchedCreditTransferSource$Outbound;
|
|
487
|
+
remittanceInformation:
|
|
488
|
+
EntityUnmatchedCreditTransferRemittanceInformation$Outbound;
|
|
489
|
+
status: string;
|
|
490
|
+
createdAt: string;
|
|
491
|
+
expiresAt: string;
|
|
492
|
+
paymentIds?: Array<string> | undefined;
|
|
493
|
+
_links: EntityUnmatchedCreditTransferLinks$Outbound;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
/** @internal */
|
|
497
|
+
export const EntityUnmatchedCreditTransfer$outboundSchema: z.ZodType<
|
|
498
|
+
EntityUnmatchedCreditTransfer$Outbound,
|
|
499
|
+
z.ZodTypeDef,
|
|
500
|
+
EntityUnmatchedCreditTransfer
|
|
501
|
+
> = z.object({
|
|
502
|
+
resource: z.string(),
|
|
503
|
+
id: z.string(),
|
|
504
|
+
profileId: z.string(),
|
|
505
|
+
amount: Amount$outboundSchema,
|
|
506
|
+
source: z.lazy(() => EntityUnmatchedCreditTransferSource$outboundSchema),
|
|
507
|
+
remittanceInformation: z.lazy(() =>
|
|
508
|
+
EntityUnmatchedCreditTransferRemittanceInformation$outboundSchema
|
|
509
|
+
),
|
|
510
|
+
status: UnmatchedCreditTransferStatus$outboundSchema,
|
|
511
|
+
createdAt: z.string(),
|
|
512
|
+
expiresAt: z.string(),
|
|
513
|
+
paymentIds: z.array(z.string()).optional(),
|
|
514
|
+
links: z.lazy(() => EntityUnmatchedCreditTransferLinks$outboundSchema),
|
|
515
|
+
}).transform((v) => {
|
|
516
|
+
return remap$(v, {
|
|
517
|
+
links: "_links",
|
|
518
|
+
});
|
|
519
|
+
});
|
|
520
|
+
|
|
521
|
+
export function entityUnmatchedCreditTransferToJSON(
|
|
522
|
+
entityUnmatchedCreditTransfer: EntityUnmatchedCreditTransfer,
|
|
523
|
+
): string {
|
|
524
|
+
return JSON.stringify(
|
|
525
|
+
EntityUnmatchedCreditTransfer$outboundSchema.parse(
|
|
526
|
+
entityUnmatchedCreditTransfer,
|
|
527
|
+
),
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
export function entityUnmatchedCreditTransferFromJSON(
|
|
531
|
+
jsonString: string,
|
|
532
|
+
): SafeParseResult<EntityUnmatchedCreditTransfer, SDKValidationError> {
|
|
533
|
+
return safeParse(
|
|
534
|
+
jsonString,
|
|
535
|
+
(x) => EntityUnmatchedCreditTransfer$inboundSchema.parse(JSON.parse(x)),
|
|
536
|
+
`Failed to parse 'EntityUnmatchedCreditTransfer' from JSON`,
|
|
537
|
+
);
|
|
538
|
+
}
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* The URL to the generic Mollie API error handling guide.
|
|
13
13
|
*/
|
|
14
|
-
export type
|
|
14
|
+
export type ErrorResponseDocumentation = {
|
|
15
15
|
href: string;
|
|
16
16
|
type: string;
|
|
17
17
|
};
|
|
@@ -20,12 +20,12 @@ export type ErrorResponseLinks = {
|
|
|
20
20
|
/**
|
|
21
21
|
* The URL to the generic Mollie API error handling guide.
|
|
22
22
|
*/
|
|
23
|
-
documentation:
|
|
23
|
+
documentation: ErrorResponseDocumentation;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
/** @internal */
|
|
27
|
-
export const
|
|
28
|
-
|
|
27
|
+
export const ErrorResponseDocumentation$inboundSchema: z.ZodType<
|
|
28
|
+
ErrorResponseDocumentation,
|
|
29
29
|
z.ZodTypeDef,
|
|
30
30
|
unknown
|
|
31
31
|
> = z.object({
|
|
@@ -33,31 +33,35 @@ export const Documentation$inboundSchema: z.ZodType<
|
|
|
33
33
|
type: z.string(),
|
|
34
34
|
});
|
|
35
35
|
/** @internal */
|
|
36
|
-
export type
|
|
36
|
+
export type ErrorResponseDocumentation$Outbound = {
|
|
37
37
|
href: string;
|
|
38
38
|
type: string;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
41
|
/** @internal */
|
|
42
|
-
export const
|
|
43
|
-
|
|
42
|
+
export const ErrorResponseDocumentation$outboundSchema: z.ZodType<
|
|
43
|
+
ErrorResponseDocumentation$Outbound,
|
|
44
44
|
z.ZodTypeDef,
|
|
45
|
-
|
|
45
|
+
ErrorResponseDocumentation
|
|
46
46
|
> = z.object({
|
|
47
47
|
href: z.string(),
|
|
48
48
|
type: z.string(),
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export function
|
|
52
|
-
|
|
51
|
+
export function errorResponseDocumentationToJSON(
|
|
52
|
+
errorResponseDocumentation: ErrorResponseDocumentation,
|
|
53
|
+
): string {
|
|
54
|
+
return JSON.stringify(
|
|
55
|
+
ErrorResponseDocumentation$outboundSchema.parse(errorResponseDocumentation),
|
|
56
|
+
);
|
|
53
57
|
}
|
|
54
|
-
export function
|
|
58
|
+
export function errorResponseDocumentationFromJSON(
|
|
55
59
|
jsonString: string,
|
|
56
|
-
): SafeParseResult<
|
|
60
|
+
): SafeParseResult<ErrorResponseDocumentation, SDKValidationError> {
|
|
57
61
|
return safeParse(
|
|
58
62
|
jsonString,
|
|
59
|
-
(x) =>
|
|
60
|
-
`Failed to parse '
|
|
63
|
+
(x) => ErrorResponseDocumentation$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
+
`Failed to parse 'ErrorResponseDocumentation' from JSON`,
|
|
61
65
|
);
|
|
62
66
|
}
|
|
63
67
|
|
|
@@ -67,11 +71,11 @@ export const ErrorResponseLinks$inboundSchema: z.ZodType<
|
|
|
67
71
|
z.ZodTypeDef,
|
|
68
72
|
unknown
|
|
69
73
|
> = z.object({
|
|
70
|
-
documentation: z.lazy(() =>
|
|
74
|
+
documentation: z.lazy(() => ErrorResponseDocumentation$inboundSchema),
|
|
71
75
|
});
|
|
72
76
|
/** @internal */
|
|
73
77
|
export type ErrorResponseLinks$Outbound = {
|
|
74
|
-
documentation:
|
|
78
|
+
documentation: ErrorResponseDocumentation$Outbound;
|
|
75
79
|
};
|
|
76
80
|
|
|
77
81
|
/** @internal */
|
|
@@ -80,7 +84,7 @@ export const ErrorResponseLinks$outboundSchema: z.ZodType<
|
|
|
80
84
|
z.ZodTypeDef,
|
|
81
85
|
ErrorResponseLinks
|
|
82
86
|
> = z.object({
|
|
83
|
-
documentation: z.lazy(() =>
|
|
87
|
+
documentation: z.lazy(() => ErrorResponseDocumentation$outboundSchema),
|
|
84
88
|
});
|
|
85
89
|
|
|
86
90
|
export function errorResponseLinksToJSON(
|
package/src/models/index.ts
CHANGED
|
@@ -3,11 +3,15 @@
|
|
|
3
3
|
* @generated-id: f93644b0f37e
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
export * from "./accountdetails.js";
|
|
6
7
|
export * from "./accountnumberformat.js";
|
|
7
8
|
export * from "./accountnumberformatresponse.js";
|
|
9
|
+
export * from "./accountstatus.js";
|
|
8
10
|
export * from "./address.js";
|
|
11
|
+
export * from "./afterbalance.js";
|
|
9
12
|
export * from "./amount.js";
|
|
10
13
|
export * from "./amountnullable.js";
|
|
14
|
+
export * from "./balance.js";
|
|
11
15
|
export * from "./balancecardaudience.js";
|
|
12
16
|
export * from "./balancecardissuer.js";
|
|
13
17
|
export * from "./balancecardregion.js";
|
|
@@ -23,6 +27,7 @@ export * from "./balancetransferpartytyperesponse.js";
|
|
|
23
27
|
export * from "./balancetransferstatus.js";
|
|
24
28
|
export * from "./balancetransferstatusreasonresponse.js";
|
|
25
29
|
export * from "./billingaddress.js";
|
|
30
|
+
export * from "./businessaccountresponse.js";
|
|
26
31
|
export * from "./capabilityrequirementstatus.js";
|
|
27
32
|
export * from "./capabilitystatus.js";
|
|
28
33
|
export * from "./capabilitystatusreason.js";
|
|
@@ -32,6 +37,7 @@ export * from "./captureresponse.js";
|
|
|
32
37
|
export * from "./clientlinkrequest.js";
|
|
33
38
|
export * from "./clientlinkresponse.js";
|
|
34
39
|
export * from "./componentssubtotals.js";
|
|
40
|
+
export * from "./counterparty.js";
|
|
35
41
|
export * from "./createwebhook.js";
|
|
36
42
|
export * from "./creditdebitindicator.js";
|
|
37
43
|
export * from "./creditorbankaccount.js";
|
|
@@ -62,6 +68,7 @@ export * from "./entitypermission.js";
|
|
|
62
68
|
export * from "./entityrefundresponse.js";
|
|
63
69
|
export * from "./entitysettlement.js";
|
|
64
70
|
export * from "./entityterminal.js";
|
|
71
|
+
export * from "./entityunmatchedcredittransfer.js";
|
|
65
72
|
export * from "./entitywebhook.js";
|
|
66
73
|
export * from "./entitywebhookevent.js";
|
|
67
74
|
export * from "./errorresponse.js";
|
|
@@ -78,6 +85,7 @@ export * from "./listentitypermission.js";
|
|
|
78
85
|
export * from "./listentityrefund.js";
|
|
79
86
|
export * from "./listentitysettlement.js";
|
|
80
87
|
export * from "./listentityterminal.js";
|
|
88
|
+
export * from "./listentityunmatchedcredittransfer.js";
|
|
81
89
|
export * from "./listentitywebhook.js";
|
|
82
90
|
export * from "./listlinks.js";
|
|
83
91
|
export * from "./listmandateresponse.js";
|
|
@@ -193,6 +201,8 @@ export * from "./subscriptionresponse.js";
|
|
|
193
201
|
export * from "./subtotals.js";
|
|
194
202
|
export * from "./terminalbrand.js";
|
|
195
203
|
export * from "./terminalmodel.js";
|
|
204
|
+
export * from "./transactionresponse.js";
|
|
205
|
+
export * from "./transactiontype.js";
|
|
196
206
|
export * from "./transferparty.js";
|
|
197
207
|
export * from "./transferrequest.js";
|
|
198
208
|
export * from "./transferresponse.js";
|
|
@@ -201,6 +211,9 @@ export * from "./transferschemeresponse.js";
|
|
|
201
211
|
export * from "./transferschemetype.js";
|
|
202
212
|
export * from "./transferschemetyperesponse.js";
|
|
203
213
|
export * from "./transferstatus.js";
|
|
214
|
+
export * from "./unmatchedcredittransferactionresponse.js";
|
|
215
|
+
export * from "./unmatchedcredittransfermatchrequest.js";
|
|
216
|
+
export * from "./unmatchedcredittransferstatus.js";
|
|
204
217
|
export * from "./url.js";
|
|
205
218
|
export * from "./urlnullable.js";
|
|
206
219
|
export * from "./verificationofpayeerequest.js";
|