@softeria/ms-365-mcp-server 0.20.0 → 0.20.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.
@@ -272,7 +272,11 @@ const microsoft_graph_chatMessagePolicyViolation = z.object({
272
272
  userAction: microsoft_graph_chatMessagePolicyViolationUserActionTypes.optional(),
273
273
  verdictDetails: microsoft_graph_chatMessagePolicyViolationVerdictDetailsTypes.optional()
274
274
  }).strict();
275
- const microsoft_graph_chatMessageHostedContent = z.object({}).strict();
275
+ const microsoft_graph_chatMessageHostedContent = z.object({
276
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
277
+ contentBytes: z.string().describe("Write only. Bytes for the hosted content (such as images).").nullish(),
278
+ contentType: z.string().describe("Write only. Content type. such as image/png, image/jpg.").nullish()
279
+ }).strict();
276
280
  const microsoft_graph_chatMessage = z.lazy(
277
281
  () => z.object({
278
282
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
@@ -870,17 +874,39 @@ const microsoft_graph_workbookPivotTable = z.lazy(
870
874
  }).strict()
871
875
  );
872
876
  const microsoft_graph_workbookWorksheetProtectionOptions = z.object({
873
- allowAutoFilter: z.boolean().describe("Represents the worksheet protection option of allowing using auto filter feature.").optional(),
874
- allowDeleteColumns: z.boolean().describe("Represents the worksheet protection option of allowing deleting columns.").optional(),
875
- allowDeleteRows: z.boolean().describe("Represents the worksheet protection option of allowing deleting rows.").optional(),
876
- allowFormatCells: z.boolean().describe("Represents the worksheet protection option of allowing formatting cells.").optional(),
877
- allowFormatColumns: z.boolean().describe("Represents the worksheet protection option of allowing formatting columns.").optional(),
878
- allowFormatRows: z.boolean().describe("Represents the worksheet protection option of allowing formatting rows.").optional(),
879
- allowInsertColumns: z.boolean().describe("Represents the worksheet protection option of allowing inserting columns.").optional(),
880
- allowInsertHyperlinks: z.boolean().describe("Represents the worksheet protection option of allowing inserting hyperlinks.").optional(),
881
- allowInsertRows: z.boolean().describe("Represents the worksheet protection option of allowing inserting rows.").optional(),
882
- allowPivotTables: z.boolean().describe("Represents the worksheet protection option of allowing using pivot table feature.").optional(),
883
- allowSort: z.boolean().describe("Represents the worksheet protection option of allowing using sort feature.").optional()
877
+ allowAutoFilter: z.boolean().describe(
878
+ "Indicates whether the worksheet protection option to allow the use of the autofilter feature is enabled."
879
+ ).optional(),
880
+ allowDeleteColumns: z.boolean().describe(
881
+ "Indicates whether the worksheet protection option to allow deleting columns is enabled."
882
+ ).optional(),
883
+ allowDeleteRows: z.boolean().describe(
884
+ "Indicates whether the worksheet protection option to allow deleting rows is enabled."
885
+ ).optional(),
886
+ allowFormatCells: z.boolean().describe(
887
+ "Indicates whether the worksheet protection option to allow formatting cells is enabled."
888
+ ).optional(),
889
+ allowFormatColumns: z.boolean().describe(
890
+ "Indicates whether the worksheet protection option to allow formatting columns is enabled."
891
+ ).optional(),
892
+ allowFormatRows: z.boolean().describe(
893
+ "Indicates whether the worksheet protection option to allow formatting rows is enabled."
894
+ ).optional(),
895
+ allowInsertColumns: z.boolean().describe(
896
+ "Indicates whether the worksheet protection option to allow inserting columns is enabled."
897
+ ).optional(),
898
+ allowInsertHyperlinks: z.boolean().describe(
899
+ "Indicates whether the worksheet protection option to allow inserting hyperlinks is enabled."
900
+ ).optional(),
901
+ allowInsertRows: z.boolean().describe(
902
+ "Indicates whether the worksheet protection option to allow inserting rows is enabled."
903
+ ).optional(),
904
+ allowPivotTables: z.boolean().describe(
905
+ "Indicates whether the worksheet protection option to allow the use of the pivot table feature is enabled."
906
+ ).optional(),
907
+ allowSort: z.boolean().describe(
908
+ "Indicates whether the worksheet protection option to allow the use of the sort feature is enabled."
909
+ ).optional()
884
910
  }).strict();
885
911
  const microsoft_graph_workbookWorksheetProtection = z.object({
886
912
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
@@ -1173,6 +1199,7 @@ const microsoft_graph_attachment = z.object({
1173
1199
  name: z.string().describe("The attachment's file name.").nullish(),
1174
1200
  size: z.number().gte(-2147483648).lte(2147483647).describe("The length of the attachment in bytes.").optional()
1175
1201
  }).strict();
1202
+ const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
1176
1203
  const microsoft_graph_dateTimeTimeZone = z.object({
1177
1204
  dateTime: z.string().describe(
1178
1205
  "A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000)."
@@ -1202,6 +1229,8 @@ const microsoft_graph_responseStatus = z.object({
1202
1229
  ).nullish()
1203
1230
  }).strict();
1204
1231
  const microsoft_graph_attendee = z.object({
1232
+ emailAddress: microsoft_graph_emailAddress.optional(),
1233
+ type: microsoft_graph_attendeeType.optional(),
1205
1234
  proposedNewTime: microsoft_graph_timeSlot.optional(),
1206
1235
  status: microsoft_graph_responseStatus.optional()
1207
1236
  }).strict();
@@ -1253,42 +1282,28 @@ const microsoft_graph_location = z.object({
1253
1282
  uniqueId: z.string().describe("For internal use only.").nullish(),
1254
1283
  uniqueIdType: microsoft_graph_locationUniqueIdType.optional()
1255
1284
  }).strict();
1256
- const microsoft_graph_phoneType = z.enum([
1257
- "home",
1258
- "business",
1259
- "mobile",
1260
- "other",
1261
- "assistant",
1262
- "homeFax",
1263
- "businessFax",
1264
- "otherFax",
1265
- "pager",
1266
- "radio"
1267
- ]);
1268
- const microsoft_graph_phone = z.object({
1269
- language: z.string().nullish(),
1270
- number: z.string().describe("The phone number.").nullish(),
1271
- region: z.string().nullish(),
1272
- type: microsoft_graph_phoneType.optional()
1273
- }).strict();
1274
- const microsoft_graph_onlineMeetingInfo = z.object({
1275
- conferenceId: z.string().describe("The ID of the conference.").nullish(),
1276
- joinUrl: z.string().describe(
1277
- "The external link that launches the online meeting. This is a URL that clients launch into a browser and will redirect the user to join the meeting."
1278
- ).nullish(),
1279
- phones: z.array(microsoft_graph_phone).describe("All of the phone numbers associated with this conference.").optional(),
1280
- quickDial: z.string().describe("The preformatted quick dial for this call.").nullish(),
1281
- tollFreeNumbers: z.array(z.string().nullable()).describe("The toll free numbers that can be used to join the conference.").optional(),
1282
- tollNumber: z.string().describe("The toll number that can be used to join the conference.").nullish()
1283
- }).strict();
1284
- const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).strict();
1285
1285
  const microsoft_graph_event = z.object({
1286
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1287
+ createdDateTime: z.string().regex(
1288
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1289
+ ).datetime({ offset: true }).describe(
1290
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1291
+ ).nullish(),
1292
+ lastModifiedDateTime: z.string().regex(
1293
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1294
+ ).datetime({ offset: true }).describe(
1295
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1296
+ ).nullish(),
1286
1297
  type: microsoft_graph_eventType.optional(),
1287
1298
  body: microsoft_graph_itemBody.optional(),
1288
1299
  subject: z.string().describe("The text of the event's subject line.").nullish(),
1289
1300
  attachments: z.array(microsoft_graph_attachment).describe(
1290
1301
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
1291
1302
  ).optional(),
1303
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
1304
+ changeKey: z.string().describe(
1305
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
1306
+ ).nullish(),
1292
1307
  allowNewTimeProposals: z.boolean().describe(
1293
1308
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
1294
1309
  ).nullish(),
@@ -1320,16 +1335,7 @@ const microsoft_graph_event = z.object({
1320
1335
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
1321
1336
  ).nullish(),
1322
1337
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
1323
- location: microsoft_graph_location.optional(),
1324
- locations: z.array(microsoft_graph_location).describe(
1325
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
1326
- ).optional(),
1327
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
1328
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
1329
- onlineMeetingUrl: z.string().describe(
1330
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
1331
- ).nullish(),
1332
- organizer: microsoft_graph_recipient.optional()
1338
+ location: microsoft_graph_location.optional()
1333
1339
  }).strict().passthrough();
1334
1340
  const microsoft_graph_multiValueLegacyExtendedProperty = z.object({
1335
1341
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
@@ -1396,10 +1402,25 @@ const microsoft_graph_chatCollectionResponse = z.object({
1396
1402
  value: z.array(microsoft_graph_chat)
1397
1403
  }).partial().strict();
1398
1404
  const microsoft_graph_contact = z.object({
1405
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1399
1406
  displayName: z.string().describe(
1400
1407
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
1401
1408
  ).nullish(),
1409
+ createdDateTime: z.string().regex(
1410
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1411
+ ).datetime({ offset: true }).describe(
1412
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1413
+ ).nullish(),
1414
+ lastModifiedDateTime: z.string().regex(
1415
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1416
+ ).datetime({ offset: true }).describe(
1417
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1418
+ ).nullish(),
1402
1419
  title: z.string().describe("The contact's title.").nullish(),
1420
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
1421
+ changeKey: z.string().describe(
1422
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
1423
+ ).nullish(),
1403
1424
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
1404
1425
  birthday: z.string().regex(
1405
1426
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -1421,12 +1442,7 @@ const microsoft_graph_contact = z.object({
1421
1442
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
1422
1443
  initials: z.string().describe("The contact's initials.").nullish(),
1423
1444
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
1424
- manager: z.string().describe("The name of the contact's manager.").nullish(),
1425
- middleName: z.string().describe("The contact's middle name.").nullish(),
1426
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
1427
- nickName: z.string().describe("The contact's nickname.").nullish(),
1428
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
1429
- otherAddress: microsoft_graph_physicalAddress.optional()
1445
+ manager: z.string().describe("The name of the contact's manager.").nullish()
1430
1446
  }).strict().passthrough();
1431
1447
  const microsoft_graph_contactCollectionResponse = z.object({
1432
1448
  "@odata.count": z.number().int().nullable(),
@@ -1682,12 +1698,29 @@ const microsoft_graph_itemAnalytics = z.object({
1682
1698
  itemActivityStats: z.array(microsoft_graph_itemActivityStat).optional(),
1683
1699
  lastSevenDays: microsoft_graph_itemActivityStat.optional()
1684
1700
  }).strict();
1701
+ const microsoft_graph_publicationFacet = z.object({
1702
+ checkedOutBy: microsoft_graph_identitySet.optional(),
1703
+ level: z.string().describe(
1704
+ "The state of publication for this document. Either published or checkout. Read-only."
1705
+ ).nullish(),
1706
+ versionId: z.string().describe(
1707
+ "The unique identifier for the version that is visible to the current caller. Read-only."
1708
+ ).nullish()
1709
+ }).strict();
1710
+ const microsoft_graph_fieldValueSet = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).strict();
1685
1711
  const microsoft_graph_documentSetVersionItem = z.object({
1686
1712
  itemId: z.string().describe("The unique identifier for the item.").nullish(),
1687
1713
  title: z.string().describe("The title of the item.").nullish(),
1688
1714
  versionId: z.string().describe("The version ID of the item.").nullish()
1689
1715
  }).strict();
1690
1716
  const microsoft_graph_documentSetVersion = z.object({
1717
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1718
+ lastModifiedBy: microsoft_graph_identitySet.optional(),
1719
+ lastModifiedDateTime: z.string().regex(
1720
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1721
+ ).datetime({ offset: true }).describe("Date and time the version was last modified. Read-only.").nullish(),
1722
+ publication: microsoft_graph_publicationFacet.optional(),
1723
+ fields: microsoft_graph_fieldValueSet.optional(),
1691
1724
  comment: z.string().describe("Comment about the captured version.").nullish(),
1692
1725
  createdBy: microsoft_graph_identitySet.optional(),
1693
1726
  createdDateTime: z.string().regex(
@@ -1698,16 +1731,6 @@ const microsoft_graph_documentSetVersion = z.object({
1698
1731
  "If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false."
1699
1732
  ).nullish()
1700
1733
  }).strict();
1701
- const microsoft_graph_fieldValueSet = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).strict();
1702
- const microsoft_graph_publicationFacet = z.object({
1703
- checkedOutBy: microsoft_graph_identitySet.optional(),
1704
- level: z.string().describe(
1705
- "The state of publication for this document. Either published or checkout. Read-only."
1706
- ).nullish(),
1707
- versionId: z.string().describe(
1708
- "The unique identifier for the version that is visible to the current caller. Read-only."
1709
- ).nullish()
1710
- }).strict();
1711
1734
  const microsoft_graph_listItemVersion = z.object({
1712
1735
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1713
1736
  lastModifiedBy: microsoft_graph_identitySet.optional(),
@@ -1969,39 +1992,49 @@ const microsoft_graph_channelSummary = z.object({
1969
1992
  membersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of members in a channel.").nullish(),
1970
1993
  ownersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of owners in a channel.").nullish()
1971
1994
  }).strict();
1972
- const microsoft_graph_sharedWithChannelTeamInfo = z.object({
1973
- isHostTeam: z.boolean().describe("Indicates whether the team is the host of the channel.").nullish(),
1974
- allowedMembers: z.array(microsoft_graph_conversationMember).describe("A collection of team members who have access to the shared channel.").optional()
1975
- }).strict();
1976
- const microsoft_graph_channel = z.object({
1977
- id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1978
- createdDateTime: z.string().regex(
1979
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
1980
- ).datetime({ offset: true }).describe("Read only. Timestamp at which the channel was created.").nullish(),
1981
- description: z.string().describe("Optional textual description for the channel.").nullish(),
1982
- displayName: z.string().describe(
1983
- "Channel name as it will appear to the user in Microsoft Teams. The maximum length is 50 characters."
1984
- ).optional(),
1985
- email: z.string().describe("The email address for sending messages to the channel. Read-only.").nullish(),
1986
- isArchived: z.boolean().describe("Indicates whether the channel is archived. Read-only.").nullish(),
1987
- isFavoriteByDefault: z.boolean().describe(
1988
- "Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false."
1989
- ).nullish(),
1990
- membershipType: microsoft_graph_channelMembershipType.optional(),
1991
- summary: microsoft_graph_channelSummary.optional(),
1992
- tenantId: z.string().describe("The ID of the Microsoft Entra tenant.").nullish(),
1993
- webUrl: z.string().describe(
1994
- "A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only."
1995
- ).nullish(),
1996
- allMembers: z.array(microsoft_graph_conversationMember).describe(
1997
- "A collection of membership records associated with the channel, including both direct and indirect members of shared channels."
1998
- ).optional(),
1999
- filesFolder: microsoft_graph_driveItem.describe("[Note: Simplified from 45 properties to 25 most common ones]").optional(),
2000
- members: z.array(microsoft_graph_conversationMember).describe("A collection of membership records associated with the channel.").optional(),
2001
- messages: z.array(microsoft_graph_chatMessage).describe("A collection of all the messages in the channel. A navigation property. Nullable.").optional(),
2002
- sharedWithTeams: z.array(microsoft_graph_sharedWithChannelTeamInfo).describe("A collection of teams with which a channel is shared.").optional(),
2003
- tabs: z.array(microsoft_graph_teamsTab).describe("A collection of all the tabs in the channel. A navigation property.").optional()
2004
- }).strict();
1995
+ const microsoft_graph_sharedWithChannelTeamInfo = z.lazy(
1996
+ () => z.object({
1997
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1998
+ displayName: z.string().describe("The name of the team.").nullish(),
1999
+ tenantId: z.string().describe("The ID of the Microsoft Entra tenant.").nullish(),
2000
+ team: microsoft_graph_team.describe("[Note: Simplified from 30 properties to 25 most common ones]").optional(),
2001
+ isHostTeam: z.boolean().describe("Indicates whether the team is the host of the channel.").nullish(),
2002
+ allowedMembers: z.array(microsoft_graph_conversationMember).describe("A collection of team members who have access to the shared channel.").optional()
2003
+ }).strict()
2004
+ );
2005
+ const microsoft_graph_channel = z.lazy(
2006
+ () => z.object({
2007
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2008
+ createdDateTime: z.string().regex(
2009
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2010
+ ).datetime({ offset: true }).describe("Read only. Timestamp at which the channel was created.").nullish(),
2011
+ description: z.string().describe("Optional textual description for the channel.").nullish(),
2012
+ displayName: z.string().describe(
2013
+ "Channel name as it will appear to the user in Microsoft Teams. The maximum length is 50 characters."
2014
+ ).optional(),
2015
+ email: z.string().describe("The email address for sending messages to the channel. Read-only.").nullish(),
2016
+ isArchived: z.boolean().describe("Indicates whether the channel is archived. Read-only.").nullish(),
2017
+ isFavoriteByDefault: z.boolean().describe(
2018
+ "Indicates whether the channel should be marked as recommended for all members of the team to show in their channel list. Note: All recommended channels automatically show in the channels list for education and frontline worker users. The property can only be set programmatically via the Create team method. The default value is false."
2019
+ ).nullish(),
2020
+ membershipType: microsoft_graph_channelMembershipType.optional(),
2021
+ summary: microsoft_graph_channelSummary.optional(),
2022
+ tenantId: z.string().describe("The ID of the Microsoft Entra tenant.").nullish(),
2023
+ webUrl: z.string().describe(
2024
+ "A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only."
2025
+ ).nullish(),
2026
+ allMembers: z.array(microsoft_graph_conversationMember).describe(
2027
+ "A collection of membership records associated with the channel, including both direct and indirect members of shared channels."
2028
+ ).optional(),
2029
+ filesFolder: microsoft_graph_driveItem.describe("[Note: Simplified from 45 properties to 25 most common ones]").optional(),
2030
+ members: z.array(microsoft_graph_conversationMember).describe("A collection of membership records associated with the channel.").optional(),
2031
+ messages: z.array(microsoft_graph_chatMessage).describe(
2032
+ "A collection of all the messages in the channel. A navigation property. Nullable."
2033
+ ).optional(),
2034
+ sharedWithTeams: z.array(microsoft_graph_sharedWithChannelTeamInfo).describe("A collection of teams with which a channel is shared.").optional(),
2035
+ tabs: z.array(microsoft_graph_teamsTab).describe("A collection of all the tabs in the channel. A navigation property.").optional()
2036
+ }).strict()
2037
+ );
2005
2038
  const microsoft_graph_assignedLabel = z.object({
2006
2039
  displayName: z.string().describe("The display name of the label. Read-only.").nullish(),
2007
2040
  labelId: z.string().describe("The unique identifier of the label.").nullish()
@@ -2131,48 +2164,51 @@ const microsoft_graph_teamsAsyncOperation = z.object({
2131
2164
  "The location of the object that's created or modified as result of this async operation. This URL should be treated as an opaque value and not parsed into its component paths."
2132
2165
  ).nullish()
2133
2166
  }).strict();
2134
- const microsoft_graph_team = z.object({
2135
- id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2136
- displayName: z.string().describe("The name of the team.").nullish(),
2137
- description: z.string().describe("An optional description for the team. Maximum length: 1,024 characters.").nullish(),
2138
- createdDateTime: z.string().regex(
2139
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2140
- ).datetime({ offset: true }).describe("Timestamp at which the team was created.").nullish(),
2141
- classification: z.string().describe(
2142
- "An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory."
2143
- ).nullish(),
2144
- firstChannelName: z.string().describe(
2145
- "The name of the first channel in the team. This is an optional property, only used during team creation and isn't returned in methods to get and list teams."
2146
- ).nullish(),
2147
- funSettings: microsoft_graph_teamFunSettings.optional(),
2148
- guestSettings: microsoft_graph_teamGuestSettings.optional(),
2149
- internalId: z.string().describe(
2150
- "A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API."
2151
- ).nullish(),
2152
- isArchived: z.boolean().describe("Whether this team is in read-only mode.").nullish(),
2153
- memberSettings: microsoft_graph_teamMemberSettings.optional(),
2154
- messagingSettings: microsoft_graph_teamMessagingSettings.optional(),
2155
- specialization: microsoft_graph_teamSpecialization.optional(),
2156
- summary: microsoft_graph_teamSummary.optional(),
2157
- tenantId: z.string().describe("The ID of the Microsoft Entra tenant.").nullish(),
2158
- visibility: microsoft_graph_teamVisibilityType.optional(),
2159
- webUrl: z.string().describe(
2160
- "A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed."
2161
- ).nullish(),
2162
- allChannels: z.array(microsoft_graph_channel).describe("List of channels either hosted in or shared with the team (incoming channels).").optional(),
2163
- channels: z.array(microsoft_graph_channel).describe("The collection of channels and messages associated with the team.").optional(),
2164
- group: microsoft_graph_group.describe("[Note: Simplified from 70 properties to 25 most common ones]").optional(),
2165
- incomingChannels: z.array(microsoft_graph_channel).describe("List of channels shared with the team.").optional(),
2166
- installedApps: z.array(microsoft_graph_teamsAppInstallation).describe("The apps installed in this team.").optional(),
2167
- members: z.array(microsoft_graph_conversationMember).describe("Members and owners of the team.").optional(),
2168
- operations: z.array(microsoft_graph_teamsAsyncOperation).describe("The async operations that ran or are running on this team.").optional(),
2169
- permissionGrants: z.array(microsoft_graph_resourceSpecificPermissionGrant).describe("A collection of permissions granted to apps to access the team.").optional()
2170
- }).strict().passthrough();
2167
+ const microsoft_graph_team = z.lazy(
2168
+ () => z.object({
2169
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2170
+ displayName: z.string().describe("The name of the team.").nullish(),
2171
+ description: z.string().describe("An optional description for the team. Maximum length: 1,024 characters.").nullish(),
2172
+ createdDateTime: z.string().regex(
2173
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2174
+ ).datetime({ offset: true }).describe("Timestamp at which the team was created.").nullish(),
2175
+ classification: z.string().describe(
2176
+ "An optional label. Typically describes the data or business sensitivity of the team. Must match one of a preconfigured set in the tenant's directory."
2177
+ ).nullish(),
2178
+ firstChannelName: z.string().describe(
2179
+ "The name of the first channel in the team. This is an optional property, only used during team creation and isn't returned in methods to get and list teams."
2180
+ ).nullish(),
2181
+ funSettings: microsoft_graph_teamFunSettings.optional(),
2182
+ guestSettings: microsoft_graph_teamGuestSettings.optional(),
2183
+ internalId: z.string().describe(
2184
+ "A unique ID for the team that was used in a few places such as the audit log/Office 365 Management Activity API."
2185
+ ).nullish(),
2186
+ isArchived: z.boolean().describe("Whether this team is in read-only mode.").nullish(),
2187
+ memberSettings: microsoft_graph_teamMemberSettings.optional(),
2188
+ messagingSettings: microsoft_graph_teamMessagingSettings.optional(),
2189
+ specialization: microsoft_graph_teamSpecialization.optional(),
2190
+ summary: microsoft_graph_teamSummary.optional(),
2191
+ tenantId: z.string().describe("The ID of the Microsoft Entra tenant.").nullish(),
2192
+ visibility: microsoft_graph_teamVisibilityType.optional(),
2193
+ webUrl: z.string().describe(
2194
+ "A hyperlink that goes to the team in the Microsoft Teams client. You get this URL when you right-click a team in the Microsoft Teams client and select Get link to team. This URL should be treated as an opaque blob, and not parsed."
2195
+ ).nullish(),
2196
+ allChannels: z.array(microsoft_graph_channel).describe("List of channels either hosted in or shared with the team (incoming channels).").optional(),
2197
+ channels: z.array(microsoft_graph_channel).describe("The collection of channels and messages associated with the team.").optional(),
2198
+ group: microsoft_graph_group.describe("[Note: Simplified from 70 properties to 25 most common ones]").optional(),
2199
+ incomingChannels: z.array(microsoft_graph_channel).describe("List of channels shared with the team.").optional(),
2200
+ installedApps: z.array(microsoft_graph_teamsAppInstallation).describe("The apps installed in this team.").optional(),
2201
+ members: z.array(microsoft_graph_conversationMember).describe("Members and owners of the team.").optional(),
2202
+ operations: z.array(microsoft_graph_teamsAsyncOperation).describe("The async operations that ran or are running on this team.").optional(),
2203
+ permissionGrants: z.array(microsoft_graph_resourceSpecificPermissionGrant).describe("A collection of permissions granted to apps to access the team.").optional()
2204
+ }).strict().passthrough()
2205
+ );
2171
2206
  const microsoft_graph_teamCollectionResponse = z.object({
2172
2207
  "@odata.count": z.number().int().nullable(),
2173
2208
  "@odata.nextLink": z.string().nullable(),
2174
2209
  value: z.array(microsoft_graph_team)
2175
2210
  }).partial().strict();
2211
+ const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).strict();
2176
2212
  const microsoft_graph_messageRuleActions = z.object({
2177
2213
  assignCategories: z.array(z.string().nullable()).describe("A list of categories to be assigned to a message.").optional(),
2178
2214
  copyToFolder: z.string().describe("The ID of a folder that a message is to be copied to.").nullish(),
@@ -2301,9 +2337,24 @@ const microsoft_graph_internetMessageHeader = z.object({
2301
2337
  value: z.string().describe("The value in a key-value pair.").nullish()
2302
2338
  }).strict();
2303
2339
  const microsoft_graph_message = z.object({
2340
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2341
+ createdDateTime: z.string().regex(
2342
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2343
+ ).datetime({ offset: true }).describe(
2344
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
2345
+ ).nullish(),
2346
+ lastModifiedDateTime: z.string().regex(
2347
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2348
+ ).datetime({ offset: true }).describe(
2349
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
2350
+ ).nullish(),
2304
2351
  body: microsoft_graph_itemBody.optional(),
2305
2352
  subject: z.string().describe("The subject of the message.").nullish(),
2306
2353
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
2354
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
2355
+ changeKey: z.string().describe(
2356
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
2357
+ ).nullish(),
2307
2358
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
2308
2359
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
2309
2360
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -2326,20 +2377,7 @@ const microsoft_graph_message = z.object({
2326
2377
  ).nullish(),
2327
2378
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
2328
2379
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
2329
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
2330
- receivedDateTime: z.string().regex(
2331
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2332
- ).datetime({ offset: true }).describe(
2333
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
2334
- ).nullish(),
2335
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
2336
- sender: microsoft_graph_recipient.optional(),
2337
- sentDateTime: z.string().regex(
2338
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2339
- ).datetime({ offset: true }).describe(
2340
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
2341
- ).nullish(),
2342
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
2380
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
2343
2381
  }).strict().passthrough();
2344
2382
  const microsoft_graph_mailFolder = z.lazy(
2345
2383
  () => z.object({
@@ -2380,7 +2418,7 @@ const microsoft_graph_attachmentCollectionResponse = z.object({
2380
2418
  }).partial().strict();
2381
2419
  const send_mail_Body = z.object({
2382
2420
  Message: microsoft_graph_message.describe(
2383
- "[Note: Simplified from 30 properties to 25 most common ones]"
2421
+ "[Note: Simplified from 35 properties to 25 most common ones]"
2384
2422
  ),
2385
2423
  SaveToSentItems: z.boolean().nullable().default(false)
2386
2424
  }).partial().strict();
@@ -2426,6 +2464,13 @@ const microsoft_graph_onenotePage = z.lazy(
2426
2464
  );
2427
2465
  const microsoft_graph_onenoteSection = z.lazy(
2428
2466
  () => z.object({
2467
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2468
+ self: z.string().describe("The endpoint where you can get details about the page. Read-only.").nullish(),
2469
+ createdDateTime: z.string().regex(
2470
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2471
+ ).datetime({ offset: true }).describe(
2472
+ "The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only."
2473
+ ).nullish(),
2429
2474
  createdBy: microsoft_graph_identitySet.optional(),
2430
2475
  displayName: z.string().describe("The name of the notebook.").nullish(),
2431
2476
  lastModifiedBy: microsoft_graph_identitySet.optional(),
@@ -2446,6 +2491,13 @@ const microsoft_graph_onenoteSection = z.lazy(
2446
2491
  );
2447
2492
  const microsoft_graph_sectionGroup = z.lazy(
2448
2493
  () => z.object({
2494
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2495
+ self: z.string().describe("The endpoint where you can get details about the page. Read-only.").nullish(),
2496
+ createdDateTime: z.string().regex(
2497
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2498
+ ).datetime({ offset: true }).describe(
2499
+ "The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only."
2500
+ ).nullish(),
2449
2501
  createdBy: microsoft_graph_identitySet.optional(),
2450
2502
  displayName: z.string().describe("The name of the notebook.").nullish(),
2451
2503
  lastModifiedBy: microsoft_graph_identitySet.optional(),
@@ -2468,6 +2520,21 @@ const microsoft_graph_sectionGroup = z.lazy(
2468
2520
  );
2469
2521
  const microsoft_graph_notebook = z.lazy(
2470
2522
  () => z.object({
2523
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
2524
+ self: z.string().describe("The endpoint where you can get details about the page. Read-only.").nullish(),
2525
+ createdDateTime: z.string().regex(
2526
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2527
+ ).datetime({ offset: true }).describe(
2528
+ "The date and time when the page was created. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only."
2529
+ ).nullish(),
2530
+ createdBy: microsoft_graph_identitySet.optional(),
2531
+ displayName: z.string().describe("The name of the notebook.").nullish(),
2532
+ lastModifiedBy: microsoft_graph_identitySet.optional(),
2533
+ lastModifiedDateTime: z.string().regex(
2534
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
2535
+ ).datetime({ offset: true }).describe(
2536
+ "The date and time when the notebook was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only."
2537
+ ).nullish(),
2471
2538
  isDefault: z.boolean().describe("Indicates whether this is the user's default notebook. Read-only.").nullish(),
2472
2539
  isShared: z.boolean().describe(
2473
2540
  "Indicates whether the notebook is shared. If true, the contents of the notebook can be seen by people other than the owner. Read-only."
@@ -3254,6 +3321,7 @@ const schemas = {
3254
3321
  microsoft_graph_calendarPermission,
3255
3322
  microsoft_graph_eventType,
3256
3323
  microsoft_graph_attachment,
3324
+ microsoft_graph_attendeeType,
3257
3325
  microsoft_graph_dateTimeTimeZone,
3258
3326
  microsoft_graph_timeSlot,
3259
3327
  microsoft_graph_responseType,
@@ -3265,10 +3333,6 @@ const schemas = {
3265
3333
  microsoft_graph_locationType,
3266
3334
  microsoft_graph_locationUniqueIdType,
3267
3335
  microsoft_graph_location,
3268
- microsoft_graph_phoneType,
3269
- microsoft_graph_phone,
3270
- microsoft_graph_onlineMeetingInfo,
3271
- microsoft_graph_recipient,
3272
3336
  microsoft_graph_event,
3273
3337
  microsoft_graph_multiValueLegacyExtendedProperty,
3274
3338
  microsoft_graph_singleValueLegacyExtendedProperty,
@@ -3308,10 +3372,10 @@ const schemas = {
3308
3372
  microsoft_graph_itemActivity,
3309
3373
  microsoft_graph_itemActivityStat,
3310
3374
  microsoft_graph_itemAnalytics,
3375
+ microsoft_graph_publicationFacet,
3376
+ microsoft_graph_fieldValueSet,
3311
3377
  microsoft_graph_documentSetVersionItem,
3312
3378
  microsoft_graph_documentSetVersion,
3313
- microsoft_graph_fieldValueSet,
3314
- microsoft_graph_publicationFacet,
3315
3379
  microsoft_graph_listItemVersion,
3316
3380
  microsoft_graph_listItem,
3317
3381
  microsoft_graph_longRunningOperationStatus,
@@ -3344,6 +3408,7 @@ const schemas = {
3344
3408
  microsoft_graph_teamsAsyncOperation,
3345
3409
  microsoft_graph_team,
3346
3410
  microsoft_graph_teamCollectionResponse,
3411
+ microsoft_graph_recipient,
3347
3412
  microsoft_graph_messageRuleActions,
3348
3413
  microsoft_graph_messageActionFlag,
3349
3414
  microsoft_graph_sensitivity,
@@ -4452,12 +4517,27 @@ const endpoints = makeApi([
4452
4517
  description: `New navigation property`,
4453
4518
  type: "Body",
4454
4519
  schema: z.object({
4520
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
4521
+ createdDateTime: z.string().regex(
4522
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4523
+ ).datetime({ offset: true }).describe(
4524
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4525
+ ).nullish(),
4526
+ lastModifiedDateTime: z.string().regex(
4527
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4528
+ ).datetime({ offset: true }).describe(
4529
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4530
+ ).nullish(),
4455
4531
  type: microsoft_graph_eventType.optional(),
4456
4532
  body: microsoft_graph_itemBody.optional(),
4457
4533
  subject: z.string().describe("The text of the event's subject line.").nullish(),
4458
4534
  attachments: z.array(microsoft_graph_attachment).describe(
4459
4535
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
4460
4536
  ).optional(),
4537
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
4538
+ changeKey: z.string().describe(
4539
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
4540
+ ).nullish(),
4461
4541
  allowNewTimeProposals: z.boolean().describe(
4462
4542
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
4463
4543
  ).nullish(),
@@ -4491,16 +4571,7 @@ const endpoints = makeApi([
4491
4571
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
4492
4572
  ).nullish(),
4493
4573
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
4494
- location: microsoft_graph_location.optional(),
4495
- locations: z.array(microsoft_graph_location).describe(
4496
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
4497
- ).optional(),
4498
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
4499
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
4500
- onlineMeetingUrl: z.string().describe(
4501
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
4502
- ).nullish(),
4503
- organizer: microsoft_graph_recipient.optional()
4574
+ location: microsoft_graph_location.optional()
4504
4575
  }).strict().passthrough()
4505
4576
  }
4506
4577
  ],
@@ -4510,12 +4581,27 @@ const endpoints = makeApi([
4510
4581
  status: NaN,
4511
4582
  description: `Created navigation property.`,
4512
4583
  schema: z.object({
4584
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
4585
+ createdDateTime: z.string().regex(
4586
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4587
+ ).datetime({ offset: true }).describe(
4588
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4589
+ ).nullish(),
4590
+ lastModifiedDateTime: z.string().regex(
4591
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4592
+ ).datetime({ offset: true }).describe(
4593
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4594
+ ).nullish(),
4513
4595
  type: microsoft_graph_eventType.optional(),
4514
4596
  body: microsoft_graph_itemBody.optional(),
4515
4597
  subject: z.string().describe("The text of the event's subject line.").nullish(),
4516
4598
  attachments: z.array(microsoft_graph_attachment).describe(
4517
4599
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
4518
4600
  ).optional(),
4601
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
4602
+ changeKey: z.string().describe(
4603
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
4604
+ ).nullish(),
4519
4605
  allowNewTimeProposals: z.boolean().describe(
4520
4606
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
4521
4607
  ).nullish(),
@@ -4549,16 +4635,7 @@ const endpoints = makeApi([
4549
4635
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
4550
4636
  ).nullish(),
4551
4637
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
4552
- location: microsoft_graph_location.optional(),
4553
- locations: z.array(microsoft_graph_location).describe(
4554
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
4555
- ).optional(),
4556
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
4557
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
4558
- onlineMeetingUrl: z.string().describe(
4559
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
4560
- ).nullish(),
4561
- organizer: microsoft_graph_recipient.optional()
4638
+ location: microsoft_graph_location.optional()
4562
4639
  }).strict().passthrough()
4563
4640
  },
4564
4641
  {
@@ -4597,12 +4674,27 @@ const endpoints = makeApi([
4597
4674
  status: NaN,
4598
4675
  description: `Retrieved navigation property`,
4599
4676
  schema: z.object({
4677
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
4678
+ createdDateTime: z.string().regex(
4679
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4680
+ ).datetime({ offset: true }).describe(
4681
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4682
+ ).nullish(),
4683
+ lastModifiedDateTime: z.string().regex(
4684
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4685
+ ).datetime({ offset: true }).describe(
4686
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4687
+ ).nullish(),
4600
4688
  type: microsoft_graph_eventType.optional(),
4601
4689
  body: microsoft_graph_itemBody.optional(),
4602
4690
  subject: z.string().describe("The text of the event's subject line.").nullish(),
4603
4691
  attachments: z.array(microsoft_graph_attachment).describe(
4604
4692
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
4605
4693
  ).optional(),
4694
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
4695
+ changeKey: z.string().describe(
4696
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
4697
+ ).nullish(),
4606
4698
  allowNewTimeProposals: z.boolean().describe(
4607
4699
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
4608
4700
  ).nullish(),
@@ -4636,16 +4728,7 @@ const endpoints = makeApi([
4636
4728
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
4637
4729
  ).nullish(),
4638
4730
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
4639
- location: microsoft_graph_location.optional(),
4640
- locations: z.array(microsoft_graph_location).describe(
4641
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
4642
- ).optional(),
4643
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
4644
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
4645
- onlineMeetingUrl: z.string().describe(
4646
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
4647
- ).nullish(),
4648
- organizer: microsoft_graph_recipient.optional()
4731
+ location: microsoft_graph_location.optional()
4649
4732
  }).strict().passthrough()
4650
4733
  },
4651
4734
  {
@@ -4672,12 +4755,27 @@ const endpoints = makeApi([
4672
4755
  description: `New navigation property values`,
4673
4756
  type: "Body",
4674
4757
  schema: z.object({
4758
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
4759
+ createdDateTime: z.string().regex(
4760
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4761
+ ).datetime({ offset: true }).describe(
4762
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4763
+ ).nullish(),
4764
+ lastModifiedDateTime: z.string().regex(
4765
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4766
+ ).datetime({ offset: true }).describe(
4767
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4768
+ ).nullish(),
4675
4769
  type: microsoft_graph_eventType.optional(),
4676
4770
  body: microsoft_graph_itemBody.optional(),
4677
4771
  subject: z.string().describe("The text of the event's subject line.").nullish(),
4678
4772
  attachments: z.array(microsoft_graph_attachment).describe(
4679
4773
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
4680
4774
  ).optional(),
4775
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
4776
+ changeKey: z.string().describe(
4777
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
4778
+ ).nullish(),
4681
4779
  allowNewTimeProposals: z.boolean().describe(
4682
4780
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
4683
4781
  ).nullish(),
@@ -4711,16 +4809,7 @@ const endpoints = makeApi([
4711
4809
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
4712
4810
  ).nullish(),
4713
4811
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
4714
- location: microsoft_graph_location.optional(),
4715
- locations: z.array(microsoft_graph_location).describe(
4716
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
4717
- ).optional(),
4718
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
4719
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
4720
- onlineMeetingUrl: z.string().describe(
4721
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
4722
- ).nullish(),
4723
- organizer: microsoft_graph_recipient.optional()
4812
+ location: microsoft_graph_location.optional()
4724
4813
  }).strict().passthrough()
4725
4814
  }
4726
4815
  ],
@@ -4730,12 +4819,27 @@ const endpoints = makeApi([
4730
4819
  status: NaN,
4731
4820
  description: `Success`,
4732
4821
  schema: z.object({
4822
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
4823
+ createdDateTime: z.string().regex(
4824
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4825
+ ).datetime({ offset: true }).describe(
4826
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4827
+ ).nullish(),
4828
+ lastModifiedDateTime: z.string().regex(
4829
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
4830
+ ).datetime({ offset: true }).describe(
4831
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
4832
+ ).nullish(),
4733
4833
  type: microsoft_graph_eventType.optional(),
4734
4834
  body: microsoft_graph_itemBody.optional(),
4735
4835
  subject: z.string().describe("The text of the event's subject line.").nullish(),
4736
4836
  attachments: z.array(microsoft_graph_attachment).describe(
4737
4837
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
4738
4838
  ).optional(),
4839
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
4840
+ changeKey: z.string().describe(
4841
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
4842
+ ).nullish(),
4739
4843
  allowNewTimeProposals: z.boolean().describe(
4740
4844
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
4741
4845
  ).nullish(),
@@ -4769,16 +4873,7 @@ const endpoints = makeApi([
4769
4873
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
4770
4874
  ).nullish(),
4771
4875
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
4772
- location: microsoft_graph_location.optional(),
4773
- locations: z.array(microsoft_graph_location).describe(
4774
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
4775
- ).optional(),
4776
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
4777
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
4778
- onlineMeetingUrl: z.string().describe(
4779
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
4780
- ).nullish(),
4781
- organizer: microsoft_graph_recipient.optional()
4876
+ location: microsoft_graph_location.optional()
4782
4877
  }).strict().passthrough()
4783
4878
  },
4784
4879
  {
@@ -5048,10 +5143,25 @@ or from some other calendar of the user.`,
5048
5143
  description: `New navigation property`,
5049
5144
  type: "Body",
5050
5145
  schema: z.object({
5146
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5051
5147
  displayName: z.string().describe(
5052
5148
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
5053
5149
  ).nullish(),
5150
+ createdDateTime: z.string().regex(
5151
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5152
+ ).datetime({ offset: true }).describe(
5153
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5154
+ ).nullish(),
5155
+ lastModifiedDateTime: z.string().regex(
5156
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5157
+ ).datetime({ offset: true }).describe(
5158
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5159
+ ).nullish(),
5054
5160
  title: z.string().describe("The contact's title.").nullish(),
5161
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5162
+ changeKey: z.string().describe(
5163
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5164
+ ).nullish(),
5055
5165
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
5056
5166
  birthday: z.string().regex(
5057
5167
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -5073,12 +5183,7 @@ or from some other calendar of the user.`,
5073
5183
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
5074
5184
  initials: z.string().describe("The contact's initials.").nullish(),
5075
5185
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
5076
- manager: z.string().describe("The name of the contact's manager.").nullish(),
5077
- middleName: z.string().describe("The contact's middle name.").nullish(),
5078
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
5079
- nickName: z.string().describe("The contact's nickname.").nullish(),
5080
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
5081
- otherAddress: microsoft_graph_physicalAddress.optional()
5186
+ manager: z.string().describe("The name of the contact's manager.").nullish()
5082
5187
  }).strict().passthrough()
5083
5188
  }
5084
5189
  ],
@@ -5088,10 +5193,25 @@ or from some other calendar of the user.`,
5088
5193
  status: NaN,
5089
5194
  description: `Created navigation property.`,
5090
5195
  schema: z.object({
5196
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5091
5197
  displayName: z.string().describe(
5092
5198
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
5093
5199
  ).nullish(),
5200
+ createdDateTime: z.string().regex(
5201
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5202
+ ).datetime({ offset: true }).describe(
5203
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5204
+ ).nullish(),
5205
+ lastModifiedDateTime: z.string().regex(
5206
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5207
+ ).datetime({ offset: true }).describe(
5208
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5209
+ ).nullish(),
5094
5210
  title: z.string().describe("The contact's title.").nullish(),
5211
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5212
+ changeKey: z.string().describe(
5213
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5214
+ ).nullish(),
5095
5215
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
5096
5216
  birthday: z.string().regex(
5097
5217
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -5113,12 +5233,7 @@ or from some other calendar of the user.`,
5113
5233
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
5114
5234
  initials: z.string().describe("The contact's initials.").nullish(),
5115
5235
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
5116
- manager: z.string().describe("The name of the contact's manager.").nullish(),
5117
- middleName: z.string().describe("The contact's middle name.").nullish(),
5118
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
5119
- nickName: z.string().describe("The contact's nickname.").nullish(),
5120
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
5121
- otherAddress: microsoft_graph_physicalAddress.optional()
5236
+ manager: z.string().describe("The name of the contact's manager.").nullish()
5122
5237
  }).strict().passthrough()
5123
5238
  },
5124
5239
  {
@@ -5157,10 +5272,25 @@ or from some other calendar of the user.`,
5157
5272
  status: NaN,
5158
5273
  description: `Retrieved navigation property`,
5159
5274
  schema: z.object({
5275
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5160
5276
  displayName: z.string().describe(
5161
5277
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
5162
5278
  ).nullish(),
5279
+ createdDateTime: z.string().regex(
5280
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5281
+ ).datetime({ offset: true }).describe(
5282
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5283
+ ).nullish(),
5284
+ lastModifiedDateTime: z.string().regex(
5285
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5286
+ ).datetime({ offset: true }).describe(
5287
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5288
+ ).nullish(),
5163
5289
  title: z.string().describe("The contact's title.").nullish(),
5290
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5291
+ changeKey: z.string().describe(
5292
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5293
+ ).nullish(),
5164
5294
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
5165
5295
  birthday: z.string().regex(
5166
5296
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -5182,12 +5312,7 @@ or from some other calendar of the user.`,
5182
5312
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
5183
5313
  initials: z.string().describe("The contact's initials.").nullish(),
5184
5314
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
5185
- manager: z.string().describe("The name of the contact's manager.").nullish(),
5186
- middleName: z.string().describe("The contact's middle name.").nullish(),
5187
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
5188
- nickName: z.string().describe("The contact's nickname.").nullish(),
5189
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
5190
- otherAddress: microsoft_graph_physicalAddress.optional()
5315
+ manager: z.string().describe("The name of the contact's manager.").nullish()
5191
5316
  }).strict().passthrough()
5192
5317
  },
5193
5318
  {
@@ -5214,10 +5339,25 @@ or from some other calendar of the user.`,
5214
5339
  description: `New navigation property values`,
5215
5340
  type: "Body",
5216
5341
  schema: z.object({
5342
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5217
5343
  displayName: z.string().describe(
5218
5344
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
5219
5345
  ).nullish(),
5346
+ createdDateTime: z.string().regex(
5347
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5348
+ ).datetime({ offset: true }).describe(
5349
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5350
+ ).nullish(),
5351
+ lastModifiedDateTime: z.string().regex(
5352
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5353
+ ).datetime({ offset: true }).describe(
5354
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5355
+ ).nullish(),
5220
5356
  title: z.string().describe("The contact's title.").nullish(),
5357
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5358
+ changeKey: z.string().describe(
5359
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5360
+ ).nullish(),
5221
5361
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
5222
5362
  birthday: z.string().regex(
5223
5363
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -5239,12 +5379,7 @@ or from some other calendar of the user.`,
5239
5379
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
5240
5380
  initials: z.string().describe("The contact's initials.").nullish(),
5241
5381
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
5242
- manager: z.string().describe("The name of the contact's manager.").nullish(),
5243
- middleName: z.string().describe("The contact's middle name.").nullish(),
5244
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
5245
- nickName: z.string().describe("The contact's nickname.").nullish(),
5246
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
5247
- otherAddress: microsoft_graph_physicalAddress.optional()
5382
+ manager: z.string().describe("The name of the contact's manager.").nullish()
5248
5383
  }).strict().passthrough()
5249
5384
  }
5250
5385
  ],
@@ -5254,10 +5389,25 @@ or from some other calendar of the user.`,
5254
5389
  status: NaN,
5255
5390
  description: `Success`,
5256
5391
  schema: z.object({
5392
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5257
5393
  displayName: z.string().describe(
5258
5394
  "The contact's display name. You can specify the display name in a create or update operation. Note that later updates to other properties may cause an automatically generated value to overwrite the displayName value you have specified. To preserve a pre-existing value, always include it as displayName in an update operation."
5259
5395
  ).nullish(),
5396
+ createdDateTime: z.string().regex(
5397
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5398
+ ).datetime({ offset: true }).describe(
5399
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5400
+ ).nullish(),
5401
+ lastModifiedDateTime: z.string().regex(
5402
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5403
+ ).datetime({ offset: true }).describe(
5404
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5405
+ ).nullish(),
5260
5406
  title: z.string().describe("The contact's title.").nullish(),
5407
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5408
+ changeKey: z.string().describe(
5409
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5410
+ ).nullish(),
5261
5411
  assistantName: z.string().describe("The name of the contact's assistant.").nullish(),
5262
5412
  birthday: z.string().regex(
5263
5413
  /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
@@ -5279,12 +5429,7 @@ or from some other calendar of the user.`,
5279
5429
  imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
5280
5430
  initials: z.string().describe("The contact's initials.").nullish(),
5281
5431
  jobTitle: z.string().describe("The contact\u2019s job title.").nullish(),
5282
- manager: z.string().describe("The name of the contact's manager.").nullish(),
5283
- middleName: z.string().describe("The contact's middle name.").nullish(),
5284
- mobilePhone: z.string().describe("The contact's mobile phone number.").nullish(),
5285
- nickName: z.string().describe("The contact's nickname.").nullish(),
5286
- officeLocation: z.string().describe("The location of the contact's office.").nullish(),
5287
- otherAddress: microsoft_graph_physicalAddress.optional()
5432
+ manager: z.string().describe("The name of the contact's manager.").nullish()
5288
5433
  }).strict().passthrough()
5289
5434
  },
5290
5435
  {
@@ -5480,12 +5625,27 @@ or their delegates can book a private meeting room. If you're organizing an
5480
5625
  description: `New navigation property`,
5481
5626
  type: "Body",
5482
5627
  schema: z.object({
5628
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5629
+ createdDateTime: z.string().regex(
5630
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5631
+ ).datetime({ offset: true }).describe(
5632
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5633
+ ).nullish(),
5634
+ lastModifiedDateTime: z.string().regex(
5635
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5636
+ ).datetime({ offset: true }).describe(
5637
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5638
+ ).nullish(),
5483
5639
  type: microsoft_graph_eventType.optional(),
5484
5640
  body: microsoft_graph_itemBody.optional(),
5485
5641
  subject: z.string().describe("The text of the event's subject line.").nullish(),
5486
5642
  attachments: z.array(microsoft_graph_attachment).describe(
5487
5643
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
5488
5644
  ).optional(),
5645
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5646
+ changeKey: z.string().describe(
5647
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5648
+ ).nullish(),
5489
5649
  allowNewTimeProposals: z.boolean().describe(
5490
5650
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
5491
5651
  ).nullish(),
@@ -5519,16 +5679,7 @@ or their delegates can book a private meeting room. If you're organizing an
5519
5679
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
5520
5680
  ).nullish(),
5521
5681
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
5522
- location: microsoft_graph_location.optional(),
5523
- locations: z.array(microsoft_graph_location).describe(
5524
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
5525
- ).optional(),
5526
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
5527
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
5528
- onlineMeetingUrl: z.string().describe(
5529
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
5530
- ).nullish(),
5531
- organizer: microsoft_graph_recipient.optional()
5682
+ location: microsoft_graph_location.optional()
5532
5683
  }).strict().passthrough()
5533
5684
  }
5534
5685
  ],
@@ -5538,12 +5689,27 @@ or their delegates can book a private meeting room. If you're organizing an
5538
5689
  status: NaN,
5539
5690
  description: `Created navigation property.`,
5540
5691
  schema: z.object({
5692
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5693
+ createdDateTime: z.string().regex(
5694
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5695
+ ).datetime({ offset: true }).describe(
5696
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5697
+ ).nullish(),
5698
+ lastModifiedDateTime: z.string().regex(
5699
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5700
+ ).datetime({ offset: true }).describe(
5701
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5702
+ ).nullish(),
5541
5703
  type: microsoft_graph_eventType.optional(),
5542
5704
  body: microsoft_graph_itemBody.optional(),
5543
5705
  subject: z.string().describe("The text of the event's subject line.").nullish(),
5544
5706
  attachments: z.array(microsoft_graph_attachment).describe(
5545
5707
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
5546
5708
  ).optional(),
5709
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5710
+ changeKey: z.string().describe(
5711
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5712
+ ).nullish(),
5547
5713
  allowNewTimeProposals: z.boolean().describe(
5548
5714
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
5549
5715
  ).nullish(),
@@ -5577,16 +5743,7 @@ or their delegates can book a private meeting room. If you're organizing an
5577
5743
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
5578
5744
  ).nullish(),
5579
5745
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
5580
- location: microsoft_graph_location.optional(),
5581
- locations: z.array(microsoft_graph_location).describe(
5582
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
5583
- ).optional(),
5584
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
5585
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
5586
- onlineMeetingUrl: z.string().describe(
5587
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
5588
- ).nullish(),
5589
- organizer: microsoft_graph_recipient.optional()
5746
+ location: microsoft_graph_location.optional()
5590
5747
  }).strict().passthrough()
5591
5748
  },
5592
5749
  {
@@ -5625,12 +5782,27 @@ or their delegates can book a private meeting room. If you're organizing an
5625
5782
  status: NaN,
5626
5783
  description: `Retrieved navigation property`,
5627
5784
  schema: z.object({
5785
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5786
+ createdDateTime: z.string().regex(
5787
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5788
+ ).datetime({ offset: true }).describe(
5789
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5790
+ ).nullish(),
5791
+ lastModifiedDateTime: z.string().regex(
5792
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5793
+ ).datetime({ offset: true }).describe(
5794
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5795
+ ).nullish(),
5628
5796
  type: microsoft_graph_eventType.optional(),
5629
5797
  body: microsoft_graph_itemBody.optional(),
5630
5798
  subject: z.string().describe("The text of the event's subject line.").nullish(),
5631
5799
  attachments: z.array(microsoft_graph_attachment).describe(
5632
5800
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
5633
5801
  ).optional(),
5802
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5803
+ changeKey: z.string().describe(
5804
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5805
+ ).nullish(),
5634
5806
  allowNewTimeProposals: z.boolean().describe(
5635
5807
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
5636
5808
  ).nullish(),
@@ -5664,16 +5836,7 @@ or their delegates can book a private meeting room. If you're organizing an
5664
5836
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
5665
5837
  ).nullish(),
5666
5838
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
5667
- location: microsoft_graph_location.optional(),
5668
- locations: z.array(microsoft_graph_location).describe(
5669
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
5670
- ).optional(),
5671
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
5672
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
5673
- onlineMeetingUrl: z.string().describe(
5674
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
5675
- ).nullish(),
5676
- organizer: microsoft_graph_recipient.optional()
5839
+ location: microsoft_graph_location.optional()
5677
5840
  }).strict().passthrough()
5678
5841
  },
5679
5842
  {
@@ -5700,12 +5863,27 @@ or their delegates can book a private meeting room. If you're organizing an
5700
5863
  description: `New navigation property values`,
5701
5864
  type: "Body",
5702
5865
  schema: z.object({
5866
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5867
+ createdDateTime: z.string().regex(
5868
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5869
+ ).datetime({ offset: true }).describe(
5870
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5871
+ ).nullish(),
5872
+ lastModifiedDateTime: z.string().regex(
5873
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5874
+ ).datetime({ offset: true }).describe(
5875
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5876
+ ).nullish(),
5703
5877
  type: microsoft_graph_eventType.optional(),
5704
5878
  body: microsoft_graph_itemBody.optional(),
5705
5879
  subject: z.string().describe("The text of the event's subject line.").nullish(),
5706
5880
  attachments: z.array(microsoft_graph_attachment).describe(
5707
5881
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
5708
5882
  ).optional(),
5883
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5884
+ changeKey: z.string().describe(
5885
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5886
+ ).nullish(),
5709
5887
  allowNewTimeProposals: z.boolean().describe(
5710
5888
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
5711
5889
  ).nullish(),
@@ -5739,16 +5917,7 @@ or their delegates can book a private meeting room. If you're organizing an
5739
5917
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
5740
5918
  ).nullish(),
5741
5919
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
5742
- location: microsoft_graph_location.optional(),
5743
- locations: z.array(microsoft_graph_location).describe(
5744
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
5745
- ).optional(),
5746
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
5747
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
5748
- onlineMeetingUrl: z.string().describe(
5749
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
5750
- ).nullish(),
5751
- organizer: microsoft_graph_recipient.optional()
5920
+ location: microsoft_graph_location.optional()
5752
5921
  }).strict().passthrough()
5753
5922
  }
5754
5923
  ],
@@ -5758,12 +5927,27 @@ or their delegates can book a private meeting room. If you're organizing an
5758
5927
  status: NaN,
5759
5928
  description: `Success`,
5760
5929
  schema: z.object({
5930
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
5931
+ createdDateTime: z.string().regex(
5932
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5933
+ ).datetime({ offset: true }).describe(
5934
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5935
+ ).nullish(),
5936
+ lastModifiedDateTime: z.string().regex(
5937
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
5938
+ ).datetime({ offset: true }).describe(
5939
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
5940
+ ).nullish(),
5761
5941
  type: microsoft_graph_eventType.optional(),
5762
5942
  body: microsoft_graph_itemBody.optional(),
5763
5943
  subject: z.string().describe("The text of the event's subject line.").nullish(),
5764
5944
  attachments: z.array(microsoft_graph_attachment).describe(
5765
5945
  "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
5766
5946
  ).optional(),
5947
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
5948
+ changeKey: z.string().describe(
5949
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
5950
+ ).nullish(),
5767
5951
  allowNewTimeProposals: z.boolean().describe(
5768
5952
  "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
5769
5953
  ).nullish(),
@@ -5797,16 +5981,7 @@ or their delegates can book a private meeting room. If you're organizing an
5797
5981
  "Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of the event (specified by the organizer property of the event). It also applies if a delegate organized the event on behalf of the owner."
5798
5982
  ).nullish(),
5799
5983
  isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
5800
- location: microsoft_graph_location.optional(),
5801
- locations: z.array(microsoft_graph_location).describe(
5802
- "The locations where the event is held or attended from. The location and locations properties always correspond with each other. If you update the location property, any prior locations in the locations collection are removed and replaced by the new location value."
5803
- ).optional(),
5804
- onlineMeeting: microsoft_graph_onlineMeetingInfo.optional(),
5805
- onlineMeetingProvider: microsoft_graph_onlineMeetingProviderType.optional(),
5806
- onlineMeetingUrl: z.string().describe(
5807
- "A URL for an online meeting. The property is set only when an organizer specifies in Outlook that an event is an online meeting such as Skype. Read-only.To access the URL to join an online meeting, use joinUrl which is exposed via the onlineMeeting property of the event. The onlineMeetingUrl property will be deprecated in the future."
5808
- ).nullish(),
5809
- organizer: microsoft_graph_recipient.optional()
5984
+ location: microsoft_graph_location.optional()
5810
5985
  }).strict().passthrough()
5811
5986
  },
5812
5987
  {
@@ -6138,9 +6313,24 @@ or their delegates can book a private meeting room. If you're organizing an
6138
6313
  description: `New navigation property`,
6139
6314
  type: "Body",
6140
6315
  schema: z.object({
6316
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
6317
+ createdDateTime: z.string().regex(
6318
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6319
+ ).datetime({ offset: true }).describe(
6320
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6321
+ ).nullish(),
6322
+ lastModifiedDateTime: z.string().regex(
6323
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6324
+ ).datetime({ offset: true }).describe(
6325
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6326
+ ).nullish(),
6141
6327
  body: microsoft_graph_itemBody.optional(),
6142
6328
  subject: z.string().describe("The subject of the message.").nullish(),
6143
6329
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
6330
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
6331
+ changeKey: z.string().describe(
6332
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
6333
+ ).nullish(),
6144
6334
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
6145
6335
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
6146
6336
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -6163,20 +6353,7 @@ or their delegates can book a private meeting room. If you're organizing an
6163
6353
  ).nullish(),
6164
6354
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
6165
6355
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
6166
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
6167
- receivedDateTime: z.string().regex(
6168
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6169
- ).datetime({ offset: true }).describe(
6170
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6171
- ).nullish(),
6172
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
6173
- sender: microsoft_graph_recipient.optional(),
6174
- sentDateTime: z.string().regex(
6175
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6176
- ).datetime({ offset: true }).describe(
6177
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6178
- ).nullish(),
6179
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
6356
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
6180
6357
  }).strict().passthrough()
6181
6358
  }
6182
6359
  ],
@@ -6186,9 +6363,24 @@ or their delegates can book a private meeting room. If you're organizing an
6186
6363
  status: NaN,
6187
6364
  description: `Created navigation property.`,
6188
6365
  schema: z.object({
6366
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
6367
+ createdDateTime: z.string().regex(
6368
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6369
+ ).datetime({ offset: true }).describe(
6370
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6371
+ ).nullish(),
6372
+ lastModifiedDateTime: z.string().regex(
6373
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6374
+ ).datetime({ offset: true }).describe(
6375
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6376
+ ).nullish(),
6189
6377
  body: microsoft_graph_itemBody.optional(),
6190
6378
  subject: z.string().describe("The subject of the message.").nullish(),
6191
6379
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
6380
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
6381
+ changeKey: z.string().describe(
6382
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
6383
+ ).nullish(),
6192
6384
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
6193
6385
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
6194
6386
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -6211,20 +6403,7 @@ or their delegates can book a private meeting room. If you're organizing an
6211
6403
  ).nullish(),
6212
6404
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
6213
6405
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
6214
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
6215
- receivedDateTime: z.string().regex(
6216
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6217
- ).datetime({ offset: true }).describe(
6218
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6219
- ).nullish(),
6220
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
6221
- sender: microsoft_graph_recipient.optional(),
6222
- sentDateTime: z.string().regex(
6223
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6224
- ).datetime({ offset: true }).describe(
6225
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6226
- ).nullish(),
6227
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
6406
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
6228
6407
  }).strict().passthrough()
6229
6408
  },
6230
6409
  {
@@ -6269,9 +6448,24 @@ open extensions or extended properties, and how to specify extended properties.`
6269
6448
  status: NaN,
6270
6449
  description: `Retrieved navigation property`,
6271
6450
  schema: z.object({
6451
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
6452
+ createdDateTime: z.string().regex(
6453
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6454
+ ).datetime({ offset: true }).describe(
6455
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6456
+ ).nullish(),
6457
+ lastModifiedDateTime: z.string().regex(
6458
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6459
+ ).datetime({ offset: true }).describe(
6460
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6461
+ ).nullish(),
6272
6462
  body: microsoft_graph_itemBody.optional(),
6273
6463
  subject: z.string().describe("The subject of the message.").nullish(),
6274
6464
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
6465
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
6466
+ changeKey: z.string().describe(
6467
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
6468
+ ).nullish(),
6275
6469
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
6276
6470
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
6277
6471
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -6294,20 +6488,7 @@ open extensions or extended properties, and how to specify extended properties.`
6294
6488
  ).nullish(),
6295
6489
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
6296
6490
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
6297
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
6298
- receivedDateTime: z.string().regex(
6299
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6300
- ).datetime({ offset: true }).describe(
6301
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6302
- ).nullish(),
6303
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
6304
- sender: microsoft_graph_recipient.optional(),
6305
- sentDateTime: z.string().regex(
6306
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6307
- ).datetime({ offset: true }).describe(
6308
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6309
- ).nullish(),
6310
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
6491
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
6311
6492
  }).strict().passthrough()
6312
6493
  },
6313
6494
  {
@@ -6326,7 +6507,7 @@ open extensions or extended properties, and how to specify extended properties.`
6326
6507
  method: "delete",
6327
6508
  path: "/me/messages/:messageId",
6328
6509
  alias: "delete-mail-message",
6329
- description: `Delete a message in the specified user's mailbox, or delete a relationship of the message.`,
6510
+ description: `Delete eventMessage.`,
6330
6511
  requestFormat: "json",
6331
6512
  parameters: [
6332
6513
  {
@@ -6420,9 +6601,8 @@ open extensions or extended properties, and how to specify extended properties.`
6420
6601
  method: "post",
6421
6602
  path: "/me/messages/:messageId/attachments",
6422
6603
  alias: "add-mail-attachment",
6423
- description: `Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachment
6424
- resource. You can add an attachment to an existing message by posting to its attachments collection, or you can
6425
- add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.`,
6604
+ description: `Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachment
6605
+ resource.`,
6426
6606
  requestFormat: "json",
6427
6607
  parameters: [
6428
6608
  {
@@ -6535,9 +6715,24 @@ add an attachment to a message that is being created and sent on the fly. This o
6535
6715
  status: NaN,
6536
6716
  description: `Success`,
6537
6717
  schema: z.object({
6718
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
6719
+ createdDateTime: z.string().regex(
6720
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6721
+ ).datetime({ offset: true }).describe(
6722
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6723
+ ).nullish(),
6724
+ lastModifiedDateTime: z.string().regex(
6725
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6726
+ ).datetime({ offset: true }).describe(
6727
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
6728
+ ).nullish(),
6538
6729
  body: microsoft_graph_itemBody.optional(),
6539
6730
  subject: z.string().describe("The subject of the message.").nullish(),
6540
6731
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
6732
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
6733
+ changeKey: z.string().describe(
6734
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
6735
+ ).nullish(),
6541
6736
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
6542
6737
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
6543
6738
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -6560,20 +6755,7 @@ add an attachment to a message that is being created and sent on the fly. This o
6560
6755
  ).nullish(),
6561
6756
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
6562
6757
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
6563
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
6564
- receivedDateTime: z.string().regex(
6565
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6566
- ).datetime({ offset: true }).describe(
6567
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6568
- ).nullish(),
6569
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
6570
- sender: microsoft_graph_recipient.optional(),
6571
- sentDateTime: z.string().regex(
6572
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
6573
- ).datetime({ offset: true }).describe(
6574
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
6575
- ).nullish(),
6576
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
6758
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
6577
6759
  }).strict().passthrough()
6578
6760
  },
6579
6761
  {
@@ -7785,7 +7967,8 @@ add an attachment to a message that is being created and sent on the fly. This o
7785
7967
  method: "get",
7786
7968
  path: "/sites",
7787
7969
  alias: "search-sharepoint-sites",
7788
- description: `Search across a SharePoint tenant for sites that match keywords provided. The only property that works for sorting is createdDateTime. The search filter is a free text search that uses multiple properties when retrieving the search results.`,
7970
+ description: `List all available sites in an organization. Specific filter criteria and query options are also supported and described below: In addition, you can use a $search query against the /sites collection to find sites matching given keywords.
7971
+ If you want to list all sites across all geographies, refer to getAllSites. For more guidance about building applications that use site discovery for scanning purposes, see Best practices for discovering files and detecting changes at scale.`,
7789
7972
  requestFormat: "json",
7790
7973
  parameters: [
7791
7974
  {
@@ -8724,7 +8907,7 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
8724
8907
  method: "post",
8725
8908
  path: "/teams/:teamId/channels/:channelId/messages",
8726
8909
  alias: "send-channel-message",
8727
- description: `Send a new chatMessage in the specified channel or a chat.`,
8910
+ description: `Send a new chatMessage in the specified channel.`,
8728
8911
  requestFormat: "json",
8729
8912
  parameters: [
8730
8913
  {
@@ -8861,7 +9044,7 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
8861
9044
  method: "get",
8862
9045
  path: "/users",
8863
9046
  alias: "list-users",
8864
- description: `Retrieve a list of user objects.`,
9047
+ description: `List properties and relationships of the user objects.`,
8865
9048
  requestFormat: "json",
8866
9049
  parameters: [
8867
9050
  {
@@ -9094,9 +9277,24 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
9094
9277
  status: NaN,
9095
9278
  description: `Retrieved navigation property`,
9096
9279
  schema: z.object({
9280
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
9281
+ createdDateTime: z.string().regex(
9282
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
9283
+ ).datetime({ offset: true }).describe(
9284
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
9285
+ ).nullish(),
9286
+ lastModifiedDateTime: z.string().regex(
9287
+ /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
9288
+ ).datetime({ offset: true }).describe(
9289
+ "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
9290
+ ).nullish(),
9097
9291
  body: microsoft_graph_itemBody.optional(),
9098
9292
  subject: z.string().describe("The subject of the message.").nullish(),
9099
9293
  attachments: z.array(microsoft_graph_attachment).describe("The fileAttachment and itemAttachment attachments for the message.").optional(),
9294
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
9295
+ changeKey: z.string().describe(
9296
+ "Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only."
9297
+ ).nullish(),
9100
9298
  bccRecipients: z.array(microsoft_graph_recipient).describe("The Bcc: recipients for the message.").optional(),
9101
9299
  bodyPreview: z.string().describe("The first 255 characters of the message body. It is in text format.").nullish(),
9102
9300
  ccRecipients: z.array(microsoft_graph_recipient).describe("The Cc: recipients for the message.").optional(),
@@ -9119,20 +9317,7 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
9119
9317
  ).nullish(),
9120
9318
  isRead: z.boolean().describe("Indicates whether the message has been read.").nullish(),
9121
9319
  isReadReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
9122
- parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish(),
9123
- receivedDateTime: z.string().regex(
9124
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
9125
- ).datetime({ offset: true }).describe(
9126
- "The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
9127
- ).nullish(),
9128
- replyTo: z.array(microsoft_graph_recipient).describe("The email addresses to use when replying.").optional(),
9129
- sender: microsoft_graph_recipient.optional(),
9130
- sentDateTime: z.string().regex(
9131
- /^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$/
9132
- ).datetime({ offset: true }).describe(
9133
- "The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z."
9134
- ).nullish(),
9135
- toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional()
9320
+ parentFolderId: z.string().describe("The unique identifier for the message's parent mailFolder.").nullish()
9136
9321
  }).strict().passthrough()
9137
9322
  },
9138
9323
  {