@softeria/ms-365-mcp-server 0.43.0 → 0.43.2

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.
@@ -28,10 +28,7 @@ export function generateMcpTools(openApiSpec, outputDir) {
28
28
  let clientCode = fs.readFileSync(clientFilePath, 'utf-8');
29
29
  clientCode = clientCode.replace(/'@zodios\/core';/, "'./hack.js';");
30
30
 
31
- clientCode = clientCode.replace(
32
- /const microsoft_graph_attachment = z\s+\.object\({[\s\S]*?}\)\s+\.strict\(\);/,
33
- (match) => match.replace(/\.strict\(\);/, '.passthrough();')
34
- );
31
+ clientCode = clientCode.replace(/\.strict\(\)/g, '.passthrough()');
35
32
 
36
33
  console.log('Stripping unused errors arrays from endpoint definitions...');
37
34
  // I didn't make up this crazy regex myself; you know who did. It seems works though.
@@ -255,6 +255,22 @@ function reduceProperties(schema, schemaName) {
255
255
  'enabled',
256
256
  'singleValueExtendedProperties',
257
257
  'multiValueExtendedProperties',
258
+ 'start',
259
+ 'end',
260
+ 'location',
261
+ 'showAs',
262
+ 'sensitivity',
263
+ 'isAllDay',
264
+ 'importance',
265
+ 'isOnlineMeeting',
266
+ 'isReminderOn',
267
+ 'attendees',
268
+ 'recurrence',
269
+ 'reminderMinutesBeforeStart',
270
+ 'allowNewTimeProposals',
271
+ 'responseRequested',
272
+ 'from',
273
+ 'toRecipients',
258
274
  ];
259
275
 
260
276
  const keptProperties = {};