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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 9ff942e2a41a
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$accountsList = void 0;
|
|
41
|
+
const accountsList_js_1 = require("../../funcs/accountsList.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.ListBusinessAccountTransactionsRequest$inboundSchema,
|
|
46
|
+
};
|
|
47
|
+
exports.tool$accountsList = {
|
|
48
|
+
name: "accounts-list",
|
|
49
|
+
description: `List transactions
|
|
50
|
+
|
|
51
|
+
Retrieve all transactions for a specific business account.
|
|
52
|
+
|
|
53
|
+
The results are paginated.`,
|
|
54
|
+
args,
|
|
55
|
+
tool: async (client, args, ctx) => {
|
|
56
|
+
const [result, apiCall] = await (0, accountsList_js_1.accountsList)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57
|
+
if (!result.ok) {
|
|
58
|
+
return {
|
|
59
|
+
content: [{ type: "text", text: result.error.message }],
|
|
60
|
+
isError: true,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
const value = result.value.result;
|
|
64
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
//# 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,iEAA2D;AAC3D,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,oDAAoD;CACzE,CAAC;AAEW,QAAA,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,IAAA,8BAAY,EAC1C,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,IAAA,uBAAY,EAAC,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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: ac4b5e79e0c6
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$accountsListAccounts = void 0;
|
|
41
|
+
const accountsListAccounts_js_1 = require("../../funcs/accountsListAccounts.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.ListBusinessAccountsRequest$inboundSchema.optional(),
|
|
46
|
+
};
|
|
47
|
+
exports.tool$accountsListAccounts = {
|
|
48
|
+
name: "accounts-list-accounts",
|
|
49
|
+
description: `List business accounts
|
|
50
|
+
|
|
51
|
+
Retrieve all business accounts for the authenticated organization.
|
|
52
|
+
|
|
53
|
+
The results are paginated.`,
|
|
54
|
+
args,
|
|
55
|
+
tool: async (client, args, ctx) => {
|
|
56
|
+
const [result, apiCall] = await (0, accountsListAccounts_js_1.accountsListAccounts)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57
|
+
if (!result.ok) {
|
|
58
|
+
return {
|
|
59
|
+
content: [{ type: "text", text: result.error.message }],
|
|
60
|
+
isError: true,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
const value = result.value.result;
|
|
64
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
//# 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,iFAA2E;AAC3E,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,yCAAyC,CAAC,QAAQ,EAAE;CACzE,CAAC;AAEW,QAAA,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,IAAA,8CAAoB,EAClD,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,IAAA,uBAAY,EAAC,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,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 8f7d7f81d0ae
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$unmatchedCreditTransfersGet = void 0;
|
|
41
|
+
const unmatchedCreditTransfersGet_js_1 = require("../../funcs/unmatchedCreditTransfersGet.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.GetUnmatchedCreditTransferRequest$inboundSchema,
|
|
46
|
+
};
|
|
47
|
+
exports.tool$unmatchedCreditTransfersGet = {
|
|
48
|
+
name: "unmatched-credit-transfers-get",
|
|
49
|
+
description: `Get unmatched credit transfer
|
|
50
|
+
|
|
51
|
+
> 🚧 Beta feature
|
|
52
|
+
>
|
|
53
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
54
|
+
|
|
55
|
+
Retrieves a single unmatched credit transfer by its identifier.`,
|
|
56
|
+
args,
|
|
57
|
+
tool: async (client, args, ctx) => {
|
|
58
|
+
const [result, apiCall] = await (0, unmatchedCreditTransfersGet_js_1.unmatchedCreditTransfersGet)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59
|
+
if (!result.ok) {
|
|
60
|
+
return {
|
|
61
|
+
content: [{ type: "text", text: result.error.message }],
|
|
62
|
+
isError: true,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const value = result.value;
|
|
66
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
//# 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,+FAAyF;AACzF,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,+CAA+C;CACpE,CAAC;AAEW,QAAA,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,IAAA,4DAA2B,EACzD,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,IAAA,uBAAY,EAAC,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,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 8e87d00f4b98
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$unmatchedCreditTransfersList = void 0;
|
|
41
|
+
const unmatchedCreditTransfersList_js_1 = require("../../funcs/unmatchedCreditTransfersList.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.ListUnmatchedCreditTransfersRequest$inboundSchema
|
|
46
|
+
.optional(),
|
|
47
|
+
};
|
|
48
|
+
exports.tool$unmatchedCreditTransfersList = {
|
|
49
|
+
name: "unmatched-credit-transfers-list",
|
|
50
|
+
description: `List unmatched credit transfers
|
|
51
|
+
|
|
52
|
+
> 🚧 Beta feature
|
|
53
|
+
>
|
|
54
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
55
|
+
|
|
56
|
+
Retrieves a list of unmatched credit transfers for the profile.
|
|
57
|
+
|
|
58
|
+
The results are paginated.`,
|
|
59
|
+
args,
|
|
60
|
+
tool: async (client, args, ctx) => {
|
|
61
|
+
const [result, apiCall] = await (0, unmatchedCreditTransfersList_js_1.unmatchedCreditTransfersList)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
62
|
+
if (!result.ok) {
|
|
63
|
+
return {
|
|
64
|
+
content: [{ type: "text", text: result.error.message }],
|
|
65
|
+
isError: true,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
const value = result.value.result;
|
|
69
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
//# 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,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,iDAAiD;SAClE,QAAQ,EAAE;CACd,CAAC;AAEW,QAAA,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,IAAA,8DAA4B,EAC1D,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,IAAA,uBAAY,EAAC,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,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 119c1043258b
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$unmatchedCreditTransfersMatch = void 0;
|
|
41
|
+
const unmatchedCreditTransfersMatch_js_1 = require("../../funcs/unmatchedCreditTransfersMatch.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.MatchUnmatchedCreditTransferRequest$inboundSchema,
|
|
46
|
+
};
|
|
47
|
+
exports.tool$unmatchedCreditTransfersMatch = {
|
|
48
|
+
name: "unmatched-credit-transfers-match",
|
|
49
|
+
description: `Match unmatched credit transfer
|
|
50
|
+
|
|
51
|
+
> 🚧 Beta feature
|
|
52
|
+
>
|
|
53
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
54
|
+
|
|
55
|
+
Matches an unmatched credit transfer to one or more payments, settling the funds accordingly.`,
|
|
56
|
+
args,
|
|
57
|
+
tool: async (client, args, ctx) => {
|
|
58
|
+
const [result, apiCall] = await (0, unmatchedCreditTransfersMatch_js_1.unmatchedCreditTransfersMatch)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59
|
+
if (!result.ok) {
|
|
60
|
+
return {
|
|
61
|
+
content: [{ type: "text", text: result.error.message }],
|
|
62
|
+
isError: true,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const value = result.value;
|
|
66
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
//# 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,mGAA6F;AAC7F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,iDAAiD;CACtE,CAAC;AAEW,QAAA,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,IAAA,gEAA6B,EAC3D,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,IAAA,uBAAY,EAAC,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,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 8cbf46735dd2
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.tool$unmatchedCreditTransfersReturn = void 0;
|
|
41
|
+
const unmatchedCreditTransfersReturn_js_1 = require("../../funcs/unmatchedCreditTransfersReturn.js");
|
|
42
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
43
|
+
const tools_js_1 = require("../tools.js");
|
|
44
|
+
const args = {
|
|
45
|
+
request: operations.ReturnUnmatchedCreditTransferRequest$inboundSchema,
|
|
46
|
+
};
|
|
47
|
+
exports.tool$unmatchedCreditTransfersReturn = {
|
|
48
|
+
name: "unmatched-credit-transfers-return",
|
|
49
|
+
description: `Return unmatched credit transfer
|
|
50
|
+
|
|
51
|
+
> 🚧 Beta feature
|
|
52
|
+
>
|
|
53
|
+
> This feature is currently in private beta, and the final specification may still change.
|
|
54
|
+
|
|
55
|
+
Returns an unmatched credit transfer, sending the funds back to the original sender.`,
|
|
56
|
+
args,
|
|
57
|
+
tool: async (client, args, ctx) => {
|
|
58
|
+
const [result, apiCall] = await (0, unmatchedCreditTransfersReturn_js_1.unmatchedCreditTransfersReturn)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
59
|
+
if (!result.ok) {
|
|
60
|
+
return {
|
|
61
|
+
content: [{ type: "text", text: result.error.message }],
|
|
62
|
+
isError: true,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const value = result.value;
|
|
66
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
//# 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,qGAA+F;AAC/F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,kDAAkD;CACvE,CAAC;AAEW,QAAA,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,IAAA,kEAA8B,EAC5D,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,IAAA,uBAAY,EAAC,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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
* @generated-id: 2517099beaa4
|
|
5
|
+
*/
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
23
|
+
var ownKeys = function(o) {
|
|
24
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
25
|
+
var ar = [];
|
|
26
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
27
|
+
return ar;
|
|
28
|
+
};
|
|
29
|
+
return ownKeys(o);
|
|
30
|
+
};
|
|
31
|
+
return function (mod) {
|
|
32
|
+
if (mod && mod.__esModule) return mod;
|
|
33
|
+
var result = {};
|
|
34
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
35
|
+
__setModuleDefault(result, mod);
|
|
36
|
+
return result;
|
|
37
|
+
};
|
|
38
|
+
})();
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.AccountDetails$outboundSchema = exports.AccountDetails$inboundSchema = void 0;
|
|
41
|
+
exports.accountDetailsToJSON = accountDetailsToJSON;
|
|
42
|
+
exports.accountDetailsFromJSON = accountDetailsFromJSON;
|
|
43
|
+
const z = __importStar(require("zod/v3"));
|
|
44
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.AccountDetails$inboundSchema = z.object({
|
|
47
|
+
accountHolderName: z.string(),
|
|
48
|
+
name: z.string().optional(),
|
|
49
|
+
currency: z.string(),
|
|
50
|
+
iban: z.string(),
|
|
51
|
+
bic: z.string().optional(),
|
|
52
|
+
});
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.AccountDetails$outboundSchema = z.object({
|
|
55
|
+
accountHolderName: z.string(),
|
|
56
|
+
name: z.string().optional(),
|
|
57
|
+
currency: z.string(),
|
|
58
|
+
iban: z.string(),
|
|
59
|
+
bic: z.string().optional(),
|
|
60
|
+
});
|
|
61
|
+
function accountDetailsToJSON(accountDetails) {
|
|
62
|
+
return JSON.stringify(exports.AccountDetails$outboundSchema.parse(accountDetails));
|
|
63
|
+
}
|
|
64
|
+
function accountDetailsFromJSON(jsonString) {
|
|
65
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountDetails' from JSON`);
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=accountdetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountdetails.js","sourceRoot":"","sources":["../../../src/models/accountdetails.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEH,oDAEC;AACD,wDAQC;AA5ED,0CAA4B;AAC5B,kDAA8C;AA8B9C,gBAAgB;AACH,QAAA,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;AACH,QAAA,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,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|