@softeria/ms-365-mcp-server 0.85.2 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1447,11 +1447,12 @@ const microsoft_graph_groupCollectionResponse = z.object({
1447
1447
  "@odata.nextLink": z.string().nullable(),
1448
1448
  value: z.array(microsoft_graph_group)
1449
1449
  }).partial().passthrough();
1450
- const microsoft_graph_emailAddress = z.object({
1451
- address: z.string().describe("The email address of the person or entity.").nullish(),
1452
- name: z.string().describe("The display name of the person or entity.").nullish()
1453
- }).passthrough();
1454
- const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).passthrough();
1450
+ const microsoft_graph_eventType = z.enum([
1451
+ "singleInstance",
1452
+ "occurrence",
1453
+ "exception",
1454
+ "seriesMaster"
1455
+ ]);
1455
1456
  const microsoft_graph_attachment = z.object({
1456
1457
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1457
1458
  contentType: z.string().describe("The MIME type.").nullish(),
@@ -1464,15 +1465,213 @@ const microsoft_graph_attachment = z.object({
1464
1465
  name: z.string().describe("The attachment's file name.").nullish(),
1465
1466
  size: z.number().gte(-2147483648).lte(2147483647).describe("The length of the attachment in bytes.").optional()
1466
1467
  }).passthrough();
1467
- const microsoft_graph_extension = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
1468
+ const microsoft_graph_singleValueLegacyExtendedProperty = z.object({
1469
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1470
+ value: z.string().describe("A property value.").nullish()
1471
+ }).passthrough();
1468
1472
  const microsoft_graph_multiValueLegacyExtendedProperty = z.object({
1469
1473
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1470
1474
  value: z.array(z.string().nullable()).describe("A collection of property values.").optional()
1471
1475
  }).passthrough();
1472
- const microsoft_graph_singleValueLegacyExtendedProperty = z.object({
1473
- id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1474
- value: z.string().describe("A property value.").nullish()
1476
+ const microsoft_graph_physicalAddress = z.object({
1477
+ city: z.string().describe("The city.").nullish(),
1478
+ countryOrRegion: z.string().describe(
1479
+ "The country or region. It's a free-format string value, for example, 'United States'."
1480
+ ).nullish(),
1481
+ postalCode: z.string().describe("The postal code.").nullish(),
1482
+ state: z.string().describe("The state.").nullish(),
1483
+ street: z.string().describe("The street.").nullish()
1484
+ }).passthrough();
1485
+ const microsoft_graph_outlookGeoCoordinates = z.object({
1486
+ accuracy: z.number().describe(
1487
+ "The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [Simplified from 3 options]"
1488
+ ).nullish(),
1489
+ altitude: z.number().describe("The altitude of the location. [Simplified from 3 options]").nullish(),
1490
+ altitudeAccuracy: z.number().describe("The accuracy of the altitude. [Simplified from 3 options]").nullish(),
1491
+ latitude: z.number().describe("The latitude of the location. [Simplified from 3 options]").nullish(),
1492
+ longitude: z.number().describe("The longitude of the location. [Simplified from 3 options]").nullish()
1493
+ }).passthrough();
1494
+ const microsoft_graph_locationType = z.enum([
1495
+ "default",
1496
+ "conferenceRoom",
1497
+ "homeAddress",
1498
+ "businessAddress",
1499
+ "geoCoordinates",
1500
+ "streetAddress",
1501
+ "hotel",
1502
+ "restaurant",
1503
+ "localBusiness",
1504
+ "postalAddress"
1505
+ ]);
1506
+ const microsoft_graph_locationUniqueIdType = z.enum([
1507
+ "unknown",
1508
+ "locationStore",
1509
+ "directory",
1510
+ "private",
1511
+ "bing"
1512
+ ]);
1513
+ const microsoft_graph_location = z.object({
1514
+ address: microsoft_graph_physicalAddress.optional(),
1515
+ coordinates: microsoft_graph_outlookGeoCoordinates.optional(),
1516
+ displayName: z.string().describe("The name associated with the location.").nullish(),
1517
+ locationEmailAddress: z.string().describe("Optional email address of the location.").nullish(),
1518
+ locationType: microsoft_graph_locationType.optional(),
1519
+ locationUri: z.string().describe("Optional URI representing the location.").nullish(),
1520
+ uniqueId: z.string().describe("For internal use only.").nullish(),
1521
+ uniqueIdType: microsoft_graph_locationUniqueIdType.optional()
1522
+ }).passthrough();
1523
+ const microsoft_graph_freeBusyStatus = z.enum([
1524
+ "unknown",
1525
+ "free",
1526
+ "tentative",
1527
+ "busy",
1528
+ "oof",
1529
+ "workingElsewhere"
1530
+ ]);
1531
+ const microsoft_graph_sensitivity = z.enum(["normal", "personal", "private", "confidential"]);
1532
+ const microsoft_graph_importance = z.enum(["low", "normal", "high"]);
1533
+ const microsoft_graph_emailAddress = z.object({
1534
+ address: z.string().describe("The email address of the person or entity.").nullish(),
1535
+ name: z.string().describe("The display name of the person or entity.").nullish()
1536
+ }).passthrough();
1537
+ const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
1538
+ const microsoft_graph_timeSlot = z.object({
1539
+ end: microsoft_graph_dateTimeTimeZone.optional(),
1540
+ start: microsoft_graph_dateTimeTimeZone.optional()
1541
+ }).passthrough();
1542
+ const microsoft_graph_responseType = z.enum([
1543
+ "none",
1544
+ "organizer",
1545
+ "tentativelyAccepted",
1546
+ "accepted",
1547
+ "declined",
1548
+ "notResponded"
1549
+ ]);
1550
+ const microsoft_graph_responseStatus = z.object({
1551
+ response: microsoft_graph_responseType.optional(),
1552
+ time: z.string().regex(
1553
+ /^[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])$/
1554
+ ).datetime({ offset: true }).describe(
1555
+ "The date and time when the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1556
+ ).nullish()
1557
+ }).passthrough();
1558
+ const microsoft_graph_attendee = z.object({
1559
+ emailAddress: microsoft_graph_emailAddress.optional(),
1560
+ type: microsoft_graph_attendeeType.optional(),
1561
+ proposedNewTime: microsoft_graph_timeSlot.optional(),
1562
+ status: microsoft_graph_responseStatus.optional()
1563
+ }).passthrough();
1564
+ const microsoft_graph_dayOfWeek = z.enum([
1565
+ "sunday",
1566
+ "monday",
1567
+ "tuesday",
1568
+ "wednesday",
1569
+ "thursday",
1570
+ "friday",
1571
+ "saturday"
1572
+ ]);
1573
+ const microsoft_graph_weekIndex = z.enum(["first", "second", "third", "fourth", "last"]);
1574
+ const microsoft_graph_recurrencePatternType = z.enum([
1575
+ "daily",
1576
+ "weekly",
1577
+ "absoluteMonthly",
1578
+ "relativeMonthly",
1579
+ "absoluteYearly",
1580
+ "relativeYearly"
1581
+ ]);
1582
+ const microsoft_graph_recurrencePattern = z.object({
1583
+ dayOfMonth: z.number().gte(-2147483648).lte(2147483647).describe(
1584
+ "The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly."
1585
+ ).optional(),
1586
+ daysOfWeek: z.array(z.union([microsoft_graph_dayOfWeek, z.object({}).partial().passthrough()])).describe(
1587
+ "A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly."
1588
+ ).optional(),
1589
+ firstDayOfWeek: microsoft_graph_dayOfWeek.optional(),
1590
+ index: microsoft_graph_weekIndex.optional(),
1591
+ interval: z.number().gte(-2147483648).lte(2147483647).describe(
1592
+ "The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required."
1593
+ ).optional(),
1594
+ month: z.number().gte(-2147483648).lte(2147483647).describe("The month in which the event occurs. This is a number from 1 to 12.").optional(),
1595
+ type: microsoft_graph_recurrencePatternType.optional()
1475
1596
  }).passthrough();
1597
+ const microsoft_graph_recurrenceRangeType = z.enum(["endDate", "noEnd", "numbered"]);
1598
+ const microsoft_graph_recurrenceRange = z.object({
1599
+ endDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
1600
+ "The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate."
1601
+ ).nullish(),
1602
+ numberOfOccurrences: z.number().gte(-2147483648).lte(2147483647).describe(
1603
+ "The number of times to repeat the event. Required and must be positive if type is numbered."
1604
+ ).optional(),
1605
+ recurrenceTimeZone: z.string().describe(
1606
+ "Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used."
1607
+ ).nullish(),
1608
+ startDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
1609
+ "The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required."
1610
+ ).nullish(),
1611
+ type: microsoft_graph_recurrenceRangeType.optional()
1612
+ }).passthrough();
1613
+ const microsoft_graph_patternedRecurrence = z.object({
1614
+ pattern: microsoft_graph_recurrencePattern.optional(),
1615
+ range: microsoft_graph_recurrenceRange.optional()
1616
+ }).passthrough();
1617
+ const microsoft_graph_event = z.object({
1618
+ id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1619
+ createdDateTime: z.string().regex(
1620
+ /^[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])$/
1621
+ ).datetime({ offset: true }).describe(
1622
+ "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"
1623
+ ).nullish(),
1624
+ lastModifiedDateTime: z.string().regex(
1625
+ /^[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])$/
1626
+ ).datetime({ offset: true }).describe(
1627
+ "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"
1628
+ ).nullish(),
1629
+ type: microsoft_graph_eventType.optional(),
1630
+ body: microsoft_graph_itemBody.optional(),
1631
+ subject: z.string().describe("The text of the event's subject line.").nullish(),
1632
+ attachments: z.array(microsoft_graph_attachment).describe(
1633
+ "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
1634
+ ).optional(),
1635
+ singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
1636
+ "The collection of single-value extended properties defined for the event. Read-only. Nullable."
1637
+ ).optional(),
1638
+ multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
1639
+ "The collection of multi-value extended properties defined for the event. Read-only. Nullable."
1640
+ ).optional(),
1641
+ start: microsoft_graph_dateTimeTimeZone.optional(),
1642
+ end: microsoft_graph_dateTimeTimeZone.optional(),
1643
+ location: microsoft_graph_location.optional(),
1644
+ showAs: microsoft_graph_freeBusyStatus.optional(),
1645
+ sensitivity: microsoft_graph_sensitivity.optional(),
1646
+ isAllDay: z.boolean().describe(
1647
+ "Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone."
1648
+ ).nullish(),
1649
+ importance: microsoft_graph_importance.optional(),
1650
+ isOnlineMeeting: z.boolean().describe(
1651
+ "True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online."
1652
+ ).nullish(),
1653
+ isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
1654
+ attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
1655
+ recurrence: microsoft_graph_patternedRecurrence.optional(),
1656
+ reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe("The number of minutes before the event start time that the reminder alert occurs.").nullish(),
1657
+ allowNewTimeProposals: z.boolean().describe(
1658
+ "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
1659
+ ).nullish(),
1660
+ responseRequested: z.boolean().describe(
1661
+ "Default is true, which represents the organizer would like an invitee to send a response to the event."
1662
+ ).nullish(),
1663
+ categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
1664
+ changeKey: z.string().describe(
1665
+ "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."
1666
+ ).nullish()
1667
+ }).passthrough().passthrough();
1668
+ const microsoft_graph_eventCollectionResponse = z.object({
1669
+ "@odata.count": z.number().int().nullable(),
1670
+ "@odata.nextLink": z.string().nullable(),
1671
+ value: z.array(microsoft_graph_event)
1672
+ }).partial().passthrough();
1673
+ const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).passthrough();
1674
+ const microsoft_graph_extension = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
1476
1675
  const microsoft_graph_post = z.lazy(
1477
1676
  () => z.object({
1478
1677
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
@@ -1597,14 +1796,6 @@ const microsoft_graph_freeBusyError = z.object({
1597
1796
  "The response code from querying for the availability of the user, distribution list, or resource."
1598
1797
  ).nullish()
1599
1798
  }).passthrough();
1600
- const microsoft_graph_freeBusyStatus = z.enum([
1601
- "unknown",
1602
- "free",
1603
- "tentative",
1604
- "busy",
1605
- "oof",
1606
- "workingElsewhere"
1607
- ]);
1608
1799
  const microsoft_graph_scheduleItem = z.object({
1609
1800
  end: microsoft_graph_dateTimeTimeZone.optional(),
1610
1801
  isPrivate: z.boolean().describe(
@@ -1615,15 +1806,6 @@ const microsoft_graph_scheduleItem = z.object({
1615
1806
  status: microsoft_graph_freeBusyStatus.optional(),
1616
1807
  subject: z.string().describe("The corresponding event's subject line. Optional.").nullish()
1617
1808
  }).passthrough();
1618
- const microsoft_graph_dayOfWeek = z.enum([
1619
- "sunday",
1620
- "monday",
1621
- "tuesday",
1622
- "wednesday",
1623
- "thursday",
1624
- "friday",
1625
- "saturday"
1626
- ]);
1627
1809
  const microsoft_graph_timeZoneBase = z.object({
1628
1810
  name: z.string().describe(
1629
1811
  "The name of a time zone. It can be a standard time zone name such as 'Hawaii-Aleutian Standard Time', or 'Customized Time Zone' for a custom time zone."
@@ -1689,183 +1871,6 @@ const microsoft_graph_calendarPermission = z.object({
1689
1871
  ).nullish(),
1690
1872
  role: microsoft_graph_calendarRoleType.optional()
1691
1873
  }).passthrough();
1692
- const microsoft_graph_eventType = z.enum([
1693
- "singleInstance",
1694
- "occurrence",
1695
- "exception",
1696
- "seriesMaster"
1697
- ]);
1698
- const microsoft_graph_physicalAddress = z.object({
1699
- city: z.string().describe("The city.").nullish(),
1700
- countryOrRegion: z.string().describe(
1701
- "The country or region. It's a free-format string value, for example, 'United States'."
1702
- ).nullish(),
1703
- postalCode: z.string().describe("The postal code.").nullish(),
1704
- state: z.string().describe("The state.").nullish(),
1705
- street: z.string().describe("The street.").nullish()
1706
- }).passthrough();
1707
- const microsoft_graph_outlookGeoCoordinates = z.object({
1708
- accuracy: z.number().describe(
1709
- "The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [Simplified from 3 options]"
1710
- ).nullish(),
1711
- altitude: z.number().describe("The altitude of the location. [Simplified from 3 options]").nullish(),
1712
- altitudeAccuracy: z.number().describe("The accuracy of the altitude. [Simplified from 3 options]").nullish(),
1713
- latitude: z.number().describe("The latitude of the location. [Simplified from 3 options]").nullish(),
1714
- longitude: z.number().describe("The longitude of the location. [Simplified from 3 options]").nullish()
1715
- }).passthrough();
1716
- const microsoft_graph_locationType = z.enum([
1717
- "default",
1718
- "conferenceRoom",
1719
- "homeAddress",
1720
- "businessAddress",
1721
- "geoCoordinates",
1722
- "streetAddress",
1723
- "hotel",
1724
- "restaurant",
1725
- "localBusiness",
1726
- "postalAddress"
1727
- ]);
1728
- const microsoft_graph_locationUniqueIdType = z.enum([
1729
- "unknown",
1730
- "locationStore",
1731
- "directory",
1732
- "private",
1733
- "bing"
1734
- ]);
1735
- const microsoft_graph_location = z.object({
1736
- address: microsoft_graph_physicalAddress.optional(),
1737
- coordinates: microsoft_graph_outlookGeoCoordinates.optional(),
1738
- displayName: z.string().describe("The name associated with the location.").nullish(),
1739
- locationEmailAddress: z.string().describe("Optional email address of the location.").nullish(),
1740
- locationType: microsoft_graph_locationType.optional(),
1741
- locationUri: z.string().describe("Optional URI representing the location.").nullish(),
1742
- uniqueId: z.string().describe("For internal use only.").nullish(),
1743
- uniqueIdType: microsoft_graph_locationUniqueIdType.optional()
1744
- }).passthrough();
1745
- const microsoft_graph_sensitivity = z.enum(["normal", "personal", "private", "confidential"]);
1746
- const microsoft_graph_importance = z.enum(["low", "normal", "high"]);
1747
- const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
1748
- const microsoft_graph_timeSlot = z.object({
1749
- end: microsoft_graph_dateTimeTimeZone.optional(),
1750
- start: microsoft_graph_dateTimeTimeZone.optional()
1751
- }).passthrough();
1752
- const microsoft_graph_responseType = z.enum([
1753
- "none",
1754
- "organizer",
1755
- "tentativelyAccepted",
1756
- "accepted",
1757
- "declined",
1758
- "notResponded"
1759
- ]);
1760
- const microsoft_graph_responseStatus = z.object({
1761
- response: microsoft_graph_responseType.optional(),
1762
- time: z.string().regex(
1763
- /^[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])$/
1764
- ).datetime({ offset: true }).describe(
1765
- "The date and time when the response was returned. It uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z"
1766
- ).nullish()
1767
- }).passthrough();
1768
- const microsoft_graph_attendee = z.object({
1769
- emailAddress: microsoft_graph_emailAddress.optional(),
1770
- type: microsoft_graph_attendeeType.optional(),
1771
- proposedNewTime: microsoft_graph_timeSlot.optional(),
1772
- status: microsoft_graph_responseStatus.optional()
1773
- }).passthrough();
1774
- const microsoft_graph_weekIndex = z.enum(["first", "second", "third", "fourth", "last"]);
1775
- const microsoft_graph_recurrencePatternType = z.enum([
1776
- "daily",
1777
- "weekly",
1778
- "absoluteMonthly",
1779
- "relativeMonthly",
1780
- "absoluteYearly",
1781
- "relativeYearly"
1782
- ]);
1783
- const microsoft_graph_recurrencePattern = z.object({
1784
- dayOfMonth: z.number().gte(-2147483648).lte(2147483647).describe(
1785
- "The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly."
1786
- ).optional(),
1787
- daysOfWeek: z.array(z.union([microsoft_graph_dayOfWeek, z.object({}).partial().passthrough()])).describe(
1788
- "A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern. Required if type is weekly, relativeMonthly, or relativeYearly."
1789
- ).optional(),
1790
- firstDayOfWeek: microsoft_graph_dayOfWeek.optional(),
1791
- index: microsoft_graph_weekIndex.optional(),
1792
- interval: z.number().gte(-2147483648).lte(2147483647).describe(
1793
- "The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required."
1794
- ).optional(),
1795
- month: z.number().gte(-2147483648).lte(2147483647).describe("The month in which the event occurs. This is a number from 1 to 12.").optional(),
1796
- type: microsoft_graph_recurrencePatternType.optional()
1797
- }).passthrough();
1798
- const microsoft_graph_recurrenceRangeType = z.enum(["endDate", "noEnd", "numbered"]);
1799
- const microsoft_graph_recurrenceRange = z.object({
1800
- endDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
1801
- "The date to stop applying the recurrence pattern. Depending on the recurrence pattern of the event, the last occurrence of the meeting may not be this date. Required if type is endDate."
1802
- ).nullish(),
1803
- numberOfOccurrences: z.number().gte(-2147483648).lte(2147483647).describe(
1804
- "The number of times to repeat the event. Required and must be positive if type is numbered."
1805
- ).optional(),
1806
- recurrenceTimeZone: z.string().describe(
1807
- "Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used."
1808
- ).nullish(),
1809
- startDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
1810
- "The date to start applying the recurrence pattern. The first occurrence of the meeting may be this date or later, depending on the recurrence pattern of the event. Must be the same value as the start property of the recurring event. Required."
1811
- ).nullish(),
1812
- type: microsoft_graph_recurrenceRangeType.optional()
1813
- }).passthrough();
1814
- const microsoft_graph_patternedRecurrence = z.object({
1815
- pattern: microsoft_graph_recurrencePattern.optional(),
1816
- range: microsoft_graph_recurrenceRange.optional()
1817
- }).passthrough();
1818
- const microsoft_graph_event = z.object({
1819
- id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1820
- createdDateTime: z.string().regex(
1821
- /^[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])$/
1822
- ).datetime({ offset: true }).describe(
1823
- "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"
1824
- ).nullish(),
1825
- lastModifiedDateTime: z.string().regex(
1826
- /^[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])$/
1827
- ).datetime({ offset: true }).describe(
1828
- "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"
1829
- ).nullish(),
1830
- type: microsoft_graph_eventType.optional(),
1831
- body: microsoft_graph_itemBody.optional(),
1832
- subject: z.string().describe("The text of the event's subject line.").nullish(),
1833
- attachments: z.array(microsoft_graph_attachment).describe(
1834
- "The collection of FileAttachment, ItemAttachment, and referenceAttachment attachments for the event. Navigation property. Read-only. Nullable."
1835
- ).optional(),
1836
- singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
1837
- "The collection of single-value extended properties defined for the event. Read-only. Nullable."
1838
- ).optional(),
1839
- multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
1840
- "The collection of multi-value extended properties defined for the event. Read-only. Nullable."
1841
- ).optional(),
1842
- start: microsoft_graph_dateTimeTimeZone.optional(),
1843
- end: microsoft_graph_dateTimeTimeZone.optional(),
1844
- location: microsoft_graph_location.optional(),
1845
- showAs: microsoft_graph_freeBusyStatus.optional(),
1846
- sensitivity: microsoft_graph_sensitivity.optional(),
1847
- isAllDay: z.boolean().describe(
1848
- "Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event, start, and endtime must be set to midnight and be in the same time zone."
1849
- ).nullish(),
1850
- importance: microsoft_graph_importance.optional(),
1851
- isOnlineMeeting: z.boolean().describe(
1852
- "True if this event has online meeting information (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise. Default is false (onlineMeeting is null). Optional. After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting. Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online."
1853
- ).nullish(),
1854
- isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
1855
- attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
1856
- recurrence: microsoft_graph_patternedRecurrence.optional(),
1857
- reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe("The number of minutes before the event start time that the reminder alert occurs.").nullish(),
1858
- allowNewTimeProposals: z.boolean().describe(
1859
- "true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
1860
- ).nullish(),
1861
- responseRequested: z.boolean().describe(
1862
- "Default is true, which represents the organizer would like an invitee to send a response to the event."
1863
- ).nullish(),
1864
- categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
1865
- changeKey: z.string().describe(
1866
- "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."
1867
- ).nullish()
1868
- }).passthrough().passthrough();
1869
1874
  const microsoft_graph_calendar = z.object({
1870
1875
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
1871
1876
  allowedOnlineMeetingProviders: z.array(z.union([microsoft_graph_onlineMeetingProviderType, z.object({}).partial().passthrough()])).describe(
@@ -1912,11 +1917,6 @@ const microsoft_graph_calendarCollectionResponse = z.object({
1912
1917
  "@odata.nextLink": z.string().nullable(),
1913
1918
  value: z.array(microsoft_graph_calendar)
1914
1919
  }).partial().passthrough();
1915
- const microsoft_graph_eventCollectionResponse = z.object({
1916
- "@odata.count": z.number().int().nullable(),
1917
- "@odata.nextLink": z.string().nullable(),
1918
- value: z.array(microsoft_graph_event)
1919
- }).partial().passthrough();
1920
1920
  const microsoft_graph_chatCollectionResponse = z.object({
1921
1921
  "@odata.count": z.number().int().nullable(),
1922
1922
  "@odata.nextLink": z.string().nullable(),
@@ -3762,12 +3762,6 @@ const microsoft_graph_roomCollectionResponse = z.object({
3762
3762
  "@odata.nextLink": z.string().nullable(),
3763
3763
  value: z.array(microsoft_graph_room)
3764
3764
  }).partial().passthrough();
3765
- const microsoft_graph_plannerContainerType = z.enum(["group", "unknownFutureValue", "roster"]);
3766
- const microsoft_graph_plannerPlanContainer = z.object({
3767
- containerId: z.string().describe("The identifier of the resource that contains the plan. Optional.").nullish(),
3768
- type: microsoft_graph_plannerContainerType.optional(),
3769
- url: z.string().describe("The full canonical URL of the container. Optional.").nullish()
3770
- }).passthrough();
3771
3765
  const microsoft_graph_plannerBucket = z.object({
3772
3766
  id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
3773
3767
  name: z.string().describe("Name of the bucket.").optional(),
@@ -3777,6 +3771,12 @@ const microsoft_graph_plannerBucket = z.object({
3777
3771
  planId: z.string().describe("Plan ID to which the bucket belongs.").nullish(),
3778
3772
  tasks: z.array(microsoft_graph_plannerTask).describe("Read-only. Nullable. The collection of tasks in the bucket.").optional()
3779
3773
  }).passthrough();
3774
+ const microsoft_graph_plannerContainerType = z.enum(["group", "unknownFutureValue", "roster"]);
3775
+ const microsoft_graph_plannerPlanContainer = z.object({
3776
+ containerId: z.string().describe("The identifier of the resource that contains the plan. Optional.").nullish(),
3777
+ type: microsoft_graph_plannerContainerType.optional(),
3778
+ url: z.string().describe("The full canonical URL of the container. Optional.").nullish()
3779
+ }).passthrough();
3780
3780
  const microsoft_graph_plannerCategoryDescriptions = z.object({
3781
3781
  category1: z.string().describe("The label associated with Category 1").nullish(),
3782
3782
  category10: z.string().describe("The label associated with Category 10").nullish(),
@@ -3827,6 +3827,11 @@ const microsoft_graph_plannerPlan = z.object({
3827
3827
  details: microsoft_graph_plannerPlanDetails.optional(),
3828
3828
  tasks: z.array(microsoft_graph_plannerTask).describe("Read-only. Nullable. Collection of tasks in the plan.").optional()
3829
3829
  }).passthrough();
3830
+ const microsoft_graph_plannerBucketCollectionResponse = z.object({
3831
+ "@odata.count": z.number().int().nullable(),
3832
+ "@odata.nextLink": z.string().nullable(),
3833
+ value: z.array(microsoft_graph_plannerBucket)
3834
+ }).partial().passthrough();
3830
3835
  const microsoft_graph_bucketAggregationRange = z.object({
3831
3836
  from: z.string().describe(
3832
3837
  "Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required."
@@ -4287,6 +4292,11 @@ const microsoft_graph_virtualEventSessionCollectionResponse = z.object({
4287
4292
  "@odata.nextLink": z.string().nullable(),
4288
4293
  value: z.array(microsoft_graph_virtualEventSession)
4289
4294
  }).partial().passthrough();
4295
+ const microsoft_graph_subscriptionCollectionResponse = z.object({
4296
+ "@odata.count": z.number().int().nullable(),
4297
+ "@odata.nextLink": z.string().nullable(),
4298
+ value: z.array(microsoft_graph_subscription)
4299
+ }).partial().passthrough();
4290
4300
  const microsoft_graph_channelCollectionResponse = z.object({
4291
4301
  "@odata.count": z.number().int().nullable(),
4292
4302
  "@odata.nextLink": z.string().nullable(),
@@ -4455,12 +4465,35 @@ const schemas = {
4455
4465
  microsoft_graph_licenseProcessingState,
4456
4466
  microsoft_graph_group,
4457
4467
  microsoft_graph_groupCollectionResponse,
4468
+ microsoft_graph_eventType,
4469
+ microsoft_graph_attachment,
4470
+ microsoft_graph_singleValueLegacyExtendedProperty,
4471
+ microsoft_graph_multiValueLegacyExtendedProperty,
4472
+ microsoft_graph_physicalAddress,
4473
+ microsoft_graph_outlookGeoCoordinates,
4474
+ microsoft_graph_locationType,
4475
+ microsoft_graph_locationUniqueIdType,
4476
+ microsoft_graph_location,
4477
+ microsoft_graph_freeBusyStatus,
4478
+ microsoft_graph_sensitivity,
4479
+ microsoft_graph_importance,
4458
4480
  microsoft_graph_emailAddress,
4481
+ microsoft_graph_attendeeType,
4482
+ microsoft_graph_timeSlot,
4483
+ microsoft_graph_responseType,
4484
+ microsoft_graph_responseStatus,
4485
+ microsoft_graph_attendee,
4486
+ microsoft_graph_dayOfWeek,
4487
+ microsoft_graph_weekIndex,
4488
+ microsoft_graph_recurrencePatternType,
4489
+ microsoft_graph_recurrencePattern,
4490
+ microsoft_graph_recurrenceRangeType,
4491
+ microsoft_graph_recurrenceRange,
4492
+ microsoft_graph_patternedRecurrence,
4493
+ microsoft_graph_event,
4494
+ microsoft_graph_eventCollectionResponse,
4459
4495
  microsoft_graph_recipient,
4460
- microsoft_graph_attachment,
4461
4496
  microsoft_graph_extension,
4462
- microsoft_graph_multiValueLegacyExtendedProperty,
4463
- microsoft_graph_singleValueLegacyExtendedProperty,
4464
4497
  microsoft_graph_post,
4465
4498
  microsoft_graph_conversationThread,
4466
4499
  microsoft_graph_conversation,
@@ -4472,9 +4505,7 @@ const schemas = {
4472
4505
  reply_to_group_thread_Body,
4473
4506
  get_schedule_Body,
4474
4507
  microsoft_graph_freeBusyError,
4475
- microsoft_graph_freeBusyStatus,
4476
4508
  microsoft_graph_scheduleItem,
4477
- microsoft_graph_dayOfWeek,
4478
4509
  microsoft_graph_timeZoneBase,
4479
4510
  microsoft_graph_workingHours,
4480
4511
  microsoft_graph_scheduleInformation,
@@ -4482,29 +4513,8 @@ const schemas = {
4482
4513
  microsoft_graph_calendarColor,
4483
4514
  microsoft_graph_calendarRoleType,
4484
4515
  microsoft_graph_calendarPermission,
4485
- microsoft_graph_eventType,
4486
- microsoft_graph_physicalAddress,
4487
- microsoft_graph_outlookGeoCoordinates,
4488
- microsoft_graph_locationType,
4489
- microsoft_graph_locationUniqueIdType,
4490
- microsoft_graph_location,
4491
- microsoft_graph_sensitivity,
4492
- microsoft_graph_importance,
4493
- microsoft_graph_attendeeType,
4494
- microsoft_graph_timeSlot,
4495
- microsoft_graph_responseType,
4496
- microsoft_graph_responseStatus,
4497
- microsoft_graph_attendee,
4498
- microsoft_graph_weekIndex,
4499
- microsoft_graph_recurrencePatternType,
4500
- microsoft_graph_recurrencePattern,
4501
- microsoft_graph_recurrenceRangeType,
4502
- microsoft_graph_recurrenceRange,
4503
- microsoft_graph_patternedRecurrence,
4504
- microsoft_graph_event,
4505
4516
  microsoft_graph_calendar,
4506
4517
  microsoft_graph_calendarCollectionResponse,
4507
- microsoft_graph_eventCollectionResponse,
4508
4518
  microsoft_graph_chatCollectionResponse,
4509
4519
  microsoft_graph_contact,
4510
4520
  microsoft_graph_contactCollectionResponse,
@@ -4685,13 +4695,14 @@ const schemas = {
4685
4695
  microsoft_graph_workspace,
4686
4696
  microsoft_graph_roomList,
4687
4697
  microsoft_graph_roomCollectionResponse,
4698
+ microsoft_graph_plannerBucket,
4688
4699
  microsoft_graph_plannerContainerType,
4689
4700
  microsoft_graph_plannerPlanContainer,
4690
- microsoft_graph_plannerBucket,
4691
4701
  microsoft_graph_plannerCategoryDescriptions,
4692
4702
  microsoft_graph_plannerUserIds,
4693
4703
  microsoft_graph_plannerPlanDetails,
4694
4704
  microsoft_graph_plannerPlan,
4705
+ microsoft_graph_plannerBucketCollectionResponse,
4695
4706
  microsoft_graph_bucketAggregationRange,
4696
4707
  microsoft_graph_bucketAggregationSortProperty,
4697
4708
  microsoft_graph_bucketAggregationDefinition,
@@ -4742,6 +4753,7 @@ const schemas = {
4742
4753
  microsoft_graph_virtualEventRegistration,
4743
4754
  microsoft_graph_virtualEventWebinar,
4744
4755
  microsoft_graph_virtualEventSessionCollectionResponse,
4756
+ microsoft_graph_subscriptionCollectionResponse,
4745
4757
  microsoft_graph_channelCollectionResponse,
4746
4758
  microsoft_graph_teamsTabCollectionResponse,
4747
4759
  microsoft_graph_userCollectionResponse
@@ -6185,6 +6197,71 @@ You can create or update the following types of group: By default, this operatio
6185
6197
  ],
6186
6198
  response: z.void()
6187
6199
  },
6200
+ {
6201
+ method: "get",
6202
+ path: "/groups/:groupId/calendarView",
6203
+ alias: "get-group-calendar-view",
6204
+ description: `Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range,
6205
+ from the default calendar of a group.`,
6206
+ requestFormat: "json",
6207
+ parameters: [
6208
+ {
6209
+ name: "startDateTime",
6210
+ type: "Query",
6211
+ schema: z.string().describe(
6212
+ "The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00"
6213
+ )
6214
+ },
6215
+ {
6216
+ name: "endDateTime",
6217
+ type: "Query",
6218
+ schema: z.string().describe(
6219
+ "The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00"
6220
+ )
6221
+ },
6222
+ {
6223
+ name: "$top",
6224
+ type: "Query",
6225
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6226
+ },
6227
+ {
6228
+ name: "$skip",
6229
+ type: "Query",
6230
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6231
+ },
6232
+ {
6233
+ name: "$search",
6234
+ type: "Query",
6235
+ schema: z.string().describe("Search items by search phrases").optional()
6236
+ },
6237
+ {
6238
+ name: "$filter",
6239
+ type: "Query",
6240
+ schema: z.string().describe("Filter items by property values").optional()
6241
+ },
6242
+ {
6243
+ name: "$count",
6244
+ type: "Query",
6245
+ schema: z.boolean().describe("Include count of items").optional()
6246
+ },
6247
+ {
6248
+ name: "$orderby",
6249
+ type: "Query",
6250
+ schema: z.array(z.string()).describe("Order items by property values").optional()
6251
+ },
6252
+ {
6253
+ name: "$select",
6254
+ type: "Query",
6255
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
6256
+ },
6257
+ {
6258
+ name: "$expand",
6259
+ type: "Query",
6260
+ schema: z.array(z.string()).describe("Expand related entities").optional()
6261
+ }
6262
+ ],
6263
+ response: z.void()
6264
+ },
6188
6265
  {
6189
6266
  method: "get",
6190
6267
  path: "/groups/:groupId/conversations",
@@ -6235,6 +6312,56 @@ You can create or update the following types of group: By default, this operatio
6235
6312
  ],
6236
6313
  response: z.void()
6237
6314
  },
6315
+ {
6316
+ method: "get",
6317
+ path: "/groups/:groupId/events",
6318
+ alias: "list-group-events",
6319
+ description: `Retrieve a list of event objects.`,
6320
+ requestFormat: "json",
6321
+ parameters: [
6322
+ {
6323
+ name: "$top",
6324
+ type: "Query",
6325
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
6326
+ },
6327
+ {
6328
+ name: "$skip",
6329
+ type: "Query",
6330
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
6331
+ },
6332
+ {
6333
+ name: "$search",
6334
+ type: "Query",
6335
+ schema: z.string().describe("Search items by search phrases").optional()
6336
+ },
6337
+ {
6338
+ name: "$filter",
6339
+ type: "Query",
6340
+ schema: z.string().describe("Filter items by property values").optional()
6341
+ },
6342
+ {
6343
+ name: "$count",
6344
+ type: "Query",
6345
+ schema: z.boolean().describe("Include count of items").optional()
6346
+ },
6347
+ {
6348
+ name: "$orderby",
6349
+ type: "Query",
6350
+ schema: z.array(z.string()).describe("Order items by property values").optional()
6351
+ },
6352
+ {
6353
+ name: "$select",
6354
+ type: "Query",
6355
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
6356
+ },
6357
+ {
6358
+ name: "$expand",
6359
+ type: "Query",
6360
+ schema: z.array(z.string()).describe("Expand related entities").optional()
6361
+ }
6362
+ ],
6363
+ response: z.void()
6364
+ },
6238
6365
  {
6239
6366
  method: "get",
6240
6367
  path: "/groups/:groupId/members",
@@ -10173,6 +10300,78 @@ For example, if the user uploads a photo that is 504x504 pixels, all but the 648
10173
10300
  ],
10174
10301
  response: z.void()
10175
10302
  },
10303
+ {
10304
+ method: "post",
10305
+ path: "/planner/buckets",
10306
+ alias: "create-planner-bucket",
10307
+ description: `Create a new plannerBucket object.`,
10308
+ requestFormat: "json",
10309
+ parameters: [
10310
+ {
10311
+ name: "body",
10312
+ description: `New navigation property`,
10313
+ type: "Body",
10314
+ schema: microsoft_graph_plannerBucket
10315
+ }
10316
+ ],
10317
+ response: z.void()
10318
+ },
10319
+ {
10320
+ method: "get",
10321
+ path: "/planner/buckets/:plannerBucketId",
10322
+ alias: "get-planner-bucket",
10323
+ description: `Retrieve the properties and relationships of a plannerBucket object.`,
10324
+ requestFormat: "json",
10325
+ parameters: [
10326
+ {
10327
+ name: "$select",
10328
+ type: "Query",
10329
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
10330
+ },
10331
+ {
10332
+ name: "$expand",
10333
+ type: "Query",
10334
+ schema: z.array(z.string()).describe("Expand related entities").optional()
10335
+ }
10336
+ ],
10337
+ response: z.void()
10338
+ },
10339
+ {
10340
+ method: "patch",
10341
+ path: "/planner/buckets/:plannerBucketId",
10342
+ alias: "update-planner-bucket",
10343
+ description: `Update the properties of plannerbucket object.`,
10344
+ requestFormat: "json",
10345
+ parameters: [
10346
+ {
10347
+ name: "body",
10348
+ description: `New navigation property values`,
10349
+ type: "Body",
10350
+ schema: microsoft_graph_plannerBucket
10351
+ },
10352
+ {
10353
+ name: "If-Match",
10354
+ type: "Header",
10355
+ schema: z.string().describe("ETag value.")
10356
+ }
10357
+ ],
10358
+ response: z.void()
10359
+ },
10360
+ {
10361
+ method: "delete",
10362
+ path: "/planner/buckets/:plannerBucketId",
10363
+ alias: "delete-planner-bucket",
10364
+ description: `Delete plannerBucket.`,
10365
+ requestFormat: "json",
10366
+ parameters: [
10367
+ {
10368
+ name: "If-Match",
10369
+ type: "Header",
10370
+ schema: z.string().describe("ETag").optional()
10371
+ }
10372
+ ],
10373
+ response: z.void()
10374
+ },
10176
10375
  {
10177
10376
  method: "get",
10178
10377
  path: "/planner/plans/:plannerPlanId",
@@ -10193,6 +10392,56 @@ For example, if the user uploads a photo that is 504x504 pixels, all but the 648
10193
10392
  ],
10194
10393
  response: z.void()
10195
10394
  },
10395
+ {
10396
+ method: "get",
10397
+ path: "/planner/plans/:plannerPlanId/buckets",
10398
+ alias: "list-plan-buckets",
10399
+ description: `Retrieve a list of plannerBucket objects contained by a plannerPlan object.`,
10400
+ requestFormat: "json",
10401
+ parameters: [
10402
+ {
10403
+ name: "$top",
10404
+ type: "Query",
10405
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
10406
+ },
10407
+ {
10408
+ name: "$skip",
10409
+ type: "Query",
10410
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
10411
+ },
10412
+ {
10413
+ name: "$search",
10414
+ type: "Query",
10415
+ schema: z.string().describe("Search items by search phrases").optional()
10416
+ },
10417
+ {
10418
+ name: "$filter",
10419
+ type: "Query",
10420
+ schema: z.string().describe("Filter items by property values").optional()
10421
+ },
10422
+ {
10423
+ name: "$count",
10424
+ type: "Query",
10425
+ schema: z.boolean().describe("Include count of items").optional()
10426
+ },
10427
+ {
10428
+ name: "$orderby",
10429
+ type: "Query",
10430
+ schema: z.array(z.string()).describe("Order items by property values").optional()
10431
+ },
10432
+ {
10433
+ name: "$select",
10434
+ type: "Query",
10435
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
10436
+ },
10437
+ {
10438
+ name: "$expand",
10439
+ type: "Query",
10440
+ schema: z.array(z.string()).describe("Expand related entities").optional()
10441
+ }
10442
+ ],
10443
+ response: z.void()
10444
+ },
10196
10445
  {
10197
10446
  method: "get",
10198
10447
  path: "/planner/plans/:plannerPlanId/tasks",
@@ -10881,6 +11130,164 @@ To list them, include system in your $select statement.`,
10881
11130
  ],
10882
11131
  response: z.void()
10883
11132
  },
11133
+ {
11134
+ method: "get",
11135
+ path: "/sites/:siteId/onenote/notebooks",
11136
+ alias: "list-sharepoint-site-onenote-notebooks",
11137
+ description: `The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable.`,
11138
+ requestFormat: "json",
11139
+ parameters: [
11140
+ {
11141
+ name: "$top",
11142
+ type: "Query",
11143
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
11144
+ },
11145
+ {
11146
+ name: "$skip",
11147
+ type: "Query",
11148
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
11149
+ },
11150
+ {
11151
+ name: "$search",
11152
+ type: "Query",
11153
+ schema: z.string().describe("Search items by search phrases").optional()
11154
+ },
11155
+ {
11156
+ name: "$filter",
11157
+ type: "Query",
11158
+ schema: z.string().describe("Filter items by property values").optional()
11159
+ },
11160
+ {
11161
+ name: "$count",
11162
+ type: "Query",
11163
+ schema: z.boolean().describe("Include count of items").optional()
11164
+ },
11165
+ {
11166
+ name: "$orderby",
11167
+ type: "Query",
11168
+ schema: z.array(z.string()).describe("Order items by property values").optional()
11169
+ },
11170
+ {
11171
+ name: "$select",
11172
+ type: "Query",
11173
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
11174
+ },
11175
+ {
11176
+ name: "$expand",
11177
+ type: "Query",
11178
+ schema: z.array(z.string()).describe("Expand related entities").optional()
11179
+ }
11180
+ ],
11181
+ response: z.void()
11182
+ },
11183
+ {
11184
+ method: "get",
11185
+ path: "/sites/:siteId/onenote/notebooks/:notebookId/sections",
11186
+ alias: "list-sharepoint-site-onenote-notebook-sections",
11187
+ description: `The sections in the notebook. Read-only. Nullable.`,
11188
+ requestFormat: "json",
11189
+ parameters: [
11190
+ {
11191
+ name: "$top",
11192
+ type: "Query",
11193
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
11194
+ },
11195
+ {
11196
+ name: "$skip",
11197
+ type: "Query",
11198
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
11199
+ },
11200
+ {
11201
+ name: "$search",
11202
+ type: "Query",
11203
+ schema: z.string().describe("Search items by search phrases").optional()
11204
+ },
11205
+ {
11206
+ name: "$filter",
11207
+ type: "Query",
11208
+ schema: z.string().describe("Filter items by property values").optional()
11209
+ },
11210
+ {
11211
+ name: "$count",
11212
+ type: "Query",
11213
+ schema: z.boolean().describe("Include count of items").optional()
11214
+ },
11215
+ {
11216
+ name: "$orderby",
11217
+ type: "Query",
11218
+ schema: z.array(z.string()).describe("Order items by property values").optional()
11219
+ },
11220
+ {
11221
+ name: "$select",
11222
+ type: "Query",
11223
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
11224
+ },
11225
+ {
11226
+ name: "$expand",
11227
+ type: "Query",
11228
+ schema: z.array(z.string()).describe("Expand related entities").optional()
11229
+ }
11230
+ ],
11231
+ response: z.void()
11232
+ },
11233
+ {
11234
+ method: "get",
11235
+ path: "/sites/:siteId/onenote/pages/:onenotePageId/content",
11236
+ alias: "get-sharepoint-site-onenote-page-content",
11237
+ description: `The page's HTML content.`,
11238
+ requestFormat: "json",
11239
+ response: z.void()
11240
+ },
11241
+ {
11242
+ method: "get",
11243
+ path: "/sites/:siteId/onenote/sections/:onenoteSectionId/pages",
11244
+ alias: "list-sharepoint-site-onenote-section-pages",
11245
+ description: `The collection of pages in the section. Read-only. Nullable.`,
11246
+ requestFormat: "json",
11247
+ parameters: [
11248
+ {
11249
+ name: "$top",
11250
+ type: "Query",
11251
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
11252
+ },
11253
+ {
11254
+ name: "$skip",
11255
+ type: "Query",
11256
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
11257
+ },
11258
+ {
11259
+ name: "$search",
11260
+ type: "Query",
11261
+ schema: z.string().describe("Search items by search phrases").optional()
11262
+ },
11263
+ {
11264
+ name: "$filter",
11265
+ type: "Query",
11266
+ schema: z.string().describe("Filter items by property values").optional()
11267
+ },
11268
+ {
11269
+ name: "$count",
11270
+ type: "Query",
11271
+ schema: z.boolean().describe("Include count of items").optional()
11272
+ },
11273
+ {
11274
+ name: "$orderby",
11275
+ type: "Query",
11276
+ schema: z.array(z.string()).describe("Order items by property values").optional()
11277
+ },
11278
+ {
11279
+ name: "$select",
11280
+ type: "Query",
11281
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
11282
+ },
11283
+ {
11284
+ name: "$expand",
11285
+ type: "Query",
11286
+ schema: z.array(z.string()).describe("Expand related entities").optional()
11287
+ }
11288
+ ],
11289
+ response: z.void()
11290
+ },
10884
11291
  {
10885
11292
  method: "get",
10886
11293
  path: "/sites/delta()",
@@ -11008,6 +11415,126 @@ To monitor future changes, call the delta API by using the @odata.deltaLink in t
11008
11415
  ],
11009
11416
  response: z.void()
11010
11417
  },
11418
+ {
11419
+ method: "get",
11420
+ path: "/subscriptions",
11421
+ alias: "list-subscriptions",
11422
+ description: `Retrieve the properties and relationships of webhook subscriptions, based on the app ID, the user, and the user's role with a tenant. The content of the response depends on the context in which the app is calling; for details, see the scenarios in the Permissions section.`,
11423
+ requestFormat: "json",
11424
+ parameters: [
11425
+ {
11426
+ name: "$top",
11427
+ type: "Query",
11428
+ schema: z.number().int().gte(0).describe("Show only the first n items").optional()
11429
+ },
11430
+ {
11431
+ name: "$skip",
11432
+ type: "Query",
11433
+ schema: z.number().int().gte(0).describe("Skip the first n items").optional()
11434
+ },
11435
+ {
11436
+ name: "$search",
11437
+ type: "Query",
11438
+ schema: z.string().describe("Search items by search phrases").optional()
11439
+ },
11440
+ {
11441
+ name: "$filter",
11442
+ type: "Query",
11443
+ schema: z.string().describe("Filter items by property values").optional()
11444
+ },
11445
+ {
11446
+ name: "$count",
11447
+ type: "Query",
11448
+ schema: z.boolean().describe("Include count of items").optional()
11449
+ },
11450
+ {
11451
+ name: "$orderby",
11452
+ type: "Query",
11453
+ schema: z.array(z.string()).describe("Order items by property values").optional()
11454
+ },
11455
+ {
11456
+ name: "$select",
11457
+ type: "Query",
11458
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
11459
+ },
11460
+ {
11461
+ name: "$expand",
11462
+ type: "Query",
11463
+ schema: z.array(z.string()).describe("Expand related entities").optional()
11464
+ }
11465
+ ],
11466
+ response: z.void()
11467
+ },
11468
+ {
11469
+ method: "post",
11470
+ path: "/subscriptions",
11471
+ alias: "create-subscription",
11472
+ description: `Subscribes a listener application to receive change notifications when the requested type of changes occur to the specified resource in Microsoft Graph. To identify the resources for which you can create subscriptions and the limitations on subscriptions, see Set up notifications for changes in resource data: Supported resources. Some resources support rich notifications, that is, notifications that include resource data. For more information about these resources, see Set up change notifications that include resource data: Supported resources.`,
11473
+ requestFormat: "json",
11474
+ parameters: [
11475
+ {
11476
+ name: "body",
11477
+ description: `New entity`,
11478
+ type: "Body",
11479
+ schema: microsoft_graph_subscription
11480
+ }
11481
+ ],
11482
+ response: z.void()
11483
+ },
11484
+ {
11485
+ method: "get",
11486
+ path: "/subscriptions/:subscriptionId",
11487
+ alias: "get-subscription",
11488
+ description: `Retrieve the properties and relationships of a subscription. See the table in the Permissions section for the list of resources that support subscribing to change notifications.`,
11489
+ requestFormat: "json",
11490
+ parameters: [
11491
+ {
11492
+ name: "$select",
11493
+ type: "Query",
11494
+ schema: z.array(z.string()).describe("Select properties to be returned").optional()
11495
+ }
11496
+ ],
11497
+ response: z.void()
11498
+ },
11499
+ {
11500
+ method: "patch",
11501
+ path: "/subscriptions/:subscriptionId",
11502
+ alias: "update-subscription",
11503
+ description: `Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type.`,
11504
+ requestFormat: "json",
11505
+ parameters: [
11506
+ {
11507
+ name: "body",
11508
+ description: `New property values`,
11509
+ type: "Body",
11510
+ schema: microsoft_graph_subscription
11511
+ }
11512
+ ],
11513
+ response: z.void()
11514
+ },
11515
+ {
11516
+ method: "delete",
11517
+ path: "/subscriptions/:subscriptionId",
11518
+ alias: "delete-subscription",
11519
+ description: `Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.`,
11520
+ requestFormat: "json",
11521
+ parameters: [
11522
+ {
11523
+ name: "If-Match",
11524
+ type: "Header",
11525
+ schema: z.string().describe("ETag").optional()
11526
+ }
11527
+ ],
11528
+ response: z.void()
11529
+ },
11530
+ {
11531
+ method: "post",
11532
+ path: "/subscriptions/:subscriptionId/reauthorize",
11533
+ alias: "reauthorize-subscription",
11534
+ description: `Reauthorize a subscription when you receive a reauthorizationRequired challenge.`,
11535
+ requestFormat: "json",
11536
+ response: z.void()
11537
+ },
11011
11538
  {
11012
11539
  method: "get",
11013
11540
  path: "/teams/:teamId",