@moovio/sdk 0.21.0 → 0.21.2
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/bin/mcp-server.js +79 -61
- package/bin/mcp-server.js.map +11 -10
- package/examples/package-lock.json +1 -1
- package/hooks/hooks.d.ts +3 -2
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js.map +1 -1
- package/hooks/moov-version-hook.d.ts +6 -0
- package/hooks/moov-version-hook.d.ts.map +1 -0
- package/hooks/moov-version-hook.js +12 -0
- package/hooks/moov-version-hook.js.map +1 -0
- package/hooks/registration.d.ts.map +1 -1
- package/hooks/registration.js +3 -1
- package/hooks/registration.js.map +1 -1
- package/hooks/types.d.ts +2 -6
- package/hooks/types.d.ts.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +5 -6
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/package.json +1 -1
- package/src/hooks/hooks.ts +2 -2
- package/src/hooks/moov-version-hook.ts +9 -0
- package/src/hooks/registration.ts +4 -1
- package/src/hooks/types.ts +2 -7
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +6 -7
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/docs/sdks/accounts/README.md +0 -1038
- package/docs/sdks/accountterminalapplications/README.md +0 -371
- package/docs/sdks/adjustments/README.md +0 -185
- package/docs/sdks/applepay/README.md +0 -572
- package/docs/sdks/authentication/README.md +0 -191
- package/docs/sdks/avatars/README.md +0 -95
- package/docs/sdks/bankaccounts/README.md +0 -951
- package/docs/sdks/branding/README.md +0 -407
- package/docs/sdks/capabilities/README.md +0 -380
- package/docs/sdks/cardissuing/README.md +0 -533
- package/docs/sdks/cards/README.md +0 -544
- package/docs/sdks/disputes/README.md +0 -1085
- package/docs/sdks/endtoendencryption/README.md +0 -174
- package/docs/sdks/enrichedaddress/README.md +0 -95
- package/docs/sdks/enrichedprofile/README.md +0 -95
- package/docs/sdks/feeplans/README.md +0 -921
- package/docs/sdks/files/README.md +0 -293
- package/docs/sdks/images/README.md +0 -616
- package/docs/sdks/industries/README.md +0 -91
- package/docs/sdks/institutions/README.md +0 -184
- package/docs/sdks/issuingtransactions/README.md +0 -465
- package/docs/sdks/onboarding/README.md +0 -389
- package/docs/sdks/paymentlinks/README.md +0 -615
- package/docs/sdks/paymentmethods/README.md +0 -187
- package/docs/sdks/ping/README.md +0 -91
- package/docs/sdks/products/README.md +0 -616
- package/docs/sdks/receipts/README.md +0 -180
- package/docs/sdks/representatives/README.md +0 -603
- package/docs/sdks/scheduling/README.md +0 -1018
- package/docs/sdks/statements/README.md +0 -194
- package/docs/sdks/support/README.md +0 -505
- package/docs/sdks/sweeps/README.md +0 -571
- package/docs/sdks/terminalapplications/README.md +0 -460
- package/docs/sdks/transfers/README.md +0 -1136
- package/docs/sdks/underwriting/README.md +0 -331
- package/docs/sdks/wallets/README.md +0 -416
- package/docs/sdks/wallettransactions/README.md +0 -202
- package/examples/README.md +0 -31
- package/test/README.md +0 -14
package/examples/README.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# @moovio/sdk Examples
|
|
2
|
-
|
|
3
|
-
This directory contains example scripts demonstrating how to use the @moovio/sdk SDK.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
- Node.js (v18 or higher)
|
|
8
|
-
- npm
|
|
9
|
-
|
|
10
|
-
## Setup
|
|
11
|
-
|
|
12
|
-
1. Copy `.env.template` to `.env`:
|
|
13
|
-
```bash
|
|
14
|
-
cp .env.template .env
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
2. Edit `.env` and add your actual credentials
|
|
18
|
-
|
|
19
|
-
## Running the Examples
|
|
20
|
-
|
|
21
|
-
To run an example file from the examples directory:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
npm run build && npx tsx example.ts
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Creating new examples
|
|
28
|
-
|
|
29
|
-
Duplicate an existing example file, they won't be overwritten by the generation process.
|
|
30
|
-
|
|
31
|
-
|
package/test/README.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
1. Make sure you have `bun` [installed](https://bun.sh/docs/installation)
|
|
2
|
-
2. Run `bun run setup` (this will build and link the parent package)
|
|
3
|
-
3. Run `bun run test` or `bun run test:verbose` to see all the Requests and Responses
|
|
4
|
-
4. Create a moov API Key and create the `.secrets.json` file in this folder with this format:
|
|
5
|
-
```json
|
|
6
|
-
{
|
|
7
|
-
"username": "publicKey",
|
|
8
|
-
"password": "privateKey",
|
|
9
|
-
"serverURL": "https://dashboard.moov-staging.io/api/"
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
ℹ️️ Running `bun run test` will automatically build the parent project to make sure you're always testing the latest version
|