🤖 Merge PR #65751 Create a new release - version 2.34, for microsoft-graph-types by @koros

* upgrade microsoft-graph-types from 2.26.0 to 2.27.0

* fix test failure

* update microsoft-graph to version 2.29

* Release version 2.31.0 of the package microsoft-graph

* release version 2.32.0 of microsoft-graph

* release microsoft-graph-types version 2.33

* Release microsoft-graph-types version 2.34

---------

Co-authored-by: Geoffrey Koros <gkoros@microsoft.com>
This commit is contained in:
koros
2023-06-26 14:47:48 +03:00
committed by GitHub
parent 3420adf4ca
commit 8eaf09d9bf
2 changed files with 211 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
// Type definitions for non-npm package microsoft-graph 2.33
// Type definitions for non-npm package microsoft-graph 2.34
// Project: https://github.com/microsoftgraph/msgraph-typescript-typings
// Definitions by: Microsoft Graph Team <https://github.com/microsoftgraph>
// Michael Mainer <https://github.com/MIchaelMainer>
@@ -263,6 +263,7 @@ export type FederatedIdpMfaBehavior =
| "enforceMfaByFederatedIdp"
| "rejectMfaByFederatedIdp"
| "unknownFutureValue";
export type LayoutTemplateType = "default" | "verticalSplit" | "unknownFutureValue";
export type OnPremisesDirectorySynchronizationDeletionPreventionType =
| "disabled"
| "enabledForCount"
@@ -3840,7 +3841,7 @@ export interface Person extends Entity {
givenName?: NullableOption<string>;
// The instant message voice over IP (VOIP) session initiation protocol (SIP) address for the user. Read-only.
imAddress?: NullableOption<string>;
// true if the user has flagged this person as a favorite.
// True if the user has flagged this person as a favorite.
isFavorite?: NullableOption<boolean>;
// The person's job title.
jobTitle?: NullableOption<string>;
@@ -6266,10 +6267,10 @@ export interface ConversationMember extends Entity {
// The display name of the user.
displayName?: NullableOption<string>;
/**
* The roles for that user. This property only contains additional qualifiers when relevant - for example, if the member
* has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is a guest, the
* roles property contains guest as one of the values. A basic member should not have any values specified in the roles
* property.
* The roles for that user. This property contains additional qualifiers only when relevant - for example, if the member
* has owner privileges, the roles property contains owner as one of the values. Similarly, if the member is an in-tenant
* guest, the roles property contains guest as one of the values. A basic member should not have any values specified in
* the roles property. An Out-of-tenant external member is assigned the owner role.
*/
roles?: NullableOption<string[]>;
/**
@@ -6606,7 +6607,7 @@ export interface SecureScoreControlProfile extends Entity {
remediationImpact?: NullableOption<string>;
// Service that owns the control (Exchange, Sharepoint, Azure AD).
service?: NullableOption<string>;
// List of threats the control mitigates (accountBreach,dataDeletion,dataExfiltration,dataSpillage,
// List of threats the control mitigates (accountBreach, dataDeletion, dataExfiltration, dataSpillage,
threats?: NullableOption<string[]>;
tier?: NullableOption<string>;
title?: NullableOption<string>;
@@ -7040,6 +7041,10 @@ export interface AdministrativeUnit extends DirectoryObject {
extensions?: NullableOption<Extension[]>;
}
export interface AllowedValue extends Entity {
/**
* Indicates whether the predefined value is active or deactivated. If set to false, this predefined value cannot be
* assigned to any additional supported directory objects.
*/
isActive?: NullableOption<boolean>;
}
export interface AppScope extends Entity {
@@ -7055,7 +7060,15 @@ export interface AppScope extends Entity {
type?: NullableOption<string>;
}
export interface AttributeSet extends Entity {
/**
* Description of the attribute set. Can be up to 128 characters long and include Unicode characters. Can be changed
* later.
*/
description?: NullableOption<string>;
/**
* Maximum number of custom security attributes that can be defined in this attribute set. Default value is null. If not
* specified, the administrator can add up to the maximum of 500 active attributes per tenant. Can be changed later.
*/
maxAttributesPerSet?: NullableOption<number>;
}
export interface CertificateBasedAuthConfiguration extends Entity {
@@ -7172,14 +7185,49 @@ export interface CrossTenantIdentitySyncPolicyPartner {
userSyncInbound?: NullableOption<CrossTenantUserSyncInbound>;
}
export interface CustomSecurityAttributeDefinition extends Entity {
// Name of the attribute set. Case insensitive.
attributeSet?: string;
/**
* Description of the custom security attribute. Can be up to 128 characters long and include Unicode characters. Can be
* changed later.
*/
description?: NullableOption<string>;
/**
* Indicates whether multiple values can be assigned to the custom security attribute. Cannot be changed later. If type is
* set to Boolean, isCollection cannot be set to true.
*/
isCollection?: boolean;
/**
* Indicates whether custom security attribute values are indexed for searching on objects that are assigned attribute
* values. Cannot be changed later.
*/
isSearchable?: NullableOption<boolean>;
/**
* Name of the custom security attribute. Must be unique within an attribute set. Can be up to 32 characters long and
* include Unicode characters. Cannot contain spaces or special characters. Cannot be changed later. Case insensitive.
*/
name?: string;
/**
* Specifies whether the custom security attribute is active or deactivated. Acceptable values are: Available and
* Deprecated. Can be changed later.
*/
status?: string;
/**
* Data type for the custom security attribute values. Supported types are: Boolean, Integer, and String. Cannot be
* changed later.
*/
type?: string;
/**
* Indicates whether only predefined values can be assigned to the custom security attribute. If set to false, free-form
* values are allowed. Can later be changed from true to false, but cannot be changed from false to true. If type is set
* to Boolean, usePreDefinedValuesOnly cannot be set to true.
*/
usePreDefinedValuesOnly?: NullableOption<boolean>;
/**
* Values that are predefined for this custom security attribute. This navigation property is not returned by default and
* must be specified in an $expand query. For example,
* /directory/customSecurityAttributeDefinitions?$expand=allowedValues.
*/
allowedValues?: NullableOption<AllowedValue[]>;
}
export interface Device extends DirectoryObject {
@@ -7298,7 +7346,9 @@ export interface Device extends DirectoryObject {
export interface Directory extends Entity {
// Conceptual container for user and group directory objects.
administrativeUnits?: NullableOption<AdministrativeUnit[]>;
// Group of related custom security attribute definitions.
attributeSets?: NullableOption<AttributeSet[]>;
// Schema of a custom security attributes (key-value pairs).
customSecurityAttributeDefinitions?: NullableOption<CustomSecurityAttributeDefinition[]>;
// Recently deleted items. Read-only. Nullable.
deletedItems?: NullableOption<DirectoryObject[]>;
@@ -7667,6 +7717,24 @@ export interface OrganizationalBrandingProperties extends Entity {
* providers are used at the same time for high availability of read requests. Read-only.
*/
cdnList?: NullableOption<string[]>;
customAccountResetCredentialsUrl?: NullableOption<string>;
customCannotAccessYourAccountText?: NullableOption<string>;
customCannotAccessYourAccountUrl?: NullableOption<string>;
customCSS?: NullableOption<any>;
customCSSRelativeUrl?: NullableOption<string>;
customForgotMyPasswordText?: NullableOption<string>;
customPrivacyAndCookiesText?: NullableOption<string>;
customPrivacyAndCookiesUrl?: NullableOption<string>;
customResetItNowText?: NullableOption<string>;
customTermsOfUseText?: NullableOption<string>;
customTermsOfUseUrl?: NullableOption<string>;
favicon?: NullableOption<any>;
faviconRelativeUrl?: NullableOption<string>;
headerBackgroundColor?: NullableOption<string>;
headerLogo?: NullableOption<any>;
headerLogoRelativeUrl?: NullableOption<string>;
loginPageLayoutConfiguration?: NullableOption<LoginPageLayoutConfiguration>;
loginPageTextVisibilitySettings?: NullableOption<LoginPageTextVisibilitySettings>;
/**
* Text that appears at the bottom of the sign-in box. You can use this to communicate additional information, such as the
* phone number to your help desk or a legal statement. This text must be Unicode and not exceed 1024 characters.
@@ -7678,6 +7746,8 @@ export interface OrganizationalBrandingProperties extends Entity {
* KB in size. We recommend using a transparent image with no padding around the logo.
*/
squareLogo?: NullableOption<any>;
squareLogoDark?: NullableOption<any>;
squareLogoDarkRelativeUrl?: NullableOption<string>;
/**
* A relative url for the squareLogo property that is combined with a CDN base URL from the cdnList to provide the version
* served by a CDN. Read-only.
@@ -8545,8 +8615,8 @@ export interface EducationSubmission extends Entity {
*/
returnedDateTime?: NullableOption<string>;
/**
* Read-only. Possible values are: working, submitted, released, returned, and reassigned. Note that you must use the
* Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned.
* Read-only. Possible values are: working, submitted, returned, and reassigned. Note that you must use the Prefer:
* include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reassigned.
*/
status?: NullableOption<EducationSubmissionStatus>;
// User who moved the resource into the submitted state.
@@ -17807,7 +17877,8 @@ export interface KeyCredential {
/**
* The certificate's raw data in byte array converted to Base64 string. Returned only on $select for a single object, that
* is, GET applications/{applicationId}?$select=keyCredentials or GET
* servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null.
* servicePrincipals/{servicePrincipalId}?$select=keyCredentials; otherwise, it is always null. From a .cer certificate,
* you can read the key using the Convert.ToBase64String() method. For more information, see Get the certificate key.
*/
key?: NullableOption<string>;
// The unique identifier (GUID) for the key.
@@ -18688,14 +18759,22 @@ export interface CrossTenantUserSyncInbound {
isSyncAllowed?: NullableOption<boolean>;
}
export interface DefaultUserRolePermissions {
// Indicates whether the default user role can create applications.
/**
* Indicates whether the default user role can create applications. This setting corresponds to the Users can register
* applications setting in the User settings menu in the Azure portal.
*/
allowedToCreateApps?: boolean;
/**
* Indicates whether the default user role can create security groups. This setting corresponds to the The Users can
* create security groups in Azure portals, API or PowerShell setting in the group settings menu in the Azure portal.
* Indicates whether the default user role can create security groups. This setting corresponds to the following menus in
* the Azure portal: The Users can create security groups in Azure portals, API or PowerShell setting in the Group
* settings menu. Users can create security groups setting in the User settings menu.
*/
allowedToCreateSecurityGroups?: boolean;
// Indicates whether the default user role can create tenants.
/**
* Indicates whether the default user role can create tenants. This setting corresponds to the Restrict non-admin users
* from creating tenants setting in the User settings menu in the Azure portal. When this setting is false, users assigned
* the Tenant Creator role can still create tenants.
*/
allowedToCreateTenants?: NullableOption<boolean>;
// Indicates whether the registered owners of a device can read their own BitLocker recovery keys with default user role.
allowedToReadBitlockerKeysForOwnedDevice?: NullableOption<boolean>;
@@ -18760,6 +18839,19 @@ export interface LicenseUnitsDetail {
*/
warning?: NullableOption<number>;
}
export interface LoginPageLayoutConfiguration {
isFooterShown?: NullableOption<boolean>;
isHeaderShown?: NullableOption<boolean>;
layoutTemplateType?: NullableOption<LayoutTemplateType>;
}
export interface LoginPageTextVisibilitySettings {
hideAccountResetCredentials?: NullableOption<boolean>;
hideCannotAccessYourAccount?: NullableOption<boolean>;
hideForgotMyPassword?: NullableOption<boolean>;
hidePrivacyAndCookies?: NullableOption<boolean>;
hideResetItNow?: NullableOption<boolean>;
hideTermsOfUse?: NullableOption<boolean>;
}
export interface OnPremisesAccidentalDeletionPrevention {
/**
* Threshold value which triggers accidental deletion prevention. The threshold is either an absolute number of objects or
@@ -22918,7 +23010,12 @@ export interface BucketAggregationRange {
to?: string;
}
export interface CollapseProperty {
/**
* Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties.
* Required.
*/
fields?: string[];
// Defines a maximum limit count for this field. This numeric value must be a positive integer. Required.
limit?: number;
}
export interface ResultTemplate {
@@ -22980,6 +23077,7 @@ export interface SearchHit {
* hitId format.
*/
hitId?: NullableOption<string>;
// Indicates whether the current result is collapsed when the collapseProperties property is used.
isCollapsed?: NullableOption<boolean>;
// The rank or the order of the result.
rank?: NullableOption<number>;
@@ -25588,7 +25686,7 @@ export namespace CallRecords {
/**
* Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu,
* amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk,
* silkNarrow, silkWide, siren, xmsRTA, unknownFutureValue.
* silkNarrow, silkWide, siren, xmsRta, unknownFutureValue.
*/
audioCodec?: NullableOption<AudioCodec>;
/**
@@ -26071,7 +26169,7 @@ export namespace ExternalConnectors {
/**
* The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not
* contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &amp;, ?,
* \@, #, /, ~, ', ', &amp;lt;, &amp;gt;, `, ^. Required.
* @, #, /, ~, ', ', &amp;lt;, &amp;gt;, `, ^. Required.
*/
name?: string;
/**
@@ -26180,7 +26278,8 @@ export namespace SecurityNamespace {
| "microsoftDataLossPrevention"
| "appGovernancePolicy"
| "appGovernanceDetection"
| "unknownFutureValue";
| "unknownFutureValue"
| "microsoftDefenderForCloud";
type DetectionStatus = "detected" | "blocked" | "prevented" | "unknownFutureValue";
type DeviceHealthStatus =
| "active"
@@ -26210,7 +26309,8 @@ export namespace SecurityNamespace {
| "policyViolator"
| "unknownFutureValue";
type EvidenceVerdict = "unknown" | "suspicious" | "malicious" | "noThreatsFound" | "unknownFutureValue";
type IncidentStatus = "active" | "resolved" | "inProgress" | "redirected" | "unknownFutureValue";
type GoogleCloudLocationType = "unknown" | "regional" | "zonal" | "global" | "unknownFutureValue";
type IncidentStatus = "active" | "resolved" | "inProgress" | "redirected" | "unknownFutureValue" | "awaitingAction";
type OnboardingStatus = "insufficientInfo" | "onboarded" | "canBeOnboarded" | "unsupported" | "unknownFutureValue";
type ServiceSource =
| "unknown"
@@ -26222,7 +26322,8 @@ export namespace SecurityNamespace {
| "azureAdIdentityProtection"
| "microsoftAppGovernance"
| "dataLossPrevention"
| "unknownFutureValue";
| "unknownFutureValue"
| "microsoftDefenderForCloud";
type VmCloudProvider = "unknown" | "azure" | "unknownFutureValue";
type EventPropagationStatus = "none" | "inProcessing" | "failed" | "success" | "unknownFutureValue";
type EventStatusType = "pending" | "error" | "success" | "notAvaliable" | "unknownFutureValue";
@@ -26251,7 +26352,14 @@ export namespace SecurityNamespace {
createdDateTime?: NullableOption<string>;
// String value describing each alert.
description?: NullableOption<string>;
// Detection technology or sensor that identified the notable component or activity.
/**
* Detection technology or sensor that identified the notable component or activity. Possible values are: unknown,
* microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation,
* microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender,
* azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection,
* unknownFutureValue, microsoftDefenderForCloud. Note that you must use the Prefer: include-unknown-enum-members request
* header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud.
*/
detectionSource?: NullableOption<DetectionSource>;
// The ID of the detector that triggered the alert.
detectorId?: NullableOption<string>;
@@ -26283,9 +26391,11 @@ export namespace SecurityNamespace {
// Time when the alert was resolved.
resolvedDateTime?: NullableOption<string>;
/**
* The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint,
* microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender,
* aadIdentityProtection, appGovernance, dataLossPrevention.
* The service or product that created this alert. Possible values are: unknown, microsoftDefenderForEndpoint,
* microsoftDefenderForIdentity, microsoftDefenderForCloudApps, microsoftDefenderForOffice365, microsoft365Defender,
* azureAdIdentityProtection, microsoftAppGovernance, dataLossPrevention, unknownFutureValue, microsoftDefenderForCloud.
* Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this
* evolvable enum: microsoftDefenderForCloud.
*/
serviceSource?: ServiceSource;
/**
@@ -26666,8 +26776,13 @@ export namespace SecurityNamespace {
createdDateTime?: string;
}
interface AlertEvidence {
// The time the evidence was created and added to the alert.
/**
* The date and time when the evidence was created and added to the alert. The Timestamp type represents date and time
* information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is
* 2014-01-01T00:00:00Z.
*/
createdDateTime?: string;
detailedRoles?: NullableOption<string[]>;
/**
* Status of the remediation action taken. The possible values are: none, remediated, prevented, blocked, notFound,
* unknownFutureValue.
@@ -26676,13 +26791,13 @@ export namespace SecurityNamespace {
// Details about the remediation status.
remediationStatusDetails?: NullableOption<string>;
/**
* The role/s that an evidence entity represents in an alert, e.g., an IP address that is associated with an attacker will
* have the evidence role 'Attacker'.
* One or more roles that an evidence entity represents in an alert. For example, an IP address that is associated with an
* attacker has the evidence role Attacker.
*/
roles?: EvidenceRole[];
/**
* Array of custom tags associated with an evidence instance, for example to denote a group of devices, high value assets,
* etc.
* Array of custom tags associated with an evidence instance. For example, to denote a group of devices or high value
* assets.
*/
tags?: NullableOption<string[]>;
/**
@@ -26691,6 +26806,16 @@ export namespace SecurityNamespace {
*/
verdict?: EvidenceVerdict;
}
interface AmazonResourceEvidence extends AlertEvidence {
// The unique identifier for the Amazon account.
amazonAccountId?: NullableOption<string>;
// The Amazon resource identifier (ARN) for the cloud resource.
amazonResourceId?: NullableOption<string>;
// The name of the resource.
resourceName?: NullableOption<string>;
// The type of the resource.
resourceType?: NullableOption<string>;
}
interface AnalyzedMessageEvidence extends AlertEvidence {
// Direction of the email relative to your network. The possible values are: inbound, outbound or intraorg.
antiSpamDirection?: NullableOption<string>;
@@ -26740,6 +26865,14 @@ export namespace SecurityNamespace {
// Sender email address.
emailAddress?: NullableOption<string>;
}
interface AzureResourceEvidence extends AlertEvidence {
// The unique identifier for the Azure resource.
resourceId?: NullableOption<string>;
// The name of the resource.
resourceName?: NullableOption<string>;
// The type of the resource.
resourceType?: NullableOption<string>;
}
interface CloudApplicationEvidence extends AlertEvidence {
// Unique identifier of the application.
appId?: NullableOption<number>;
@@ -26769,6 +26902,7 @@ export namespace SecurityNamespace {
* noSensorDataImpairedCommunication, unknown, unknownFutureValue.
*/
healthStatus?: NullableOption<DeviceHealthStatus>;
ipInterfaces?: NullableOption<string[]>;
// Users that were logged on the machine during the time of the alert.
loggedOnUsers?: NullableOption<LoggedOnUser[]>;
// A unique identifier assigned to a device by Microsoft Defender for Endpoint.
@@ -26838,6 +26972,20 @@ export namespace SecurityNamespace {
// A unique identifier assigned to a device by Microsoft Defender for Endpoint.
mdeDeviceId?: NullableOption<string>;
}
interface GoogleCloudResourceEvidence extends AlertEvidence {
// The zone or region where the resource is located.
location?: NullableOption<string>;
// The type of location. Possible values are: unknown, regional, zonal, global, unknownFutureValue.
locationType?: NullableOption<GoogleCloudLocationType>;
// The Google project ID as defined by the user.
projectId?: NullableOption<string>;
// The project number assigned by Google.
projectNumber?: NullableOption<number>;
// The name of the resource.
resourceName?: NullableOption<string>;
// The type of the resource.
resourceType?: NullableOption<string>;
}
interface HuntingQueryResults {
// The results of the hunting query.
results?: NullableOption<HuntingRowResult[]>;
@@ -26868,10 +27016,11 @@ export namespace SecurityNamespace {
userAccount?: NullableOption<UserAccount>;
}
interface UserAccount {
// The user account's displayed name.
// The displayed name of the user account.
accountName?: NullableOption<string>;
// The user object identifier in Azure AD.
// The user object identifier in Azure Active Directory (Azure AD).
azureAdUserId?: NullableOption<string>;
// The user display name in Azure AD.
displayName?: NullableOption<string>;
// The name of the Active Directory domain of which the user is a member.
domainName?: NullableOption<string>;
@@ -26933,6 +27082,7 @@ export namespace SecurityNamespace {
registryKey?: NullableOption<string>;
}
interface RegistryValueEvidence extends AlertEvidence {
mdeDeviceId?: NullableOption<string>;
// Registry hive of the key that the recorded action was applied to.
registryHive?: NullableOption<string>;
// Registry key that the recorded action was applied to.

View File

@@ -429,3 +429,34 @@ const synchronizationStatus: MicrosoftGraph.SynchronizationStatus = {};
const synchronizationTaskExecution: MicrosoftGraph.SynchronizationTaskExecution = {};
const onlineMeetingRestricted: MicrosoftGraph.OnlineMeetingRestricted = {};
const loginPageLayoutConfiguration: MicrosoftGraph.LoginPageLayoutConfiguration = {};
const loginPageTextVisibilitySettings: MicrosoftGraph.LoginPageTextVisibilitySettings = {};
const azureResourceEvidence: MicrosoftGraph.SecurityNamespace.AzureResourceEvidence = {};
const layoutTemplateType: MicrosoftGraph.LayoutTemplateType = "verticalSplit";
const googleCloudResourceEvidence: MicrosoftGraph.SecurityNamespace.GoogleCloudResourceEvidence = {};
const organizationalBrandingProperties: MicrosoftGraph.OrganizationalBrandingProperties = {
customAccountResetCredentialsUrl: "",
customCannotAccessYourAccountText: "",
customCannotAccessYourAccountUrl: "",
customCSS: "",
customCSSRelativeUrl: "",
customForgotMyPasswordText: "",
customPrivacyAndCookiesText: "",
customPrivacyAndCookiesUrl: "",
customResetItNowText: "",
customTermsOfUseText: "",
customTermsOfUseUrl: "",
favicon: "",
faviconRelativeUrl: "",
headerBackgroundColor: "",
headerLogo: "",
headerLogoRelativeUrl: "",
loginPageLayoutConfiguration: {},
loginPageTextVisibilitySettings: {}
};