From f12019daf09489e70cb5a64e271c16a6bfa4c864 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 2 Mar 2021 10:11:49 +0000 Subject: [PATCH] Update generated files with build 42274 --- microsoft-graph.d.ts | 816 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 795 insertions(+), 21 deletions(-) diff --git a/microsoft-graph.d.ts b/microsoft-graph.d.ts index be543dc..1df4373 100644 --- a/microsoft-graph.d.ts +++ b/microsoft-graph.d.ts @@ -225,6 +225,7 @@ export type Sensitivity = "normal" | "personal" | "private" | "confidential"; export type TimeZoneStandard = "windows" | "iana"; export type WebsiteType = "other" | "home" | "work" | "blog" | "profile"; export type WeekIndex = "first" | "second" | "third" | "fourth" | "last"; +export type AgreementAcceptanceState = "accepted" | "declined" | "unknownFutureValue"; export type CloudAppSecuritySessionControlType = | "mcasConfigured" | "monitorOnly" @@ -824,6 +825,102 @@ export type OnenotePatchInsertPosition = "After" | "Before"; export type OnenoteSourceService = "Unknown" | "OneDrive" | "OneDriveForBusiness" | "OnPremOneDriveForBusiness"; export type OnenoteUserRole = "None" | "Owner" | "Contributor" | "Reader"; export type OperationStatus = "NotStarted" | "Running" | "Completed" | "Failed"; +export type PrintColorMode = "blackAndWhite" | "grayscale" | "color" | "auto" | "unknownFutureValue"; +export type PrintDuplexMode = "flipOnLongEdge" | "flipOnShortEdge" | "oneSided" | "unknownFutureValue"; +export type PrinterFeedOrientation = "longEdgeFirst" | "shortEdgeFirst" | "unknownFutureValue"; +export type PrinterProcessingState = "unknown" | "idle" | "processing" | "stopped" | "unknownFutureValue"; +export type PrinterProcessingStateDetail = + | "paused" + | "mediaJam" + | "mediaNeeded" + | "mediaLow" + | "mediaEmpty" + | "coverOpen" + | "interlockOpen" + | "outputTrayMissing" + | "outputAreaFull" + | "markerSupplyLow" + | "markerSupplyEmpty" + | "inputTrayMissing" + | "outputAreaAlmostFull" + | "markerWasteAlmostFull" + | "markerWasteFull" + | "fuserOverTemp" + | "fuserUnderTemp" + | "other" + | "none" + | "movingToPaused" + | "shutdown" + | "connectingToDevice" + | "timedOut" + | "stopping" + | "stoppedPartially" + | "tonerLow" + | "tonerEmpty" + | "spoolAreaFull" + | "doorOpen" + | "opticalPhotoConductorNearEndOfLife" + | "opticalPhotoConductorLifeOver" + | "developerLow" + | "developerEmpty" + | "interpreterResourceUnavailable" + | "unknownFutureValue"; +export type PrintEvent = "jobStarted" | "unknownFutureValue"; +export type PrintFinishing = + | "none" + | "staple" + | "punch" + | "cover" + | "bind" + | "saddleStitch" + | "stitchEdge" + | "stapleTopLeft" + | "stapleBottomLeft" + | "stapleTopRight" + | "stapleBottomRight" + | "stitchLeftEdge" + | "stitchTopEdge" + | "stitchRightEdge" + | "stitchBottomEdge" + | "stapleDualLeft" + | "stapleDualTop" + | "stapleDualRight" + | "stapleDualBottom" + | "unknownFutureValue"; +export type PrintJobProcessingState = + | "unknown" + | "pending" + | "processing" + | "paused" + | "stopped" + | "completed" + | "canceled" + | "aborted" + | "unknownFutureValue"; +export type PrintJobStateDetail = + | "uploadPending" + | "transforming" + | "completedSuccessfully" + | "completedWithWarnings" + | "completedWithErrors" + | "releaseWait" + | "interpreting" + | "unknownFutureValue"; +export type PrintMultipageLayout = + | "clockwiseFromTopLeft" + | "counterclockwiseFromTopLeft" + | "counterclockwiseFromTopRight" + | "clockwiseFromTopRight" + | "counterclockwiseFromBottomLeft" + | "clockwiseFromBottomLeft" + | "counterclockwiseFromBottomRight" + | "clockwiseFromBottomRight" + | "unknownFutureValue"; +export type PrintOperationProcessingState = "notStarted" | "running" | "succeeded" | "failed" | "unknownFutureValue"; +export type PrintOrientation = "portrait" | "landscape" | "reverseLandscape" | "reversePortrait" | "unknownFutureValue"; +export type PrintQuality = "low" | "medium" | "high" | "unknownFutureValue"; +export type PrintScaling = "auto" | "shrinkToFit" | "fill" | "fit" | "none" | "unknownFutureValue"; +export type PrintTaskProcessingState = "pending" | "processing" | "completed" | "aborted" | "unknownFutureValue"; export type Status = "active" | "updated" | "deleted" | "ignored" | "unknownFutureValue"; export type DataPolicyOperationStatus = "notStarted" | "running" | "complete" | "failed" | "unknownFutureValue"; export type AlertFeedback = "unknown" | "truePositive" | "falsePositive" | "benignPositive" | "unknownFutureValue"; @@ -980,9 +1077,11 @@ export type ChatMessagePolicyViolationVerdictDetailsTypes = | "allowOverrideWithoutJustification" | "allowOverrideWithJustification"; export type ChatMessageType = "message" | "chatEvent" | "typing" | "unknownFutureValue"; +export type ChatType = "oneOnOne" | "group" | "meeting" | "unknownFutureValue"; export type ClonableTeamParts = "apps" | "tabs" | "settings" | "channels" | "members"; export type GiphyRatingType = "strict" | "moderate" | "unknownFutureValue"; export type TeamsAppDistributionMethod = "store" | "organization" | "sideloaded" | "unknownFutureValue"; +export type TeamsAppPublishingState = "submitted" | "rejected" | "published" | "unknownFutureValue"; export type TeamsAsyncOperationStatus = | "invalid" | "notStarted" @@ -1354,8 +1453,8 @@ export interface User extends DirectoryObject { jobTitle?: NullableOption; /** * The time when this Azure AD user last changed their password. 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 would look like this: - * '2014-01-01T00:00:00Z' Returned only on $select. + * using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is '2014-01-01T00:00:00Z' + * Returned only on $select. Read-only. */ lastPasswordChangeDateTime?: NullableOption; /** @@ -1414,8 +1513,7 @@ export interface User extends DirectoryObject { /** * Indicates the last time at which the object was synced with the on-premises directory; for example: * '2013-02-16T03:04:54Z'. 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 would look like this: '2014-01-01T00:00:00Z'. Returned only on - * $select. Read-only. + * UTC time. For example, midnight UTC on Jan 1, 2014 is '2014-01-01T00:00:00Z'. Returned only on $select. Read-only. */ onPremisesLastSyncDateTime?: NullableOption; // Errors when using Microsoft synchronization product during provisioning. Returned only on $select. @@ -1523,15 +1621,14 @@ export interface User extends DirectoryObject { aboutMe?: NullableOption; /** * The birthday of the user. 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 would look like this: '2014-01-01T00:00:00Z' Returned only on - * $select. + * in UTC time. For example, midnight UTC on Jan 1, 2014 is '2014-01-01T00:00:00Z' Returned only on $select. */ birthday?: string; /** * The hire date of the user. 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 would look like this: '2014-01-01T00:00:00Z'. Returned only on - * $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property - * to set and update hire date values using Microsoft Graph APIs. + * in UTC time. For example, midnight UTC on Jan 1, 2014 is '2014-01-01T00:00:00Z'. Returned only on $select. Note: This + * property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update + * hire date values using Microsoft Graph APIs. */ hireDate?: string; // A list for the user to describe their interests. Returned only on $select. @@ -1548,6 +1645,7 @@ export interface User extends DirectoryObject { schools?: NullableOption; // A list for the user to enumerate their skills. Returned only on $select. skills?: NullableOption; + // Represents the app roles a user has been granted for an application. appRoleAssignments?: NullableOption; // Directory objects that were created by the user. Read-only. Nullable. createdObjects?: NullableOption; @@ -1614,6 +1712,8 @@ export interface User extends DirectoryObject { followedSites?: NullableOption; // The collection of open extensions defined for the user. Nullable. extensions?: NullableOption; + // The user's terms of use acceptance statuses. Read-only. Nullable. + agreementAcceptances?: NullableOption; // The managed devices associated with the user. managedDevices?: NullableOption; // Zero or more managed app registrations that belong to the user. @@ -2329,6 +2429,40 @@ export interface Site extends BaseItem { } // tslint:disable-next-line: no-empty-interface export interface Extension extends Entity {} +export interface AgreementAcceptance extends Entity { + // ID of the agreement file accepted by the user. + agreementFileId?: NullableOption; + // ID of the agreement. + agreementId?: NullableOption; + // The display name of the device used for accepting the agreement. + deviceDisplayName?: NullableOption; + // The unique identifier of the device used for accepting the agreement. + deviceId?: NullableOption; + // The operating system used for accepting the agreement. + deviceOSType?: NullableOption; + // The operating system version of the device used for accepting the agreement. + deviceOSVersion?: NullableOption; + /** + * The expiration date time of the acceptance. 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 would look like this: '2014-01-01T00:00:00Z' + */ + expirationDateTime?: 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 would look like this: '2014-01-01T00:00:00Z' + */ + recordedDateTime?: NullableOption; + // Possible values are: accepted, declined. + state?: NullableOption; + // Display name of the user when the acceptance was recorded. + userDisplayName?: NullableOption; + // Email of the user when the acceptance was recorded. + userEmail?: NullableOption; + // ID of the user who accepted the agreement. + userId?: NullableOption; + // UPN of the user when the acceptance was recorded. + userPrincipalName?: NullableOption; +} export interface ManagedDevice extends Entity { // Code that allows the Activation Lock on a device to be bypassed. This property is read-only. activationLockBypassCode?: NullableOption; @@ -2937,9 +3071,9 @@ export interface ServicePrincipal extends DirectoryObject { * token must use the matching private key to decrypt the token before it can be used for the signed-in user. */ tokenEncryptionKeyId?: NullableOption; - // Principals (users, groups, and service principals) that are assigned to this service principal. Read-only. + // App role assignments for this app or service, granted to users, groups, and other service principals. appRoleAssignedTo?: NullableOption; - // Applications that this service principal is assigned to. Read-only. Nullable. + // App role assignment for another app or service, granted to this service principal. appRoleAssignments?: NullableOption; // The claimsMappingPolicies assigned to this service principal. claimsMappingPolicies?: NullableOption; @@ -3699,6 +3833,7 @@ export interface Group extends DirectoryObject { */ unseenCount?: NullableOption; isArchived?: NullableOption; + // Represents the app roles a group has been granted for an application. appRoleAssignments?: NullableOption; // The user (or application) that created the group. Note: This is not set if the user is an administrator. Read-only. createdOnBehalfOf?: NullableOption; @@ -3904,6 +4039,7 @@ export interface Organization extends DirectoryObject { verifiedDomains?: VerifiedDomain[]; // Mobile device management authority. Possible values are: unknown, intune, sccm, office365. mobileDeviceManagementAuthority?: MdmAuthority; + branding?: NullableOption; /** * Navigation property to manage certificate-based authentication configuration. Only a single instance of * certificateBasedAuthConfiguration can be created in the collection. @@ -3912,6 +4048,45 @@ export interface Organization extends DirectoryObject { // The collection of open extensions defined for the organization resource. Nullable. extensions?: NullableOption; } +export interface OrganizationalBrandingProperties extends Entity { + /** + * Color that will appear in place of the background image in low-bandwidth connections. The primary color of your banner + * logo or your organization color is recommended to be used here. Specify this in hexadecimal (for example, white is + * #FFFFFF). + */ + backgroundColor?: NullableOption; + /** + * Image that appears as the background of the sign in page. .png or .jpg not larger than 1920x1080 and smaller than + * 300kb. A smaller image will reduce bandwidth requirements and make page loads more performant. + */ + backgroundImage?: NullableOption; + /** + * A banner version of your company logo which appears appears on the sign-in page. .png or .jpg no larger than 36x245px. + * We recommend using a transparent image with no padding around the logo. + */ + bannerLogo?: NullableOption; + /** + * 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. + */ + signInPageText?: NullableOption; + /** + * Square version of your company logo. This appears in Windows 10 out-of-box (OOBE) experiences and when Windows + * Autopilot is enabled for deployment. .png or .jpg no larger than 240x240px and no more than 10kb in size. We recommend + * using a transparent image with no padding around the logo. + */ + squareLogo?: NullableOption; + /** + * String that shows as the hint in the username textbox on the sign in screen. This text must be Unicode, without links + * or code, and can't exceed 64 characters. + */ + usernameHintText?: NullableOption; +} +export interface OrganizationalBranding extends OrganizationalBrandingProperties { + localizations?: NullableOption; +} +// tslint:disable-next-line: no-empty-interface +export interface OrganizationalBrandingLocalization extends OrganizationalBrandingProperties {} export interface OrgContact extends DirectoryObject { // Postal addresses for this organizational contact. For now a contact can only have one physical address. addresses?: NullableOption; @@ -4036,6 +4211,8 @@ export interface SubscribedSku extends Entity { export interface EducationClass extends Entity { // Class code used by the school to identify the class. classCode?: NullableOption; + // Course information for the class + course?: NullableOption; // Entity who created the class createdBy?: NullableOption; // Description of the class. @@ -4051,6 +4228,10 @@ export interface EducationClass extends Entity { * Possible values are: sis, lms, or manual. */ externalSource?: NullableOption; + // The name of the external source this resources was generated from. + externalSourceDetail?: NullableOption; + // Grade level of the class. + grade?: NullableOption; // Mail name for sending email to all members, if this is enabled. mailNickname?: string; // Term for the class. @@ -4087,6 +4268,8 @@ export interface EducationUser extends Entity { * Possible values are: sis, lms, or manual. */ externalSource?: NullableOption; + // The name of the external source this resources was generated from. + externalSourceDetail?: NullableOption; // The given name (first name) of the user. Supports /$filter. givenName?: NullableOption; // The SMTP address for the user; for example, 'jeff@contoso.onmicrosoft.com'. Read-Only. Supports /$filter. @@ -4100,6 +4283,8 @@ export interface EducationUser extends Entity { // The primary cellular telephone number for the user. mobilePhone?: NullableOption; officeLocation?: NullableOption; + // Additional information used to associate the AAD user with it's Active Directory counterpart. + onPremisesInfo?: NullableOption; // Specifies password policies for the user. See standard [user] resource for additional details. passwordPolicies?: NullableOption; /** @@ -4145,6 +4330,8 @@ export interface EducationUser extends Entity { classes?: NullableOption; // Schools to which the user belongs. Nullable. schools?: NullableOption; + // Classes for which the user is a teacher. + taughtClasses?: NullableOption; // The directory user corresponding to this user. user?: NullableOption; } @@ -4155,6 +4342,7 @@ export interface EducationOrganization extends Entity { displayName?: string; // Where this user was created from. Possible values are: sis, lms, or manual. externalSource?: NullableOption; + externalSourceDetail?: NullableOption; } export interface EducationSchool extends EducationOrganization { // Address of the school. @@ -4178,6 +4366,7 @@ export interface EducationSchool extends EducationOrganization { principalName?: NullableOption; // School Number. schoolNumber?: NullableOption; + administrativeUnit?: NullableOption; // Classes taught at the school. Nullable. classes?: NullableOption; // Users in the school. Nullable. @@ -5455,6 +5644,60 @@ export interface Call extends Entity { // Read-only. Nullable. participants?: NullableOption; } +export interface Agreement extends Entity { + /** + * Display name of the agreement. The display name is used for internal tracking of the agreement but is not shown to end + * users who view the agreement. + */ + displayName?: NullableOption; + /** + * This setting enables you to require end users to accept this agreement on every device that they are accessing it from. + * The end user will be required to register their device in Azure AD, if they haven't already done so. + */ + isPerDeviceAcceptanceRequired?: NullableOption; + // Indicates whether the user has to expand the agreement before accepting. + isViewingBeforeAcceptanceRequired?: NullableOption; + // Expiration schedule and frequency of agreement for all users. + termsExpiration?: NullableOption; + /** + * The duration after which the user must re-accept the terms of use. The value is represented in ISO 8601 format for + * durations. + */ + userReacceptRequiredFrequency?: NullableOption; + // Read-only. Information about acceptances of this agreement. + acceptances?: NullableOption; + // Default PDF linked to this agreement. + file?: NullableOption; + /** + * PDFs linked to this agreement. Note: This property is in the process of being deprecated. Use the file property + * instead. + */ + files?: NullableOption; +} +export interface AgreementFileProperties extends Entity { + createdDateTime?: NullableOption; + fileData?: NullableOption; + fileName?: NullableOption; + isDefault?: NullableOption; + isMajorVersion?: NullableOption; + language?: NullableOption; +} +export interface AgreementFile extends AgreementFileProperties { + localizations?: NullableOption; +} +export interface AgreementFileLocalization extends AgreementFileProperties { + versions?: NullableOption; +} +// tslint:disable-next-line: no-empty-interface +export interface AgreementFileVersion extends AgreementFileProperties {} +// tslint:disable-next-line: interface-name +export interface IdentityGovernance { + termsOfUse?: NullableOption; +} +export interface TermsOfUseContainer extends Entity { + agreementAcceptances?: NullableOption; + agreements?: 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. @@ -8041,8 +8284,24 @@ export interface MacOSGeneralDeviceConfiguration extends DeviceConfiguration { // Type of password that is required. Possible values are: deviceDefault, alphanumeric, numeric. passwordRequiredType?: RequiredPasswordType; } -// tslint:disable-next-line: no-empty-interface -export interface ReportRoot extends Entity {} +export interface ReportRoot extends Entity { + dailyPrintUsageByPrinter?: NullableOption; + dailyPrintUsageByUser?: NullableOption; + monthlyPrintUsageByPrinter?: NullableOption; + monthlyPrintUsageByUser?: NullableOption; +} +export interface PrintUsage extends Entity { + completedBlackAndWhiteJobCount?: number; + completedColorJobCount?: number; + incompleteJobCount?: number; + usageDate?: string; +} +export interface PrintUsageByPrinter extends PrintUsage { + printerId?: string; +} +export interface PrintUsageByUser extends PrintUsage { + userPrincipalName?: string; +} export interface SharedPCConfiguration extends DeviceConfiguration { // Specifies how accounts are managed on a shared PC. Only applies when disableAccountManager is false. accountManagerPolicy?: NullableOption; @@ -9668,6 +9927,162 @@ export interface OnenoteResource extends OnenoteEntityBaseModel { // The URL for downloading the content contentUrl?: NullableOption; } +export interface Print { + // Tenant-wide settings for the Universal Print service. + settings?: NullableOption; + // The list of available print connectors. + connectors?: NullableOption; + operations?: NullableOption; + // The list of printers registered in the tenant. + printers?: NullableOption; + // The list of available Universal Print service endpoints. + services?: NullableOption; + // The list of printer shares registered in the tenant. + shares?: NullableOption; + taskDefinitions?: NullableOption; +} +export interface PrintConnector extends Entity { + // The connector's version. + appVersion?: string; + // The name of the connector. + displayName?: string; + // The connector machine's hostname. + fullyQualifiedDomainName?: string; + // The physical and/or organizational location of the connector. + location?: NullableOption; + // The connector machine's operating system version. + operatingSystem?: string; + // The DateTimeOffset when the connector was registered. + registeredDateTime?: string; +} +export interface PrintOperation extends Entity { + // The DateTimeOffset when the operation was created. Read-only. + createdDateTime?: string; + // The status of the operation. Read-only. + status?: PrintOperationStatus; +} +export interface PrinterBase extends Entity { + capabilities?: NullableOption; + defaults?: NullableOption; + displayName?: string; + isAcceptingJobs?: NullableOption; + location?: NullableOption; + manufacturer?: NullableOption; + model?: NullableOption; + status?: PrinterStatus; + jobs?: NullableOption; +} +export interface Printer extends PrinterBase { + // True if the printer has a physical device for printing. Read-only. + hasPhysicalDevice?: boolean; + // True if the printer is shared; false otherwise. Read-only. + isShared?: boolean; + // The DateTimeOffset when the printer was registered. Read-only. + registeredDateTime?: string; + // The connectors that are associated with the printer. + connectors?: NullableOption; + /** + * The list of printerShares that are associated with the printer. Currently, only one printerShare can be associated with + * the printer. Read-only. Nullable. + */ + shares?: NullableOption; + // A list of task triggers that are associated with the printer. + taskTriggers?: NullableOption; +} +export interface PrintService extends Entity { + // Endpoints that can be used to access the service. Read-only. Nullable. + endpoints?: NullableOption; +} +export interface PrinterShare extends PrinterBase { + /** + * If true, all users and groups will be granted access to this printer share. This supersedes the allow lists defined by + * the allowedUsers and allowedGroups navigation properties. + */ + allowAllUsers?: boolean; + // The DateTimeOffset when the printer share was created. Read-only. + createdDateTime?: string; + // The groups whose users have access to print using the printer. + allowedGroups?: NullableOption; + // The users who have access to print using the printer. + allowedUsers?: NullableOption; + // The printer that this printer share is related to. + printer?: NullableOption; +} +export interface PrintTaskDefinition extends Entity { + // The application that created the printTaskDefinition. Read-only. + createdBy?: AppIdentity; + // The name of the printTaskDefinition. + displayName?: string; + /** + * A list of tasks that have been created based on this definition. The list includes currently running tasks and recently + * completed tasks. Read-only. + */ + tasks?: NullableOption; +} +export interface PrintDocument extends Entity { + // The document's content (MIME) type. Read-only. + contentType?: NullableOption; + // The document's name. Read-only. + displayName?: NullableOption; + // The document's size in bytes. Read-only. + size?: number; +} +export interface PrintTaskTrigger extends Entity { + /** + * The Universal Print event that will cause a new printTask to be triggered. Valid values are described in the following + * table. + */ + event?: PrintEvent; + // An abstract definition that will be used to create a printTask when triggered by a print event. Read-only. + definition?: PrintTaskDefinition; +} +export interface PrintJob extends Entity { + // A group of settings that a printer should use to print a job. + configuration?: PrintJobConfiguration; + createdBy?: NullableOption; + // The DateTimeOffset when the job was created. Read-only. + createdDateTime?: string; + // If true, document can be fetched by printer. + isFetchable?: boolean; + // Contains the source job URL, if the job has been redirected from another printer. + redirectedFrom?: NullableOption; + // Contains the destination job URL, if the job has been redirected to another printer. + redirectedTo?: NullableOption; + // The status of the print job. Read-only. + status?: PrintJobStatus; + // Read-only. + documents?: NullableOption; + // A list of printTasks that were triggered by this print job. + tasks?: NullableOption; +} +export interface PrinterCreateOperation extends PrintOperation { + // The signed certificate created during the registration process. Read-only. + certificate?: NullableOption; + printer?: NullableOption; +} +export interface PrintTask extends Entity { + /** + * The URL for the print entity that triggered this task. For example, + * https://graph.microsoft.com/beta/print/printers/{printerId}/jobs/{jobId}. Read-only. + */ + parentUrl?: string; + /** + * The current execution status of this printTask. The calling application is responsible for updating this status when + * processing is finished, unless the related printJob has been redirected to another printer. Failure to report + * completion will result in the related print job being blocked from printing and eventually deleted. + */ + status?: PrintTaskStatus; + // The printTaskDefinition that was used to create this task. Read-only. + definition?: PrintTaskDefinition; + // The printTaskTrigger that triggered this task's execution. Read-only. + trigger?: PrintTaskTrigger; +} +export interface PrintServiceEndpoint extends Entity { + // A human-readable display name for the endpoint. + displayName?: string; + // The URI that can be used to access the service. + uri?: string; +} export interface ActivityHistoryItem extends Entity { /** * Optional. The duration of active user engagement. if not supplied, this is calculated from the startedDateTime and @@ -9997,10 +10412,17 @@ export interface ConversationMember extends Entity { displayName?: NullableOption; // The roles for that user. roles?: NullableOption; + /** + * The timestamp denoting how far back a conversation's history is shared with the conversation member. This property is + * settable only for members of a chat. + */ + visibleHistoryStartDateTime?: NullableOption; } export interface AadUserConversationMember extends ConversationMember { // The email address of the user. email?: NullableOption; + // TenantId which the Azure AD user belongs to. + tenantId?: NullableOption; // The GUID of the user. userId?: NullableOption; user?: NullableOption; @@ -10111,8 +10533,27 @@ export interface TeamsTab extends Entity { // The application that is linked to the tab. teamsApp?: NullableOption; } -// tslint:disable-next-line: no-empty-interface -export interface Chat extends Entity {} +export interface Chat extends Entity { + // Specifies the type of chat. Possible values are:group, oneOnOne and meeting. + chatType?: ChatType; + // Date and time at which the chat was created. Read-only. + createdDateTime?: NullableOption; + // Date and time at which the chat was renamed or list of members were last changed. Read-only. + lastUpdatedDateTime?: NullableOption; + // (Optional) Subject or topic for the chat. Only available for group chats. + topic?: NullableOption; + // A collection of all the apps in the chat. Nullable. + installedApps?: NullableOption; + // A collection of all the members in the chat. Nullable. + members?: NullableOption; + tabs?: NullableOption; +} +export interface TeamsAppInstallation extends Entity { + // The app that is installed. + teamsApp?: NullableOption; + // The details of this version of the app. + teamsAppDefinition?: NullableOption; +} // tslint:disable-next-line: no-empty-interface export interface ChatMessageHostedContent extends Entity {} export interface Schedule extends Entity { @@ -10149,12 +10590,6 @@ export interface Schedule extends Entity { // The instances of times off in the schedule. timesOff?: NullableOption; } -export interface TeamsAppInstallation extends Entity { - // The app that is installed. - teamsApp?: NullableOption; - // The details of this version of the app. - teamsAppDefinition?: NullableOption; -} export interface TeamsAsyncOperation extends Entity { // Number of times the operation was attempted before being marked successful or failed. attemptsCount?: number; @@ -10179,13 +10614,28 @@ export interface TeamsAsyncOperation extends Entity { // tslint:disable-next-line: no-empty-interface export interface TeamsTemplate extends Entity {} export interface TeamsAppDefinition extends Entity { + createdBy?: NullableOption; + description?: NullableOption; // The name of the app provided by the app developer. displayName?: NullableOption; + lastModifiedDateTime?: NullableOption; + /** + * The published status of a specific version of a Teams app. Possible values are:submitted — The specific version of the + * Teams app has been submitted and is under review. published — The request to publish the specific version of the Teams + * app has been approved by the admin and the app is published. rejected — The request to publish the specific version of + * the Teams app was rejected by the admin. + */ + publishingState?: NullableOption; + shortDescription?: NullableOption; // The id from the Teams App manifest. teamsAppId?: NullableOption; // The version number of the application. version?: NullableOption; + // The details of the bot specified in the Teams App manifest. + bot?: NullableOption; } +// tslint:disable-next-line: no-empty-interface +export interface TeamworkBot extends Entity {} export interface Teamwork extends Entity { workforceIntegrations?: NullableOption; } @@ -11262,6 +11712,22 @@ export interface VerifiedDomain { // For example, 'Managed'. type?: NullableOption; } +export interface EducationCourse { + // Unique identifier for the course. + courseNumber?: NullableOption; + // Description of the course. + description?: NullableOption; + // Name of the course. + displayName?: NullableOption; + // ID of the course from the syncing system. + externalId?: NullableOption; + // Subject of the course. + subject?: NullableOption; +} +export interface EducationOnPremisesInfo { + // Unique identifier for the user object in Active Directory. + immutableId?: NullableOption; +} export interface EducationStudent { // Birth date of the student. birthDate?: NullableOption; @@ -12592,6 +13058,22 @@ export interface ExtensionSchemaProperty { */ type?: NullableOption; } +export interface AgreementFileData { + data?: NullableOption; +} +export interface TermsExpiration { + /** + * Represents the frequency at which the terms will expire, after its first expiration as set in startDateTime. The value + * is represented in ISO 8601 format for durations. For example, PT1M represents a time period of 1 month. + */ + frequency?: NullableOption; + /** + * The DateTime when the agreement is set to expire for all users. 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 would look like this: + * '2014-01-01T00:00:00Z'. + */ + startDateTime?: NullableOption; +} export interface ConditionalAccessSessionControl { // Specifies whether the session control is enabled. isEnabled?: NullableOption; @@ -14091,6 +14573,298 @@ export interface SectionLinks { // Opens the section in OneNote on the web. oneNoteWebUrl?: NullableOption; } +export interface ArchivedPrintJob { + // True if the job was acquired by a printer; false otherwise. Read-only. + acquiredByPrinter?: boolean; + // The dateTimeOffset when the job was acquired by the printer, if any. Read-only. + acquiredDateTime?: NullableOption; + // The dateTimeOffset when the job was completed, canceled or aborted. Read-only. + completionDateTime?: NullableOption; + // The number of copies that were printed. Read-only. + copiesPrinted?: number; + // The user who created the print job. Read-only. + createdBy?: NullableOption; + // The dateTimeOffset when the job was created. Read-only. + createdDateTime?: string; + // The archived print job's GUID. Read-only. + id?: string; + // The printer ID that the job was queued for. Read-only. + printerId?: NullableOption; + // The print job's final processing state. Read-only. + processingState?: PrintJobProcessingState; +} +// tslint:disable-next-line: interface-name +export interface IntegerRange { + // The inclusive upper bound of the integer range. + end?: NullableOption; + // The inclusive lower bound of the integer range. + start?: NullableOption; +} +export interface PrintCertificateSigningRequest { + // A base64-encoded pkcs10 certificate request. Read-only. + content?: string; + // The base64-encoded public portion of an asymmetric key that is generated by the client. Read-only. + transportKey?: string; +} +export interface PrintDocumentUploadProperties { + // The document's content (MIME) type. + contentType?: string; + // The document's name. + documentName?: string; + // The document's size in bytes. + size?: number; +} +export interface PrinterCapabilities { + // A list of supported bottom margins(in microns) for the printer. + bottomMargins?: NullableOption; + // True if the printer supports collating when printing muliple copies of a multi-page document; false otherwise. + collation?: NullableOption; + // The color modes supported by the printer. Valid values are described in the following table. + colorModes?: NullableOption; + /** + * A list of supported content (MIME) types that the printer supports. It is not guaranteed that the Universal Print + * service supports printing all of these MIME types. + */ + contentTypes?: NullableOption; + // The range of copies per job supported by the printer. + copiesPerJob?: NullableOption; + // The list of print resolutions in DPI that are supported by the printer. + dpis?: NullableOption; + // The list of duplex modes that are supported by the printer. Valid values are described in the following table. + duplexModes?: NullableOption; + // The list of feed orientations that are supported by the printer. + feedOrientations?: NullableOption; + // Finishing processes the printer supports for a printed document. + finishings?: NullableOption; + // Supported input bins for the printer. + inputBins?: NullableOption; + // True if color printing is supported by the printer; false otherwise. Read-only. + isColorPrintingSupported?: NullableOption; + // True if the printer supports printing by page ranges; false otherwise. + isPageRangeSupported?: NullableOption; + // A list of supported left margins(in microns) for the printer. + leftMargins?: NullableOption; + // The media (i.e., paper) colors supported by the printer. + mediaColors?: NullableOption; + /** + * The media sizes supported by the printer. Supports standard size names for ISO and ANSI media sizes, along with any + * custom sizes supported by the associated printer. + */ + mediaSizes?: NullableOption; + // The media types supported by the printer. Valid values are described in the following table. + mediaTypes?: NullableOption; + // The presentation directions supported by the printer. Supported values are described in the following table. + multipageLayouts?: NullableOption; + // The print orientations supported by the printer. Valid values are described in the following table. + orientations?: NullableOption; + // The printer's supported output bins (trays). + outputBins?: NullableOption; + // Supported number of Input Pages to impose upon a single Impression. + pagesPerSheet?: NullableOption; + // The print qualities supported by the printer. + qualities?: NullableOption; + // A list of supported right margins(in microns) for the printer. + rightMargins?: NullableOption; + // Supported print scalings. + scalings?: NullableOption; + // True if the printer supports scaling PDF pages to match the print media size; false otherwise. + supportsFitPdfToPage?: NullableOption; + // A list of supported top margins(in microns) for the printer. + topMargins?: NullableOption; +} +export interface PrinterDefaults { + // The default color mode to use when printing the document. Valid values are described in the following table. + colorMode?: NullableOption; + // The default content (MIME) type to use when processing documents. + contentType?: NullableOption; + // The default number of copies printed per job. + copiesPerJob?: NullableOption; + // The default resolution in DPI to use when printing the job. + dpi?: NullableOption; + /** + * The default duplex (double-sided) configuration to use when printing a document. Valid values are described in the + * following table. + */ + duplexMode?: NullableOption; + // The default set of finishings to apply to print jobs. Valid values are described in the following table. + finishings?: NullableOption; + /** + * The default fitPdfToPage setting. True to fit each page of a PDF document to a physical sheet of media; false to let + * the printer decide how to lay out impressions. + */ + fitPdfToPage?: NullableOption; + // The default input bin that serves as the paper source. + inputBin?: NullableOption; + // The default media (such as paper) color to print the document on. + mediaColor?: NullableOption; + /** + * The default media size to use. Supports standard size names for ISO and ANSI media sizes, along with any custom sizes + * supported by the associated printer. + */ + mediaSize?: NullableOption; + // The default media (such as paper) type to print the document on. Valid values are described in the following table. + mediaType?: NullableOption; + /** + * The default direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in + * the following table. + */ + multipageLayout?: NullableOption; + // The default orientation to use when printing the document. Valid values are described in the following table. + orientation?: NullableOption; + /** + * The default output bin to place completed prints into. See the printer's capabilities for a list of supported output + * bins. + */ + outputBin?: NullableOption; + // The default number of document pages to print on each sheet. + pagesPerSheet?: NullableOption; + // The default quality to use when printing the document. Valid values are described in the following table. + quality?: NullableOption; + /** + * Specifies how the printer scales the document data to fit the requested media. Valid values are described in the + * following table. + */ + scaling?: NullableOption; +} +export interface PrinterLocation { + // The altitude, in meters, that the printer is located at. + altitudeInMeters?: NullableOption; + // The building that the printer is located in. + building?: NullableOption; + // The city that the printer is located in. + city?: NullableOption; + // The country or region that the printer is located in. + countryOrRegion?: NullableOption; + // The floor that the printer is located on. Only numerical values are supported right now. + floor?: NullableOption; + // The description of the floor that the printer is located on. + floorDescription?: NullableOption; + // The latitude that the printer is located at. + latitude?: NullableOption; + // The longitude that the printer is located at. + longitude?: NullableOption; + // The organizational hierarchy that the printer belongs to. The elements should be in hierarchical order. + organization?: NullableOption; + // The postal code that the printer is located in. + postalCode?: NullableOption; + // The description of the room that the printer is located in. + roomDescription?: NullableOption; + // The room that the printer is located in. Only numerical values are supported right now. + roomName?: NullableOption; + // The site that the printer is located in. + site?: NullableOption; + // The state or province that the printer is located in. + stateOrProvince?: NullableOption; + // The street address where the printer is located. + streetAddress?: NullableOption; + // The subdivision that the printer is located in. The elements should be in hierarchical order. + subdivision?: NullableOption; + subunit?: NullableOption; +} +export interface PrinterStatus { + // A human-readable description of the printer's current processing state. Read-only. + description?: NullableOption; + /** + * The list of details describing why the printer is in the current state. Valid values are described in the following + * table. Read-only. + */ + details?: PrinterProcessingStateDetail[]; + // The current processing state. Valid values are described in the following table. Read-only. + state?: PrinterProcessingState; +} +export interface PrintJobConfiguration { + // Whether the printer should collate pages wehen printing multiple copies of a multi-page document. + collate?: NullableOption; + // The color mode the printer should use to print the job. Valid values are described in the table below. Read-only. + colorMode?: NullableOption; + // The number of copies that should be printed. Read-only. + copies?: NullableOption; + // The resolution to use when printing the job, expressed in dots per inch (DPI). Read-only. + dpi?: NullableOption; + // The duplex mode the printer should use when printing the job. Valid values are described in the table below. Read-only. + duplexMode?: NullableOption; + /** + * The orientation to use when feeding media into the printer. Valid values are described in the following table. + * Read-only. + */ + feedOrientation?: NullableOption; + // Finishing processes to use when printing. + finishings?: NullableOption; + fitPdfToPage?: NullableOption; + // The input bin (tray) to use when printing. See the printer's capabilities for a list of supported input bins. + inputBin?: NullableOption; + // The margin settings to use when printing. + margin?: NullableOption; + /** + * The media sizeto use when printing. Supports standard size names for ISO and ANSI media sizes, along with any custom + * sizes supported by the associated printer. + */ + mediaSize?: NullableOption; + // The default media (such as paper) type to print the document on. Valid values are described in the following table. + mediaType?: NullableOption; + /** + * The direction to lay out pages when multiple pages are being printed per sheet. Valid values are described in the + * following table. + */ + multipageLayout?: NullableOption; + /** + * The orientation setting the printer should use when printing the job. Valid values are described in the following + * table. + */ + orientation?: NullableOption; + // The output bin to place completed prints into. See the printer's capabilities for a list of supported output bins. + outputBin?: NullableOption; + // The page ranges to print. Read-only. + pageRanges?: NullableOption; + // The number of document pages to print on each sheet. + pagesPerSheet?: NullableOption; + // The print quality to use when printing the job. Valid values are described in the table below. Read-only. + quality?: NullableOption; + /** + * Specifies how the printer should scale the document data to fit the requested media. Valid values are described in the + * following table. + */ + scaling?: NullableOption; +} +export interface PrintMargin { + // The margin in microns from the bottom edge. + bottom?: NullableOption; + // The margin in microns from the left edge. + left?: NullableOption; + // The margin in microns from the right edge. + right?: NullableOption; + // The margin in microns from the top edge. + top?: NullableOption; +} +export interface PrintJobStatus { + // A human-readable description of the print job's current processing state. Read-only. + description?: string; + // Additional details for print job state. Valid values are described in the following table. Read-only. + details?: PrintJobStateDetail[]; + // True if the job was acknowledged by a printer; false otherwise. Read-only. + isAcquiredByPrinter?: boolean; + // The print job's current processing state. Valid values are described in the following table. Read-only. + state?: PrintJobProcessingState; +} +export interface PrintOperationStatus { + // A human-readable description of the printOperation's current processing state. Read-only. + description?: string; + // The printOperation's current processing state. Valid values are described in the following table. Read-only. + state?: PrintOperationProcessingState; +} +export interface PrintSettings { + /** + * Specifies whether document conversion is enabled for the tenant. If document conversion is enabled, Universal Print + * service will automatically convert documents into a format compatible with the printer (xps to pdf) when needed. + */ + documentConversionEnabled?: boolean; +} +export interface PrintTaskStatus { + // A human-readable description of the current processing state of the printTask. + description?: string; + // The current processing state of the printTask. Valid values are described in the following table. + state?: PrintTaskProcessingState; +} // tslint:disable-next-line: interface-name export interface ImageInfo { /**