@moovio/sdk 0.9.0 → 0.10.1
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 +53 -7
- package/bin/mcp-server.js +354 -128
- package/bin/mcp-server.js.map +18 -13
- package/docs/sdks/terminalconfigurations/README.md +98 -0
- package/funcs/terminalConfigurationsGet.d.ts +16 -0
- package/funcs/terminalConfigurationsGet.d.ts.map +1 -0
- package/funcs/terminalConfigurationsGet.js +124 -0
- package/funcs/terminalConfigurationsGet.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/security.d.ts +4 -3
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -1
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/terminalConfigurationsGet.d.ts +8 -0
- package/mcp-server/tools/terminalConfigurationsGet.d.ts.map +1 -0
- package/mcp-server/tools/terminalConfigurationsGet.js +65 -0
- package/mcp-server/tools/terminalConfigurationsGet.js.map +1 -0
- package/models/components/feeplan.d.ts +6 -0
- package/models/components/feeplan.d.ts.map +1 -1
- package/models/components/feeplan.js +3 -0
- package/models/components/feeplan.js.map +1 -1
- package/models/components/feeplanagreement.d.ts +6 -0
- package/models/components/feeplanagreement.d.ts.map +1 -1
- package/models/components/feeplanagreement.js +3 -0
- package/models/components/feeplanagreement.js.map +1 -1
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/models/components/monthlyplatformfee.d.ts +44 -0
- package/models/components/monthlyplatformfee.d.ts.map +1 -0
- package/models/components/monthlyplatformfee.js +71 -0
- package/models/components/monthlyplatformfee.js.map +1 -0
- package/models/components/partnerpricing.d.ts +6 -0
- package/models/components/partnerpricing.d.ts.map +1 -1
- package/models/components/partnerpricing.js +3 -0
- package/models/components/partnerpricing.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +6 -0
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +3 -0
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/terminalconfiguration.d.ts +32 -0
- package/models/components/terminalconfiguration.d.ts.map +1 -0
- package/models/components/terminalconfiguration.js +69 -0
- package/models/components/terminalconfiguration.js.map +1 -0
- package/models/operations/getterminalconfiguration.d.ts +101 -0
- package/models/operations/getterminalconfiguration.d.ts.map +1 -0
- package/models/operations/getterminalconfiguration.js +147 -0
- package/models/operations/getterminalconfiguration.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/terminalconfigurations.d.ts +12 -0
- package/sdk/terminalconfigurations.d.ts.map +1 -0
- package/sdk/terminalconfigurations.js +22 -0
- package/sdk/terminalconfigurations.js.map +1 -0
- package/src/funcs/terminalConfigurationsGet.ts +181 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +11 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/terminalConfigurationsGet.ts +38 -0
- package/src/models/components/feeplan.ts +13 -0
- package/src/models/components/feeplanagreement.ts +13 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/monthlyplatformfee.ts +83 -0
- package/src/models/components/partnerpricing.ts +13 -0
- package/src/models/components/partnerpricingagreement.ts +13 -0
- package/src/models/components/terminalconfiguration.ts +69 -0
- package/src/models/operations/getterminalconfiguration.ts +229 -0
- package/src/models/operations/index.ts +1 -0
- package/src/sdk/sdk.ts +8 -0
- package/src/sdk/terminalconfigurations.ts +27 -0
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ yarn add @moovio/sdk zod
|
|
|
79
79
|
This SDK is also an installable MCP server where the various SDK methods are
|
|
80
80
|
exposed as tools that can be invoked by AI applications.
|
|
81
81
|
|
|
82
|
-
> Node.js v20 or greater is required to run the MCP server.
|
|
82
|
+
> Node.js v20 or greater is required to run the MCP server from npm.
|
|
83
83
|
|
|
84
84
|
<details>
|
|
85
85
|
<summary>Claude installation steps</summary>
|
|
@@ -109,17 +109,52 @@ Add the following server definition to your `claude_desktop_config.json` file:
|
|
|
109
109
|
<details>
|
|
110
110
|
<summary>Cursor installation steps</summary>
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
Create a `.cursor/mcp.json` file in your project root with the following content:
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
npx
|
|
114
|
+
```json
|
|
115
|
+
{
|
|
116
|
+
"mcpServers": {
|
|
117
|
+
"Moov": {
|
|
118
|
+
"command": "npx",
|
|
119
|
+
"args": [
|
|
120
|
+
"-y", "--package", "@moovio/sdk",
|
|
121
|
+
"--",
|
|
122
|
+
"mcp", "start",
|
|
123
|
+
"--username", "...",
|
|
124
|
+
"--password", "...",
|
|
125
|
+
"--x-moov-version", "..."
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
119
130
|
```
|
|
120
131
|
|
|
121
132
|
</details>
|
|
122
133
|
|
|
134
|
+
You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
curl -L -o mcp-server \
|
|
138
|
+
https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
|
|
139
|
+
chmod +x mcp-server
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
If the repo is a private repo you must add your Github PAT to download a release `-H "Authorization: Bearer {GITHUB_PAT}"`.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
```json
|
|
146
|
+
{
|
|
147
|
+
"mcpServers": {
|
|
148
|
+
"Todos": {
|
|
149
|
+
"command": "./DOWNLOAD/PATH/mcp-server",
|
|
150
|
+
"args": [
|
|
151
|
+
"start"
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
```
|
|
157
|
+
|
|
123
158
|
For a full list of server arguments, run:
|
|
124
159
|
|
|
125
160
|
```sh
|
|
@@ -1086,6 +1121,13 @@ you'll need to specify the `/terminalApplications.read` scope.
|
|
|
1086
1121
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1087
1122
|
you'll need to specify the `/terminalApplications.write` scope.
|
|
1088
1123
|
|
|
1124
|
+
### [terminalConfigurations](docs/sdks/terminalconfigurations/README.md)
|
|
1125
|
+
|
|
1126
|
+
* [get](docs/sdks/terminalconfigurations/README.md#get) - Fetch the configuration for a given Terminal Application
|
|
1127
|
+
|
|
1128
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1129
|
+
you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
|
|
1130
|
+
|
|
1089
1131
|
### [transfers](docs/sdks/transfers/README.md)
|
|
1090
1132
|
|
|
1091
1133
|
* [create](docs/sdks/transfers/README.md#create) - Move money by providing the source, destination, and amount in the request body.
|
|
@@ -1841,6 +1883,10 @@ you'll need to specify the `/terminalApplications.read` scope.
|
|
|
1841
1883
|
|
|
1842
1884
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1843
1885
|
you'll need to specify the `/terminalApplications.read` scope.
|
|
1886
|
+
- [`terminalConfigurationsGet`](docs/sdks/terminalconfigurations/README.md#get) - Fetch the configuration for a given Terminal Application
|
|
1887
|
+
|
|
1888
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1889
|
+
you'll need to specify the `/accounts/{accountID}/terminal-configuration.read` scope.
|
|
1844
1890
|
- [`transfersCreate`](docs/sdks/transfers/README.md#create) - Move money by providing the source, destination, and amount in the request body.
|
|
1845
1891
|
|
|
1846
1892
|
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|