@moovio/sdk 0.22.18 → 0.22.20
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 +47 -12
- package/bin/mcp-server.js.map +14 -14
- package/examples/package-lock.json +1 -1
- package/funcs/invoicesListInvoices.js +4 -0
- package/funcs/invoicesListInvoices.js.map +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/errors/listinvoicesvalidationerror.d.ts +12 -0
- package/models/errors/listinvoicesvalidationerror.d.ts.map +1 -1
- package/models/errors/listinvoicesvalidationerror.js +19 -0
- package/models/errors/listinvoicesvalidationerror.js.map +1 -1
- package/models/operations/listinvoices.d.ts +8 -0
- package/models/operations/listinvoices.d.ts.map +1 -1
- package/models/operations/listinvoices.js +8 -0
- package/models/operations/listinvoices.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/invoicesListInvoices.ts +4 -0
- 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/errors/listinvoicesvalidationerror.ts +30 -0
- package/src/models/operations/listinvoices.ts +24 -0
package/README.md
CHANGED
|
@@ -812,28 +812,28 @@ you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
|
|
|
812
812
|
|
|
813
813
|
* [createInvoice](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
|
|
814
814
|
|
|
815
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
815
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
816
816
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
817
817
|
* [listInvoices](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
|
|
818
818
|
|
|
819
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
819
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
820
820
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
821
821
|
* [getInvoice](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
|
|
822
822
|
|
|
823
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
823
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
824
824
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
825
825
|
* [updateInvoice](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
|
|
826
826
|
|
|
827
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
827
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
828
828
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
829
829
|
* [createInvoicePayment](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
830
830
|
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
831
831
|
|
|
832
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
832
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
833
833
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
834
834
|
* [listInvoicePayments](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
|
|
835
835
|
|
|
836
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
836
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
837
837
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
838
838
|
|
|
839
839
|
### [IssuingTransactions](docs/sdks/issuingtransactions/README.md)
|
|
@@ -1775,28 +1775,28 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
|
|
|
1775
1775
|
you'll need to specify the `/institutions.read` scope.
|
|
1776
1776
|
- [`invoicesCreateInvoice`](docs/sdks/invoices/README.md#createinvoice) - Create an invoice for a Moov account.
|
|
1777
1777
|
|
|
1778
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1778
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1779
1779
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1780
1780
|
- [`invoicesCreateInvoicePayment`](docs/sdks/invoices/README.md#createinvoicepayment) - Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
1781
1781
|
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
1782
1782
|
|
|
1783
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1783
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1784
1784
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1785
1785
|
- [`invoicesGetInvoice`](docs/sdks/invoices/README.md#getinvoice) - Retrieve an invoice by ID.
|
|
1786
1786
|
|
|
1787
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1787
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1788
1788
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1789
1789
|
- [`invoicesListInvoicePayments`](docs/sdks/invoices/README.md#listinvoicepayments) - List all the payments made towards an invoice.
|
|
1790
1790
|
|
|
1791
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1791
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1792
1792
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1793
1793
|
- [`invoicesListInvoices`](docs/sdks/invoices/README.md#listinvoices) - List all the invoices created under a Moov account.
|
|
1794
1794
|
|
|
1795
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1795
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1796
1796
|
you'll need to specify the `/accounts/{accountID}/invoices.read` scope.
|
|
1797
1797
|
- [`invoicesUpdateInvoice`](docs/sdks/invoices/README.md#updateinvoice) - Updates an invoice.
|
|
1798
1798
|
|
|
1799
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1799
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1800
1800
|
you'll need to specify the `/accounts/{accountID}/invoices.write` scope.
|
|
1801
1801
|
- [`issuingTransactionsGet`](docs/sdks/issuingtransactions/README.md#get) - Retrieves details of an issued card transaction associated with a specific Moov account.
|
|
1802
1802
|
|
package/bin/mcp-server.js
CHANGED
|
@@ -52413,9 +52413,9 @@ var init_config = __esm(() => {
|
|
|
52413
52413
|
SDK_METADATA = {
|
|
52414
52414
|
language: "typescript",
|
|
52415
52415
|
openapiDocVersion: "latest",
|
|
52416
|
-
sdkVersion: "0.22.
|
|
52417
|
-
genVersion: "2.
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
52416
|
+
sdkVersion: "0.22.20",
|
|
52417
|
+
genVersion: "2.799.0",
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 0.22.20 2.799.0 latest @moovio/sdk"
|
|
52419
52419
|
};
|
|
52420
52420
|
});
|
|
52421
52421
|
|
|
@@ -69538,6 +69538,10 @@ var init_listinvoicesvalidationerror = __esm(() => {
|
|
|
69538
69538
|
ListInvoicesValidationError = class ListInvoicesValidationError extends MoovError {
|
|
69539
69539
|
status;
|
|
69540
69540
|
customerAccountID;
|
|
69541
|
+
createdStartDateTime;
|
|
69542
|
+
createdEndDateTime;
|
|
69543
|
+
dueStartDateTime;
|
|
69544
|
+
dueEndDateTime;
|
|
69541
69545
|
skip;
|
|
69542
69546
|
count;
|
|
69543
69547
|
data$;
|
|
@@ -69550,6 +69554,17 @@ var init_listinvoicesvalidationerror = __esm(() => {
|
|
|
69550
69554
|
if (err.customerAccountID != null) {
|
|
69551
69555
|
this.customerAccountID = err.customerAccountID;
|
|
69552
69556
|
}
|
|
69557
|
+
if (err.createdStartDateTime != null) {
|
|
69558
|
+
this.createdStartDateTime = err.createdStartDateTime;
|
|
69559
|
+
}
|
|
69560
|
+
if (err.createdEndDateTime != null) {
|
|
69561
|
+
this.createdEndDateTime = err.createdEndDateTime;
|
|
69562
|
+
}
|
|
69563
|
+
if (err.dueStartDateTime != null) {
|
|
69564
|
+
this.dueStartDateTime = err.dueStartDateTime;
|
|
69565
|
+
}
|
|
69566
|
+
if (err.dueEndDateTime != null)
|
|
69567
|
+
this.dueEndDateTime = err.dueEndDateTime;
|
|
69553
69568
|
if (err.skip != null)
|
|
69554
69569
|
this.skip = err.skip;
|
|
69555
69570
|
if (err.count != null)
|
|
@@ -69560,6 +69575,10 @@ var init_listinvoicesvalidationerror = __esm(() => {
|
|
|
69560
69575
|
ListInvoicesValidationError$inboundSchema = objectType({
|
|
69561
69576
|
status: stringType().optional(),
|
|
69562
69577
|
customerAccountID: stringType().optional(),
|
|
69578
|
+
createdStartDateTime: stringType().optional(),
|
|
69579
|
+
createdEndDateTime: stringType().optional(),
|
|
69580
|
+
dueStartDateTime: stringType().optional(),
|
|
69581
|
+
dueEndDateTime: stringType().optional(),
|
|
69563
69582
|
skip: stringType().optional(),
|
|
69564
69583
|
count: stringType().optional(),
|
|
69565
69584
|
request$: instanceOfType(Request),
|
|
@@ -69575,6 +69594,10 @@ var init_listinvoicesvalidationerror = __esm(() => {
|
|
|
69575
69594
|
ListInvoicesValidationError$outboundSchema = instanceOfType(ListInvoicesValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
69576
69595
|
status: stringType().optional(),
|
|
69577
69596
|
customerAccountID: stringType().optional(),
|
|
69597
|
+
createdStartDateTime: stringType().optional(),
|
|
69598
|
+
createdEndDateTime: stringType().optional(),
|
|
69599
|
+
dueStartDateTime: stringType().optional(),
|
|
69600
|
+
dueEndDateTime: stringType().optional(),
|
|
69578
69601
|
skip: stringType().optional(),
|
|
69579
69602
|
count: stringType().optional()
|
|
69580
69603
|
}));
|
|
@@ -77232,6 +77255,10 @@ var init_listinvoices = __esm(() => {
|
|
|
77232
77255
|
count: numberType().int().optional(),
|
|
77233
77256
|
status: InvoiceStatus$inboundSchema.optional(),
|
|
77234
77257
|
customerAccountID: stringType().optional(),
|
|
77258
|
+
createdStartDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
77259
|
+
createdEndDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
77260
|
+
dueStartDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
77261
|
+
dueEndDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
77235
77262
|
accountID: stringType()
|
|
77236
77263
|
});
|
|
77237
77264
|
ListInvoicesRequest$outboundSchema = objectType({
|
|
@@ -77239,6 +77266,10 @@ var init_listinvoices = __esm(() => {
|
|
|
77239
77266
|
count: numberType().int().optional(),
|
|
77240
77267
|
status: InvoiceStatus$outboundSchema.optional(),
|
|
77241
77268
|
customerAccountID: stringType().optional(),
|
|
77269
|
+
createdStartDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
77270
|
+
createdEndDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
77271
|
+
dueStartDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
77272
|
+
dueEndDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
77242
77273
|
accountID: stringType()
|
|
77243
77274
|
});
|
|
77244
77275
|
ListInvoicesResponse$inboundSchema = objectType({
|
|
@@ -91826,7 +91857,7 @@ var init_invoicesCreateInvoice2 = __esm(() => {
|
|
|
91826
91857
|
name: "invoices-create-invoice",
|
|
91827
91858
|
description: `Create an invoice for a Moov account.
|
|
91828
91859
|
|
|
91829
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91860
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91830
91861
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91831
91862
|
args: args91,
|
|
91832
91863
|
tool: async (client, args92, ctx) => {
|
|
@@ -91960,7 +91991,7 @@ var init_invoicesCreateInvoicePayment2 = __esm(() => {
|
|
|
91960
91991
|
description: `Creates a payment resource to represent that an invoice was paid outside of the Moov platform.
|
|
91961
91992
|
If a payment link was created for the invoice, the corresponding payment link is canceled, but a receipt is still sent.
|
|
91962
91993
|
|
|
91963
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91994
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91964
91995
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91965
91996
|
args: args92,
|
|
91966
91997
|
tool: async (client, args93, ctx) => {
|
|
@@ -92075,7 +92106,7 @@ var init_invoicesGetInvoice2 = __esm(() => {
|
|
|
92075
92106
|
name: "invoices-get-invoice",
|
|
92076
92107
|
description: `Retrieve an invoice by ID.
|
|
92077
92108
|
|
|
92078
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92109
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92079
92110
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
92080
92111
|
args: args93,
|
|
92081
92112
|
tool: async (client, args94, ctx) => {
|
|
@@ -92190,7 +92221,7 @@ var init_invoicesListInvoicePayments2 = __esm(() => {
|
|
|
92190
92221
|
name: "invoices-list-invoice-payments",
|
|
92191
92222
|
description: `List all the payments made towards an invoice.
|
|
92192
92223
|
|
|
92193
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92224
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92194
92225
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
92195
92226
|
args: args94,
|
|
92196
92227
|
tool: async (client, args95, ctx) => {
|
|
@@ -92227,7 +92258,11 @@ async function $do95(client, request, options) {
|
|
|
92227
92258
|
const path = pathToFunc("/accounts/{accountID}/invoices")(pathParams);
|
|
92228
92259
|
const query = encodeFormQuery({
|
|
92229
92260
|
count: payload.count,
|
|
92261
|
+
createdEndDateTime: payload.createdEndDateTime,
|
|
92262
|
+
createdStartDateTime: payload.createdStartDateTime,
|
|
92230
92263
|
customerAccountID: payload.customerAccountID,
|
|
92264
|
+
dueEndDateTime: payload.dueEndDateTime,
|
|
92265
|
+
dueStartDateTime: payload.dueStartDateTime,
|
|
92231
92266
|
skip: payload.skip,
|
|
92232
92267
|
status: payload.status
|
|
92233
92268
|
}, { explode: false });
|
|
@@ -92311,7 +92346,7 @@ var init_invoicesListInvoices2 = __esm(() => {
|
|
|
92311
92346
|
name: "invoices-list-invoices",
|
|
92312
92347
|
description: `List all the invoices created under a Moov account.
|
|
92313
92348
|
|
|
92314
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92349
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92315
92350
|
you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
92316
92351
|
args: args95,
|
|
92317
92352
|
tool: async (client, args96, ctx) => {
|
|
@@ -92440,7 +92475,7 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
|
92440
92475
|
name: "invoices-update-invoice",
|
|
92441
92476
|
description: `Updates an invoice.
|
|
92442
92477
|
|
|
92443
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92478
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92444
92479
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
92445
92480
|
args: args96,
|
|
92446
92481
|
tool: async (client, args97, ctx) => {
|
|
@@ -102214,7 +102249,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
102214
102249
|
function createMCPServer(deps) {
|
|
102215
102250
|
const server = new McpServer({
|
|
102216
102251
|
name: "Moov",
|
|
102217
|
-
version: "0.22.
|
|
102252
|
+
version: "0.22.20"
|
|
102218
102253
|
});
|
|
102219
102254
|
const client = new MoovCore({
|
|
102220
102255
|
security: deps.security,
|
|
@@ -103794,7 +103829,7 @@ var routes = rn({
|
|
|
103794
103829
|
var app = Ve(routes, {
|
|
103795
103830
|
name: "mcp",
|
|
103796
103831
|
versionInfo: {
|
|
103797
|
-
currentVersion: "0.22.
|
|
103832
|
+
currentVersion: "0.22.20"
|
|
103798
103833
|
}
|
|
103799
103834
|
});
|
|
103800
103835
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -103802,5 +103837,5 @@ export {
|
|
|
103802
103837
|
app
|
|
103803
103838
|
};
|
|
103804
103839
|
|
|
103805
|
-
//# debugId=
|
|
103840
|
+
//# debugId=3B533D0DB06AA2C364756E2164756E21
|
|
103806
103841
|
//# sourceMappingURL=mcp-server.js.map
|