diff --git a/microsoft-graph.d.ts b/microsoft-graph.d.ts index 0c13dbb..9a21a63 100644 --- a/microsoft-graph.d.ts +++ b/microsoft-graph.d.ts @@ -29,6 +29,7 @@ export type AppliedConditionalAccessPolicyResult = | "reportOnlyFailure" | "reportOnlyNotApplied" | "reportOnlyInterrupted"; +export type AuthenticationContextDetail = "required" | "previouslySatisfied" | "notApplicable" | "unknownFutureValue"; export type AuthenticationMethodFeature = | "ssprRegistered" | "ssprEnabled" @@ -220,7 +221,13 @@ export type SignInIdentifierType = | "onPremisesUserPrincipalName" | "unknownFutureValue"; export type SignInUserType = "member" | "guest" | "unknownFutureValue"; -export type TokenIssuerType = "AzureAD" | "ADFederationServices" | "UnknownFutureValue" | "AzureADBackupAuth"; +export type TokenIssuerType = + | "AzureAD" + | "ADFederationServices" + | "UnknownFutureValue" + | "AzureADBackupAuth" + | "ADFederationServicesMFAAdapter" + | "NPSExtension"; export type UsageAuthMethod = | "email" | "mobileSMS" @@ -242,6 +249,7 @@ export type Fido2RestrictionEnforcementType = "allow" | "block" | "unknownFuture export type MicrosoftAuthenticatorAuthenticationMode = "deviceBasedPush" | "push" | "any"; export type SecurityQuestionType = "predefined" | "custom"; export type VolumeType = "operatingSystemVolume" | "fixedDataVolume" | "removableDataVolume" | "unknownFutureValue"; +export type AnswerInputType = "text" | "radioButton" | "unknownFutureValue"; export type BookingInvoiceStatus = "draft" | "reviewing" | "open" | "canceled" | "paid" | "corrective"; export type BookingPriceType = | "undefined" @@ -297,6 +305,7 @@ export type CloudPcDomainJoinType = "azureADJoin" | "hybridAzureADJoin" | "unkno export type CloudPcGalleryImageStatus = "supported" | "supportedWithWarning" | "notSupported" | "unknownFutureValue"; export type CloudPcOnPremisesConnectionHealthCheckErrorType = | "dnsCheckFqdnNotFound" + | "dnsCheckNameWithInvalidCharacter" | "dnsCheckUnknownError" | "adJoinCheckFqdnNotFound" | "adJoinCheckIncorrectCredentials" @@ -316,6 +325,7 @@ export type CloudPcOnPremisesConnectionHealthCheckErrorType = | "azureAdDeviceSyncCheckLongSyncCircle" | "azureAdDeviceSyncCheckConnectDisabled" | "azureAdDeviceSyncCheckDurationExceeded" + | "azureAdDeviceSyncCheckScpNotConfigured" | "azureAdDeviceSyncCheckTransientServiceError" | "azureAdDeviceSyncCheckUnknownError" | "resourceAvailabilityCheckNoSubnetIP" @@ -356,6 +366,7 @@ export type CloudPcOnPremisesConnectionStatus = | "warning" | "unknownFutureValue"; export type CloudPcOnPremisesConnectionType = "hybridAzureADJoin" | "azureADJoin" | "unknownFutureValue"; +export type CloudPcOperatingSystem = "windows10" | "windows11" | "unknownFutureValue"; export type CloudPcProvisioningPolicyImageType = "gallery" | "custom"; export type CloudPcServicePlanType = "enterprise" | "business" | "unknownFutureValue"; export type CloudPcStatus = @@ -367,7 +378,9 @@ export type CloudPcStatus = | "failed" | "provisionedWithWarnings" | "resizing" + | "pendingProvision" | "unknownFutureValue"; +export type CloudPcUserAccountType = "standardUser" | "administrator" | "unknownFutureValue"; export type MicrosoftManagedDesktopType = | "notManaged" | "premiumManaged" @@ -651,6 +664,15 @@ export type ResponseType = "none" | "organizer" | "tentativelyAccepted" | "accep export type Sensitivity = "normal" | "personal" | "private" | "confidential"; export type TaskStatus = "notStarted" | "inProgress" | "completed" | "waitingOnOthers" | "deferred"; export type TimeZoneStandard = "windows" | "iana"; +export type UserPurpose = + | "unknown" + | "user" + | "linked" + | "shared" + | "room" + | "equipment" + | "others" + | "unknownFutureValue"; export type WebsiteType = "other" | "home" | "work" | "blog" | "profile"; export type WeekIndex = "first" | "second" | "third" | "fourth" | "last"; export type ColumnTypes = @@ -682,6 +704,7 @@ export type DriveItemSourceApplication = | "powerPoint" | "office" | "unknownFutureValue"; +export type LongRunningOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "unknownFutureValue"; export type MediaSourceContentCategory = | "meeting" | "liveStream" @@ -751,7 +774,8 @@ export type StagedFeatureName = | "seamlessSso" | "passwordHashSync" | "emailAsAlternateId" - | "unknownFutureValue"; + | "unknownFutureValue" + | "certificateBasedAuthentication"; export type AttributeFlowBehavior = "FlowWhenChanged" | "FlowAlways"; export type AttributeFlowType = "Always" | "ObjectAddOnly" | "MultiValueAddOnly" | "ValueAddOnly" | "AttributeAddOnly"; export type AttributeMappingSourceType = "Attribute" | "Constant" | "Function"; @@ -1179,8 +1203,14 @@ export type DevicePlatformType = | "androidAOSP"; export type ErrorCode = "noError" | "unauthorized" | "notFound" | "deleted"; export type PolicySetStatus = "unknown" | "validating" | "partialSuccess" | "success" | "error" | "notAssigned"; -export type ChromeOSOnboardingStatus = "unknown" | "inprogress" | "onboarded" | "failed"; -export type OnboardingStatus = "unknown" | "inprogress" | "onboarded" | "failed"; +export type ChromeOSOnboardingStatus = + | "unknown" + | "inprogress" + | "onboarded" + | "failed" + | "offboarding" + | "unknownFutureValue"; +export type OnboardingStatus = "unknown" | "inprogress" | "onboarded" | "failed" | "offboarding" | "unknownFutureValue"; export type AdministratorConfiguredDeviceComplianceState = "basedOnDeviceCompliancePolicy" | "nonCompliant"; export type AdvancedBitLockerState = | "success" @@ -1202,6 +1232,12 @@ export type AdvancedBitLockerState = | "networkError"; export type AndroidDeviceOwnerAppAutoUpdatePolicyType = "notConfigured" | "userChoice" | "never" | "wiFiOnly" | "always"; export type AndroidDeviceOwnerBatteryPluggedMode = "notConfigured" | "ac" | "usb" | "wireless"; +export type AndroidDeviceOwnerCrossProfileDataSharing = + | "notConfigured" + | "crossProfileDataSharingBlocked" + | "dataSharingFromWorkToPersonalBlocked" + | "crossProfileDataSharingAllowed" + | "unkownFutureValue"; export type AndroidDeviceOwnerDefaultAppPermissionPolicyType = "deviceDefault" | "prompt" | "autoGrant" | "autoDeny"; export type AndroidDeviceOwnerEnrollmentProfileType = "notConfigured" | "dedicatedDevice" | "fullyManaged"; export type AndroidDeviceOwnerKioskCustomizationStatusBar = @@ -1846,7 +1882,13 @@ export type MacOSGatekeeperAppSources = | "macAppStoreAndIdentifiedDevelopers" | "anywhere"; export type MacOSProcessIdentifierType = "bundleID" | "path"; -export type MacOSSoftwareUpdateBehavior = "notConfigured" | "default"; +export type MacOSSoftwareUpdateBehavior = + | "notConfigured" + | "default" + | "downloadOnly" + | "installASAP" + | "notifyOnly" + | "installLater"; export type MacOSSoftwareUpdateCategory = "critical" | "configurationDataFile" | "firmware" | "other"; export type MacOSSoftwareUpdateDelayPolicy = | "none" @@ -2100,6 +2142,7 @@ export type RatingUnitedStatesTelevisionType = | "adults"; export type RequiredPasswordType = "deviceDefault" | "alphanumeric" | "numeric"; export type RestrictedAppsState = "prohibitedApps" | "notApprovedApps"; +export type RunState = "unknown" | "success" | "fail" | "scriptError" | "pending" | "notApplicable"; export type SafeSearchFilterType = "userDefined" | "strict" | "moderate"; export type ScheduledRetireState = "cancelRetire" | "comfirmRetire"; export type SecureAssessmentAccountType = "azureADAccount" | "domainAccount" | "localAccount" | "localGuestAccount"; @@ -2514,7 +2557,10 @@ export type ConfigurationManagerActionType = | "refreshMachinePolicy" | "refreshUserPolicy" | "wakeUpClient" - | "appEvaluation"; + | "appEvaluation" + | "quickScan" + | "fullScan" + | "windowsDefenderUpdateSignatures"; export type ConfigurationManagerClientState = | "unknown" | "installed" @@ -2680,7 +2726,6 @@ export type RemoteAction = | "getFileVaultKey" | "setDeviceName" | "activateDeviceEsim"; -export type RunState = "unknown" | "success" | "fail" | "scriptError" | "pending" | "notApplicable"; export type UserExperienceAnalyticsHealthState = "unknown" | "insufficientData" | "needsAttention" | "meetingGoals"; export type UserExperienceAnalyticsInsightSeverity = "none" | "informational" | "warning" | "error"; export type UserExperienceAnalyticsOperatingSystemRestartCategory = @@ -2867,7 +2912,28 @@ export type GroupPolicySettingType = | "securityOptions" | "userRightsAssignment" | "auditSetting" - | "windowsFirewallSettings"; + | "windowsFirewallSettings" + | "appLockerRuleCollection" + | "dataSourcesSettings" + | "devicesSettings" + | "driveMapSettings" + | "environmentVariables" + | "filesSettings" + | "folderOptions" + | "folders" + | "iniFiles" + | "internetOptions" + | "localUsersAndGroups" + | "networkOptions" + | "networkShares" + | "ntServices" + | "powerOptions" + | "printers" + | "regionalOptionsSettings" + | "registrySettings" + | "scheduledTasks" + | "shortcutSettings" + | "startMenuSettings"; export type MdmSupportedState = "unknown" | "supported" | "unsupported" | "deprecated"; export type GroupPolicyConfigurationType = "policy" | "preference"; export type GroupPolicyDefinitionClassType = "user" | "machine"; @@ -2974,11 +3040,10 @@ export type EndpointSecurityConfigurationType = | "accountProtection"; export type RoleAssignmentScopeType = "resourceScope" | "allDevices" | "allLicensedUsers" | "allDevicesAndLicensedUsers"; export type RemoteAssistanceOnboardingStatus = "notOnboarded" | "onboarding" | "onboarded"; -export type RemoteAssistanceState = "notConfigured" | "disabled" | "enabled"; +export type RemoteAssistanceState = "disabled" | "enabled"; export type DeviceManagementExportJobLocalizationType = "localizedValuesAsAdditionalColumn" | "replaceLocalizableValues"; export type DeviceManagementReportFileFormat = "csv" | "pdf"; export type DeviceManagementReportStatus = "unknown" | "notStarted" | "inProgress" | "completed" | "failed"; -export type DeviceManagementScheduledReportRecurrence = "none" | "daily" | "weekly" | "monthly"; export type EmbeddedSIMDeviceStateValue = | "notEvaluated" | "failed" @@ -3055,14 +3120,13 @@ export type WindowsQualityUpdateClassification = "all" | "security" | "nonSecuri export type ApplicationType = "universal" | "desktop"; export type UserPfxIntendedPurpose = "unassigned" | "smimeEncryption" | "smimeSigning" | "vpn" | "wifi"; export type UserPfxPaddingScheme = "none" | "pkcs1" | "oaepSha1" | "oaepSha256" | "oaepSha384" | "oaepSha512"; -export type IncidentStatus = "active" | "resolved" | "redirected" | "unknownFutureValue"; -export type M365AlertClassification = +export type AlertClassification_v2 = | "unknown" | "falsePositive" | "truePositive" | "benignPositive" | "unknownFutureValue"; -export type M365AlertDetermination = +export type AlertDetermination_v2 = | "unknown" | "apt" | "malware" @@ -3079,7 +3143,20 @@ export type M365AlertDetermination = | "confirmedUserActivity" | "lineOfBusinessApplication" | "unknownFutureValue"; -export type M365AlertSeverity = "unknown" | "informational" | "low" | "medium" | "high" | "unknownFutureValue"; +export type AlertSeverity_v2 = "unknown" | "informational" | "low" | "medium" | "high" | "unknownFutureValue"; +export type AlertStatus_v2 = "unknown" | "new" | "inProgress" | "resolved" | "unknownFutureValue"; +export type IncidentStatus = "active" | "resolved" | "redirected" | "unknownFutureValue"; +export type ServiceSource = + | "unknown" + | "microsoftDefenderForEndpoint" + | "microsoftDefenderForIdentity" + | "microsoftDefenderForCloudApps" + | "microsoftDefenderForOffice365" + | "microsoft365Defender" + | "aadIdentityProtection" + | "microsoftAppGovernance" + | "dataLossPrevention" + | "unknownFutureValue"; export type PostType = "regular" | "quick" | "strategic" | "unknownFutureValue"; export type ServiceHealthClassificationType = "advisory" | "incident" | "unknownFutureValue"; export type ServiceHealthOrigin = "microsoft" | "thirdParty" | "customer" | "unknownFutureValue"; @@ -4153,7 +4230,6 @@ export type SimulationAttackTechnique = | "linkToMalwareFile" | "unknownFutureValue"; export type SimulationAttackType = "unknown" | "social" | "cloud" | "endpoint" | "unknownFutureValue"; -export type SimulationMode = "real" | "preview" | "unknownFutureValue"; export type SimulationStatus = | "unknown" | "draft" @@ -4169,14 +4245,7 @@ export type SimulationStatus = | "unknownFutureValue"; export type TrainingAssignmentPreference = "unknown" | "auto" | "manual" | "unknownFutureValue"; export type TrainingContentPreference = "unknown" | "microsoft" | "custom" | "noTraining" | "unknownFutureValue"; -export type TrainingStatus = - | "unknown" - | "assigned" - | "inProgress" - | "completed" - | "overdue" - | "notCompleted" - | "unknownFutureValue"; +export type TrainingStatus = "unknown" | "assigned" | "inProgress" | "completed" | "overdue" | "unknownFutureValue"; export type AccountStatus = "unknown" | "staged" | "active" | "suspended" | "deleted" | "unknownFutureValue"; export type AlertFeedback = "unknown" | "truePositive" | "falsePositive" | "benignPositive" | "unknownFutureValue"; export type AlertSeverity = "unknown" | "informational" | "low" | "medium" | "high" | "unknownFutureValue"; @@ -4273,7 +4342,6 @@ export type TiAction = "unknown" | "allow" | "block" | "alert" | "unknownFutureV export type TlpLevel = "unknown" | "white" | "green" | "amber" | "red" | "unknownFutureValue"; export type UserAccountSecurityType = "unknown" | "standard" | "power" | "administrator" | "unknownFutureValue"; export type AccessLevel = "everyone" | "invited" | "locked" | "sameEnterprise" | "sameEnterpriseAndFederated"; -export type AnswerInputType = "text" | "radioButton" | "unknownFutureValue"; export type AutoAdmittedUsersType = "everyoneInCompany" | "everyone"; export type BroadcastMeetingAudience = "roleIsAttendee" | "organization" | "everyone" | "unknownFutureValue"; export type CallDirection = "incoming" | "outgoing"; @@ -4362,14 +4430,12 @@ export type AuthenticationMethodSignInState = | "notConfigured" | "unknownFutureValue"; export type AuthenticationPhoneType = "mobile" | "alternateMobile" | "office" | "unknownFutureValue"; -export type LongRunningOperationStatus = "notStarted" | "running" | "succeeded" | "failed" | "unknownFutureValue"; export type LifecycleEventType = "missed" | "subscriptionRemoved" | "reauthorizationRequired"; export type BinaryOperator = "or" | "and"; export type AccessType = "grant" | "deny"; export type AclType = "user" | "group" | "everyone" | "everyoneExceptGuests" | "externalGroup" | "unknownFutureValue"; export type ConnectionOperationStatus = "unspecified" | "inprogress" | "completed" | "failed"; export type ConnectionState = "draft" | "ready" | "obsolete" | "limitExceeded" | "unknownFutureValue"; -export type ExternalGroupMemberType = "user" | "group"; export type ExternalItemContentType = "text" | "html" | "unknownFutureValue"; export type IdentitySourceType = "azureActiveDirectory" | "external"; export type Label = @@ -4392,6 +4458,8 @@ export type PropertyType = | "int64Collection" | "doubleCollection" | "dateTimeCollection"; +export type TaskStatus_v2 = "notStarted" | "inProgress" | "completed" | "unknownFutureValue"; +export type WellKnownListName_v2 = "none" | "defaultList" | "flaggedEmails" | "unknownFutureValue"; export type CallRecordingStatus = "success" | "failure" | "initial" | "chunkFinished" | "unknownFutureValue"; export type ChannelMembershipType = "standard" | "private" | "unknownFutureValue" | "shared"; export type ChatMessageImportance = "normal" | "high" | "urgent"; @@ -4446,7 +4514,53 @@ export type TeamworkApplicationIdentityType = | "outgoingWebhook" | "unknownFutureValue"; export type TeamworkCallEventType = "call" | "meeting" | "screenShare" | "unknownFutureValue"; +export type TeamworkConnectionStatus = "unknown" | "connected" | "disconnected" | "unknownFutureValue"; export type TeamworkConversationIdentityType = "team" | "channel" | "chat" | "unknownFutureValue"; +export type TeamworkDeviceActivityState = "unknown" | "busy" | "idle" | "unavailable" | "unknownFutureValue"; +export type TeamworkDeviceHealthStatus = + | "unknown" + | "offline" + | "critical" + | "nonUrgent" + | "healthy" + | "unknownFutureValue"; +export type TeamworkDeviceOperationType = + | "deviceRestart" + | "configUpdate" + | "deviceDiagnostics" + | "softwareUpdate" + | "deviceManagementAgentConfigUpdate" + | "remoteLogin" + | "remoteLogout" + | "unknownFutureValue"; +export type TeamworkDeviceType = + | "unknown" + | "ipPhone" + | "teamsRoom" + | "surfaceHub" + | "collaborationBar" + | "teamsDisplay" + | "touchConsole" + | "lowCostPhone" + | "teamsPanel" + | "sip" + | "unknownFutureValue"; +export type TeamworkSoftwareFreshness = "unknown" | "latest" | "updateAvailable" | "unknownFutureValue"; +export type TeamworkSoftwareType = + | "adminAgent" + | "operatingSystem" + | "teamsClient" + | "firmware" + | "partnerAgent" + | "companyPortal" + | "unknownFutureValue"; +export type TeamworkSupportedClient = + | "unknown" + | "skypeDefaultAndTeams" + | "teamsDefaultAndSkype" + | "skypeOnly" + | "teamsOnly" + | "unknownFutureValue"; export type TeamworkTagType = "standard"; export type TeamworkUserIdentityType = | "aadUser" @@ -4551,33 +4665,56 @@ export interface IdentityGovernance { entitlementManagement?: NullableOption; } export interface AccessReviewSet extends Entity { + // Represents an Azure AD access review decision on an instance of a review. + decisions?: NullableOption; + // Represents the template and scheduling for an access review. definitions?: NullableOption; + // Represents a collection of access review history data and the scopes used to collect that data. historyDefinitions?: NullableOption; + // Resource that enables administrators to manage directory-level access review policies in their tenant. policy?: NullableOption; } export interface AppConsentApprovalRoute extends Entity { + // A collection of userConsentRequest objects for a specific application. appConsentRequests?: NullableOption; } export interface TermsOfUseContainer extends Entity { + // Represents the current status of a user's response to a company's customizable terms of use agreement. agreementAcceptances?: NullableOption; + /** + * Represents a tenant's customizable terms of use agreement that's created and managed with Azure Active Directory (Azure + * AD). + */ agreements?: NullableOption; } export interface EntitlementManagement extends Entity { accessPackageAssignmentApprovals?: NullableOption; + /** + * Represents the policy that governs which subjects can request or be assigned an access package via an access package + * assignment. + */ accessPackageAssignmentPolicies?: NullableOption; + // Represents access package assignment requests created by or on behalf of a user. accessPackageAssignmentRequests?: NullableOption; + // Represents the resource-specific role which a subject has been assigned through an access package assignment. accessPackageAssignmentResourceRoles?: NullableOption; + // Represents the grant of an access package to a subject (user or group). accessPackageAssignments?: NullableOption; + // Represents a group of access packages. accessPackageCatalogs?: NullableOption; + // A reference to the geolocation environment in which a resource is located. accessPackageResourceEnvironments?: NullableOption; + // Represents a request to add or remove a resource to or from a catalog respectively. accessPackageResourceRequests?: NullableOption; + // A reference to both a scope within a resource, and a role in that resource for that scope. accessPackageResourceRoleScopes?: NullableOption; + // A reference to a resource associated with an access package catalog. accessPackageResources?: NullableOption; - // Access packages. + // Represents access package objects. accessPackages?: NullableOption; - // Connected organizations. + // Represents references to a directory or domain of another organization whose users can request access. connectedOrganizations?: NullableOption; - // Entitlement management settings. + // Represents the settings that control the behavior of Azure AD entitlement management. settings?: NullableOption; } export interface DirectoryObject extends Entity { @@ -4780,11 +4917,12 @@ export interface User extends DirectoryObject { */ onPremisesDomainName?: NullableOption; /** - * Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable - * nor filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the - * on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties may be set - * during creation or update. These extension attributes are also known as Exchange custom attributes 1-15. Returned only - * on $select. Supports $filter (eq, not, ge, le, in, and eq on null values). + * Contains extensionAttributes1-15 for the user. The individual extension attributes are neither selectable nor + * filterable. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises + * and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during + * creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these + * properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange + * Online V2 module in PowerShell. These extension attributes are also known as Exchange custom attributes 1-15. */ onPremisesExtensionAttributes?: NullableOption; /** @@ -4871,9 +5009,11 @@ export interface User extends DirectoryObject { */ provisionedPlans?: ProvisionedPlan[]; /** - * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. For Azure AD B2C accounts, this property has a - * limit of ten unique addresses. Read-only, Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, - * startsWith). + * For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com']. The proxy address prefixed with SMTP + * (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure + * AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this + * property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, + * not, ge, le, startsWith). */ proxyAddresses?: string[]; /** @@ -4922,8 +5062,9 @@ export interface User extends DirectoryObject { * standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where * domain must be present in the tenant's collection of verified domains. This property is required when a user is * created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: - * This property cannot contain accent characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, - * startsWith, endsWith) and $orderBy. + * This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ + * ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, + * ne, not, ge, le, in, startsWith, endsWith) and $orderBy. */ userPrincipalName?: NullableOption; /** @@ -4934,7 +5075,7 @@ export interface User extends DirectoryObject { userType?: NullableOption; /** * Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to - * incoming messages, locale and time zone.Returned only on $select. + * incoming messages, locale and time zone. Returned only on $select. */ mailboxSettings?: NullableOption; // The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000. @@ -5074,6 +5215,7 @@ export interface User extends DirectoryObject { onlineMeetings?: NullableOption; presence?: NullableOption; authentication?: NullableOption; + tasks?: NullableOption; chats?: NullableOption; // The Microsoft Teams teams that the user is a member of. Read-only. Nullable. joinedTeams?: NullableOption; @@ -5557,9 +5699,10 @@ export interface Group extends DirectoryObject { // Specifies whether the group is mail-enabled. Required. Returned by default. Supports $filter (eq, ne, not). mailEnabled?: NullableOption; /** - * The mail alias for the group, unique in the organization. Maximum length is 64 characters. This property can contain - * only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . <> , SPACE. - * Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values). + * The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. + * This property can contain only characters in the ASCII character set 0 - 127 except the following: @ () / [] ' ; : . + * <> , SPACE. Required. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq + * on null values). */ mailNickname?: NullableOption; mdmAppId?: NullableOption; @@ -6017,6 +6160,7 @@ export interface Site extends BaseItem { items?: NullableOption; // The collection of lists under this site. lists?: NullableOption; + operations?: NullableOption; // The collection of pages in the SitePages list in this site. pages?: NullableOption; // The permissions associated with the site. Nullable. @@ -6341,10 +6485,7 @@ export interface ManagedDevice extends Entity { serialNumber?: NullableOption; // Device sku family skuFamily?: NullableOption; - /** - * Device sku number, see also: https://docs.microsoft.com/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo. - * Valid values 0 to 2147483647. This property is read-only. - */ + // Device sku number, see also: GetProductInfo. Valid values 0 to 2147483647. This property is read-only. skuNumber?: number; // Specification version. This property is read-only. specificationVersion?: NullableOption; @@ -6386,7 +6527,7 @@ export interface ManagedDevice extends Entity { logCollectionRequests?: NullableOption; // The primary users associated with the managed device. users?: NullableOption; - // The device protection status. + // The device protection status. This property is read-only. windowsProtectionState?: NullableOption; } export interface ManagedAppRegistration extends Entity { @@ -6483,9 +6624,9 @@ export interface MobileAppTroubleshootingEvent extends DeviceManagementTroublesh } export interface Notification extends Entity { /** - * Sets how long (in seconds) this notification content will stay in each platform’s notification viewer. For example, + * Sets how long (in seconds) this notification content will stay in each platform's notification viewer. For example, * when the notification is delivered to a Windows device, the value of this property is passed on to - * ToastNotification.ExpirationTime, which determines how long the toast notification will stay in the user’s Windows + * ToastNotification.ExpirationTime, which determines how long the toast notification will stay in the user's Windows * Action Center. */ displayTimeToLive?: NullableOption; @@ -6782,6 +6923,8 @@ export interface Device extends DirectoryObject { * jamf, googleCloudDevicePolicyController. */ managementType?: NullableOption; + // Application identifier used to register device into MDM. Read-only. Supports $filter (eq, ne, not, startsWith). + mdmAppId?: NullableOption; /** * The last time at which the object was synced with the on-premises directory. 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 @@ -6923,6 +7066,7 @@ export interface OnlineMeeting extends Entity { * enabled. */ registration?: NullableOption; + transcripts?: NullableOption; } export interface Presence extends Entity { /** @@ -6952,6 +7096,12 @@ export interface Authentication extends Entity { temporaryAccessPassMethods?: NullableOption; windowsHelloForBusinessMethods?: NullableOption; } +export interface Tasks extends Entity { + // All tasks in the users mailbox. + alltasks?: NullableOption; + // The task lists in the users mailbox. + lists?: NullableOption; +} export interface Chat extends Entity { // Specifies the type of chat. Possible values are: group, oneOnOne, meeting, unknownFutureValue. chatType?: ChatType; @@ -6973,10 +7123,7 @@ export interface Chat extends Entity { * populated only when the request is made in a delegated context. */ viewpoint?: NullableOption; - /** - * A hyperlink that will go to the chat in Microsoft Teams. This URL should be treated as an opaque blob, and not parsed. - * Read-only. - */ + // The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only. webUrl?: NullableOption; // A collection of all the apps in the chat. Nullable. installedApps?: NullableOption; @@ -7094,7 +7241,7 @@ export interface ApplicationSignInDetailedSummary extends Entity { status?: NullableOption; } export interface ApplicationSignInSummary extends Entity { - // Name of the application that the user signed in to. + // Name of the application that the user signed into. appDisplayName?: string; // Count of failed sign-ins made by the application. failedSignInCount?: NullableOption; @@ -7204,6 +7351,7 @@ export interface SignIn extends Entity { appId?: NullableOption; // A list of conditional access policies that are triggered by the corresponding sign-in activity. appliedConditionalAccessPolicies?: NullableOption; + authenticationContextClassReferences?: NullableOption; // The result of the authentication attempt and additional details on the authentication method. authenticationDetails?: NullableOption; /** @@ -7216,17 +7364,29 @@ export interface SignIn extends Entity { * federated authentication. */ authenticationProcessingDetails?: NullableOption; + /** + * Lists the protocol type or grant type used in the authentication. The possible values are: none, oAuth2, ropc, + * wsFederation, saml20, deviceCode, unknownFutureValue. For authentications that use protocols other than the possible + * values listed, the protocol type is listed as none. + */ authenticationProtocol?: NullableOption; /** * This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports * $filter (eq and startsWith operators only). */ authenticationRequirement?: NullableOption; + /** + * Sources of authentication requirement, such as conditional access, per-user MFA, identity protection, and security + * defaults. + */ authenticationRequirementPolicies?: NullableOption; + // The Autonomous System Number (ASN) of the network used by the actor. autonomousSystemNumber?: NullableOption; + azureResourceId?: NullableOption; /** - * Identifies the legacy client used for sign-in activity. Includes Browser, Exchange Active Sync, modern clients, IMAP, - * MAPI, SMTP, and POP. Supports $filter (eq operator only). + * Identifies the client used for the sign-in activity. Modern authentication clients include Browser and modern clients. + * Legacy authentication clients include Exchange Active Sync, IMAP, MAPI, SMTP, POP, and other clients. Supports $filter + * (eq operator only). */ clientAppUsed?: NullableOption; /** @@ -7244,21 +7404,51 @@ export interface SignIn extends Entity { * Supports $orderby and $filter (eq, le, and ge operators only). */ createdDateTime?: string; + /** + * Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: none, + * b2bCollaboration, b2bDirectConnect, microsoftSupport, serviceProvider, unknownFutureValue. If the sign in did not cross + * tenant boundaries, the value is none. + */ crossTenantAccessType?: NullableOption; /** * Device information from where the sign-in occurred; includes device ID, operating system, and browser. Supports $filter * (eq and startsWith operators only) on browser and operatingSytem properties. */ deviceDetail?: NullableOption; + federatedCredentialId?: NullableOption; + /** + * During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a + * user clicked the button to flag the failed sign in, this value is true. + */ flaggedForReview?: NullableOption; + /** + * The tenant identifier of the user initiating the sign in. Not applicable in Managed Identity or service principal sign + * ins. + */ homeTenantId?: NullableOption; + /** + * For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home + * tenant has provided affirmative consent to Azure AD to show the tenant content. + */ homeTenantName?: NullableOption; + /** + * Indicates the token types that were presented to Azure AD to authenticate the actor in the sign in. The possible values + * are: none, primaryRefreshToken, saml11, saml20, unknownFutureValue. NOTE Azure AD may have also used token types not + * listed in this Enum type to authenticate the actor. Do not infer the lack of a token if it is not one of the types + * listed. + */ incomingTokenType?: NullableOption; // IP address of the client used to sign in. Supports $filter (eq and startsWith operators only). ipAddress?: NullableOption; + /** + * The IP address a user used to reach a resource provider, used to determine Conditional Access compliance for some + * policies. For example, when a user interacts with Exchange Online, the IP address Exchange receives from the user may + * be recorded here. This value is often null. + */ ipAddressFromResourceProvider?: NullableOption; // Indicates if a sign-in is interactive or not. isInteractive?: NullableOption; + // Shows whether the sign in event was subject to an Azure AD tenant restriction policy. isTenantRestricted?: NullableOption; /** * Provides the city, state, and country code where the sign-in originated. Supports $filter (eq and startsWith operators @@ -7270,6 +7460,7 @@ export interface SignIn extends Entity { networkLocationDetails?: NullableOption; // The request identifier of the first request in the authentication sequence. Supports $filter (eq operator only). originalRequestId?: NullableOption; + // Contains information about the Azure AD Private Link policy that is associated with the sign in event. privateLinkDetails?: NullableOption; // The request processing time in milliseconds in AD STS. processingTimeInMilliseconds?: NullableOption; @@ -7277,6 +7468,8 @@ export interface SignIn extends Entity { resourceDisplayName?: NullableOption; // ID of the resource that the user signed into. Supports $filter (eq operator only). resourceId?: NullableOption; + resourceServicePrincipalId?: NullableOption; + // The tenant identifier of the resource referenced in the sign in. resourceTenantId?: NullableOption; /** * Provides the 'reason' behind a specific state of a risky user, sign-in or a risk event. The possible values are: none, @@ -7312,7 +7505,9 @@ export interface SignIn extends Entity { * dismissed, atRisk, confirmedCompromised, unknownFutureValue. Supports $filter (eq operator only). */ riskState?: NullableOption; + // The unique identifier of the key credential used by the service principal to authenticate. servicePrincipalCredentialKeyId?: NullableOption; + // The certificate thumbprint of the certificate used by the service principal to authenticate. servicePrincipalCredentialThumbprint?: NullableOption; /** * The application identifier used for sign-in. This field is populated when you are signing in using an application. @@ -7324,8 +7519,24 @@ export interface SignIn extends Entity { * $filter (eq and startsWith operators only). */ servicePrincipalName?: NullableOption; + sessionLifetimePolicies?: NullableOption; + /** + * Indicates the category of sign in that the event represents. For user sign ins, the category can be interactiveUser or + * nonInteractiveUser and corresponds to the value for the isInteractive property on the signin resource. For managed + * identity sign ins, the category is managedIdentity. For service principal sign ins, the category is servicePrincipal. + * Possible values are: interactiveUser, nonInteractiveUser, servicePrincipal, managedIdentity, unknownFutureValue. + * Supports $filter (eq operator only). + */ signInEventTypes?: NullableOption; + /** + * The identification that the user provided to sign in. It may be the userPrincipalName but it's also populated when a + * user signs in using other identifiers. + */ signInIdentifier?: NullableOption; + /** + * The type of sign in identifier. Possible values are: userPrincipalName, phoneNumber, proxyAddress, qrCode, + * onPremisesUserPrincipalName, unknownFutureValue. + */ signInIdentifierType?: NullableOption; /** * Sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports $filter @@ -7334,8 +7545,16 @@ export interface SignIn extends Entity { status?: NullableOption; // The name of the identity provider. For example, sts.microsoft.com. Supports $filter (eq operator only). tokenIssuerName?: NullableOption; - // The type of identity provider. Possible values: AzureAD, ADFederationServices, or UnknownFutureValue. + /** + * The type of identity provider. The possible values are: AzureAD, ADFederationServices, UnknownFutureValue, + * AzureADBackupAuth. Note that you must use the Prefer: include - unknown -enum-members request header to get the + * following value(s) in this evolvable enum: AzureADBackupAuth. + */ tokenIssuerType?: NullableOption; + /** + * A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource + * providers. + */ uniqueTokenIdentifier?: NullableOption; // The user agent information related to sign-in. Supports $filter (eq and startsWith operators only). userAgent?: NullableOption; @@ -7345,13 +7564,26 @@ export interface SignIn extends Entity { userId?: string; // User principal name of the user that initiated the sign-in. Supports $filter (eq and startsWith operators only). userPrincipalName?: NullableOption; + // Identifies whether the user is a member or guest in the tenant. Possible values are: member, guest, unknownFutureValue. userType?: NullableOption; } export interface RestrictedSignIn extends SignIn { targetTenantId?: NullableOption; } -// tslint:disable-next-line: no-empty-interface -export interface AuthenticationMethodsRoot extends Entity {} +export interface AuthenticationMethodsRoot extends Entity { + userRegistrationDetails?: NullableOption; +} +export interface UserRegistrationDetails extends Entity { + isMfaCapable?: boolean; + isMfaRegistered?: boolean; + isPasswordlessCapable?: boolean; + isSsprCapable?: boolean; + isSsprEnabled?: boolean; + isSsprRegistered?: boolean; + methodsRegistered?: NullableOption; + userDisplayName?: string; + userPrincipalName?: string; +} export interface AzureADFeatureUsage extends Entity { featureName?: string; snapshotDateTime?: string; @@ -7579,6 +7811,9 @@ export interface FeatureRolloutPolicy extends Entity { // Nullable. Specifies a list of directoryObjects that feature is enabled for. appliesTo?: NullableOption; } +export interface GovernanceInsight extends Entity { + insightCreatedDateTime?: NullableOption; +} export interface RelyingPartyDetailedSummary extends Entity { // Number of failed sign in on Active Directory Federation Service in the period specified. failedSignInCount?: number; @@ -7619,9 +7854,13 @@ export interface RelyingPartyDetailedSummary extends Entity { uniqueUserCount?: number; } export interface ReportRoot extends Entity { + // Represents a detailed summary of an application sign-in. applicationSignInDetailedSummary?: NullableOption; + // Container for navigation properties for Azure AD authentication methods resources. authenticationMethods?: NullableOption; + // Details of the usage of self-service password reset and multi-factor authentication (MFA) for all registered users. credentialUserRegistrationDetails?: NullableOption; + // Represents the self-service password reset (SSPR) usage for a given tenant. userCredentialUsageDetails?: NullableOption; dailyPrintUsageByPrinter?: NullableOption; dailyPrintUsageByUser?: NullableOption; @@ -7791,6 +8030,8 @@ export interface Application extends DirectoryObject { * groups, or service principals associated with other applications. Not nullable. */ appRoles?: AppRole[]; + // Specifies the certification status of the application. + certification?: NullableOption; /** * The date and time the application was registered. The DateTimeOffset 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. Read-only. @@ -7906,7 +8147,10 @@ export interface Application extends DirectoryObject { tokenEncryptionKeyId?: NullableOption; // The unique identifier that can be assigned to an application as an alternative identifier. Immutable. Read-only. uniqueName?: NullableOption; - // Specifies the verified publisher of the application. + /** + * Specifies the verified publisher of the application. For more information about how publisher verification helps + * support application security, trustworthiness, and compliance, see Publisher verification. + */ verifiedPublisher?: NullableOption; // Specifies settings for a web application. web?: NullableOption; @@ -8354,6 +8598,74 @@ export interface AuthenticationMethodTarget extends Entity { // Possible values are: user, group. targetType?: AuthenticationMethodTargetType; } +export interface ConditionalAccessRoot extends Entity { + // Read-only. Nullable. Returns a collection of the specified authentication context class references. + authenticationContextClassReferences?: NullableOption; + // Read-only. Nullable. Returns a collection of the specified named locations. + namedLocations?: NullableOption; + // Read-only. Nullable. Returns a collection of the specified Conditional Access (CA) policies. + policies?: NullableOption; +} +export interface AuthenticationContextClassReference extends Entity { + /** + * A short explanation of the policies that are enforced by authenticationContextClassReference. This value should be used + * to provide secondary text to describe the authentication context class reference when building user facing admin + * experiences. For example, selection UX. + */ + description?: NullableOption; + /** + * The display name is the friendly name of the authenticationContextClassReference. This value should be used to identify + * the authentication context class reference when building user facing admin experiences. For example, selection UX. + */ + displayName?: NullableOption; + /** + * Indicates whether the authenticationContextClassReference has been published by the security admin and is ready for use + * by apps. When it is set to false it should not be shown in admin UX experiences because the value is not currently + * available for selection. + */ + isAvailable?: NullableOption; +} +export interface NamedLocation extends Entity { + /** + * The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. + * For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + */ + createdDateTime?: NullableOption; + // Human-readable name of the location. + displayName?: string; + /** + * The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC + * time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. + */ + modifiedDateTime?: NullableOption; +} +export interface ConditionalAccessPolicy extends Entity { + // Specifies the rules that must be met for the policy to apply. Required. + conditions?: ConditionalAccessConditionSet; + /** + * 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. Readonly. + */ + createdDateTime?: NullableOption; + // Not used. + description?: NullableOption; + // Specifies a display name for the conditionalAccessPolicy object. + displayName?: string; + // Specifies the grant controls that must be fulfilled to pass the policy. + grantControls?: NullableOption; + /** + * 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. Readonly. + */ + modifiedDateTime?: NullableOption; + // Specifies the session controls that are enforced after sign-in. + sessionControls?: NullableOption; + /** + * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, + * enabledForReportingButNotEnforced. Required. + */ + state?: ConditionalAccessPolicyState; +} export interface EmailAuthenticationMethodConfiguration extends AuthenticationMethodConfiguration { /** * Determines whether email OTP is usable by external users for authentication. Possible values are: default, enabled, @@ -8561,33 +8873,6 @@ export interface AdminConsentRequestPolicy extends Entity { export interface DirectoryRoleAccessReviewPolicy extends Entity { settings?: NullableOption; } -export interface ConditionalAccessPolicy extends Entity { - // Specifies the rules that must be met for the policy to apply. Required. - conditions?: ConditionalAccessConditionSet; - /** - * 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. Readonly. - */ - createdDateTime?: NullableOption; - // Not used. - description?: NullableOption; - // Specifies a display name for the conditionalAccessPolicy object. - displayName?: string; - // Specifies the grant controls that must be fulfilled to pass the policy. - grantControls?: NullableOption; - /** - * 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. Readonly. - */ - modifiedDateTime?: NullableOption; - // Specifies the session controls that are enforced after sign-in. - sessionControls?: NullableOption; - /** - * Specifies the state of the conditionalAccessPolicy object. Possible values are: enabled, disabled, - * enabledForReportingButNotEnforced. Required. - */ - state?: ConditionalAccessPolicyState; -} // tslint:disable-next-line: interface-name export interface IdentitySecurityDefaultsEnforcementPolicy extends PolicyBase { // If set to true, Azure Active Directory security defaults is enabled for the tenant. @@ -8736,6 +9021,7 @@ export interface ThreatAssessmentRequest extends Entity { results?: NullableOption; } export interface BookingAppointment extends Entity { + // Additional information that is sent to the customer when an appointment is confirmed. additionalInformation?: NullableOption; // The SMTP address of the bookingCustomer who is booking the appointment. customerEmailAddress?: NullableOption; @@ -8756,12 +9042,19 @@ export interface BookingAppointment extends Entity { customerNotes?: NullableOption; // The customer's phone number. customerPhone?: NullableOption; + /** + * It lists down the customer properties for an appointment. An appointment will contain a list of customer information + * and each unit will indicate the properties of a customer who is part of that appointment. Optional. + */ + customers?: BookingCustomerInformationBase[]; // The time zone of the customer. For a list of possible values, see dateTimeTimeZone. customerTimeZone?: NullableOption; // The length of the appointment, denoted in ISO8601 format. duration?: string; // The date, time, and time zone that the appointment ends. end?: DateTimeTimeZone; + // The current number of customers in the appointment + filledAttendeesCount?: number; // The billed amount on the invoice. invoiceAmount?: number; // The date, time, and time zone of the invoice for this appointment. @@ -8772,13 +9065,15 @@ export interface BookingAppointment extends Entity { invoiceStatus?: BookingInvoiceStatus; // The URL of the invoice in Microsoft Bookings. invoiceUrl?: NullableOption; - // True indicates that the appointment will be held online. Default value is false. + // If true, indicates that the appointment will be held online. Default value is false. isLocationOnline?: boolean; // The URL of the online meeting for the appointment. joinWebUrl?: NullableOption; + // The maximum number of customers allowed in an appointment. + maximumAttendeesCount?: number; onlineMeetingUrl?: NullableOption; /** - * True indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this + * If true indicates that the bookingCustomer for this appointment does not wish to receive a confirmation for this * appointment. */ optOutOfCustomerEmail?: boolean; @@ -8796,14 +9091,15 @@ export interface BookingAppointment extends Entity { price?: number; /** * A setting to provide flexibility for the pricing structure of services. Possible values are: undefined, fixedPrice, - * startingAt, hourly, free, priceVaries, callUs, notSet. + * startingAt, hourly, free, priceVaries, callUs, notSet, unknownFutureValue. */ priceType?: BookingPriceType; // The value of this property is only available when reading an individual booking appointment by id. reminders?: NullableOption; /** * An additional tracking ID for the appointment, if the appointment has been created directly by the customer on the - * scheduling page, as opposed to by a staff member on the behalf of the customer. + * scheduling page, as opposed to by a staff member on the behalf of the customer. Only supported for appointment if + * maxAttendeeCount is 1. */ selfServiceAppointmentId?: NullableOption; // The ID of the bookingService associated with this appointment. @@ -8817,7 +9113,7 @@ export interface BookingAppointment extends Entity { serviceName?: string; // The value of this property is only available when reading an individual booking appointment by id. serviceNotes?: NullableOption; - // True indicates SMS notifications will be sent to the customers for the appointment. Default value is false. + // If true, indicates SMS notifications will be sent to the customers for the appointment. Default value is false. smsNotificationsEnabled?: boolean; // The ID of each bookingStaffMember who is scheduled in this appointment. staffMemberIds?: NullableOption; @@ -8831,7 +9127,8 @@ export interface BookingNamedEntity extends Entity { export interface BookingBusiness extends BookingNamedEntity { /** * The street address of the business. The address property, together with phone and webSiteUrl, appear in the footer of a - * business scheduling page. + * business scheduling page. The attribute type of physicalAddress is not supported in v1.0. Internally we map the + * addresses to the type others. */ address?: NullableOption; // The hours of operation for the business. @@ -8864,6 +9161,8 @@ export interface BookingBusiness extends BookingNamedEntity { calendarView?: NullableOption; // All the customers of this business. Read-only. Nullable. customers?: NullableOption; + // All the custom questions of this business. Read-only. Nullable. + customQuestions?: NullableOption; // All the services offered by this business. Read-only. Nullable. services?: NullableOption; // All the staff members that provide services in this business. Read-only. Nullable. @@ -8874,13 +9173,27 @@ export interface BookingPerson extends BookingNamedEntity { emailAddress?: NullableOption; } export interface BookingCustomer extends BookingPerson { - // Addresses associated with the customer, including home, business and other addresses. + /** + * Addresses associated with the customer. The attribute type of physicalAddress is not supported in v1.0. Internally we + * map the addresses to the type others. + */ addresses?: NullableOption; // Phone numbers associated with the customer, including home, business and mobile numbers. phones?: NullableOption; } +export interface BookingCustomQuestion extends Entity { + // The expected answer type. The possible values are: text, radioButton, unknownFutureValue. + answerInputType?: NullableOption; + // List of possible answer values. + answerOptions?: NullableOption; + // The display name is suitable for human-readable interfaces. + displayName?: string; +} export interface BookingService extends BookingNamedEntity { + // Additional information that is sent to the customer when an appointment is confirmed. additionalInformation?: NullableOption; + // Contains the set of custom questions associated with a particular service. + customQuestions?: NullableOption; /** * The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, * P11D23H59M59.999999999999S. @@ -8892,7 +9205,7 @@ export interface BookingService extends BookingNamedEntity { defaultPrice?: number; /** * The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, - * priceVaries, callUs, notSet. + * priceVaries, callUs, notSet, unknownFutureValue. */ defaultPriceType?: BookingPriceType; // The value of this property is only available when reading an individual booking service by id. @@ -8903,6 +9216,8 @@ export interface BookingService extends BookingNamedEntity { isHiddenFromCustomers?: boolean; // True indicates that the appointments for the service will be held online. Default value is false. isLocationOnline?: boolean; + // The maximum number of customers allowed in a service. + maximumAttendeesCount?: number; // Additional information about this service. notes?: NullableOption; // The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked. @@ -8933,8 +9248,8 @@ export interface BookingStaffMember extends BookingPerson { */ colorIndex?: NullableOption; /** - * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest, - * scheduler, and member. Required. + * The role of the staff member in the business. Possible values are: guest, administrator, viewer, externalGuest and + * unknownFutureValue. Required. */ role?: BookingStaffRole; // The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. @@ -8967,46 +9282,55 @@ export interface AppScope extends Entity { type?: NullableOption; } export interface CloudPC extends Entity { + // The Azure Active Directory (Azure AD) device ID of the Cloud PC. aadDeviceId?: NullableOption; - // The Cloud PC display name. + // The display name of the Cloud PC. displayName?: NullableOption; /** - * The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if status is + * The date and time when the grace period ends and reprovisioning/deprovisioning happens. Required only if the status is * inGracePeriod. The timestamp is shown in ISO 8601 format and Coordinated Universal Time (UTC). For example, midnight * UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. */ gracePeriodEndDateTime?: NullableOption; // Name of the OS image that's on the Cloud PC. imageDisplayName?: NullableOption; + // The last login result of the Cloud PC. For example, { 'time': '2014-01-01T00:00:00Z'}. lastLoginResult?: NullableOption; /** - * The Cloud PC's last modified date and time. The Timestamp type represents date and time information using ISO 8601 + * The last modified date and time of the Cloud PC. 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. */ lastModifiedDateTime?: string; + /** + * The last remote action result of the enterprise Cloud PCs. The supported remote actions are: Rename, Reboot, + * Reprovision, and Troubleshoot. + */ lastRemoteActionResult?: NullableOption; - // The Cloud PC’s Intune device ID. + // The Intune device ID of the Cloud PC. managedDeviceId?: NullableOption; - // The Cloud PC’s Intune device name. + // The Intune device name of the Cloud PC. managedDeviceName?: NullableOption; - // The on-premises connection that is applied during provisioning of Cloud PCs. + // The on-premises connection that is applied during the provisioning of Cloud PCs. onPremisesConnectionName?: NullableOption; - // The Cloud PC's provisioning policy ID. + osVersion?: NullableOption; + // The provisioning policy ID of the Cloud PC. provisioningPolicyId?: NullableOption; - // The provisioning policy that is applied during provisioning of Cloud PCs. + // The provisioning policy that is applied during the provisioning of Cloud PCs. provisioningPolicyName?: NullableOption; - // The Cloud PC's service plan ID. + // The service plan ID of the Cloud PC. servicePlanId?: NullableOption; - // The Cloud PC's service plan name. + // The service plan name of the Cloud PC. servicePlanName?: NullableOption; + // The service plan type of the Cloud PC. servicePlanType?: NullableOption; /** - * Status of the Cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, + * The status of the Cloud PC. Possible values are: notProvisioned, provisioning, provisioned, upgrading, inGracePeriod, * deprovisioning, failed. */ status?: CloudPcStatus; // The details of the Cloud PC status. statusDetails?: NullableOption; + userAccountType?: NullableOption; // The user principal name (UPN) of the user assigned to the Cloud PC. userPrincipalName?: NullableOption; } @@ -9037,6 +9361,7 @@ export interface CloudPcAuditEvent extends Entity { export interface CloudPcDeviceImage extends Entity { // The image's display name. displayName?: NullableOption; + // The date the image became unavailable. expirationDate?: NullableOption; /** * The data and time that the image was last modified. The time is shown in ISO 8601 format and Coordinated Universal Time @@ -9047,6 +9372,7 @@ export interface CloudPcDeviceImage extends Entity { operatingSystem?: NullableOption; // The image's OS build version. For example: 1909. osBuildNumber?: NullableOption; + // The OS status of this image. Possible values are: supported, supportedWithWarning, unknownFutureValue. osStatus?: NullableOption; /** * The ID of the source image resource on Azure. Required format: @@ -9155,6 +9481,10 @@ export interface CloudPcOnPremisesConnection extends Entity { */ virtualNetworkId?: string; } +export interface CloudPcOrganizationSettings extends Entity { + osVersion?: NullableOption; + userAccountType?: NullableOption; +} export interface CloudPcProvisioningPolicy extends Entity { // The provisioning policy description. description?: NullableOption; @@ -9226,7 +9556,7 @@ export interface CloudPcUserSetting extends Entity { /** * The last date and time the setting was modified. The Timestamp type represents the date and time information using ISO * 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 looks like - * this:'2014-01-01T00:00:00Z'. + * this: '2014-01-01T00:00:00Z'. */ lastModifiedDateTime?: NullableOption; /** @@ -9667,6 +9997,7 @@ export interface VirtualEndpoint extends Entity { * Cloud PCs. */ onPremisesConnections?: NullableOption; + organizationSettings?: NullableOption; // Cloud PC provisioning policy. provisioningPolicies?: NullableOption; // Cloud PC service plans. @@ -9836,7 +10167,10 @@ export interface ChromeOSOnboardingSettings extends Entity { lastDirectorySyncDateTime?: NullableOption; // The ChromebookTenant's LastModifiedDateTime lastModifiedDateTime?: string; - // The ChromebookTenant's OnboardingStatus. Possible values are: unknown, inprogress, onboarded, failed. + /** + * The ChromebookTenant's OnboardingStatus. Possible values are: unknown, inprogress, onboarded, failed, offboarding, + * unknownFutureValue. + */ onboardingStatus?: OnboardingStatus; // The ChromebookTenant's OwnerUserPrincipalName ownerUserPrincipalName?: NullableOption; @@ -10578,6 +10912,11 @@ export interface MobileThreatDefenseConnector extends Entity { * applications from Intune */ allowPartnerToCollectIOSApplicationMetadata?: boolean; + /** + * For IOS devices, allows the admin to configure whether the data sync partner may also collect metadata about personally + * installed applications from Intune + */ + allowPartnerToCollectIOSPersonalApplicationMetadata?: boolean; // For Android, set whether Intune must receive data from the data sync partner prior to marking a device compliant androidDeviceBlockedOnMissingPartnerData?: boolean; // For Android, set whether data from the data sync partner should be used during compliance evaluations @@ -11159,6 +11498,11 @@ export interface UserExperienceAnalyticsAppHealthDeviceModelPerformance extends deviceManufacturer?: NullableOption; // The model name of the device. deviceModel?: NullableOption; + /** + * The health state of the user experience analytics model. Possible values are: unknown, insufficientData, + * needsAttention, meetingGoals. + */ + healthStatus?: UserExperienceAnalyticsHealthState; // The mean time to failure for the model device in minutes. Valid values -2147483648 to 2147483647 meanTimeToFailureInMinutes?: number; // The app health score of the device model. Valid values -1.79769313486232E+308 to 1.79769313486232E+308 @@ -11185,6 +11529,11 @@ export interface UserExperienceAnalyticsAppHealthDevicePerformance extends Entit deviceManufacturer?: NullableOption; // The model name of the device. deviceModel?: NullableOption; + /** + * The health state of the user experience analytics device. Possible values are: unknown, insufficientData, + * needsAttention, meetingGoals. + */ + healthStatus?: UserExperienceAnalyticsHealthState; // The mean time to failure for the device in minutes. Valid values -2147483648 to 2147483647 meanTimeToFailureInMinutes?: number; // The date and time when the statistics were last computed. @@ -11400,8 +11749,6 @@ export interface UserExperienceAnalyticsMetricHistory extends Entity { metricDateTime?: string; // The user experience analytics metric type. metricType?: NullableOption; - // User experience analytics metric. - userExperienceAnalyticsMetric?: NullableOption; } export interface UserExperienceAnalyticsDevicePerformance extends Entity { // Average (mean) number of Blue Screens per device in the last 14 days. Valid values 0 to 9999999 @@ -12397,9 +12744,9 @@ export interface RemoteAssistanceSettings extends Entity { */ allowSessionsToUnenrolledDevices?: boolean; /** - * The current state of remote assistance for the account. Possible values are: notConfigured, disabled, enabled. This - * setting is configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a - * notConfigured state. Returned by default. Possible values are: notConfigured, disabled, enabled. + * The current state of remote assistance for the account. Possible values are: disabled, enabled. This setting is + * configurable by the admin. Remote assistance settings that have not yet been configured by the admin have a disabled + * state. Returned by default. Possible values are: disabled, enabled. */ remoteAssistanceState?: RemoteAssistanceState; } @@ -12408,8 +12755,6 @@ export interface DeviceManagementReports extends Entity { cachedReportConfigurations?: NullableOption; // Entity representing a job to export a report exportJobs?: NullableOption; - // Entity representing a schedule for which reports are delivered - reportSchedules?: NullableOption; } export interface EmbeddedSIMActivationCodePool extends Entity { // The total count of activation codes which belong to this pool. @@ -13436,9 +13781,23 @@ export interface List extends BaseItem { drive?: NullableOption; // All items contained in the list. items?: NullableOption; + operations?: NullableOption; // The set of subscriptions on the list. subscriptions?: NullableOption; } +export interface LongRunningOperation extends Entity { + createdDateTime?: NullableOption; + lastActionDateTime?: NullableOption; + resourceLocation?: NullableOption; + status?: NullableOption; + statusDetail?: NullableOption; +} +export interface RichLongRunningOperation extends LongRunningOperation { + error?: NullableOption; + percentageComplete?: NullableOption; + resourceId?: NullableOption; + type?: NullableOption; +} export interface SitePage extends BaseItem { // The content type of the page. contentType?: NullableOption; @@ -13665,14 +14024,6 @@ export interface IdentityContainer { // Represents entry point for continuous access evaluation policy. continuousAccessEvaluationPolicy?: NullableOption; } -export interface ConditionalAccessRoot extends Entity { - // Read-only. Nullable. Returns a collection of the specified authentication context class references. - authenticationContextClassReferences?: NullableOption; - // Read-only. Nullable. Returns a collection of the specified named locations. - namedLocations?: NullableOption; - // Read-only. Nullable. Returns a collection of the specified Conditional Access (CA) policies. - policies?: NullableOption; -} export interface ContinuousAccessEvaluationPolicy extends Entity { /** * Continuous access evaluation automatically blocks access to resources and applications in near real time when a user's @@ -14966,7 +15317,10 @@ export interface EducationSubmission extends Entity { * format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z */ returnedDateTime?: NullableOption; - // Read-Only. Possible values are: working, submitted, released, returned. + /** + * 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. + */ status?: NullableOption; // User who moved the resource into the submitted state. submittedBy?: NullableOption; @@ -15156,7 +15510,7 @@ export interface EducationUser extends Entity { * $filter. */ userType?: NullableOption; - // List of assignments for the user. Nullable. + // Assignments belonging to the user. assignments?: NullableOption; rubrics?: NullableOption; // Classes to which the user belongs. Nullable. @@ -15347,7 +15701,7 @@ export interface ItemActivityOLD extends Entity { listItem?: NullableOption; } export interface DriveItem extends BaseItem { - // Audio metadata, if the item is an audio file. Read-only. + // Audio metadata, if the item is an audio file. Read-only. Only on OneDrive Personal. audio?: NullableOption