@softeria/ms-365-mcp-server 0.43.0 → 0.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/modules/generate-mcp-tools.mjs +1 -4
- package/bin/modules/simplified-openapi.mjs +16 -0
- package/dist/generated/client.js +571 -591
- package/dist/graph-tools.js +1 -1
- package/logs/mcp-server.log +10 -10
- package/package.json +1 -1
package/dist/generated/client.js
CHANGED
|
@@ -20,12 +20,12 @@ const microsoft_graph_teamworkUserIdentity = z.object({
|
|
|
20
20
|
"Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
|
|
21
21
|
).nullish(),
|
|
22
22
|
userIdentityType: microsoft_graph_teamworkUserIdentityType.optional()
|
|
23
|
-
}).
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const microsoft_graph_teamworkOnlineMeetingInfo = z.object({
|
|
25
25
|
calendarEventId: z.string().describe("The identifier of the calendar event associated with the meeting.").nullish(),
|
|
26
26
|
joinWebUrl: z.string().describe("The URL that users click to join or uniquely identify the meeting.").nullish(),
|
|
27
27
|
organizer: microsoft_graph_teamworkUserIdentity.optional()
|
|
28
|
-
}).
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const microsoft_graph_chatViewpoint = z.object({
|
|
30
30
|
isHidden: z.boolean().describe("Indicates whether the chat is hidden for the current user.").nullish(),
|
|
31
31
|
lastMessageReadDateTime: z.string().regex(
|
|
@@ -33,7 +33,7 @@ const microsoft_graph_chatViewpoint = z.object({
|
|
|
33
33
|
).datetime({ offset: true }).describe(
|
|
34
34
|
"Represents the dateTime up until which the current user has read chatMessages in a specific chat."
|
|
35
35
|
).nullish()
|
|
36
|
-
}).
|
|
36
|
+
}).passthrough();
|
|
37
37
|
const microsoft_graph_teamsAppResourceSpecificPermissionType = z.enum([
|
|
38
38
|
"delegated",
|
|
39
39
|
"application",
|
|
@@ -42,10 +42,10 @@ const microsoft_graph_teamsAppResourceSpecificPermissionType = z.enum([
|
|
|
42
42
|
const microsoft_graph_teamsAppResourceSpecificPermission = z.object({
|
|
43
43
|
permissionType: microsoft_graph_teamsAppResourceSpecificPermissionType.optional(),
|
|
44
44
|
permissionValue: z.string().describe("The name of the resource-specific permission.").nullish()
|
|
45
|
-
}).
|
|
45
|
+
}).passthrough();
|
|
46
46
|
const microsoft_graph_teamsAppPermissionSet = z.object({
|
|
47
47
|
resourceSpecificPermissions: z.array(microsoft_graph_teamsAppResourceSpecificPermission).describe("A collection of resource-specific permissions.").optional()
|
|
48
|
-
}).
|
|
48
|
+
}).passthrough();
|
|
49
49
|
const microsoft_graph_teamsAppDistributionMethod = z.enum([
|
|
50
50
|
"store",
|
|
51
51
|
"organization",
|
|
@@ -55,7 +55,7 @@ const microsoft_graph_teamsAppDistributionMethod = z.enum([
|
|
|
55
55
|
const microsoft_graph_teamsAppAuthorization = z.object({
|
|
56
56
|
clientAppId: z.string().describe("The registration ID of the Microsoft Entra app ID associated with the teamsApp.").nullish(),
|
|
57
57
|
requiredPermissionSet: microsoft_graph_teamsAppPermissionSet.optional()
|
|
58
|
-
}).
|
|
58
|
+
}).passthrough();
|
|
59
59
|
const microsoft_graph_identity = z.object({
|
|
60
60
|
displayName: z.string().describe(
|
|
61
61
|
"The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
|
|
@@ -63,19 +63,19 @@ const microsoft_graph_identity = z.object({
|
|
|
63
63
|
id: z.string().describe(
|
|
64
64
|
"Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
|
|
65
65
|
).nullish()
|
|
66
|
-
}).
|
|
66
|
+
}).passthrough();
|
|
67
67
|
const microsoft_graph_identitySet = z.object({
|
|
68
68
|
application: microsoft_graph_identity.optional(),
|
|
69
69
|
device: microsoft_graph_identity.optional(),
|
|
70
70
|
user: microsoft_graph_identity.optional()
|
|
71
|
-
}).
|
|
71
|
+
}).passthrough();
|
|
72
72
|
const microsoft_graph_teamsAppPublishingState = z.enum([
|
|
73
73
|
"submitted",
|
|
74
74
|
"rejected",
|
|
75
75
|
"published",
|
|
76
76
|
"unknownFutureValue"
|
|
77
77
|
]);
|
|
78
|
-
const microsoft_graph_teamworkBot = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
78
|
+
const microsoft_graph_teamworkBot = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
79
79
|
const microsoft_graph_teamsAppDefinition = z.object({
|
|
80
80
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
81
81
|
authorization: microsoft_graph_teamsAppAuthorization.optional(),
|
|
@@ -90,7 +90,7 @@ const microsoft_graph_teamsAppDefinition = z.object({
|
|
|
90
90
|
teamsAppId: z.string().describe("The ID from the Teams app manifest.").nullish(),
|
|
91
91
|
version: z.string().describe("The version number of the application.").nullish(),
|
|
92
92
|
bot: microsoft_graph_teamworkBot.optional()
|
|
93
|
-
}).
|
|
93
|
+
}).passthrough();
|
|
94
94
|
const microsoft_graph_teamsApp = z.object({
|
|
95
95
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
96
96
|
displayName: z.string().describe(
|
|
@@ -101,24 +101,24 @@ const microsoft_graph_teamsApp = z.object({
|
|
|
101
101
|
"The ID of the catalog provided by the app developer in the Microsoft Teams zip app package."
|
|
102
102
|
).nullish(),
|
|
103
103
|
appDefinitions: z.array(microsoft_graph_teamsAppDefinition).describe("The details for each version of the app.").optional()
|
|
104
|
-
}).
|
|
104
|
+
}).passthrough();
|
|
105
105
|
const microsoft_graph_teamsAppInstallation = z.object({
|
|
106
106
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
107
107
|
consentedPermissionSet: microsoft_graph_teamsAppPermissionSet.optional(),
|
|
108
108
|
teamsApp: microsoft_graph_teamsApp.optional(),
|
|
109
109
|
teamsAppDefinition: microsoft_graph_teamsAppDefinition.optional()
|
|
110
|
-
}).
|
|
110
|
+
}).passthrough();
|
|
111
111
|
const microsoft_graph_bodyType = z.enum(["text", "html"]);
|
|
112
112
|
const microsoft_graph_itemBody = z.object({
|
|
113
113
|
content: z.string().describe("The content of the item.").nullish(),
|
|
114
114
|
contentType: microsoft_graph_bodyType.optional()
|
|
115
|
-
}).
|
|
116
|
-
const microsoft_graph_eventMessageDetail = z.object({}).
|
|
115
|
+
}).passthrough();
|
|
116
|
+
const microsoft_graph_eventMessageDetail = z.object({}).passthrough();
|
|
117
117
|
const microsoft_graph_chatMessageFromIdentitySet = z.object({
|
|
118
118
|
application: microsoft_graph_identity.optional(),
|
|
119
119
|
device: microsoft_graph_identity.optional(),
|
|
120
120
|
user: microsoft_graph_identity.optional()
|
|
121
|
-
}).
|
|
121
|
+
}).passthrough();
|
|
122
122
|
const microsoft_graph_chatMessageType = z.enum([
|
|
123
123
|
"message",
|
|
124
124
|
"chatEvent",
|
|
@@ -136,7 +136,7 @@ const microsoft_graph_chatMessageInfo = z.object({
|
|
|
136
136
|
from: microsoft_graph_chatMessageFromIdentitySet.optional(),
|
|
137
137
|
isDeleted: z.boolean().describe("If set to true, the original message has been deleted.").nullish(),
|
|
138
138
|
messageType: microsoft_graph_chatMessageType.optional()
|
|
139
|
-
}).
|
|
139
|
+
}).passthrough();
|
|
140
140
|
const microsoft_graph_conversationMember = z.object({
|
|
141
141
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
142
142
|
displayName: z.string().describe("The display name of the user.").nullish(),
|
|
@@ -148,7 +148,7 @@ const microsoft_graph_conversationMember = z.object({
|
|
|
148
148
|
).datetime({ offset: true }).describe(
|
|
149
149
|
"The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is settable only for members of a chat."
|
|
150
150
|
).nullish()
|
|
151
|
-
}).
|
|
151
|
+
}).passthrough();
|
|
152
152
|
const microsoft_graph_chatMessageAttachment = z.object({
|
|
153
153
|
content: z.string().describe(
|
|
154
154
|
"The content of the attachment. If the attachment is a rich card, set the property to the rich card object. This property and contentUrl are mutually exclusive."
|
|
@@ -165,11 +165,11 @@ const microsoft_graph_chatMessageAttachment = z.object({
|
|
|
165
165
|
thumbnailUrl: z.string().describe(
|
|
166
166
|
"The URL to a thumbnail image that the channel can use if it supports using an alternative, smaller form of content or contentUrl. For example, if you set contentType to application/word and set contentUrl to the location of the Word document, you might include a thumbnail image that represents the document. The channel could display the thumbnail image instead of the document. When the user selects the image, the channel would open the document."
|
|
167
167
|
).nullish()
|
|
168
|
-
}).
|
|
168
|
+
}).passthrough();
|
|
169
169
|
const microsoft_graph_channelIdentity = z.object({
|
|
170
170
|
channelId: z.string().describe("The identity of the channel in which the message was posted.").nullish(),
|
|
171
171
|
teamId: z.string().describe("The identity of the team in which the message was posted.").nullish()
|
|
172
|
-
}).
|
|
172
|
+
}).passthrough();
|
|
173
173
|
const microsoft_graph_chatMessageImportance = z.enum([
|
|
174
174
|
"normal",
|
|
175
175
|
"high",
|
|
@@ -190,13 +190,13 @@ const microsoft_graph_teamworkConversationIdentity = z.object({
|
|
|
190
190
|
"Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
|
|
191
191
|
).nullish(),
|
|
192
192
|
conversationIdentityType: microsoft_graph_teamworkConversationIdentityType.optional()
|
|
193
|
-
}).
|
|
193
|
+
}).passthrough();
|
|
194
194
|
const microsoft_graph_chatMessageMentionedIdentitySet = z.object({
|
|
195
195
|
application: microsoft_graph_identity.optional(),
|
|
196
196
|
device: microsoft_graph_identity.optional(),
|
|
197
197
|
user: microsoft_graph_identity.optional(),
|
|
198
198
|
conversation: microsoft_graph_teamworkConversationIdentity.optional()
|
|
199
|
-
}).
|
|
199
|
+
}).passthrough();
|
|
200
200
|
const microsoft_graph_chatMessageMention = z.object({
|
|
201
201
|
id: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
202
202
|
"Index of an entity being mentioned in the specified chatMessage. Matches the {index} value in the corresponding <at id='{index}'> tag in the message body."
|
|
@@ -205,7 +205,7 @@ const microsoft_graph_chatMessageMention = z.object({
|
|
|
205
205
|
mentionText: z.string().describe(
|
|
206
206
|
"String used to represent the mention. For example, a user's display name, a team name."
|
|
207
207
|
).nullish()
|
|
208
|
-
}).
|
|
208
|
+
}).passthrough();
|
|
209
209
|
const microsoft_graph_chatMessageActions = z.enum([
|
|
210
210
|
"reactionAdded",
|
|
211
211
|
"reactionRemoved",
|
|
@@ -216,7 +216,7 @@ const microsoft_graph_chatMessageReactionIdentitySet = z.object({
|
|
|
216
216
|
application: microsoft_graph_identity.optional(),
|
|
217
217
|
device: microsoft_graph_identity.optional(),
|
|
218
218
|
user: microsoft_graph_identity.optional()
|
|
219
|
-
}).
|
|
219
|
+
}).passthrough();
|
|
220
220
|
const microsoft_graph_chatMessageReaction = z.object({
|
|
221
221
|
createdDateTime: z.string().regex(
|
|
222
222
|
/^[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])$/
|
|
@@ -229,14 +229,14 @@ const microsoft_graph_chatMessageReaction = z.object({
|
|
|
229
229
|
"The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised."
|
|
230
230
|
).optional(),
|
|
231
231
|
user: microsoft_graph_chatMessageReactionIdentitySet.optional()
|
|
232
|
-
}).
|
|
232
|
+
}).passthrough();
|
|
233
233
|
const microsoft_graph_chatMessageHistoryItem = z.object({
|
|
234
234
|
actions: microsoft_graph_chatMessageActions.optional(),
|
|
235
235
|
modifiedDateTime: z.string().regex(
|
|
236
236
|
/^[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])$/
|
|
237
237
|
).datetime({ offset: true }).describe("The date and time when the message was modified.").optional(),
|
|
238
238
|
reaction: microsoft_graph_chatMessageReaction.optional()
|
|
239
|
-
}).
|
|
239
|
+
}).passthrough();
|
|
240
240
|
const microsoft_graph_chatMessagePolicyViolationDlpActionTypes = z.enum([
|
|
241
241
|
"none",
|
|
242
242
|
"notifySender",
|
|
@@ -251,7 +251,7 @@ const microsoft_graph_chatMessagePolicyViolationPolicyTip = z.object({
|
|
|
251
251
|
matchedConditionDescriptions: z.array(z.string().nullable()).describe(
|
|
252
252
|
"The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'."
|
|
253
253
|
).optional()
|
|
254
|
-
}).
|
|
254
|
+
}).passthrough();
|
|
255
255
|
const microsoft_graph_chatMessagePolicyViolationUserActionTypes = z.enum([
|
|
256
256
|
"none",
|
|
257
257
|
"override",
|
|
@@ -271,12 +271,12 @@ const microsoft_graph_chatMessagePolicyViolation = z.object({
|
|
|
271
271
|
policyTip: microsoft_graph_chatMessagePolicyViolationPolicyTip.optional(),
|
|
272
272
|
userAction: microsoft_graph_chatMessagePolicyViolationUserActionTypes.optional(),
|
|
273
273
|
verdictDetails: microsoft_graph_chatMessagePolicyViolationVerdictDetailsTypes.optional()
|
|
274
|
-
}).
|
|
274
|
+
}).passthrough();
|
|
275
275
|
const microsoft_graph_chatMessageHostedContent = z.object({
|
|
276
276
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
277
277
|
contentBytes: z.string().describe("Write only. Bytes for the hosted content (such as images).").nullish(),
|
|
278
278
|
contentType: z.string().describe("Write only. Content type. such as image/png, image/jpg.").nullish()
|
|
279
|
-
}).
|
|
279
|
+
}).passthrough();
|
|
280
280
|
const microsoft_graph_chatMessage = z.lazy(
|
|
281
281
|
() => z.object({
|
|
282
282
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -328,7 +328,7 @@ const microsoft_graph_chatMessage = z.lazy(
|
|
|
328
328
|
"Content in a message hosted by Microsoft Teams - for example, images or code snippets."
|
|
329
329
|
).optional(),
|
|
330
330
|
replies: z.array(microsoft_graph_chatMessage).describe("Replies for a specified message. Supports $expand for channel messages.").optional()
|
|
331
|
-
}).
|
|
331
|
+
}).passthrough()
|
|
332
332
|
);
|
|
333
333
|
const microsoft_graph_resourceSpecificPermissionGrant = z.object({
|
|
334
334
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -346,24 +346,24 @@ const microsoft_graph_resourceSpecificPermissionGrant = z.object({
|
|
|
346
346
|
"The type of permission. The possible values are: Application, Delegated. Read-only."
|
|
347
347
|
).nullish(),
|
|
348
348
|
resourceAppId: z.string().describe("ID of the Microsoft Entra app that is hosting the resource. Read-only.").nullish()
|
|
349
|
-
}).
|
|
349
|
+
}).passthrough();
|
|
350
350
|
const microsoft_graph_pinnedChatMessageInfo = z.object({
|
|
351
351
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
352
352
|
message: microsoft_graph_chatMessage.optional()
|
|
353
|
-
}).
|
|
353
|
+
}).passthrough();
|
|
354
354
|
const microsoft_graph_teamsTabConfiguration = z.object({
|
|
355
355
|
contentUrl: z.string().describe("Url used for rendering tab contents in Teams. Required.").nullish(),
|
|
356
356
|
entityId: z.string().describe("Identifier for the entity hosted by the tab provider.").nullish(),
|
|
357
357
|
removeUrl: z.string().describe("Url called by Teams client when a Tab is removed using the Teams Client.").nullish(),
|
|
358
358
|
websiteUrl: z.string().describe("Url for showing tab contents outside of Teams.").nullish()
|
|
359
|
-
}).
|
|
359
|
+
}).passthrough();
|
|
360
360
|
const microsoft_graph_teamsTab = z.object({
|
|
361
361
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
362
362
|
configuration: microsoft_graph_teamsTabConfiguration.optional(),
|
|
363
363
|
displayName: z.string().describe("Name of the tab.").nullish(),
|
|
364
364
|
webUrl: z.string().describe("Deep link URL of the tab instance. Read-only.").nullish(),
|
|
365
365
|
teamsApp: microsoft_graph_teamsApp.optional()
|
|
366
|
-
}).
|
|
366
|
+
}).passthrough();
|
|
367
367
|
const microsoft_graph_chat = z.object({
|
|
368
368
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
369
369
|
chatType: microsoft_graph_chatType.optional(),
|
|
@@ -390,28 +390,39 @@ const microsoft_graph_chat = z.object({
|
|
|
390
390
|
permissionGrants: z.array(microsoft_graph_resourceSpecificPermissionGrant).describe("A collection of permissions granted to apps for the chat.").optional(),
|
|
391
391
|
pinnedMessages: z.array(microsoft_graph_pinnedChatMessageInfo).describe("A collection of all the pinned messages in the chat. Nullable.").optional(),
|
|
392
392
|
tabs: z.array(microsoft_graph_teamsTab).describe("A collection of all the tabs in the chat. Nullable.").optional()
|
|
393
|
-
}).
|
|
394
|
-
const microsoft_graph_ODataErrors_ErrorDetails = z.object({ code: z.string(), message: z.string(), target: z.string().nullish() }).
|
|
393
|
+
}).passthrough();
|
|
394
|
+
const microsoft_graph_ODataErrors_ErrorDetails = z.object({ code: z.string(), message: z.string(), target: z.string().nullish() }).passthrough();
|
|
395
395
|
const microsoft_graph_ODataErrors_InnerError = z.object({
|
|
396
396
|
"request-id": z.string().describe("Request Id as tracked internally by the service").nullish(),
|
|
397
397
|
"client-request-id": z.string().describe("Client request Id as sent by the client application.").nullish(),
|
|
398
398
|
date: z.string().regex(
|
|
399
399
|
/^[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])$/
|
|
400
400
|
).datetime({ offset: true }).describe("Date when the error occured.").nullish()
|
|
401
|
-
}).
|
|
401
|
+
}).passthrough();
|
|
402
402
|
const microsoft_graph_ODataErrors_MainError = z.object({
|
|
403
403
|
code: z.string(),
|
|
404
404
|
message: z.string(),
|
|
405
405
|
target: z.string().nullish(),
|
|
406
406
|
details: z.array(microsoft_graph_ODataErrors_ErrorDetails).optional(),
|
|
407
407
|
innerError: microsoft_graph_ODataErrors_InnerError.optional()
|
|
408
|
-
}).
|
|
409
|
-
const microsoft_graph_ODataErrors_ODataError = z.object({ error: microsoft_graph_ODataErrors_MainError }).
|
|
408
|
+
}).passthrough();
|
|
409
|
+
const microsoft_graph_ODataErrors_ODataError = z.object({ error: microsoft_graph_ODataErrors_MainError }).passthrough();
|
|
410
410
|
const microsoft_graph_chatMessageCollectionResponse = z.object({
|
|
411
411
|
"@odata.count": z.number().int().nullable(),
|
|
412
412
|
"@odata.nextLink": z.string().nullable(),
|
|
413
413
|
value: z.array(microsoft_graph_chatMessage)
|
|
414
|
-
}).partial().
|
|
414
|
+
}).partial().passthrough();
|
|
415
|
+
const microsoft_graph_geoCoordinates = z.object({
|
|
416
|
+
altitude: z.number().describe(
|
|
417
|
+
"Optional. The altitude (height), in feet, above sea level for the item. Read-only. [Simplified from 3 options]"
|
|
418
|
+
).nullish(),
|
|
419
|
+
latitude: z.number().describe(
|
|
420
|
+
"Optional. The latitude, in decimal, for the item. Read-only. [Simplified from 3 options]"
|
|
421
|
+
).nullish(),
|
|
422
|
+
longitude: z.number().describe(
|
|
423
|
+
"Optional. The longitude, in decimal, for the item. Read-only. [Simplified from 3 options]"
|
|
424
|
+
).nullish()
|
|
425
|
+
}).passthrough();
|
|
415
426
|
const microsoft_graph_sharepointIds = z.object({
|
|
416
427
|
listId: z.string().describe("The unique identifier (guid) for the item's list in SharePoint.").nullish(),
|
|
417
428
|
listItemId: z.string().describe("An integer identifier for the item within the containing list.").nullish(),
|
|
@@ -422,7 +433,7 @@ const microsoft_graph_sharepointIds = z.object({
|
|
|
422
433
|
siteUrl: z.string().describe("The SharePoint URL for the site that contains the item.").nullish(),
|
|
423
434
|
tenantId: z.string().describe("The unique identifier (guid) for the tenancy.").nullish(),
|
|
424
435
|
webId: z.string().describe("The unique identifier (guid) for the item's site (SPWeb).").nullish()
|
|
425
|
-
}).
|
|
436
|
+
}).passthrough();
|
|
426
437
|
const microsoft_graph_itemReference = z.object({
|
|
427
438
|
driveId: z.string().describe(
|
|
428
439
|
"Unique identifier of the drive instance that contains the driveItem. Only returned if the item is located in a drive. Read-only."
|
|
@@ -442,7 +453,7 @@ const microsoft_graph_itemReference = z.object({
|
|
|
442
453
|
siteId: z.string().describe(
|
|
443
454
|
"For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource or the parent list of the listItem resource. The value is the same as the id property of that site resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated."
|
|
444
455
|
).nullish()
|
|
445
|
-
}).
|
|
456
|
+
}).passthrough();
|
|
446
457
|
const microsoft_graph_assignedLicense = z.object({
|
|
447
458
|
disabledPlans: z.array(
|
|
448
459
|
z.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).uuid()
|
|
@@ -452,7 +463,7 @@ const microsoft_graph_assignedLicense = z.object({
|
|
|
452
463
|
skuId: z.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).uuid().describe(
|
|
453
464
|
"The unique identifier for the SKU. Corresponds to the skuId from subscribedSkus or companySubscription."
|
|
454
465
|
).nullish()
|
|
455
|
-
}).
|
|
466
|
+
}).passthrough();
|
|
456
467
|
const microsoft_graph_assignedPlan = z.object({
|
|
457
468
|
assignedDateTime: z.string().regex(
|
|
458
469
|
/^[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])$/
|
|
@@ -466,9 +477,9 @@ const microsoft_graph_assignedPlan = z.object({
|
|
|
466
477
|
servicePlanId: z.string().regex(/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/).uuid().describe(
|
|
467
478
|
"A GUID that identifies the service plan. For a complete list of GUIDs and their equivalent friendly service names, see Product names and service plan identifiers for licensing."
|
|
468
479
|
).nullish()
|
|
469
|
-
}).
|
|
470
|
-
const microsoft_graph_authorizationInfo = z.object({ certificateUserIds: z.array(z.string().nullable()).optional() }).
|
|
471
|
-
const microsoft_graph_customSecurityAttributeValue = z.object({}).
|
|
480
|
+
}).passthrough();
|
|
481
|
+
const microsoft_graph_authorizationInfo = z.object({ certificateUserIds: z.array(z.string().nullable()).optional() }).passthrough();
|
|
482
|
+
const microsoft_graph_customSecurityAttributeValue = z.object({}).passthrough();
|
|
472
483
|
const microsoft_graph_user = z.object({
|
|
473
484
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
474
485
|
displayName: z.string().describe(
|
|
@@ -549,7 +560,7 @@ const microsoft_graph_user = z.object({
|
|
|
549
560
|
).datetime({ offset: true }).describe(
|
|
550
561
|
"The date and time when the user left or will leave the organization. To read this property, the calling app must be assigned the User-LifeCycleInfo.Read.All permission. To write this property, the calling app must be assigned the User.Read.All and User-LifeCycleInfo.ReadWrite.All permissions. To read this property in delegated scenarios, the admin needs at least one of the following Microsoft Entra roles: Lifecycle Workflows Administrator (least privilege), Global Reader. To write this property in delegated scenarios, the admin needs the Global Administrator role. Supports $filter (eq, ne, not , ge, le, in). For more information, see Configure the employeeLeaveDateTime property for a user."
|
|
551
562
|
).nullish()
|
|
552
|
-
}).
|
|
563
|
+
}).passthrough().passthrough();
|
|
553
564
|
const microsoft_graph_audio = z.object({
|
|
554
565
|
album: z.string().describe("The title of the album for this audio file.").nullish(),
|
|
555
566
|
albumArtist: z.string().describe("The artist named on the album for the audio file.").nullish(),
|
|
@@ -567,15 +578,15 @@ const microsoft_graph_audio = z.object({
|
|
|
567
578
|
track: z.number().gte(-2147483648).lte(2147483647).describe("The number of the track on the original disc for this audio file.").nullish(),
|
|
568
579
|
trackCount: z.number().gte(-2147483648).lte(2147483647).describe("The total number of tracks on the original disc for this audio file.").nullish(),
|
|
569
580
|
year: z.number().gte(-2147483648).lte(2147483647).describe("The year the audio file was recorded.").nullish()
|
|
570
|
-
}).
|
|
581
|
+
}).passthrough();
|
|
571
582
|
const microsoft_graph_album = z.object({
|
|
572
583
|
coverImageItemId: z.string().describe("Unique identifier of the driveItem that is the cover of the album.").nullish()
|
|
573
|
-
}).
|
|
584
|
+
}).passthrough();
|
|
574
585
|
const microsoft_graph_bundle = z.object({
|
|
575
586
|
album: microsoft_graph_album.optional(),
|
|
576
587
|
childCount: z.number().gte(-2147483648).lte(2147483647).describe("Number of children contained immediately within this container.").nullish()
|
|
577
|
-
}).
|
|
578
|
-
const microsoft_graph_deleted = z.object({ state: z.string().describe("Represents the state of the deleted item.").nullish() }).
|
|
588
|
+
}).passthrough();
|
|
589
|
+
const microsoft_graph_deleted = z.object({ state: z.string().describe("Represents the state of the deleted item.").nullish() }).passthrough();
|
|
579
590
|
const microsoft_graph_hashes = z.object({
|
|
580
591
|
crc32Hash: z.string().describe("The CRC32 value of the file (if available). Read-only.").nullish(),
|
|
581
592
|
quickXorHash: z.string().describe(
|
|
@@ -583,14 +594,14 @@ const microsoft_graph_hashes = z.object({
|
|
|
583
594
|
).nullish(),
|
|
584
595
|
sha1Hash: z.string().describe("SHA1 hash for the contents of the file (if available). Read-only.").nullish(),
|
|
585
596
|
sha256Hash: z.string().describe("This property isn't supported. Don't use.").nullish()
|
|
586
|
-
}).
|
|
597
|
+
}).passthrough();
|
|
587
598
|
const microsoft_graph_file = z.object({
|
|
588
599
|
hashes: microsoft_graph_hashes.optional(),
|
|
589
600
|
mimeType: z.string().describe(
|
|
590
601
|
"The MIME type for the file. This is determined by logic on the server and might not be the value provided when the file was uploaded. Read-only."
|
|
591
602
|
).nullish(),
|
|
592
603
|
processingMetadata: z.boolean().nullish()
|
|
593
|
-
}).
|
|
604
|
+
}).passthrough();
|
|
594
605
|
const microsoft_graph_fileSystemInfo = z.object({
|
|
595
606
|
createdDateTime: z.string().regex(
|
|
596
607
|
/^[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])$/
|
|
@@ -603,47 +614,36 @@ const microsoft_graph_fileSystemInfo = z.object({
|
|
|
603
614
|
lastModifiedDateTime: z.string().regex(
|
|
604
615
|
/^[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])$/
|
|
605
616
|
).datetime({ offset: true }).describe("The UTC date and time the file was last modified on a client.").nullish()
|
|
606
|
-
}).
|
|
617
|
+
}).passthrough();
|
|
607
618
|
const microsoft_graph_folderView = z.object({
|
|
608
619
|
sortBy: z.string().describe("The method by which the folder should be sorted.").nullish(),
|
|
609
620
|
sortOrder: z.string().describe(
|
|
610
621
|
"If true, indicates that items should be sorted in descending order. Otherwise, items should be sorted ascending."
|
|
611
622
|
).nullish(),
|
|
612
623
|
viewType: z.string().describe("The type of view that should be used to represent the folder.").nullish()
|
|
613
|
-
}).
|
|
624
|
+
}).passthrough();
|
|
614
625
|
const microsoft_graph_folder = z.object({
|
|
615
626
|
childCount: z.number().gte(-2147483648).lte(2147483647).describe("Number of children contained immediately within this container.").nullish(),
|
|
616
627
|
view: microsoft_graph_folderView.optional()
|
|
617
|
-
}).
|
|
628
|
+
}).passthrough();
|
|
618
629
|
const microsoft_graph_image = z.object({
|
|
619
630
|
height: z.number().gte(-2147483648).lte(2147483647).describe("Optional. Height of the image, in pixels. Read-only.").nullish(),
|
|
620
631
|
width: z.number().gte(-2147483648).lte(2147483647).describe("Optional. Width of the image, in pixels. Read-only.").nullish()
|
|
621
|
-
}).
|
|
622
|
-
const microsoft_graph_geoCoordinates = z.object({
|
|
623
|
-
altitude: z.number().describe(
|
|
624
|
-
"Optional. The altitude (height), in feet, above sea level for the item. Read-only. [Simplified from 3 options]"
|
|
625
|
-
).nullish(),
|
|
626
|
-
latitude: z.number().describe(
|
|
627
|
-
"Optional. The latitude, in decimal, for the item. Read-only. [Simplified from 3 options]"
|
|
628
|
-
).nullish(),
|
|
629
|
-
longitude: z.number().describe(
|
|
630
|
-
"Optional. The longitude, in decimal, for the item. Read-only. [Simplified from 3 options]"
|
|
631
|
-
).nullish()
|
|
632
|
-
}).strict();
|
|
632
|
+
}).passthrough();
|
|
633
633
|
const microsoft_graph_malware = z.object({
|
|
634
634
|
description: z.string().describe("Contains the virus details for the malware facet.").nullish()
|
|
635
|
-
}).
|
|
635
|
+
}).passthrough();
|
|
636
636
|
const microsoft_graph_package = z.object({
|
|
637
637
|
type: z.string().describe(
|
|
638
638
|
"A string indicating the type of package. While oneNote is the only currently defined value, you should expect other package types to be returned and handle them accordingly."
|
|
639
639
|
).nullish()
|
|
640
|
-
}).
|
|
640
|
+
}).passthrough();
|
|
641
641
|
const microsoft_graph_pendingContentUpdate = z.object({
|
|
642
642
|
queuedDateTime: z.string().regex(
|
|
643
643
|
/^[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])$/
|
|
644
644
|
).datetime({ offset: true }).describe("Date and time the pending binary operation was queued in UTC time. Read-only.").nullish()
|
|
645
|
-
}).
|
|
646
|
-
const microsoft_graph_pendingOperations = z.object({ pendingContentUpdate: microsoft_graph_pendingContentUpdate.optional() }).
|
|
645
|
+
}).passthrough();
|
|
646
|
+
const microsoft_graph_pendingOperations = z.object({ pendingContentUpdate: microsoft_graph_pendingContentUpdate.optional() }).passthrough();
|
|
647
647
|
const microsoft_graph_driveItem = z.object({
|
|
648
648
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
649
649
|
name: z.string().describe("The name of the item. Read-write.").nullish(),
|
|
@@ -655,6 +655,7 @@ const microsoft_graph_driveItem = z.object({
|
|
|
655
655
|
/^[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])$/
|
|
656
656
|
).datetime({ offset: true }).describe("Date and time the item was last modified. Read-only.").optional(),
|
|
657
657
|
content: z.string().describe("The content stream, if the item represents a file.").nullish(),
|
|
658
|
+
location: microsoft_graph_geoCoordinates.optional(),
|
|
658
659
|
createdBy: microsoft_graph_identitySet.optional(),
|
|
659
660
|
eTag: z.string().describe("ETag for the item. Read-only.").nullish(),
|
|
660
661
|
lastModifiedBy: microsoft_graph_identitySet.optional(),
|
|
@@ -674,16 +675,15 @@ const microsoft_graph_driveItem = z.object({
|
|
|
674
675
|
fileSystemInfo: microsoft_graph_fileSystemInfo.optional(),
|
|
675
676
|
folder: microsoft_graph_folder.optional(),
|
|
676
677
|
image: microsoft_graph_image.optional(),
|
|
677
|
-
location: microsoft_graph_geoCoordinates.optional(),
|
|
678
678
|
malware: microsoft_graph_malware.optional(),
|
|
679
679
|
package: microsoft_graph_package.optional(),
|
|
680
680
|
pendingOperations: microsoft_graph_pendingOperations.optional()
|
|
681
|
-
}).
|
|
681
|
+
}).passthrough().passthrough();
|
|
682
682
|
const microsoft_graph_driveItemCollectionResponse = z.object({
|
|
683
683
|
"@odata.count": z.number().int().nullable(),
|
|
684
684
|
"@odata.nextLink": z.string().nullable(),
|
|
685
685
|
value: z.array(microsoft_graph_driveItem)
|
|
686
|
-
}).partial().
|
|
686
|
+
}).partial().passthrough();
|
|
687
687
|
const microsoft_graph_workbookChartFont = z.object({
|
|
688
688
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
689
689
|
bold: z.boolean().describe("Indicates whether the fond is bold.").nullish(),
|
|
@@ -696,35 +696,35 @@ const microsoft_graph_workbookChartFont = z.object({
|
|
|
696
696
|
underline: z.string().describe(
|
|
697
697
|
"The type of underlining applied to the font. The possible values are: None, Single."
|
|
698
698
|
).nullish()
|
|
699
|
-
}).
|
|
699
|
+
}).passthrough();
|
|
700
700
|
const microsoft_graph_workbookChartLineFormat = z.object({
|
|
701
701
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
702
702
|
color: z.string().describe("The HTML color code that represents the color of lines in the chart.").nullish()
|
|
703
|
-
}).
|
|
703
|
+
}).passthrough();
|
|
704
704
|
const microsoft_graph_workbookChartAxisFormat = z.object({
|
|
705
705
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
706
706
|
font: microsoft_graph_workbookChartFont.optional(),
|
|
707
707
|
line: microsoft_graph_workbookChartLineFormat.optional()
|
|
708
|
-
}).
|
|
708
|
+
}).passthrough();
|
|
709
709
|
const microsoft_graph_workbookChartGridlinesFormat = z.object({
|
|
710
710
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
711
711
|
line: microsoft_graph_workbookChartLineFormat.optional()
|
|
712
|
-
}).
|
|
712
|
+
}).passthrough();
|
|
713
713
|
const microsoft_graph_workbookChartGridlines = z.object({
|
|
714
714
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
715
715
|
visible: z.boolean().describe("Indicates whether the axis gridlines are visible.").optional(),
|
|
716
716
|
format: microsoft_graph_workbookChartGridlinesFormat.optional()
|
|
717
|
-
}).
|
|
717
|
+
}).passthrough();
|
|
718
718
|
const microsoft_graph_workbookChartAxisTitleFormat = z.object({
|
|
719
719
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
720
720
|
font: microsoft_graph_workbookChartFont.optional()
|
|
721
|
-
}).
|
|
721
|
+
}).passthrough();
|
|
722
722
|
const microsoft_graph_workbookChartAxisTitle = z.object({
|
|
723
723
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
724
724
|
text: z.string().describe("Represents the axis title.").nullish(),
|
|
725
725
|
visible: z.boolean().describe("A Boolean that specifies the visibility of an axis title.").optional(),
|
|
726
726
|
format: microsoft_graph_workbookChartAxisTitleFormat.optional()
|
|
727
|
-
}).
|
|
727
|
+
}).passthrough();
|
|
728
728
|
const microsoft_graph_workbookChartAxis = z.object({
|
|
729
729
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
730
730
|
majorUnit: z.unknown().describe(
|
|
@@ -743,19 +743,19 @@ const microsoft_graph_workbookChartAxis = z.object({
|
|
|
743
743
|
majorGridlines: microsoft_graph_workbookChartGridlines.optional(),
|
|
744
744
|
minorGridlines: microsoft_graph_workbookChartGridlines.optional(),
|
|
745
745
|
title: microsoft_graph_workbookChartAxisTitle.optional()
|
|
746
|
-
}).
|
|
746
|
+
}).passthrough();
|
|
747
747
|
const microsoft_graph_workbookChartAxes = z.object({
|
|
748
748
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
749
749
|
categoryAxis: microsoft_graph_workbookChartAxis.optional(),
|
|
750
750
|
seriesAxis: microsoft_graph_workbookChartAxis.optional(),
|
|
751
751
|
valueAxis: microsoft_graph_workbookChartAxis.optional()
|
|
752
|
-
}).
|
|
753
|
-
const microsoft_graph_workbookChartFill = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
752
|
+
}).passthrough();
|
|
753
|
+
const microsoft_graph_workbookChartFill = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
754
754
|
const microsoft_graph_workbookChartDataLabelFormat = z.object({
|
|
755
755
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
756
756
|
fill: microsoft_graph_workbookChartFill.optional(),
|
|
757
757
|
font: microsoft_graph_workbookChartFont.optional()
|
|
758
|
-
}).
|
|
758
|
+
}).passthrough();
|
|
759
759
|
const microsoft_graph_workbookChartDataLabels = z.object({
|
|
760
760
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
761
761
|
position: z.string().describe(
|
|
@@ -769,17 +769,17 @@ const microsoft_graph_workbookChartDataLabels = z.object({
|
|
|
769
769
|
showSeriesName: z.boolean().describe("Boolean value that represents whether the data label series name is visible.").nullish(),
|
|
770
770
|
showValue: z.boolean().describe("Boolean value that represents whether the data label value is visible.").nullish(),
|
|
771
771
|
format: microsoft_graph_workbookChartDataLabelFormat.optional()
|
|
772
|
-
}).
|
|
772
|
+
}).passthrough();
|
|
773
773
|
const microsoft_graph_workbookChartAreaFormat = z.object({
|
|
774
774
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
775
775
|
fill: microsoft_graph_workbookChartFill.optional(),
|
|
776
776
|
font: microsoft_graph_workbookChartFont.optional()
|
|
777
|
-
}).
|
|
777
|
+
}).passthrough();
|
|
778
778
|
const microsoft_graph_workbookChartLegendFormat = z.object({
|
|
779
779
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
780
780
|
fill: microsoft_graph_workbookChartFill.optional(),
|
|
781
781
|
font: microsoft_graph_workbookChartFont.optional()
|
|
782
|
-
}).
|
|
782
|
+
}).passthrough();
|
|
783
783
|
const microsoft_graph_workbookChartLegend = z.object({
|
|
784
784
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
785
785
|
overlay: z.boolean().describe(
|
|
@@ -790,39 +790,39 @@ const microsoft_graph_workbookChartLegend = z.object({
|
|
|
790
790
|
).nullish(),
|
|
791
791
|
visible: z.boolean().describe("Indicates whether the chart legend is visible.").optional(),
|
|
792
792
|
format: microsoft_graph_workbookChartLegendFormat.optional()
|
|
793
|
-
}).
|
|
793
|
+
}).passthrough();
|
|
794
794
|
const microsoft_graph_workbookChartSeriesFormat = z.object({
|
|
795
795
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
796
796
|
fill: microsoft_graph_workbookChartFill.optional(),
|
|
797
797
|
line: microsoft_graph_workbookChartLineFormat.optional()
|
|
798
|
-
}).
|
|
798
|
+
}).passthrough();
|
|
799
799
|
const microsoft_graph_workbookChartPointFormat = z.object({
|
|
800
800
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
801
801
|
fill: microsoft_graph_workbookChartFill.optional()
|
|
802
|
-
}).
|
|
802
|
+
}).passthrough();
|
|
803
803
|
const microsoft_graph_workbookChartPoint = z.object({
|
|
804
804
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
805
805
|
value: z.unknown().describe("The value of a chart point. Read-only.").optional(),
|
|
806
806
|
format: microsoft_graph_workbookChartPointFormat.optional()
|
|
807
|
-
}).
|
|
807
|
+
}).passthrough();
|
|
808
808
|
const microsoft_graph_workbookChartSeries = z.object({
|
|
809
809
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
810
810
|
name: z.string().describe("The name of a series in a chart.").nullish(),
|
|
811
811
|
format: microsoft_graph_workbookChartSeriesFormat.optional(),
|
|
812
812
|
points: z.array(microsoft_graph_workbookChartPoint).describe("A collection of all points in the series. Read-only.").optional()
|
|
813
|
-
}).
|
|
813
|
+
}).passthrough();
|
|
814
814
|
const microsoft_graph_workbookChartTitleFormat = z.object({
|
|
815
815
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
816
816
|
fill: microsoft_graph_workbookChartFill.optional(),
|
|
817
817
|
font: microsoft_graph_workbookChartFont.optional()
|
|
818
|
-
}).
|
|
818
|
+
}).passthrough();
|
|
819
819
|
const microsoft_graph_workbookChartTitle = z.object({
|
|
820
820
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
821
821
|
overlay: z.boolean().describe("Indicates whether the chart title will overlay the chart or not.").nullish(),
|
|
822
822
|
text: z.string().describe("The title text of the chart.").nullish(),
|
|
823
823
|
visible: z.boolean().describe("Indicates whether the chart title is visible.").optional(),
|
|
824
824
|
format: microsoft_graph_workbookChartTitleFormat.optional()
|
|
825
|
-
}).
|
|
825
|
+
}).passthrough();
|
|
826
826
|
const microsoft_graph_workbookChart = z.lazy(
|
|
827
827
|
() => z.object({
|
|
828
828
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -848,7 +848,7 @@ const microsoft_graph_workbookChart = z.lazy(
|
|
|
848
848
|
).optional(),
|
|
849
849
|
title: microsoft_graph_workbookChartTitle.optional(),
|
|
850
850
|
worksheet: microsoft_graph_workbookWorksheet.optional()
|
|
851
|
-
}).
|
|
851
|
+
}).passthrough()
|
|
852
852
|
);
|
|
853
853
|
const microsoft_graph_workbookNamedItem = z.lazy(
|
|
854
854
|
() => z.object({
|
|
@@ -866,14 +866,14 @@ const microsoft_graph_workbookNamedItem = z.lazy(
|
|
|
866
866
|
).optional(),
|
|
867
867
|
visible: z.boolean().describe("Indicates whether the object is visible.").optional(),
|
|
868
868
|
worksheet: microsoft_graph_workbookWorksheet.optional()
|
|
869
|
-
}).
|
|
869
|
+
}).passthrough()
|
|
870
870
|
);
|
|
871
871
|
const microsoft_graph_workbookPivotTable = z.lazy(
|
|
872
872
|
() => z.object({
|
|
873
873
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
874
874
|
name: z.string().describe("The name of the pivot table.").nullish(),
|
|
875
875
|
worksheet: microsoft_graph_workbookWorksheet.optional()
|
|
876
|
-
}).
|
|
876
|
+
}).passthrough()
|
|
877
877
|
);
|
|
878
878
|
const microsoft_graph_workbookWorksheetProtectionOptions = z.object({
|
|
879
879
|
allowAutoFilter: z.boolean().describe(
|
|
@@ -909,18 +909,18 @@ const microsoft_graph_workbookWorksheetProtectionOptions = z.object({
|
|
|
909
909
|
allowSort: z.boolean().describe(
|
|
910
910
|
"Indicates whether the worksheet protection option to allow the use of the sort feature is enabled."
|
|
911
911
|
).optional()
|
|
912
|
-
}).
|
|
912
|
+
}).passthrough();
|
|
913
913
|
const microsoft_graph_workbookWorksheetProtection = z.object({
|
|
914
914
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
915
915
|
options: microsoft_graph_workbookWorksheetProtectionOptions.optional(),
|
|
916
916
|
protected: z.boolean().describe("Indicates whether the worksheet is protected. Read-only.").optional()
|
|
917
|
-
}).
|
|
917
|
+
}).passthrough();
|
|
918
918
|
const microsoft_graph_workbookIcon = z.object({
|
|
919
919
|
index: z.number().gte(-2147483648).lte(2147483647).describe("The index of the icon in the given set.").optional(),
|
|
920
920
|
set: z.string().describe(
|
|
921
921
|
"The set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes."
|
|
922
922
|
).optional()
|
|
923
|
-
}).
|
|
923
|
+
}).passthrough();
|
|
924
924
|
const microsoft_graph_workbookFilterCriteria = z.object({
|
|
925
925
|
color: z.string().describe("The color applied to the cell.").nullish(),
|
|
926
926
|
criterion1: z.string().describe("A custom criterion.").nullish(),
|
|
@@ -930,11 +930,11 @@ const microsoft_graph_workbookFilterCriteria = z.object({
|
|
|
930
930
|
icon: microsoft_graph_workbookIcon.optional(),
|
|
931
931
|
operator: z.string().describe("An operator in a cell; for example, =, >, <, <=, or <>.").optional(),
|
|
932
932
|
values: z.unknown().describe("The values that appear in the cell.").optional()
|
|
933
|
-
}).
|
|
933
|
+
}).passthrough();
|
|
934
934
|
const microsoft_graph_workbookFilter = z.object({
|
|
935
935
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
936
936
|
criteria: microsoft_graph_workbookFilterCriteria.optional()
|
|
937
|
-
}).
|
|
937
|
+
}).passthrough();
|
|
938
938
|
const microsoft_graph_workbookTableColumn = z.object({
|
|
939
939
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
940
940
|
index: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
@@ -945,7 +945,7 @@ const microsoft_graph_workbookTableColumn = z.object({
|
|
|
945
945
|
"TRepresents the raw values of the specified range. The data returned could be of type string, number, or a Boolean. Cell that contain an error will return the error string."
|
|
946
946
|
).optional(),
|
|
947
947
|
filter: microsoft_graph_workbookFilter.optional()
|
|
948
|
-
}).
|
|
948
|
+
}).passthrough();
|
|
949
949
|
const microsoft_graph_workbookTableRow = z.object({
|
|
950
950
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
951
951
|
index: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
@@ -954,7 +954,7 @@ const microsoft_graph_workbookTableRow = z.object({
|
|
|
954
954
|
values: z.unknown().describe(
|
|
955
955
|
"The raw values of the specified range. The data returned could be of type string, number, or a Boolean. Any cell that contain an error will return the error string."
|
|
956
956
|
).optional()
|
|
957
|
-
}).
|
|
957
|
+
}).passthrough();
|
|
958
958
|
const microsoft_graph_workbookSortField = z.object({
|
|
959
959
|
ascending: z.boolean().describe("Represents whether the sorting is done in an ascending fashion.").optional(),
|
|
960
960
|
color: z.string().describe(
|
|
@@ -970,7 +970,7 @@ const microsoft_graph_workbookSortField = z.object({
|
|
|
970
970
|
sortOn: z.string().describe(
|
|
971
971
|
"Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon."
|
|
972
972
|
).optional()
|
|
973
|
-
}).
|
|
973
|
+
}).passthrough();
|
|
974
974
|
const microsoft_graph_workbookTableSort = z.object({
|
|
975
975
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
976
976
|
fields: z.array(microsoft_graph_workbookSortField).describe("The list of the current conditions last used to sort the table. Read-only.").optional(),
|
|
@@ -978,7 +978,7 @@ const microsoft_graph_workbookTableSort = z.object({
|
|
|
978
978
|
method: z.string().describe(
|
|
979
979
|
"The Chinese character ordering method last used to sort the table. The possible values are: PinYin, StrokeCount. Read-only."
|
|
980
980
|
).optional()
|
|
981
|
-
}).
|
|
981
|
+
}).passthrough();
|
|
982
982
|
const microsoft_graph_workbookTable = z.lazy(
|
|
983
983
|
() => z.object({
|
|
984
984
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -1010,7 +1010,7 @@ const microsoft_graph_workbookTable = z.lazy(
|
|
|
1010
1010
|
rows: z.array(microsoft_graph_workbookTableRow).describe("The list of all the rows in the table. Read-only.").optional(),
|
|
1011
1011
|
sort: microsoft_graph_workbookTableSort.optional(),
|
|
1012
1012
|
worksheet: microsoft_graph_workbookWorksheet.optional()
|
|
1013
|
-
}).
|
|
1013
|
+
}).passthrough()
|
|
1014
1014
|
);
|
|
1015
1015
|
const microsoft_graph_workbookWorksheet = z.lazy(
|
|
1016
1016
|
() => z.object({
|
|
@@ -1025,14 +1025,14 @@ const microsoft_graph_workbookWorksheet = z.lazy(
|
|
|
1025
1025
|
pivotTables: z.array(microsoft_graph_workbookPivotTable).describe("The list of piot tables that are part of the worksheet.").optional(),
|
|
1026
1026
|
protection: microsoft_graph_workbookWorksheetProtection.optional(),
|
|
1027
1027
|
tables: z.array(microsoft_graph_workbookTable).describe("The list of tables that are part of the worksheet. Read-only.").optional()
|
|
1028
|
-
}).
|
|
1028
|
+
}).passthrough()
|
|
1029
1029
|
);
|
|
1030
1030
|
const microsoft_graph_workbookWorksheetCollectionResponse = z.object({
|
|
1031
1031
|
"@odata.count": z.number().int().nullable(),
|
|
1032
1032
|
"@odata.nextLink": z.string().nullable(),
|
|
1033
1033
|
value: z.array(microsoft_graph_workbookWorksheet)
|
|
1034
|
-
}).partial().
|
|
1035
|
-
const create_excel_chart_Body = z.object({ type: z.string(), sourceData: z.unknown(), seriesBy: z.string() }).partial().
|
|
1034
|
+
}).partial().passthrough();
|
|
1035
|
+
const create_excel_chart_Body = z.object({ type: z.string(), sourceData: z.unknown(), seriesBy: z.string() }).partial().passthrough();
|
|
1036
1036
|
const microsoft_graph_workbookRangeBorder = z.object({
|
|
1037
1037
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1038
1038
|
color: z.string().describe(
|
|
@@ -1047,13 +1047,13 @@ const microsoft_graph_workbookRangeBorder = z.object({
|
|
|
1047
1047
|
weight: z.string().describe(
|
|
1048
1048
|
"The weight of the border around a range. The possible values are: Hairline, Thin, Medium, Thick."
|
|
1049
1049
|
).nullish()
|
|
1050
|
-
}).
|
|
1050
|
+
}).passthrough();
|
|
1051
1051
|
const microsoft_graph_workbookRangeFill = z.object({
|
|
1052
1052
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1053
1053
|
color: z.string().describe(
|
|
1054
1054
|
"HTML color code representing the color of the border line. Can either be of the form #RRGGBB, for example 'FFA500', or be a named HTML color, for example 'orange'."
|
|
1055
1055
|
).nullish()
|
|
1056
|
-
}).
|
|
1056
|
+
}).passthrough();
|
|
1057
1057
|
const microsoft_graph_workbookRangeFont = z.object({
|
|
1058
1058
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1059
1059
|
bold: z.boolean().describe("Inidicates whether the font is bold.").nullish(),
|
|
@@ -1066,7 +1066,7 @@ const microsoft_graph_workbookRangeFont = z.object({
|
|
|
1066
1066
|
underline: z.string().describe(
|
|
1067
1067
|
"The type of underlining applied to the font. The possible values are: None, Single, Double, SingleAccountant, DoubleAccountant."
|
|
1068
1068
|
).nullish()
|
|
1069
|
-
}).
|
|
1069
|
+
}).passthrough();
|
|
1070
1070
|
const microsoft_graph_workbookFormatProtection = z.object({
|
|
1071
1071
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1072
1072
|
formulaHidden: z.boolean().describe(
|
|
@@ -1075,7 +1075,7 @@ const microsoft_graph_workbookFormatProtection = z.object({
|
|
|
1075
1075
|
locked: z.boolean().describe(
|
|
1076
1076
|
"Indicates whether Excel locks the cells in the object. A null value indicates that the entire range doesn't have uniform lock setting."
|
|
1077
1077
|
).nullish()
|
|
1078
|
-
}).
|
|
1078
|
+
}).passthrough();
|
|
1079
1079
|
const microsoft_graph_workbookRangeFormat = z.object({
|
|
1080
1080
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1081
1081
|
columnWidth: z.number().describe(
|
|
@@ -1097,8 +1097,8 @@ const microsoft_graph_workbookRangeFormat = z.object({
|
|
|
1097
1097
|
fill: microsoft_graph_workbookRangeFill.optional(),
|
|
1098
1098
|
font: microsoft_graph_workbookRangeFont.optional(),
|
|
1099
1099
|
protection: microsoft_graph_workbookFormatProtection.optional()
|
|
1100
|
-
}).
|
|
1101
|
-
const microsoft_graph_workbookRangeSort = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
1100
|
+
}).passthrough();
|
|
1101
|
+
const microsoft_graph_workbookRangeSort = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
1102
1102
|
const microsoft_graph_workbookRange = z.object({
|
|
1103
1103
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1104
1104
|
address: z.string().describe(
|
|
@@ -1135,12 +1135,12 @@ const microsoft_graph_workbookRange = z.object({
|
|
|
1135
1135
|
format: microsoft_graph_workbookRangeFormat.optional(),
|
|
1136
1136
|
sort: microsoft_graph_workbookRangeSort.optional(),
|
|
1137
1137
|
worksheet: microsoft_graph_workbookWorksheet.optional()
|
|
1138
|
-
}).
|
|
1138
|
+
}).passthrough();
|
|
1139
1139
|
const microsoft_graph_emailAddress = z.object({
|
|
1140
1140
|
address: z.string().describe("The email address of the person or entity.").nullish(),
|
|
1141
1141
|
name: z.string().describe("The display name of the person or entity.").nullish()
|
|
1142
|
-
}).
|
|
1143
|
-
const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).
|
|
1142
|
+
}).passthrough();
|
|
1143
|
+
const microsoft_graph_recipient = z.object({ emailAddress: microsoft_graph_emailAddress.optional() }).passthrough();
|
|
1144
1144
|
const microsoft_graph_attachment = z.object({
|
|
1145
1145
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1146
1146
|
contentType: z.string().describe("The MIME type.").nullish(),
|
|
@@ -1153,15 +1153,15 @@ const microsoft_graph_attachment = z.object({
|
|
|
1153
1153
|
name: z.string().describe("The attachment's file name.").nullish(),
|
|
1154
1154
|
size: z.number().gte(-2147483648).lte(2147483647).describe("The length of the attachment in bytes.").optional()
|
|
1155
1155
|
}).passthrough();
|
|
1156
|
-
const microsoft_graph_extension = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
1156
|
+
const microsoft_graph_extension = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
1157
1157
|
const microsoft_graph_multiValueLegacyExtendedProperty = z.object({
|
|
1158
1158
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1159
1159
|
value: z.array(z.string().nullable()).describe("A collection of property values.").optional()
|
|
1160
|
-
}).
|
|
1160
|
+
}).passthrough();
|
|
1161
1161
|
const microsoft_graph_singleValueLegacyExtendedProperty = z.object({
|
|
1162
1162
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1163
1163
|
value: z.string().describe("A property value.").nullish()
|
|
1164
|
-
}).
|
|
1164
|
+
}).passthrough();
|
|
1165
1165
|
const microsoft_graph_post = z.lazy(
|
|
1166
1166
|
() => z.object({
|
|
1167
1167
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -1204,7 +1204,7 @@ const microsoft_graph_post = z.lazy(
|
|
|
1204
1204
|
singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
|
|
1205
1205
|
"The collection of single-value extended properties defined for the post. Read-only. Nullable."
|
|
1206
1206
|
).optional()
|
|
1207
|
-
}).
|
|
1207
|
+
}).passthrough()
|
|
1208
1208
|
);
|
|
1209
1209
|
const microsoft_graph_conversationThread = z.object({
|
|
1210
1210
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -1227,7 +1227,7 @@ const microsoft_graph_conversationThread = z.object({
|
|
|
1227
1227
|
toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the thread. Returned only on $select.").optional(),
|
|
1228
1228
|
uniqueSenders: z.array(z.string()).describe("All the users that sent a message to this thread. Returned by default.").optional(),
|
|
1229
1229
|
posts: z.array(microsoft_graph_post).optional()
|
|
1230
|
-
}).
|
|
1230
|
+
}).passthrough();
|
|
1231
1231
|
const microsoft_graph_conversation = z.object({
|
|
1232
1232
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1233
1233
|
hasAttachments: z.boolean().describe(
|
|
@@ -1248,18 +1248,18 @@ const microsoft_graph_conversation = z.object({
|
|
|
1248
1248
|
threads: z.array(microsoft_graph_conversationThread).describe(
|
|
1249
1249
|
"A collection of all the conversation threads in the conversation. A navigation property. Read-only. Nullable."
|
|
1250
1250
|
).optional()
|
|
1251
|
-
}).
|
|
1251
|
+
}).passthrough();
|
|
1252
1252
|
const microsoft_graph_conversationCollectionResponse = z.object({
|
|
1253
1253
|
"@odata.count": z.number().int().nullable(),
|
|
1254
1254
|
"@odata.nextLink": z.string().nullable(),
|
|
1255
1255
|
value: z.array(microsoft_graph_conversation)
|
|
1256
|
-
}).partial().
|
|
1256
|
+
}).partial().passthrough();
|
|
1257
1257
|
const microsoft_graph_conversationThreadCollectionResponse = z.object({
|
|
1258
1258
|
"@odata.count": z.number().int().nullable(),
|
|
1259
1259
|
"@odata.nextLink": z.string().nullable(),
|
|
1260
1260
|
value: z.array(microsoft_graph_conversationThread)
|
|
1261
|
-
}).partial().
|
|
1262
|
-
const reply_to_group_thread_Body = z.object({ Post: microsoft_graph_post }).partial().
|
|
1261
|
+
}).partial().passthrough();
|
|
1262
|
+
const reply_to_group_thread_Body = z.object({ Post: microsoft_graph_post }).partial().passthrough();
|
|
1263
1263
|
const microsoft_graph_onlineMeetingProviderType = z.enum([
|
|
1264
1264
|
"unknown",
|
|
1265
1265
|
"skypeForBusiness",
|
|
@@ -1291,7 +1291,7 @@ const microsoft_graph_calendarRoleType = z.enum([
|
|
|
1291
1291
|
]);
|
|
1292
1292
|
const microsoft_graph_calendarPermission = z.object({
|
|
1293
1293
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1294
|
-
allowedRoles: z.array(z.union([microsoft_graph_calendarRoleType, z.object({}).partial().
|
|
1294
|
+
allowedRoles: z.array(z.union([microsoft_graph_calendarRoleType, z.object({}).partial().passthrough()])).describe(
|
|
1295
1295
|
"List of allowed sharing or delegating permission levels for the calendar. The possible values are: none, freeBusyRead, limitedRead, read, write, delegateWithoutPrivateEventAccess, delegateWithPrivateEventAccess, custom."
|
|
1296
1296
|
).optional(),
|
|
1297
1297
|
emailAddress: microsoft_graph_emailAddress.optional(),
|
|
@@ -1302,14 +1302,13 @@ const microsoft_graph_calendarPermission = z.object({
|
|
|
1302
1302
|
"True if the user can be removed from the list of recipients or delegates for the specified calendar, false otherwise. The 'My organization' user determines the permissions other people within your organization have to the given calendar. You can't remove 'My organization' as a share recipient to a calendar."
|
|
1303
1303
|
).nullish(),
|
|
1304
1304
|
role: microsoft_graph_calendarRoleType.optional()
|
|
1305
|
-
}).
|
|
1305
|
+
}).passthrough();
|
|
1306
1306
|
const microsoft_graph_eventType = z.enum([
|
|
1307
1307
|
"singleInstance",
|
|
1308
1308
|
"occurrence",
|
|
1309
1309
|
"exception",
|
|
1310
1310
|
"seriesMaster"
|
|
1311
1311
|
]);
|
|
1312
|
-
const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
|
|
1313
1312
|
const microsoft_graph_dateTimeTimeZone = z.object({
|
|
1314
1313
|
dateTime: z.string().describe(
|
|
1315
1314
|
"A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000)."
|
|
@@ -1317,11 +1316,69 @@ const microsoft_graph_dateTimeTimeZone = z.object({
|
|
|
1317
1316
|
timeZone: z.string().describe(
|
|
1318
1317
|
"Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values."
|
|
1319
1318
|
).nullish()
|
|
1320
|
-
}).
|
|
1319
|
+
}).passthrough();
|
|
1320
|
+
const microsoft_graph_physicalAddress = z.object({
|
|
1321
|
+
city: z.string().describe("The city.").nullish(),
|
|
1322
|
+
countryOrRegion: z.string().describe(
|
|
1323
|
+
"The country or region. It's a free-format string value, for example, 'United States'."
|
|
1324
|
+
).nullish(),
|
|
1325
|
+
postalCode: z.string().describe("The postal code.").nullish(),
|
|
1326
|
+
state: z.string().describe("The state.").nullish(),
|
|
1327
|
+
street: z.string().describe("The street.").nullish()
|
|
1328
|
+
}).passthrough();
|
|
1329
|
+
const microsoft_graph_outlookGeoCoordinates = z.object({
|
|
1330
|
+
accuracy: z.number().describe(
|
|
1331
|
+
"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]"
|
|
1332
|
+
).nullish(),
|
|
1333
|
+
altitude: z.number().describe("The altitude of the location. [Simplified from 3 options]").nullish(),
|
|
1334
|
+
altitudeAccuracy: z.number().describe("The accuracy of the altitude. [Simplified from 3 options]").nullish(),
|
|
1335
|
+
latitude: z.number().describe("The latitude of the location. [Simplified from 3 options]").nullish(),
|
|
1336
|
+
longitude: z.number().describe("The longitude of the location. [Simplified from 3 options]").nullish()
|
|
1337
|
+
}).passthrough();
|
|
1338
|
+
const microsoft_graph_locationType = z.enum([
|
|
1339
|
+
"default",
|
|
1340
|
+
"conferenceRoom",
|
|
1341
|
+
"homeAddress",
|
|
1342
|
+
"businessAddress",
|
|
1343
|
+
"geoCoordinates",
|
|
1344
|
+
"streetAddress",
|
|
1345
|
+
"hotel",
|
|
1346
|
+
"restaurant",
|
|
1347
|
+
"localBusiness",
|
|
1348
|
+
"postalAddress"
|
|
1349
|
+
]);
|
|
1350
|
+
const microsoft_graph_locationUniqueIdType = z.enum([
|
|
1351
|
+
"unknown",
|
|
1352
|
+
"locationStore",
|
|
1353
|
+
"directory",
|
|
1354
|
+
"private",
|
|
1355
|
+
"bing"
|
|
1356
|
+
]);
|
|
1357
|
+
const microsoft_graph_location = z.object({
|
|
1358
|
+
address: microsoft_graph_physicalAddress.optional(),
|
|
1359
|
+
coordinates: microsoft_graph_outlookGeoCoordinates.optional(),
|
|
1360
|
+
displayName: z.string().describe("The name associated with the location.").nullish(),
|
|
1361
|
+
locationEmailAddress: z.string().describe("Optional email address of the location.").nullish(),
|
|
1362
|
+
locationType: microsoft_graph_locationType.optional(),
|
|
1363
|
+
locationUri: z.string().describe("Optional URI representing the location.").nullish(),
|
|
1364
|
+
uniqueId: z.string().describe("For internal use only.").nullish(),
|
|
1365
|
+
uniqueIdType: microsoft_graph_locationUniqueIdType.optional()
|
|
1366
|
+
}).passthrough();
|
|
1367
|
+
const microsoft_graph_freeBusyStatus = z.enum([
|
|
1368
|
+
"unknown",
|
|
1369
|
+
"free",
|
|
1370
|
+
"tentative",
|
|
1371
|
+
"busy",
|
|
1372
|
+
"oof",
|
|
1373
|
+
"workingElsewhere"
|
|
1374
|
+
]);
|
|
1375
|
+
const microsoft_graph_sensitivity = z.enum(["normal", "personal", "private", "confidential"]);
|
|
1376
|
+
const microsoft_graph_importance = z.enum(["low", "normal", "high"]);
|
|
1377
|
+
const microsoft_graph_attendeeType = z.enum(["required", "optional", "resource"]);
|
|
1321
1378
|
const microsoft_graph_timeSlot = z.object({
|
|
1322
1379
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
1323
1380
|
start: microsoft_graph_dateTimeTimeZone.optional()
|
|
1324
|
-
}).
|
|
1381
|
+
}).passthrough();
|
|
1325
1382
|
const microsoft_graph_responseType = z.enum([
|
|
1326
1383
|
"none",
|
|
1327
1384
|
"organizer",
|
|
@@ -1337,14 +1394,66 @@ const microsoft_graph_responseStatus = z.object({
|
|
|
1337
1394
|
).datetime({ offset: true }).describe(
|
|
1338
1395
|
"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"
|
|
1339
1396
|
).nullish()
|
|
1340
|
-
}).
|
|
1397
|
+
}).passthrough();
|
|
1341
1398
|
const microsoft_graph_attendee = z.object({
|
|
1342
1399
|
emailAddress: microsoft_graph_emailAddress.optional(),
|
|
1343
1400
|
type: microsoft_graph_attendeeType.optional(),
|
|
1344
1401
|
proposedNewTime: microsoft_graph_timeSlot.optional(),
|
|
1345
1402
|
status: microsoft_graph_responseStatus.optional()
|
|
1346
|
-
}).
|
|
1347
|
-
const
|
|
1403
|
+
}).passthrough();
|
|
1404
|
+
const microsoft_graph_dayOfWeek = z.enum([
|
|
1405
|
+
"sunday",
|
|
1406
|
+
"monday",
|
|
1407
|
+
"tuesday",
|
|
1408
|
+
"wednesday",
|
|
1409
|
+
"thursday",
|
|
1410
|
+
"friday",
|
|
1411
|
+
"saturday"
|
|
1412
|
+
]);
|
|
1413
|
+
const microsoft_graph_weekIndex = z.enum(["first", "second", "third", "fourth", "last"]);
|
|
1414
|
+
const microsoft_graph_recurrencePatternType = z.enum([
|
|
1415
|
+
"daily",
|
|
1416
|
+
"weekly",
|
|
1417
|
+
"absoluteMonthly",
|
|
1418
|
+
"relativeMonthly",
|
|
1419
|
+
"absoluteYearly",
|
|
1420
|
+
"relativeYearly"
|
|
1421
|
+
]);
|
|
1422
|
+
const microsoft_graph_recurrencePattern = z.object({
|
|
1423
|
+
dayOfMonth: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
1424
|
+
"The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly."
|
|
1425
|
+
).optional(),
|
|
1426
|
+
daysOfWeek: z.array(z.union([microsoft_graph_dayOfWeek, z.object({}).partial().passthrough()])).describe(
|
|
1427
|
+
"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."
|
|
1428
|
+
).optional(),
|
|
1429
|
+
firstDayOfWeek: microsoft_graph_dayOfWeek.optional(),
|
|
1430
|
+
index: microsoft_graph_weekIndex.optional(),
|
|
1431
|
+
interval: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
1432
|
+
"The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required."
|
|
1433
|
+
).optional(),
|
|
1434
|
+
month: z.number().gte(-2147483648).lte(2147483647).describe("The month in which the event occurs. This is a number from 1 to 12.").optional(),
|
|
1435
|
+
type: microsoft_graph_recurrencePatternType.optional()
|
|
1436
|
+
}).passthrough();
|
|
1437
|
+
const microsoft_graph_recurrenceRangeType = z.enum(["endDate", "noEnd", "numbered"]);
|
|
1438
|
+
const microsoft_graph_recurrenceRange = z.object({
|
|
1439
|
+
endDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
|
|
1440
|
+
"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."
|
|
1441
|
+
).nullish(),
|
|
1442
|
+
numberOfOccurrences: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
1443
|
+
"The number of times to repeat the event. Required and must be positive if type is numbered."
|
|
1444
|
+
).optional(),
|
|
1445
|
+
recurrenceTimeZone: z.string().describe(
|
|
1446
|
+
"Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used."
|
|
1447
|
+
).nullish(),
|
|
1448
|
+
startDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
|
|
1449
|
+
"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."
|
|
1450
|
+
).nullish(),
|
|
1451
|
+
type: microsoft_graph_recurrenceRangeType.optional()
|
|
1452
|
+
}).passthrough();
|
|
1453
|
+
const microsoft_graph_patternedRecurrence = z.object({
|
|
1454
|
+
pattern: microsoft_graph_recurrencePattern.optional(),
|
|
1455
|
+
range: microsoft_graph_recurrenceRange.optional()
|
|
1456
|
+
}).passthrough();
|
|
1348
1457
|
const microsoft_graph_event = z.object({
|
|
1349
1458
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1350
1459
|
createdDateTime: z.string().regex(
|
|
@@ -1369,44 +1478,36 @@ const microsoft_graph_event = z.object({
|
|
|
1369
1478
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
1370
1479
|
"The collection of multi-value extended properties defined for the event. Read-only. Nullable."
|
|
1371
1480
|
).optional(),
|
|
1372
|
-
|
|
1373
|
-
changeKey: z.string().describe(
|
|
1374
|
-
"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."
|
|
1375
|
-
).nullish(),
|
|
1376
|
-
allowNewTimeProposals: z.boolean().describe(
|
|
1377
|
-
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
1378
|
-
).nullish(),
|
|
1379
|
-
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
1380
|
-
bodyPreview: z.string().describe("The preview of the message associated with the event. It's in text format.").nullish(),
|
|
1381
|
-
cancelledOccurrences: z.array(z.string()).describe(
|
|
1382
|
-
"Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Returned only on $select in a Get operation which specifies the ID (seriesMasterId property value) of a series master event."
|
|
1383
|
-
).optional(),
|
|
1481
|
+
start: microsoft_graph_dateTimeTimeZone.optional(),
|
|
1384
1482
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
).nullish(),
|
|
1389
|
-
iCalUId: z.string().describe(
|
|
1390
|
-
"A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only."
|
|
1391
|
-
).nullish(),
|
|
1392
|
-
importance: microsoft_graph_importance.optional(),
|
|
1483
|
+
location: microsoft_graph_location.optional(),
|
|
1484
|
+
showAs: microsoft_graph_freeBusyStatus.optional(),
|
|
1485
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
1393
1486
|
isAllDay: z.boolean().describe(
|
|
1394
1487
|
"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."
|
|
1395
1488
|
).nullish(),
|
|
1396
|
-
|
|
1397
|
-
isDraft: z.boolean().describe(
|
|
1398
|
-
"Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees."
|
|
1399
|
-
).nullish(),
|
|
1489
|
+
importance: microsoft_graph_importance.optional(),
|
|
1400
1490
|
isOnlineMeeting: z.boolean().describe(
|
|
1401
1491
|
"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."
|
|
1402
1492
|
).nullish(),
|
|
1403
|
-
|
|
1404
|
-
|
|
1493
|
+
isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
|
|
1494
|
+
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
1495
|
+
recurrence: microsoft_graph_patternedRecurrence.optional(),
|
|
1496
|
+
reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe("The number of minutes before the event start time that the reminder alert occurs.").nullish(),
|
|
1497
|
+
allowNewTimeProposals: z.boolean().describe(
|
|
1498
|
+
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
1499
|
+
).nullish(),
|
|
1500
|
+
responseRequested: z.boolean().describe(
|
|
1501
|
+
"Default is true, which represents the organizer would like an invitee to send a response to the event."
|
|
1502
|
+
).nullish(),
|
|
1503
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
1504
|
+
changeKey: z.string().describe(
|
|
1505
|
+
"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."
|
|
1405
1506
|
).nullish()
|
|
1406
|
-
}).
|
|
1507
|
+
}).passthrough().passthrough();
|
|
1407
1508
|
const microsoft_graph_calendar = z.object({
|
|
1408
1509
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1409
|
-
allowedOnlineMeetingProviders: z.array(z.union([microsoft_graph_onlineMeetingProviderType, z.object({}).partial().
|
|
1510
|
+
allowedOnlineMeetingProviders: z.array(z.union([microsoft_graph_onlineMeetingProviderType, z.object({}).partial().passthrough()])).describe(
|
|
1410
1511
|
"Represent the online meeting service providers that can be used to create online meetings in this calendar. The possible values are: unknown, skypeForBusiness, skypeForConsumer, teamsForBusiness."
|
|
1411
1512
|
).optional(),
|
|
1412
1513
|
canEdit: z.boolean().describe(
|
|
@@ -1444,31 +1545,22 @@ const microsoft_graph_calendar = z.object({
|
|
|
1444
1545
|
singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
|
|
1445
1546
|
"The collection of single-value extended properties defined for the calendar. Read-only. Nullable."
|
|
1446
1547
|
).optional()
|
|
1447
|
-
}).
|
|
1548
|
+
}).passthrough();
|
|
1448
1549
|
const microsoft_graph_calendarCollectionResponse = z.object({
|
|
1449
1550
|
"@odata.count": z.number().int().nullable(),
|
|
1450
1551
|
"@odata.nextLink": z.string().nullable(),
|
|
1451
1552
|
value: z.array(microsoft_graph_calendar)
|
|
1452
|
-
}).partial().
|
|
1553
|
+
}).partial().passthrough();
|
|
1453
1554
|
const microsoft_graph_eventCollectionResponse = z.object({
|
|
1454
1555
|
"@odata.count": z.number().int().nullable(),
|
|
1455
1556
|
"@odata.nextLink": z.string().nullable(),
|
|
1456
1557
|
value: z.array(microsoft_graph_event)
|
|
1457
|
-
}).partial().
|
|
1558
|
+
}).partial().passthrough();
|
|
1458
1559
|
const microsoft_graph_chatCollectionResponse = z.object({
|
|
1459
1560
|
"@odata.count": z.number().int().nullable(),
|
|
1460
1561
|
"@odata.nextLink": z.string().nullable(),
|
|
1461
1562
|
value: z.array(microsoft_graph_chat)
|
|
1462
|
-
}).partial().
|
|
1463
|
-
const microsoft_graph_physicalAddress = z.object({
|
|
1464
|
-
city: z.string().describe("The city.").nullish(),
|
|
1465
|
-
countryOrRegion: z.string().describe(
|
|
1466
|
-
"The country or region. It's a free-format string value, for example, 'United States'."
|
|
1467
|
-
).nullish(),
|
|
1468
|
-
postalCode: z.string().describe("The postal code.").nullish(),
|
|
1469
|
-
state: z.string().describe("The state.").nullish(),
|
|
1470
|
-
street: z.string().describe("The street.").nullish()
|
|
1471
|
-
}).strict();
|
|
1563
|
+
}).partial().passthrough();
|
|
1472
1564
|
const microsoft_graph_contact = z.object({
|
|
1473
1565
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1474
1566
|
displayName: z.string().describe(
|
|
@@ -1515,15 +1607,15 @@ const microsoft_graph_contact = z.object({
|
|
|
1515
1607
|
homePhones: z.array(z.string().nullable()).describe("The contact's home phone numbers.").optional(),
|
|
1516
1608
|
imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
|
|
1517
1609
|
initials: z.string().describe("The contact's initials.").nullish()
|
|
1518
|
-
}).
|
|
1610
|
+
}).passthrough().passthrough();
|
|
1519
1611
|
const microsoft_graph_contactCollectionResponse = z.object({
|
|
1520
1612
|
"@odata.count": z.number().int().nullable(),
|
|
1521
1613
|
"@odata.nextLink": z.string().nullable(),
|
|
1522
1614
|
value: z.array(microsoft_graph_contact)
|
|
1523
|
-
}).partial().
|
|
1615
|
+
}).partial().passthrough();
|
|
1524
1616
|
const microsoft_graph_storagePlanInformation = z.object({
|
|
1525
1617
|
upgradeAvailable: z.boolean().describe("Indicates whether there are higher storage quota plans available. Read-only.").nullish()
|
|
1526
|
-
}).
|
|
1618
|
+
}).passthrough();
|
|
1527
1619
|
const microsoft_graph_quota = z.object({
|
|
1528
1620
|
deleted: z.number().describe("Total space consumed by files in the recycle bin, in bytes. Read-only.").nullish(),
|
|
1529
1621
|
remaining: z.number().describe("Total space remaining before reaching the capacity limit, in bytes. Read-only.").nullish(),
|
|
@@ -1531,8 +1623,8 @@ const microsoft_graph_quota = z.object({
|
|
|
1531
1623
|
storagePlanInformation: microsoft_graph_storagePlanInformation.optional(),
|
|
1532
1624
|
total: z.number().describe("Total allowed storage space, in bytes. Read-only.").nullish(),
|
|
1533
1625
|
used: z.number().describe("Total space used, in bytes. Read-only.").nullish()
|
|
1534
|
-
}).
|
|
1535
|
-
const microsoft_graph_systemFacet = z.object({}).
|
|
1626
|
+
}).passthrough();
|
|
1627
|
+
const microsoft_graph_systemFacet = z.object({}).passthrough();
|
|
1536
1628
|
const microsoft_graph_listInfo = z.object({
|
|
1537
1629
|
contentTypesEnabled: z.boolean().describe("If true, indicates that content types are enabled for this list.").nullish(),
|
|
1538
1630
|
hidden: z.boolean().describe(
|
|
@@ -1541,7 +1633,7 @@ const microsoft_graph_listInfo = z.object({
|
|
|
1541
1633
|
template: z.string().describe(
|
|
1542
1634
|
"An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more."
|
|
1543
1635
|
).nullish()
|
|
1544
|
-
}).
|
|
1636
|
+
}).passthrough();
|
|
1545
1637
|
const microsoft_graph_columnTypes = z.enum([
|
|
1546
1638
|
"note",
|
|
1547
1639
|
"text",
|
|
@@ -1563,7 +1655,7 @@ const microsoft_graph_columnTypes = z.enum([
|
|
|
1563
1655
|
"approvalStatus",
|
|
1564
1656
|
"unknownFutureValue"
|
|
1565
1657
|
]);
|
|
1566
|
-
const microsoft_graph_booleanColumn = z.object({}).
|
|
1658
|
+
const microsoft_graph_booleanColumn = z.object({}).passthrough();
|
|
1567
1659
|
const microsoft_graph_calculatedColumn = z.object({
|
|
1568
1660
|
format: z.string().describe(
|
|
1569
1661
|
"For dateTime output types, the format of the value. The possible values are: dateOnly or dateTime."
|
|
@@ -1572,18 +1664,18 @@ const microsoft_graph_calculatedColumn = z.object({
|
|
|
1572
1664
|
outputType: z.string().describe(
|
|
1573
1665
|
"The output type used to format values in this column. The possible values are: boolean, currency, dateTime, number, or text."
|
|
1574
1666
|
).nullish()
|
|
1575
|
-
}).
|
|
1667
|
+
}).passthrough();
|
|
1576
1668
|
const microsoft_graph_choiceColumn = z.object({
|
|
1577
1669
|
allowTextEntry: z.boolean().describe("If true, allows custom values that aren't in the configured choices.").nullish(),
|
|
1578
1670
|
choices: z.array(z.string().nullable()).describe("The list of values available for this column.").optional(),
|
|
1579
1671
|
displayAs: z.string().describe(
|
|
1580
1672
|
"How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons"
|
|
1581
1673
|
).nullish()
|
|
1582
|
-
}).
|
|
1583
|
-
const microsoft_graph_contentApprovalStatusColumn = z.object({}).
|
|
1674
|
+
}).passthrough();
|
|
1675
|
+
const microsoft_graph_contentApprovalStatusColumn = z.object({}).passthrough();
|
|
1584
1676
|
const microsoft_graph_currencyColumn = z.object({
|
|
1585
1677
|
locale: z.string().describe("Specifies the locale from which to infer the currency symbol.").nullish()
|
|
1586
|
-
}).
|
|
1678
|
+
}).passthrough();
|
|
1587
1679
|
const microsoft_graph_dateTimeColumn = z.object({
|
|
1588
1680
|
displayAs: z.string().describe(
|
|
1589
1681
|
"How the value should be presented in the UX. Must be one of default, friendly, or standard. See below for more details. If unspecified, treated as default."
|
|
@@ -1591,17 +1683,17 @@ const microsoft_graph_dateTimeColumn = z.object({
|
|
|
1591
1683
|
format: z.string().describe(
|
|
1592
1684
|
"Indicates whether the value should be presented as a date only or a date and time. Must be one of dateOnly or dateTime"
|
|
1593
1685
|
).nullish()
|
|
1594
|
-
}).
|
|
1686
|
+
}).passthrough();
|
|
1595
1687
|
const microsoft_graph_defaultColumnValue = z.object({
|
|
1596
1688
|
formula: z.string().describe("The formula used to compute the default value for the column.").nullish(),
|
|
1597
1689
|
value: z.string().describe("The direct value to use as the default value for the column.").nullish()
|
|
1598
|
-
}).
|
|
1599
|
-
const microsoft_graph_geolocationColumn = z.object({}).
|
|
1690
|
+
}).passthrough();
|
|
1691
|
+
const microsoft_graph_geolocationColumn = z.object({}).passthrough();
|
|
1600
1692
|
const microsoft_graph_hyperlinkOrPictureColumn = z.object({
|
|
1601
1693
|
isPicture: z.boolean().describe(
|
|
1602
1694
|
"Specifies whether the display format used for URL columns is an image or a hyperlink."
|
|
1603
1695
|
).nullish()
|
|
1604
|
-
}).
|
|
1696
|
+
}).passthrough();
|
|
1605
1697
|
const microsoft_graph_lookupColumn = z.object({
|
|
1606
1698
|
allowMultipleValues: z.boolean().describe("Indicates whether multiple values can be selected from the source.").nullish(),
|
|
1607
1699
|
allowUnlimitedLength: z.boolean().describe(
|
|
@@ -1612,7 +1704,7 @@ const microsoft_graph_lookupColumn = z.object({
|
|
|
1612
1704
|
primaryLookupColumnId: z.string().describe(
|
|
1613
1705
|
"If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here."
|
|
1614
1706
|
).nullish()
|
|
1615
|
-
}).
|
|
1707
|
+
}).passthrough();
|
|
1616
1708
|
const microsoft_graph_numberColumn = z.object({
|
|
1617
1709
|
decimalPlaces: z.string().describe(
|
|
1618
1710
|
"How many decimal places to display. See below for information about the possible values."
|
|
@@ -1622,14 +1714,14 @@ const microsoft_graph_numberColumn = z.object({
|
|
|
1622
1714
|
).nullish(),
|
|
1623
1715
|
maximum: z.number().describe("The maximum permitted value. [Simplified from 3 options]").nullish(),
|
|
1624
1716
|
minimum: z.number().describe("The minimum permitted value. [Simplified from 3 options]").nullish()
|
|
1625
|
-
}).
|
|
1717
|
+
}).passthrough();
|
|
1626
1718
|
const microsoft_graph_personOrGroupColumn = z.object({
|
|
1627
1719
|
allowMultipleSelection: z.boolean().describe("Indicates whether multiple values can be selected from the source.").nullish(),
|
|
1628
1720
|
chooseFromType: z.string().describe(
|
|
1629
1721
|
"Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly."
|
|
1630
1722
|
).nullish(),
|
|
1631
1723
|
displayAs: z.string().describe("How to display the information about the person or group chosen. See below.").nullish()
|
|
1632
|
-
}).
|
|
1724
|
+
}).passthrough();
|
|
1633
1725
|
const microsoft_graph_columnDefinition = z.object({
|
|
1634
1726
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1635
1727
|
name: z.string().describe(
|
|
@@ -1662,11 +1754,11 @@ const microsoft_graph_columnDefinition = z.object({
|
|
|
1662
1754
|
propagateChanges: z.boolean().describe(
|
|
1663
1755
|
"If 'true', changes to this column will be propagated to lists that implement the column."
|
|
1664
1756
|
).nullish()
|
|
1665
|
-
}).
|
|
1757
|
+
}).passthrough().passthrough();
|
|
1666
1758
|
const microsoft_graph_contentTypeInfo = z.object({
|
|
1667
1759
|
id: z.string().describe("The ID of the content type.").nullish(),
|
|
1668
1760
|
name: z.string().describe("The name of the content type.").nullish()
|
|
1669
|
-
}).
|
|
1761
|
+
}).passthrough();
|
|
1670
1762
|
const microsoft_graph_documentSetContent = z.object({
|
|
1671
1763
|
contentType: microsoft_graph_contentTypeInfo.optional(),
|
|
1672
1764
|
fileName: z.string().describe(
|
|
@@ -1675,7 +1767,7 @@ const microsoft_graph_documentSetContent = z.object({
|
|
|
1675
1767
|
folderName: z.string().describe(
|
|
1676
1768
|
"Folder name in which the file will be placed when a new document set is created in the library."
|
|
1677
1769
|
).nullish()
|
|
1678
|
-
}).
|
|
1770
|
+
}).passthrough();
|
|
1679
1771
|
const microsoft_graph_documentSet = z.object({
|
|
1680
1772
|
allowedContentTypes: z.array(microsoft_graph_contentTypeInfo).describe("Content types allowed in document set.").optional(),
|
|
1681
1773
|
defaultContents: z.array(microsoft_graph_documentSetContent).describe("Default contents of document set.").optional(),
|
|
@@ -1684,15 +1776,15 @@ const microsoft_graph_documentSet = z.object({
|
|
|
1684
1776
|
welcomePageUrl: z.string().describe("Welcome page absolute URL.").nullish(),
|
|
1685
1777
|
sharedColumns: z.array(microsoft_graph_columnDefinition).optional(),
|
|
1686
1778
|
welcomePageColumns: z.array(microsoft_graph_columnDefinition).optional()
|
|
1687
|
-
}).
|
|
1779
|
+
}).passthrough();
|
|
1688
1780
|
const microsoft_graph_contentTypeOrder = z.object({
|
|
1689
1781
|
default: z.boolean().describe("Indicates whether this is the default content type").nullish(),
|
|
1690
1782
|
position: z.number().gte(-2147483648).lte(2147483647).describe("Specifies the position in which the content type appears in the selection UI.").nullish()
|
|
1691
|
-
}).
|
|
1783
|
+
}).passthrough();
|
|
1692
1784
|
const microsoft_graph_columnLink = z.object({
|
|
1693
1785
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1694
1786
|
name: z.string().describe("The name of the column in this content type.").nullish()
|
|
1695
|
-
}).
|
|
1787
|
+
}).passthrough();
|
|
1696
1788
|
const microsoft_graph_contentType = z.lazy(
|
|
1697
1789
|
() => z.object({
|
|
1698
1790
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -1725,19 +1817,19 @@ const microsoft_graph_contentType = z.lazy(
|
|
|
1725
1817
|
columnLinks: z.array(microsoft_graph_columnLink).describe("The collection of columns that are required by this content type.").optional(),
|
|
1726
1818
|
columnPositions: z.array(microsoft_graph_columnDefinition).describe("Column order information in a content type.").optional(),
|
|
1727
1819
|
columns: z.array(microsoft_graph_columnDefinition).describe("The collection of column definitions for this content type.").optional()
|
|
1728
|
-
}).
|
|
1820
|
+
}).passthrough()
|
|
1729
1821
|
);
|
|
1730
1822
|
const microsoft_graph_itemActionStat = z.object({
|
|
1731
1823
|
actionCount: z.number().gte(-2147483648).lte(2147483647).describe("The number of times the action took place. Read-only.").nullish(),
|
|
1732
1824
|
actorCount: z.number().gte(-2147483648).lte(2147483647).describe("The number of distinct actors that performed the action. Read-only.").nullish()
|
|
1733
|
-
}).
|
|
1825
|
+
}).passthrough();
|
|
1734
1826
|
const microsoft_graph_incompleteData = z.object({
|
|
1735
1827
|
missingDataBeforeDateTime: z.string().regex(
|
|
1736
1828
|
/^[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])$/
|
|
1737
1829
|
).datetime({ offset: true }).describe("The service does not have source data before the specified time.").nullish(),
|
|
1738
1830
|
wasThrottled: z.boolean().describe("Some data was not recorded due to excessive activity.").nullish()
|
|
1739
|
-
}).
|
|
1740
|
-
const microsoft_graph_accessAction = z.object({}).
|
|
1831
|
+
}).passthrough();
|
|
1832
|
+
const microsoft_graph_accessAction = z.object({}).passthrough();
|
|
1741
1833
|
const microsoft_graph_itemActivity = z.object({
|
|
1742
1834
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1743
1835
|
access: microsoft_graph_accessAction.optional(),
|
|
@@ -1746,7 +1838,7 @@ const microsoft_graph_itemActivity = z.object({
|
|
|
1746
1838
|
).datetime({ offset: true }).describe("Details about when the activity took place. Read-only.").nullish(),
|
|
1747
1839
|
actor: microsoft_graph_identitySet.optional(),
|
|
1748
1840
|
driveItem: microsoft_graph_driveItem.describe("[Note: Simplified from 45 properties to 25 most common ones]").optional()
|
|
1749
|
-
}).
|
|
1841
|
+
}).passthrough();
|
|
1750
1842
|
const microsoft_graph_itemActivityStat = z.object({
|
|
1751
1843
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1752
1844
|
access: microsoft_graph_itemActionStat.optional(),
|
|
@@ -1763,13 +1855,13 @@ const microsoft_graph_itemActivityStat = z.object({
|
|
|
1763
1855
|
/^[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
1856
|
).datetime({ offset: true }).describe("When the interval starts. Read-only.").nullish(),
|
|
1765
1857
|
activities: z.array(microsoft_graph_itemActivity).describe("Exposes the itemActivities represented in this itemActivityStat resource.").optional()
|
|
1766
|
-
}).
|
|
1858
|
+
}).passthrough();
|
|
1767
1859
|
const microsoft_graph_itemAnalytics = z.object({
|
|
1768
1860
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1769
1861
|
allTime: microsoft_graph_itemActivityStat.optional(),
|
|
1770
1862
|
itemActivityStats: z.array(microsoft_graph_itemActivityStat).optional(),
|
|
1771
1863
|
lastSevenDays: microsoft_graph_itemActivityStat.optional()
|
|
1772
|
-
}).
|
|
1864
|
+
}).passthrough();
|
|
1773
1865
|
const microsoft_graph_publicationFacet = z.object({
|
|
1774
1866
|
checkedOutBy: microsoft_graph_identitySet.optional(),
|
|
1775
1867
|
level: z.string().describe(
|
|
@@ -1778,13 +1870,13 @@ const microsoft_graph_publicationFacet = z.object({
|
|
|
1778
1870
|
versionId: z.string().describe(
|
|
1779
1871
|
"The unique identifier for the version that is visible to the current caller. Read-only."
|
|
1780
1872
|
).nullish()
|
|
1781
|
-
}).
|
|
1782
|
-
const microsoft_graph_fieldValueSet = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
1873
|
+
}).passthrough();
|
|
1874
|
+
const microsoft_graph_fieldValueSet = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
1783
1875
|
const microsoft_graph_documentSetVersionItem = z.object({
|
|
1784
1876
|
itemId: z.string().describe("The unique identifier for the item.").nullish(),
|
|
1785
1877
|
title: z.string().describe("The title of the item.").nullish(),
|
|
1786
1878
|
versionId: z.string().describe("The version ID of the item.").nullish()
|
|
1787
|
-
}).
|
|
1879
|
+
}).passthrough();
|
|
1788
1880
|
const microsoft_graph_documentSetVersion = z.object({
|
|
1789
1881
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1790
1882
|
lastModifiedBy: microsoft_graph_identitySet.optional(),
|
|
@@ -1802,7 +1894,7 @@ const microsoft_graph_documentSetVersion = z.object({
|
|
|
1802
1894
|
shouldCaptureMinorVersion: z.boolean().describe(
|
|
1803
1895
|
"If true, minor versions of items are also captured; otherwise, only major versions are captured. The default value is false."
|
|
1804
1896
|
).nullish()
|
|
1805
|
-
}).
|
|
1897
|
+
}).passthrough();
|
|
1806
1898
|
const microsoft_graph_listItemVersion = z.object({
|
|
1807
1899
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1808
1900
|
lastModifiedBy: microsoft_graph_identitySet.optional(),
|
|
@@ -1811,7 +1903,7 @@ const microsoft_graph_listItemVersion = z.object({
|
|
|
1811
1903
|
).datetime({ offset: true }).describe("Date and time the version was last modified. Read-only.").nullish(),
|
|
1812
1904
|
publication: microsoft_graph_publicationFacet.optional(),
|
|
1813
1905
|
fields: microsoft_graph_fieldValueSet.optional()
|
|
1814
|
-
}).
|
|
1906
|
+
}).passthrough();
|
|
1815
1907
|
const microsoft_graph_listItem = z.object({
|
|
1816
1908
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1817
1909
|
createdBy: microsoft_graph_identitySet.optional(),
|
|
@@ -1839,7 +1931,7 @@ const microsoft_graph_listItem = z.object({
|
|
|
1839
1931
|
driveItem: microsoft_graph_driveItem.describe("[Note: Simplified from 45 properties to 25 most common ones]").optional(),
|
|
1840
1932
|
fields: microsoft_graph_fieldValueSet.optional(),
|
|
1841
1933
|
versions: z.array(microsoft_graph_listItemVersion).describe("The list of previous versions of the list item.").optional()
|
|
1842
|
-
}).
|
|
1934
|
+
}).passthrough();
|
|
1843
1935
|
const microsoft_graph_longRunningOperationStatus = z.enum([
|
|
1844
1936
|
"notStarted",
|
|
1845
1937
|
"running",
|
|
@@ -1851,20 +1943,20 @@ const microsoft_graph_publicErrorDetail = z.object({
|
|
|
1851
1943
|
code: z.string().describe("The error code.").nullish(),
|
|
1852
1944
|
message: z.string().describe("The error message.").nullish(),
|
|
1853
1945
|
target: z.string().describe("The target of the error.").nullish()
|
|
1854
|
-
}).
|
|
1946
|
+
}).passthrough();
|
|
1855
1947
|
const microsoft_graph_publicInnerError = z.object({
|
|
1856
1948
|
code: z.string().describe("The error code.").nullish(),
|
|
1857
1949
|
details: z.array(microsoft_graph_publicErrorDetail).describe("A collection of error details.").optional(),
|
|
1858
1950
|
message: z.string().describe("The error message.").nullish(),
|
|
1859
1951
|
target: z.string().describe("The target of the error.").nullish()
|
|
1860
|
-
}).
|
|
1952
|
+
}).passthrough();
|
|
1861
1953
|
const microsoft_graph_publicError = z.object({
|
|
1862
1954
|
code: z.string().describe("Represents the error code.").nullish(),
|
|
1863
1955
|
details: z.array(microsoft_graph_publicErrorDetail).describe("Details of the error.").optional(),
|
|
1864
1956
|
innerError: microsoft_graph_publicInnerError.optional(),
|
|
1865
1957
|
message: z.string().describe("A non-localized message for the developer.").nullish(),
|
|
1866
1958
|
target: z.string().describe("The target of the error.").nullish()
|
|
1867
|
-
}).
|
|
1959
|
+
}).passthrough();
|
|
1868
1960
|
const microsoft_graph_richLongRunningOperation = z.object({
|
|
1869
1961
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1870
1962
|
createdDateTime: z.string().regex(
|
|
@@ -1884,7 +1976,7 @@ const microsoft_graph_richLongRunningOperation = z.object({
|
|
|
1884
1976
|
percentageComplete: z.number().gte(-2147483648).lte(2147483647).describe("A value between 0 and 100 that indicates the progress of the operation.").nullish(),
|
|
1885
1977
|
resourceId: z.string().describe("The unique identifier for the result.").nullish(),
|
|
1886
1978
|
type: z.string().describe("The type of the operation.").nullish()
|
|
1887
|
-
}).
|
|
1979
|
+
}).passthrough();
|
|
1888
1980
|
const microsoft_graph_subscription = z.object({
|
|
1889
1981
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
1890
1982
|
applicationId: z.string().describe(
|
|
@@ -1931,7 +2023,7 @@ const microsoft_graph_subscription = z.object({
|
|
|
1931
2023
|
resource: z.string().describe(
|
|
1932
2024
|
"Required. Specifies the resource that is monitored for changes. Don't include the base URL (https://graph.microsoft.com/v1.0/). See the possible resource path values for each supported resource."
|
|
1933
2025
|
).optional()
|
|
1934
|
-
}).
|
|
2026
|
+
}).passthrough();
|
|
1935
2027
|
const microsoft_graph_list = z.lazy(
|
|
1936
2028
|
() => z.object({
|
|
1937
2029
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -1962,7 +2054,7 @@ const microsoft_graph_list = z.lazy(
|
|
|
1962
2054
|
items: z.array(microsoft_graph_listItem).describe("All items contained in the list.").optional(),
|
|
1963
2055
|
operations: z.array(microsoft_graph_richLongRunningOperation).describe("The collection of long-running operations on the list.").optional(),
|
|
1964
2056
|
subscriptions: z.array(microsoft_graph_subscription).describe("The set of subscriptions on the list.").optional()
|
|
1965
|
-
}).
|
|
2057
|
+
}).passthrough()
|
|
1966
2058
|
);
|
|
1967
2059
|
const microsoft_graph_drive = z.lazy(
|
|
1968
2060
|
() => z.object({
|
|
@@ -1999,24 +2091,24 @@ const microsoft_graph_drive = z.lazy(
|
|
|
1999
2091
|
list: microsoft_graph_list.optional(),
|
|
2000
2092
|
root: microsoft_graph_driveItem.describe("[Note: Simplified from 45 properties to 25 most common ones]").optional(),
|
|
2001
2093
|
special: z.array(microsoft_graph_driveItem).describe("Collection of common folders available in OneDrive. Read-only. Nullable.").optional()
|
|
2002
|
-
}).
|
|
2094
|
+
}).passthrough()
|
|
2003
2095
|
);
|
|
2004
2096
|
const microsoft_graph_driveCollectionResponse = z.object({
|
|
2005
2097
|
"@odata.count": z.number().int().nullable(),
|
|
2006
2098
|
"@odata.nextLink": z.string().nullable(),
|
|
2007
2099
|
value: z.array(microsoft_graph_drive)
|
|
2008
|
-
}).partial().
|
|
2100
|
+
}).partial().passthrough();
|
|
2009
2101
|
const microsoft_graph_giphyRatingType = z.enum(["strict", "moderate", "unknownFutureValue"]);
|
|
2010
2102
|
const microsoft_graph_teamFunSettings = z.object({
|
|
2011
2103
|
allowCustomMemes: z.boolean().describe("If set to true, enables users to include custom memes.").nullish(),
|
|
2012
2104
|
allowGiphy: z.boolean().describe("If set to true, enables Giphy use.").nullish(),
|
|
2013
2105
|
allowStickersAndMemes: z.boolean().describe("If set to true, enables users to include stickers and memes.").nullish(),
|
|
2014
2106
|
giphyContentRating: microsoft_graph_giphyRatingType.optional()
|
|
2015
|
-
}).
|
|
2107
|
+
}).passthrough();
|
|
2016
2108
|
const microsoft_graph_teamGuestSettings = z.object({
|
|
2017
2109
|
allowCreateUpdateChannels: z.boolean().describe("If set to true, guests can add and update channels.").nullish(),
|
|
2018
2110
|
allowDeleteChannels: z.boolean().describe("If set to true, guests can delete channels.").nullish()
|
|
2019
|
-
}).
|
|
2111
|
+
}).passthrough();
|
|
2020
2112
|
const microsoft_graph_teamMemberSettings = z.object({
|
|
2021
2113
|
allowAddRemoveApps: z.boolean().describe("If set to true, members can add and remove apps.").nullish(),
|
|
2022
2114
|
allowCreatePrivateChannels: z.boolean().describe("If set to true, members can add and update private channels.").nullish(),
|
|
@@ -2024,14 +2116,14 @@ const microsoft_graph_teamMemberSettings = z.object({
|
|
|
2024
2116
|
allowCreateUpdateRemoveConnectors: z.boolean().describe("If set to true, members can add, update, and remove connectors.").nullish(),
|
|
2025
2117
|
allowCreateUpdateRemoveTabs: z.boolean().describe("If set to true, members can add, update, and remove tabs.").nullish(),
|
|
2026
2118
|
allowDeleteChannels: z.boolean().describe("If set to true, members can delete channels.").nullish()
|
|
2027
|
-
}).
|
|
2119
|
+
}).passthrough();
|
|
2028
2120
|
const microsoft_graph_teamMessagingSettings = z.object({
|
|
2029
2121
|
allowChannelMentions: z.boolean().describe("If set to true, @channel mentions are allowed.").nullish(),
|
|
2030
2122
|
allowOwnerDeleteMessages: z.boolean().describe("If set to true, owners can delete any message.").nullish(),
|
|
2031
2123
|
allowTeamMentions: z.boolean().describe("If set to true, @team mentions are allowed.").nullish(),
|
|
2032
2124
|
allowUserDeleteMessages: z.boolean().describe("If set to true, users can delete their messages.").nullish(),
|
|
2033
2125
|
allowUserEditMessages: z.boolean().describe("If set to true, users can edit their messages.").nullish()
|
|
2034
|
-
}).
|
|
2126
|
+
}).passthrough();
|
|
2035
2127
|
const microsoft_graph_teamSpecialization = z.enum([
|
|
2036
2128
|
"none",
|
|
2037
2129
|
"educationStandard",
|
|
@@ -2046,7 +2138,7 @@ const microsoft_graph_teamSummary = z.object({
|
|
|
2046
2138
|
guestsCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of guests in a team.").nullish(),
|
|
2047
2139
|
membersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of members in a team.").nullish(),
|
|
2048
2140
|
ownersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of owners in a team.").nullish()
|
|
2049
|
-
}).
|
|
2141
|
+
}).passthrough();
|
|
2050
2142
|
const microsoft_graph_teamVisibilityType = z.enum([
|
|
2051
2143
|
"private",
|
|
2052
2144
|
"public",
|
|
@@ -2064,7 +2156,7 @@ const microsoft_graph_channelSummary = z.object({
|
|
|
2064
2156
|
hasMembersFromOtherTenants: z.boolean().describe("Indicates whether external members are included on the channel.").nullish(),
|
|
2065
2157
|
membersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of members in a channel.").nullish(),
|
|
2066
2158
|
ownersCount: z.number().gte(-2147483648).lte(2147483647).describe("Count of owners in a channel.").nullish()
|
|
2067
|
-
}).
|
|
2159
|
+
}).passthrough();
|
|
2068
2160
|
const microsoft_graph_sharedWithChannelTeamInfo = z.lazy(
|
|
2069
2161
|
() => z.object({
|
|
2070
2162
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -2073,7 +2165,7 @@ const microsoft_graph_sharedWithChannelTeamInfo = z.lazy(
|
|
|
2073
2165
|
team: microsoft_graph_team.describe("[Note: Simplified from 30 properties to 25 most common ones]").optional(),
|
|
2074
2166
|
isHostTeam: z.boolean().describe("Indicates whether the team is the host of the channel.").nullish(),
|
|
2075
2167
|
allowedMembers: z.array(microsoft_graph_conversationMember).describe("A collection of team members who have access to the shared channel.").optional()
|
|
2076
|
-
}).
|
|
2168
|
+
}).passthrough()
|
|
2077
2169
|
);
|
|
2078
2170
|
const microsoft_graph_channel = z.lazy(
|
|
2079
2171
|
() => z.object({
|
|
@@ -2106,13 +2198,13 @@ const microsoft_graph_channel = z.lazy(
|
|
|
2106
2198
|
).optional(),
|
|
2107
2199
|
sharedWithTeams: z.array(microsoft_graph_sharedWithChannelTeamInfo).describe("A collection of teams with which a channel is shared.").optional(),
|
|
2108
2200
|
tabs: z.array(microsoft_graph_teamsTab).describe("A collection of all the tabs in the channel. A navigation property.").optional()
|
|
2109
|
-
}).
|
|
2201
|
+
}).passthrough()
|
|
2110
2202
|
);
|
|
2111
2203
|
const microsoft_graph_assignedLabel = z.object({
|
|
2112
2204
|
displayName: z.string().describe("The display name of the label. Read-only.").nullish(),
|
|
2113
2205
|
labelId: z.string().describe("The unique identifier of the label.").nullish()
|
|
2114
|
-
}).
|
|
2115
|
-
const microsoft_graph_licenseProcessingState = z.object({ state: z.string().nullish() }).
|
|
2206
|
+
}).passthrough();
|
|
2207
|
+
const microsoft_graph_licenseProcessingState = z.object({ state: z.string().nullish() }).passthrough();
|
|
2116
2208
|
const microsoft_graph_group = z.object({
|
|
2117
2209
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2118
2210
|
displayName: z.string().describe(
|
|
@@ -2191,11 +2283,11 @@ const microsoft_graph_group = z.object({
|
|
|
2191
2283
|
membershipRuleProcessingState: z.string().describe(
|
|
2192
2284
|
"Indicates whether the dynamic membership processing is on or paused. Possible values are On or Paused. Returned by default. Supports $filter (eq, ne, not, in)."
|
|
2193
2285
|
).nullish()
|
|
2194
|
-
}).
|
|
2286
|
+
}).passthrough().passthrough();
|
|
2195
2287
|
const microsoft_graph_operationError = z.object({
|
|
2196
2288
|
code: z.string().describe("Operation error code.").nullish(),
|
|
2197
2289
|
message: z.string().describe("Operation error message.").nullish()
|
|
2198
|
-
}).
|
|
2290
|
+
}).passthrough();
|
|
2199
2291
|
const microsoft_graph_teamsAsyncOperationType = z.enum([
|
|
2200
2292
|
"invalid",
|
|
2201
2293
|
"cloneTeam",
|
|
@@ -2236,7 +2328,7 @@ const microsoft_graph_teamsAsyncOperation = z.object({
|
|
|
2236
2328
|
targetResourceLocation: z.string().describe(
|
|
2237
2329
|
"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."
|
|
2238
2330
|
).nullish()
|
|
2239
|
-
}).
|
|
2331
|
+
}).passthrough();
|
|
2240
2332
|
const microsoft_graph_team = z.lazy(
|
|
2241
2333
|
() => z.object({
|
|
2242
2334
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -2274,13 +2366,13 @@ const microsoft_graph_team = z.lazy(
|
|
|
2274
2366
|
members: z.array(microsoft_graph_conversationMember).describe("Members and owners of the team.").optional(),
|
|
2275
2367
|
operations: z.array(microsoft_graph_teamsAsyncOperation).describe("The async operations that ran or are running on this team.").optional(),
|
|
2276
2368
|
permissionGrants: z.array(microsoft_graph_resourceSpecificPermissionGrant).describe("A collection of permissions granted to apps to access the team.").optional()
|
|
2277
|
-
}).
|
|
2369
|
+
}).passthrough().passthrough()
|
|
2278
2370
|
);
|
|
2279
2371
|
const microsoft_graph_teamCollectionResponse = z.object({
|
|
2280
2372
|
"@odata.count": z.number().int().nullable(),
|
|
2281
2373
|
"@odata.nextLink": z.string().nullable(),
|
|
2282
2374
|
value: z.array(microsoft_graph_team)
|
|
2283
|
-
}).partial().
|
|
2375
|
+
}).partial().passthrough();
|
|
2284
2376
|
const microsoft_graph_messageRuleActions = z.object({
|
|
2285
2377
|
assignCategories: z.array(z.string().nullable()).describe("A list of categories to be assigned to a message.").optional(),
|
|
2286
2378
|
copyToFolder: z.string().describe("The ID of a folder that a message is to be copied to.").nullish(),
|
|
@@ -2297,7 +2389,7 @@ const microsoft_graph_messageRuleActions = z.object({
|
|
|
2297
2389
|
).nullish(),
|
|
2298
2390
|
redirectTo: z.array(microsoft_graph_recipient).describe("The email addresses to which a message should be redirected.").optional(),
|
|
2299
2391
|
stopProcessingRules: z.boolean().describe("Indicates whether subsequent rules should be evaluated.").nullish()
|
|
2300
|
-
}).
|
|
2392
|
+
}).passthrough();
|
|
2301
2393
|
const microsoft_graph_messageActionFlag = z.enum([
|
|
2302
2394
|
"any",
|
|
2303
2395
|
"call",
|
|
@@ -2311,8 +2403,9 @@ const microsoft_graph_messageActionFlag = z.enum([
|
|
|
2311
2403
|
"replyToAll",
|
|
2312
2404
|
"review"
|
|
2313
2405
|
]);
|
|
2314
|
-
const microsoft_graph_sensitivity = z.enum(["normal", "personal", "private", "confidential"]);
|
|
2315
2406
|
const microsoft_graph_messageRulePredicates = z.object({
|
|
2407
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
2408
|
+
importance: microsoft_graph_importance.optional(),
|
|
2316
2409
|
bodyContains: z.array(z.string().nullable()).describe(
|
|
2317
2410
|
"Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply."
|
|
2318
2411
|
).optional(),
|
|
@@ -2331,7 +2424,6 @@ const microsoft_graph_messageRulePredicates = z.object({
|
|
|
2331
2424
|
headerContains: z.array(z.string().nullable()).describe(
|
|
2332
2425
|
"Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply."
|
|
2333
2426
|
).optional(),
|
|
2334
|
-
importance: microsoft_graph_importance.optional(),
|
|
2335
2427
|
isApprovalRequest: z.boolean().describe(
|
|
2336
2428
|
"Indicates whether an incoming message must be an approval request in order for the condition or exception to apply."
|
|
2337
2429
|
).nullish(),
|
|
@@ -2375,14 +2467,13 @@ const microsoft_graph_messageRulePredicates = z.object({
|
|
|
2375
2467
|
senderContains: z.array(z.string().nullable()).describe(
|
|
2376
2468
|
"Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply."
|
|
2377
2469
|
).optional(),
|
|
2378
|
-
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
2379
2470
|
sentCcMe: z.boolean().describe(
|
|
2380
2471
|
"Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply."
|
|
2381
2472
|
).nullish(),
|
|
2382
2473
|
sentOnlyToMe: z.boolean().describe(
|
|
2383
2474
|
"Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply."
|
|
2384
2475
|
).nullish()
|
|
2385
|
-
}).
|
|
2476
|
+
}).passthrough().passthrough();
|
|
2386
2477
|
const microsoft_graph_messageRule = z.object({
|
|
2387
2478
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2388
2479
|
actions: microsoft_graph_messageRuleActions.optional(),
|
|
@@ -2395,19 +2486,19 @@ const microsoft_graph_messageRule = z.object({
|
|
|
2395
2486
|
"Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API."
|
|
2396
2487
|
).nullish(),
|
|
2397
2488
|
sequence: z.number().gte(-2147483648).lte(2147483647).describe("Indicates the order in which the rule is executed, among other rules.").nullish()
|
|
2398
|
-
}).
|
|
2489
|
+
}).passthrough();
|
|
2399
2490
|
const microsoft_graph_followupFlagStatus = z.enum(["notFlagged", "complete", "flagged"]);
|
|
2400
2491
|
const microsoft_graph_followupFlag = z.object({
|
|
2401
2492
|
completedDateTime: microsoft_graph_dateTimeTimeZone.optional(),
|
|
2402
2493
|
dueDateTime: microsoft_graph_dateTimeTimeZone.optional(),
|
|
2403
2494
|
flagStatus: microsoft_graph_followupFlagStatus.optional(),
|
|
2404
2495
|
startDateTime: microsoft_graph_dateTimeTimeZone.optional()
|
|
2405
|
-
}).
|
|
2496
|
+
}).passthrough();
|
|
2406
2497
|
const microsoft_graph_inferenceClassificationType = z.enum(["focused", "other"]);
|
|
2407
2498
|
const microsoft_graph_internetMessageHeader = z.object({
|
|
2408
2499
|
name: z.string().describe("Represents the key in a key-value pair.").nullish(),
|
|
2409
2500
|
value: z.string().describe("The value in a key-value pair.").nullish()
|
|
2410
|
-
}).
|
|
2501
|
+
}).passthrough();
|
|
2411
2502
|
const microsoft_graph_message = z.object({
|
|
2412
2503
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2413
2504
|
createdDateTime: z.string().regex(
|
|
@@ -2429,6 +2520,9 @@ const microsoft_graph_message = z.object({
|
|
|
2429
2520
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
2430
2521
|
"The collection of multi-value extended properties defined for the message. Nullable."
|
|
2431
2522
|
).optional(),
|
|
2523
|
+
importance: microsoft_graph_importance.optional(),
|
|
2524
|
+
from: microsoft_graph_recipient.optional(),
|
|
2525
|
+
toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional(),
|
|
2432
2526
|
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
2433
2527
|
changeKey: z.string().describe(
|
|
2434
2528
|
"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."
|
|
@@ -2439,11 +2533,9 @@ const microsoft_graph_message = z.object({
|
|
|
2439
2533
|
conversationId: z.string().describe("The ID of the conversation the email belongs to.").nullish(),
|
|
2440
2534
|
conversationIndex: z.string().describe("Indicates the position of the message within the conversation.").nullish(),
|
|
2441
2535
|
flag: microsoft_graph_followupFlag.optional(),
|
|
2442
|
-
from: microsoft_graph_recipient.optional(),
|
|
2443
2536
|
hasAttachments: z.boolean().describe(
|
|
2444
2537
|
"Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>."
|
|
2445
2538
|
).nullish(),
|
|
2446
|
-
importance: microsoft_graph_importance.optional(),
|
|
2447
2539
|
inferenceClassification: microsoft_graph_inferenceClassificationType.optional(),
|
|
2448
2540
|
internetMessageHeaders: z.array(microsoft_graph_internetMessageHeader).describe(
|
|
2449
2541
|
"A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only."
|
|
@@ -2452,9 +2544,8 @@ const microsoft_graph_message = z.object({
|
|
|
2452
2544
|
isDeliveryReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
|
|
2453
2545
|
isDraft: z.boolean().describe(
|
|
2454
2546
|
"Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet."
|
|
2455
|
-
).nullish()
|
|
2456
|
-
|
|
2457
|
-
}).strict().passthrough();
|
|
2547
|
+
).nullish()
|
|
2548
|
+
}).passthrough().passthrough();
|
|
2458
2549
|
const microsoft_graph_mailFolder = z.lazy(
|
|
2459
2550
|
() => z.object({
|
|
2460
2551
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -2471,68 +2562,40 @@ const microsoft_graph_mailFolder = z.lazy(
|
|
|
2471
2562
|
messages: z.array(microsoft_graph_message).describe("The collection of messages in the mailFolder.").optional(),
|
|
2472
2563
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
2473
2564
|
"The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable."
|
|
2474
|
-
).optional(),
|
|
2475
|
-
singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
|
|
2476
|
-
"The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable."
|
|
2477
|
-
).optional()
|
|
2478
|
-
}).
|
|
2479
|
-
);
|
|
2480
|
-
const microsoft_graph_mailFolderCollectionResponse = z.object({
|
|
2481
|
-
"@odata.count": z.number().int().nullable(),
|
|
2482
|
-
"@odata.nextLink": z.string().nullable(),
|
|
2483
|
-
value: z.array(microsoft_graph_mailFolder)
|
|
2484
|
-
}).partial().
|
|
2485
|
-
const microsoft_graph_messageCollectionResponse = z.object({
|
|
2486
|
-
"@odata.count": z.number().int().nullable(),
|
|
2487
|
-
"@odata.nextLink": z.string().nullable(),
|
|
2488
|
-
value: z.array(microsoft_graph_message)
|
|
2489
|
-
}).partial().
|
|
2490
|
-
const microsoft_graph_attachmentCollectionResponse = z.object({
|
|
2491
|
-
"@odata.count": z.number().int().nullable(),
|
|
2492
|
-
"@odata.nextLink": z.string().nullable(),
|
|
2493
|
-
value: z.array(microsoft_graph_attachment)
|
|
2494
|
-
}).partial().
|
|
2495
|
-
const create_forward_draft_Body = z.object({
|
|
2496
|
-
ToRecipients: z.array(microsoft_graph_recipient),
|
|
2497
|
-
Message: z.union([microsoft_graph_message, z.object({}).partial().
|
|
2498
|
-
Comment: z.string().nullable()
|
|
2499
|
-
}).partial().
|
|
2500
|
-
const create_reply_draft_Body = z.object({
|
|
2501
|
-
Message: z.union([microsoft_graph_message, z.object({}).partial().
|
|
2502
|
-
Comment: z.string().nullable()
|
|
2503
|
-
}).partial().
|
|
2504
|
-
const microsoft_graph_attendeeBase = z.object({
|
|
2505
|
-
emailAddress: microsoft_graph_emailAddress.optional(),
|
|
2506
|
-
type: microsoft_graph_attendeeType.optional()
|
|
2507
|
-
}).
|
|
2508
|
-
const microsoft_graph_outlookGeoCoordinates = z.object({
|
|
2509
|
-
accuracy: z.number().describe(
|
|
2510
|
-
"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]"
|
|
2511
|
-
).nullish(),
|
|
2512
|
-
altitude: z.number().describe("The altitude of the location. [Simplified from 3 options]").nullish(),
|
|
2513
|
-
altitudeAccuracy: z.number().describe("The accuracy of the altitude. [Simplified from 3 options]").nullish(),
|
|
2514
|
-
latitude: z.number().describe("The latitude of the location. [Simplified from 3 options]").nullish(),
|
|
2515
|
-
longitude: z.number().describe("The longitude of the location. [Simplified from 3 options]").nullish()
|
|
2516
|
-
}).strict();
|
|
2517
|
-
const microsoft_graph_locationType = z.enum([
|
|
2518
|
-
"default",
|
|
2519
|
-
"conferenceRoom",
|
|
2520
|
-
"homeAddress",
|
|
2521
|
-
"businessAddress",
|
|
2522
|
-
"geoCoordinates",
|
|
2523
|
-
"streetAddress",
|
|
2524
|
-
"hotel",
|
|
2525
|
-
"restaurant",
|
|
2526
|
-
"localBusiness",
|
|
2527
|
-
"postalAddress"
|
|
2528
|
-
]);
|
|
2529
|
-
const microsoft_graph_locationUniqueIdType = z.enum([
|
|
2530
|
-
"unknown",
|
|
2531
|
-
"locationStore",
|
|
2532
|
-
"directory",
|
|
2533
|
-
"private",
|
|
2534
|
-
"bing"
|
|
2535
|
-
]);
|
|
2565
|
+
).optional(),
|
|
2566
|
+
singleValueExtendedProperties: z.array(microsoft_graph_singleValueLegacyExtendedProperty).describe(
|
|
2567
|
+
"The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable."
|
|
2568
|
+
).optional()
|
|
2569
|
+
}).passthrough()
|
|
2570
|
+
);
|
|
2571
|
+
const microsoft_graph_mailFolderCollectionResponse = z.object({
|
|
2572
|
+
"@odata.count": z.number().int().nullable(),
|
|
2573
|
+
"@odata.nextLink": z.string().nullable(),
|
|
2574
|
+
value: z.array(microsoft_graph_mailFolder)
|
|
2575
|
+
}).partial().passthrough();
|
|
2576
|
+
const microsoft_graph_messageCollectionResponse = z.object({
|
|
2577
|
+
"@odata.count": z.number().int().nullable(),
|
|
2578
|
+
"@odata.nextLink": z.string().nullable(),
|
|
2579
|
+
value: z.array(microsoft_graph_message)
|
|
2580
|
+
}).partial().passthrough();
|
|
2581
|
+
const microsoft_graph_attachmentCollectionResponse = z.object({
|
|
2582
|
+
"@odata.count": z.number().int().nullable(),
|
|
2583
|
+
"@odata.nextLink": z.string().nullable(),
|
|
2584
|
+
value: z.array(microsoft_graph_attachment)
|
|
2585
|
+
}).partial().passthrough();
|
|
2586
|
+
const create_forward_draft_Body = z.object({
|
|
2587
|
+
ToRecipients: z.array(microsoft_graph_recipient),
|
|
2588
|
+
Message: z.union([microsoft_graph_message, z.object({}).partial().passthrough()]),
|
|
2589
|
+
Comment: z.string().nullable()
|
|
2590
|
+
}).partial().passthrough();
|
|
2591
|
+
const create_reply_draft_Body = z.object({
|
|
2592
|
+
Message: z.union([microsoft_graph_message, z.object({}).partial().passthrough()]),
|
|
2593
|
+
Comment: z.string().nullable()
|
|
2594
|
+
}).partial().passthrough();
|
|
2595
|
+
const microsoft_graph_attendeeBase = z.object({
|
|
2596
|
+
emailAddress: microsoft_graph_emailAddress.optional(),
|
|
2597
|
+
type: microsoft_graph_attendeeType.optional()
|
|
2598
|
+
}).passthrough();
|
|
2536
2599
|
const microsoft_graph_locationConstraintItem = z.object({
|
|
2537
2600
|
address: microsoft_graph_physicalAddress.optional(),
|
|
2538
2601
|
coordinates: microsoft_graph_outlookGeoCoordinates.optional(),
|
|
@@ -2545,7 +2608,7 @@ const microsoft_graph_locationConstraintItem = z.object({
|
|
|
2545
2608
|
resolveAvailability: z.boolean().describe(
|
|
2546
2609
|
"If set to true and the specified resource is busy, findMeetingTimes looks for another resource that is free. If set to false and the specified resource is busy, findMeetingTimes returns the resource best ranked in the user's cache without checking if it's free. Default is true."
|
|
2547
2610
|
).nullish()
|
|
2548
|
-
}).
|
|
2611
|
+
}).passthrough();
|
|
2549
2612
|
const microsoft_graph_locationConstraint = z.object({
|
|
2550
2613
|
isRequired: z.boolean().describe(
|
|
2551
2614
|
"The client requests the service to include in the response a meeting location for the meeting. If this is true and all the resources are busy, findMeetingTimes won't return any meeting time suggestions. If this is false and all the resources are busy, findMeetingTimes would still look for meeting times without locations."
|
|
@@ -2554,46 +2617,46 @@ const microsoft_graph_locationConstraint = z.object({
|
|
|
2554
2617
|
"Constraint information for one or more locations that the client requests for the meeting."
|
|
2555
2618
|
).optional(),
|
|
2556
2619
|
suggestLocation: z.boolean().describe("The client requests the service to suggest one or more meeting locations.").nullish()
|
|
2557
|
-
}).
|
|
2620
|
+
}).passthrough();
|
|
2558
2621
|
const microsoft_graph_activityDomain = z.enum(["unknown", "work", "personal", "unrestricted"]);
|
|
2559
2622
|
const microsoft_graph_timeConstraint = z.object({
|
|
2560
2623
|
activityDomain: microsoft_graph_activityDomain.optional(),
|
|
2561
2624
|
timeSlots: z.array(microsoft_graph_timeSlot).optional()
|
|
2562
|
-
}).
|
|
2625
|
+
}).passthrough();
|
|
2563
2626
|
const ReferenceNumeric = z.enum(["-INF", "INF", "NaN"]);
|
|
2564
2627
|
const find_meeting_times_Body = z.object({
|
|
2565
2628
|
attendees: z.array(microsoft_graph_attendeeBase),
|
|
2566
2629
|
locationConstraint: z.union([
|
|
2567
2630
|
microsoft_graph_locationConstraint,
|
|
2568
|
-
z.object({}).partial().
|
|
2631
|
+
z.object({}).partial().passthrough()
|
|
2569
2632
|
]),
|
|
2570
|
-
timeConstraint: z.union([microsoft_graph_timeConstraint, z.object({}).partial().
|
|
2633
|
+
timeConstraint: z.union([microsoft_graph_timeConstraint, z.object({}).partial().passthrough()]),
|
|
2571
2634
|
meetingDuration: z.string().regex(/^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$/).nullable(),
|
|
2572
2635
|
maxCandidates: z.number().gte(-2147483648).lte(2147483647).nullable(),
|
|
2573
2636
|
isOrganizerOptional: z.boolean().nullable().default(false),
|
|
2574
2637
|
returnSuggestionReasons: z.boolean().nullable().default(false),
|
|
2575
2638
|
minimumAttendeePercentage: z.union([z.number(), z.string(), ReferenceNumeric])
|
|
2576
|
-
}).partial().
|
|
2639
|
+
}).partial().passthrough();
|
|
2577
2640
|
const send_mail_Body = z.object({
|
|
2578
2641
|
Message: microsoft_graph_message.describe(
|
|
2579
2642
|
"[Note: Simplified from 35 properties to 25 most common ones]"
|
|
2580
2643
|
),
|
|
2581
2644
|
SaveToSentItems: z.boolean().nullable().default(false)
|
|
2582
|
-
}).partial().
|
|
2583
|
-
const microsoft_graph_externalLink = z.object({ href: z.string().describe("The URL of the link.").nullish() }).
|
|
2645
|
+
}).partial().passthrough();
|
|
2646
|
+
const microsoft_graph_externalLink = z.object({ href: z.string().describe("The URL of the link.").nullish() }).passthrough();
|
|
2584
2647
|
const microsoft_graph_notebookLinks = z.object({
|
|
2585
2648
|
oneNoteClientUrl: microsoft_graph_externalLink.optional(),
|
|
2586
2649
|
oneNoteWebUrl: microsoft_graph_externalLink.optional()
|
|
2587
|
-
}).
|
|
2650
|
+
}).passthrough();
|
|
2588
2651
|
const microsoft_graph_onenoteUserRole = z.enum(["None", "Owner", "Contributor", "Reader"]);
|
|
2589
2652
|
const microsoft_graph_sectionLinks = z.object({
|
|
2590
2653
|
oneNoteClientUrl: microsoft_graph_externalLink.optional(),
|
|
2591
2654
|
oneNoteWebUrl: microsoft_graph_externalLink.optional()
|
|
2592
|
-
}).
|
|
2655
|
+
}).passthrough();
|
|
2593
2656
|
const microsoft_graph_pageLinks = z.object({
|
|
2594
2657
|
oneNoteClientUrl: microsoft_graph_externalLink.optional(),
|
|
2595
2658
|
oneNoteWebUrl: microsoft_graph_externalLink.optional()
|
|
2596
|
-
}).
|
|
2659
|
+
}).passthrough();
|
|
2597
2660
|
const microsoft_graph_onenotePage = z.lazy(
|
|
2598
2661
|
() => z.object({
|
|
2599
2662
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
@@ -2618,7 +2681,7 @@ const microsoft_graph_onenotePage = z.lazy(
|
|
|
2618
2681
|
userTags: z.array(z.string().nullable()).optional(),
|
|
2619
2682
|
parentNotebook: microsoft_graph_notebook.optional(),
|
|
2620
2683
|
parentSection: microsoft_graph_onenoteSection.optional()
|
|
2621
|
-
}).
|
|
2684
|
+
}).passthrough()
|
|
2622
2685
|
);
|
|
2623
2686
|
const microsoft_graph_onenoteSection = z.lazy(
|
|
2624
2687
|
() => z.object({
|
|
@@ -2645,7 +2708,7 @@ const microsoft_graph_onenoteSection = z.lazy(
|
|
|
2645
2708
|
pages: z.array(microsoft_graph_onenotePage).describe("The collection of pages in the section. Read-only. Nullable.").optional(),
|
|
2646
2709
|
parentNotebook: microsoft_graph_notebook.optional(),
|
|
2647
2710
|
parentSectionGroup: microsoft_graph_sectionGroup.optional()
|
|
2648
|
-
}).
|
|
2711
|
+
}).passthrough()
|
|
2649
2712
|
);
|
|
2650
2713
|
const microsoft_graph_sectionGroup = z.lazy(
|
|
2651
2714
|
() => z.object({
|
|
@@ -2674,7 +2737,7 @@ const microsoft_graph_sectionGroup = z.lazy(
|
|
|
2674
2737
|
parentSectionGroup: microsoft_graph_sectionGroup.optional(),
|
|
2675
2738
|
sectionGroups: z.array(microsoft_graph_sectionGroup).describe("The section groups in the section. Read-only. Nullable.").optional(),
|
|
2676
2739
|
sections: z.array(microsoft_graph_onenoteSection).describe("The sections in the section group. Read-only. Nullable.").optional()
|
|
2677
|
-
}).
|
|
2740
|
+
}).passthrough()
|
|
2678
2741
|
);
|
|
2679
2742
|
const microsoft_graph_notebook = z.lazy(
|
|
2680
2743
|
() => z.object({
|
|
@@ -2707,24 +2770,24 @@ const microsoft_graph_notebook = z.lazy(
|
|
|
2707
2770
|
userRole: microsoft_graph_onenoteUserRole.optional(),
|
|
2708
2771
|
sectionGroups: z.array(microsoft_graph_sectionGroup).describe("The section groups in the notebook. Read-only. Nullable.").optional(),
|
|
2709
2772
|
sections: z.array(microsoft_graph_onenoteSection).describe("The sections in the notebook. Read-only. Nullable.").optional()
|
|
2710
|
-
}).
|
|
2773
|
+
}).passthrough()
|
|
2711
2774
|
);
|
|
2712
2775
|
const microsoft_graph_notebookCollectionResponse = z.object({
|
|
2713
2776
|
"@odata.count": z.number().int().nullable(),
|
|
2714
2777
|
"@odata.nextLink": z.string().nullable(),
|
|
2715
2778
|
value: z.array(microsoft_graph_notebook)
|
|
2716
|
-
}).partial().
|
|
2779
|
+
}).partial().passthrough();
|
|
2717
2780
|
const microsoft_graph_onenoteSectionCollectionResponse = z.object({
|
|
2718
2781
|
"@odata.count": z.number().int().nullable(),
|
|
2719
2782
|
"@odata.nextLink": z.string().nullable(),
|
|
2720
2783
|
value: z.array(microsoft_graph_onenoteSection)
|
|
2721
|
-
}).partial().
|
|
2784
|
+
}).partial().passthrough();
|
|
2722
2785
|
const microsoft_graph_onenotePageCollectionResponse = z.object({
|
|
2723
2786
|
"@odata.count": z.number().int().nullable(),
|
|
2724
2787
|
"@odata.nextLink": z.string().nullable(),
|
|
2725
2788
|
value: z.array(microsoft_graph_onenotePage)
|
|
2726
|
-
}).partial().
|
|
2727
|
-
const microsoft_graph_plannerChecklistItems = z.object({}).
|
|
2789
|
+
}).partial().passthrough();
|
|
2790
|
+
const microsoft_graph_plannerChecklistItems = z.object({}).passthrough();
|
|
2728
2791
|
const microsoft_graph_plannerPreviewType = z.enum([
|
|
2729
2792
|
"automatic",
|
|
2730
2793
|
"noPreview",
|
|
@@ -2732,30 +2795,30 @@ const microsoft_graph_plannerPreviewType = z.enum([
|
|
|
2732
2795
|
"description",
|
|
2733
2796
|
"reference"
|
|
2734
2797
|
]);
|
|
2735
|
-
const microsoft_graph_plannerExternalReferences = z.object({}).
|
|
2798
|
+
const microsoft_graph_plannerExternalReferences = z.object({}).passthrough();
|
|
2736
2799
|
const microsoft_graph_plannerTaskDetails = z.object({
|
|
2737
2800
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2738
2801
|
checklist: microsoft_graph_plannerChecklistItems.optional(),
|
|
2739
2802
|
description: z.string().describe("Description of the task.").nullish(),
|
|
2740
2803
|
previewType: microsoft_graph_plannerPreviewType.optional(),
|
|
2741
2804
|
references: microsoft_graph_plannerExternalReferences.optional()
|
|
2742
|
-
}).
|
|
2743
|
-
const microsoft_graph_plannerAppliedCategories = z.object({}).
|
|
2744
|
-
const microsoft_graph_plannerAssignments = z.object({}).
|
|
2745
|
-
const microsoft_graph_plannerOrderHintsByAssignee = z.object({}).
|
|
2805
|
+
}).passthrough();
|
|
2806
|
+
const microsoft_graph_plannerAppliedCategories = z.object({}).passthrough();
|
|
2807
|
+
const microsoft_graph_plannerAssignments = z.object({}).passthrough();
|
|
2808
|
+
const microsoft_graph_plannerOrderHintsByAssignee = z.object({}).passthrough();
|
|
2746
2809
|
const microsoft_graph_plannerAssignedToTaskBoardTaskFormat = z.object({
|
|
2747
2810
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2748
2811
|
orderHintsByAssignee: microsoft_graph_plannerOrderHintsByAssignee.optional(),
|
|
2749
2812
|
unassignedOrderHint: z.string().describe(
|
|
2750
2813
|
"Hint value used to order the task on the AssignedTo view of the Task Board when the task isn't assigned to anyone, or if the orderHintsByAssignee dictionary doesn't provide an order hint for the user the task is assigned to. The format is defined as outlined here."
|
|
2751
2814
|
).nullish()
|
|
2752
|
-
}).
|
|
2815
|
+
}).passthrough();
|
|
2753
2816
|
const microsoft_graph_plannerBucketTaskBoardTaskFormat = z.object({
|
|
2754
2817
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2755
2818
|
orderHint: z.string().describe(
|
|
2756
2819
|
"Hint used to order tasks in the bucket view of the task board. For details about the supported format, see Using order hints in Planner."
|
|
2757
2820
|
).nullish()
|
|
2758
|
-
}).
|
|
2821
|
+
}).passthrough();
|
|
2759
2822
|
const microsoft_graph_plannerTask = z.object({
|
|
2760
2823
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2761
2824
|
createdDateTime: z.string().regex(
|
|
@@ -2810,71 +2873,18 @@ const microsoft_graph_plannerTask = z.object({
|
|
|
2810
2873
|
).nullish(),
|
|
2811
2874
|
assignedToTaskBoardFormat: microsoft_graph_plannerAssignedToTaskBoardTaskFormat.optional(),
|
|
2812
2875
|
bucketTaskBoardFormat: microsoft_graph_plannerBucketTaskBoardTaskFormat.optional()
|
|
2813
|
-
}).
|
|
2876
|
+
}).passthrough().passthrough();
|
|
2814
2877
|
const microsoft_graph_plannerTaskCollectionResponse = z.object({
|
|
2815
2878
|
"@odata.count": z.number().int().nullable(),
|
|
2816
2879
|
"@odata.nextLink": z.string().nullable(),
|
|
2817
2880
|
value: z.array(microsoft_graph_plannerTask)
|
|
2818
|
-
}).partial().
|
|
2881
|
+
}).partial().passthrough();
|
|
2819
2882
|
const microsoft_graph_wellknownListName = z.enum([
|
|
2820
2883
|
"none",
|
|
2821
2884
|
"defaultList",
|
|
2822
2885
|
"flaggedEmails",
|
|
2823
2886
|
"unknownFutureValue"
|
|
2824
2887
|
]);
|
|
2825
|
-
const microsoft_graph_dayOfWeek = z.enum([
|
|
2826
|
-
"sunday",
|
|
2827
|
-
"monday",
|
|
2828
|
-
"tuesday",
|
|
2829
|
-
"wednesday",
|
|
2830
|
-
"thursday",
|
|
2831
|
-
"friday",
|
|
2832
|
-
"saturday"
|
|
2833
|
-
]);
|
|
2834
|
-
const microsoft_graph_weekIndex = z.enum(["first", "second", "third", "fourth", "last"]);
|
|
2835
|
-
const microsoft_graph_recurrencePatternType = z.enum([
|
|
2836
|
-
"daily",
|
|
2837
|
-
"weekly",
|
|
2838
|
-
"absoluteMonthly",
|
|
2839
|
-
"relativeMonthly",
|
|
2840
|
-
"absoluteYearly",
|
|
2841
|
-
"relativeYearly"
|
|
2842
|
-
]);
|
|
2843
|
-
const microsoft_graph_recurrencePattern = z.object({
|
|
2844
|
-
dayOfMonth: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
2845
|
-
"The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly."
|
|
2846
|
-
).optional(),
|
|
2847
|
-
daysOfWeek: z.array(z.union([microsoft_graph_dayOfWeek, z.object({}).partial().strict()])).describe(
|
|
2848
|
-
"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."
|
|
2849
|
-
).optional(),
|
|
2850
|
-
firstDayOfWeek: microsoft_graph_dayOfWeek.optional(),
|
|
2851
|
-
index: microsoft_graph_weekIndex.optional(),
|
|
2852
|
-
interval: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
2853
|
-
"The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required."
|
|
2854
|
-
).optional(),
|
|
2855
|
-
month: z.number().gte(-2147483648).lte(2147483647).describe("The month in which the event occurs. This is a number from 1 to 12.").optional(),
|
|
2856
|
-
type: microsoft_graph_recurrencePatternType.optional()
|
|
2857
|
-
}).strict();
|
|
2858
|
-
const microsoft_graph_recurrenceRangeType = z.enum(["endDate", "noEnd", "numbered"]);
|
|
2859
|
-
const microsoft_graph_recurrenceRange = z.object({
|
|
2860
|
-
endDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
|
|
2861
|
-
"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."
|
|
2862
|
-
).nullish(),
|
|
2863
|
-
numberOfOccurrences: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
2864
|
-
"The number of times to repeat the event. Required and must be positive if type is numbered."
|
|
2865
|
-
).optional(),
|
|
2866
|
-
recurrenceTimeZone: z.string().describe(
|
|
2867
|
-
"Time zone for the startDate and endDate properties. Optional. If not specified, the time zone of the event is used."
|
|
2868
|
-
).nullish(),
|
|
2869
|
-
startDate: z.string().regex(/^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/).describe(
|
|
2870
|
-
"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."
|
|
2871
|
-
).nullish(),
|
|
2872
|
-
type: microsoft_graph_recurrenceRangeType.optional()
|
|
2873
|
-
}).strict();
|
|
2874
|
-
const microsoft_graph_patternedRecurrence = z.object({
|
|
2875
|
-
pattern: microsoft_graph_recurrencePattern.optional(),
|
|
2876
|
-
range: microsoft_graph_recurrenceRange.optional()
|
|
2877
|
-
}).strict();
|
|
2878
2888
|
const microsoft_graph_taskStatus = z.enum([
|
|
2879
2889
|
"notStarted",
|
|
2880
2890
|
"inProgress",
|
|
@@ -2892,7 +2902,7 @@ const microsoft_graph_attachmentBase = z.object({
|
|
|
2892
2902
|
).nullish(),
|
|
2893
2903
|
name: z.string().describe("The display name of the attachment. This doesn't need to be the actual file name.").nullish(),
|
|
2894
2904
|
size: z.number().gte(-2147483648).lte(2147483647).describe("The length of the attachment in bytes.").optional()
|
|
2895
|
-
}).
|
|
2905
|
+
}).passthrough();
|
|
2896
2906
|
const microsoft_graph_attachmentSession = z.object({
|
|
2897
2907
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2898
2908
|
content: z.string().describe("The content streams that are uploaded.").nullish(),
|
|
@@ -2904,7 +2914,7 @@ const microsoft_graph_attachmentSession = z.object({
|
|
|
2904
2914
|
nextExpectedRanges: z.array(z.string().nullable()).describe(
|
|
2905
2915
|
"Indicates a single value {start} that represents the location in the file where the next upload should begin."
|
|
2906
2916
|
).optional()
|
|
2907
|
-
}).
|
|
2917
|
+
}).passthrough();
|
|
2908
2918
|
const microsoft_graph_checklistItem = z.object({
|
|
2909
2919
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2910
2920
|
checkedDateTime: z.string().regex(
|
|
@@ -2915,7 +2925,7 @@ const microsoft_graph_checklistItem = z.object({
|
|
|
2915
2925
|
).datetime({ offset: true }).describe("The date and time when the checklistItem was created.").optional(),
|
|
2916
2926
|
displayName: z.string().describe("Indicates the title of the checklistItem.").nullish(),
|
|
2917
2927
|
isChecked: z.boolean().describe("State that indicates whether the item is checked off or not.").nullish()
|
|
2918
|
-
}).
|
|
2928
|
+
}).passthrough();
|
|
2919
2929
|
const microsoft_graph_linkedResource = z.object({
|
|
2920
2930
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2921
2931
|
applicationName: z.string().describe("The app name of the source that sends the linkedResource.").nullish(),
|
|
@@ -2924,7 +2934,7 @@ const microsoft_graph_linkedResource = z.object({
|
|
|
2924
2934
|
"ID of the object that is associated with this task on the third-party/partner system."
|
|
2925
2935
|
).nullish(),
|
|
2926
2936
|
webUrl: z.string().describe("Deep link to the linkedResource.").nullish()
|
|
2927
|
-
}).
|
|
2937
|
+
}).passthrough();
|
|
2928
2938
|
const microsoft_graph_todoTask = z.object({
|
|
2929
2939
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2930
2940
|
body: microsoft_graph_itemBody.optional(),
|
|
@@ -2961,7 +2971,7 @@ const microsoft_graph_todoTask = z.object({
|
|
|
2961
2971
|
checklistItems: z.array(microsoft_graph_checklistItem).describe("A collection of checklistItems linked to a task.").optional(),
|
|
2962
2972
|
extensions: z.array(microsoft_graph_extension).describe("The collection of open extensions defined for the task. Nullable.").optional(),
|
|
2963
2973
|
linkedResources: z.array(microsoft_graph_linkedResource).describe("A collection of resources linked to the task.").optional()
|
|
2964
|
-
}).
|
|
2974
|
+
}).passthrough();
|
|
2965
2975
|
const microsoft_graph_todoTaskList = z.object({
|
|
2966
2976
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2967
2977
|
displayName: z.string().describe("The name of the task list.").nullish(),
|
|
@@ -2970,23 +2980,23 @@ const microsoft_graph_todoTaskList = z.object({
|
|
|
2970
2980
|
wellknownListName: microsoft_graph_wellknownListName.optional(),
|
|
2971
2981
|
extensions: z.array(microsoft_graph_extension).describe("The collection of open extensions defined for the task list. Nullable.").optional(),
|
|
2972
2982
|
tasks: z.array(microsoft_graph_todoTask).describe("The tasks in this task list. Read-only. Nullable.").optional()
|
|
2973
|
-
}).
|
|
2983
|
+
}).passthrough();
|
|
2974
2984
|
const microsoft_graph_todoTaskListCollectionResponse = z.object({
|
|
2975
2985
|
"@odata.count": z.number().int().nullable(),
|
|
2976
2986
|
"@odata.nextLink": z.string().nullable(),
|
|
2977
2987
|
value: z.array(microsoft_graph_todoTaskList)
|
|
2978
|
-
}).partial().
|
|
2988
|
+
}).partial().passthrough();
|
|
2979
2989
|
const microsoft_graph_todoTaskCollectionResponse = z.object({
|
|
2980
2990
|
"@odata.count": z.number().int().nullable(),
|
|
2981
2991
|
"@odata.nextLink": z.string().nullable(),
|
|
2982
2992
|
value: z.array(microsoft_graph_todoTask)
|
|
2983
|
-
}).partial().
|
|
2993
|
+
}).partial().passthrough();
|
|
2984
2994
|
const microsoft_graph_plannerContainerType = z.enum(["group", "unknownFutureValue", "roster"]);
|
|
2985
2995
|
const microsoft_graph_plannerPlanContainer = z.object({
|
|
2986
2996
|
containerId: z.string().describe("The identifier of the resource that contains the plan. Optional.").nullish(),
|
|
2987
2997
|
type: microsoft_graph_plannerContainerType.optional(),
|
|
2988
2998
|
url: z.string().describe("The full canonical URL of the container. Optional.").nullish()
|
|
2989
|
-
}).
|
|
2999
|
+
}).passthrough();
|
|
2990
3000
|
const microsoft_graph_plannerBucket = z.object({
|
|
2991
3001
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
2992
3002
|
name: z.string().describe("Name of the bucket.").optional(),
|
|
@@ -2995,7 +3005,7 @@ const microsoft_graph_plannerBucket = z.object({
|
|
|
2995
3005
|
).nullish(),
|
|
2996
3006
|
planId: z.string().describe("Plan ID to which the bucket belongs.").nullish(),
|
|
2997
3007
|
tasks: z.array(microsoft_graph_plannerTask).describe("Read-only. Nullable. The collection of tasks in the bucket.").optional()
|
|
2998
|
-
}).
|
|
3008
|
+
}).passthrough();
|
|
2999
3009
|
const microsoft_graph_plannerCategoryDescriptions = z.object({
|
|
3000
3010
|
category1: z.string().describe("The label associated with Category 1").nullish(),
|
|
3001
3011
|
category10: z.string().describe("The label associated with Category 10").nullish(),
|
|
@@ -3022,13 +3032,13 @@ const microsoft_graph_plannerCategoryDescriptions = z.object({
|
|
|
3022
3032
|
category7: z.string().describe("The label associated with Category 7").nullish(),
|
|
3023
3033
|
category8: z.string().describe("The label associated with Category 8").nullish(),
|
|
3024
3034
|
category9: z.string().describe("The label associated with Category 9").nullish()
|
|
3025
|
-
}).
|
|
3026
|
-
const microsoft_graph_plannerUserIds = z.object({}).
|
|
3035
|
+
}).passthrough();
|
|
3036
|
+
const microsoft_graph_plannerUserIds = z.object({}).passthrough();
|
|
3027
3037
|
const microsoft_graph_plannerPlanDetails = z.object({
|
|
3028
3038
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
3029
3039
|
categoryDescriptions: microsoft_graph_plannerCategoryDescriptions.optional(),
|
|
3030
3040
|
sharedWith: microsoft_graph_plannerUserIds.optional()
|
|
3031
|
-
}).
|
|
3041
|
+
}).passthrough();
|
|
3032
3042
|
const microsoft_graph_plannerPlan = z.object({
|
|
3033
3043
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
3034
3044
|
container: microsoft_graph_plannerPlanContainer.optional(),
|
|
@@ -3045,7 +3055,7 @@ const microsoft_graph_plannerPlan = z.object({
|
|
|
3045
3055
|
buckets: z.array(microsoft_graph_plannerBucket).describe("Read-only. Nullable. Collection of buckets in the plan.").optional(),
|
|
3046
3056
|
details: microsoft_graph_plannerPlanDetails.optional(),
|
|
3047
3057
|
tasks: z.array(microsoft_graph_plannerTask).describe("Read-only. Nullable. Collection of tasks in the plan.").optional()
|
|
3048
|
-
}).
|
|
3058
|
+
}).passthrough();
|
|
3049
3059
|
const microsoft_graph_bucketAggregationRange = z.object({
|
|
3050
3060
|
from: z.string().describe(
|
|
3051
3061
|
"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."
|
|
@@ -3053,7 +3063,7 @@ const microsoft_graph_bucketAggregationRange = z.object({
|
|
|
3053
3063
|
to: z.string().describe(
|
|
3054
3064
|
"Defines the upper bound up to 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."
|
|
3055
3065
|
).optional()
|
|
3056
|
-
}).
|
|
3066
|
+
}).passthrough();
|
|
3057
3067
|
const microsoft_graph_bucketAggregationSortProperty = z.enum([
|
|
3058
3068
|
"count",
|
|
3059
3069
|
"keyAsString",
|
|
@@ -3074,7 +3084,7 @@ const microsoft_graph_bucketAggregationDefinition = z.object({
|
|
|
3074
3084
|
"Specifies the manual ranges to compute the aggregations. This is only valid for nonstring refiners of date or numeric type. Optional."
|
|
3075
3085
|
).optional(),
|
|
3076
3086
|
sortBy: microsoft_graph_bucketAggregationSortProperty.optional()
|
|
3077
|
-
}).
|
|
3087
|
+
}).passthrough();
|
|
3078
3088
|
const microsoft_graph_aggregationOption = z.object({
|
|
3079
3089
|
bucketDefinition: microsoft_graph_bucketAggregationDefinition.optional(),
|
|
3080
3090
|
field: z.string().describe(
|
|
@@ -3083,7 +3093,7 @@ const microsoft_graph_aggregationOption = z.object({
|
|
|
3083
3093
|
size: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
3084
3094
|
"The number of searchBucket resources to be returned. This isn't required when the range is provided manually in the search request. The minimum accepted size is 1, and the maximum is 65535. Optional."
|
|
3085
3095
|
).nullish()
|
|
3086
|
-
}).
|
|
3096
|
+
}).passthrough();
|
|
3087
3097
|
const microsoft_graph_collapseProperty = z.object({
|
|
3088
3098
|
fields: z.array(z.string()).describe(
|
|
3089
3099
|
"Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required."
|
|
@@ -3091,7 +3101,7 @@ const microsoft_graph_collapseProperty = z.object({
|
|
|
3091
3101
|
limit: z.number().gte(-32768).lte(32767).describe(
|
|
3092
3102
|
"Defines a maximum limit count for this field. This numeric value must be a positive integer. Required."
|
|
3093
3103
|
).optional()
|
|
3094
|
-
}).
|
|
3104
|
+
}).passthrough();
|
|
3095
3105
|
const microsoft_graph_entityType = z.enum([
|
|
3096
3106
|
"event",
|
|
3097
3107
|
"message",
|
|
@@ -3112,7 +3122,7 @@ const microsoft_graph_searchQuery = z.object({
|
|
|
3112
3122
|
queryTemplate: z.string().describe(
|
|
3113
3123
|
"Provides a way to decorate the query string. Supports both KQL and query variables. Optional."
|
|
3114
3124
|
).nullish()
|
|
3115
|
-
}).
|
|
3125
|
+
}).passthrough();
|
|
3116
3126
|
const microsoft_graph_searchAlterationOptions = z.object({
|
|
3117
3127
|
enableModification: z.boolean().describe(
|
|
3118
3128
|
"Indicates whether spelling modifications are enabled. If enabled, the user gets the search results for the corrected query if there were no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional."
|
|
@@ -3120,24 +3130,24 @@ const microsoft_graph_searchAlterationOptions = z.object({
|
|
|
3120
3130
|
enableSuggestion: z.boolean().describe(
|
|
3121
3131
|
"Indicates whether spelling suggestions are enabled. If enabled, the user gets the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional."
|
|
3122
3132
|
).nullish()
|
|
3123
|
-
}).
|
|
3133
|
+
}).passthrough();
|
|
3124
3134
|
const microsoft_graph_resultTemplateOption = z.object({
|
|
3125
3135
|
enableResultTemplate: z.boolean().describe(
|
|
3126
3136
|
"Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. Optional."
|
|
3127
3137
|
).nullish()
|
|
3128
|
-
}).
|
|
3138
|
+
}).passthrough();
|
|
3129
3139
|
const microsoft_graph_searchContent = z.enum([
|
|
3130
3140
|
"sharedContent",
|
|
3131
3141
|
"privateContent",
|
|
3132
3142
|
"unknownFutureValue"
|
|
3133
3143
|
]);
|
|
3134
|
-
const microsoft_graph_sharePointOneDriveOptions = z.object({ includeContent: microsoft_graph_searchContent.optional() }).
|
|
3144
|
+
const microsoft_graph_sharePointOneDriveOptions = z.object({ includeContent: microsoft_graph_searchContent.optional() }).passthrough();
|
|
3135
3145
|
const microsoft_graph_sortProperty = z.object({
|
|
3136
3146
|
isDescending: z.boolean().describe(
|
|
3137
3147
|
"True if the sort order is descending. Default is false, with the sort order as ascending. Optional."
|
|
3138
3148
|
).nullish(),
|
|
3139
3149
|
name: z.string().describe("The name of the property to sort on. Required.").optional()
|
|
3140
|
-
}).
|
|
3150
|
+
}).passthrough();
|
|
3141
3151
|
const microsoft_graph_searchRequest = z.object({
|
|
3142
3152
|
aggregationFilters: z.array(z.string().nullable()).describe(
|
|
3143
3153
|
"Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses."
|
|
@@ -3152,7 +3162,7 @@ const microsoft_graph_searchRequest = z.object({
|
|
|
3152
3162
|
enableTopResults: z.boolean().describe(
|
|
3153
3163
|
"This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional."
|
|
3154
3164
|
).nullish(),
|
|
3155
|
-
entityTypes: z.array(z.union([microsoft_graph_entityType, z.object({}).partial().
|
|
3165
|
+
entityTypes: z.array(z.union([microsoft_graph_entityType, z.object({}).partial().passthrough()])).describe(
|
|
3156
3166
|
"One or more types of resources expected in the response. The possible values are: event, message, driveItem, externalItem, site, list, listItem, drive, chatMessage, person, acronym, bookmark. Use the Prefer: include-unknown-enum-members request header to get the following members in this evolvable enum: chatMessage, person, acronym, bookmark. See known limitations for those combinations of two or more entity types that are supported in the same search request. Required."
|
|
3157
3167
|
).optional(),
|
|
3158
3168
|
fields: z.array(z.string().nullable()).describe(
|
|
@@ -3172,9 +3182,9 @@ const microsoft_graph_searchRequest = z.object({
|
|
|
3172
3182
|
sortProperties: z.array(microsoft_graph_sortProperty).describe(
|
|
3173
3183
|
"Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional."
|
|
3174
3184
|
).optional()
|
|
3175
|
-
}).
|
|
3176
|
-
const search_query_Body = z.object({ requests: z.array(microsoft_graph_searchRequest) }).partial().
|
|
3177
|
-
const BaseCollectionPaginationCountResponse = z.object({ "@odata.count": z.number().int().nullable(), "@odata.nextLink": z.string().nullable() }).partial().
|
|
3185
|
+
}).passthrough();
|
|
3186
|
+
const search_query_Body = z.object({ requests: z.array(microsoft_graph_searchRequest) }).partial().passthrough();
|
|
3187
|
+
const BaseCollectionPaginationCountResponse = z.object({ "@odata.count": z.number().int().nullable(), "@odata.nextLink": z.string().nullable() }).partial().passthrough();
|
|
3178
3188
|
const microsoft_graph_searchBucket = z.object({
|
|
3179
3189
|
aggregationFilterToken: z.string().describe(
|
|
3180
3190
|
"A token containing the encoded filter to aggregate search matches by the specific key value. To use the filter, pass the token as part of the aggregationFilter property in a searchRequest object, in the format '{field}:/'{aggregationFilterToken}/''. See an example."
|
|
@@ -3183,12 +3193,12 @@ const microsoft_graph_searchBucket = z.object({
|
|
|
3183
3193
|
"The approximate number of search matches that share the same value specified in the key property. Note that this number is not the exact number of matches."
|
|
3184
3194
|
).nullish(),
|
|
3185
3195
|
key: z.string().describe("The discrete value of the field that an aggregation was computed on.").nullish()
|
|
3186
|
-
}).
|
|
3196
|
+
}).passthrough();
|
|
3187
3197
|
const microsoft_graph_searchAggregation = z.object({
|
|
3188
3198
|
buckets: z.array(microsoft_graph_searchBucket).optional(),
|
|
3189
3199
|
field: z.string().nullish()
|
|
3190
|
-
}).
|
|
3191
|
-
const microsoft_graph_entity = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).
|
|
3200
|
+
}).passthrough();
|
|
3201
|
+
const microsoft_graph_entity = z.object({ id: z.string().describe("The unique identifier for an entity. Read-only.").optional() }).passthrough();
|
|
3192
3202
|
const microsoft_graph_searchHit = z.object({
|
|
3193
3203
|
contentSource: z.string().describe("The name of the content source that the externalItem is part of.").nullish(),
|
|
3194
3204
|
hitId: z.string().describe(
|
|
@@ -3203,7 +3213,7 @@ const microsoft_graph_searchHit = z.object({
|
|
|
3203
3213
|
).nullish(),
|
|
3204
3214
|
summary: z.string().describe("A summary of the result, if a summary is available.").nullish(),
|
|
3205
3215
|
resource: microsoft_graph_entity.optional()
|
|
3206
|
-
}).
|
|
3216
|
+
}).passthrough();
|
|
3207
3217
|
const microsoft_graph_searchHitsContainer = z.object({
|
|
3208
3218
|
aggregations: z.array(microsoft_graph_searchAggregation).optional(),
|
|
3209
3219
|
hits: z.array(microsoft_graph_searchHit).describe("A collection of the search results.").optional(),
|
|
@@ -3213,19 +3223,19 @@ const microsoft_graph_searchHitsContainer = z.object({
|
|
|
3213
3223
|
total: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
3214
3224
|
"The total number of results. Note this isn't the number of results on the page, but the total number of results satisfying the query."
|
|
3215
3225
|
).nullish()
|
|
3216
|
-
}).
|
|
3226
|
+
}).passthrough();
|
|
3217
3227
|
const microsoft_graph_alteredQueryToken = z.object({
|
|
3218
3228
|
length: z.number().gte(-2147483648).lte(2147483647).describe("Defines the length of a changed segment.").nullish(),
|
|
3219
3229
|
offset: z.number().gte(-2147483648).lte(2147483647).describe("Defines the offset of a changed segment.").nullish(),
|
|
3220
3230
|
suggestion: z.string().describe("Represents the corrected segment string.").nullish()
|
|
3221
|
-
}).
|
|
3231
|
+
}).passthrough();
|
|
3222
3232
|
const microsoft_graph_searchAlteration = z.object({
|
|
3223
3233
|
alteredHighlightedQueryString: z.string().describe(
|
|
3224
3234
|
"Defines the altered highlighted query string with spelling correction. The annotation around the corrected segment is: /ue000, /ue001."
|
|
3225
3235
|
).nullish(),
|
|
3226
3236
|
alteredQueryString: z.string().describe("Defines the altered query string with spelling correction.").nullish(),
|
|
3227
3237
|
alteredQueryTokens: z.array(microsoft_graph_alteredQueryToken).describe("Represents changed segments related to an original user query.").optional()
|
|
3228
|
-
}).
|
|
3238
|
+
}).passthrough();
|
|
3229
3239
|
const microsoft_graph_searchAlterationType = z.enum([
|
|
3230
3240
|
"suggestion",
|
|
3231
3241
|
"modification",
|
|
@@ -3235,22 +3245,22 @@ const microsoft_graph_alterationResponse = z.object({
|
|
|
3235
3245
|
originalQueryString: z.string().describe("Defines the original user query string.").nullish(),
|
|
3236
3246
|
queryAlteration: microsoft_graph_searchAlteration.optional(),
|
|
3237
3247
|
queryAlterationType: microsoft_graph_searchAlterationType.optional()
|
|
3238
|
-
}).
|
|
3239
|
-
const microsoft_graph_resultTemplateDictionary = z.object({}).
|
|
3248
|
+
}).passthrough();
|
|
3249
|
+
const microsoft_graph_resultTemplateDictionary = z.object({}).passthrough();
|
|
3240
3250
|
const microsoft_graph_searchResponse = z.object({
|
|
3241
3251
|
hitsContainers: z.array(microsoft_graph_searchHitsContainer).describe("A collection of search results.").optional(),
|
|
3242
3252
|
queryAlterationResponse: microsoft_graph_alterationResponse.optional(),
|
|
3243
3253
|
resultTemplates: microsoft_graph_resultTemplateDictionary.optional(),
|
|
3244
3254
|
searchTerms: z.array(z.string().nullable()).describe("Contains the search terms sent in the initial search query.").optional()
|
|
3245
|
-
}).
|
|
3246
|
-
const microsoft_graph_root = z.object({}).
|
|
3255
|
+
}).passthrough();
|
|
3256
|
+
const microsoft_graph_root = z.object({}).passthrough();
|
|
3247
3257
|
const microsoft_graph_siteArchiveStatus = z.enum([
|
|
3248
3258
|
"recentlyArchived",
|
|
3249
3259
|
"fullyArchived",
|
|
3250
3260
|
"reactivating",
|
|
3251
3261
|
"unknownFutureValue"
|
|
3252
3262
|
]);
|
|
3253
|
-
const microsoft_graph_siteArchivalDetails = z.object({ archiveStatus: microsoft_graph_siteArchiveStatus.optional() }).
|
|
3263
|
+
const microsoft_graph_siteArchivalDetails = z.object({ archiveStatus: microsoft_graph_siteArchiveStatus.optional() }).passthrough();
|
|
3254
3264
|
const microsoft_graph_siteCollection = z.object({
|
|
3255
3265
|
archivalDetails: microsoft_graph_siteArchivalDetails.optional(),
|
|
3256
3266
|
dataLocationCode: z.string().describe(
|
|
@@ -3258,7 +3268,7 @@ const microsoft_graph_siteCollection = z.object({
|
|
|
3258
3268
|
).nullish(),
|
|
3259
3269
|
hostname: z.string().describe("The hostname for the site collection. Read-only.").nullish(),
|
|
3260
3270
|
root: microsoft_graph_root.optional()
|
|
3261
|
-
}).
|
|
3271
|
+
}).passthrough();
|
|
3262
3272
|
const microsoft_graph_baseItem = z.object({
|
|
3263
3273
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
3264
3274
|
createdBy: microsoft_graph_identitySet.optional(),
|
|
@@ -3278,7 +3288,7 @@ const microsoft_graph_baseItem = z.object({
|
|
|
3278
3288
|
).nullish(),
|
|
3279
3289
|
createdByUser: microsoft_graph_user.describe("[Note: Simplified from 135 properties to 25 most common ones]").optional(),
|
|
3280
3290
|
lastModifiedByUser: microsoft_graph_user.describe("[Note: Simplified from 135 properties to 25 most common ones]").optional()
|
|
3281
|
-
}).
|
|
3291
|
+
}).passthrough();
|
|
3282
3292
|
const microsoft_graph_site = z.object({
|
|
3283
3293
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional(),
|
|
3284
3294
|
name: z.string().describe("The name of the item. Read-write.").nullish(),
|
|
@@ -3313,43 +3323,43 @@ const microsoft_graph_site = z.object({
|
|
|
3313
3323
|
items: z.array(microsoft_graph_baseItem).describe(
|
|
3314
3324
|
"Used to address any item contained in this site. This collection can't be enumerated."
|
|
3315
3325
|
).optional()
|
|
3316
|
-
}).
|
|
3326
|
+
}).passthrough().passthrough();
|
|
3317
3327
|
const microsoft_graph_siteCollectionResponse = z.object({
|
|
3318
3328
|
"@odata.count": z.number().int().nullable(),
|
|
3319
3329
|
"@odata.nextLink": z.string().nullable(),
|
|
3320
3330
|
value: z.array(microsoft_graph_site)
|
|
3321
|
-
}).partial().
|
|
3331
|
+
}).partial().passthrough();
|
|
3322
3332
|
const microsoft_graph_baseItemCollectionResponse = z.object({
|
|
3323
3333
|
"@odata.count": z.number().int().nullable(),
|
|
3324
3334
|
"@odata.nextLink": z.string().nullable(),
|
|
3325
3335
|
value: z.array(microsoft_graph_baseItem)
|
|
3326
|
-
}).partial().
|
|
3336
|
+
}).partial().passthrough();
|
|
3327
3337
|
const microsoft_graph_listCollectionResponse = z.object({
|
|
3328
3338
|
"@odata.count": z.number().int().nullable(),
|
|
3329
3339
|
"@odata.nextLink": z.string().nullable(),
|
|
3330
3340
|
value: z.array(microsoft_graph_list)
|
|
3331
|
-
}).partial().
|
|
3341
|
+
}).partial().passthrough();
|
|
3332
3342
|
const microsoft_graph_listItemCollectionResponse = z.object({
|
|
3333
3343
|
"@odata.count": z.number().int().nullable(),
|
|
3334
3344
|
"@odata.nextLink": z.string().nullable(),
|
|
3335
3345
|
value: z.array(microsoft_graph_listItem)
|
|
3336
|
-
}).partial().
|
|
3337
|
-
const BaseDeltaFunctionResponse = z.object({ "@odata.nextLink": z.string().nullable(), "@odata.deltaLink": z.string().nullable() }).partial().
|
|
3346
|
+
}).partial().passthrough();
|
|
3347
|
+
const BaseDeltaFunctionResponse = z.object({ "@odata.nextLink": z.string().nullable(), "@odata.deltaLink": z.string().nullable() }).partial().passthrough();
|
|
3338
3348
|
const microsoft_graph_channelCollectionResponse = z.object({
|
|
3339
3349
|
"@odata.count": z.number().int().nullable(),
|
|
3340
3350
|
"@odata.nextLink": z.string().nullable(),
|
|
3341
3351
|
value: z.array(microsoft_graph_channel)
|
|
3342
|
-
}).partial().
|
|
3352
|
+
}).partial().passthrough();
|
|
3343
3353
|
const microsoft_graph_conversationMemberCollectionResponse = z.object({
|
|
3344
3354
|
"@odata.count": z.number().int().nullable(),
|
|
3345
3355
|
"@odata.nextLink": z.string().nullable(),
|
|
3346
3356
|
value: z.array(microsoft_graph_conversationMember)
|
|
3347
|
-
}).partial().
|
|
3357
|
+
}).partial().passthrough();
|
|
3348
3358
|
const microsoft_graph_userCollectionResponse = z.object({
|
|
3349
3359
|
"@odata.count": z.number().int().nullable(),
|
|
3350
3360
|
"@odata.nextLink": z.string().nullable(),
|
|
3351
3361
|
value: z.array(microsoft_graph_user)
|
|
3352
|
-
}).partial().
|
|
3362
|
+
}).partial().passthrough();
|
|
3353
3363
|
const schemas = {
|
|
3354
3364
|
microsoft_graph_chatType,
|
|
3355
3365
|
microsoft_graph_teamworkUserIdentityType,
|
|
@@ -3403,6 +3413,7 @@ const schemas = {
|
|
|
3403
3413
|
microsoft_graph_ODataErrors_MainError,
|
|
3404
3414
|
microsoft_graph_ODataErrors_ODataError,
|
|
3405
3415
|
microsoft_graph_chatMessageCollectionResponse,
|
|
3416
|
+
microsoft_graph_geoCoordinates,
|
|
3406
3417
|
microsoft_graph_sharepointIds,
|
|
3407
3418
|
microsoft_graph_itemReference,
|
|
3408
3419
|
microsoft_graph_assignedLicense,
|
|
@@ -3420,7 +3431,6 @@ const schemas = {
|
|
|
3420
3431
|
microsoft_graph_folderView,
|
|
3421
3432
|
microsoft_graph_folder,
|
|
3422
3433
|
microsoft_graph_image,
|
|
3423
|
-
microsoft_graph_geoCoordinates,
|
|
3424
3434
|
microsoft_graph_malware,
|
|
3425
3435
|
microsoft_graph_package,
|
|
3426
3436
|
microsoft_graph_pendingContentUpdate,
|
|
@@ -3488,19 +3498,32 @@ const schemas = {
|
|
|
3488
3498
|
microsoft_graph_calendarRoleType,
|
|
3489
3499
|
microsoft_graph_calendarPermission,
|
|
3490
3500
|
microsoft_graph_eventType,
|
|
3491
|
-
microsoft_graph_attendeeType,
|
|
3492
3501
|
microsoft_graph_dateTimeTimeZone,
|
|
3502
|
+
microsoft_graph_physicalAddress,
|
|
3503
|
+
microsoft_graph_outlookGeoCoordinates,
|
|
3504
|
+
microsoft_graph_locationType,
|
|
3505
|
+
microsoft_graph_locationUniqueIdType,
|
|
3506
|
+
microsoft_graph_location,
|
|
3507
|
+
microsoft_graph_freeBusyStatus,
|
|
3508
|
+
microsoft_graph_sensitivity,
|
|
3509
|
+
microsoft_graph_importance,
|
|
3510
|
+
microsoft_graph_attendeeType,
|
|
3493
3511
|
microsoft_graph_timeSlot,
|
|
3494
3512
|
microsoft_graph_responseType,
|
|
3495
3513
|
microsoft_graph_responseStatus,
|
|
3496
3514
|
microsoft_graph_attendee,
|
|
3497
|
-
|
|
3515
|
+
microsoft_graph_dayOfWeek,
|
|
3516
|
+
microsoft_graph_weekIndex,
|
|
3517
|
+
microsoft_graph_recurrencePatternType,
|
|
3518
|
+
microsoft_graph_recurrencePattern,
|
|
3519
|
+
microsoft_graph_recurrenceRangeType,
|
|
3520
|
+
microsoft_graph_recurrenceRange,
|
|
3521
|
+
microsoft_graph_patternedRecurrence,
|
|
3498
3522
|
microsoft_graph_event,
|
|
3499
3523
|
microsoft_graph_calendar,
|
|
3500
3524
|
microsoft_graph_calendarCollectionResponse,
|
|
3501
3525
|
microsoft_graph_eventCollectionResponse,
|
|
3502
3526
|
microsoft_graph_chatCollectionResponse,
|
|
3503
|
-
microsoft_graph_physicalAddress,
|
|
3504
3527
|
microsoft_graph_contact,
|
|
3505
3528
|
microsoft_graph_contactCollectionResponse,
|
|
3506
3529
|
microsoft_graph_storagePlanInformation,
|
|
@@ -3571,7 +3594,6 @@ const schemas = {
|
|
|
3571
3594
|
microsoft_graph_teamCollectionResponse,
|
|
3572
3595
|
microsoft_graph_messageRuleActions,
|
|
3573
3596
|
microsoft_graph_messageActionFlag,
|
|
3574
|
-
microsoft_graph_sensitivity,
|
|
3575
3597
|
microsoft_graph_messageRulePredicates,
|
|
3576
3598
|
microsoft_graph_messageRule,
|
|
3577
3599
|
microsoft_graph_followupFlagStatus,
|
|
@@ -3586,9 +3608,6 @@ const schemas = {
|
|
|
3586
3608
|
create_forward_draft_Body,
|
|
3587
3609
|
create_reply_draft_Body,
|
|
3588
3610
|
microsoft_graph_attendeeBase,
|
|
3589
|
-
microsoft_graph_outlookGeoCoordinates,
|
|
3590
|
-
microsoft_graph_locationType,
|
|
3591
|
-
microsoft_graph_locationUniqueIdType,
|
|
3592
3611
|
microsoft_graph_locationConstraintItem,
|
|
3593
3612
|
microsoft_graph_locationConstraint,
|
|
3594
3613
|
microsoft_graph_activityDomain,
|
|
@@ -3620,13 +3639,6 @@ const schemas = {
|
|
|
3620
3639
|
microsoft_graph_plannerTask,
|
|
3621
3640
|
microsoft_graph_plannerTaskCollectionResponse,
|
|
3622
3641
|
microsoft_graph_wellknownListName,
|
|
3623
|
-
microsoft_graph_dayOfWeek,
|
|
3624
|
-
microsoft_graph_weekIndex,
|
|
3625
|
-
microsoft_graph_recurrencePatternType,
|
|
3626
|
-
microsoft_graph_recurrencePattern,
|
|
3627
|
-
microsoft_graph_recurrenceRangeType,
|
|
3628
|
-
microsoft_graph_recurrenceRange,
|
|
3629
|
-
microsoft_graph_patternedRecurrence,
|
|
3630
3642
|
microsoft_graph_taskStatus,
|
|
3631
3643
|
microsoft_graph_attachmentBase,
|
|
3632
3644
|
microsoft_graph_attachmentSession,
|
|
@@ -4048,7 +4060,7 @@ const endpoints = makeApi([
|
|
|
4048
4060
|
type: "Body",
|
|
4049
4061
|
schema: z.object({
|
|
4050
4062
|
id: z.string().describe("The unique identifier for an entity. Read-only.").optional()
|
|
4051
|
-
}).
|
|
4063
|
+
}).passthrough()
|
|
4052
4064
|
}
|
|
4053
4065
|
],
|
|
4054
4066
|
response: z.void()
|
|
@@ -4423,43 +4435,35 @@ const endpoints = makeApi([
|
|
|
4423
4435
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
4424
4436
|
"The collection of multi-value extended properties defined for the event. Read-only. Nullable."
|
|
4425
4437
|
).optional(),
|
|
4426
|
-
|
|
4427
|
-
changeKey: z.string().describe(
|
|
4428
|
-
"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."
|
|
4429
|
-
).nullish(),
|
|
4430
|
-
allowNewTimeProposals: z.boolean().describe(
|
|
4431
|
-
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
4432
|
-
).nullish(),
|
|
4433
|
-
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
4434
|
-
bodyPreview: z.string().describe(
|
|
4435
|
-
"The preview of the message associated with the event. It's in text format."
|
|
4436
|
-
).nullish(),
|
|
4437
|
-
cancelledOccurrences: z.array(z.string()).describe(
|
|
4438
|
-
"Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Returned only on $select in a Get operation which specifies the ID (seriesMasterId property value) of a series master event."
|
|
4439
|
-
).optional(),
|
|
4438
|
+
start: microsoft_graph_dateTimeTimeZone.optional(),
|
|
4440
4439
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
).nullish(),
|
|
4445
|
-
iCalUId: z.string().describe(
|
|
4446
|
-
"A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only."
|
|
4447
|
-
).nullish(),
|
|
4448
|
-
importance: microsoft_graph_importance.optional(),
|
|
4440
|
+
location: microsoft_graph_location.optional(),
|
|
4441
|
+
showAs: microsoft_graph_freeBusyStatus.optional(),
|
|
4442
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
4449
4443
|
isAllDay: z.boolean().describe(
|
|
4450
4444
|
"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."
|
|
4451
4445
|
).nullish(),
|
|
4452
|
-
|
|
4453
|
-
isDraft: z.boolean().describe(
|
|
4454
|
-
"Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees."
|
|
4455
|
-
).nullish(),
|
|
4446
|
+
importance: microsoft_graph_importance.optional(),
|
|
4456
4447
|
isOnlineMeeting: z.boolean().describe(
|
|
4457
4448
|
"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."
|
|
4458
4449
|
).nullish(),
|
|
4459
|
-
|
|
4460
|
-
|
|
4450
|
+
isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
|
|
4451
|
+
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
4452
|
+
recurrence: microsoft_graph_patternedRecurrence.optional(),
|
|
4453
|
+
reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
4454
|
+
"The number of minutes before the event start time that the reminder alert occurs."
|
|
4455
|
+
).nullish(),
|
|
4456
|
+
allowNewTimeProposals: z.boolean().describe(
|
|
4457
|
+
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
4458
|
+
).nullish(),
|
|
4459
|
+
responseRequested: z.boolean().describe(
|
|
4460
|
+
"Default is true, which represents the organizer would like an invitee to send a response to the event."
|
|
4461
|
+
).nullish(),
|
|
4462
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
4463
|
+
changeKey: z.string().describe(
|
|
4464
|
+
"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."
|
|
4461
4465
|
).nullish()
|
|
4462
|
-
}).
|
|
4466
|
+
}).passthrough().passthrough()
|
|
4463
4467
|
}
|
|
4464
4468
|
],
|
|
4465
4469
|
response: z.void()
|
|
@@ -4519,43 +4523,35 @@ const endpoints = makeApi([
|
|
|
4519
4523
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
4520
4524
|
"The collection of multi-value extended properties defined for the event. Read-only. Nullable."
|
|
4521
4525
|
).optional(),
|
|
4522
|
-
|
|
4523
|
-
changeKey: z.string().describe(
|
|
4524
|
-
"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."
|
|
4525
|
-
).nullish(),
|
|
4526
|
-
allowNewTimeProposals: z.boolean().describe(
|
|
4527
|
-
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
4528
|
-
).nullish(),
|
|
4529
|
-
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
4530
|
-
bodyPreview: z.string().describe(
|
|
4531
|
-
"The preview of the message associated with the event. It's in text format."
|
|
4532
|
-
).nullish(),
|
|
4533
|
-
cancelledOccurrences: z.array(z.string()).describe(
|
|
4534
|
-
"Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Returned only on $select in a Get operation which specifies the ID (seriesMasterId property value) of a series master event."
|
|
4535
|
-
).optional(),
|
|
4526
|
+
start: microsoft_graph_dateTimeTimeZone.optional(),
|
|
4536
4527
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
).nullish(),
|
|
4541
|
-
iCalUId: z.string().describe(
|
|
4542
|
-
"A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only."
|
|
4543
|
-
).nullish(),
|
|
4544
|
-
importance: microsoft_graph_importance.optional(),
|
|
4528
|
+
location: microsoft_graph_location.optional(),
|
|
4529
|
+
showAs: microsoft_graph_freeBusyStatus.optional(),
|
|
4530
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
4545
4531
|
isAllDay: z.boolean().describe(
|
|
4546
4532
|
"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."
|
|
4547
4533
|
).nullish(),
|
|
4548
|
-
|
|
4549
|
-
isDraft: z.boolean().describe(
|
|
4550
|
-
"Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees."
|
|
4551
|
-
).nullish(),
|
|
4534
|
+
importance: microsoft_graph_importance.optional(),
|
|
4552
4535
|
isOnlineMeeting: z.boolean().describe(
|
|
4553
4536
|
"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."
|
|
4554
4537
|
).nullish(),
|
|
4555
|
-
|
|
4556
|
-
|
|
4538
|
+
isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
|
|
4539
|
+
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
4540
|
+
recurrence: microsoft_graph_patternedRecurrence.optional(),
|
|
4541
|
+
reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
4542
|
+
"The number of minutes before the event start time that the reminder alert occurs."
|
|
4543
|
+
).nullish(),
|
|
4544
|
+
allowNewTimeProposals: z.boolean().describe(
|
|
4545
|
+
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
4546
|
+
).nullish(),
|
|
4547
|
+
responseRequested: z.boolean().describe(
|
|
4548
|
+
"Default is true, which represents the organizer would like an invitee to send a response to the event."
|
|
4549
|
+
).nullish(),
|
|
4550
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
4551
|
+
changeKey: z.string().describe(
|
|
4552
|
+
"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."
|
|
4557
4553
|
).nullish()
|
|
4558
|
-
}).
|
|
4554
|
+
}).passthrough().passthrough()
|
|
4559
4555
|
}
|
|
4560
4556
|
],
|
|
4561
4557
|
response: z.void()
|
|
@@ -4861,7 +4857,7 @@ or from some other calendar of the user.`,
|
|
|
4861
4857
|
homePhones: z.array(z.string().nullable()).describe("The contact's home phone numbers.").optional(),
|
|
4862
4858
|
imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
|
|
4863
4859
|
initials: z.string().describe("The contact's initials.").nullish()
|
|
4864
|
-
}).
|
|
4860
|
+
}).passthrough().passthrough()
|
|
4865
4861
|
}
|
|
4866
4862
|
],
|
|
4867
4863
|
response: z.void()
|
|
@@ -4943,7 +4939,7 @@ or from some other calendar of the user.`,
|
|
|
4943
4939
|
homePhones: z.array(z.string().nullable()).describe("The contact's home phone numbers.").optional(),
|
|
4944
4940
|
imAddresses: z.array(z.string().nullable()).describe("The contact's instant messaging (IM) addresses.").optional(),
|
|
4945
4941
|
initials: z.string().describe("The contact's initials.").nullish()
|
|
4946
|
-
}).
|
|
4942
|
+
}).passthrough().passthrough()
|
|
4947
4943
|
}
|
|
4948
4944
|
],
|
|
4949
4945
|
response: z.void()
|
|
@@ -5101,43 +5097,35 @@ open extensions or extended properties, and how to specify extended properties.`
|
|
|
5101
5097
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
5102
5098
|
"The collection of multi-value extended properties defined for the event. Read-only. Nullable."
|
|
5103
5099
|
).optional(),
|
|
5104
|
-
|
|
5105
|
-
changeKey: z.string().describe(
|
|
5106
|
-
"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."
|
|
5107
|
-
).nullish(),
|
|
5108
|
-
allowNewTimeProposals: z.boolean().describe(
|
|
5109
|
-
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
5110
|
-
).nullish(),
|
|
5111
|
-
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
5112
|
-
bodyPreview: z.string().describe(
|
|
5113
|
-
"The preview of the message associated with the event. It's in text format."
|
|
5114
|
-
).nullish(),
|
|
5115
|
-
cancelledOccurrences: z.array(z.string()).describe(
|
|
5116
|
-
"Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Returned only on $select in a Get operation which specifies the ID (seriesMasterId property value) of a series master event."
|
|
5117
|
-
).optional(),
|
|
5100
|
+
start: microsoft_graph_dateTimeTimeZone.optional(),
|
|
5118
5101
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
).nullish(),
|
|
5123
|
-
iCalUId: z.string().describe(
|
|
5124
|
-
"A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only."
|
|
5125
|
-
).nullish(),
|
|
5126
|
-
importance: microsoft_graph_importance.optional(),
|
|
5102
|
+
location: microsoft_graph_location.optional(),
|
|
5103
|
+
showAs: microsoft_graph_freeBusyStatus.optional(),
|
|
5104
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
5127
5105
|
isAllDay: z.boolean().describe(
|
|
5128
5106
|
"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."
|
|
5129
5107
|
).nullish(),
|
|
5130
|
-
|
|
5131
|
-
isDraft: z.boolean().describe(
|
|
5132
|
-
"Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees."
|
|
5133
|
-
).nullish(),
|
|
5108
|
+
importance: microsoft_graph_importance.optional(),
|
|
5134
5109
|
isOnlineMeeting: z.boolean().describe(
|
|
5135
5110
|
"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."
|
|
5136
5111
|
).nullish(),
|
|
5137
|
-
|
|
5138
|
-
|
|
5112
|
+
isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
|
|
5113
|
+
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
5114
|
+
recurrence: microsoft_graph_patternedRecurrence.optional(),
|
|
5115
|
+
reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
5116
|
+
"The number of minutes before the event start time that the reminder alert occurs."
|
|
5117
|
+
).nullish(),
|
|
5118
|
+
allowNewTimeProposals: z.boolean().describe(
|
|
5119
|
+
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
5120
|
+
).nullish(),
|
|
5121
|
+
responseRequested: z.boolean().describe(
|
|
5122
|
+
"Default is true, which represents the organizer would like an invitee to send a response to the event."
|
|
5123
|
+
).nullish(),
|
|
5124
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
5125
|
+
changeKey: z.string().describe(
|
|
5126
|
+
"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."
|
|
5139
5127
|
).nullish()
|
|
5140
|
-
}).
|
|
5128
|
+
}).passthrough().passthrough()
|
|
5141
5129
|
}
|
|
5142
5130
|
],
|
|
5143
5131
|
response: z.void()
|
|
@@ -5197,43 +5185,35 @@ open extensions or extended properties, and how to specify extended properties.`
|
|
|
5197
5185
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
5198
5186
|
"The collection of multi-value extended properties defined for the event. Read-only. Nullable."
|
|
5199
5187
|
).optional(),
|
|
5200
|
-
|
|
5201
|
-
changeKey: z.string().describe(
|
|
5202
|
-
"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."
|
|
5203
|
-
).nullish(),
|
|
5204
|
-
allowNewTimeProposals: z.boolean().describe(
|
|
5205
|
-
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
5206
|
-
).nullish(),
|
|
5207
|
-
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
5208
|
-
bodyPreview: z.string().describe(
|
|
5209
|
-
"The preview of the message associated with the event. It's in text format."
|
|
5210
|
-
).nullish(),
|
|
5211
|
-
cancelledOccurrences: z.array(z.string()).describe(
|
|
5212
|
-
"Contains occurrenceId property values of canceled instances in a recurring series, if the event is the series master. Instances in a recurring series that are canceled are called canceled occurences.Returned only on $select in a Get operation which specifies the ID (seriesMasterId property value) of a series master event."
|
|
5213
|
-
).optional(),
|
|
5188
|
+
start: microsoft_graph_dateTimeTimeZone.optional(),
|
|
5214
5189
|
end: microsoft_graph_dateTimeTimeZone.optional(),
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
).nullish(),
|
|
5219
|
-
iCalUId: z.string().describe(
|
|
5220
|
-
"A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only."
|
|
5221
|
-
).nullish(),
|
|
5222
|
-
importance: microsoft_graph_importance.optional(),
|
|
5190
|
+
location: microsoft_graph_location.optional(),
|
|
5191
|
+
showAs: microsoft_graph_freeBusyStatus.optional(),
|
|
5192
|
+
sensitivity: microsoft_graph_sensitivity.optional(),
|
|
5223
5193
|
isAllDay: z.boolean().describe(
|
|
5224
5194
|
"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."
|
|
5225
5195
|
).nullish(),
|
|
5226
|
-
|
|
5227
|
-
isDraft: z.boolean().describe(
|
|
5228
|
-
"Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees. Set to false if all changes are sent, or if the event is an appointment without any attendees."
|
|
5229
|
-
).nullish(),
|
|
5196
|
+
importance: microsoft_graph_importance.optional(),
|
|
5230
5197
|
isOnlineMeeting: z.boolean().describe(
|
|
5231
5198
|
"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."
|
|
5232
5199
|
).nullish(),
|
|
5233
|
-
|
|
5234
|
-
|
|
5200
|
+
isReminderOn: z.boolean().describe("Set to true if an alert is set to remind the user of the event.").nullish(),
|
|
5201
|
+
attendees: z.array(microsoft_graph_attendee).describe("The collection of attendees for the event.").optional(),
|
|
5202
|
+
recurrence: microsoft_graph_patternedRecurrence.optional(),
|
|
5203
|
+
reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).describe(
|
|
5204
|
+
"The number of minutes before the event start time that the reminder alert occurs."
|
|
5205
|
+
).nullish(),
|
|
5206
|
+
allowNewTimeProposals: z.boolean().describe(
|
|
5207
|
+
"true if the meeting organizer allows invitees to propose a new time when responding; otherwise, false. Optional. The default is true."
|
|
5208
|
+
).nullish(),
|
|
5209
|
+
responseRequested: z.boolean().describe(
|
|
5210
|
+
"Default is true, which represents the organizer would like an invitee to send a response to the event."
|
|
5211
|
+
).nullish(),
|
|
5212
|
+
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
5213
|
+
changeKey: z.string().describe(
|
|
5214
|
+
"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."
|
|
5235
5215
|
).nullish()
|
|
5236
|
-
}).
|
|
5216
|
+
}).passthrough().passthrough()
|
|
5237
5217
|
}
|
|
5238
5218
|
],
|
|
5239
5219
|
response: z.void()
|
|
@@ -5568,6 +5548,9 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5568
5548
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
5569
5549
|
"The collection of multi-value extended properties defined for the message. Nullable."
|
|
5570
5550
|
).optional(),
|
|
5551
|
+
importance: microsoft_graph_importance.optional(),
|
|
5552
|
+
from: microsoft_graph_recipient.optional(),
|
|
5553
|
+
toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional(),
|
|
5571
5554
|
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
5572
5555
|
changeKey: z.string().describe(
|
|
5573
5556
|
"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."
|
|
@@ -5578,11 +5561,9 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5578
5561
|
conversationId: z.string().describe("The ID of the conversation the email belongs to.").nullish(),
|
|
5579
5562
|
conversationIndex: z.string().describe("Indicates the position of the message within the conversation.").nullish(),
|
|
5580
5563
|
flag: microsoft_graph_followupFlag.optional(),
|
|
5581
|
-
from: microsoft_graph_recipient.optional(),
|
|
5582
5564
|
hasAttachments: z.boolean().describe(
|
|
5583
5565
|
"Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>."
|
|
5584
5566
|
).nullish(),
|
|
5585
|
-
importance: microsoft_graph_importance.optional(),
|
|
5586
5567
|
inferenceClassification: microsoft_graph_inferenceClassificationType.optional(),
|
|
5587
5568
|
internetMessageHeaders: z.array(microsoft_graph_internetMessageHeader).describe(
|
|
5588
5569
|
"A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only."
|
|
@@ -5591,9 +5572,8 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5591
5572
|
isDeliveryReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
|
|
5592
5573
|
isDraft: z.boolean().describe(
|
|
5593
5574
|
"Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet."
|
|
5594
|
-
).nullish()
|
|
5595
|
-
|
|
5596
|
-
}).strict().passthrough()
|
|
5575
|
+
).nullish()
|
|
5576
|
+
}).passthrough().passthrough()
|
|
5597
5577
|
}
|
|
5598
5578
|
],
|
|
5599
5579
|
response: z.void()
|
|
@@ -5650,6 +5630,9 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5650
5630
|
multiValueExtendedProperties: z.array(microsoft_graph_multiValueLegacyExtendedProperty).describe(
|
|
5651
5631
|
"The collection of multi-value extended properties defined for the message. Nullable."
|
|
5652
5632
|
).optional(),
|
|
5633
|
+
importance: microsoft_graph_importance.optional(),
|
|
5634
|
+
from: microsoft_graph_recipient.optional(),
|
|
5635
|
+
toRecipients: z.array(microsoft_graph_recipient).describe("The To: recipients for the message.").optional(),
|
|
5653
5636
|
categories: z.array(z.string().nullable()).describe("The categories associated with the item").optional(),
|
|
5654
5637
|
changeKey: z.string().describe(
|
|
5655
5638
|
"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."
|
|
@@ -5660,11 +5643,9 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5660
5643
|
conversationId: z.string().describe("The ID of the conversation the email belongs to.").nullish(),
|
|
5661
5644
|
conversationIndex: z.string().describe("Indicates the position of the message within the conversation.").nullish(),
|
|
5662
5645
|
flag: microsoft_graph_followupFlag.optional(),
|
|
5663
|
-
from: microsoft_graph_recipient.optional(),
|
|
5664
5646
|
hasAttachments: z.boolean().describe(
|
|
5665
5647
|
"Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>."
|
|
5666
5648
|
).nullish(),
|
|
5667
|
-
importance: microsoft_graph_importance.optional(),
|
|
5668
5649
|
inferenceClassification: microsoft_graph_inferenceClassificationType.optional(),
|
|
5669
5650
|
internetMessageHeaders: z.array(microsoft_graph_internetMessageHeader).describe(
|
|
5670
5651
|
"A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only."
|
|
@@ -5673,9 +5654,8 @@ folder collection and navigate to another folder. By default, this operation doe
|
|
|
5673
5654
|
isDeliveryReceiptRequested: z.boolean().describe("Indicates whether a read receipt is requested for the message.").nullish(),
|
|
5674
5655
|
isDraft: z.boolean().describe(
|
|
5675
5656
|
"Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet."
|
|
5676
|
-
).nullish()
|
|
5677
|
-
|
|
5678
|
-
}).strict().passthrough()
|
|
5657
|
+
).nullish()
|
|
5658
|
+
}).passthrough().passthrough()
|
|
5679
5659
|
}
|
|
5680
5660
|
],
|
|
5681
5661
|
response: z.void()
|
|
@@ -5891,7 +5871,7 @@ resource.`,
|
|
|
5891
5871
|
name: "body",
|
|
5892
5872
|
description: `Action parameters`,
|
|
5893
5873
|
type: "Body",
|
|
5894
|
-
schema: z.object({ DestinationId: z.string() }).partial().
|
|
5874
|
+
schema: z.object({ DestinationId: z.string() }).partial().passthrough()
|
|
5895
5875
|
}
|
|
5896
5876
|
],
|
|
5897
5877
|
response: z.void()
|
|
@@ -6506,7 +6486,7 @@ resource.`,
|
|
|
6506
6486
|
).nullish(),
|
|
6507
6487
|
assignedToTaskBoardFormat: microsoft_graph_plannerAssignedToTaskBoardTaskFormat.optional(),
|
|
6508
6488
|
bucketTaskBoardFormat: microsoft_graph_plannerBucketTaskBoardTaskFormat.optional()
|
|
6509
|
-
}).
|
|
6489
|
+
}).passthrough().passthrough()
|
|
6510
6490
|
}
|
|
6511
6491
|
],
|
|
6512
6492
|
response: z.void()
|
|
@@ -6600,7 +6580,7 @@ resource.`,
|
|
|
6600
6580
|
).nullish(),
|
|
6601
6581
|
assignedToTaskBoardFormat: microsoft_graph_plannerAssignedToTaskBoardTaskFormat.optional(),
|
|
6602
6582
|
bucketTaskBoardFormat: microsoft_graph_plannerBucketTaskBoardTaskFormat.optional()
|
|
6603
|
-
}).
|
|
6583
|
+
}).passthrough().passthrough()
|
|
6604
6584
|
},
|
|
6605
6585
|
{
|
|
6606
6586
|
name: "If-Match",
|