diff --git a/microsoft-graph.d.ts b/microsoft-graph.d.ts index 3baa35c..91485ca 100644 --- a/microsoft-graph.d.ts +++ b/microsoft-graph.d.ts @@ -248,6 +248,14 @@ export type AuthenticationMethodModes = | "federatedSingleFactor" | "federatedMultiFactor" | "unknownFutureValue"; +export type AuthenticationMethodPlatform = + | "unknown" + | "windows" + | "macOS" + | "iOS" + | "android" + | "linux" + | "unknownFutureValue"; export type AuthenticationMethodSignInState = | "notSupported" | "notAllowedByPolicy" @@ -2452,6 +2460,12 @@ export type PromptLoginBehavior = | "unknownFutureValue"; export type ProtectionPolicyStatus = "inactive" | "activeWithErrors" | "updating" | "active" | "unknownFutureValue"; export type ProtectionRuleStatus = "draft" | "active" | "completed" | "completedWithErrors" | "unknownFutureValue"; +export type ProtectionUnitsBulkJobStatus = + | "unknown" + | "active" + | "completed" + | "completedWithErrors" + | "unknownFutureValue"; export type ProtectionUnitStatus = | "protectRequested" | "protected" @@ -2659,6 +2673,12 @@ export type RemoteAssistanceOnboardingStatus = "notOnboarded" | "onboarding" | " export type RequiredPasswordType = "deviceDefault" | "alphanumeric" | "numeric"; export type ResponseType = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded"; export type RestorableArtifact = "message" | "unknownFutureValue"; +export type RestoreArtifactsBulkRequestStatus = + | "unknown" + | "active" + | "completed" + | "completedWithErrors" + | "unknownFutureValue"; export type RestorePointPreference = "latest" | "oldest" | "unknownFutureValue"; export type RestorePointTags = "none" | "fastRestore" | "unknownFutureValue"; export type RestoreSessionStatus = @@ -5311,8 +5331,10 @@ export interface AttendanceRecord extends Entity { attendanceIntervals?: NullableOption; // Email address of the user associated with this attendance record. emailAddress?: NullableOption; + externalRegistrationInformation?: NullableOption; // Identity of the user associated with this attendance record. identity?: NullableOption; + registrationId?: NullableOption; // Role of the attendee. Possible values are: None, Attendee, Presenter, and Organizer. role?: NullableOption; // Total duration of the attendances in seconds. @@ -5389,6 +5411,8 @@ export interface Authentication extends Entity { passwordMethods?: NullableOption; // The phone numbers registered to a user for authentication. phoneMethods?: NullableOption; + // Represents a platform credential instance registered to a user on Mac OS. + platformCredentialMethods?: NullableOption; // The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. softwareOathMethods?: NullableOption; // Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. @@ -5468,7 +5492,9 @@ export interface AuthenticationMethodModeDetail extends Entity { /** * The authentication method that this mode modifies. The possible values are: password, voice, hardwareOath, * softwareOath, sms, fido2, windowsHelloForBusiness, microsoftAuthenticator, temporaryAccessPass, email, x509Certificate, - * federation, unknownFutureValue. + * federation, unknownFutureValue, qrCodePin. Use the Prefer: include-unknown-enum-members request header to get the + * following values from this {evolvable + * enum}(/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): qrCodePin. */ authenticationMethod?: BaseAuthenticationMethod; // The display name of this mode @@ -5629,6 +5655,7 @@ export interface BackupRestoreRoot extends Entity { driveInclusionRules?: NullableOption; // The list of drive protection units in the tenant. driveProtectionUnits?: NullableOption; + driveProtectionUnitsBulkAdditionJobs?: NullableOption; // The list of Exchange protection policies in the tenant. exchangeProtectionPolicies?: NullableOption; // The list of Exchange restore sessions available in the tenant. @@ -5637,6 +5664,7 @@ export interface BackupRestoreRoot extends Entity { mailboxInclusionRules?: NullableOption; // The list of mailbox protection units in the tenant. mailboxProtectionUnits?: NullableOption; + mailboxProtectionUnitsBulkAdditionJobs?: NullableOption; // The list of OneDrive for Business protection policies in the tenant. oneDriveForBusinessProtectionPolicies?: NullableOption; // The list of OneDrive for Business restore sessions available in the tenant. @@ -5659,6 +5687,7 @@ export interface BackupRestoreRoot extends Entity { siteInclusionRules?: NullableOption; // The list of site protection units in the tenant. siteProtectionUnits?: NullableOption; + siteProtectionUnitsBulkAdditionJobs?: NullableOption; } export interface BaseItem extends Entity { // Identity of the user, device, or application that created the item. Read-only. @@ -7498,6 +7527,19 @@ export interface ConversationThread extends Entity { uniqueSenders?: string[]; posts?: NullableOption; } +export interface CopilotAdmin extends Entity { + settings?: NullableOption; +} +export interface CopilotAdminLimitedMode extends Entity { + groupId?: NullableOption; + isEnabledForGroup?: NullableOption; +} +export interface CopilotAdminSetting extends Entity { + limitedMode?: NullableOption; +} +export interface CopilotRoot { + admin?: NullableOption; +} export interface CountryNamedLocation extends NamedLocation { // List of countries and/or regions in two-letter format specified by ISO 3166-2. Required. countriesAndRegions?: string[]; @@ -9268,6 +9310,10 @@ export interface DriveProtectionUnit extends ProtectionUnitBase { // Email associated with the directory object. email?: NullableOption; } +export interface DriveProtectionUnitsBulkAdditionJob extends ProtectionUnitsBulkJobBase { + directoryObjectIds?: NullableOption; + drives?: NullableOption; +} export interface DriveRestoreArtifact extends RestoreArtifactBase { // The new site identifier if destinationType is new, and the input site ID if the destinationType is inPlace. restoredSiteId?: NullableOption; @@ -9276,6 +9322,10 @@ export interface DriveRestoreArtifact extends RestoreArtifactBase { // The web URL of the restored site. restoredSiteWebUrl?: NullableOption; } +export interface DriveRestoreArtifactsBulkAdditionRequest extends RestoreArtifactsBulkRequestBase { + directoryObjectIds?: NullableOption; + drives?: NullableOption; +} export interface EBookInstallSummary extends Entity { // Number of Devices that have failed to install this book. failedDeviceCount?: number; @@ -9647,6 +9697,11 @@ export interface EducationSchool extends EducationOrganization { users?: NullableOption; } export interface EducationSubmission extends Entity { + /** + * The unique identifier for the assignment with which this submission is associated. A submission is always associated + * with one and only one assignment. + */ + assignmentId?: NullableOption; // The user that marked the submission as excused. excusedBy?: NullableOption; /** @@ -9654,6 +9709,10 @@ export interface EducationSubmission extends Entity { * and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. */ excusedDateTime?: NullableOption; + // The identities of those who modified the submission. + lastModifiedBy?: NullableOption; + // The date and time the submission was modified. + lastModifiedDateTime?: NullableOption; // User who moved the status of this submission to reassigned. reassignedBy?: NullableOption; /** @@ -10060,6 +10119,7 @@ export interface Event extends OutlookItem { body?: NullableOption; // The preview of the message associated with the event. It's in text format. bodyPreview?: NullableOption; + cancelledOccurrences?: string[]; // The date, time, and time zone that the event ends. By default, the end time is in UTC. end?: NullableOption; // Set to true if the event has attachments. @@ -10189,6 +10249,7 @@ export interface Event extends OutlookItem { attachments?: NullableOption; // The calendar that contains the event. Navigation property. Read-only. calendar?: NullableOption; + exceptionOccurrences?: NullableOption; // The collection of open extensions defined for the event. Nullable. extensions?: NullableOption; /** @@ -10254,11 +10315,13 @@ export interface ExchangeProtectionPolicy extends ProtectionPolicyBase { mailboxInclusionRules?: NullableOption; // The protection units (mailboxes) that are protected under the Exchange protection policy. mailboxProtectionUnits?: NullableOption; + mailboxProtectionUnitsBulkAdditionJobs?: NullableOption; } export interface ExchangeRestoreSession extends RestoreSessionBase { granularMailboxRestoreArtifacts?: NullableOption; // A collection of restore points and destination details that can be used to restore Exchange mailboxes. mailboxRestoreArtifacts?: NullableOption; + mailboxRestoreArtifactsBulkAdditionRequests?: NullableOption; } // tslint:disable-next-line: no-empty-interface export interface Extension extends Entity {} @@ -10294,6 +10357,10 @@ export interface ExternalDomainName extends Entity {} export interface ExternalUsersSelfServiceSignUpEventsFlow extends AuthenticationEventsFlow { // The configuration for what to invoke when attributes are ready to be collected from the user. onAttributeCollection?: NullableOption; + // The configuration for what to invoke when attribution collection starts. + onAttributeCollectionStart?: NullableOption; + // The configuration for what to invoke when attributes are submitted at the end of attribution collection. + onAttributeCollectionSubmit?: NullableOption; /** * Required. The configuration for what to invoke when authentication methods are ready to be presented to the user. Must * have at least one identity provider linked. Supports $filter (eq). See support for filtering on user flows for syntax @@ -12270,12 +12337,20 @@ export interface MailboxProtectionUnit extends ProtectionUnitBase { // Email address associated with the directory object. email?: NullableOption; } +export interface MailboxProtectionUnitsBulkAdditionJob extends ProtectionUnitsBulkJobBase { + directoryObjectIds?: NullableOption; + mailboxes?: NullableOption; +} export interface MailboxRestoreArtifact extends RestoreArtifactBase { // The new restored folder identifier for the user. restoredFolderId?: NullableOption; // The new restored folder name. restoredFolderName?: NullableOption; } +export interface MailboxRestoreArtifactsBulkAdditionRequest extends RestoreArtifactsBulkRequestBase { + directoryObjectIds?: NullableOption; + mailboxes?: NullableOption; +} export interface MailFolder extends Entity { // The number of immediate child mailFolders in the current mailFolder. childFolderCount?: NullableOption; @@ -12891,6 +12966,7 @@ export interface ManagedMobileLobApp extends ManagedApp { // tslint:disable-next-line: no-empty-interface export interface MdmWindowsInformationProtectionPolicy extends WindowsInformationProtection {} export interface MeetingAttendanceReport extends Entity { + externalEventInformation?: NullableOption; // UTC time when the meeting ended. Read-only. meetingEndDateTime?: NullableOption; // UTC time when the meeting started. Read-only. @@ -13517,6 +13593,18 @@ export interface OnAttributeCollectionListener extends AuthenticationEventListen // Required. Configuration for what to invoke if the event resolves to this listener. handler?: NullableOption; } +// tslint:disable-next-line: no-empty-interface +export interface OnAttributeCollectionStartCustomExtension extends CustomAuthenticationExtension {} +export interface OnAttributeCollectionStartListener extends AuthenticationEventListener { + // Configuration for what to invoke if the event resolves to this listener. + handler?: NullableOption; +} +// tslint:disable-next-line: no-empty-interface +export interface OnAttributeCollectionSubmitCustomExtension extends CustomAuthenticationExtension {} +export interface OnAttributeCollectionSubmitListener extends AuthenticationEventListener { + // Configuration for what to invoke if the event resolves to this listener. + handler?: NullableOption; +} export interface OnAuthenticationMethodLoadStartListener extends AuthenticationEventListener { /** * Required. Configuration for what to invoke if the event resolves to this listener. This property lets us define @@ -13529,10 +13617,12 @@ export interface OneDriveForBusinessProtectionPolicy extends ProtectionPolicyBas driveInclusionRules?: NullableOption; // Contains the protection units associated with a OneDrive for Business protection policy. driveProtectionUnits?: NullableOption; + driveProtectionUnitsBulkAdditionJobs?: NullableOption; } export interface OneDriveForBusinessRestoreSession extends RestoreSessionBase { // A collection of restore points and destination details that can be used to restore a OneDrive for Business drive. driveRestoreArtifacts?: NullableOption; + driveRestoreArtifactsBulkAdditionRequests?: NullableOption; } export interface Onenote extends Entity { // The collection of OneNote notebooks that are owned by the user or group. Read-only. Nullable. @@ -14633,6 +14723,26 @@ export interface PlannerUser extends Entity { // Read-only. Nullable. Returns the plannerPlans shared with the user. tasks?: NullableOption; } +export interface PlatformCredentialAuthenticationMethod extends AuthenticationMethod { + // The date and time that this Platform Credential Key was registered. + createdDateTime?: NullableOption; + // The name of the device on which Platform Credential is registered. + displayName?: NullableOption; + // Key strength of this Platform Credential key. Possible values are: normal, weak, unknown. + keyStrength?: NullableOption; + /** + * Platform on which this Platform Credential key is present. Possible values are: unknown, windows, macOS,iOS, android, + * linux. + */ + platform?: NullableOption; + /** + * The registered device on which this Platform Credential resides. Supports $expand. When you get a user's Platform + * Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For + * example, GET + * /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device. + */ + device?: NullableOption; +} // tslint:disable-next-line: no-empty-interface export interface PlayPromptOperation extends CommsOperation {} export interface PolicyBase extends DirectoryObject { @@ -15349,6 +15459,15 @@ export interface ProtectionUnitBase extends Entity { */ status?: NullableOption; } +export interface ProtectionUnitsBulkJobBase extends Entity { + createdBy?: NullableOption; + createdDateTime?: NullableOption; + displayName?: NullableOption; + error?: NullableOption; + lastModifiedBy?: NullableOption; + lastModifiedDateTime?: NullableOption; + status?: ProtectionUnitsBulkJobStatus; +} export interface ProvisioningObjectSummary extends Entity { /** * Represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan @@ -15577,6 +15696,20 @@ export interface RestoreArtifactBase extends Entity { // Represents the date and time when an artifact is protected by a protectionPolicy and can be restored. restorePoint?: NullableOption; } +export interface RestoreArtifactsBulkRequestBase extends Entity { + createdBy?: NullableOption; + createdDateTime?: NullableOption; + destinationType?: NullableOption; + displayName?: NullableOption; + error?: NullableOption; + lastModifiedBy?: NullableOption; + lastModifiedDateTime?: NullableOption; + protectionTimePeriod?: NullableOption; + protectionUnitIds?: NullableOption; + restorePointPreference?: NullableOption; + status?: RestoreArtifactsBulkRequestStatus; + tags?: NullableOption; +} export interface RestorePoint extends Entity { // Expiration date time of the restore point. expirationDateTime?: NullableOption; @@ -16671,10 +16804,12 @@ export interface SharePointProtectionPolicy extends ProtectionPolicyBase { siteInclusionRules?: NullableOption; // The protection units (sites) that are protected under the site protection policy. siteProtectionUnits?: NullableOption; + siteProtectionUnitsBulkAdditionJobs?: NullableOption; } export interface SharePointRestoreSession extends RestoreSessionBase { // A collection of restore points and destination details that can be used to restore SharePoint sites. siteRestoreArtifacts?: NullableOption; + siteRestoreArtifactsBulkAdditionRequests?: NullableOption; } export interface SharepointSettings extends Entity { // Collection of trusted domain GUIDs for the OneDrive sync app. @@ -17058,6 +17193,10 @@ export interface SiteProtectionUnit extends ProtectionUnitBase { // The web URL of the SharePoint site. siteWebUrl?: NullableOption; } +export interface SiteProtectionUnitsBulkAdditionJob extends ProtectionUnitsBulkJobBase { + siteIds?: NullableOption; + siteWebUrls?: NullableOption; +} export interface SiteRestoreArtifact extends RestoreArtifactBase { /** * The new site identifier if the value of the destinationType property is new, and the existing site ID if the value is @@ -17069,6 +17208,10 @@ export interface SiteRestoreArtifact extends RestoreArtifactBase { // The web URL of the restored site. restoredSiteWebUrl?: NullableOption; } +export interface SiteRestoreArtifactsBulkAdditionRequest extends RestoreArtifactsBulkRequestBase { + siteIds?: NullableOption; + siteWebUrls?: NullableOption; +} export interface SkypeForBusinessUserConversationMember extends ConversationMember { // ID of the tenant that the user belongs to. tenantId?: NullableOption; @@ -28416,6 +28559,20 @@ export interface OnAttributeCollectionExternalUsersSelfServiceSignUp extends OnA } // tslint:disable-next-line: no-empty-interface export interface OnAttributeCollectionHandler {} +export interface OnAttributeCollectionStartCustomExtensionHandler extends OnAttributeCollectionStartHandler { + // Configuration regarding properties of the custom extension that are can be overwritten per event listener. + configuration?: NullableOption; + customExtension?: NullableOption; +} +// tslint:disable-next-line: no-empty-interface +export interface OnAttributeCollectionStartHandler {} +export interface OnAttributeCollectionSubmitCustomExtensionHandler extends OnAttributeCollectionSubmitHandler { + // Configuration regarding properties of the custom extension that can be overwritten per event listener. + configuration?: NullableOption; + customExtension?: NullableOption; +} +// tslint:disable-next-line: no-empty-interface +export interface OnAttributeCollectionSubmitHandler {} export interface OnAuthenticationMethodLoadStartExternalUsersSelfServiceSignUp extends OnAuthenticationMethodLoadStartHandler { identityProviders?: NullableOption; } @@ -34888,16 +35045,7 @@ export namespace Search { } export namespace SecurityNamespace { type ActionAfterRetentionPeriod = "none" | "delete" | "startDispositionReview" | "relabel" | "unknownFutureValue"; - type AdditionalDataOptions = - | "allVersions" - | "linkedFiles" - | "unknownFutureValue" - | "advancedIndexing" - | "listAttachments" - | "htmlTranscripts" - | "messageConversationExpansion" - | "locationsWithoutHits" - | "allItemsInFolder"; + type AdditionalDataOptions = "allVersions" | "linkedFiles" | "unknownFutureValue"; type AdditionalOptions = | "none" | "teamsAndYammerConversations" @@ -34905,16 +35053,7 @@ export namespace SecurityNamespace { | "allDocumentVersions" | "subfolderContents" | "listAttachments" - | "unknownFutureValue" - | "htmlTranscripts" - | "advancedIndexing" - | "allItemsInFolder" - | "includeFolderAndPath" - | "condensePaths" - | "friendlyName" - | "splitSource" - | "optimizedPartitionSize" - | "includeReport"; + | "unknownFutureValue"; type AlertClassification = | "unknown" | "falsePositive" @@ -34976,7 +35115,6 @@ export namespace SecurityNamespace { | "closedWithError" | "unknownFutureValue"; type ChildSelectability = "One" | "Many" | "unknownFutureValue"; - type CloudAttachmentVersion = "latest" | "recent10" | "recent100" | "all" | "unknownFutureValue"; type ContainerPortProtocol = "udp" | "tcp" | "sctp" | "unknownFutureValue"; type ContentFormat = "text" | "html" | "markdown" | "unknownFutureValue"; type DataSourceContainerStatus = "active" | "released" | "unknownFutureValue"; @@ -35055,7 +35193,6 @@ export namespace SecurityNamespace { | "unknown" | "unknownFutureValue"; type DeviceRiskScore = "none" | "informational" | "low" | "medium" | "high" | "unknownFutureValue"; - type DocumentVersion = "latest" | "recent10" | "recent100" | "all" | "unknownFutureValue"; type EventPropagationStatus = "none" | "inProcessing" | "failed" | "success" | "unknownFutureValue"; type EventStatusType = "pending" | "error" | "success" | "notAvaliable" | "unknownFutureValue"; type EvidenceRemediationStatus = @@ -35090,20 +35227,10 @@ export namespace SecurityNamespace { | "unknownFutureValue"; type EvidenceVerdict = "unknown" | "suspicious" | "malicious" | "noThreatsFound" | "unknownFutureValue"; type ExportCriteria = "searchHits" | "partiallyIndexed" | "unknownFutureValue"; - type ExportFileStructure = "none" | "directory" | "pst" | "unknownFutureValue" | "msg"; + type ExportFileStructure = "none" | "directory" | "pst" | "unknownFutureValue"; type ExportFormat = "pst" | "msg" | "eml" | "unknownFutureValue"; type ExportLocation = "responsiveLocations" | "nonresponsiveLocations" | "unknownFutureValue"; - type ExportOptions = - | "originalFiles" - | "text" - | "pdfReplacement" - | "tags" - | "unknownFutureValue" - | "splitSource" - | "includeFolderAndPath" - | "friendlyName" - | "condensePaths" - | "optimizedPartitionSize"; + type ExportOptions = "originalFiles" | "text" | "pdfReplacement" | "tags" | "unknownFutureValue"; type FileHashAlgorithm = "unknown" | "md5" | "sha1" | "sha256" | "sha256ac" | "unknownFutureValue"; type GoogleCloudLocationType = "unknown" | "regional" | "zonal" | "global" | "unknownFutureValue"; type HealthIssueSeverity = "low" | "medium" | "high" | "unknownFutureValue"; @@ -35117,7 +35244,6 @@ export namespace SecurityNamespace { type IndicatorSource = "microsoft" | "osint" | "public" | "unknownFutureValue"; type IntelligenceProfileKind = "actor" | "tool" | "unknownFutureValue"; type IoTDeviceImportanceType = "unknown" | "low" | "normal" | "high" | "unknownFutureValue"; - type ItemsToInclude = "searchHits" | "partiallyIndexed" | "unknownFutureValue"; type KubernetesPlatform = "unknown" | "aks" | "eks" | "gke" | "arc" | "unknownFutureValue"; type KubernetesServiceType = | "unknown" @@ -35163,13 +35289,6 @@ export namespace SecurityNamespace { | "microsoftSentinel" | "microsoftInsiderRiskManagement"; type SourceType = "mailbox" | "site" | "unknownFutureValue"; - type StatisticsOptions = - | "includeRefiners" - | "includeQueryStats" - | "includeUnindexedStats" - | "advancedIndexing" - | "locationsWithoutHits" - | "unknownFutureValue"; type TeamsDeliveryLocation = "unknown" | "teams" | "quarantine" | "failed" | "unknownFutureValue"; type TeamsMessageDeliveryAction = | "unknown" @@ -35411,10 +35530,6 @@ export namespace SecurityNamespace { stageNumber?: string; } interface EdiscoveryAddToReviewSetOperation extends CaseOperation { - additionalDataOptions?: AdditionalDataOptions; - cloudAttachmentVersion?: CloudAttachmentVersion; - documentVersion?: DocumentVersion; - itemsToInclude?: ItemsToInclude; // eDiscovery review set to which items matching source collection query gets added. reviewSet?: NullableOption; // eDiscovery search that gets added to review set. @@ -35476,7 +35591,6 @@ export namespace SecurityNamespace { mailboxCount?: NullableOption; // The number of mailboxes that had search hits. siteCount?: NullableOption; - statisticsOptions?: StatisticsOptions; // The estimated count of unindexed items for the collection. unindexedItemCount?: NullableOption; // The estimated size of unindexed items for the collection. @@ -35558,12 +35672,10 @@ export namespace SecurityNamespace { * cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue. */ additionalOptions?: NullableOption; - cloudAttachmentVersion?: CloudAttachmentVersion; // The description of the export by the user. description?: NullableOption; // The name of export provided by the user. displayName?: NullableOption; - documentVersion?: DocumentVersion; // Items to be included in the export. The possible values are: searchHits, partiallyIndexed, unknownFutureValue. exportCriteria?: NullableOption; // Contains the properties for an export file metadata, including downloadUrl, fileName, and size.