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,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.GetBusinessAccountRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$accountsGetAccount: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=accountsGetAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsGetAccount.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsGetAccount.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,cAAc,CAAC,OAAO,IAAI,CAyB/D,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: a51d0b6181e7
|
|
4
|
+
*/
|
|
5
|
+
import { accountsGetAccount } from "../../funcs/accountsGetAccount.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.GetBusinessAccountRequest$inboundSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$accountsGetAccount = {
|
|
12
|
+
name: "accounts-get-account",
|
|
13
|
+
description: `Get business account
|
|
14
|
+
|
|
15
|
+
Retrieve a single business account object by its account ID. This allows you to check the current status,
|
|
16
|
+
balance, and account details.`,
|
|
17
|
+
args,
|
|
18
|
+
tool: async (client, args, ctx) => {
|
|
19
|
+
const [result, apiCall] = await accountsGetAccount(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
20
|
+
if (!result.ok) {
|
|
21
|
+
return {
|
|
22
|
+
content: [{ type: "text", text: result.error.message }],
|
|
23
|
+
isError: true,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
const value = result.value;
|
|
27
|
+
return formatResult(value, apiCall);
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=accountsGetAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsGetAccount.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsGetAccount.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,uCAAuC;CAC5D,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAgC;IAClE,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE;;;8BAGe;IAC5B,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,kBAAkB,CAChD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.ListBusinessAccountTransactionsRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$accountsList: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=accountsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsList.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsList.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,cAAc,CAAC,OAAO,IAAI,CA0BzD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 9ff942e2a41a
|
|
4
|
+
*/
|
|
5
|
+
import { accountsList } from "../../funcs/accountsList.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.ListBusinessAccountTransactionsRequest$inboundSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$accountsList = {
|
|
12
|
+
name: "accounts-list",
|
|
13
|
+
description: `List transactions
|
|
14
|
+
|
|
15
|
+
Retrieve all transactions for a specific business account.
|
|
16
|
+
|
|
17
|
+
The results are paginated.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountsList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
21
|
+
if (!result.ok) {
|
|
22
|
+
return {
|
|
23
|
+
content: [{ type: "text", text: result.error.message }],
|
|
24
|
+
isError: true,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const value = result.value.result;
|
|
28
|
+
return formatResult(value, apiCall);
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=accountsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsList.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,oDAAoD;CACzE,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAgC;IAC5D,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE;;;;2BAIY;IACzB,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,YAAY,CAC1C,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodOptional<import("zod").ZodType<operations.ListBusinessAccountsRequest, import("zod").ZodTypeDef, unknown>>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$accountsListAccounts: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=accountsListAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsListAccounts.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsListAccounts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,cAAc,CAAC,OAAO,IAAI,CA0BjE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ac4b5e79e0c6
|
|
4
|
+
*/
|
|
5
|
+
import { accountsListAccounts } from "../../funcs/accountsListAccounts.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.ListBusinessAccountsRequest$inboundSchema.optional(),
|
|
10
|
+
};
|
|
11
|
+
export const tool$accountsListAccounts = {
|
|
12
|
+
name: "accounts-list-accounts",
|
|
13
|
+
description: `List business accounts
|
|
14
|
+
|
|
15
|
+
Retrieve all business accounts for the authenticated organization.
|
|
16
|
+
|
|
17
|
+
The results are paginated.`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await accountsListAccounts(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
21
|
+
if (!result.ok) {
|
|
22
|
+
return {
|
|
23
|
+
content: [{ type: "text", text: result.error.message }],
|
|
24
|
+
isError: true,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
const value = result.value.result;
|
|
28
|
+
return formatResult(value, apiCall);
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=accountsListAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountsListAccounts.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/accountsListAccounts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC,CAAC,QAAQ,EAAE;CACzE,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAgC;IACpE,IAAI,EAAE,wBAAwB;IAC9B,WAAW,EAAE;;;;2BAIY;IACzB,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,oBAAoB,CAClD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.GetUnmatchedCreditTransferRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$unmatchedCreditTransfersGet: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=unmatchedCreditTransfersGet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersGet.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersGet.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,cAAc,CAAC,OAAO,IAAI,CA4BxE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8f7d7f81d0ae
|
|
4
|
+
*/
|
|
5
|
+
import { unmatchedCreditTransfersGet } from "../../funcs/unmatchedCreditTransfersGet.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.GetUnmatchedCreditTransferRequest$inboundSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$unmatchedCreditTransfersGet = {
|
|
12
|
+
name: "unmatched-credit-transfers-get",
|
|
13
|
+
description: `Get unmatched credit transfer
|
|
14
|
+
|
|
15
|
+
> 🚧 Beta feature
|
|
16
|
+
>
|
|
17
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
18
|
+
|
|
19
|
+
Retrieves a single unmatched credit transfer by its identifier.`,
|
|
20
|
+
args,
|
|
21
|
+
tool: async (client, args, ctx) => {
|
|
22
|
+
const [result, apiCall] = await unmatchedCreditTransfersGet(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
23
|
+
if (!result.ok) {
|
|
24
|
+
return {
|
|
25
|
+
content: [{ type: "text", text: result.error.message }],
|
|
26
|
+
isError: true,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const value = result.value;
|
|
30
|
+
return formatResult(value, apiCall);
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=unmatchedCreditTransfersGet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersGet.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersGet.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,2BAA2B,EAAE,MAAM,4CAA4C,CAAC;AACzF,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+CAA+C;CACpE,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAgC;IAC3E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;;;;gEAMiD;IAC9D,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,2BAA2B,CACzD,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodOptional<import("zod").ZodType<operations.ListUnmatchedCreditTransfersRequest, import("zod").ZodTypeDef, unknown>>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$unmatchedCreditTransfersList: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=unmatchedCreditTransfersList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersList.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersList.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAGT,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,cAAc,CAAC,OAAO,IAAI,CA8BzE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8e87d00f4b98
|
|
4
|
+
*/
|
|
5
|
+
import { unmatchedCreditTransfersList } from "../../funcs/unmatchedCreditTransfersList.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.ListUnmatchedCreditTransfersRequest$inboundSchema
|
|
10
|
+
.optional(),
|
|
11
|
+
};
|
|
12
|
+
export const tool$unmatchedCreditTransfersList = {
|
|
13
|
+
name: "unmatched-credit-transfers-list",
|
|
14
|
+
description: `List unmatched credit transfers
|
|
15
|
+
|
|
16
|
+
> 🚧 Beta feature
|
|
17
|
+
>
|
|
18
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
19
|
+
|
|
20
|
+
Retrieves a list of unmatched credit transfers for the profile.
|
|
21
|
+
|
|
22
|
+
The results are paginated.`,
|
|
23
|
+
args,
|
|
24
|
+
tool: async (client, args, ctx) => {
|
|
25
|
+
const [result, apiCall] = await unmatchedCreditTransfersList(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
const value = result.value.result;
|
|
33
|
+
return formatResult(value, apiCall);
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=unmatchedCreditTransfersList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersList.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersList.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,iDAAiD;SAClE,QAAQ,EAAE;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE;;;;;;;;2BAQY;IACzB,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,4BAA4B,CAC1D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.MatchUnmatchedCreditTransferRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$unmatchedCreditTransfersMatch: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=unmatchedCreditTransfersMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersMatch.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersMatch.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,cAAc,CAAC,OAAO,IAAI,CA4B1E,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 119c1043258b
|
|
4
|
+
*/
|
|
5
|
+
import { unmatchedCreditTransfersMatch } from "../../funcs/unmatchedCreditTransfersMatch.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.MatchUnmatchedCreditTransferRequest$inboundSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$unmatchedCreditTransfersMatch = {
|
|
12
|
+
name: "unmatched-credit-transfers-match",
|
|
13
|
+
description: `Match unmatched credit transfer
|
|
14
|
+
|
|
15
|
+
> 🚧 Beta feature
|
|
16
|
+
>
|
|
17
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
18
|
+
|
|
19
|
+
Matches an unmatched credit transfer to one or more payments, settling the funds accordingly.`,
|
|
20
|
+
args,
|
|
21
|
+
tool: async (client, args, ctx) => {
|
|
22
|
+
const [result, apiCall] = await unmatchedCreditTransfersMatch(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
23
|
+
if (!result.ok) {
|
|
24
|
+
return {
|
|
25
|
+
content: [{ type: "text", text: result.error.message }],
|
|
26
|
+
isError: true,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const value = result.value;
|
|
30
|
+
return formatResult(value, apiCall);
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=unmatchedCreditTransfersMatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersMatch.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersMatch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,iDAAiD;CACtE,CAAC;AAEF,MAAM,CAAC,MAAM,kCAAkC,GAAgC;IAC7E,IAAI,EAAE,kCAAkC;IACxC,WAAW,EAAE;;;;;;8FAM+E;IAC5F,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,6BAA6B,CAC3D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.ReturnUnmatchedCreditTransferRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$unmatchedCreditTransfersReturn: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=unmatchedCreditTransfersReturn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersReturn.d.ts","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersReturn.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,mCAAmC,EAAE,cAAc,CAAC,OAAO,IAAI,CA6BzE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 8cbf46735dd2
|
|
4
|
+
*/
|
|
5
|
+
import { unmatchedCreditTransfersReturn } from "../../funcs/unmatchedCreditTransfersReturn.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult } from "../tools.js";
|
|
8
|
+
const args = {
|
|
9
|
+
request: operations.ReturnUnmatchedCreditTransferRequest$inboundSchema,
|
|
10
|
+
};
|
|
11
|
+
export const tool$unmatchedCreditTransfersReturn = {
|
|
12
|
+
name: "unmatched-credit-transfers-return",
|
|
13
|
+
description: `Return unmatched credit transfer
|
|
14
|
+
|
|
15
|
+
> 🚧 Beta feature
|
|
16
|
+
>
|
|
17
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
18
|
+
|
|
19
|
+
Returns an unmatched credit transfer, sending the funds back to the original sender.`,
|
|
20
|
+
args,
|
|
21
|
+
tool: async (client, args, ctx) => {
|
|
22
|
+
const [result, apiCall] = await unmatchedCreditTransfersReturn(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
23
|
+
if (!result.ok) {
|
|
24
|
+
return {
|
|
25
|
+
content: [{ type: "text", text: result.error.message }],
|
|
26
|
+
isError: true,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const value = result.value;
|
|
30
|
+
return formatResult(value, apiCall);
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=unmatchedCreditTransfersReturn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmatchedCreditTransfersReturn.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/unmatchedCreditTransfersReturn.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAkB,MAAM,aAAa,CAAC;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kDAAkD;CACvE,CAAC;AAEF,MAAM,CAAC,MAAM,mCAAmC,GAC9C;IACE,IAAI,EAAE,mCAAmC;IACzC,WAAW,EAAE;;;;;;qFAMoE;IACjF,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,8BAA8B,CAC5D,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,YAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* The account holder details and bank account information for the business account.
|
|
6
|
+
*/
|
|
7
|
+
export type AccountDetails = {
|
|
8
|
+
/**
|
|
9
|
+
* The name of the account holder.
|
|
10
|
+
*/
|
|
11
|
+
accountHolderName: string;
|
|
12
|
+
/**
|
|
13
|
+
* A name of the account.
|
|
14
|
+
*/
|
|
15
|
+
name?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* The currency of the account in ISO 4217 format.
|
|
18
|
+
*/
|
|
19
|
+
currency: string;
|
|
20
|
+
/**
|
|
21
|
+
* The IBAN (International Bank Account Number) of the account.
|
|
22
|
+
*/
|
|
23
|
+
iban: string;
|
|
24
|
+
/**
|
|
25
|
+
* The BIC (Bank Identifier Code) of the account.
|
|
26
|
+
*/
|
|
27
|
+
bic?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const AccountDetails$inboundSchema: z.ZodType<AccountDetails, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type AccountDetails$Outbound = {
|
|
33
|
+
accountHolderName: string;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
currency: string;
|
|
36
|
+
iban: string;
|
|
37
|
+
bic?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
/** @internal */
|
|
40
|
+
export declare const AccountDetails$outboundSchema: z.ZodType<AccountDetails$Outbound, z.ZodTypeDef, AccountDetails>;
|
|
41
|
+
export declare function accountDetailsToJSON(accountDetails: AccountDetails): string;
|
|
42
|
+
export declare function accountDetailsFromJSON(jsonString: string): SafeParseResult<AccountDetails, SDKValidationError>;
|
|
43
|
+
//# sourceMappingURL=accountdetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountdetails.d.ts","sourceRoot":"","sources":["../../../src/models/accountdetails.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAOd,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 2517099beaa4
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const AccountDetails$inboundSchema = z.object({
|
|
9
|
+
accountHolderName: z.string(),
|
|
10
|
+
name: z.string().optional(),
|
|
11
|
+
currency: z.string(),
|
|
12
|
+
iban: z.string(),
|
|
13
|
+
bic: z.string().optional(),
|
|
14
|
+
});
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const AccountDetails$outboundSchema = z.object({
|
|
17
|
+
accountHolderName: z.string(),
|
|
18
|
+
name: z.string().optional(),
|
|
19
|
+
currency: z.string(),
|
|
20
|
+
iban: z.string(),
|
|
21
|
+
bic: z.string().optional(),
|
|
22
|
+
});
|
|
23
|
+
export function accountDetailsToJSON(accountDetails) {
|
|
24
|
+
return JSON.stringify(AccountDetails$outboundSchema.parse(accountDetails));
|
|
25
|
+
}
|
|
26
|
+
export function accountDetailsFromJSON(jsonString) {
|
|
27
|
+
return safeParse(jsonString, (x) => AccountDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountDetails' from JSON`);
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=accountdetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountdetails.js","sourceRoot":"","sources":["../../../src/models/accountdetails.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AA8B9C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAUH,gBAAgB;AAChB,MAAM,CAAC,MAAM,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC7B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,6BAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,MAAM,UAAU,sBAAsB,CACpC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* The status of the business account.
|
|
5
|
+
*/
|
|
6
|
+
export declare const AccountStatus: {
|
|
7
|
+
readonly Active: "active";
|
|
8
|
+
readonly Blocked: "blocked";
|
|
9
|
+
readonly Closed: "closed";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* The status of the business account.
|
|
13
|
+
*/
|
|
14
|
+
export type AccountStatus = OpenEnum<typeof AccountStatus>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export declare const AccountStatus$inboundSchema: z.ZodType<AccountStatus, z.ZodTypeDef, unknown>;
|
|
17
|
+
/** @internal */
|
|
18
|
+
export declare const AccountStatus$outboundSchema: z.ZodType<string, z.ZodTypeDef, AccountStatus>;
|
|
19
|
+
//# sourceMappingURL=accountstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountstatus.d.ts","sourceRoot":"","sources":["../../../src/models/accountstatus.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,aAAa,CAAC,CAAC;AAE3D,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,aAAa,EACb,CAAC,CAAC,UAAU,EACZ,OAAO,CACiC,CAAC;AAC3C,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,MAAM,EACN,CAAC,CAAC,UAAU,EACZ,aAAa,CAC4B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 7123d83ecb5d
|
|
4
|
+
*/
|
|
5
|
+
import * as openEnums from "../types/enums.js";
|
|
6
|
+
/**
|
|
7
|
+
* The status of the business account.
|
|
8
|
+
*/
|
|
9
|
+
export const AccountStatus = {
|
|
10
|
+
Active: "active",
|
|
11
|
+
Blocked: "blocked",
|
|
12
|
+
Closed: "closed",
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export const AccountStatus$inboundSchema = openEnums.inboundSchema(AccountStatus);
|
|
16
|
+
/** @internal */
|
|
17
|
+
export const AccountStatus$outboundSchema = openEnums.outboundSchema(AccountStatus);
|
|
18
|
+
//# sourceMappingURL=accountstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountstatus.js","sourceRoot":"","sources":["../../../src/models/accountstatus.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAG/C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,SAAS,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC;AAC3C,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAIrC,SAAS,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Amount, Amount$Outbound } from "./amount.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* The balance of the business account after this transaction was processed.
|
|
7
|
+
*/
|
|
8
|
+
export type AfterBalance = {
|
|
9
|
+
/**
|
|
10
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
11
|
+
*/
|
|
12
|
+
total: Amount;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const AfterBalance$inboundSchema: z.ZodType<AfterBalance, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type AfterBalance$Outbound = {
|
|
18
|
+
total: Amount$Outbound;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const AfterBalance$outboundSchema: z.ZodType<AfterBalance$Outbound, z.ZodTypeDef, AfterBalance>;
|
|
22
|
+
export declare function afterBalanceToJSON(afterBalance: AfterBalance): string;
|
|
23
|
+
export declare function afterBalanceFromJSON(jsonString: string): SafeParseResult<AfterBalance, SDKValidationError>;
|
|
24
|
+
//# sourceMappingURL=afterbalance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"afterbalance.d.ts","sourceRoot":"","sources":["../../../src/models/afterbalance.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,EAAE,CAAC,CAAC,OAAO,CAChD,YAAY,EACZ,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CACjD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,YAAY,CAGZ,CAAC;AAEH,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,YAAY,GAAG,MAAM,CAErE;AACD,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,YAAY,EAAE,kBAAkB,CAAC,CAMnD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 358a6fc12256
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Amount$inboundSchema, Amount$outboundSchema, } from "./amount.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const AfterBalance$inboundSchema = z.object({
|
|
10
|
+
total: Amount$inboundSchema,
|
|
11
|
+
});
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const AfterBalance$outboundSchema = z.object({
|
|
14
|
+
total: Amount$outboundSchema,
|
|
15
|
+
});
|
|
16
|
+
export function afterBalanceToJSON(afterBalance) {
|
|
17
|
+
return JSON.stringify(AfterBalance$outboundSchema.parse(afterBalance));
|
|
18
|
+
}
|
|
19
|
+
export function afterBalanceFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => AfterBalance$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AfterBalance' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=afterbalance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"afterbalance.js","sourceRoot":"","sources":["../../../src/models/afterbalance.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEL,oBAAoB,EAEpB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAarB,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B,GAInC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,oBAAoB;CAC5B,CAAC,CAAC;AAMH,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,qBAAqB;CAC7B,CAAC,CAAC;AAEH,MAAM,UAAU,kBAAkB,CAAC,YAA0B;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,2BAA2B,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;AACzE,CAAC;AACD,MAAM,UAAU,oBAAoB,CAClC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0BAA0B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACtD,0CAA0C,CAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { Amount, Amount$Outbound } from "./amount.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* The balance of the business account.
|
|
7
|
+
*/
|
|
8
|
+
export type Balance = {
|
|
9
|
+
/**
|
|
10
|
+
* In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
|
|
11
|
+
*/
|
|
12
|
+
total: Amount;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const Balance$inboundSchema: z.ZodType<Balance, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type Balance$Outbound = {
|
|
18
|
+
total: Amount$Outbound;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const Balance$outboundSchema: z.ZodType<Balance$Outbound, z.ZodTypeDef, Balance>;
|
|
22
|
+
export declare function balanceToJSON(balance: Balance): string;
|
|
23
|
+
export declare function balanceFromJSON(jsonString: string): SafeParseResult<Balance, SDKValidationError>;
|
|
24
|
+
//# sourceMappingURL=balance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balance.d.ts","sourceRoot":"","sources":["../../../src/models/balance.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EACL,MAAM,EAEN,eAAe,EAEhB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAGxE,CAAC;AACL,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,eAAe,CAAC;CACxB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEtD;AACD,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d7bbe0a7b446
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Amount$inboundSchema, Amount$outboundSchema, } from "./amount.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const Balance$inboundSchema = z.object({
|
|
10
|
+
total: Amount$inboundSchema,
|
|
11
|
+
});
|
|
12
|
+
/** @internal */
|
|
13
|
+
export const Balance$outboundSchema = z.object({
|
|
14
|
+
total: Amount$outboundSchema,
|
|
15
|
+
});
|
|
16
|
+
export function balanceToJSON(balance) {
|
|
17
|
+
return JSON.stringify(Balance$outboundSchema.parse(balance));
|
|
18
|
+
}
|
|
19
|
+
export function balanceFromJSON(jsonString) {
|
|
20
|
+
return safeParse(jsonString, (x) => Balance$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Balance' from JSON`);
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=balance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balance.js","sourceRoot":"","sources":["../../../src/models/balance.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAEL,oBAAoB,EAEpB,qBAAqB,GACtB,MAAM,aAAa,CAAC;AAarB,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAChC,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,oBAAoB;CAC5B,CAAC,CAAC;AAML,gBAAgB;AAChB,MAAM,CAAC,MAAM,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,qBAAqB;CAC7B,CAAC,CAAC;AAEH,MAAM,UAAU,aAAa,CAAC,OAAgB;IAC5C,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;AAC/D,CAAC;AACD,MAAM,UAAU,eAAe,CAC7B,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|