@softeria/ms-365-mcp-server 0.23.0 → 0.24.0
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.
|
@@ -27,6 +27,12 @@ export function generateMcpTools(openApiSpec, outputDir) {
|
|
|
27
27
|
|
|
28
28
|
let clientCode = fs.readFileSync(clientFilePath, 'utf-8');
|
|
29
29
|
clientCode = clientCode.replace(/'@zodios\/core';/, "'./hack.js';");
|
|
30
|
+
|
|
31
|
+
clientCode = clientCode.replace(
|
|
32
|
+
/const microsoft_graph_attachment = z\s+\.object\({[\s\S]*?}\)\s+\.strict\(\);/,
|
|
33
|
+
(match) => match.replace(/\.strict\(\);/, '.passthrough();')
|
|
34
|
+
);
|
|
35
|
+
|
|
30
36
|
fs.writeFileSync(clientFilePath, clientCode);
|
|
31
37
|
|
|
32
38
|
return true;
|
package/dist/generated/client.js
CHANGED
|
@@ -1198,7 +1198,7 @@ const microsoft_graph_attachment = z.object({
|
|
|
1198
1198
|
).nullish(),
|
|
1199
1199
|
name: z.string().describe("The attachment's file name.").nullish(),
|
|
1200
1200
|
size: z.number().gte(-2147483648).lte(2147483647).describe("The length of the attachment in bytes.").optional()
|
|
1201
|
-
}).
|
|
1201
|
+
}).passthrough();
|
|
1202
1202
|
const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
|
|
1203
1203
|
const microsoft_graph_dateTimeTimeZone = z.object({
|
|
1204
1204
|
dateTime: z.string().describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@softeria/ms-365-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": " A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Office services through the Graph API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|