@moovio/sdk 0.22.19 → 0.22.21
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 +12 -12
- package/bin/mcp-server.js +16 -12
- package/bin/mcp-server.js.map +13 -13
- package/examples/package-lock.json +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/invoicesCreateInvoice.js +1 -1
- package/mcp-server/tools/invoicesCreateInvoicePayment.js +1 -1
- package/mcp-server/tools/invoicesGetInvoice.js +1 -1
- package/mcp-server/tools/invoicesListInvoicePayments.js +1 -1
- package/mcp-server/tools/invoicesListInvoices.js +1 -1
- package/mcp-server/tools/invoicesUpdateInvoice.js +1 -1
- package/models/components/onboardinginvite.d.ts +8 -0
- package/models/components/onboardinginvite.d.ts.map +1 -1
- package/models/components/onboardinginvite.js +2 -0
- package/models/components/onboardinginvite.js.map +1 -1
- package/models/components/onboardinginviterequest.d.ts +8 -0
- package/models/components/onboardinginviterequest.d.ts.map +1 -1
- package/models/components/onboardinginviterequest.js +2 -0
- package/models/components/onboardinginviterequest.js.map +1 -1
- package/package.json +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/invoicesCreateInvoice.ts +1 -1
- package/src/mcp-server/tools/invoicesCreateInvoicePayment.ts +1 -1
- package/src/mcp-server/tools/invoicesGetInvoice.ts +1 -1
- package/src/mcp-server/tools/invoicesListInvoicePayments.ts +1 -1
- package/src/mcp-server/tools/invoicesListInvoices.ts +1 -1
- package/src/mcp-server/tools/invoicesUpdateInvoice.ts +1 -1
- package/src/models/components/onboardinginvite.ts +10 -0
- package/src/models/components/onboardinginviterequest.ts +10 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -39,8 +39,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
39
39
|
export declare const SDK_METADATA: {
|
|
40
40
|
readonly language: "typescript";
|
|
41
41
|
readonly openapiDocVersion: "latest";
|
|
42
|
-
readonly sdkVersion: "0.22.
|
|
43
|
-
readonly genVersion: "2.
|
|
44
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.22.
|
|
42
|
+
readonly sdkVersion: "0.22.21";
|
|
43
|
+
readonly genVersion: "2.801.0";
|
|
44
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.22.21 2.801.0 latest @moovio/sdk";
|
|
45
45
|
};
|
|
46
46
|
//# 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.22.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
34
|
+
sdkVersion: "0.22.21",
|
|
35
|
+
genVersion: "2.801.0",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.22.21 2.801.0 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.22.
|
|
25
|
+
currentVersion: "0.22.21",
|
|
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
|
@@ -190,7 +190,7 @@ const webhooksUpdate_js_1 = require("./tools/webhooksUpdate.js");
|
|
|
190
190
|
function createMCPServer(deps) {
|
|
191
191
|
const server = new mcp_js_1.McpServer({
|
|
192
192
|
name: "Moov",
|
|
193
|
-
version: "0.22.
|
|
193
|
+
version: "0.22.21",
|
|
194
194
|
});
|
|
195
195
|
const client = new core_js_1.MoovCore({
|
|
196
196
|
security: deps.security,
|
|
@@ -47,7 +47,7 @@ exports.tool$invoicesCreateInvoice = {
|
|
|
47
47
|
name: "invoices-create-invoice",
|
|
48
48
|
description: `Create an invoice for a Moov account.
|
|
49
49
|
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
50
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
51
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
52
52
|
args,
|
|
53
53
|
tool: async (client, args, ctx) => {
|
|
@@ -48,7 +48,7 @@ exports.tool$invoicesCreateInvoicePayment = {
|
|
|
48
48
|
description: `Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
49
49
|
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
50
50
|
|
|
51
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
52
52
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
53
53
|
args,
|
|
54
54
|
tool: async (client, args, ctx) => {
|
|
@@ -47,7 +47,7 @@ exports.tool$invoicesGetInvoice = {
|
|
|
47
47
|
name: "invoices-get-invoice",
|
|
48
48
|
description: `Retrieve an invoice by ID.
|
|
49
49
|
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
50
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
51
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
52
|
args,
|
|
53
53
|
tool: async (client, args, ctx) => {
|
|
@@ -47,7 +47,7 @@ exports.tool$invoicesListInvoicePayments = {
|
|
|
47
47
|
name: "invoices-list-invoice-payments",
|
|
48
48
|
description: `List all the payments made towards an invoice.
|
|
49
49
|
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
50
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
51
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
52
|
args,
|
|
53
53
|
tool: async (client, args, ctx) => {
|
|
@@ -47,7 +47,7 @@ exports.tool$invoicesListInvoices = {
|
|
|
47
47
|
name: "invoices-list-invoices",
|
|
48
48
|
description: `List all the invoices created under a Moov account.
|
|
49
49
|
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
50
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
51
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
52
52
|
args,
|
|
53
53
|
tool: async (client, args, ctx) => {
|
|
@@ -47,7 +47,7 @@ exports.tool$invoicesUpdateInvoice = {
|
|
|
47
47
|
name: "invoices-update-invoice",
|
|
48
48
|
description: `Updates an invoice.
|
|
49
49
|
|
|
50
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
50
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
51
51
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
52
52
|
args,
|
|
53
53
|
tool: async (client, args, ctx) => {
|
|
@@ -29,6 +29,13 @@ export type OnboardingInvite = {
|
|
|
29
29
|
* account. These values are used to determine what can be done with the account onboarded.
|
|
30
30
|
*/
|
|
31
31
|
scopes: Array<ApplicationScope>;
|
|
32
|
+
/**
|
|
33
|
+
* List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* by the new account on yourself. These values are used to determine what the account onboarded can do.
|
|
37
|
+
*/
|
|
38
|
+
grantScopes?: Array<ApplicationScope> | undefined;
|
|
32
39
|
/**
|
|
33
40
|
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
34
41
|
*
|
|
@@ -62,6 +69,7 @@ export type OnboardingInvite$Outbound = {
|
|
|
62
69
|
returnURL?: string | undefined;
|
|
63
70
|
termsOfServiceURL?: string | undefined;
|
|
64
71
|
scopes: Array<string>;
|
|
72
|
+
grantScopes?: Array<string> | undefined;
|
|
65
73
|
capabilities: Array<string>;
|
|
66
74
|
feePlanCodes: Array<string>;
|
|
67
75
|
redeemedAccountID?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboardinginvite.d.ts","sourceRoot":"","sources":["../../src/models/components/onboardinginvite.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,S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EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,OAAO,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC7C,OAAO,CAAC,EAAE,iCAAiC,GAAG,SAAS,CAAC;IACxD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,gBAAgB,CAgBhB,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,gBAAgB,EAAE,gBAAgB,GACjC,MAAM,CAIR;AACD,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,CAMvD"}
|
|
@@ -52,6 +52,7 @@ exports.OnboardingInvite$inboundSchema = z.object({
|
|
|
52
52
|
returnURL: z.string().optional(),
|
|
53
53
|
termsOfServiceURL: z.string().optional(),
|
|
54
54
|
scopes: z.array(applicationscope_js_1.ApplicationScope$inboundSchema),
|
|
55
|
+
grantScopes: z.array(applicationscope_js_1.ApplicationScope$inboundSchema).optional(),
|
|
55
56
|
capabilities: z.array(capabilityid_js_1.CapabilityID$inboundSchema),
|
|
56
57
|
feePlanCodes: z.array(z.string()),
|
|
57
58
|
redeemedAccountID: z.string().optional(),
|
|
@@ -70,6 +71,7 @@ exports.OnboardingInvite$outboundSchema = z.object({
|
|
|
70
71
|
returnURL: z.string().optional(),
|
|
71
72
|
termsOfServiceURL: z.string().optional(),
|
|
72
73
|
scopes: z.array(applicationscope_js_1.ApplicationScope$outboundSchema),
|
|
74
|
+
grantScopes: z.array(applicationscope_js_1.ApplicationScope$outboundSchema).optional(),
|
|
73
75
|
capabilities: z.array(capabilityid_js_1.CapabilityID$outboundSchema),
|
|
74
76
|
feePlanCodes: z.array(z.string()),
|
|
75
77
|
redeemedAccountID: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboardinginvite.js","sourceRoot":"","sources":["../../src/models/components/onboardinginvite.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"onboardinginvite.js","sourceRoot":"","sources":["../../src/models/components/onboardinginvite.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoJH,wDAMC;AACD,4DAQC;AAjKD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAI+B;AAC/B,uDAI2B;AAC3B,yDAK4B;AAC5B,+EAKuC;AA0DvC,gBAAgB;AACH,QAAA,8BAA8B,GAIvC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC;IAC/C,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC,CAAC,QAAQ,EAAE;IAC/D,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,4CAA0B,CAAC;IACjD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,OAAO,EAAE,8CAA2B,CAAC,QAAQ,EAAE;IAC/C,OAAO,EAAE,oEAAsC,CAAC,QAAQ,EAA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IAChD,OAAO,EAAE,qEAAuC,CAAC,QAAQ,EAAE;IAC3D,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACnD,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,UAAU,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC;AAEH,SAAgB,sBAAsB,CACpC,gBAAkC;IAElC,OAAO,IAAI,CAAC,SAAS,CACnB,uCAA+B,CAAC,KAAK,CAAC,gBAAgB,CAAC,CACxD,CAAC;AACJ,CAAC;AACD,SAAgB,wBAAwB,CACtC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,sCAA8B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC1D,8CAA8C,CAC/C,CAAC;AACJ,CAAC"}
|
|
@@ -23,6 +23,13 @@ export type OnboardingInviteRequest = {
|
|
|
23
23
|
* account. These values are used to determine what can be done with the account onboarded.
|
|
24
24
|
*/
|
|
25
25
|
scopes: Array<ApplicationScope>;
|
|
26
|
+
/**
|
|
27
|
+
* List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* by the new account on yourself. These values are used to determine what the account onboarded can do.
|
|
31
|
+
*/
|
|
32
|
+
grantScopes?: Array<ApplicationScope> | undefined;
|
|
26
33
|
/**
|
|
27
34
|
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
28
35
|
*
|
|
@@ -43,6 +50,7 @@ export type OnboardingInviteRequest$Outbound = {
|
|
|
43
50
|
returnURL?: string | undefined;
|
|
44
51
|
termsOfServiceURL?: string | undefined;
|
|
45
52
|
scopes: Array<string>;
|
|
53
|
+
grantScopes?: Array<string> | undefined;
|
|
46
54
|
capabilities: Array<string>;
|
|
47
55
|
feePlanCodes: Array<string>;
|
|
48
56
|
prefill?: CreateAccount$Outbound | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboardinginviterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/onboardinginviterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC;;;;;OAKG;IACH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"onboardinginviterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/onboardinginviterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,gBAAgB,EAGjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EAEb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IAClD;;;;;OAKG;IACH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,gCAAgC,GAAG;IAC7C,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACxC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CASvB,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AACD,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -49,6 +49,7 @@ exports.OnboardingInviteRequest$inboundSchema = z.object({
|
|
|
49
49
|
returnURL: z.string().optional(),
|
|
50
50
|
termsOfServiceURL: z.string().optional(),
|
|
51
51
|
scopes: z.array(applicationscope_js_1.ApplicationScope$inboundSchema),
|
|
52
|
+
grantScopes: z.array(applicationscope_js_1.ApplicationScope$inboundSchema).optional(),
|
|
52
53
|
capabilities: z.array(capabilityid_js_1.CapabilityID$inboundSchema),
|
|
53
54
|
feePlanCodes: z.array(z.string()),
|
|
54
55
|
prefill: createaccount_js_1.CreateAccount$inboundSchema.optional(),
|
|
@@ -58,6 +59,7 @@ exports.OnboardingInviteRequest$outboundSchema = z.object({
|
|
|
58
59
|
returnURL: z.string().optional(),
|
|
59
60
|
termsOfServiceURL: z.string().optional(),
|
|
60
61
|
scopes: z.array(applicationscope_js_1.ApplicationScope$outboundSchema),
|
|
62
|
+
grantScopes: z.array(applicationscope_js_1.ApplicationScope$outboundSchema).optional(),
|
|
61
63
|
capabilities: z.array(capabilityid_js_1.CapabilityID$outboundSchema),
|
|
62
64
|
feePlanCodes: z.array(z.string()),
|
|
63
65
|
prefill: createaccount_js_1.CreateAccount$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onboardinginviterequest.js","sourceRoot":"","sources":["../../src/models/components/onboardinginviterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"onboardinginviterequest.js","sourceRoot":"","sources":["../../src/models/components/onboardinginviterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuGH,sEAMC;AACD,0EAQC;AApHD,0CAA4B;AAC5B,qDAAiD;AAGjD,+DAI+B;AAC/B,uDAI2B;AAC3B,yDAK4B;AA0C5B,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC;IAC/C,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,oDAA8B,CAAC,CAAC,QAAQ,EAAE;IAC/D,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,4CAA0B,CAAC;IACjD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,OAAO,EAAE,8CAA2B,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,qDAA+B,CAAC;IAChD,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,qDAA+B,CAAC,CAAC,QAAQ,EAAE;IAChE,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,6CAA2B,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,OAAO,EAAE,+CAA4B,CAAC,QAAQ,EAAE;CACjD,CAAC,CAAC;AAEH,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AACD,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -73,7 +73,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "latest",
|
|
76
|
-
sdkVersion: "0.22.
|
|
77
|
-
genVersion: "2.
|
|
78
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
76
|
+
sdkVersion: "0.22.21",
|
|
77
|
+
genVersion: "2.801.0",
|
|
78
|
+
userAgent: "speakeasy-sdk/typescript 0.22.21 2.801.0 latest @moovio/sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const tool$invoicesCreateInvoice: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "invoices-create-invoice",
|
|
15
15
|
description: `Create an invoice for a Moov account.
|
|
16
16
|
|
|
17
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
@@ -16,7 +16,7 @@ export const tool$invoicesCreateInvoicePayment: ToolDefinition<typeof args> = {
|
|
|
16
16
|
`Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
17
17
|
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
18
18
|
|
|
19
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
19
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
20
20
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
@@ -14,7 +14,7 @@ export const tool$invoicesGetInvoice: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "invoices-get-invoice",
|
|
15
15
|
description: `Retrieve an invoice by ID.
|
|
16
16
|
|
|
17
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
@@ -14,7 +14,7 @@ export const tool$invoicesListInvoicePayments: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "invoices-list-invoice-payments",
|
|
15
15
|
description: `List all the payments made towards an invoice.
|
|
16
16
|
|
|
17
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
@@ -14,7 +14,7 @@ export const tool$invoicesListInvoices: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "invoices-list-invoices",
|
|
15
15
|
description: `List all the invoices created under a Moov account.
|
|
16
16
|
|
|
17
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
@@ -14,7 +14,7 @@ export const tool$invoicesUpdateInvoice: ToolDefinition<typeof args> = {
|
|
|
14
14
|
name: "invoices-update-invoice",
|
|
15
15
|
description: `Updates an invoice.
|
|
16
16
|
|
|
17
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
17
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
18
18
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
19
19
|
args,
|
|
20
20
|
tool: async (client, args, ctx) => {
|
|
@@ -53,6 +53,13 @@ export type OnboardingInvite = {
|
|
|
53
53
|
* account. These values are used to determine what can be done with the account onboarded.
|
|
54
54
|
*/
|
|
55
55
|
scopes: Array<ApplicationScope>;
|
|
56
|
+
/**
|
|
57
|
+
* List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* by the new account on yourself. These values are used to determine what the account onboarded can do.
|
|
61
|
+
*/
|
|
62
|
+
grantScopes?: Array<ApplicationScope> | undefined;
|
|
56
63
|
/**
|
|
57
64
|
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
58
65
|
*
|
|
@@ -89,6 +96,7 @@ export const OnboardingInvite$inboundSchema: z.ZodType<
|
|
|
89
96
|
returnURL: z.string().optional(),
|
|
90
97
|
termsOfServiceURL: z.string().optional(),
|
|
91
98
|
scopes: z.array(ApplicationScope$inboundSchema),
|
|
99
|
+
grantScopes: z.array(ApplicationScope$inboundSchema).optional(),
|
|
92
100
|
capabilities: z.array(CapabilityID$inboundSchema),
|
|
93
101
|
feePlanCodes: z.array(z.string()),
|
|
94
102
|
redeemedAccountID: z.string().optional(),
|
|
@@ -107,6 +115,7 @@ export type OnboardingInvite$Outbound = {
|
|
|
107
115
|
returnURL?: string | undefined;
|
|
108
116
|
termsOfServiceURL?: string | undefined;
|
|
109
117
|
scopes: Array<string>;
|
|
118
|
+
grantScopes?: Array<string> | undefined;
|
|
110
119
|
capabilities: Array<string>;
|
|
111
120
|
feePlanCodes: Array<string>;
|
|
112
121
|
redeemedAccountID?: string | undefined;
|
|
@@ -128,6 +137,7 @@ export const OnboardingInvite$outboundSchema: z.ZodType<
|
|
|
128
137
|
returnURL: z.string().optional(),
|
|
129
138
|
termsOfServiceURL: z.string().optional(),
|
|
130
139
|
scopes: z.array(ApplicationScope$outboundSchema),
|
|
140
|
+
grantScopes: z.array(ApplicationScope$outboundSchema).optional(),
|
|
131
141
|
capabilities: z.array(CapabilityID$outboundSchema),
|
|
132
142
|
feePlanCodes: z.array(z.string()),
|
|
133
143
|
redeemedAccountID: z.string().optional(),
|
|
@@ -42,6 +42,13 @@ export type OnboardingInviteRequest = {
|
|
|
42
42
|
* account. These values are used to determine what can be done with the account onboarded.
|
|
43
43
|
*/
|
|
44
44
|
scopes: Array<ApplicationScope>;
|
|
45
|
+
/**
|
|
46
|
+
* List of [scopes](https://docs.moov.io/api/authentication/scopes/) you grant to allow being used
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* by the new account on yourself. These values are used to determine what the account onboarded can do.
|
|
50
|
+
*/
|
|
51
|
+
grantScopes?: Array<ApplicationScope> | undefined;
|
|
45
52
|
/**
|
|
46
53
|
* List of [capabilities](https://docs.moov.io/guides/accounts/capabilities/) you intend to request for this
|
|
47
54
|
*
|
|
@@ -65,6 +72,7 @@ export const OnboardingInviteRequest$inboundSchema: z.ZodType<
|
|
|
65
72
|
returnURL: z.string().optional(),
|
|
66
73
|
termsOfServiceURL: z.string().optional(),
|
|
67
74
|
scopes: z.array(ApplicationScope$inboundSchema),
|
|
75
|
+
grantScopes: z.array(ApplicationScope$inboundSchema).optional(),
|
|
68
76
|
capabilities: z.array(CapabilityID$inboundSchema),
|
|
69
77
|
feePlanCodes: z.array(z.string()),
|
|
70
78
|
prefill: CreateAccount$inboundSchema.optional(),
|
|
@@ -74,6 +82,7 @@ export type OnboardingInviteRequest$Outbound = {
|
|
|
74
82
|
returnURL?: string | undefined;
|
|
75
83
|
termsOfServiceURL?: string | undefined;
|
|
76
84
|
scopes: Array<string>;
|
|
85
|
+
grantScopes?: Array<string> | undefined;
|
|
77
86
|
capabilities: Array<string>;
|
|
78
87
|
feePlanCodes: Array<string>;
|
|
79
88
|
prefill?: CreateAccount$Outbound | undefined;
|
|
@@ -88,6 +97,7 @@ export const OnboardingInviteRequest$outboundSchema: z.ZodType<
|
|
|
88
97
|
returnURL: z.string().optional(),
|
|
89
98
|
termsOfServiceURL: z.string().optional(),
|
|
90
99
|
scopes: z.array(ApplicationScope$outboundSchema),
|
|
100
|
+
grantScopes: z.array(ApplicationScope$outboundSchema).optional(),
|
|
91
101
|
capabilities: z.array(CapabilityID$outboundSchema),
|
|
92
102
|
feePlanCodes: z.array(z.string()),
|
|
93
103
|
prefill: CreateAccount$outboundSchema.optional(),
|