Skip to content

Commit 6c6f165

Browse files
github-actions[bot]Microsoft Graph DevX Tooling
andauthored
Update generated typings with build 3946667 (#207)
Co-authored-by: Microsoft Graph DevX Tooling <[email protected]>
1 parent 6e6a0c3 commit 6c6f165

File tree

1 file changed

+70
-21
lines changed

1 file changed

+70
-21
lines changed

microsoft-graph.d.ts

Lines changed: 70 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,6 +1041,8 @@ export type ThreatAssessmentResultType = "checkPolicy" | "rescan" | "unknownFutu
10411041
export type ThreatAssessmentStatus = "pending" | "completed";
10421042
export type ThreatCategory = "undefined" | "spam" | "phishing" | "malware" | "unknownFutureValue";
10431043
export type ThreatExpectedAssessment = "block" | "unblock";
1044+
export type TaskStatus = "notStarted" | "inProgress" | "completed" | "waitingOnOthers" | "deferred";
1045+
export type WellknownListName = "none" | "defaultList" | "flaggedEmails" | "unknownFutureValue";
10441046
export interface Entity {
10451047
// Read-only.
10461048
id?: string;
@@ -1259,7 +1261,7 @@ export interface User extends DirectoryObject {
12591261
* Supports $filter and $orderby.
12601262
*/
12611263
displayName?: NullableOption<string>;
1262-
// The employee identifier assigned to the user by the organization. Supports $filter.
1264+
// The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.
12631265
employeeId?: NullableOption<string>;
12641266
/**
12651267
* For an external user invited to the tenant using the invitation API, this property represents the invited user's
@@ -1284,7 +1286,7 @@ export interface User extends DirectoryObject {
12841286
imAddresses?: NullableOption<string[]>;
12851287
// Do not use – reserved for future use.
12861288
isResourceAccount?: NullableOption<boolean>;
1287-
// The users job title. Supports $filter.
1289+
// The user's job title. Supports $filter.
12881290
jobTitle?: NullableOption<string>;
12891291
/**
12901292
* The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is
@@ -1329,7 +1331,7 @@ export interface User extends DirectoryObject {
13291331
/**
13301332
* This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This
13311333
* property must be specified when creating a new user account in the Graph if you are using a federated domain for the
1332-
* users userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this
1334+
* user's userPrincipalName (UPN) property. Important: The $ and _ characters cannot be used when specifying this
13331335
* property. Supports $filter.
13341336
*/
13351337
onPremisesImmutableId?: NullableOption<string>;
@@ -1376,7 +1378,7 @@ export interface User extends DirectoryObject {
13761378
*/
13771379
passwordPolicies?: NullableOption<string>;
13781380
/**
1379-
* Specifies the password profile for the user. The profile contains the users password. This property is required when a
1381+
* Specifies the password profile for the user. The profile contains the user's password. This property is required when a
13801382
* user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies
13811383
* property. By default, a strong password is required.
13821384
*/
@@ -1422,7 +1424,7 @@ export interface User extends DirectoryObject {
14221424
/**
14231425
* The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet
14241426
* standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where
1425-
* domain must be present in the tenants collection of verified domains. This property is required when a user is
1427+
* domain must be present in the tenant's collection of verified domains. This property is required when a user is
14261428
* created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.
14271429
* Supports $filter and $orderby.
14281430
*/
@@ -1448,7 +1450,9 @@ export interface User extends DirectoryObject {
14481450
birthday?: string;
14491451
/**
14501452
* The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always
1451-
* in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'
1453+
* in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned only on
1454+
* $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property
1455+
* to set and update hire date values using Microsoft Graph APIs.
14521456
*/
14531457
hireDate?: string;
14541458
// A list for the user to describe their interests.
@@ -1475,7 +1479,7 @@ export interface User extends DirectoryObject {
14751479
directReports?: NullableOption<DirectoryObject[]>;
14761480
// A collection of this user's license details. Read-only.
14771481
licenseDetails?: NullableOption<LicenseDetails[]>;
1478-
// The user or contact that is this users manager. Read-only. (HTTP Methods: GET, PUT, DELETE.)
1482+
// The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.)
14791483
manager?: NullableOption<DirectoryObject>;
14801484
// The groups and directory roles that the user is a member of. Read-only. Nullable.
14811485
memberOf?: NullableOption<DirectoryObject[]>;
@@ -1543,6 +1547,7 @@ export interface User extends DirectoryObject {
15431547
onlineMeetings?: NullableOption<OnlineMeeting[]>;
15441548
joinedTeams?: NullableOption<Team[]>;
15451549
teamwork?: NullableOption<UserTeamwork>;
1550+
todo?: NullableOption<Todo>;
15461551
}
15471552
export interface AppRoleAssignment extends DirectoryObject {
15481553
/**
@@ -1664,6 +1669,7 @@ export interface Calendar extends Entity {
16641669
*/
16651670
defaultOnlineMeetingProvider?: NullableOption<OnlineMeetingProviderType>;
16661671
hexColor?: NullableOption<string>;
1672+
isDefaultCalendar?: NullableOption<boolean>;
16671673
// Indicates whether this user calendar can be deleted from the user mailbox.
16681674
isRemovable?: NullableOption<boolean>;
16691675
/**
@@ -2048,11 +2054,11 @@ export interface Message extends OutlookItem {
20482054
*/
20492055
uniqueBody?: NullableOption<ItemBody>;
20502056
/**
2051-
* The URL to open the message in Outlook Web App.You can append an ispopout argument to the end of the URL to change how
2052-
* the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout
2053-
* window. If ispopout is set to 0, then the browser will show the message in the Outlook Web App review pane.The message
2054-
* will open in the browser if you are logged in to your mailbox via Outlook Web App. You will be prompted to login if you
2055-
* are not already logged in with the browser.This URL can be accessed from within an iFrame.
2057+
* The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change
2058+
* how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout
2059+
* window. If ispopout is set to 0, then the browser will show the message in the Outlook on the web review pane.The
2060+
* message will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to
2061+
* login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame.
20562062
*/
20572063
webLink?: NullableOption<string>;
20582064
// The fileAttachment and itemAttachment attachments for the message.
@@ -2545,6 +2551,9 @@ export interface UserTeamwork extends Entity {
25452551
// The apps installed in the personal scope of this user.
25462552
installedApps?: NullableOption<UserScopeTeamsAppInstallation[]>;
25472553
}
2554+
export interface Todo extends Entity {
2555+
lists?: NullableOption<TodoTaskList[]>;
2556+
}
25482557
export interface Application extends DirectoryObject {
25492558
/**
25502559
* Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications
@@ -2716,9 +2725,9 @@ export interface AdministrativeUnit extends DirectoryObject {
27162725
// Display name for the administrative unit.
27172726
displayName?: NullableOption<string>;
27182727
/**
2719-
* Controls whether the adminstrative unit and its members are hidden or public. Can be set to HiddenMembership or Public.
2720-
* If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit can list
2721-
* other members of the adminstrative unit.
2728+
* Controls whether the administrative unit and its members are hidden or public. Can be set to HiddenMembership or
2729+
* Public. If not set, default behavior is Public. When set to HiddenMembership, only members of the administrative unit
2730+
* can list other members of the adminstrative unit.
27222731
*/
27232732
visibility?: NullableOption<string>;
27242733
/**
@@ -2787,9 +2796,9 @@ export interface Device extends DirectoryObject {
27872796
complianceExpirationDateTime?: NullableOption<string>;
27882797
// Unique identifier set by Azure Device Registration Service at the time of registration.
27892798
deviceId?: NullableOption<string>;
2790-
// For interal use only. Set to null.
2799+
// For internal use only. Set to null.
27912800
deviceMetadata?: NullableOption<string>;
2792-
// For interal use only.
2801+
// For internal use only.
27932802
deviceVersion?: NullableOption<number>;
27942803
// The display name for the device. Required.
27952804
displayName?: NullableOption<string>;
@@ -2806,9 +2815,9 @@ export interface Device extends DirectoryObject {
28062815
// Application identifier used to register device into MDM. Read-only. Supports $filter.
28072816
mdmAppId?: NullableOption<string>;
28082817
/**
2809-
* The last time at which the object was synced with the on-premises directory.The Timestamp type represents date and time
2810-
* information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like
2811-
* this: '2014-01-01T00:00:00Z' Read-only.
2818+
* The last time at which the object was synced with the on-premises directory. The Timestamp type represents date and
2819+
* time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look
2820+
* like this: '2014-01-01T00:00:00Z' Read-only.
28122821
*/
28132822
onPremisesLastSyncDateTime?: NullableOption<string>;
28142823
/**
@@ -2821,7 +2830,7 @@ export interface Device extends DirectoryObject {
28212830
operatingSystem?: NullableOption<string>;
28222831
// The version of the operating system on the device. Required.
28232832
operatingSystemVersion?: NullableOption<string>;
2824-
// For interal use only. Not nullable.
2833+
// For internal use only. Not nullable.
28252834
physicalIds?: string[];
28262835
// The profile type of the device. Possible values:RegisteredDevice (default)SecureVMPrinterSharedIoT
28272836
profileType?: NullableOption<string>;
@@ -3577,6 +3586,7 @@ export interface ServicePrincipal extends DirectoryObject {
35773586
claimsMappingPolicies?: NullableOption<ClaimsMappingPolicy[]>;
35783587
// Directory objects created by this service principal. Read-only. Nullable.
35793588
createdObjects?: NullableOption<DirectoryObject[]>;
3589+
delegatedPermissionClassifications?: NullableOption<DelegatedPermissionClassification[]>;
35803590
/**
35813591
* Endpoints available for discovery. Services like Sharepoint populate this property with a tenant specific SharePoint
35823592
* endpoints that other applications can discover and use in their experiences.
@@ -4004,6 +4014,11 @@ export interface Subscription extends Entity {
40044014
* Microsoft Graph defaults the property to v1_2.
40054015
*/
40064016
latestSupportedTlsVersion?: NullableOption<string>;
4017+
/**
4018+
* The URL of the endpoint that receives lifecycle notifications, including subscriptionRemoved and missed notifications.
4019+
* This URL must make use of the HTTPS protocol. Optional. Read more about how Outlook resources use lifecycle
4020+
* notifications.
4021+
*/
40074022
lifecycleNotificationUrl?: NullableOption<string>;
40084023
/**
40094024
* Required. The URL of the endpoint that will receive the change notifications. This URL must make use of the HTTPS
@@ -9811,6 +9826,36 @@ export interface UrlAssessmentRequest extends ThreatAssessmentRequest {
98119826
// The URL string.
98129827
url?: string;
98139828
}
9829+
export interface LinkedResource extends Entity {
9830+
applicationName?: NullableOption<string>;
9831+
displayName?: NullableOption<string>;
9832+
externalId?: NullableOption<string>;
9833+
webUrl?: NullableOption<string>;
9834+
}
9835+
export interface TodoTaskList extends Entity {
9836+
displayName?: NullableOption<string>;
9837+
isOwner?: boolean;
9838+
isShared?: boolean;
9839+
wellknownListName?: WellknownListName;
9840+
extensions?: NullableOption<Extension[]>;
9841+
tasks?: NullableOption<TodoTask[]>;
9842+
}
9843+
export interface TodoTask extends Entity {
9844+
body?: NullableOption<ItemBody>;
9845+
bodyLastModifiedDateTime?: string;
9846+
completedDateTime?: NullableOption<DateTimeTimeZone>;
9847+
createdDateTime?: string;
9848+
dueDateTime?: NullableOption<DateTimeTimeZone>;
9849+
importance?: Importance;
9850+
isReminderOn?: boolean;
9851+
lastModifiedDateTime?: string;
9852+
recurrence?: NullableOption<PatternedRecurrence>;
9853+
reminderDateTime?: NullableOption<DateTimeTimeZone>;
9854+
status?: TaskStatus;
9855+
title?: NullableOption<string>;
9856+
extensions?: NullableOption<Extension[]>;
9857+
linkedResources?: NullableOption<LinkedResource[]>;
9858+
}
98149859
export interface AppIdentity {
98159860
// Refers to the Unique GUID representing Application Id in the Azure Active Directory.
98169861
appId?: NullableOption<string>;
@@ -13929,6 +13974,10 @@ export interface ChangeNotification {
1392913974
encryptedContent?: NullableOption<ChangeNotificationEncryptedContent>;
1393013975
// Unique ID for the notification. Optional.
1393113976
id?: NullableOption<string>;
13977+
/**
13978+
* The type of lifecycle notification if the current notification is a lifecycle notification. Optional. Supported values
13979+
* are missed, removed, reauthorizationRequired.
13980+
*/
1393213981
lifecycleEvent?: NullableOption<LifecycleEventType>;
1393313982
// The URI of the resource that emitted the change notification relative to https://graph.microsoft.com. Required.
1393413983
resource?: string;

0 commit comments

Comments
 (0)