diff --git a/microsoft-graph.d.ts b/microsoft-graph.d.ts index 57d0f36..f32f63f 100644 --- a/microsoft-graph.d.ts +++ b/microsoft-graph.d.ts @@ -335,6 +335,7 @@ export type ConditionalAccessGrantControl = | "unknownFutureValue"; export type ConditionalAccessPolicyState = "enabled" | "disabled" | "enabledForReportingButNotEnforced"; export type CountryLookupMethodType = "clientIpAddress" | "authenticatorAppGps" | "unknownFutureValue"; +export type FilterMode = "include" | "exclude"; export type PersistentBrowserSessionMode = "always" | "never"; export type SigninFrequencyType = "days" | "hours"; export type ComplianceStatus = @@ -4289,9 +4290,9 @@ export interface ExtensionProperty extends DirectoryObject { targetObjects?: string[]; } export interface PolicyBase extends DirectoryObject { - // Description for this policy. + // Description for this policy. Required. description?: NullableOption; - // Display name for this policy. + // Display name for this policy. Required. displayName?: NullableOption; } export interface StsPolicy extends PolicyBase { @@ -6323,7 +6324,12 @@ export interface EducationSchool extends EducationOrganization { users?: NullableOption; } export interface EducationOutcome extends Entity { + // The individual who updated the resource. lastModifiedBy?: NullableOption; + /** + * Moment in time when the resource was last modified. The Timestamp type represents date and time information using ISO + * 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2021 is 2021-01-01T00:00:00Z. + */ lastModifiedDateTime?: NullableOption; } export interface EducationFeedbackOutcome extends EducationOutcome { @@ -6383,6 +6389,7 @@ export interface DriveItem extends BaseItem { image?: NullableOption; // Location metadata, if the item has location data. Read-only. location?: NullableOption; + // Malware metadata, if the item was detected to contain malware. Read-only. malware?: NullableOption; /** * If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some @@ -7620,7 +7627,8 @@ export interface AccessReviewScheduleDefinition extends Entity { descriptionForAdmins?: NullableOption; /** * Description provided by review creators to provide more context of the review to reviewers. Reviewers will see this - * description in the email sent to them requesting their review. Supports $select. + * description in the email sent to them requesting their review. Email notifications support up to 256 characters. + * Supports $select. */ descriptionForReviewers?: NullableOption; // Name of the access review series. Supports $select and $orderBy. Required on create. @@ -13470,8 +13478,11 @@ export interface ObjectIdentity { */ issuerAssignedId?: NullableOption; /** - * Specifies the user sign-in types in your directory, such as emailAddress, userName or federated. Here, federated - * represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. Additional + * Specifies the user sign-in types in your directory, such as emailAddress, userName, federated, or userPrincipalName. + * federated represents a unique identifier for a user from an issuer, that can be in any format chosen by the issuer. + * Setting or updating a userPrincipalName identity will update the value of the userPrincipalName property on the user + * object. The validations performed on the userPrincipalName property on the user object, for example, verified domains + * and acceptable characters, will be performed when setting or updating a userPrincipalName identity. Additional * validation is enforced on issuerAssignedId when the sign-in type is set to emailAddress or userName. This property can * also be set to any custom string. */ @@ -14569,6 +14580,7 @@ export interface Image { width?: NullableOption; } export interface Malware { + // Contains the virus details for the malware facet. description?: NullableOption; } export interface Package { @@ -15861,6 +15873,8 @@ export interface ConditionalAccessConditionSet { * exchangeActiveSync, easSupported, other. Required. */ clientAppTypes?: ConditionalAccessClientApp[]; + // Devices in the policy. + devices?: NullableOption; // Locations included in and excluded from the policy. locations?: NullableOption; // Platforms included in and excluded from the policy. @@ -15878,6 +15892,13 @@ export interface ConditionalAccessConditionSet { // Users, groups, and roles included in and excluded from the policy. Required. users?: ConditionalAccessUsers; } +export interface ConditionalAccessDevices { + /** + * Filter defining the dynamic-device-syntax rule to include/exclude devices. A filter can use device properties (such as + * extension attributes) to include/exclude them. Cannot be set if includeDevices or excludeDevices is set. + */ + deviceFilter?: NullableOption; +} export interface ConditionalAccessLocations { // Location IDs excluded from scope of policy. excludeLocations?: string[]; @@ -15904,6 +15925,15 @@ export interface ConditionalAccessUsers { // User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. includeUsers?: string[]; } +export interface ConditionalAccessFilter { + // Mode to use for the filter. Possible values are include or exclude. + mode?: FilterMode; + /** + * Rule syntax is similar to that used for membership rules for groups in Azure AD. For details, see rules with multiple + * expressions + */ + rule?: string; +} export interface ConditionalAccessGrantControls { /** * List of values of built-in controls required by the policy. Possible values: block, mfa, compliantDevice, @@ -17073,7 +17103,7 @@ export interface ServiceUpdateMessageViewpoint { export interface AggregationOption { // Specifies the criteria to compute an aggregation. Optional. bucketDefinition?: BucketAggregationDefinition; - // Specifies the field in the schema of the specified entity type that aggregation should be computed on. Required. + // Computes aggregation on the field while the field exists in current entity type. Required. field?: string; /** * The number of searchBucket resources to be returned. This is not required when the range is provided manually in the