@moovio/sdk 0.10.4 → 0.10.5
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 +2 -2
- package/bin/mcp-server.js +7 -7
- package/bin/mcp-server.js.map +10 -10
- package/docs/sdks/files/README.md +2 -2
- package/funcs/filesUpload.d.ts +1 -1
- package/funcs/filesUpload.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/filesUpload.js +1 -1
- package/models/components/createevidencefilemultipart.d.ts +1 -1
- package/models/components/createtransfer.d.ts +1 -1
- package/models/components/transfer.d.ts +1 -1
- package/models/errors/transfer.d.ts +2 -2
- package/package.json +1 -1
- package/sdk/files.d.ts +1 -1
- package/sdk/files.js +1 -1
- package/src/funcs/filesUpload.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/filesUpload.ts +1 -1
- package/src/models/components/createevidencefilemultipart.ts +1 -1
- package/src/models/components/createtransfer.ts +1 -1
- package/src/models/components/transfer.ts +1 -1
- package/src/models/errors/transfer.ts +2 -2
- package/src/sdk/files.ts +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
* [upload](#upload) - Upload a file and link it to the specified Moov account.
|
|
9
9
|
|
|
10
|
-
The maximum file size is
|
|
10
|
+
The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
11
11
|
and png.
|
|
12
12
|
|
|
13
13
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -25,7 +25,7 @@ you'll need to specify the `/accounts/{accountID}/files.read` scope.
|
|
|
25
25
|
|
|
26
26
|
Upload a file and link it to the specified Moov account.
|
|
27
27
|
|
|
28
|
-
The maximum file size is
|
|
28
|
+
The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
29
29
|
and png.
|
|
30
30
|
|
|
31
31
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/funcs/filesUpload.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { Result } from "../types/fp.js";
|
|
|
10
10
|
/**
|
|
11
11
|
* Upload a file and link it to the specified Moov account.
|
|
12
12
|
*
|
|
13
|
-
* The maximum file size is
|
|
13
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
14
14
|
* and png.
|
|
15
15
|
*
|
|
16
16
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/funcs/filesUpload.js
CHANGED
|
@@ -52,7 +52,7 @@ const streams_js_1 = require("../types/streams.js");
|
|
|
52
52
|
/**
|
|
53
53
|
* Upload a file and link it to the specified Moov account.
|
|
54
54
|
*
|
|
55
|
-
* The maximum file size is
|
|
55
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
56
56
|
* and png.
|
|
57
57
|
*
|
|
58
58
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
35
35
|
export declare const SDK_METADATA: {
|
|
36
36
|
readonly language: "typescript";
|
|
37
37
|
readonly openapiDocVersion: "latest";
|
|
38
|
-
readonly sdkVersion: "0.10.
|
|
39
|
-
readonly genVersion: "2.
|
|
40
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.10.
|
|
38
|
+
readonly sdkVersion: "0.10.5";
|
|
39
|
+
readonly genVersion: "2.565.1";
|
|
40
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.10.5 2.565.1 latest @moovio/sdk";
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "latest",
|
|
34
|
-
sdkVersion: "0.10.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
34
|
+
sdkVersion: "0.10.5",
|
|
35
|
+
genVersion: "2.565.1",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.10.5 2.565.1 latest @moovio/sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.10.
|
|
25
|
+
currentVersion: "0.10.5",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -145,7 +145,7 @@ const walletTransactionsList_js_1 = require("./tools/walletTransactionsList.js")
|
|
|
145
145
|
function createMCPServer(deps) {
|
|
146
146
|
const server = new mcp_js_1.McpServer({
|
|
147
147
|
name: "Moov",
|
|
148
|
-
version: "0.10.
|
|
148
|
+
version: "0.10.5",
|
|
149
149
|
});
|
|
150
150
|
const client = new core_js_1.MoovCore({
|
|
151
151
|
security: deps.security,
|
|
@@ -47,7 +47,7 @@ exports.tool$filesUpload = {
|
|
|
47
47
|
name: "files-upload",
|
|
48
48
|
description: `Upload a file and link it to the specified Moov account.
|
|
49
49
|
|
|
50
|
-
The maximum file size is
|
|
50
|
+
The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
51
51
|
and png.
|
|
52
52
|
|
|
53
53
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -9,7 +9,7 @@ export type FileT = {
|
|
|
9
9
|
export type CreateEvidenceFileMultiPart = {
|
|
10
10
|
evidenceType: EvidenceType;
|
|
11
11
|
/**
|
|
12
|
-
* The file to upload as evidence. Valid types are [jpeg, tiff, pdf].
|
|
12
|
+
* The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
*
|
|
@@ -20,7 +20,7 @@ export type CreateTransfer = {
|
|
|
20
20
|
*/
|
|
21
21
|
facilitatorFee?: FacilitatorFee | undefined;
|
|
22
22
|
/**
|
|
23
|
-
* An optional description of the transfer for your own internal use.
|
|
23
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
24
24
|
*/
|
|
25
25
|
description?: string | undefined;
|
|
26
26
|
/**
|
|
@@ -30,7 +30,7 @@ export type Transfer = {
|
|
|
30
30
|
failureReason?: TransferFailureReason | undefined;
|
|
31
31
|
amount: Amount;
|
|
32
32
|
/**
|
|
33
|
-
* An optional description of the transfer for your own internal use.
|
|
33
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
34
34
|
*/
|
|
35
35
|
description?: string | undefined;
|
|
36
36
|
/**
|
|
@@ -19,7 +19,7 @@ export type TransferData = {
|
|
|
19
19
|
failureReason?: components.TransferFailureReason | undefined;
|
|
20
20
|
amount: components.Amount;
|
|
21
21
|
/**
|
|
22
|
-
* An optional description of the transfer for your own internal use.
|
|
22
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
23
23
|
*/
|
|
24
24
|
description?: string | undefined;
|
|
25
25
|
/**
|
|
@@ -77,7 +77,7 @@ export declare class Transfer extends Error {
|
|
|
77
77
|
failureReason?: components.TransferFailureReason | undefined;
|
|
78
78
|
amount: components.Amount;
|
|
79
79
|
/**
|
|
80
|
-
* An optional description of the transfer for your own internal use.
|
|
80
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
81
81
|
*/
|
|
82
82
|
description?: string | undefined;
|
|
83
83
|
/**
|
package/package.json
CHANGED
package/sdk/files.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare class Files extends ClientSDK {
|
|
|
4
4
|
/**
|
|
5
5
|
* Upload a file and link it to the specified Moov account.
|
|
6
6
|
*
|
|
7
|
-
* The maximum file size is
|
|
7
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
8
8
|
* and png.
|
|
9
9
|
*
|
|
10
10
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/sdk/files.js
CHANGED
|
@@ -13,7 +13,7 @@ class Files extends sdks_js_1.ClientSDK {
|
|
|
13
13
|
/**
|
|
14
14
|
* Upload a file and link it to the specified Moov account.
|
|
15
15
|
*
|
|
16
|
-
* The maximum file size is
|
|
16
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
17
17
|
* and png.
|
|
18
18
|
*
|
|
19
19
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/src/funcs/filesUpload.ts
CHANGED
|
@@ -30,7 +30,7 @@ import { isReadableStream } from "../types/streams.js";
|
|
|
30
30
|
/**
|
|
31
31
|
* Upload a file and link it to the specified Moov account.
|
|
32
32
|
*
|
|
33
|
-
* The maximum file size is
|
|
33
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
34
34
|
* and png.
|
|
35
35
|
*
|
|
36
36
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
package/src/lib/config.ts
CHANGED
|
@@ -69,7 +69,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
69
69
|
export const SDK_METADATA = {
|
|
70
70
|
language: "typescript",
|
|
71
71
|
openapiDocVersion: "latest",
|
|
72
|
-
sdkVersion: "0.10.
|
|
73
|
-
genVersion: "2.
|
|
74
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
72
|
+
sdkVersion: "0.10.5",
|
|
73
|
+
genVersion: "2.565.1",
|
|
74
|
+
userAgent: "speakeasy-sdk/typescript 0.10.5 2.565.1 latest @moovio/sdk",
|
|
75
75
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$filesUpload: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "files-upload",
|
|
15
15
|
description: `Upload a file and link it to the specified Moov account.
|
|
16
16
|
|
|
17
|
-
The maximum file size is
|
|
17
|
+
The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
18
18
|
and png.
|
|
19
19
|
|
|
20
20
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
@@ -21,7 +21,7 @@ export type FileT = {
|
|
|
21
21
|
export type CreateEvidenceFileMultiPart = {
|
|
22
22
|
evidenceType: EvidenceType;
|
|
23
23
|
/**
|
|
24
|
-
* The file to upload as evidence. Valid types are [jpeg, tiff, pdf].
|
|
24
|
+
* The file to upload as evidence. Valid types are [jpeg, tiff, pdf] with a limit of 4MB per file.
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
27
|
*
|
|
@@ -46,7 +46,7 @@ export type CreateTransfer = {
|
|
|
46
46
|
*/
|
|
47
47
|
facilitatorFee?: FacilitatorFee | undefined;
|
|
48
48
|
/**
|
|
49
|
-
* An optional description of the transfer for your own internal use.
|
|
49
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
50
50
|
*/
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
/**
|
|
@@ -84,7 +84,7 @@ export type Transfer = {
|
|
|
84
84
|
failureReason?: TransferFailureReason | undefined;
|
|
85
85
|
amount: Amount;
|
|
86
86
|
/**
|
|
87
|
-
* An optional description of the transfer for your own internal use.
|
|
87
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
88
88
|
*/
|
|
89
89
|
description?: string | undefined;
|
|
90
90
|
/**
|
|
@@ -24,7 +24,7 @@ export type TransferData = {
|
|
|
24
24
|
failureReason?: components.TransferFailureReason | undefined;
|
|
25
25
|
amount: components.Amount;
|
|
26
26
|
/**
|
|
27
|
-
* An optional description of the transfer for your own internal use.
|
|
27
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
28
28
|
*/
|
|
29
29
|
description?: string | undefined;
|
|
30
30
|
/**
|
|
@@ -81,7 +81,7 @@ export class Transfer extends Error {
|
|
|
81
81
|
failureReason?: components.TransferFailureReason | undefined;
|
|
82
82
|
amount: components.Amount;
|
|
83
83
|
/**
|
|
84
|
-
* An optional description of the transfer for your own internal use.
|
|
84
|
+
* An optional description of the transfer that is used on receipts and for your own internal use.
|
|
85
85
|
*/
|
|
86
86
|
description?: string | undefined;
|
|
87
87
|
/**
|
package/src/sdk/files.ts
CHANGED
|
@@ -13,7 +13,7 @@ export class Files extends ClientSDK {
|
|
|
13
13
|
/**
|
|
14
14
|
* Upload a file and link it to the specified Moov account.
|
|
15
15
|
*
|
|
16
|
-
* The maximum file size is
|
|
16
|
+
* The maximum file size is 20MB. Each account is allowed a maximum of 50 files. Acceptable file types include csv, jpg, pdf,
|
|
17
17
|
* and png.
|
|
18
18
|
*
|
|
19
19
|
* To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|