@moovio/sdk 0.22.18 → 0.22.19
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 +40 -5
- package/bin/mcp-server.js.map +8 -8
- 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 +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.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 +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/errors/listinvoicesvalidationerror.ts +30 -0
- package/src/models/operations/listinvoices.ts +24 -0
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.
|
|
52416
|
+
sdkVersion: "0.22.19",
|
|
52417
52417
|
genVersion: "2.797.1",
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 0.22.19 2.797.1 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({
|
|
@@ -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 });
|
|
@@ -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.19"
|
|
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.19"
|
|
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=47FEE53A9EF2971264756E2164756E21
|
|
103806
103841
|
//# sourceMappingURL=mcp-server.js.map
|