import {z} from 'zod' export type Identity = {displayName?: (string | null) | undefined, id?: (string | null) | undefined} | {[key: string]: unknown}; export type IdentitySet = {application?: Identity | undefined, device?: Identity | undefined, user?: Identity | undefined} | {[key: string]: unknown}; export type SharepointIds = {listId?: (string | null) | undefined, listItemId?: (string | null) | undefined, listItemUniqueId?: (string | null) | undefined, siteId?: (string | null) | undefined, siteUrl?: (string | null) | undefined, tenantId?: (string | null) | undefined, webId?: (string | null) | undefined} | {[key: string]: unknown}; export type ItemReference = {driveId?: (string | null) | undefined, driveType?: (string | null) | undefined, id?: (string | null) | undefined, name?: (string | null) | undefined, path?: (string | null) | undefined, shareId?: (string | null) | undefined, sharepointIds?: SharepointIds | undefined, siteId?: (string | null) | undefined} | {[key: string]: unknown}; export type AssignedLicense = {disabledPlans?: Array | undefined, skuId?: (string | null) | undefined} | {[key: string]: unknown}; export type AssignedPlan = {assignedDateTime?: (string | null) | undefined, capabilityStatus?: (string | null) | undefined, service?: (string | null) | undefined, servicePlanId?: (string | null) | undefined} | {[key: string]: unknown}; export type AuthorizationInfo = {certificateUserIds?: (Array) | undefined} | {[key: string]: unknown}; export type CustomSecurityAttributeValue = {[key: string]: unknown}; export type EmployeeOrgData = {costCenter?: (string | null) | undefined, division?: (string | null) | undefined} | {[key: string]: unknown}; export type ObjectIdentity = {issuer?: (string | null) | undefined, issuerAssignedId?: (string | null) | undefined, signInType?: (string | null) | undefined} | {[key: string]: unknown}; export type LicenseAssignmentState = {assignedByGroup?: (string | null) | undefined, disabledPlans?: (Array) | undefined, error?: (string | null) | undefined, lastUpdatedDateTime?: (string | null) | undefined, skuId?: (string | null) | undefined, state?: (string | null) | undefined} | {[key: string]: unknown}; export type ExternalAudienceScope = 'none' | 'contactsOnly' | 'all'; export type DateTimeTimeZone = {dateTime?: string | undefined, timeZone?: (string | null) | undefined} | {[key: string]: unknown}; export type AutomaticRepliesStatus = 'disabled' | 'alwaysEnabled' | 'scheduled'; export type AutomaticRepliesSetting = {externalAudience?: ExternalAudienceScope | undefined, externalReplyMessage?: (string | null) | undefined, internalReplyMessage?: (string | null) | undefined, scheduledEndDateTime?: DateTimeTimeZone | undefined, scheduledStartDateTime?: DateTimeTimeZone | undefined, status?: AutomaticRepliesStatus | undefined} | {[key: string]: unknown}; export type DelegateMeetingMessageDeliveryOptions = 'sendToDelegateAndInformationToPrincipal' | 'sendToDelegateAndPrincipal' | 'sendToDelegateOnly'; export type LocaleInfo = {displayName?: (string | null) | undefined, locale?: (string | null) | undefined} | {[key: string]: unknown}; export type UserPurpose = 'user' | 'linked' | 'shared' | 'room' | 'equipment' | 'others' | 'unknownFutureValue'; export type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'; export type TimeZoneBase = {name?: (string | null) | undefined} | {[key: string]: unknown}; export type WorkingHours = {daysOfWeek?: Array | undefined, endTime?: (string | null) | undefined, startTime?: (string | null) | undefined, timeZone?: TimeZoneBase | undefined} | {[key: string]: unknown}; export type MailboxSettings = {archiveFolder?: (string | null) | undefined, automaticRepliesSetting?: AutomaticRepliesSetting | undefined, dateFormat?: (string | null) | undefined, delegateMeetingMessageDeliveryOptions?: DelegateMeetingMessageDeliveryOptions | undefined, language?: LocaleInfo | undefined, timeFormat?: (string | null) | undefined, timeZone?: (string | null) | undefined, userPurpose?: UserPurpose | undefined, workingHours?: WorkingHours | undefined} | {[key: string]: unknown}; export type OnPremisesExtensionAttributes = {extensionAttribute1?: (string | null) | undefined, extensionAttribute10?: (string | null) | undefined, extensionAttribute11?: (string | null) | undefined, extensionAttribute12?: (string | null) | undefined, extensionAttribute13?: (string | null) | undefined, extensionAttribute14?: (string | null) | undefined, extensionAttribute15?: (string | null) | undefined, extensionAttribute2?: (string | null) | undefined, extensionAttribute3?: (string | null) | undefined, extensionAttribute4?: (string | null) | undefined, extensionAttribute5?: (string | null) | undefined, extensionAttribute6?: (string | null) | undefined, extensionAttribute7?: (string | null) | undefined, extensionAttribute8?: (string | null) | undefined, extensionAttribute9?: (string | null) | undefined} | {[key: string]: unknown}; export type OnPremisesProvisioningError = {category?: (string | null) | undefined, occurredDateTime?: (string | null) | undefined, propertyCausingError?: (string | null) | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type PasswordProfile = {forceChangePasswordNextSignIn?: (boolean | null) | undefined, forceChangePasswordNextSignInWithMfa?: (boolean | null) | undefined, password?: (string | null) | undefined} | {[key: string]: unknown}; export type PrintColorMode = 'blackAndWhite' | 'grayscale' | 'color' | 'auto' | 'unknownFutureValue'; export type IntegerRange = {end?: (number | null) | undefined, start?: (number | null) | undefined} | {[key: string]: unknown}; export type PrintDuplexMode = 'flipOnLongEdge' | 'flipOnShortEdge' | 'oneSided' | 'unknownFutureValue'; export type PrinterFeedOrientation = 'longEdgeFirst' | 'shortEdgeFirst' | 'unknownFutureValue'; export type PrintFinishing = 'none' | 'staple' | 'punch' | 'cover' | 'bind' | 'saddleStitch' | 'stitchEdge' | 'stapleTopLeft' | 'stapleBottomLeft' | 'stapleTopRight' | 'stapleBottomRight' | 'stitchLeftEdge' | 'stitchTopEdge' | 'stitchRightEdge' | 'stitchBottomEdge' | 'stapleDualLeft' | 'stapleDualTop' | 'stapleDualRight' | 'stapleDualBottom' | 'unknownFutureValue' | 'stapleTripleLeft' | 'stapleTripleTop' | 'stapleTripleRight' | 'stapleTripleBottom' | 'bindLeft' | 'bindTop' | 'bindRight' | 'bindBottom' | 'foldAccordion' | 'foldDoubleGate' | 'foldGate' | 'foldHalf' | 'foldHalfZ' | 'foldLeftGate' | 'foldLetter' | 'foldParallel' | 'foldPoster' | 'foldRightGate' | 'foldZ' | 'foldEngineeringZ' | 'punchTopLeft' | 'punchBottomLeft' | 'punchTopRight' | 'punchBottomRight' | 'punchDualLeft' | 'punchDualTop' | 'punchDualRight' | 'punchDualBottom' | 'punchTripleLeft' | 'punchTripleTop' | 'punchTripleRight' | 'punchTripleBottom' | 'punchQuadLeft' | 'punchQuadTop' | 'punchQuadRight' | 'punchQuadBottom' | 'fold' | 'trim' | 'bale' | 'bookletMaker' | 'coat' | 'laminate' | 'trimAfterPages' | 'trimAfterDocuments' | 'trimAfterCopies' | 'trimAfterJob'; export type PrintMultipageLayout = 'clockwiseFromTopLeft' | 'counterclockwiseFromTopLeft' | 'counterclockwiseFromTopRight' | 'clockwiseFromTopRight' | 'counterclockwiseFromBottomLeft' | 'clockwiseFromBottomLeft' | 'counterclockwiseFromBottomRight' | 'clockwiseFromBottomRight' | '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 PrinterCapabilities = {bottomMargins?: (Array) | undefined, collation?: (boolean | null) | undefined, colorModes?: Array | undefined, contentTypes?: (Array) | undefined, copiesPerJob?: IntegerRange | undefined, dpis?: (Array) | undefined, duplexModes?: Array | undefined, feedOrientations?: Array | undefined, finishings?: Array | undefined, inputBins?: (Array) | undefined, isColorPrintingSupported?: (boolean | null) | undefined, isPageRangeSupported?: (boolean | null) | undefined, leftMargins?: (Array) | undefined, mediaColors?: (Array) | undefined, mediaSizes?: (Array) | undefined, mediaTypes?: (Array) | undefined, multipageLayouts?: Array | undefined, orientations?: Array | undefined, outputBins?: (Array) | undefined, pagesPerSheet?: (Array) | undefined, qualities?: Array | undefined, rightMargins?: (Array) | undefined, scalings?: Array | undefined, supportsFitPdfToPage?: (boolean | null) | undefined, topMargins?: (Array) | undefined} | {[key: string]: unknown}; export type PrinterDefaults = {colorMode?: PrintColorMode | undefined, contentType?: (string | null) | undefined, copiesPerJob?: (number | null) | undefined, dpi?: (number | null) | undefined, duplexMode?: PrintDuplexMode | undefined, finishings?: Array | undefined, fitPdfToPage?: (boolean | null) | undefined, inputBin?: (string | null) | undefined, mediaColor?: (string | null) | undefined, mediaSize?: (string | null) | undefined, mediaType?: (string | null) | undefined, multipageLayout?: PrintMultipageLayout | undefined, orientation?: PrintOrientation | undefined, outputBin?: (string | null) | undefined, pagesPerSheet?: (number | null) | undefined, quality?: PrintQuality | undefined, scaling?: PrintScaling | undefined} | {[key: string]: unknown}; export type PrinterLocation = {altitudeInMeters?: (number | null) | undefined, building?: (string | null) | undefined, city?: (string | null) | undefined, countryOrRegion?: (string | null) | undefined, floor?: (string | null) | undefined, floorDescription?: (string | null) | undefined, latitude?: (number | null) | undefined, longitude?: (number | null) | undefined, organization?: (Array) | undefined, postalCode?: (string | null) | undefined, roomDescription?: (string | null) | undefined, roomName?: (string | null) | undefined, site?: (string | null) | undefined, stateOrProvince?: (string | null) | undefined, streetAddress?: (string | null) | undefined, subdivision?: (Array) | undefined, subunit?: (Array) | undefined} | {[key: string]: unknown}; 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' | 'alertRemovalOfBinaryChangeEntry' | 'banderAdded' | 'banderAlmostEmpty' | 'banderAlmostFull' | 'banderAtLimit' | 'banderClosed' | 'banderConfigurationChange' | 'banderCoverClosed' | 'banderCoverOpen' | 'banderEmpty' | 'banderFull' | 'banderInterlockClosed' | 'banderInterlockOpen' | 'banderJam' | 'banderLifeAlmostOver' | 'banderLifeOver' | 'banderMemoryExhausted' | 'banderMissing' | 'banderMotorFailure' | 'banderNearLimit' | 'banderOffline' | 'banderOpened' | 'banderOverTemperature' | 'banderPowerSaver' | 'banderRecoverableFailure' | 'banderRecoverableStorage' | 'banderRemoved' | 'banderResourceAdded' | 'banderResourceRemoved' | 'banderThermistorFailure' | 'banderTimingFailure' | 'banderTurnedOff' | 'banderTurnedOn' | 'banderUnderTemperature' | 'banderUnrecoverableFailure' | 'banderUnrecoverableStorageError' | 'banderWarmingUp' | 'binderAdded' | 'binderAlmostEmpty' | 'binderAlmostFull' | 'binderAtLimit' | 'binderClosed' | 'binderConfigurationChange' | 'binderCoverClosed' | 'binderCoverOpen' | 'binderEmpty' | 'binderFull' | 'binderInterlockClosed' | 'binderInterlockOpen' | 'binderJam' | 'binderLifeAlmostOver' | 'binderLifeOver' | 'binderMemoryExhausted' | 'binderMissing' | 'binderMotorFailure' | 'binderNearLimit' | 'binderOffline' | 'binderOpened' | 'binderOverTemperature' | 'binderPowerSaver' | 'binderRecoverableFailure' | 'binderRecoverableStorage' | 'binderRemoved' | 'binderResourceAdded' | 'binderResourceRemoved' | 'binderThermistorFailure' | 'binderTimingFailure' | 'binderTurnedOff' | 'binderTurnedOn' | 'binderUnderTemperature' | 'binderUnrecoverableFailure' | 'binderUnrecoverableStorageError' | 'binderWarmingUp' | 'cameraFailure' | 'chamberCooling' | 'chamberFailure' | 'chamberHeating' | 'chamberTemperatureHigh' | 'chamberTemperatureLow' | 'cleanerLifeAlmostOver' | 'cleanerLifeOver' | 'configurationChange' | 'deactivated' | 'deleted' | 'dieCutterAdded' | 'dieCutterAlmostEmpty' | 'dieCutterAlmostFull' | 'dieCutterAtLimit' | 'dieCutterClosed' | 'dieCutterConfigurationChange' | 'dieCutterCoverClosed' | 'dieCutterCoverOpen' | 'dieCutterEmpty' | 'dieCutterFull' | 'dieCutterInterlockClosed' | 'dieCutterInterlockOpen' | 'dieCutterJam' | 'dieCutterLifeAlmostOver' | 'dieCutterLifeOver' | 'dieCutterMemoryExhausted' | 'dieCutterMissing' | 'dieCutterMotorFailure' | 'dieCutterNearLimit' | 'dieCutterOffline' | 'dieCutterOpened' | 'dieCutterOverTemperature' | 'dieCutterPowerSaver' | 'dieCutterRecoverableFailure' | 'dieCutterRecoverableStorage' | 'dieCutterRemoved' | 'dieCutterResourceAdded' | 'dieCutterResourceRemoved' | 'dieCutterThermistorFailure' | 'dieCutterTimingFailure' | 'dieCutterTurnedOff' | 'dieCutterTurnedOn' | 'dieCutterUnderTemperature' | 'dieCutterUnrecoverableFailure' | 'dieCutterUnrecoverableStorageError' | 'dieCutterWarmingUp' | 'extruderCooling' | 'extruderFailure' | 'extruderHeating' | 'extruderJam' | 'extruderTemperatureHigh' | 'extruderTemperatureLow' | 'fanFailure' | 'faxModemLifeAlmostOver' | 'faxModemLifeOver' | 'faxModemMissing' | 'faxModemTurnedOff' | 'faxModemTurnedOn' | 'folderAdded' | 'folderAlmostEmpty' | 'folderAlmostFull' | 'folderAtLimit' | 'folderClosed' | 'folderConfigurationChange' | 'folderCoverClosed' | 'folderCoverOpen' | 'folderEmpty' | 'folderFull' | 'folderInterlockClosed' | 'folderInterlockOpen' | 'folderJam' | 'folderLifeAlmostOver' | 'folderLifeOver' | 'folderMemoryExhausted' | 'folderMissing' | 'folderMotorFailure' | 'folderNearLimit' | 'folderOffline' | 'folderOpened' | 'folderOverTemperature' | 'folderPowerSaver' | 'folderRecoverableFailure' | 'folderRecoverableStorage' | 'folderRemoved' | 'folderResourceAdded' | 'folderResourceRemoved' | 'folderThermistorFailure' | 'folderTimingFailure' | 'folderTurnedOff' | 'folderTurnedOn' | 'folderUnderTemperature' | 'folderUnrecoverableFailure' | 'folderUnrecoverableStorageError' | 'folderWarmingUp' | 'hibernate' | 'holdNewJobs' | 'identifyPrinterRequested' | 'imprinterAdded' | 'imprinterAlmostEmpty' | 'imprinterAlmostFull' | 'imprinterAtLimit' | 'imprinterClosed' | 'imprinterConfigurationChange' | 'imprinterCoverClosed' | 'imprinterCoverOpen' | 'imprinterEmpty' | 'imprinterFull' | 'imprinterInterlockClosed' | 'imprinterInterlockOpen' | 'imprinterJam' | 'imprinterLifeAlmostOver' | 'imprinterLifeOver' | 'imprinterMemoryExhausted' | 'imprinterMissing' | 'imprinterMotorFailure' | 'imprinterNearLimit' | 'imprinterOffline' | 'imprinterOpened' | 'imprinterOverTemperature' | 'imprinterPowerSaver' | 'imprinterRecoverableFailure' | 'imprinterRecoverableStorage' | 'imprinterRemoved' | 'imprinterResourceAdded' | 'imprinterResourceRemoved' | 'imprinterThermistorFailure' | 'imprinterTimingFailure' | 'imprinterTurnedOff' | 'imprinterTurnedOn' | 'imprinterUnderTemperature' | 'imprinterUnrecoverableFailure' | 'imprinterUnrecoverableStorageError' | 'imprinterWarmingUp' | 'inputCannotFeedSizeSelected' | 'inputManualInputRequest' | 'inputMediaColorChange' | 'inputMediaFormPartsChange' | 'inputMediaSizeChange' | 'inputMediaTrayFailure' | 'inputMediaTrayFeedError' | 'inputMediaTrayJam' | 'inputMediaTypeChange' | 'inputMediaWeightChange' | 'inputPickRollerFailure' | 'inputPickRollerLifeOver' | 'inputPickRollerLifeWarn' | 'inputPickRollerMissing' | 'inputTrayElevationFailure' | 'inputTrayPositionFailure' | 'inserterAdded' | 'inserterAlmostEmpty' | 'inserterAlmostFull' | 'inserterAtLimit' | 'inserterClosed' | 'inserterConfigurationChange' | 'inserterCoverClosed' | 'inserterCoverOpen' | 'inserterEmpty' | 'inserterFull' | 'inserterInterlockClosed' | 'inserterInterlockOpen' | 'inserterJam' | 'inserterLifeAlmostOver' | 'inserterLifeOver' | 'inserterMemoryExhausted' | 'inserterMissing' | 'inserterMotorFailure' | 'inserterNearLimit' | 'inserterOffline' | 'inserterOpened' | 'inserterOverTemperature' | 'inserterPowerSaver' | 'inserterRecoverableFailure' | 'inserterRecoverableStorage' | 'inserterRemoved' | 'inserterResourceAdded' | 'inserterResourceRemoved' | 'inserterThermistorFailure' | 'inserterTimingFailure' | 'inserterTurnedOff' | 'inserterTurnedOn' | 'inserterUnderTemperature' | 'inserterUnrecoverableFailure' | 'inserterUnrecoverableStorageError' | 'inserterWarmingUp' | 'interlockClosed' | 'interpreterCartridgeAdded' | 'interpreterCartridgeDeleted' | 'interpreterComplexPageEncountered' | 'interpreterMemoryDecrease' | 'interpreterMemoryIncrease' | 'interpreterResourceAdded' | 'interpreterResourceDeleted' | 'lampAtEol' | 'lampFailure' | 'lampNearEol' | 'laserAtEol' | 'laserFailure' | 'laserNearEol' | 'makeEnvelopeAdded' | 'makeEnvelopeAlmostEmpty' | 'makeEnvelopeAlmostFull' | 'makeEnvelopeAtLimit' | 'makeEnvelopeClosed' | 'makeEnvelopeConfigurationChange' | 'makeEnvelopeCoverClosed' | 'makeEnvelopeCoverOpen' | 'makeEnvelopeEmpty' | 'makeEnvelopeFull' | 'makeEnvelopeInterlockClosed' | 'makeEnvelopeInterlockOpen' | 'makeEnvelopeJam' | 'makeEnvelopeLifeAlmostOver' | 'makeEnvelopeLifeOver' | 'makeEnvelopeMemoryExhausted' | 'makeEnvelopeMissing' | 'makeEnvelopeMotorFailure' | 'makeEnvelopeNearLimit' | 'makeEnvelopeOffline' | 'makeEnvelopeOpened' | 'makeEnvelopeOverTemperature' | 'makeEnvelopePowerSaver' | 'makeEnvelopeRecoverableFailure' | 'makeEnvelopeRecoverableStorage' | 'makeEnvelopeRemoved' | 'makeEnvelopeResourceAdded' | 'makeEnvelopeResourceRemoved' | 'makeEnvelopeThermistorFailure' | 'makeEnvelopeTimingFailure' | 'makeEnvelopeTurnedOff' | 'makeEnvelopeTurnedOn' | 'makeEnvelopeUnderTemperature' | 'makeEnvelopeUnrecoverableFailure' | 'makeEnvelopeUnrecoverableStorageError' | 'makeEnvelopeWarmingUp' | 'markerAdjustingPrintQuality' | 'markerCleanerMissing' | 'markerDeveloperAlmostEmpty' | 'markerDeveloperEmpty' | 'markerDeveloperMissing' | 'markerFuserMissing' | 'markerFuserThermistorFailure' | 'markerFuserTimingFailure' | 'markerInkAlmostEmpty' | 'markerInkEmpty' | 'markerInkMissing' | 'markerOpcMissing' | 'markerPrintRibbonAlmostEmpty' | 'markerPrintRibbonEmpty' | 'markerPrintRibbonMissing' | 'markerSupplyAlmostEmpty' | 'markerSupplyMissing' | 'markerTonerCartridgeMissing' | 'markerTonerMissing' | 'markerWasteInkReceptacleAlmostFull' | 'markerWasteInkReceptacleFull' | 'markerWasteInkReceptacleMissing' | 'markerWasteMissing' | 'markerWasteTonerReceptacleAlmostFull' | 'markerWasteTonerReceptacleFull' | 'markerWasteTonerReceptacleMissing' | 'materialEmpty' | 'materialLow' | 'materialNeeded' | 'mediaDrying' | 'mediaPathCannotDuplexMediaSelected' | 'mediaPathFailure' | 'mediaPathInputEmpty' | 'mediaPathInputFeedError' | 'mediaPathInputJam' | 'mediaPathInputRequest' | 'mediaPathJam' | 'mediaPathMediaTrayAlmostFull' | 'mediaPathMediaTrayFull' | 'mediaPathMediaTrayMissing' | 'mediaPathOutputFeedError' | 'mediaPathOutputFull' | 'mediaPathOutputJam' | 'mediaPathPickRollerFailure' | 'mediaPathPickRollerLifeOver' | 'mediaPathPickRollerLifeWarn' | 'mediaPathPickRollerMissing' | 'motorFailure' | 'outputMailboxSelectFailure' | 'outputMediaTrayFailure' | 'outputMediaTrayFeedError' | 'outputMediaTrayJam' | 'perforaterAdded' | 'perforaterAlmostEmpty' | 'perforaterAlmostFull' | 'perforaterAtLimit' | 'perforaterClosed' | 'perforaterConfigurationChange' | 'perforaterCoverClosed' | 'perforaterCoverOpen' | 'perforaterEmpty' | 'perforaterFull' | 'perforaterInterlockClosed' | 'perforaterInterlockOpen' | 'perforaterJam' | 'perforaterLifeAlmostOver' | 'perforaterLifeOver' | 'perforaterMemoryExhausted' | 'perforaterMissing' | 'perforaterMotorFailure' | 'perforaterNearLimit' | 'perforaterOffline' | 'perforaterOpened' | 'perforaterOverTemperature' | 'perforaterPowerSaver' | 'perforaterRecoverableFailure' | 'perforaterRecoverableStorage' | 'perforaterRemoved' | 'perforaterResourceAdded' | 'perforaterResourceRemoved' | 'perforaterThermistorFailure' | 'perforaterTimingFailure' | 'perforaterTurnedOff' | 'perforaterTurnedOn' | 'perforaterUnderTemperature' | 'perforaterUnrecoverableFailure' | 'perforaterUnrecoverableStorageError' | 'perforaterWarmingUp' | 'platformCooling' | 'platformFailure' | 'platformHeating' | 'platformTemperatureHigh' | 'platformTemperatureLow' | 'powerDown' | 'powerUp' | 'printerManualReset' | 'printerNmsReset' | 'printerReadyToPrint' | 'puncherAdded' | 'puncherAlmostEmpty' | 'puncherAlmostFull' | 'puncherAtLimit' | 'puncherClosed' | 'puncherConfigurationChange' | 'puncherCoverClosed' | 'puncherCoverOpen' | 'puncherEmpty' | 'puncherFull' | 'puncherInterlockClosed' | 'puncherInterlockOpen' | 'puncherJam' | 'puncherLifeAlmostOver' | 'puncherLifeOver' | 'puncherMemoryExhausted' | 'puncherMissing' | 'puncherMotorFailure' | 'puncherNearLimit' | 'puncherOffline' | 'puncherOpened' | 'puncherOverTemperature' | 'puncherPowerSaver' | 'puncherRecoverableFailure' | 'puncherRecoverableStorage' | 'puncherRemoved' | 'puncherResourceAdded' | 'puncherResourceRemoved' | 'puncherThermistorFailure' | 'puncherTimingFailure' | 'puncherTurnedOff' | 'puncherTurnedOn' | 'puncherUnderTemperature' | 'puncherUnrecoverableFailure' | 'puncherUnrecoverableStorageError' | 'puncherWarmingUp' | 'resuming' | 'scanMediaPathFailure' | 'scanMediaPathInputEmpty' | 'scanMediaPathInputFeedError' | 'scanMediaPathInputJam' | 'scanMediaPathInputRequest' | 'scanMediaPathJam' | 'scanMediaPathOutputFeedError' | 'scanMediaPathOutputFull' | 'scanMediaPathOutputJam' | 'scanMediaPathPickRollerFailure' | 'scanMediaPathPickRollerLifeOver' | 'scanMediaPathPickRollerLifeWarn' | 'scanMediaPathPickRollerMissing' | 'scanMediaPathTrayAlmostFull' | 'scanMediaPathTrayFull' | 'scanMediaPathTrayMissing' | 'scannerLightFailure' | 'scannerLightLifeAlmostOver' | 'scannerLightLifeOver' | 'scannerLightMissing' | 'scannerSensorFailure' | 'scannerSensorLifeAlmostOver' | 'scannerSensorLifeOver' | 'scannerSensorMissing' | 'separationCutterAdded' | 'separationCutterAlmostEmpty' | 'separationCutterAlmostFull' | 'separationCutterAtLimit' | 'separationCutterClosed' | 'separationCutterConfigurationChange' | 'separationCutterCoverClosed' | 'separationCutterCoverOpen' | 'separationCutterEmpty' | 'separationCutterFull' | 'separationCutterInterlockClosed' | 'separationCutterInterlockOpen' | 'separationCutterJam' | 'separationCutterLifeAlmostOver' | 'separationCutterLifeOver' | 'separationCutterMemoryExhausted' | 'separationCutterMissing' | 'separationCutterMotorFailure' | 'separationCutterNearLimit' | 'separationCutterOffline' | 'separationCutterOpened' | 'separationCutterOverTemperature' | 'separationCutterPowerSaver' | 'separationCutterRecoverableFailure' | 'separationCutterRecoverableStorage' | 'separationCutterRemoved' | 'separationCutterResourceAdded' | 'separationCutterResourceRemoved' | 'separationCutterThermistorFailure' | 'separationCutterTimingFailure' | 'separationCutterTurnedOff' | 'separationCutterTurnedOn' | 'separationCutterUnderTemperature' | 'separationCutterUnrecoverableFailure' | 'separationCutterUnrecoverableStorageError' | 'separationCutterWarmingUp' | 'sheetRotatorAdded' | 'sheetRotatorAlmostEmpty' | 'sheetRotatorAlmostFull' | 'sheetRotatorAtLimit' | 'sheetRotatorClosed' | 'sheetRotatorConfigurationChange' | 'sheetRotatorCoverClosed' | 'sheetRotatorCoverOpen' | 'sheetRotatorEmpty' | 'sheetRotatorFull' | 'sheetRotatorInterlockClosed' | 'sheetRotatorInterlockOpen' | 'sheetRotatorJam' | 'sheetRotatorLifeAlmostOver' | 'sheetRotatorLifeOver' | 'sheetRotatorMemoryExhausted' | 'sheetRotatorMissing' | 'sheetRotatorMotorFailure' | 'sheetRotatorNearLimit' | 'sheetRotatorOffline' | 'sheetRotatorOpened' | 'sheetRotatorOverTemperature' | 'sheetRotatorPowerSaver' | 'sheetRotatorRecoverableFailure' | 'sheetRotatorRecoverableStorage' | 'sheetRotatorRemoved' | 'sheetRotatorResourceAdded' | 'sheetRotatorResourceRemoved' | 'sheetRotatorThermistorFailure' | 'sheetRotatorTimingFailure' | 'sheetRotatorTurnedOff' | 'sheetRotatorTurnedOn' | 'sheetRotatorUnderTemperature' | 'sheetRotatorUnrecoverableFailure' | 'sheetRotatorUnrecoverableStorageError' | 'sheetRotatorWarmingUp' | 'slitterAdded' | 'slitterAlmostEmpty' | 'slitterAlmostFull' | 'slitterAtLimit' | 'slitterClosed' | 'slitterConfigurationChange' | 'slitterCoverClosed' | 'slitterCoverOpen' | 'slitterEmpty' | 'slitterFull' | 'slitterInterlockClosed' | 'slitterInterlockOpen' | 'slitterJam' | 'slitterLifeAlmostOver' | 'slitterLifeOver' | 'slitterMemoryExhausted' | 'slitterMissing' | 'slitterMotorFailure' | 'slitterNearLimit' | 'slitterOffline' | 'slitterOpened' | 'slitterOverTemperature' | 'slitterPowerSaver' | 'slitterRecoverableFailure' | 'slitterRecoverableStorage' | 'slitterRemoved' | 'slitterResourceAdded' | 'slitterResourceRemoved' | 'slitterThermistorFailure' | 'slitterTimingFailure' | 'slitterTurnedOff' | 'slitterTurnedOn' | 'slitterUnderTemperature' | 'slitterUnrecoverableFailure' | 'slitterUnrecoverableStorageError' | 'slitterWarmingUp' | 'stackerAdded' | 'stackerAlmostEmpty' | 'stackerAlmostFull' | 'stackerAtLimit' | 'stackerClosed' | 'stackerConfigurationChange' | 'stackerCoverClosed' | 'stackerCoverOpen' | 'stackerEmpty' | 'stackerFull' | 'stackerInterlockClosed' | 'stackerInterlockOpen' | 'stackerJam' | 'stackerLifeAlmostOver' | 'stackerLifeOver' | 'stackerMemoryExhausted' | 'stackerMissing' | 'stackerMotorFailure' | 'stackerNearLimit' | 'stackerOffline' | 'stackerOpened' | 'stackerOverTemperature' | 'stackerPowerSaver' | 'stackerRecoverableFailure' | 'stackerRecoverableStorage' | 'stackerRemoved' | 'stackerResourceAdded' | 'stackerResourceRemoved' | 'stackerThermistorFailure' | 'stackerTimingFailure' | 'stackerTurnedOff' | 'stackerTurnedOn' | 'stackerUnderTemperature' | 'stackerUnrecoverableFailure' | 'stackerUnrecoverableStorageError' | 'stackerWarmingUp' | 'standby' | 'staplerAdded' | 'staplerAlmostEmpty' | 'staplerAlmostFull' | 'staplerAtLimit' | 'staplerClosed' | 'staplerConfigurationChange' | 'staplerCoverClosed' | 'staplerCoverOpen' | 'staplerEmpty' | 'staplerFull' | 'staplerInterlockClosed' | 'staplerInterlockOpen' | 'staplerJam' | 'staplerLifeAlmostOver' | 'staplerLifeOver' | 'staplerMemoryExhausted' | 'staplerMissing' | 'staplerMotorFailure' | 'staplerNearLimit' | 'staplerOffline' | 'staplerOpened' | 'staplerOverTemperature' | 'staplerPowerSaver' | 'staplerRecoverableFailure' | 'staplerRecoverableStorage' | 'staplerRemoved' | 'staplerResourceAdded' | 'staplerResourceRemoved' | 'staplerThermistorFailure' | 'staplerTimingFailure' | 'staplerTurnedOff' | 'staplerTurnedOn' | 'staplerUnderTemperature' | 'staplerUnrecoverableFailure' | 'staplerUnrecoverableStorageError' | 'staplerWarmingUp' | 'stitcherAdded' | 'stitcherAlmostEmpty' | 'stitcherAlmostFull' | 'stitcherAtLimit' | 'stitcherClosed' | 'stitcherConfigurationChange' | 'stitcherCoverClosed' | 'stitcherCoverOpen' | 'stitcherEmpty' | 'stitcherFull' | 'stitcherInterlockClosed' | 'stitcherInterlockOpen' | 'stitcherJam' | 'stitcherLifeAlmostOver' | 'stitcherLifeOver' | 'stitcherMemoryExhausted' | 'stitcherMissing' | 'stitcherMotorFailure' | 'stitcherNearLimit' | 'stitcherOffline' | 'stitcherOpened' | 'stitcherOverTemperature' | 'stitcherPowerSaver' | 'stitcherRecoverableFailure' | 'stitcherRecoverableStorage' | 'stitcherRemoved' | 'stitcherResourceAdded' | 'stitcherResourceRemoved' | 'stitcherThermistorFailure' | 'stitcherTimingFailure' | 'stitcherTurnedOff' | 'stitcherTurnedOn' | 'stitcherUnderTemperature' | 'stitcherUnrecoverableFailure' | 'stitcherUnrecoverableStorageError' | 'stitcherWarmingUp' | 'subunitAdded' | 'subunitAlmostEmpty' | 'subunitAlmostFull' | 'subunitAtLimit' | 'subunitClosed' | 'subunitCoolingDown' | 'subunitEmpty' | 'subunitFull' | 'subunitLifeAlmostOver' | 'subunitLifeOver' | 'subunitMemoryExhausted' | 'subunitMissing' | 'subunitMotorFailure' | 'subunitNearLimit' | 'subunitOffline' | 'subunitOpened' | 'subunitOverTemperature' | 'subunitPowerSaver' | 'subunitRecoverableFailure' | 'subunitRecoverableStorage' | 'subunitRemoved' | 'subunitResourceAdded' | 'subunitResourceRemoved' | 'subunitThermistorFailure' | 'subunitTimingFailure' | 'subunitTurnedOff' | 'subunitTurnedOn' | 'subunitUnderTemperature' | 'subunitUnrecoverableFailure' | 'subunitUnrecoverableStorage' | 'subunitWarmingUp' | 'suspend' | 'testing' | 'trimmerAdded' | 'trimmerAlmostEmpty' | 'trimmerAlmostFull' | 'trimmerAtLimit' | 'trimmerClosed' | 'trimmerConfigurationChange' | 'trimmerCoverClosed' | 'trimmerCoverOpen' | 'trimmerEmpty' | 'trimmerFull' | 'trimmerInterlockClosed' | 'trimmerInterlockOpen' | 'trimmerJam' | 'trimmerLifeAlmostOver' | 'trimmerLifeOver' | 'trimmerMemoryExhausted' | 'trimmerMissing' | 'trimmerMotorFailure' | 'trimmerNearLimit' | 'trimmerOffline' | 'trimmerOpened' | 'trimmerOverTemperature' | 'trimmerPowerSaver' | 'trimmerRecoverableFailure' | 'trimmerRecoverableStorage' | 'trimmerRemoved' | 'trimmerResourceAdded' | 'trimmerResourceRemoved' | 'trimmerThermistorFailure' | 'trimmerTimingFailure' | 'trimmerTurnedOff' | 'trimmerTurnedOn' | 'trimmerUnderTemperature' | 'trimmerUnrecoverableFailure' | 'trimmerUnrecoverableStorageError' | 'trimmerWarmingUp' | 'unknown' | 'wrapperAdded' | 'wrapperAlmostEmpty' | 'wrapperAlmostFull' | 'wrapperAtLimit' | 'wrapperClosed' | 'wrapperConfigurationChange' | 'wrapperCoverClosed' | 'wrapperCoverOpen' | 'wrapperEmpty' | 'wrapperFull' | 'wrapperInterlockClosed' | 'wrapperInterlockOpen' | 'wrapperJam' | 'wrapperLifeAlmostOver' | 'wrapperLifeOver' | 'wrapperMemoryExhausted' | 'wrapperMissing' | 'wrapperMotorFailure' | 'wrapperNearLimit' | 'wrapperOffline' | 'wrapperOpened' | 'wrapperOverTemperature' | 'wrapperPowerSaver' | 'wrapperRecoverableFailure' | 'wrapperRecoverableStorage' | 'wrapperRemoved' | 'wrapperResourceAdded' | 'wrapperResourceRemoved' | 'wrapperThermistorFailure' | 'wrapperTimingFailure' | 'wrapperTurnedOff' | 'wrapperTurnedOn' | 'wrapperUnderTemperature' | 'wrapperUnrecoverableFailure' | 'wrapperUnrecoverableStorageError' | 'wrapperWarmingUp'; export type PrinterProcessingState = 'unknown' | 'idle' | 'processing' | 'stopped' | 'unknownFutureValue'; export type PrinterStatus = {description?: (string | null) | undefined, details?: Array | undefined, state?: PrinterProcessingState | undefined} | {[key: string]: unknown}; export type PrintMargin = {bottom?: (number | null) | undefined, left?: (number | null) | undefined, right?: (number | null) | undefined, top?: (number | null) | undefined} | {[key: string]: unknown}; export type PrintJobConfiguration = {collate?: (boolean | null) | undefined, colorMode?: PrintColorMode | undefined, copies?: (number | null) | undefined, dpi?: (number | null) | undefined, duplexMode?: PrintDuplexMode | undefined, feedOrientation?: PrinterFeedOrientation | undefined, finishings?: Array | undefined, fitPdfToPage?: (boolean | null) | undefined, inputBin?: (string | null) | undefined, margin?: PrintMargin | undefined, mediaSize?: (string | null) | undefined, mediaType?: (string | null) | undefined, multipageLayout?: PrintMultipageLayout | undefined, orientation?: PrintOrientation | undefined, outputBin?: (string | null) | undefined, pageRanges?: Array | undefined, pagesPerSheet?: (number | null) | undefined, quality?: PrintQuality | undefined, scaling?: PrintScaling | undefined} | {[key: string]: unknown}; export type UserIdentity = {displayName?: (string | null) | undefined, id?: (string | null) | undefined, ipAddress?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined} | {[key: string]: unknown}; export type PrintJobStateDetail = 'uploadPending' | 'transforming' | 'completedSuccessfully' | 'completedWithWarnings' | 'completedWithErrors' | 'releaseWait' | 'interpreting' | 'unknownFutureValue'; export type PrintJobProcessingState = 'unknown' | 'pending' | 'processing' | 'paused' | 'stopped' | 'completed' | 'canceled' | 'aborted' | 'unknownFutureValue'; export type PrintJobStatus = {description?: string | undefined, details?: Array | undefined, isAcquiredByPrinter?: boolean | undefined, state?: PrintJobProcessingState | undefined} | {[key: string]: unknown}; export type PrintDocument = {id?: string | undefined, contentType?: (string | null) | undefined, displayName?: (string | null) | undefined, downloadedDateTime?: (string | null) | undefined, size?: number | undefined, uploadedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type PrintTaskProcessingState = 'pending' | 'processing' | 'completed' | 'aborted' | 'unknownFutureValue'; export type PrintTaskStatus = {description?: string | undefined, state?: PrintTaskProcessingState | undefined} | {[key: string]: unknown}; export type AppIdentity = {appId?: (string | null) | undefined, displayName?: (string | null) | undefined, servicePrincipalId?: (string | null) | undefined, servicePrincipalName?: (string | null) | undefined} | {[key: string]: unknown}; export type PrintTaskDefinition = {id?: string | undefined, createdBy?: AppIdentity | undefined, displayName?: string | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type PrintEvent = 'jobStarted' | 'unknownFutureValue'; export type PrintTaskTrigger = {id?: string | undefined, event?: PrintEvent | undefined, definition?: PrintTaskDefinition | undefined} | {[key: string]: unknown}; export type PrintTask = {id?: string | undefined, parentUrl?: string | undefined, status?: PrintTaskStatus | undefined, definition?: PrintTaskDefinition | undefined, trigger?: PrintTaskTrigger | undefined} | {[key: string]: unknown}; export type PrintJob = {id?: string | undefined, acknowledgedDateTime?: (string | null) | undefined, configuration?: PrintJobConfiguration | undefined, createdBy?: UserIdentity | undefined, createdDateTime?: string | undefined, errorCode?: (number | null) | undefined, isFetchable?: boolean | undefined, redirectedFrom?: (string | null) | undefined, redirectedTo?: (string | null) | undefined, status?: PrintJobStatus | undefined, documents?: Array | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type PrinterShareViewpoint = {lastUsedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type AssignedLabel = {displayName?: (string | null) | undefined, labelId?: (string | null) | undefined} | {[key: string]: unknown}; export type LicenseProcessingState = {state?: (string | null) | undefined} | {[key: string]: unknown}; export type ServiceProvisioningError = {createdDateTime?: (string | null) | undefined, isResolved?: (boolean | null) | undefined, serviceInstance?: (string | null) | undefined} | {[key: string]: unknown}; export type DirectoryObject = {id?: string | undefined, deletedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type AppRoleAssignment = {id?: string | undefined, deletedDateTime?: (string | null) | undefined, appRoleId?: string | undefined, createdDateTime?: (string | null) | undefined, principalDisplayName?: (string | null) | undefined, principalId?: (string | null) | undefined, principalType?: (string | null) | undefined, resourceDisplayName?: (string | null) | undefined, resourceId?: (string | null) | undefined} | {[key: string]: unknown}; export type OnlineMeetingProviderType = 'unknown' | 'skypeForBusiness' | 'skypeForConsumer' | 'teamsForBusiness'; export type CalendarColor = 'auto' | 'lightBlue' | 'lightGreen' | 'lightOrange' | 'lightGray' | 'lightYellow' | 'lightTeal' | 'lightPink' | 'lightBrown' | 'lightRed' | 'maxColor'; export type EmailAddress = {address?: (string | null) | undefined, name?: (string | null) | undefined} | {[key: string]: unknown}; export type CalendarRoleType = 'none' | 'freeBusyRead' | 'limitedRead' | 'read' | 'write' | 'delegateWithoutPrivateEventAccess' | 'delegateWithPrivateEventAccess' | 'custom'; export type CalendarPermission = {id?: string | undefined, allowedRoles?: Array | undefined, emailAddress?: EmailAddress | undefined, isInsideOrganization?: (boolean | null) | undefined, isRemovable?: (boolean | null) | undefined, role?: CalendarRoleType | undefined} | {[key: string]: unknown}; export type AttendeeType = 'required' | 'optional' | 'resource'; export type TimeSlot = {end?: DateTimeTimeZone | undefined, start?: DateTimeTimeZone | undefined} | {[key: string]: unknown}; export type ResponseType = 'none' | 'organizer' | 'tentativelyAccepted' | 'accepted' | 'declined' | 'notResponded'; export type ResponseStatus = {response?: ResponseType | undefined, time?: (string | null) | undefined} | {[key: string]: unknown}; export type Attendee = {emailAddress?: EmailAddress | undefined, type?: AttendeeType | undefined, proposedNewTime?: TimeSlot | undefined, status?: ResponseStatus | undefined} | {[key: string]: unknown}; export type BodyType = 'text' | 'html'; export type ItemBody = {content?: (string | null) | undefined, contentType?: BodyType | undefined} | {[key: string]: unknown}; export type Importance = 'low' | 'normal' | 'high'; export type PhysicalAddress = {city?: (string | null) | undefined, countryOrRegion?: (string | null) | undefined, postalCode?: (string | null) | undefined, state?: (string | null) | undefined, street?: (string | null) | undefined} | {[key: string]: unknown}; export type OutlookGeoCoordinates = {accuracy?: (number | null) | undefined, altitude?: (number | null) | undefined, altitudeAccuracy?: (number | null) | undefined, latitude?: (number | null) | undefined, longitude?: (number | null) | undefined} | {[key: string]: unknown}; export type LocationType = 'default' | 'conferenceRoom' | 'homeAddress' | 'businessAddress' | 'geoCoordinates' | 'streetAddress' | 'hotel' | 'restaurant' | 'localBusiness' | 'postalAddress'; export type LocationUniqueIdType = 'unknown' | 'locationStore' | 'directory' | 'private' | 'bing'; export type Location = {address?: PhysicalAddress | undefined, coordinates?: OutlookGeoCoordinates | undefined, displayName?: (string | null) | undefined, locationEmailAddress?: (string | null) | undefined, locationType?: LocationType | undefined, locationUri?: (string | null) | undefined, uniqueId?: (string | null) | undefined, uniqueIdType?: LocationUniqueIdType | undefined} | {[key: string]: unknown}; export type PhoneType = 'home' | 'business' | 'mobile' | 'other' | 'assistant' | 'homeFax' | 'businessFax' | 'otherFax' | 'pager' | 'radio'; export type Phone = {language?: (string | null) | undefined, number?: (string | null) | undefined, region?: (string | null) | undefined, type?: PhoneType | undefined} | {[key: string]: unknown}; export type OnlineMeetingInfo = {conferenceId?: (string | null) | undefined, joinUrl?: (string | null) | undefined, phones?: Array | undefined, quickDial?: (string | null) | undefined, tollFreeNumbers?: (Array) | undefined, tollNumber?: (string | null) | undefined} | {[key: string]: unknown}; export type Recipient = {emailAddress?: EmailAddress | undefined} | {[key: string]: unknown}; export type WeekIndex = 'first' | 'second' | 'third' | 'fourth' | 'last'; export type RecurrencePatternType = 'daily' | 'weekly' | 'absoluteMonthly' | 'relativeMonthly' | 'absoluteYearly' | 'relativeYearly'; export type RecurrencePattern = {dayOfMonth?: number | undefined, daysOfWeek?: Array | undefined, firstDayOfWeek?: DayOfWeek | undefined, index?: WeekIndex | undefined, interval?: number | undefined, month?: number | undefined, type?: RecurrencePatternType | undefined} | {[key: string]: unknown}; export type RecurrenceRangeType = 'endDate' | 'noEnd' | 'numbered'; export type RecurrenceRange = {endDate?: (string | null) | undefined, numberOfOccurrences?: number | undefined, recurrenceTimeZone?: (string | null) | undefined, startDate?: (string | null) | undefined, type?: RecurrenceRangeType | undefined} | {[key: string]: unknown}; export type PatternedRecurrence = {pattern?: RecurrencePattern | undefined, range?: RecurrenceRange | undefined} | {[key: string]: unknown}; export type Sensitivity = 'normal' | 'personal' | 'private' | 'confidential'; export type FreeBusyStatus = 'unknown' | 'free' | 'tentative' | 'busy' | 'oof' | 'workingElsewhere'; export type EventType = 'singleInstance' | 'occurrence' | 'exception' | 'seriesMaster'; export type Attachment = {id?: string | undefined, contentType?: (string | null) | undefined, isInline?: boolean | undefined, lastModifiedDateTime?: (string | null) | undefined, name?: (string | null) | undefined, size?: number | undefined} | {[key: string]: unknown}; export type Extension = {id?: string | undefined} | {[key: string]: unknown}; export type MultiValueLegacyExtendedProperty = {id?: string | undefined, value?: (Array) | undefined} | {[key: string]: unknown}; export type SingleValueLegacyExtendedProperty = {id?: string | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type Event = {id?: string | undefined, categories?: (Array) | undefined, changeKey?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, allowNewTimeProposals?: (boolean | null) | undefined, attendees?: Array | undefined, body?: ItemBody | undefined, bodyPreview?: (string | null) | undefined, cancelledOccurrences?: Array | undefined, end?: DateTimeTimeZone | undefined, hasAttachments?: (boolean | null) | undefined, hideAttendees?: (boolean | null) | undefined, iCalUId?: (string | null) | undefined, importance?: Importance | undefined, isAllDay?: (boolean | null) | undefined, isCancelled?: (boolean | null) | undefined, isDraft?: (boolean | null) | undefined, isOnlineMeeting?: (boolean | null) | undefined, isOrganizer?: (boolean | null) | undefined, isReminderOn?: (boolean | null) | undefined, location?: Location | undefined, locations?: Array | undefined, onlineMeeting?: OnlineMeetingInfo | undefined, onlineMeetingProvider?: OnlineMeetingProviderType | undefined, onlineMeetingUrl?: (string | null) | undefined, organizer?: Recipient | undefined, originalEndTimeZone?: (string | null) | undefined, originalStart?: (string | null) | undefined, originalStartTimeZone?: (string | null) | undefined, recurrence?: PatternedRecurrence | undefined, reminderMinutesBeforeStart?: (number | null) | undefined, responseRequested?: (boolean | null) | undefined, responseStatus?: ResponseStatus | undefined, sensitivity?: Sensitivity | undefined, seriesMasterId?: (string | null) | undefined, showAs?: FreeBusyStatus | undefined, start?: DateTimeTimeZone | undefined, subject?: (string | null) | undefined, transactionId?: (string | null) | undefined, type?: EventType | undefined, webLink?: (string | null) | undefined, attachments?: Array | undefined, calendar?: Calendar | undefined, exceptionOccurrences?: Array | undefined, extensions?: Array | undefined, instances?: Array | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type Calendar = {id?: string | undefined, allowedOnlineMeetingProviders?: Array | undefined, canEdit?: (boolean | null) | undefined, canShare?: (boolean | null) | undefined, canViewPrivateItems?: (boolean | null) | undefined, changeKey?: (string | null) | undefined, color?: CalendarColor | undefined, defaultOnlineMeetingProvider?: OnlineMeetingProviderType | undefined, hexColor?: (string | null) | undefined, isDefaultCalendar?: (boolean | null) | undefined, isRemovable?: (boolean | null) | undefined, isTallyingResponses?: (boolean | null) | undefined, name?: (string | null) | undefined, owner?: EmailAddress | undefined, calendarPermissions?: Array | undefined, calendarView?: Array | undefined, events?: Array | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type Post = {id?: string | undefined, categories?: (Array) | undefined, changeKey?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, body?: ItemBody | undefined, conversationId?: (string | null) | undefined, conversationThreadId?: (string | null) | undefined, from?: Recipient | undefined, hasAttachments?: boolean | undefined, newParticipants?: Array | undefined, receivedDateTime?: string | undefined, sender?: Recipient | undefined, attachments?: Array | undefined, extensions?: Array | undefined, inReplyTo?: Post | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type ConversationThread = {id?: string | undefined, ccRecipients?: Array | undefined, hasAttachments?: boolean | undefined, isLocked?: boolean | undefined, lastDeliveredDateTime?: string | undefined, preview?: string | undefined, topic?: string | undefined, toRecipients?: Array | undefined, uniqueSenders?: Array | undefined, posts?: Array | undefined} | {[key: string]: unknown}; export type Conversation = {id?: string | undefined, hasAttachments?: boolean | undefined, lastDeliveredDateTime?: string | undefined, preview?: string | undefined, topic?: string | undefined, uniqueSenders?: Array | undefined, threads?: Array | undefined} | {[key: string]: unknown}; export type StoragePlanInformation = {upgradeAvailable?: (boolean | null) | undefined} | {[key: string]: unknown}; export type Quota = {deleted?: (number | null) | undefined, remaining?: (number | null) | undefined, state?: (string | null) | undefined, storagePlanInformation?: StoragePlanInformation | undefined, total?: (number | null) | undefined, used?: (number | null) | undefined} | {[key: string]: unknown}; export type SystemFacet = {[key: string]: unknown}; export type ListInfo = {contentTypesEnabled?: (boolean | null) | undefined, hidden?: (boolean | null) | undefined, template?: (string | null) | undefined} | {[key: string]: unknown}; export type BooleanColumn = {[key: string]: unknown}; export type CalculatedColumn = {format?: (string | null) | undefined, formula?: (string | null) | undefined, outputType?: (string | null) | undefined} | {[key: string]: unknown}; export type ChoiceColumn = {allowTextEntry?: (boolean | null) | undefined, choices?: (Array) | undefined, displayAs?: (string | null) | undefined} | {[key: string]: unknown}; export type ContentApprovalStatusColumn = {[key: string]: unknown}; export type CurrencyColumn = {locale?: (string | null) | undefined} | {[key: string]: unknown}; export type DateTimeColumn = {displayAs?: (string | null) | undefined, format?: (string | null) | undefined} | {[key: string]: unknown}; export type DefaultColumnValue = {formula?: (string | null) | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type GeolocationColumn = {[key: string]: unknown}; export type HyperlinkOrPictureColumn = {isPicture?: (boolean | null) | undefined} | {[key: string]: unknown}; export type LookupColumn = {allowMultipleValues?: (boolean | null) | undefined, allowUnlimitedLength?: (boolean | null) | undefined, columnName?: (string | null) | undefined, listId?: (string | null) | undefined, primaryLookupColumnId?: (string | null) | undefined} | {[key: string]: unknown}; export type NumberColumn = {decimalPlaces?: (string | null) | undefined, displayAs?: (string | null) | undefined, maximum?: (number | null) | undefined, minimum?: (number | null) | undefined} | {[key: string]: unknown}; export type PersonOrGroupColumn = {allowMultipleSelection?: (boolean | null) | undefined, chooseFromType?: (string | null) | undefined, displayAs?: (string | null) | undefined} | {[key: string]: unknown}; export type ContentTypeInfo = {id?: (string | null) | undefined, name?: (string | null) | undefined} | {[key: string]: unknown}; export type TermStoreLocalizedDescription = {description?: (string | null) | undefined, languageTag?: (string | null) | undefined} | {[key: string]: unknown}; export type TermStoreLocalizedLabel = {isDefault?: (boolean | null) | undefined, languageTag?: (string | null) | undefined, name?: (string | null) | undefined} | {[key: string]: unknown}; export type KeyValue = {key?: (string | null) | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type TermStoreRelationType = 'pin' | 'reuse' | 'unknownFutureValue'; export type TermStoreLocalizedName = {languageTag?: (string | null) | undefined, name?: (string | null) | undefined} | {[key: string]: unknown}; export type TermStoreTermGroupScope = 'global' | 'system' | 'siteCollection' | 'unknownFutureValue'; export type TermStoreGroup = {id?: string | undefined, createdDateTime?: (string | null) | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, parentSiteId?: (string | null) | undefined, scope?: TermStoreTermGroupScope | undefined, sets?: Array | undefined} | {[key: string]: unknown}; export type TermStoreSet = {id?: string | undefined, createdDateTime?: (string | null) | undefined, description?: (string | null) | undefined, localizedNames?: Array | undefined, properties?: Array | undefined, children?: Array | undefined, parentGroup?: TermStoreGroup | undefined, relations?: Array | undefined, terms?: Array | undefined} | {[key: string]: unknown}; export type TermStoreRelation = {id?: string | undefined, relationship?: TermStoreRelationType | undefined, fromTerm?: TermStoreTerm | undefined, set?: TermStoreSet | undefined, toTerm?: TermStoreTerm | undefined} | {[key: string]: unknown}; export type TermStoreTerm = {id?: string | undefined, createdDateTime?: (string | null) | undefined, descriptions?: Array | undefined, labels?: Array | undefined, lastModifiedDateTime?: (string | null) | undefined, properties?: Array | undefined, children?: Array | undefined, relations?: Array | undefined, set?: TermStoreSet | undefined} | {[key: string]: unknown}; export type TermColumn = {allowMultipleValues?: (boolean | null) | undefined, showFullyQualifiedName?: (boolean | null) | undefined, parentTerm?: TermStoreTerm | undefined, termSet?: TermStoreSet | undefined} | {[key: string]: unknown}; export type TextColumn = {allowMultipleLines?: (boolean | null) | undefined, appendChangesToExistingText?: (boolean | null) | undefined, linesForEditing?: (number | null) | undefined, maxLength?: (number | null) | undefined, textType?: (string | null) | undefined} | {[key: string]: unknown}; export type ThumbnailColumn = {[key: string]: unknown}; export type ColumnTypes = 'note' | 'text' | 'choice' | 'multichoice' | 'number' | 'currency' | 'dateTime' | 'lookup' | 'boolean' | 'user' | 'url' | 'calculated' | 'location' | 'geolocation' | 'term' | 'multiterm' | 'thumbnail' | 'approvalStatus' | 'unknownFutureValue'; export type DisplayNameLocalization = {displayName?: (string | null) | undefined, languageTag?: (string | null) | undefined} | {[key: string]: unknown}; export type ColumnValidation = {defaultLanguage?: (string | null) | undefined, descriptions?: Array | undefined, formula?: (string | null) | undefined} | {[key: string]: unknown}; export type ColumnDefinition = {id?: string | undefined, boolean?: BooleanColumn | undefined, calculated?: CalculatedColumn | undefined, choice?: ChoiceColumn | undefined, columnGroup?: (string | null) | undefined, contentApprovalStatus?: ContentApprovalStatusColumn | undefined, currency?: CurrencyColumn | undefined, dateTime?: DateTimeColumn | undefined, defaultValue?: DefaultColumnValue | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, enforceUniqueValues?: (boolean | null) | undefined, geolocation?: GeolocationColumn | undefined, hidden?: (boolean | null) | undefined, hyperlinkOrPicture?: HyperlinkOrPictureColumn | undefined, indexed?: (boolean | null) | undefined, isDeletable?: (boolean | null) | undefined, isReorderable?: (boolean | null) | undefined, isSealed?: (boolean | null) | undefined, lookup?: LookupColumn | undefined, name?: (string | null) | undefined, number?: NumberColumn | undefined, personOrGroup?: PersonOrGroupColumn | undefined, propagateChanges?: (boolean | null) | undefined, readOnly?: (boolean | null) | undefined, required?: (boolean | null) | undefined, sourceContentType?: ContentTypeInfo | undefined, term?: TermColumn | undefined, text?: TextColumn | undefined, thumbnail?: ThumbnailColumn | undefined, type?: ColumnTypes | undefined, validation?: ColumnValidation | undefined, sourceColumn?: ColumnDefinition | undefined} | {[key: string]: unknown}; export type DocumentSetContent = {contentType?: ContentTypeInfo | undefined, fileName?: (string | null) | undefined, folderName?: (string | null) | undefined} | {[key: string]: unknown}; export type DocumentSet = {allowedContentTypes?: Array | undefined, defaultContents?: Array | undefined, propagateWelcomePageChanges?: (boolean | null) | undefined, shouldPrefixNameToFile?: (boolean | null) | undefined, welcomePageUrl?: (string | null) | undefined, sharedColumns?: Array | undefined, welcomePageColumns?: Array | undefined} | {[key: string]: unknown}; export type ContentTypeOrder = {default?: (boolean | null) | undefined, position?: (number | null) | undefined} | {[key: string]: unknown}; export type ColumnLink = {id?: string | undefined, name?: (string | null) | undefined} | {[key: string]: unknown}; export type ContentType = {id?: string | undefined, associatedHubsUrls?: (Array) | undefined, description?: (string | null) | undefined, documentSet?: DocumentSet | undefined, documentTemplate?: DocumentSetContent | undefined, group?: (string | null) | undefined, hidden?: (boolean | null) | undefined, inheritedFrom?: ItemReference | undefined, isBuiltIn?: (boolean | null) | undefined, name?: (string | null) | undefined, order?: ContentTypeOrder | undefined, parentId?: (string | null) | undefined, propagateChanges?: (boolean | null) | undefined, readOnly?: (boolean | null) | undefined, sealed?: (boolean | null) | undefined, base?: ContentType | undefined, baseTypes?: Array | undefined, columnLinks?: Array | undefined, columnPositions?: Array | undefined, columns?: Array | undefined} | {[key: string]: unknown}; export type ItemActionStat = {actionCount?: (number | null) | undefined, actorCount?: (number | null) | undefined} | {[key: string]: unknown}; export type IncompleteData = {missingDataBeforeDateTime?: (string | null) | undefined, wasThrottled?: (boolean | null) | undefined} | {[key: string]: unknown}; export type AccessAction = {[key: string]: unknown}; export type ItemActivity = {id?: string | undefined, access?: AccessAction | undefined, activityDateTime?: (string | null) | undefined, actor?: IdentitySet | undefined, driveItem?: DriveItem | undefined} | {[key: string]: unknown}; export type ItemActivityStat = {id?: string | undefined, access?: ItemActionStat | undefined, create?: ItemActionStat | undefined, delete?: ItemActionStat | undefined, edit?: ItemActionStat | undefined, endDateTime?: (string | null) | undefined, incompleteData?: IncompleteData | undefined, isTrending?: (boolean | null) | undefined, move?: ItemActionStat | undefined, startDateTime?: (string | null) | undefined, activities?: Array | undefined} | {[key: string]: unknown}; export type ItemAnalytics = {id?: string | undefined, allTime?: ItemActivityStat | undefined, itemActivityStats?: Array | undefined, lastSevenDays?: ItemActivityStat | undefined} | {[key: string]: unknown}; export type PublicationFacet = {checkedOutBy?: IdentitySet | undefined, level?: (string | null) | undefined, versionId?: (string | null) | undefined} | {[key: string]: unknown}; export type FieldValueSet = {id?: string | undefined} | {[key: string]: unknown}; export type DocumentSetVersionItem = {itemId?: (string | null) | undefined, title?: (string | null) | undefined, versionId?: (string | null) | undefined} | {[key: string]: unknown}; export type DocumentSetVersion = {id?: string | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, publication?: PublicationFacet | undefined, fields?: FieldValueSet | undefined, comment?: (string | null) | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, items?: Array | undefined, shouldCaptureMinorVersion?: (boolean | null) | undefined} | {[key: string]: unknown}; export type ListItemVersion = {id?: string | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, publication?: PublicationFacet | undefined, fields?: FieldValueSet | undefined} | {[key: string]: unknown}; export type ListItem = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, contentType?: ContentTypeInfo | undefined, sharepointIds?: SharepointIds | undefined, analytics?: ItemAnalytics | undefined, documentSetVersions?: Array | undefined, driveItem?: DriveItem | undefined, fields?: FieldValueSet | undefined, versions?: Array | undefined} | {[key: string]: unknown}; export type LongRunningOperationStatus = 'notStarted' | 'running' | 'succeeded' | 'failed' | 'unknownFutureValue'; export type PublicErrorDetail = {code?: (string | null) | undefined, message?: (string | null) | undefined, target?: (string | null) | undefined} | {[key: string]: unknown}; export type PublicInnerError = {code?: (string | null) | undefined, details?: Array | undefined, message?: (string | null) | undefined, target?: (string | null) | undefined} | {[key: string]: unknown}; export type PublicError = {code?: (string | null) | undefined, details?: Array | undefined, innerError?: PublicInnerError | undefined, message?: (string | null) | undefined, target?: (string | null) | undefined} | {[key: string]: unknown}; export type RichLongRunningOperation = {id?: string | undefined, createdDateTime?: (string | null) | undefined, lastActionDateTime?: (string | null) | undefined, resourceLocation?: (string | null) | undefined, status?: LongRunningOperationStatus | undefined, statusDetail?: (string | null) | undefined, error?: PublicError | undefined, percentageComplete?: (number | null) | undefined, resourceId?: (string | null) | undefined, type?: (string | null) | undefined} | {[key: string]: unknown}; export type Subscription = {id?: string | undefined, applicationId?: (string | null) | undefined, changeType?: string | undefined, clientState?: (string | null) | undefined, creatorId?: (string | null) | undefined, encryptionCertificate?: (string | null) | undefined, encryptionCertificateId?: (string | null) | undefined, expirationDateTime?: string | undefined, includeResourceData?: (boolean | null) | undefined, latestSupportedTlsVersion?: (string | null) | undefined, lifecycleNotificationUrl?: (string | null) | undefined, notificationQueryOptions?: (string | null) | undefined, notificationUrl?: string | undefined, notificationUrlAppId?: (string | null) | undefined, resource?: string | undefined} | {[key: string]: unknown}; export type List = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, displayName?: (string | null) | undefined, list?: ListInfo | undefined, sharepointIds?: SharepointIds | undefined, system?: SystemFacet | undefined, columns?: Array | undefined, contentTypes?: Array | undefined, drive?: Drive | undefined, items?: Array | undefined, operations?: Array | undefined, subscriptions?: Array | undefined} | {[key: string]: unknown}; export type Drive = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, driveType?: (string | null) | undefined, owner?: IdentitySet | undefined, quota?: Quota | undefined, sharePointIds?: SharepointIds | undefined, system?: SystemFacet | undefined, bundles?: Array | undefined, following?: Array | undefined, items?: Array | undefined, list?: List | undefined, root?: DriveItem | undefined, special?: Array | undefined} | {[key: string]: unknown}; export type GroupLifecyclePolicy = {id?: string | undefined, alternateNotificationEmails?: (string | null) | undefined, groupLifetimeInDays?: (number | null) | undefined, managedGroupTypes?: (string | null) | undefined} | {[key: string]: unknown}; export type ExternalLink = {href?: (string | null) | undefined} | {[key: string]: unknown}; export type NotebookLinks = {oneNoteClientUrl?: ExternalLink | undefined, oneNoteWebUrl?: ExternalLink | undefined} | {[key: string]: unknown}; export type OnenoteUserRole = 'None' | 'Owner' | 'Contributor' | 'Reader'; export type SectionLinks = {oneNoteClientUrl?: ExternalLink | undefined, oneNoteWebUrl?: ExternalLink | undefined} | {[key: string]: unknown}; export type PageLinks = {oneNoteClientUrl?: ExternalLink | undefined, oneNoteWebUrl?: ExternalLink | undefined} | {[key: string]: unknown}; export type OnenotePage = {id?: string | undefined, self?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, content?: (unknown | null) | undefined, contentUrl?: (string | null) | undefined, createdByAppId?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, level?: (number | null) | undefined, links?: PageLinks | undefined, order?: (number | null) | undefined, title?: (string | null) | undefined, userTags?: (Array) | undefined, parentNotebook?: Notebook | undefined, parentSection?: OnenoteSection | undefined} | {[key: string]: unknown}; export type OnenoteSection = {id?: string | undefined, self?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, createdBy?: IdentitySet | undefined, displayName?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, isDefault?: (boolean | null) | undefined, links?: SectionLinks | undefined, pagesUrl?: (string | null) | undefined, pages?: Array | undefined, parentNotebook?: Notebook | undefined, parentSectionGroup?: SectionGroup | undefined} | {[key: string]: unknown}; export type SectionGroup = {id?: string | undefined, self?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, createdBy?: IdentitySet | undefined, displayName?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, sectionGroupsUrl?: (string | null) | undefined, sectionsUrl?: (string | null) | undefined, parentNotebook?: Notebook | undefined, parentSectionGroup?: SectionGroup | undefined, sectionGroups?: Array | undefined, sections?: Array | undefined} | {[key: string]: unknown}; export type Notebook = {id?: string | undefined, self?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, createdBy?: IdentitySet | undefined, displayName?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, isDefault?: (boolean | null) | undefined, isShared?: (boolean | null) | undefined, links?: NotebookLinks | undefined, sectionGroupsUrl?: (string | null) | undefined, sectionsUrl?: (string | null) | undefined, userRole?: OnenoteUserRole | undefined, sectionGroups?: Array | undefined, sections?: Array | undefined} | {[key: string]: unknown}; export type OperationStatus = 'NotStarted' | 'Running' | 'Completed' | 'Failed'; export type OnenoteOperationError = {code?: (string | null) | undefined, message?: (string | null) | undefined} | {[key: string]: unknown}; export type OnenoteOperation = {id?: string | undefined, createdDateTime?: (string | null) | undefined, lastActionDateTime?: (string | null) | undefined, status?: OperationStatus | undefined, error?: OnenoteOperationError | undefined, percentComplete?: (string | null) | undefined, resourceId?: (string | null) | undefined, resourceLocation?: (string | null) | undefined} | {[key: string]: unknown}; export type OnenoteResource = {id?: string | undefined, self?: (string | null) | undefined, content?: (unknown | null) | undefined, contentUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type Onenote = {id?: string | undefined, notebooks?: Array | undefined, operations?: Array | undefined, pages?: Array | undefined, resources?: Array | undefined, sectionGroups?: Array | undefined, sections?: Array | undefined} | {[key: string]: unknown}; export type ResourceSpecificPermissionGrant = {id?: string | undefined, deletedDateTime?: (string | null) | undefined, clientAppId?: (string | null) | undefined, clientId?: (string | null) | undefined, permission?: (string | null) | undefined, permissionType?: (string | null) | undefined, resourceAppId?: (string | null) | undefined} | {[key: string]: unknown}; export type ProfilePhoto = {id?: string | undefined, height?: (number | null) | undefined, width?: (number | null) | undefined} | {[key: string]: unknown}; export type PlannerContainerType = 'group' | 'unknownFutureValue' | 'roster'; export type PlannerPlanContainer = {containerId?: (string | null) | undefined, type?: PlannerContainerType | undefined, url?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerAppliedCategories = {[key: string]: unknown}; export type PlannerAssignments = {[key: string]: unknown}; export type PlannerPreviewType = 'automatic' | 'noPreview' | 'checklist' | 'description' | 'reference'; export type PlannerOrderHintsByAssignee = {[key: string]: unknown}; export type PlannerAssignedToTaskBoardTaskFormat = {id?: string | undefined, orderHintsByAssignee?: PlannerOrderHintsByAssignee | undefined, unassignedOrderHint?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerBucketTaskBoardTaskFormat = {id?: string | undefined, orderHint?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerChecklistItems = {[key: string]: unknown}; export type PlannerExternalReferences = {[key: string]: unknown}; export type PlannerTaskDetails = {id?: string | undefined, checklist?: PlannerChecklistItems | undefined, description?: (string | null) | undefined, previewType?: PlannerPreviewType | undefined, references?: PlannerExternalReferences | undefined} | {[key: string]: unknown}; export type PlannerProgressTaskBoardTaskFormat = {id?: string | undefined, orderHint?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerTask = {id?: string | undefined, activeChecklistItemCount?: (number | null) | undefined, appliedCategories?: PlannerAppliedCategories | undefined, assigneePriority?: (string | null) | undefined, assignments?: PlannerAssignments | undefined, bucketId?: (string | null) | undefined, checklistItemCount?: (number | null) | undefined, completedBy?: IdentitySet | undefined, completedDateTime?: (string | null) | undefined, conversationThreadId?: (string | null) | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, dueDateTime?: (string | null) | undefined, hasDescription?: (boolean | null) | undefined, orderHint?: (string | null) | undefined, percentComplete?: (number | null) | undefined, planId?: (string | null) | undefined, previewType?: PlannerPreviewType | undefined, priority?: (number | null) | undefined, referenceCount?: (number | null) | undefined, startDateTime?: (string | null) | undefined, title?: string | undefined, assignedToTaskBoardFormat?: PlannerAssignedToTaskBoardTaskFormat | undefined, bucketTaskBoardFormat?: PlannerBucketTaskBoardTaskFormat | undefined, details?: PlannerTaskDetails | undefined, progressTaskBoardFormat?: PlannerProgressTaskBoardTaskFormat | undefined} | {[key: string]: unknown}; export type PlannerBucket = {id?: string | undefined, name?: string | undefined, orderHint?: (string | null) | undefined, planId?: (string | null) | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type PlannerCategoryDescriptions = {category1?: (string | null) | undefined, category10?: (string | null) | undefined, category11?: (string | null) | undefined, category12?: (string | null) | undefined, category13?: (string | null) | undefined, category14?: (string | null) | undefined, category15?: (string | null) | undefined, category16?: (string | null) | undefined, category17?: (string | null) | undefined, category18?: (string | null) | undefined, category19?: (string | null) | undefined, category2?: (string | null) | undefined, category20?: (string | null) | undefined, category21?: (string | null) | undefined, category22?: (string | null) | undefined, category23?: (string | null) | undefined, category24?: (string | null) | undefined, category25?: (string | null) | undefined, category3?: (string | null) | undefined, category4?: (string | null) | undefined, category5?: (string | null) | undefined, category6?: (string | null) | undefined, category7?: (string | null) | undefined, category8?: (string | null) | undefined, category9?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerUserIds = {[key: string]: unknown}; export type PlannerPlanDetails = {id?: string | undefined, categoryDescriptions?: PlannerCategoryDescriptions | undefined, sharedWith?: PlannerUserIds | undefined} | {[key: string]: unknown}; export type PlannerPlan = {id?: string | undefined, container?: PlannerPlanContainer | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, owner?: (string | null) | undefined, title?: string | undefined, buckets?: Array | undefined, details?: PlannerPlanDetails | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type PlannerGroup = {id?: string | undefined, plans?: Array | undefined} | {[key: string]: unknown}; export type SettingValue = {name?: (string | null) | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type GroupSetting = {id?: string | undefined, displayName?: (string | null) | undefined, templateId?: (string | null) | undefined, values?: Array | undefined} | {[key: string]: unknown}; export type Root = {[key: string]: unknown}; export type SiteArchiveStatus = 'recentlyArchived' | 'fullyArchived' | 'reactivating' | 'unknownFutureValue'; export type SiteArchivalDetails = {archiveStatus?: SiteArchiveStatus | undefined} | {[key: string]: unknown}; export type SiteCollection = {archivalDetails?: SiteArchivalDetails | undefined, dataLocationCode?: (string | null) | undefined, hostname?: (string | null) | undefined, root?: Root | undefined} | {[key: string]: unknown}; export type BaseItem = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined} | {[key: string]: unknown}; export type PageLayoutType = 'microsoftReserved' | 'article' | 'home' | 'unknownFutureValue'; export type BaseSitePage = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, pageLayout?: PageLayoutType | undefined, publishingState?: PublicationFacet | undefined, title?: (string | null) | undefined} | {[key: string]: unknown}; export type SharePointIdentity = {displayName?: (string | null) | undefined, id?: (string | null) | undefined, loginName?: (string | null) | undefined} | {[key: string]: unknown}; export type SharePointIdentitySet = {application?: Identity | undefined, device?: Identity | undefined, user?: Identity | undefined, group?: Identity | undefined, siteGroup?: SharePointIdentity | undefined, siteUser?: SharePointIdentity | undefined} | {[key: string]: unknown}; export type SharingInvitation = {email?: (string | null) | undefined, invitedBy?: IdentitySet | undefined, redeemedBy?: (string | null) | undefined, signInRequired?: (boolean | null) | undefined} | {[key: string]: unknown}; export type SharingLink = {application?: Identity | undefined, preventsDownload?: (boolean | null) | undefined, scope?: (string | null) | undefined, type?: (string | null) | undefined, webHtml?: (string | null) | undefined, webUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type Permission = {id?: string | undefined, expirationDateTime?: (string | null) | undefined, grantedTo?: IdentitySet | undefined, grantedToIdentities?: Array | undefined, grantedToIdentitiesV2?: Array | undefined, grantedToV2?: SharePointIdentitySet | undefined, hasPassword?: (boolean | null) | undefined, inheritedFrom?: ItemReference | undefined, invitation?: SharingInvitation | undefined, link?: SharingLink | undefined, roles?: (Array) | undefined, shareId?: (string | null) | undefined} | {[key: string]: unknown}; export type TermStoreStore = {id?: string | undefined, defaultLanguageTag?: string | undefined, languageTags?: Array | undefined, groups?: Array | undefined, sets?: Array | undefined} | {[key: string]: unknown}; export type Site = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, displayName?: (string | null) | undefined, error?: PublicError | undefined, isPersonalSite?: (boolean | null) | undefined, root?: Root | undefined, sharepointIds?: SharepointIds | undefined, siteCollection?: SiteCollection | undefined, analytics?: ItemAnalytics | undefined, columns?: Array | undefined, contentTypes?: Array | undefined, drive?: Drive | undefined, drives?: Array | undefined, externalColumns?: Array | undefined, items?: Array | undefined, lists?: Array | undefined, onenote?: Onenote | undefined, operations?: Array | undefined, pages?: Array | undefined, permissions?: Array | undefined, sites?: Array | undefined, termStore?: TermStoreStore | undefined, termStores?: Array | undefined} | {[key: string]: unknown}; export type GiphyRatingType = 'strict' | 'moderate' | 'unknownFutureValue'; export type TeamFunSettings = {allowCustomMemes?: (boolean | null) | undefined, allowGiphy?: (boolean | null) | undefined, allowStickersAndMemes?: (boolean | null) | undefined, giphyContentRating?: GiphyRatingType | undefined} | {[key: string]: unknown}; export type TeamGuestSettings = {allowCreateUpdateChannels?: (boolean | null) | undefined, allowDeleteChannels?: (boolean | null) | undefined} | {[key: string]: unknown}; export type TeamMemberSettings = {allowAddRemoveApps?: (boolean | null) | undefined, allowCreatePrivateChannels?: (boolean | null) | undefined, allowCreateUpdateChannels?: (boolean | null) | undefined, allowCreateUpdateRemoveConnectors?: (boolean | null) | undefined, allowCreateUpdateRemoveTabs?: (boolean | null) | undefined, allowDeleteChannels?: (boolean | null) | undefined} | {[key: string]: unknown}; export type TeamMessagingSettings = {allowChannelMentions?: (boolean | null) | undefined, allowOwnerDeleteMessages?: (boolean | null) | undefined, allowTeamMentions?: (boolean | null) | undefined, allowUserDeleteMessages?: (boolean | null) | undefined, allowUserEditMessages?: (boolean | null) | undefined} | {[key: string]: unknown}; export type TeamSpecialization = 'none' | 'educationStandard' | 'educationClass' | 'educationProfessionalLearningCommunity' | 'educationStaff' | 'healthcareStandard' | 'healthcareCareCoordination' | 'unknownFutureValue'; export type TeamSummary = {guestsCount?: (number | null) | undefined, membersCount?: (number | null) | undefined, ownersCount?: (number | null) | undefined} | {[key: string]: unknown}; export type TeamVisibilityType = 'private' | 'public' | 'hiddenMembership' | 'unknownFutureValue'; export type ChannelMembershipType = 'standard' | 'private' | 'unknownFutureValue' | 'shared'; export type ChannelSummary = {guestsCount?: (number | null) | undefined, hasMembersFromOtherTenants?: (boolean | null) | undefined, membersCount?: (number | null) | undefined, ownersCount?: (number | null) | undefined} | {[key: string]: unknown}; export type ConversationMember = {id?: string | undefined, displayName?: (string | null) | undefined, roles?: (Array) | undefined, visibleHistoryStartDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type ChatMessageAttachment = {content?: (string | null) | undefined, contentType?: (string | null) | undefined, contentUrl?: (string | null) | undefined, id?: (string | null) | undefined, name?: (string | null) | undefined, teamsAppId?: (string | null) | undefined, thumbnailUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type ChannelIdentity = {channelId?: (string | null) | undefined, teamId?: (string | null) | undefined} | {[key: string]: unknown}; export type EventMessageDetail = {[key: string]: unknown}; export type ChatMessageFromIdentitySet = {application?: Identity | undefined, device?: Identity | undefined, user?: Identity | undefined} | {[key: string]: unknown}; export type ChatMessageImportance = 'normal' | 'high' | 'urgent' | 'unknownFutureValue'; export type TeamworkConversationIdentityType = 'team' | 'channel' | 'chat' | 'unknownFutureValue'; export type TeamworkConversationIdentity = {displayName?: (string | null) | undefined, id?: (string | null) | undefined, conversationIdentityType?: TeamworkConversationIdentityType | undefined} | {[key: string]: unknown}; export type ChatMessageMentionedIdentitySet = {application?: Identity | undefined, device?: Identity | undefined, user?: Identity | undefined, conversation?: TeamworkConversationIdentity | undefined} | {[key: string]: unknown}; export type ChatMessageMention = {id?: (number | null) | undefined, mentioned?: ChatMessageMentionedIdentitySet | undefined, mentionText?: (string | null) | undefined} | {[key: string]: unknown}; export type ChatMessageActions = 'reactionAdded' | 'reactionRemoved' | 'actionUndefined' | 'unknownFutureValue'; export type ChatMessageReactionIdentitySet = {application?: Identity | undefined, device?: Identity | undefined, user?: Identity | undefined} | {[key: string]: unknown}; export type ChatMessageReaction = {createdDateTime?: string | undefined, displayName?: (string | null) | undefined, reactionContentUrl?: (string | null) | undefined, reactionType?: string | undefined, user?: ChatMessageReactionIdentitySet | undefined} | {[key: string]: unknown}; export type ChatMessageHistoryItem = {actions?: ChatMessageActions | undefined, modifiedDateTime?: string | undefined, reaction?: ChatMessageReaction | undefined} | {[key: string]: unknown}; export type ChatMessageType = 'message' | 'chatEvent' | 'typing' | 'unknownFutureValue' | 'systemEventMessage'; export type ChatMessagePolicyViolationDlpActionTypes = 'none' | 'notifySender' | 'blockAccess' | 'blockAccessExternal'; export type ChatMessagePolicyViolationPolicyTip = {complianceUrl?: (string | null) | undefined, generalText?: (string | null) | undefined, matchedConditionDescriptions?: (Array) | undefined} | {[key: string]: unknown}; export type ChatMessagePolicyViolationUserActionTypes = 'none' | 'override' | 'reportFalsePositive'; export type ChatMessagePolicyViolationVerdictDetailsTypes = 'none' | 'allowFalsePositiveOverride' | 'allowOverrideWithoutJustification' | 'allowOverrideWithJustification'; export type ChatMessagePolicyViolation = {dlpAction?: ChatMessagePolicyViolationDlpActionTypes | undefined, justificationText?: (string | null) | undefined, policyTip?: ChatMessagePolicyViolationPolicyTip | undefined, userAction?: ChatMessagePolicyViolationUserActionTypes | undefined, verdictDetails?: ChatMessagePolicyViolationVerdictDetailsTypes | undefined} | {[key: string]: unknown}; export type ChatMessageHostedContent = {id?: string | undefined, contentBytes?: (unknown | null) | undefined, contentType?: (string | null) | undefined} | {[key: string]: unknown}; export type ChatMessage = {id?: string | undefined, attachments?: Array | undefined, body?: ItemBody | undefined, channelIdentity?: ChannelIdentity | undefined, chatId?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, deletedDateTime?: (string | null) | undefined, etag?: (string | null) | undefined, eventDetail?: EventMessageDetail | undefined, from?: ChatMessageFromIdentitySet | undefined, importance?: ChatMessageImportance | undefined, lastEditedDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, locale?: string | undefined, mentions?: Array | undefined, messageHistory?: Array | undefined, messageType?: ChatMessageType | undefined, policyViolation?: ChatMessagePolicyViolation | undefined, reactions?: Array | undefined, replyToId?: (string | null) | undefined, subject?: (string | null) | undefined, summary?: (string | null) | undefined, webUrl?: (string | null) | undefined, hostedContents?: Array | undefined, replies?: Array | undefined} | {[key: string]: unknown}; export type SharedWithChannelTeamInfo = {id?: string | undefined, displayName?: (string | null) | undefined, tenantId?: (string | null) | undefined, team?: Team | undefined, isHostTeam?: (boolean | null) | undefined, allowedMembers?: Array | undefined} | {[key: string]: unknown}; export type TeamsTabConfiguration = {contentUrl?: (string | null) | undefined, entityId?: (string | null) | undefined, removeUrl?: (string | null) | undefined, websiteUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type TeamsAppDistributionMethod = 'store' | 'organization' | 'sideloaded' | 'unknownFutureValue'; export type TeamsAppResourceSpecificPermissionType = 'delegated' | 'application' | 'unknownFutureValue'; export type TeamsAppResourceSpecificPermission = {permissionType?: TeamsAppResourceSpecificPermissionType | undefined, permissionValue?: (string | null) | undefined} | {[key: string]: unknown}; export type TeamsAppPermissionSet = {resourceSpecificPermissions?: Array | undefined} | {[key: string]: unknown}; export type TeamsAppAuthorization = {clientAppId?: (string | null) | undefined, requiredPermissionSet?: TeamsAppPermissionSet | undefined} | {[key: string]: unknown}; export type TeamsAppPublishingState = 'submitted' | 'rejected' | 'published' | 'unknownFutureValue'; export type TeamworkBot = {id?: string | undefined} | {[key: string]: unknown}; export type TeamsAppDefinition = {id?: string | undefined, authorization?: TeamsAppAuthorization | undefined, createdBy?: IdentitySet | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, publishingState?: TeamsAppPublishingState | undefined, shortDescription?: (string | null) | undefined, teamsAppId?: (string | null) | undefined, version?: (string | null) | undefined, bot?: TeamworkBot | undefined} | {[key: string]: unknown}; export type TeamsApp = {id?: string | undefined, displayName?: (string | null) | undefined, distributionMethod?: TeamsAppDistributionMethod | undefined, externalId?: (string | null) | undefined, appDefinitions?: Array | undefined} | {[key: string]: unknown}; export type TeamsTab = {id?: string | undefined, configuration?: TeamsTabConfiguration | undefined, displayName?: (string | null) | undefined, webUrl?: (string | null) | undefined, teamsApp?: TeamsApp | undefined} | {[key: string]: unknown}; export type Channel = {id?: string | undefined, createdDateTime?: (string | null) | undefined, description?: (string | null) | undefined, displayName?: string | undefined, email?: (string | null) | undefined, isArchived?: (boolean | null) | undefined, isFavoriteByDefault?: (boolean | null) | undefined, membershipType?: ChannelMembershipType | undefined, summary?: ChannelSummary | undefined, tenantId?: (string | null) | undefined, webUrl?: (string | null) | undefined, allMembers?: Array | undefined, filesFolder?: DriveItem | undefined, members?: Array | undefined, messages?: Array | undefined, sharedWithTeams?: Array | undefined, tabs?: Array | undefined} | {[key: string]: unknown}; export type TeamsAppInstallation = {id?: string | undefined, consentedPermissionSet?: TeamsAppPermissionSet | undefined, teamsApp?: TeamsApp | undefined, teamsAppDefinition?: TeamsAppDefinition | undefined} | {[key: string]: unknown}; export type OperationError = {code?: (string | null) | undefined, message?: (string | null) | undefined} | {[key: string]: unknown}; export type TeamsAsyncOperationType = 'invalid' | 'cloneTeam' | 'archiveTeam' | 'unarchiveTeam' | 'createTeam' | 'unknownFutureValue' | 'teamifyGroup' | 'createChannel' | 'archiveChannel' | 'unarchiveChannel'; export type TeamsAsyncOperationStatus = 'invalid' | 'notStarted' | 'inProgress' | 'succeeded' | 'failed' | 'unknownFutureValue'; export type TeamsAsyncOperation = {id?: string | undefined, attemptsCount?: number | undefined, createdDateTime?: string | undefined, error?: OperationError | undefined, lastActionDateTime?: string | undefined, operationType?: TeamsAsyncOperationType | undefined, status?: TeamsAsyncOperationStatus | undefined, targetResourceId?: (string | null) | undefined, targetResourceLocation?: (string | null) | undefined} | {[key: string]: unknown}; export type GeoCoordinates = {altitude?: (number | null) | undefined, latitude?: (number | null) | undefined, longitude?: (number | null) | undefined} | {[key: string]: unknown}; export type TimeClockSettings = {approvedLocation?: GeoCoordinates | undefined} | {[key: string]: unknown}; export type DayNote = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, dayNoteDate?: (string | null) | undefined, draftDayNote?: ItemBody | undefined, sharedDayNote?: ItemBody | undefined} | {[key: string]: unknown}; export type ScheduleChangeRequestActor = 'sender' | 'recipient' | 'manager' | 'system' | 'unknownFutureValue'; export type ScheduleChangeState = 'pending' | 'approved' | 'declined' | 'unknownFutureValue'; export type OfferShiftRequest = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, assignedTo?: ScheduleChangeRequestActor | undefined, managerActionDateTime?: (string | null) | undefined, managerActionMessage?: (string | null) | undefined, managerUserId?: (string | null) | undefined, senderDateTime?: (string | null) | undefined, senderMessage?: (string | null) | undefined, senderUserId?: (string | null) | undefined, state?: ScheduleChangeState | undefined, recipientActionDateTime?: (string | null) | undefined, recipientActionMessage?: (string | null) | undefined, recipientUserId?: (string | null) | undefined, senderShiftId?: (string | null) | undefined} | {[key: string]: unknown}; export type OpenShiftChangeRequest = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, assignedTo?: ScheduleChangeRequestActor | undefined, managerActionDateTime?: (string | null) | undefined, managerActionMessage?: (string | null) | undefined, managerUserId?: (string | null) | undefined, senderDateTime?: (string | null) | undefined, senderMessage?: (string | null) | undefined, senderUserId?: (string | null) | undefined, state?: ScheduleChangeState | undefined, openShiftId?: (string | null) | undefined} | {[key: string]: unknown}; export type ScheduleEntityTheme = 'white' | 'blue' | 'green' | 'purple' | 'pink' | 'yellow' | 'gray' | 'darkBlue' | 'darkGreen' | 'darkPurple' | 'darkPink' | 'darkYellow' | 'unknownFutureValue'; export type ShiftActivity = {code?: (string | null) | undefined, displayName?: (string | null) | undefined, endDateTime?: (string | null) | undefined, isPaid?: (boolean | null) | undefined, startDateTime?: (string | null) | undefined, theme?: ScheduleEntityTheme | undefined} | {[key: string]: unknown}; export type OpenShiftItem = {endDateTime?: (string | null) | undefined, startDateTime?: (string | null) | undefined, theme?: ScheduleEntityTheme | undefined, activities?: Array | undefined, displayName?: (string | null) | undefined, notes?: (string | null) | undefined, openSlotCount?: number | undefined} | {[key: string]: unknown}; export type OpenShift = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, draftOpenShift?: OpenShiftItem | undefined, isStagedForDeletion?: (boolean | null) | undefined, schedulingGroupId?: (string | null) | undefined, sharedOpenShift?: OpenShiftItem | undefined} | {[key: string]: unknown}; export type SchedulingGroup = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, code?: (string | null) | undefined, displayName?: (string | null) | undefined, isActive?: (boolean | null) | undefined, userIds?: (Array) | undefined} | {[key: string]: unknown}; export type ShiftItem = {endDateTime?: (string | null) | undefined, startDateTime?: (string | null) | undefined, theme?: ScheduleEntityTheme | undefined, activities?: Array | undefined, displayName?: (string | null) | undefined, notes?: (string | null) | undefined} | {[key: string]: unknown}; export type Shift = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, draftShift?: ShiftItem | undefined, isStagedForDeletion?: (boolean | null) | undefined, schedulingGroupId?: (string | null) | undefined, sharedShift?: ShiftItem | undefined, userId?: (string | null) | undefined} | {[key: string]: unknown}; export type SwapShiftsChangeRequest = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, assignedTo?: ScheduleChangeRequestActor | undefined, managerActionDateTime?: (string | null) | undefined, managerActionMessage?: (string | null) | undefined, managerUserId?: (string | null) | undefined, senderDateTime?: (string | null) | undefined, senderMessage?: (string | null) | undefined, senderUserId?: (string | null) | undefined, state?: ScheduleChangeState | undefined, recipientActionDateTime?: (string | null) | undefined, recipientActionMessage?: (string | null) | undefined, recipientUserId?: (string | null) | undefined, senderShiftId?: (string | null) | undefined, recipientShiftId?: (string | null) | undefined} | {[key: string]: unknown}; export type TimeCardEvent = {dateTime?: string | undefined, isAtApprovedLocation?: (boolean | null) | undefined, notes?: ItemBody | undefined} | {[key: string]: unknown}; export type TimeCardBreak = {breakId?: (string | null) | undefined, end?: TimeCardEvent | undefined, notes?: ItemBody | undefined, start?: TimeCardEvent | undefined} | {[key: string]: unknown}; export type ConfirmedBy = 'none' | 'user' | 'manager' | 'unknownFutureValue'; export type TimeCardEntry = {breaks?: Array | undefined, clockInEvent?: TimeCardEvent | undefined, clockOutEvent?: TimeCardEvent | undefined} | {[key: string]: unknown}; export type TimeCardState = 'clockedIn' | 'onBreak' | 'clockedOut' | 'unknownFutureValue'; export type TimeCard = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, breaks?: Array | undefined, clockInEvent?: TimeCardEvent | undefined, clockOutEvent?: TimeCardEvent | undefined, confirmedBy?: ConfirmedBy | undefined, notes?: ItemBody | undefined, originalEntry?: TimeCardEntry | undefined, state?: TimeCardState | undefined, userId?: (string | null) | undefined} | {[key: string]: unknown}; export type TimeOffReasonIconType = 'none' | 'car' | 'calendar' | 'running' | 'plane' | 'firstAid' | 'doctor' | 'notWorking' | 'clock' | 'juryDuty' | 'globe' | 'cup' | 'phone' | 'weather' | 'umbrella' | 'piggyBank' | 'dog' | 'cake' | 'trafficCone' | 'pin' | 'sunny' | 'unknownFutureValue'; export type TimeOffReason = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, code?: (string | null) | undefined, displayName?: (string | null) | undefined, iconType?: TimeOffReasonIconType | undefined, isActive?: (boolean | null) | undefined} | {[key: string]: unknown}; export type TimeOffRequest = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, assignedTo?: ScheduleChangeRequestActor | undefined, managerActionDateTime?: (string | null) | undefined, managerActionMessage?: (string | null) | undefined, managerUserId?: (string | null) | undefined, senderDateTime?: (string | null) | undefined, senderMessage?: (string | null) | undefined, senderUserId?: (string | null) | undefined, state?: ScheduleChangeState | undefined, endDateTime?: (string | null) | undefined, startDateTime?: (string | null) | undefined, timeOffReasonId?: (string | null) | undefined} | {[key: string]: unknown}; export type TimeOffItem = {endDateTime?: (string | null) | undefined, startDateTime?: (string | null) | undefined, theme?: ScheduleEntityTheme | undefined, timeOffReasonId?: (string | null) | undefined} | {[key: string]: unknown}; export type TimeOff = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, draftTimeOff?: TimeOffItem | undefined, isStagedForDeletion?: (boolean | null) | undefined, sharedTimeOff?: TimeOffItem | undefined, userId?: (string | null) | undefined} | {[key: string]: unknown}; export type Schedule = {id?: string | undefined, enabled?: (boolean | null) | undefined, isActivitiesIncludedWhenCopyingShiftsEnabled?: (boolean | null) | undefined, offerShiftRequestsEnabled?: (boolean | null) | undefined, openShiftsEnabled?: (boolean | null) | undefined, provisionStatus?: OperationStatus | undefined, provisionStatusCode?: (string | null) | undefined, startDayOfWeek?: DayOfWeek | undefined, swapShiftsRequestsEnabled?: (boolean | null) | undefined, timeClockEnabled?: (boolean | null) | undefined, timeClockSettings?: TimeClockSettings | undefined, timeOffRequestsEnabled?: (boolean | null) | undefined, timeZone?: (string | null) | undefined, workforceIntegrationIds?: (Array) | undefined, dayNotes?: Array | undefined, offerShiftRequests?: Array | undefined, openShiftChangeRequests?: Array | undefined, openShifts?: Array | undefined, schedulingGroups?: Array | undefined, shifts?: Array | undefined, swapShiftsChangeRequests?: Array | undefined, timeCards?: Array | undefined, timeOffReasons?: Array | undefined, timeOffRequests?: Array | undefined, timesOff?: Array | undefined} | {[key: string]: unknown}; export type TeamworkTagType = 'standard' | 'unknownFutureValue'; export type TeamworkTagMember = {id?: string | undefined, displayName?: (string | null) | undefined, tenantId?: (string | null) | undefined, userId?: (string | null) | undefined} | {[key: string]: unknown}; export type TeamworkTag = {id?: string | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, memberCount?: (number | null) | undefined, tagType?: TeamworkTagType | undefined, teamId?: (string | null) | undefined, members?: Array | undefined} | {[key: string]: unknown}; export type TeamsTemplate = {id?: string | undefined} | {[key: string]: unknown}; export type Team = {id?: string | undefined, classification?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, firstChannelName?: (string | null) | undefined, funSettings?: TeamFunSettings | undefined, guestSettings?: TeamGuestSettings | undefined, internalId?: (string | null) | undefined, isArchived?: (boolean | null) | undefined, memberSettings?: TeamMemberSettings | undefined, messagingSettings?: TeamMessagingSettings | undefined, specialization?: TeamSpecialization | undefined, summary?: TeamSummary | undefined, tenantId?: (string | null) | undefined, visibility?: TeamVisibilityType | undefined, webUrl?: (string | null) | undefined, allChannels?: Array | undefined, channels?: Array | undefined, group?: Group | undefined, incomingChannels?: Array | undefined, installedApps?: Array | undefined, members?: Array | undefined, operations?: Array | undefined, permissionGrants?: Array | undefined, photo?: ProfilePhoto | undefined, primaryChannel?: Channel | undefined, schedule?: Schedule | undefined, tags?: Array | undefined, template?: TeamsTemplate | undefined} | {[key: string]: unknown}; export type Group = {id?: string | undefined, deletedDateTime?: (string | null) | undefined, allowExternalSenders?: (boolean | null) | undefined, assignedLabels?: Array | undefined, assignedLicenses?: Array | undefined, autoSubscribeNewMembers?: (boolean | null) | undefined, classification?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, expirationDateTime?: (string | null) | undefined, groupTypes?: Array | undefined, hasMembersWithLicenseErrors?: (boolean | null) | undefined, hideFromAddressLists?: (boolean | null) | undefined, hideFromOutlookClients?: (boolean | null) | undefined, isArchived?: (boolean | null) | undefined, isAssignableToRole?: (boolean | null) | undefined, isManagementRestricted?: (boolean | null) | undefined, isSubscribedByMail?: (boolean | null) | undefined, licenseProcessingState?: LicenseProcessingState | undefined, mail?: (string | null) | undefined, mailEnabled?: (boolean | null) | undefined, mailNickname?: (string | null) | undefined, membershipRule?: (string | null) | undefined, membershipRuleProcessingState?: (string | null) | undefined, onPremisesDomainName?: (string | null) | undefined, onPremisesLastSyncDateTime?: (string | null) | undefined, onPremisesNetBiosName?: (string | null) | undefined, onPremisesProvisioningErrors?: Array | undefined, onPremisesSamAccountName?: (string | null) | undefined, onPremisesSecurityIdentifier?: (string | null) | undefined, onPremisesSyncEnabled?: (boolean | null) | undefined, preferredDataLocation?: (string | null) | undefined, preferredLanguage?: (string | null) | undefined, proxyAddresses?: Array | undefined, renewedDateTime?: (string | null) | undefined, securityEnabled?: (boolean | null) | undefined, securityIdentifier?: (string | null) | undefined, serviceProvisioningErrors?: Array | undefined, theme?: (string | null) | undefined, uniqueName?: (string | null) | undefined, unseenCount?: (number | null) | undefined, visibility?: (string | null) | undefined, acceptedSenders?: Array | undefined, appRoleAssignments?: Array | undefined, calendar?: Calendar | undefined, calendarView?: Array | undefined, conversations?: Array | undefined, createdOnBehalfOf?: DirectoryObject | undefined, drive?: Drive | undefined, drives?: Array | undefined, events?: Array | undefined, extensions?: Array | undefined, groupLifecyclePolicies?: Array | undefined, memberOf?: Array | undefined, members?: Array | undefined, membersWithLicenseErrors?: Array | undefined, onenote?: Onenote | undefined, owners?: Array | undefined, permissionGrants?: Array | undefined, photo?: ProfilePhoto | undefined, photos?: Array | undefined, planner?: PlannerGroup | undefined, rejectedSenders?: Array | undefined, settings?: Array | undefined, sites?: Array | undefined, team?: Team | undefined, threads?: Array | undefined, transitiveMemberOf?: Array | undefined, transitiveMembers?: Array | undefined} | {[key: string]: unknown}; export type PrintConnector = {id?: string | undefined, appVersion?: string | undefined, displayName?: string | undefined, fullyQualifiedDomainName?: string | undefined, location?: PrinterLocation | undefined, operatingSystem?: string | undefined, registeredDateTime?: string | undefined} | {[key: string]: unknown}; export type Printer = {id?: string | undefined, capabilities?: PrinterCapabilities | undefined, defaults?: PrinterDefaults | undefined, displayName?: string | undefined, isAcceptingJobs?: (boolean | null) | undefined, location?: PrinterLocation | undefined, manufacturer?: (string | null) | undefined, model?: (string | null) | undefined, status?: PrinterStatus | undefined, jobs?: Array | undefined, hasPhysicalDevice?: boolean | undefined, isShared?: boolean | undefined, lastSeenDateTime?: (string | null) | undefined, registeredDateTime?: string | undefined, connectors?: Array | undefined, shares?: Array | undefined, taskTriggers?: Array | undefined} | {[key: string]: unknown}; export type PrinterShare = {id?: string | undefined, capabilities?: PrinterCapabilities | undefined, defaults?: PrinterDefaults | undefined, displayName?: string | undefined, isAcceptingJobs?: (boolean | null) | undefined, location?: PrinterLocation | undefined, manufacturer?: (string | null) | undefined, model?: (string | null) | undefined, status?: PrinterStatus | undefined, jobs?: Array | undefined, allowAllUsers?: boolean | undefined, createdDateTime?: string | undefined, viewPoint?: PrinterShareViewpoint | undefined, allowedGroups?: Array | undefined, allowedUsers?: Array | undefined, printer?: Printer | undefined} | {[key: string]: unknown}; export type UserPrint = {recentPrinterShares?: Array | undefined} | {[key: string]: unknown}; export type ProvisionedPlan = {capabilityStatus?: (string | null) | undefined, provisioningStatus?: (string | null) | undefined, service?: (string | null) | undefined} | {[key: string]: unknown}; export type SignInActivity = {lastNonInteractiveSignInDateTime?: (string | null) | undefined, lastNonInteractiveSignInRequestId?: (string | null) | undefined, lastSignInDateTime?: (string | null) | undefined, lastSignInRequestId?: (string | null) | undefined, lastSuccessfulSignInDateTime?: (string | null) | undefined, lastSuccessfulSignInRequestId?: (string | null) | undefined} | {[key: string]: unknown}; export type Json = {[key: string]: unknown}; export type Status = 'active' | 'updated' | 'deleted' | 'ignored' | 'unknownFutureValue'; export type ImageInfo = {addImageQuery?: (boolean | null) | undefined, alternateText?: (string | null) | undefined, alternativeText?: (string | null) | undefined, iconUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type VisualInfo = {attribution?: ImageInfo | undefined, backgroundColor?: (string | null) | undefined, content?: Json | undefined, description?: (string | null) | undefined, displayText?: string | undefined} | {[key: string]: unknown}; export type ActivityHistoryItem = {id?: string | undefined, activeDurationSeconds?: (number | null) | undefined, createdDateTime?: (string | null) | undefined, expirationDateTime?: (string | null) | undefined, lastActiveDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, startedDateTime?: string | undefined, status?: Status | undefined, userTimezone?: (string | null) | undefined, activity?: UserActivity | undefined} | {[key: string]: unknown}; export type UserActivity = {id?: string | undefined, activationUrl?: string | undefined, activitySourceHost?: string | undefined, appActivityId?: string | undefined, appDisplayName?: (string | null) | undefined, contentInfo?: Json | undefined, contentUrl?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, expirationDateTime?: (string | null) | undefined, fallbackUrl?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, status?: Status | undefined, userTimezone?: (string | null) | undefined, visualElements?: VisualInfo | undefined, historyItems?: Array | undefined} | {[key: string]: unknown}; export type AgreementAcceptanceState = 'accepted' | 'declined' | 'unknownFutureValue'; export type AgreementAcceptance = {id?: string | undefined, agreementFileId?: (string | null) | undefined, agreementId?: (string | null) | undefined, deviceDisplayName?: (string | null) | undefined, deviceId?: (string | null) | undefined, deviceOSType?: (string | null) | undefined, deviceOSVersion?: (string | null) | undefined, expirationDateTime?: (string | null) | undefined, recordedDateTime?: (string | null) | undefined, state?: AgreementAcceptanceState | undefined, userDisplayName?: (string | null) | undefined, userEmail?: (string | null) | undefined, userId?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined} | {[key: string]: unknown}; export type EmailAuthenticationMethod = {id?: string | undefined, emailAddress?: (string | null) | undefined} | {[key: string]: unknown}; export type AttestationLevel = 'attested' | 'notAttested' | 'unknownFutureValue'; export type Fido2AuthenticationMethod = {id?: string | undefined, aaGuid?: (string | null) | undefined, attestationCertificates?: (Array) | undefined, attestationLevel?: AttestationLevel | undefined, createdDateTime?: (string | null) | undefined, displayName?: (string | null) | undefined, model?: (string | null) | undefined} | {[key: string]: unknown}; export type AuthenticationMethod = {id?: string | undefined} | {[key: string]: unknown}; export type AlternativeSecurityId = {identityProvider?: (string | null) | undefined, key?: (unknown | null) | undefined, type?: (number | null) | undefined} | {[key: string]: unknown}; export type Device = {id?: string | undefined, deletedDateTime?: (string | null) | undefined, accountEnabled?: (boolean | null) | undefined, alternativeSecurityIds?: Array | undefined, approximateLastSignInDateTime?: (string | null) | undefined, complianceExpirationDateTime?: (string | null) | undefined, deviceCategory?: (string | null) | undefined, deviceId?: (string | null) | undefined, deviceMetadata?: (string | null) | undefined, deviceOwnership?: (string | null) | undefined, deviceVersion?: (number | null) | undefined, displayName?: (string | null) | undefined, enrollmentProfileName?: (string | null) | undefined, enrollmentType?: (string | null) | undefined, isCompliant?: (boolean | null) | undefined, isManaged?: (boolean | null) | undefined, isManagementRestricted?: (boolean | null) | undefined, isRooted?: (boolean | null) | undefined, managementType?: (string | null) | undefined, manufacturer?: (string | null) | undefined, mdmAppId?: (string | null) | undefined, model?: (string | null) | undefined, onPremisesLastSyncDateTime?: (string | null) | undefined, onPremisesSecurityIdentifier?: (string | null) | undefined, onPremisesSyncEnabled?: (boolean | null) | undefined, operatingSystem?: (string | null) | undefined, operatingSystemVersion?: (string | null) | undefined, physicalIds?: Array | undefined, profileType?: (string | null) | undefined, registrationDateTime?: (string | null) | undefined, systemLabels?: Array | undefined, trustType?: (string | null) | undefined, extensions?: Array | undefined, memberOf?: Array | undefined, registeredOwners?: Array | undefined, registeredUsers?: Array | undefined, transitiveMemberOf?: Array | undefined} | {[key: string]: unknown}; export type MicrosoftAuthenticatorAuthenticationMethod = {id?: string | undefined, createdDateTime?: (string | null) | undefined, deviceTag?: (string | null) | undefined, displayName?: (string | null) | undefined, phoneAppVersion?: (string | null) | undefined, device?: Device | undefined} | {[key: string]: unknown}; export type LongRunningOperation = {id?: string | undefined, createdDateTime?: (string | null) | undefined, lastActionDateTime?: (string | null) | undefined, resourceLocation?: (string | null) | undefined, status?: LongRunningOperationStatus | undefined, statusDetail?: (string | null) | undefined} | {[key: string]: unknown}; export type PasswordAuthenticationMethod = {id?: string | undefined, createdDateTime?: (string | null) | undefined, password?: (string | null) | undefined} | {[key: string]: unknown}; export type AuthenticationPhoneType = 'mobile' | 'alternateMobile' | 'office' | 'unknownFutureValue'; export type AuthenticationMethodSignInState = 'notSupported' | 'notAllowedByPolicy' | 'notEnabled' | 'phoneNumberNotUnique' | 'ready' | 'notConfigured' | 'unknownFutureValue'; export type PhoneAuthenticationMethod = {id?: string | undefined, phoneNumber?: (string | null) | undefined, phoneType?: AuthenticationPhoneType | undefined, smsSignInState?: AuthenticationMethodSignInState | undefined} | {[key: string]: unknown}; export type AuthenticationMethodKeyStrength = 'normal' | 'weak' | 'unknown'; export type AuthenticationMethodPlatform = 'unknown' | 'windows' | 'macOS' | 'iOS' | 'android' | 'linux' | 'unknownFutureValue'; export type PlatformCredentialAuthenticationMethod = {id?: string | undefined, createdDateTime?: (string | null) | undefined, displayName?: (string | null) | undefined, keyStrength?: AuthenticationMethodKeyStrength | undefined, platform?: AuthenticationMethodPlatform | undefined, device?: Device | undefined} | {[key: string]: unknown}; export type SoftwareOathAuthenticationMethod = {id?: string | undefined, secretKey?: (string | null) | undefined} | {[key: string]: unknown}; export type TemporaryAccessPassAuthenticationMethod = {id?: string | undefined, createdDateTime?: (string | null) | undefined, isUsable?: (boolean | null) | undefined, isUsableOnce?: (boolean | null) | undefined, lifetimeInMinutes?: (number | null) | undefined, methodUsabilityReason?: (string | null) | undefined, startDateTime?: (string | null) | undefined, temporaryAccessPass?: (string | null) | undefined} | {[key: string]: unknown}; export type WindowsHelloForBusinessAuthenticationMethod = {id?: string | undefined, createdDateTime?: (string | null) | undefined, displayName?: (string | null) | undefined, keyStrength?: AuthenticationMethodKeyStrength | undefined, device?: Device | undefined} | {[key: string]: unknown}; export type Authentication = {id?: string | undefined, emailMethods?: Array | undefined, fido2Methods?: Array | undefined, methods?: Array | undefined, microsoftAuthenticatorMethods?: Array | undefined, operations?: Array | undefined, passwordMethods?: Array | undefined, phoneMethods?: Array | undefined, platformCredentialMethods?: Array | undefined, softwareOathMethods?: Array | undefined, temporaryAccessPassMethods?: Array | undefined, windowsHelloForBusinessMethods?: Array | undefined} | {[key: string]: unknown}; export type CalendarGroup = {id?: string | undefined, changeKey?: (string | null) | undefined, classId?: (string | null) | undefined, name?: (string | null) | undefined, calendars?: Array | undefined} | {[key: string]: unknown}; export type ChatType = 'oneOnOne' | 'group' | 'meeting' | 'unknownFutureValue'; export type TeamworkUserIdentityType = 'aadUser' | 'onPremiseAadUser' | 'anonymousGuest' | 'federatedUser' | 'personalMicrosoftAccountUser' | 'skypeUser' | 'phoneUser' | 'unknownFutureValue' | 'emailUser'; export type TeamworkUserIdentity = {displayName?: (string | null) | undefined, id?: (string | null) | undefined, userIdentityType?: TeamworkUserIdentityType | undefined} | {[key: string]: unknown}; export type TeamworkOnlineMeetingInfo = {calendarEventId?: (string | null) | undefined, joinWebUrl?: (string | null) | undefined, organizer?: TeamworkUserIdentity | undefined} | {[key: string]: unknown}; export type ChatViewpoint = {isHidden?: (boolean | null) | undefined, lastMessageReadDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type ChatMessageInfo = {id?: string | undefined, body?: ItemBody | undefined, createdDateTime?: (string | null) | undefined, eventDetail?: EventMessageDetail | undefined, from?: ChatMessageFromIdentitySet | undefined, isDeleted?: (boolean | null) | undefined, messageType?: ChatMessageType | undefined} | {[key: string]: unknown}; export type PinnedChatMessageInfo = {id?: string | undefined, message?: ChatMessage | undefined} | {[key: string]: unknown}; export type Chat = {id?: string | undefined, chatType?: ChatType | undefined, createdDateTime?: (string | null) | undefined, isHiddenForAllMembers?: (boolean | null) | undefined, lastUpdatedDateTime?: (string | null) | undefined, onlineMeetingInfo?: TeamworkOnlineMeetingInfo | undefined, tenantId?: (string | null) | undefined, topic?: (string | null) | undefined, viewpoint?: ChatViewpoint | undefined, webUrl?: (string | null) | undefined, installedApps?: Array | undefined, lastMessagePreview?: ChatMessageInfo | undefined, members?: Array | undefined, messages?: Array | undefined, permissionGrants?: Array | undefined, pinnedMessages?: Array | undefined, tabs?: Array | undefined} | {[key: string]: unknown}; export type CloudClipboardItemPayload = {content?: string | undefined, formatName?: string | undefined} | {[key: string]: unknown}; export type CloudClipboardItem = {id?: string | undefined, createdDateTime?: string | undefined, expirationDateTime?: string | undefined, lastModifiedDateTime?: (string | null) | undefined, payloads?: Array | undefined} | {[key: string]: unknown}; export type CloudClipboardRoot = {id?: string | undefined, items?: Array | undefined} | {[key: string]: unknown}; export type Contact = {id?: string | undefined, categories?: (Array) | undefined, changeKey?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, assistantName?: (string | null) | undefined, birthday?: (string | null) | undefined, businessAddress?: PhysicalAddress | undefined, businessHomePage?: (string | null) | undefined, businessPhones?: (Array) | undefined, children?: (Array) | undefined, companyName?: (string | null) | undefined, department?: (string | null) | undefined, displayName?: (string | null) | undefined, emailAddresses?: Array | undefined, fileAs?: (string | null) | undefined, generation?: (string | null) | undefined, givenName?: (string | null) | undefined, homeAddress?: PhysicalAddress | undefined, homePhones?: (Array) | undefined, imAddresses?: (Array) | undefined, initials?: (string | null) | undefined, jobTitle?: (string | null) | undefined, manager?: (string | null) | undefined, middleName?: (string | null) | undefined, mobilePhone?: (string | null) | undefined, nickName?: (string | null) | undefined, officeLocation?: (string | null) | undefined, otherAddress?: PhysicalAddress | undefined, parentFolderId?: (string | null) | undefined, personalNotes?: (string | null) | undefined, profession?: (string | null) | undefined, spouseName?: (string | null) | undefined, surname?: (string | null) | undefined, title?: (string | null) | undefined, yomiCompanyName?: (string | null) | undefined, yomiGivenName?: (string | null) | undefined, yomiSurname?: (string | null) | undefined, extensions?: Array | undefined, multiValueExtendedProperties?: Array | undefined, photo?: ProfilePhoto | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type ContactFolder = {id?: string | undefined, displayName?: (string | null) | undefined, parentFolderId?: (string | null) | undefined, childFolders?: Array | undefined, contacts?: Array | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type LabelActionSource = 'manual' | 'automatic' | 'recommended' | 'none' | 'unknownFutureValue'; export type UsageRights = 'unknown' | 'docEdit' | 'edit' | 'comment' | 'export' | 'forward' | 'owner' | 'print' | 'reply' | 'replyAll' | 'view' | 'extract' | 'viewRightsData' | 'editRightsData' | 'objModel' | 'accessDenied' | 'userDefinedProtectionTypeNotSupportedException' | 'encryptedProtectionTypeNotSupportedException' | 'purviewClaimsChallengeNotSupportedException' | 'exception' | 'unknownFutureValue'; export type UsageRightsIncluded = {id?: string | undefined, ownerEmail?: (string | null) | undefined, userEmail?: (string | null) | undefined, value?: UsageRights | undefined} | {[key: string]: unknown}; export type SensitivityLabel = {id?: string | undefined, actionSource?: LabelActionSource | undefined, autoTooltip?: (string | null) | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined, isDefault?: (boolean | null) | undefined, isEndpointProtectionEnabled?: (boolean | null) | undefined, isScopedToUser?: (boolean | null) | undefined, locale?: (string | null) | undefined, name?: (string | null) | undefined, priority?: (number | null) | undefined, toolTip?: (string | null) | undefined, rights?: UsageRightsIncluded | undefined, sublabels?: Array | undefined} | {[key: string]: unknown}; export type UserActivityType = 'uploadText' | 'uploadFile' | 'downloadText' | 'downloadFile' | 'unknownFutureValue'; export type ActivityMetadata = {activity?: UserActivityType | undefined} | {[key: string]: unknown}; export type ContentBase = {[key: string]: unknown}; export type ProcessContentMetadataBase = {content?: ContentBase | undefined, correlationId?: (string | null) | undefined, createdDateTime?: string | undefined, identifier?: string | undefined, isTruncated?: boolean | undefined, length?: (number | null) | undefined, modifiedDateTime?: string | undefined, name?: string | undefined, sequenceNumber?: (number | null) | undefined} | {[key: string]: unknown}; export type OperatingSystemSpecifications = {operatingSystemPlatform?: string | undefined, operatingSystemVersion?: string | undefined} | {[key: string]: unknown}; export type DeviceMetadata = {deviceType?: (string | null) | undefined, ipAddress?: (string | null) | undefined, operatingSystemSpecifications?: OperatingSystemSpecifications | undefined} | {[key: string]: unknown}; export type IntegratedApplicationMetadata = {name?: (string | null) | undefined, version?: (string | null) | undefined} | {[key: string]: unknown}; export type PolicyLocation = {value?: string | undefined} | {[key: string]: unknown}; export type ProtectedApplicationMetadata = {name?: (string | null) | undefined, version?: (string | null) | undefined, applicationLocation?: PolicyLocation | undefined} | {[key: string]: unknown}; export type ProcessContentRequest = {activityMetadata?: ActivityMetadata | undefined, contentEntries?: Array | undefined, deviceMetadata?: DeviceMetadata | undefined, integratedAppMetadata?: IntegratedApplicationMetadata | undefined, protectedAppMetadata?: ProtectedApplicationMetadata | undefined} | {[key: string]: unknown}; export type ContentActivity = {id?: string | undefined, contentMetadata?: ProcessContentRequest | undefined, scopeIdentifier?: (string | null) | undefined, userId?: (string | null) | undefined} | {[key: string]: unknown}; export type ActivitiesContainer = {id?: string | undefined, contentActivities?: Array | undefined} | {[key: string]: unknown}; export type UserProtectionScopeContainer = {id?: string | undefined} | {[key: string]: unknown}; export type UserDataSecurityAndGovernance = {id?: string | undefined, sensitivityLabels?: Array | undefined, activities?: ActivitiesContainer | undefined, protectionScopes?: UserProtectionScopeContainer | undefined} | {[key: string]: unknown}; export type DeviceManagementTroubleshootingEvent = {id?: string | undefined, correlationId?: (string | null) | undefined, eventDateTime?: string | undefined} | {[key: string]: unknown}; export type CourseStatus = 'notStarted' | 'inProgress' | 'completed' | 'unknownFutureValue'; export type LearningCourseActivity = {id?: string | undefined, completedDateTime?: (string | null) | undefined, completionPercentage?: (number | null) | undefined, externalcourseActivityId?: (string | null) | undefined, learnerUserId?: string | undefined, learningContentId?: string | undefined, learningProviderId?: (string | null) | undefined, status?: CourseStatus | undefined} | {[key: string]: unknown}; export type EmployeeExperienceUser = {id?: string | undefined, learningCourseActivities?: Array | undefined} | {[key: string]: unknown}; export type InferenceClassificationType = 'focused' | 'other'; export type InferenceClassificationOverride = {id?: string | undefined, classifyAs?: InferenceClassificationType | undefined, senderEmailAddress?: EmailAddress | undefined} | {[key: string]: unknown}; export type InferenceClassification = {id?: string | undefined, overrides?: Array | undefined} | {[key: string]: unknown}; export type InsightIdentity = {address?: (string | null) | undefined, displayName?: (string | null) | undefined, id?: (string | null) | undefined} | {[key: string]: unknown}; export type ResourceReference = {id?: (string | null) | undefined, type?: (string | null) | undefined, webUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type SharingDetail = {sharedBy?: InsightIdentity | undefined, sharedDateTime?: (string | null) | undefined, sharingReference?: ResourceReference | undefined, sharingSubject?: (string | null) | undefined, sharingType?: (string | null) | undefined} | {[key: string]: unknown}; export type ResourceVisualization = {containerDisplayName?: (string | null) | undefined, containerType?: (string | null) | undefined, containerWebUrl?: (string | null) | undefined, mediaType?: (string | null) | undefined, previewImageUrl?: (string | null) | undefined, previewText?: (string | null) | undefined, title?: (string | null) | undefined, type?: (string | null) | undefined} | {[key: string]: unknown}; export type Entity = {id?: string | undefined} | {[key: string]: unknown}; export type SharedInsight = {id?: string | undefined, lastShared?: SharingDetail | undefined, resourceReference?: ResourceReference | undefined, resourceVisualization?: ResourceVisualization | undefined, sharingHistory?: Array | undefined, lastSharedMethod?: Entity | undefined, resource?: Entity | undefined} | {[key: string]: unknown}; export type Trending = {id?: string | undefined, lastModifiedDateTime?: (string | null) | undefined, resourceReference?: ResourceReference | undefined, resourceVisualization?: ResourceVisualization | undefined, weight?: (number | null) | undefined, resource?: Entity | undefined} | {[key: string]: unknown}; export type UsageDetails = {lastAccessedDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type UsedInsight = {id?: string | undefined, lastUsed?: UsageDetails | undefined, resourceReference?: ResourceReference | undefined, resourceVisualization?: ResourceVisualization | undefined, resource?: Entity | undefined} | {[key: string]: unknown}; export type ItemInsights = {id?: string | undefined, shared?: Array | undefined, trending?: Array | undefined, used?: Array | undefined} | {[key: string]: unknown}; export type ServicePlanInfo = {appliesTo?: (string | null) | undefined, provisioningStatus?: (string | null) | undefined, servicePlanId?: (string | null) | undefined, servicePlanName?: (string | null) | undefined} | {[key: string]: unknown}; export type LicenseDetails = {id?: string | undefined, servicePlans?: Array | undefined, skuId?: (string | null) | undefined, skuPartNumber?: (string | null) | undefined} | {[key: string]: unknown}; export type MessageRuleActions = {assignCategories?: (Array) | undefined, copyToFolder?: (string | null) | undefined, delete?: (boolean | null) | undefined, forwardAsAttachmentTo?: Array | undefined, forwardTo?: Array | undefined, markAsRead?: (boolean | null) | undefined, markImportance?: Importance | undefined, moveToFolder?: (string | null) | undefined, permanentDelete?: (boolean | null) | undefined, redirectTo?: Array | undefined, stopProcessingRules?: (boolean | null) | undefined} | {[key: string]: unknown}; export type MessageActionFlag = 'any' | 'call' | 'doNotForward' | 'followUp' | 'fyi' | 'forward' | 'noResponseNecessary' | 'read' | 'reply' | 'replyToAll' | 'review'; export type SizeRange = {maximumSize?: (number | null) | undefined, minimumSize?: (number | null) | undefined} | {[key: string]: unknown}; export type MessageRulePredicates = {bodyContains?: (Array) | undefined, bodyOrSubjectContains?: (Array) | undefined, categories?: (Array) | undefined, fromAddresses?: Array | undefined, hasAttachments?: (boolean | null) | undefined, headerContains?: (Array) | undefined, importance?: Importance | undefined, isApprovalRequest?: (boolean | null) | undefined, isAutomaticForward?: (boolean | null) | undefined, isAutomaticReply?: (boolean | null) | undefined, isEncrypted?: (boolean | null) | undefined, isMeetingRequest?: (boolean | null) | undefined, isMeetingResponse?: (boolean | null) | undefined, isNonDeliveryReport?: (boolean | null) | undefined, isPermissionControlled?: (boolean | null) | undefined, isReadReceipt?: (boolean | null) | undefined, isSigned?: (boolean | null) | undefined, isVoicemail?: (boolean | null) | undefined, messageActionFlag?: MessageActionFlag | undefined, notSentToMe?: (boolean | null) | undefined, recipientContains?: (Array) | undefined, senderContains?: (Array) | undefined, sensitivity?: Sensitivity | undefined, sentCcMe?: (boolean | null) | undefined, sentOnlyToMe?: (boolean | null) | undefined, sentToAddresses?: Array | undefined, sentToMe?: (boolean | null) | undefined, sentToOrCcMe?: (boolean | null) | undefined, subjectContains?: (Array) | undefined, withinSizeRange?: SizeRange | undefined} | {[key: string]: unknown}; export type MessageRule = {id?: string | undefined, actions?: MessageRuleActions | undefined, conditions?: MessageRulePredicates | undefined, displayName?: (string | null) | undefined, exceptions?: MessageRulePredicates | undefined, hasError?: (boolean | null) | undefined, isEnabled?: (boolean | null) | undefined, isReadOnly?: (boolean | null) | undefined, sequence?: (number | null) | undefined} | {[key: string]: unknown}; export type FollowupFlagStatus = 'notFlagged' | 'complete' | 'flagged'; export type FollowupFlag = {completedDateTime?: DateTimeTimeZone | undefined, dueDateTime?: DateTimeTimeZone | undefined, flagStatus?: FollowupFlagStatus | undefined, startDateTime?: DateTimeTimeZone | undefined} | {[key: string]: unknown}; export type InternetMessageHeader = {name?: (string | null) | undefined, value?: (string | null) | undefined} | {[key: string]: unknown}; export type Message = {id?: string | undefined, categories?: (Array) | undefined, changeKey?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, bccRecipients?: Array | undefined, body?: ItemBody | undefined, bodyPreview?: (string | null) | undefined, ccRecipients?: Array | undefined, conversationId?: (string | null) | undefined, conversationIndex?: (unknown | null) | undefined, flag?: FollowupFlag | undefined, from?: Recipient | undefined, hasAttachments?: (boolean | null) | undefined, importance?: Importance | undefined, inferenceClassification?: InferenceClassificationType | undefined, internetMessageHeaders?: Array | undefined, internetMessageId?: (string | null) | undefined, isDeliveryReceiptRequested?: (boolean | null) | undefined, isDraft?: (boolean | null) | undefined, isRead?: (boolean | null) | undefined, isReadReceiptRequested?: (boolean | null) | undefined, parentFolderId?: (string | null) | undefined, receivedDateTime?: (string | null) | undefined, replyTo?: Array | undefined, sender?: Recipient | undefined, sentDateTime?: (string | null) | undefined, subject?: (string | null) | undefined, toRecipients?: Array | undefined, uniqueBody?: ItemBody | undefined, webLink?: (string | null) | undefined, attachments?: Array | undefined, extensions?: Array | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type MailFolder = {id?: string | undefined, childFolderCount?: (number | null) | undefined, displayName?: (string | null) | undefined, isHidden?: (boolean | null) | undefined, parentFolderId?: (string | null) | undefined, totalItemCount?: (number | null) | undefined, unreadItemCount?: (number | null) | undefined, childFolders?: Array | undefined, messageRules?: Array | undefined, messages?: Array | undefined, multiValueExtendedProperties?: Array | undefined, singleValueExtendedProperties?: Array | undefined} | {[key: string]: unknown}; export type MobileAppIdentifier = {[key: string]: unknown}; export type ManagedAppFlaggedReason = 'none' | 'rootedDevice'; export type ManagedAppPolicy = {id?: string | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, displayName?: string | undefined, lastModifiedDateTime?: string | undefined, version?: (string | null) | undefined} | {[key: string]: unknown}; export type ManagedAppOperation = {id?: string | undefined, displayName?: (string | null) | undefined, lastModifiedDateTime?: string | undefined, state?: (string | null) | undefined, version?: (string | null) | undefined} | {[key: string]: unknown}; export type ManagedAppRegistration = {id?: string | undefined, appIdentifier?: MobileAppIdentifier | undefined, applicationVersion?: (string | null) | undefined, createdDateTime?: string | undefined, deviceName?: (string | null) | undefined, deviceTag?: (string | null) | undefined, deviceType?: (string | null) | undefined, flaggedReasons?: Array | undefined, lastSyncDateTime?: string | undefined, managementSdkVersion?: (string | null) | undefined, platformVersion?: (string | null) | undefined, userId?: (string | null) | undefined, version?: (string | null) | undefined, appliedPolicies?: Array | undefined, intendedPolicies?: Array | undefined, operations?: Array | undefined} | {[key: string]: unknown}; export type ComplianceState = 'unknown' | 'compliant' | 'noncompliant' | 'conflict' | 'error' | 'inGracePeriod' | 'configManager'; export type ConfigurationManagerClientEnabledFeatures = {compliancePolicy?: boolean | undefined, deviceConfiguration?: boolean | undefined, inventory?: boolean | undefined, modernApps?: boolean | undefined, resourceAccess?: boolean | undefined, windowsUpdateForBusiness?: boolean | undefined} | {[key: string]: unknown}; export type ActionState = 'none' | 'pending' | 'canceled' | 'active' | 'done' | 'failed' | 'notSupported'; export type DeviceActionResult = {actionName?: (string | null) | undefined, actionState?: ActionState | undefined, lastUpdatedDateTime?: string | undefined, startDateTime?: string | undefined} | {[key: string]: unknown}; export type DeviceEnrollmentType = 'unknown' | 'userEnrollment' | 'deviceEnrollmentManager' | 'appleBulkWithUser' | 'appleBulkWithoutUser' | 'windowsAzureADJoin' | 'windowsBulkUserless' | 'windowsAutoEnrollment' | 'windowsBulkAzureDomainJoin' | 'windowsCoManagement' | 'windowsAzureADJoinUsingDeviceAuth' | 'appleUserEnrollment' | 'appleUserEnrollmentWithServiceAccount' | 'unknownFutureValue'; export type DeviceHealthAttestationState = {attestationIdentityKey?: (string | null) | undefined, bitLockerStatus?: (string | null) | undefined, bootAppSecurityVersion?: (string | null) | undefined, bootDebugging?: (string | null) | undefined, bootManagerSecurityVersion?: (string | null) | undefined, bootManagerVersion?: (string | null) | undefined, bootRevisionListInfo?: (string | null) | undefined, codeIntegrity?: (string | null) | undefined, codeIntegrityCheckVersion?: (string | null) | undefined, codeIntegrityPolicy?: (string | null) | undefined, contentNamespaceUrl?: (string | null) | undefined, contentVersion?: (string | null) | undefined, dataExcutionPolicy?: (string | null) | undefined, deviceHealthAttestationStatus?: (string | null) | undefined, earlyLaunchAntiMalwareDriverProtection?: (string | null) | undefined, healthAttestationSupportedStatus?: (string | null) | undefined, healthStatusMismatchInfo?: (string | null) | undefined, issuedDateTime?: string | undefined, lastUpdateDateTime?: (string | null) | undefined, operatingSystemKernelDebugging?: (string | null) | undefined, operatingSystemRevListInfo?: (string | null) | undefined, pcr0?: (string | null) | undefined, pcrHashAlgorithm?: (string | null) | undefined, resetCount?: number | undefined, restartCount?: number | undefined, safeMode?: (string | null) | undefined, secureBoot?: (string | null) | undefined, secureBootConfigurationPolicyFingerPrint?: (string | null) | undefined, testSigning?: (string | null) | undefined, tpmVersion?: (string | null) | undefined, virtualSecureMode?: (string | null) | undefined, windowsPE?: (string | null) | undefined} | {[key: string]: unknown}; export type DeviceRegistrationState = 'notRegistered' | 'registered' | 'revoked' | 'keyConflict' | 'approvalPending' | 'certificateReset' | 'notRegisteredPendingEnrollment' | 'unknown'; export type DeviceManagementExchangeAccessState = 'none' | 'unknown' | 'allowed' | 'blocked' | 'quarantined'; export type DeviceManagementExchangeAccessStateReason = 'none' | 'unknown' | 'exchangeGlobalRule' | 'exchangeIndividualRule' | 'exchangeDeviceRule' | 'exchangeUpgrade' | 'exchangeMailboxPolicy' | 'other' | 'compliant' | 'notCompliant' | 'notEnrolled' | 'unknownLocation' | 'mfaRequired' | 'azureADBlockDueToAccessPolicy' | 'compromisedPassword' | 'deviceNotKnownWithManagedApp'; export type ManagedDeviceOwnerType = 'unknown' | 'company' | 'personal' | 'unknownFutureValue'; export type ManagementAgentType = 'eas' | 'mdm' | 'easMdm' | 'intuneClient' | 'easIntuneClient' | 'configurationManagerClient' | 'configurationManagerClientMdm' | 'configurationManagerClientMdmEas' | 'unknown' | 'jamf' | 'googleCloudDevicePolicyController' | 'microsoft365ManagedMdm' | 'msSense'; export type ManagedDevicePartnerReportedHealthState = 'unknown' | 'activated' | 'deactivated' | 'secured' | 'lowSeverity' | 'mediumSeverity' | 'highSeverity' | 'unresponsive' | 'compromised' | 'misconfigured'; export type DeviceCategory = {id?: string | undefined, description?: (string | null) | undefined, displayName?: (string | null) | undefined} | {[key: string]: unknown}; export type PolicyPlatformType = 'android' | 'androidForWork' | 'iOS' | 'macOS' | 'windowsPhone81' | 'windows81AndLater' | 'windows10AndLater' | 'all'; export type SettingSourceType = 'deviceConfiguration' | 'deviceIntent'; export type SettingSource = {displayName?: (string | null) | undefined, id?: (string | null) | undefined, sourceType?: SettingSourceType | undefined} | {[key: string]: unknown}; export type ComplianceStatus = 'unknown' | 'notApplicable' | 'compliant' | 'remediated' | 'nonCompliant' | 'error' | 'conflict' | 'notAssigned'; export type DeviceCompliancePolicySettingState = {currentValue?: (string | null) | undefined, errorCode?: number | undefined, errorDescription?: (string | null) | undefined, instanceDisplayName?: (string | null) | undefined, setting?: (string | null) | undefined, settingName?: (string | null) | undefined, sources?: Array | undefined, state?: ComplianceStatus | undefined, userEmail?: (string | null) | undefined, userId?: (string | null) | undefined, userName?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined} | {[key: string]: unknown}; export type DeviceCompliancePolicyState = {id?: string | undefined, displayName?: (string | null) | undefined, platformType?: PolicyPlatformType | undefined, settingCount?: number | undefined, settingStates?: Array | undefined, state?: ComplianceStatus | undefined, version?: number | undefined} | {[key: string]: unknown}; export type DeviceConfigurationSettingState = {currentValue?: (string | null) | undefined, errorCode?: number | undefined, errorDescription?: (string | null) | undefined, instanceDisplayName?: (string | null) | undefined, setting?: (string | null) | undefined, settingName?: (string | null) | undefined, sources?: Array | undefined, state?: ComplianceStatus | undefined, userEmail?: (string | null) | undefined, userId?: (string | null) | undefined, userName?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined} | {[key: string]: unknown}; export type DeviceConfigurationState = {id?: string | undefined, displayName?: (string | null) | undefined, platformType?: PolicyPlatformType | undefined, settingCount?: number | undefined, settingStates?: Array | undefined, state?: ComplianceStatus | undefined, version?: number | undefined} | {[key: string]: unknown}; export type AppLogUploadState = 'pending' | 'completed' | 'failed' | 'unknownFutureValue'; export type DeviceLogCollectionResponse = {id?: string | undefined, enrolledByUser?: (string | null) | undefined, expirationDateTimeUTC?: (string | null) | undefined, initiatedByUserPrincipalName?: (string | null) | undefined, managedDeviceId?: string | undefined, receivedDateTimeUTC?: (string | null) | undefined, requestedDateTimeUTC?: (string | null) | undefined, sizeInKB?: (number | null) | undefined, status?: AppLogUploadState | undefined} | {[key: string]: unknown}; export type WindowsDeviceHealthState = 'clean' | 'fullScanPending' | 'rebootPending' | 'manualStepsPending' | 'offlineScanPending' | 'critical'; export type WindowsDefenderProductStatus = 'noStatus' | 'serviceNotRunning' | 'serviceStartedWithoutMalwareProtection' | 'pendingFullScanDueToThreatAction' | 'pendingRebootDueToThreatAction' | 'pendingManualStepsDueToThreatAction' | 'avSignaturesOutOfDate' | 'asSignaturesOutOfDate' | 'noQuickScanHappenedForSpecifiedPeriod' | 'noFullScanHappenedForSpecifiedPeriod' | 'systemInitiatedScanInProgress' | 'systemInitiatedCleanInProgress' | 'samplesPendingSubmission' | 'productRunningInEvaluationMode' | 'productRunningInNonGenuineMode' | 'productExpired' | 'offlineScanRequired' | 'serviceShutdownAsPartOfSystemShutdown' | 'threatRemediationFailedCritically' | 'threatRemediationFailedNonCritically' | 'noStatusFlagsSet' | 'platformOutOfDate' | 'platformUpdateInProgress' | 'platformAboutToBeOutdated' | 'signatureOrPlatformEndOfLifeIsPastOrIsImpending' | 'windowsSModeSignaturesInUseOnNonWin10SInstall'; export type WindowsMalwareCategory = 'invalid' | 'adware' | 'spyware' | 'passwordStealer' | 'trojanDownloader' | 'worm' | 'backdoor' | 'remoteAccessTrojan' | 'trojan' | 'emailFlooder' | 'keylogger' | 'dialer' | 'monitoringSoftware' | 'browserModifier' | 'cookie' | 'browserPlugin' | 'aolExploit' | 'nuker' | 'securityDisabler' | 'jokeProgram' | 'hostileActiveXControl' | 'softwareBundler' | 'stealthNotifier' | 'settingsModifier' | 'toolBar' | 'remoteControlSoftware' | 'trojanFtp' | 'potentialUnwantedSoftware' | 'icqExploit' | 'trojanTelnet' | 'exploit' | 'filesharingProgram' | 'malwareCreationTool' | 'remote_Control_Software' | 'tool' | 'trojanDenialOfService' | 'trojanDropper' | 'trojanMassMailer' | 'trojanMonitoringSoftware' | 'trojanProxyServer' | 'virus' | 'known' | 'unknown' | 'spp' | 'behavior' | 'vulnerability' | 'policy' | 'enterpriseUnwantedSoftware' | 'ransom' | 'hipsRule'; export type WindowsMalwareExecutionState = 'unknown' | 'blocked' | 'allowed' | 'running' | 'notRunning'; export type WindowsMalwareSeverity = 'unknown' | 'low' | 'moderate' | 'high' | 'severe'; export type WindowsMalwareState = 'unknown' | 'detected' | 'cleaned' | 'quarantined' | 'removed' | 'allowed' | 'blocked' | 'cleanFailed' | 'quarantineFailed' | 'removeFailed' | 'allowFailed' | 'abandoned' | 'blockFailed'; export type WindowsMalwareThreatState = 'active' | 'actionFailed' | 'manualStepsRequired' | 'fullScanRequired' | 'rebootRequired' | 'remediatedWithNonCriticalFailures' | 'quarantined' | 'removed' | 'cleaned' | 'allowed' | 'noStatusCleared'; export type WindowsDeviceMalwareState = {id?: string | undefined, additionalInformationUrl?: (string | null) | undefined, category?: WindowsMalwareCategory | undefined, detectionCount?: (number | null) | undefined, displayName?: (string | null) | undefined, executionState?: WindowsMalwareExecutionState | undefined, initialDetectionDateTime?: (string | null) | undefined, lastStateChangeDateTime?: (string | null) | undefined, severity?: WindowsMalwareSeverity | undefined, state?: WindowsMalwareState | undefined, threatState?: WindowsMalwareThreatState | undefined} | {[key: string]: unknown}; export type WindowsProtectionState = {id?: string | undefined, antiMalwareVersion?: (string | null) | undefined, deviceState?: WindowsDeviceHealthState | undefined, engineVersion?: (string | null) | undefined, fullScanOverdue?: (boolean | null) | undefined, fullScanRequired?: (boolean | null) | undefined, isVirtualMachine?: (boolean | null) | undefined, lastFullScanDateTime?: (string | null) | undefined, lastFullScanSignatureVersion?: (string | null) | undefined, lastQuickScanDateTime?: (string | null) | undefined, lastQuickScanSignatureVersion?: (string | null) | undefined, lastReportedDateTime?: (string | null) | undefined, malwareProtectionEnabled?: (boolean | null) | undefined, networkInspectionSystemEnabled?: (boolean | null) | undefined, productStatus?: WindowsDefenderProductStatus | undefined, quickScanOverdue?: (boolean | null) | undefined, realTimeProtectionEnabled?: (boolean | null) | undefined, rebootRequired?: (boolean | null) | undefined, signatureUpdateOverdue?: (boolean | null) | undefined, signatureVersion?: (string | null) | undefined, tamperProtectionEnabled?: (boolean | null) | undefined, detectedMalwareState?: Array | undefined} | {[key: string]: unknown}; export type ManagedDevice = {id?: string | undefined, activationLockBypassCode?: (string | null) | undefined, androidSecurityPatchLevel?: (string | null) | undefined, azureADDeviceId?: (string | null) | undefined, azureADRegistered?: (boolean | null) | undefined, complianceGracePeriodExpirationDateTime?: string | undefined, complianceState?: ComplianceState | undefined, configurationManagerClientEnabledFeatures?: ConfigurationManagerClientEnabledFeatures | undefined, deviceActionResults?: Array | undefined, deviceCategoryDisplayName?: (string | null) | undefined, deviceEnrollmentType?: DeviceEnrollmentType | undefined, deviceHealthAttestationState?: DeviceHealthAttestationState | undefined, deviceName?: (string | null) | undefined, deviceRegistrationState?: DeviceRegistrationState | undefined, easActivated?: boolean | undefined, easActivationDateTime?: string | undefined, easDeviceId?: (string | null) | undefined, emailAddress?: (string | null) | undefined, enrolledDateTime?: string | undefined, enrollmentProfileName?: (string | null) | undefined, ethernetMacAddress?: (string | null) | undefined, exchangeAccessState?: DeviceManagementExchangeAccessState | undefined, exchangeAccessStateReason?: DeviceManagementExchangeAccessStateReason | undefined, exchangeLastSuccessfulSyncDateTime?: string | undefined, freeStorageSpaceInBytes?: number | undefined, iccid?: (string | null) | undefined, imei?: (string | null) | undefined, isEncrypted?: boolean | undefined, isSupervised?: boolean | undefined, jailBroken?: (string | null) | undefined, lastSyncDateTime?: string | undefined, managedDeviceName?: (string | null) | undefined, managedDeviceOwnerType?: ManagedDeviceOwnerType | undefined, managementAgent?: ManagementAgentType | undefined, managementCertificateExpirationDate?: string | undefined, manufacturer?: (string | null) | undefined, meid?: (string | null) | undefined, model?: (string | null) | undefined, notes?: (string | null) | undefined, operatingSystem?: (string | null) | undefined, osVersion?: (string | null) | undefined, partnerReportedThreatState?: ManagedDevicePartnerReportedHealthState | undefined, phoneNumber?: (string | null) | undefined, physicalMemoryInBytes?: number | undefined, remoteAssistanceSessionErrorDetails?: (string | null) | undefined, remoteAssistanceSessionUrl?: (string | null) | undefined, requireUserEnrollmentApproval?: (boolean | null) | undefined, serialNumber?: (string | null) | undefined, subscriberCarrier?: (string | null) | undefined, totalStorageSpaceInBytes?: number | undefined, udid?: (string | null) | undefined, userDisplayName?: (string | null) | undefined, userId?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined, wiFiMacAddress?: (string | null) | undefined, deviceCategory?: DeviceCategory | undefined, deviceCompliancePolicyStates?: Array | undefined, deviceConfigurationStates?: Array | undefined, logCollectionRequests?: Array | undefined, users?: Array | undefined, windowsProtectionState?: WindowsProtectionState | undefined} | {[key: string]: unknown}; export type OAuth2PermissionGrant = {id?: string | undefined, clientId?: string | undefined, consentType?: (string | null) | undefined, principalId?: (string | null) | undefined, resourceId?: string | undefined, scope?: (string | null) | undefined} | {[key: string]: unknown}; export type AllowedLobbyAdmitterRoles = 'organizerAndCoOrganizersAndPresenters' | 'organizerAndCoOrganizers' | 'unknownFutureValue'; export type OnlineMeetingPresenters = 'everyone' | 'organization' | 'roleIsPresenter' | 'organizer' | 'unknownFutureValue'; export type MeetingLiveShareOptions = 'enabled' | 'disabled' | 'unknownFutureValue'; export type MeetingChatMode = 'enabled' | 'disabled' | 'limited' | 'unknownFutureValue'; export type AudioConferencing = {conferenceId?: (string | null) | undefined, dialinUrl?: (string | null) | undefined, tollFreeNumber?: (string | null) | undefined, tollFreeNumbers?: (Array) | undefined, tollNumber?: (string | null) | undefined, tollNumbers?: (Array) | undefined} | {[key: string]: unknown}; export type ChatInfo = {messageId?: (string | null) | undefined, replyChainMessageId?: (string | null) | undefined, threadId?: (string | null) | undefined} | {[key: string]: unknown}; export type ChatRestrictions = {allowTextOnly?: (boolean | null) | undefined} | {[key: string]: unknown}; export type JoinMeetingIdSettings = {isPasscodeRequired?: (boolean | null) | undefined, joinMeetingId?: (string | null) | undefined, passcode?: (string | null) | undefined} | {[key: string]: unknown}; export type LobbyBypassScope = 'organizer' | 'organization' | 'organizationAndFederated' | 'everyone' | 'unknownFutureValue' | 'invited' | 'organizationExcludingGuests'; export type LobbyBypassSettings = {isDialInBypassEnabled?: (boolean | null) | undefined, scope?: LobbyBypassScope | undefined} | {[key: string]: unknown}; export type MeetingChatHistoryDefaultMode = 'none' | 'all' | 'unknownFutureValue'; export type WatermarkProtectionValues = {isEnabledForContentSharing?: (boolean | null) | undefined, isEnabledForVideo?: (boolean | null) | undefined} | {[key: string]: unknown}; export type VirtualEventExternalInformation = {applicationId?: (string | null) | undefined, externalEventId?: (string | null) | undefined} | {[key: string]: unknown}; export type AttendanceInterval = {durationInSeconds?: (number | null) | undefined, joinDateTime?: (string | null) | undefined, leaveDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type VirtualEventExternalRegistrationInformation = {referrer?: (string | null) | undefined, registrationId?: (string | null) | undefined} | {[key: string]: unknown}; export type AttendanceRecord = {id?: string | undefined, attendanceIntervals?: Array | undefined, emailAddress?: (string | null) | undefined, externalRegistrationInformation?: VirtualEventExternalRegistrationInformation | undefined, identity?: Identity | undefined, registrationId?: (string | null) | undefined, role?: (string | null) | undefined, totalAttendanceInSeconds?: (number | null) | undefined} | {[key: string]: unknown}; export type MeetingAttendanceReport = {id?: string | undefined, externalEventInformation?: Array | undefined, meetingEndDateTime?: (string | null) | undefined, meetingStartDateTime?: (string | null) | undefined, totalParticipantCount?: (number | null) | undefined, attendanceRecords?: Array | undefined} | {[key: string]: unknown}; export type BroadcastMeetingAudience = 'roleIsAttendee' | 'organization' | 'everyone' | 'unknownFutureValue'; export type BroadcastMeetingCaptionSettings = {isCaptionEnabled?: (boolean | null) | undefined, spokenLanguage?: (string | null) | undefined, translationLanguages?: (Array) | undefined} | {[key: string]: unknown}; export type BroadcastMeetingSettings = {allowedAudience?: BroadcastMeetingAudience | undefined, captions?: BroadcastMeetingCaptionSettings | undefined, isAttendeeReportEnabled?: (boolean | null) | undefined, isQuestionAndAnswerEnabled?: (boolean | null) | undefined, isRecordingEnabled?: (boolean | null) | undefined, isVideoOnDemandEnabled?: (boolean | null) | undefined} | {[key: string]: unknown}; export type OnlineMeetingRole = 'attendee' | 'presenter' | 'unknownFutureValue' | 'producer' | 'coorganizer'; export type MeetingParticipantInfo = {identity?: IdentitySet | undefined, role?: OnlineMeetingRole | undefined, upn?: (string | null) | undefined} | {[key: string]: unknown}; export type MeetingParticipants = {attendees?: Array | undefined, organizer?: MeetingParticipantInfo | undefined} | {[key: string]: unknown}; export type CallRecording = {id?: string | undefined, callId?: (string | null) | undefined, content?: (unknown | null) | undefined, contentCorrelationId?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, endDateTime?: (string | null) | undefined, meetingId?: (string | null) | undefined, meetingOrganizer?: IdentitySet | undefined, recordingContentUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type CallTranscript = {id?: string | undefined, callId?: (string | null) | undefined, content?: (unknown | null) | undefined, contentCorrelationId?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, endDateTime?: (string | null) | undefined, meetingId?: (string | null) | undefined, meetingOrganizer?: IdentitySet | undefined, metadataContent?: (unknown | null) | undefined, transcriptContentUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type OnlineMeeting = {id?: string | undefined, allowAttendeeToEnableCamera?: (boolean | null) | undefined, allowAttendeeToEnableMic?: (boolean | null) | undefined, allowBreakoutRooms?: (boolean | null) | undefined, allowedLobbyAdmitters?: AllowedLobbyAdmitterRoles | undefined, allowedPresenters?: OnlineMeetingPresenters | undefined, allowLiveShare?: MeetingLiveShareOptions | undefined, allowMeetingChat?: MeetingChatMode | undefined, allowParticipantsToChangeName?: (boolean | null) | undefined, allowPowerPointSharing?: (boolean | null) | undefined, allowRecording?: (boolean | null) | undefined, allowTeamworkReactions?: (boolean | null) | undefined, allowTranscription?: (boolean | null) | undefined, allowWhiteboard?: (boolean | null) | undefined, audioConferencing?: AudioConferencing | undefined, chatInfo?: ChatInfo | undefined, chatRestrictions?: ChatRestrictions | undefined, isEndToEndEncryptionEnabled?: (boolean | null) | undefined, isEntryExitAnnounced?: (boolean | null) | undefined, joinInformation?: ItemBody | undefined, joinMeetingIdSettings?: JoinMeetingIdSettings | undefined, joinWebUrl?: (string | null) | undefined, lobbyBypassSettings?: LobbyBypassSettings | undefined, recordAutomatically?: (boolean | null) | undefined, shareMeetingChatHistoryDefault?: MeetingChatHistoryDefaultMode | undefined, subject?: (string | null) | undefined, videoTeleconferenceId?: (string | null) | undefined, watermarkProtection?: WatermarkProtectionValues | undefined, attendanceReports?: Array | undefined, attendeeReport?: (unknown | null) | undefined, broadcastSettings?: BroadcastMeetingSettings | undefined, creationDateTime?: (string | null) | undefined, endDateTime?: (string | null) | undefined, externalId?: (string | null) | undefined, isBroadcast?: (boolean | null) | undefined, meetingTemplateId?: (string | null) | undefined, participants?: MeetingParticipants | undefined, startDateTime?: (string | null) | undefined, recordings?: Array | undefined, transcripts?: Array | undefined} | {[key: string]: unknown}; export type CategoryColor = 'none' | 'preset0' | 'preset1' | 'preset2' | 'preset3' | 'preset4' | 'preset5' | 'preset6' | 'preset7' | 'preset8' | 'preset9' | 'preset10' | 'preset11' | 'preset12' | 'preset13' | 'preset14' | 'preset15' | 'preset16' | 'preset17' | 'preset18' | 'preset19' | 'preset20' | 'preset21' | 'preset22' | 'preset23' | 'preset24'; export type OutlookCategory = {id?: string | undefined, color?: CategoryColor | undefined, displayName?: (string | null) | undefined} | {[key: string]: unknown}; export type OutlookUser = {id?: string | undefined, masterCategories?: Array | undefined} | {[key: string]: unknown}; export type PersonType = {class?: (string | null) | undefined, subclass?: (string | null) | undefined} | {[key: string]: unknown}; export type SelectionLikelihoodInfo = 'notSpecified' | 'high'; export type ScoredEmailAddress = {address?: (string | null) | undefined, itemId?: (string | null) | undefined, relevanceScore?: (number | null) | undefined, selectionLikelihood?: SelectionLikelihoodInfo | undefined} | {[key: string]: unknown}; export type WebsiteType = 'other' | 'home' | 'work' | 'blog' | 'profile'; export type Website = {address?: (string | null) | undefined, displayName?: (string | null) | undefined, type?: WebsiteType | undefined} | {[key: string]: unknown}; export type Person = {id?: string | undefined, birthday?: (string | null) | undefined, companyName?: (string | null) | undefined, department?: (string | null) | undefined, displayName?: (string | null) | undefined, givenName?: (string | null) | undefined, imAddress?: (string | null) | undefined, isFavorite?: (boolean | null) | undefined, jobTitle?: (string | null) | undefined, officeLocation?: (string | null) | undefined, personNotes?: (string | null) | undefined, personType?: PersonType | undefined, phones?: Array | undefined, postalAddresses?: Array | undefined, profession?: (string | null) | undefined, scoredEmailAddresses?: Array | undefined, surname?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined, websites?: Array | undefined, yomiCompany?: (string | null) | undefined} | {[key: string]: unknown}; export type PlannerUser = {id?: string | undefined, plans?: Array | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type OutOfOfficeSettings = {isOutOfOffice?: (boolean | null) | undefined, message?: (string | null) | undefined} | {[key: string]: unknown}; export type PresenceStatusMessage = {expiryDateTime?: DateTimeTimeZone | undefined, message?: ItemBody | undefined, publishedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type Presence = {id?: string | undefined, activity?: (string | null) | undefined, availability?: (string | null) | undefined, outOfOfficeSettings?: OutOfOfficeSettings | undefined, sequenceNumber?: (string | null) | undefined, statusMessage?: PresenceStatusMessage | undefined} | {[key: string]: unknown}; export type ScopedRoleMembership = {id?: string | undefined, administrativeUnitId?: string | undefined, roleId?: string | undefined, roleMemberInfo?: Identity | undefined} | {[key: string]: unknown}; export type UserInsightsSettings = {id?: string | undefined, isEnabled?: boolean | undefined} | {[key: string]: unknown}; export type TimeRange = {endTime?: (string | null) | undefined, startTime?: (string | null) | undefined} | {[key: string]: unknown}; export type ShiftAvailability = {recurrence?: PatternedRecurrence | undefined, timeSlots?: Array | undefined, timeZone?: (string | null) | undefined} | {[key: string]: unknown}; export type ShiftPreferences = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, availability?: Array | undefined} | {[key: string]: unknown}; export type ServiceStorageQuotaBreakdown = {id?: string | undefined, displayName?: (string | null) | undefined, manageWebUrl?: (string | null) | undefined, used?: (number | null) | undefined} | {[key: string]: unknown}; export type UnifiedStorageQuota = {id?: string | undefined, deleted?: (number | null) | undefined, manageWebUrl?: (string | null) | undefined, remaining?: (number | null) | undefined, state?: (string | null) | undefined, total?: (number | null) | undefined, used?: (number | null) | undefined, services?: Array | undefined} | {[key: string]: unknown}; export type UserStorage = {id?: string | undefined, quota?: UnifiedStorageQuota | undefined} | {[key: string]: unknown}; export type WindowsSettingType = 'roaming' | 'backup' | 'unknownFutureValue'; export type WindowsSettingInstance = {id?: string | undefined, createdDateTime?: string | undefined, expirationDateTime?: string | undefined, lastModifiedDateTime?: (string | null) | undefined, payload?: string | undefined} | {[key: string]: unknown}; export type WindowsSetting = {id?: string | undefined, payloadType?: (string | null) | undefined, settingType?: WindowsSettingType | undefined, windowsDeviceId?: (string | null) | undefined, instances?: Array | undefined} | {[key: string]: unknown}; export type UserSettings = {id?: string | undefined, contributionToContentDiscoveryAsOrganizationDisabled?: boolean | undefined, contributionToContentDiscoveryDisabled?: boolean | undefined, itemInsights?: UserInsightsSettings | undefined, shiftPreferences?: ShiftPreferences | undefined, storage?: UserStorage | undefined, windows?: Array | undefined} | {[key: string]: unknown}; export type WorkingTimeSchedule = {id?: string | undefined} | {[key: string]: unknown}; export type UserSolutionRoot = {id?: string | undefined, workingTimeSchedule?: WorkingTimeSchedule | undefined} | {[key: string]: unknown}; export type AssociatedTeamInfo = {id?: string | undefined, displayName?: (string | null) | undefined, tenantId?: (string | null) | undefined, team?: Team | undefined} | {[key: string]: unknown}; export type UserScopeTeamsAppInstallation = {id?: string | undefined, consentedPermissionSet?: TeamsAppPermissionSet | undefined, teamsApp?: TeamsApp | undefined, teamsAppDefinition?: TeamsAppDefinition | undefined, chat?: Chat | undefined} | {[key: string]: unknown}; export type UserTeamwork = {id?: string | undefined, locale?: (string | null) | undefined, region?: (string | null) | undefined, associatedTeams?: Array | undefined, installedApps?: Array | undefined} | {[key: string]: unknown}; export type WellknownListName = 'none' | 'defaultList' | 'flaggedEmails' | 'unknownFutureValue'; export type TaskStatus = 'notStarted' | 'inProgress' | 'completed' | 'waitingOnOthers' | 'deferred'; export type AttachmentBase = {id?: string | undefined, contentType?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined, name?: (string | null) | undefined, size?: number | undefined} | {[key: string]: unknown}; export type AttachmentSession = {id?: string | undefined, content?: (unknown | null) | undefined, expirationDateTime?: (string | null) | undefined, nextExpectedRanges?: (Array) | undefined} | {[key: string]: unknown}; export type ChecklistItem = {id?: string | undefined, checkedDateTime?: (string | null) | undefined, createdDateTime?: string | undefined, displayName?: (string | null) | undefined, isChecked?: (boolean | null) | undefined} | {[key: string]: unknown}; export type LinkedResource = {id?: string | undefined, applicationName?: (string | null) | undefined, displayName?: (string | null) | undefined, externalId?: (string | null) | undefined, webUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type TodoTask = {id?: string | undefined, body?: ItemBody | undefined, bodyLastModifiedDateTime?: string | undefined, categories?: (Array) | undefined, completedDateTime?: DateTimeTimeZone | undefined, createdDateTime?: string | undefined, dueDateTime?: DateTimeTimeZone | undefined, hasAttachments?: (boolean | null) | undefined, importance?: Importance | undefined, isReminderOn?: boolean | undefined, lastModifiedDateTime?: string | undefined, recurrence?: PatternedRecurrence | undefined, reminderDateTime?: DateTimeTimeZone | undefined, startDateTime?: DateTimeTimeZone | undefined, status?: TaskStatus | undefined, title?: (string | null) | undefined, attachments?: Array | undefined, attachmentSessions?: Array | undefined, checklistItems?: Array | undefined, extensions?: Array | undefined, linkedResources?: Array | undefined} | {[key: string]: unknown}; export type TodoTaskList = {id?: string | undefined, displayName?: (string | null) | undefined, isOwner?: boolean | undefined, isShared?: boolean | undefined, wellknownListName?: WellknownListName | undefined, extensions?: Array | undefined, tasks?: Array | undefined} | {[key: string]: unknown}; export type Todo = {id?: string | undefined, lists?: Array | undefined} | {[key: string]: unknown}; export type User = {id?: string | undefined, deletedDateTime?: (string | null) | undefined, aboutMe?: (string | null) | undefined, accountEnabled?: (boolean | null) | undefined, ageGroup?: (string | null) | undefined, assignedLicenses?: Array | undefined, assignedPlans?: Array | undefined, authorizationInfo?: AuthorizationInfo | undefined, birthday?: string | undefined, businessPhones?: Array | undefined, city?: (string | null) | undefined, companyName?: (string | null) | undefined, consentProvidedForMinor?: (string | null) | undefined, country?: (string | null) | undefined, createdDateTime?: (string | null) | undefined, creationType?: (string | null) | undefined, customSecurityAttributes?: CustomSecurityAttributeValue | undefined, department?: (string | null) | undefined, deviceEnrollmentLimit?: number | undefined, displayName?: (string | null) | undefined, employeeHireDate?: (string | null) | undefined, employeeId?: (string | null) | undefined, employeeLeaveDateTime?: (string | null) | undefined, employeeOrgData?: EmployeeOrgData | undefined, employeeType?: (string | null) | undefined, externalUserState?: (string | null) | undefined, externalUserStateChangeDateTime?: (string | null) | undefined, faxNumber?: (string | null) | undefined, givenName?: (string | null) | undefined, hireDate?: string | undefined, identities?: Array | undefined, imAddresses?: (Array) | undefined, interests?: (Array) | undefined, isManagementRestricted?: (boolean | null) | undefined, isResourceAccount?: (boolean | null) | undefined, jobTitle?: (string | null) | undefined, lastPasswordChangeDateTime?: (string | null) | undefined, legalAgeGroupClassification?: (string | null) | undefined, licenseAssignmentStates?: Array | undefined, mail?: (string | null) | undefined, mailboxSettings?: MailboxSettings | undefined, mailNickname?: (string | null) | undefined, mobilePhone?: (string | null) | undefined, mySite?: (string | null) | undefined, officeLocation?: (string | null) | undefined, onPremisesDistinguishedName?: (string | null) | undefined, onPremisesDomainName?: (string | null) | undefined, onPremisesExtensionAttributes?: OnPremisesExtensionAttributes | undefined, onPremisesImmutableId?: (string | null) | undefined, onPremisesLastSyncDateTime?: (string | null) | undefined, onPremisesProvisioningErrors?: Array | undefined, onPremisesSamAccountName?: (string | null) | undefined, onPremisesSecurityIdentifier?: (string | null) | undefined, onPremisesSyncEnabled?: (boolean | null) | undefined, onPremisesUserPrincipalName?: (string | null) | undefined, otherMails?: Array | undefined, passwordPolicies?: (string | null) | undefined, passwordProfile?: PasswordProfile | undefined, pastProjects?: (Array) | undefined, postalCode?: (string | null) | undefined, preferredDataLocation?: (string | null) | undefined, preferredLanguage?: (string | null) | undefined, preferredName?: (string | null) | undefined, print?: UserPrint | undefined, provisionedPlans?: Array | undefined, proxyAddresses?: Array | undefined, responsibilities?: (Array) | undefined, schools?: (Array) | undefined, securityIdentifier?: (string | null) | undefined, serviceProvisioningErrors?: Array | undefined, showInAddressList?: (boolean | null) | undefined, signInActivity?: SignInActivity | undefined, signInSessionsValidFromDateTime?: (string | null) | undefined, skills?: (Array) | undefined, state?: (string | null) | undefined, streetAddress?: (string | null) | undefined, surname?: (string | null) | undefined, usageLocation?: (string | null) | undefined, userPrincipalName?: (string | null) | undefined, userType?: (string | null) | undefined, activities?: Array | undefined, agreementAcceptances?: Array | undefined, appRoleAssignments?: Array | undefined, authentication?: Authentication | undefined, calendar?: Calendar | undefined, calendarGroups?: Array | undefined, calendars?: Array | undefined, calendarView?: Array | undefined, chats?: Array | undefined, cloudClipboard?: CloudClipboardRoot | undefined, contactFolders?: Array | undefined, contacts?: Array | undefined, createdObjects?: Array | undefined, dataSecurityAndGovernance?: UserDataSecurityAndGovernance | undefined, deviceManagementTroubleshootingEvents?: Array | undefined, directReports?: Array | undefined, drive?: Drive | undefined, drives?: Array | undefined, employeeExperience?: EmployeeExperienceUser | undefined, events?: Array | undefined, extensions?: Array | undefined, followedSites?: Array | undefined, inferenceClassification?: InferenceClassification | undefined, insights?: ItemInsights | undefined, joinedTeams?: Array | undefined, licenseDetails?: Array | undefined, mailFolders?: Array | undefined, managedAppRegistrations?: Array | undefined, managedDevices?: Array | undefined, manager?: DirectoryObject | undefined, memberOf?: Array | undefined, messages?: Array | undefined, oauth2PermissionGrants?: Array | undefined, onenote?: Onenote | undefined, onlineMeetings?: Array | undefined, outlook?: OutlookUser | undefined, ownedDevices?: Array | undefined, ownedObjects?: Array | undefined, people?: Array | undefined, permissionGrants?: Array | undefined, photo?: ProfilePhoto | undefined, photos?: Array | undefined, planner?: PlannerUser | undefined, presence?: Presence | undefined, registeredDevices?: Array | undefined, scopedRoleMemberOf?: Array | undefined, settings?: UserSettings | undefined, solutions?: UserSolutionRoot | undefined, sponsors?: Array | undefined, teamwork?: UserTeamwork | undefined, todo?: Todo | undefined, transitiveMemberOf?: Array | undefined} | {[key: string]: unknown}; export type Audio = {album?: (string | null) | undefined, albumArtist?: (string | null) | undefined, artist?: (string | null) | undefined, bitrate?: (number | null) | undefined, composers?: (string | null) | undefined, copyright?: (string | null) | undefined, disc?: (number | null) | undefined, discCount?: (number | null) | undefined, duration?: (number | null) | undefined, genre?: (string | null) | undefined, hasDrm?: (boolean | null) | undefined, isVariableBitrate?: (boolean | null) | undefined, title?: (string | null) | undefined, track?: (number | null) | undefined, trackCount?: (number | null) | undefined, year?: (number | null) | undefined} | {[key: string]: unknown}; export type Album = {coverImageItemId?: (string | null) | undefined} | {[key: string]: unknown}; export type Bundle = {album?: Album | undefined, childCount?: (number | null) | undefined} | {[key: string]: unknown}; export type Deleted = {state?: (string | null) | undefined} | {[key: string]: unknown}; export type Hashes = {crc32Hash?: (string | null) | undefined, quickXorHash?: (string | null) | undefined, sha1Hash?: (string | null) | undefined, sha256Hash?: (string | null) | undefined} | {[key: string]: unknown}; export type File = {hashes?: Hashes | undefined, mimeType?: (string | null) | undefined, processingMetadata?: (boolean | null) | undefined} | {[key: string]: unknown}; export type FileSystemInfo = {createdDateTime?: (string | null) | undefined, lastAccessedDateTime?: (string | null) | undefined, lastModifiedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type FolderView = {sortBy?: (string | null) | undefined, sortOrder?: (string | null) | undefined, viewType?: (string | null) | undefined} | {[key: string]: unknown}; export type Folder = {childCount?: (number | null) | undefined, view?: FolderView | undefined} | {[key: string]: unknown}; export type Image = {height?: (number | null) | undefined, width?: (number | null) | undefined} | {[key: string]: unknown}; export type Malware = {description?: (string | null) | undefined} | {[key: string]: unknown}; export type Package = {type?: (string | null) | undefined} | {[key: string]: unknown}; export type PendingContentUpdate = {queuedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type PendingOperations = {pendingContentUpdate?: PendingContentUpdate | undefined} | {[key: string]: unknown}; export type Photo = {cameraMake?: (string | null) | undefined, cameraModel?: (string | null) | undefined, exposureDenominator?: (number | null) | undefined, exposureNumerator?: (number | null) | undefined, fNumber?: (number | null) | undefined, focalLength?: (number | null) | undefined, iso?: (number | null) | undefined, orientation?: (number | null) | undefined, takenDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type Shared = {owner?: IdentitySet | undefined, scope?: (string | null) | undefined, sharedBy?: IdentitySet | undefined, sharedDateTime?: (string | null) | undefined} | {[key: string]: unknown}; export type SpecialFolder = {name?: (string | null) | undefined} | {[key: string]: unknown}; export type Video = {audioBitsPerSample?: (number | null) | undefined, audioChannels?: (number | null) | undefined, audioFormat?: (string | null) | undefined, audioSamplesPerSecond?: (number | null) | undefined, bitrate?: (number | null) | undefined, duration?: (number | null) | undefined, fourCC?: (string | null) | undefined, frameRate?: (number | null) | undefined, height?: (number | null) | undefined, width?: (number | null) | undefined} | {[key: string]: unknown}; export type RemoteItem = {createdBy?: IdentitySet | undefined, createdDateTime?: (string | null) | undefined, file?: File | undefined, fileSystemInfo?: FileSystemInfo | undefined, folder?: Folder | undefined, id?: (string | null) | undefined, image?: Image | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, name?: (string | null) | undefined, package?: Package | undefined, parentReference?: ItemReference | undefined, shared?: Shared | undefined, sharepointIds?: SharepointIds | undefined, size?: (number | null) | undefined, specialFolder?: SpecialFolder | undefined, video?: Video | undefined, webDavUrl?: (string | null) | undefined, webUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type SearchResult = {onClickTelemetryUrl?: (string | null) | undefined} | {[key: string]: unknown}; export type SecurityBehaviorDuringRetentionPeriod = 'doNotRetain' | 'retain' | 'retainAsRecord' | 'retainAsRegulatoryRecord' | 'unknownFutureValue'; export type RetentionLabelSettings = {behaviorDuringRetentionPeriod?: SecurityBehaviorDuringRetentionPeriod | undefined, isContentUpdateAllowed?: (boolean | null) | undefined, isDeleteAllowed?: (boolean | null) | undefined, isLabelUpdateAllowed?: (boolean | null) | undefined, isMetadataUpdateAllowed?: (boolean | null) | undefined, isRecordLocked?: (boolean | null) | undefined} | {[key: string]: unknown}; export type ItemRetentionLabel = {id?: string | undefined, isLabelAppliedExplicitly?: (boolean | null) | undefined, labelAppliedBy?: IdentitySet | undefined, labelAppliedDateTime?: (string | null) | undefined, name?: (string | null) | undefined, retentionSettings?: RetentionLabelSettings | undefined} | {[key: string]: unknown}; export type Thumbnail = {content?: (unknown | null) | undefined, height?: (number | null) | undefined, sourceItemId?: (string | null) | undefined, url?: (string | null) | undefined, width?: (number | null) | undefined} | {[key: string]: unknown}; export type ThumbnailSet = {id?: string | undefined, large?: Thumbnail | undefined, medium?: Thumbnail | undefined, small?: Thumbnail | undefined, source?: Thumbnail | undefined} | {[key: string]: unknown}; export type DriveItemVersion = {id?: string | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: (string | null) | undefined, publication?: PublicationFacet | undefined, content?: (unknown | null) | undefined, size?: (number | null) | undefined} | {[key: string]: unknown}; export type WorkbookApplication = {id?: string | undefined, calculationMode?: string | undefined} | {[key: string]: unknown}; export type WorkbookCommentReply = {id?: string | undefined, content?: (string | null) | undefined, contentType?: string | undefined} | {[key: string]: unknown}; export type WorkbookComment = {id?: string | undefined, content?: (string | null) | undefined, contentType?: string | undefined, replies?: Array | undefined} | {[key: string]: unknown}; export type WorkbookFunctions = {id?: string | undefined} | {[key: string]: unknown}; export type WorkbookChartFont = {id?: string | undefined, bold?: (boolean | null) | undefined, color?: (string | null) | undefined, italic?: (boolean | null) | undefined, name?: (string | null) | undefined, size?: (number | null) | undefined, underline?: (string | null) | undefined} | {[key: string]: unknown}; export type WorkbookChartLineFormat = {id?: string | undefined, color?: (string | null) | undefined} | {[key: string]: unknown}; export type WorkbookChartAxisFormat = {id?: string | undefined, font?: WorkbookChartFont | undefined, line?: WorkbookChartLineFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartGridlinesFormat = {id?: string | undefined, line?: WorkbookChartLineFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartGridlines = {id?: string | undefined, visible?: boolean | undefined, format?: WorkbookChartGridlinesFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartAxisTitleFormat = {id?: string | undefined, font?: WorkbookChartFont | undefined} | {[key: string]: unknown}; export type WorkbookChartAxisTitle = {id?: string | undefined, text?: (string | null) | undefined, visible?: boolean | undefined, format?: WorkbookChartAxisTitleFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartAxis = {id?: string | undefined, majorUnit?: Json | undefined, maximum?: Json | undefined, minimum?: Json | undefined, minorUnit?: Json | undefined, format?: WorkbookChartAxisFormat | undefined, majorGridlines?: WorkbookChartGridlines | undefined, minorGridlines?: WorkbookChartGridlines | undefined, title?: WorkbookChartAxisTitle | undefined} | {[key: string]: unknown}; export type WorkbookChartAxes = {id?: string | undefined, categoryAxis?: WorkbookChartAxis | undefined, seriesAxis?: WorkbookChartAxis | undefined, valueAxis?: WorkbookChartAxis | undefined} | {[key: string]: unknown}; export type WorkbookChartFill = {id?: string | undefined} | {[key: string]: unknown}; export type WorkbookChartDataLabelFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined, font?: WorkbookChartFont | undefined} | {[key: string]: unknown}; export type WorkbookChartDataLabels = {id?: string | undefined, position?: (string | null) | undefined, separator?: (string | null) | undefined, showBubbleSize?: (boolean | null) | undefined, showCategoryName?: (boolean | null) | undefined, showLegendKey?: (boolean | null) | undefined, showPercentage?: (boolean | null) | undefined, showSeriesName?: (boolean | null) | undefined, showValue?: (boolean | null) | undefined, format?: WorkbookChartDataLabelFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartAreaFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined, font?: WorkbookChartFont | undefined} | {[key: string]: unknown}; export type WorkbookChartLegendFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined, font?: WorkbookChartFont | undefined} | {[key: string]: unknown}; export type WorkbookChartLegend = {id?: string | undefined, overlay?: (boolean | null) | undefined, position?: (string | null) | undefined, visible?: boolean | undefined, format?: WorkbookChartLegendFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartSeriesFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined, line?: WorkbookChartLineFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartPointFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined} | {[key: string]: unknown}; export type WorkbookChartPoint = {id?: string | undefined, value?: Json | undefined, format?: WorkbookChartPointFormat | undefined} | {[key: string]: unknown}; export type WorkbookChartSeries = {id?: string | undefined, name?: (string | null) | undefined, format?: WorkbookChartSeriesFormat | undefined, points?: Array | undefined} | {[key: string]: unknown}; export type WorkbookChartTitleFormat = {id?: string | undefined, fill?: WorkbookChartFill | undefined, font?: WorkbookChartFont | undefined} | {[key: string]: unknown}; export type WorkbookChartTitle = {id?: string | undefined, overlay?: (boolean | null) | undefined, text?: (string | null) | undefined, visible?: boolean | undefined, format?: WorkbookChartTitleFormat | undefined} | {[key: string]: unknown}; export type WorkbookChart = {id?: string | undefined, height?: (number | null) | undefined, left?: (number | null) | undefined, name?: (string | null) | undefined, top?: (number | null) | undefined, width?: (number | null) | undefined, axes?: WorkbookChartAxes | undefined, dataLabels?: WorkbookChartDataLabels | undefined, format?: WorkbookChartAreaFormat | undefined, legend?: WorkbookChartLegend | undefined, series?: Array | undefined, title?: WorkbookChartTitle | undefined, worksheet?: WorkbookWorksheet | undefined} | {[key: string]: unknown}; export type WorkbookPivotTable = {id?: string | undefined, name?: (string | null) | undefined, worksheet?: WorkbookWorksheet | undefined} | {[key: string]: unknown}; export type WorkbookWorksheetProtectionOptions = {allowAutoFilter?: boolean | undefined, allowDeleteColumns?: boolean | undefined, allowDeleteRows?: boolean | undefined, allowFormatCells?: boolean | undefined, allowFormatColumns?: boolean | undefined, allowFormatRows?: boolean | undefined, allowInsertColumns?: boolean | undefined, allowInsertHyperlinks?: boolean | undefined, allowInsertRows?: boolean | undefined, allowPivotTables?: boolean | undefined, allowSort?: boolean | undefined} | {[key: string]: unknown}; export type WorkbookWorksheetProtection = {id?: string | undefined, options?: WorkbookWorksheetProtectionOptions | undefined, protected?: boolean | undefined} | {[key: string]: unknown}; export type WorkbookIcon = {index?: number | undefined, set?: string | undefined} | {[key: string]: unknown}; export type WorkbookFilterCriteria = {color?: (string | null) | undefined, criterion1?: (string | null) | undefined, criterion2?: (string | null) | undefined, dynamicCriteria?: string | undefined, filterOn?: string | undefined, icon?: WorkbookIcon | undefined, operator?: string | undefined, values?: Json | undefined} | {[key: string]: unknown}; export type WorkbookFilter = {id?: string | undefined, criteria?: WorkbookFilterCriteria | undefined} | {[key: string]: unknown}; export type WorkbookTableColumn = {id?: string | undefined, index?: number | undefined, name?: (string | null) | undefined, values?: Json | undefined, filter?: WorkbookFilter | undefined} | {[key: string]: unknown}; export type WorkbookTableRow = {id?: string | undefined, index?: number | undefined, values?: Json | undefined} | {[key: string]: unknown}; export type WorkbookSortField = {ascending?: boolean | undefined, color?: (string | null) | undefined, dataOption?: string | undefined, icon?: WorkbookIcon | undefined, key?: number | undefined, sortOn?: string | undefined} | {[key: string]: unknown}; export type WorkbookTableSort = {id?: string | undefined, fields?: Array | undefined, matchCase?: boolean | undefined, method?: string | undefined} | {[key: string]: unknown}; export type WorkbookTable = {id?: string | undefined, highlightFirstColumn?: boolean | undefined, highlightLastColumn?: boolean | undefined, legacyId?: (string | null) | undefined, name?: (string | null) | undefined, showBandedColumns?: boolean | undefined, showBandedRows?: boolean | undefined, showFilterButton?: boolean | undefined, showHeaders?: boolean | undefined, showTotals?: boolean | undefined, style?: (string | null) | undefined, columns?: Array | undefined, rows?: Array | undefined, sort?: WorkbookTableSort | undefined, worksheet?: WorkbookWorksheet | undefined} | {[key: string]: unknown}; export type WorkbookWorksheet = {id?: string | undefined, name?: (string | null) | undefined, position?: number | undefined, visibility?: string | undefined, charts?: Array | undefined, names?: Array | undefined, pivotTables?: Array | undefined, protection?: WorkbookWorksheetProtection | undefined, tables?: Array | undefined} | {[key: string]: unknown}; export type WorkbookNamedItem = {id?: string | undefined, comment?: (string | null) | undefined, name?: (string | null) | undefined, scope?: string | undefined, type?: (string | null) | undefined, value?: Json | undefined, visible?: boolean | undefined, worksheet?: WorkbookWorksheet | undefined} | {[key: string]: unknown}; export type WorkbookOperationError = {code?: (string | null) | undefined, innerError?: WorkbookOperationError | undefined, message?: (string | null) | undefined} | {[key: string]: unknown}; export type WorkbookOperationStatus = 'notStarted' | 'running' | 'succeeded' | 'failed'; export type WorkbookOperation = {id?: string | undefined, error?: WorkbookOperationError | undefined, resourceLocation?: (string | null) | undefined, status?: WorkbookOperationStatus | undefined} | {[key: string]: unknown}; export type Workbook = {id?: string | undefined, application?: WorkbookApplication | undefined, comments?: Array | undefined, functions?: WorkbookFunctions | undefined, names?: Array | undefined, operations?: Array | undefined, tables?: Array | undefined, worksheets?: Array | undefined} | {[key: string]: unknown}; export type DriveItem = {id?: string | undefined, createdBy?: IdentitySet | undefined, createdDateTime?: string | undefined, description?: (string | null) | undefined, eTag?: (string | null) | undefined, lastModifiedBy?: IdentitySet | undefined, lastModifiedDateTime?: string | undefined, name?: (string | null) | undefined, parentReference?: ItemReference | undefined, webUrl?: (string | null) | undefined, createdByUser?: User | undefined, lastModifiedByUser?: User | undefined, audio?: Audio | undefined, bundle?: Bundle | undefined, content?: (unknown | null) | undefined, cTag?: (string | null) | undefined, deleted?: Deleted | undefined, file?: File | undefined, fileSystemInfo?: FileSystemInfo | undefined, folder?: Folder | undefined, image?: Image | undefined, location?: GeoCoordinates | undefined, malware?: Malware | undefined, package?: Package | undefined, pendingOperations?: PendingOperations | undefined, photo?: Photo | undefined, publication?: PublicationFacet | undefined, remoteItem?: RemoteItem | undefined, root?: Root | undefined, searchResult?: SearchResult | undefined, shared?: Shared | undefined, sharepointIds?: SharepointIds | undefined, size?: (number | null) | undefined, specialFolder?: SpecialFolder | undefined, video?: Video | undefined, webDavUrl?: (string | null) | undefined, analytics?: ItemAnalytics | undefined, children?: Array | undefined, listItem?: ListItem | undefined, permissions?: Array | undefined, retentionLabel?: ItemRetentionLabel | undefined, subscriptions?: Array | undefined, thumbnails?: Array | undefined, versions?: Array | undefined, workbook?: Workbook | undefined} | {[key: string]: unknown}; export type PatchApiDrivesDriveIdRootPathToItemArgs = {driveId: string, pathToItem: string, body: DriveItem}; export type PatchApiDrivesDriveIdRootPathToItemOptions = {baseUrl?: string | undefined, azureaadv2?: string | undefined, fetch?: typeof fetch | undefined}; export const identity = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const identitySet = z.object({application: identity.optional(), device: identity.optional(), user: identity.optional()}).and(z.record(z.string(), z.unknown())); export const sharepointIds = z.object({listId: z.string().nullable().optional(), listItemId: z.string().nullable().optional(), listItemUniqueId: z.string().nullable().optional(), siteId: z.string().nullable().optional(), siteUrl: z.string().nullable().optional(), tenantId: z.string().nullable().optional(), webId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const itemReference = z.object({driveId: z.string().nullable().optional(), driveType: z.string().nullable().optional(), id: z.string().nullable().optional(), name: z.string().nullable().optional(), path: z.string().nullable().optional(), shareId: z.string().nullable().optional(), sharepointIds: sharepointIds.optional(), siteId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const assignedLicense = z.object({disabledPlans: z.array(z.string()).optional(), skuId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const assignedPlan = z.object({assignedDateTime: z.string().nullable().optional(), capabilityStatus: z.string().nullable().optional(), service: z.string().nullable().optional(), servicePlanId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const authorizationInfo = z.object({certificateUserIds: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const customSecurityAttributeValue = z.record(z.string(), z.unknown()); export const employeeOrgData = z.object({costCenter: z.string().nullable().optional(), division: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const objectIdentity = z.object({issuer: z.string().nullable().optional(), issuerAssignedId: z.string().nullable().optional(), signInType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const licenseAssignmentState = z.object({assignedByGroup: z.string().nullable().optional(), disabledPlans: z.array(z.string().nullable()).optional(), error: z.string().nullable().optional(), lastUpdatedDateTime: z.string().nullable().optional(), skuId: z.string().nullable().optional(), state: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const externalAudienceScope = z.enum(["none", "contactsOnly", "all"]); export const dateTimeTimeZone = z.object({dateTime: z.string().optional(), timeZone: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const automaticRepliesStatus = z.enum(["disabled", "alwaysEnabled", "scheduled"]); export const automaticRepliesSetting = z.object({externalAudience: externalAudienceScope.optional(), externalReplyMessage: z.string().nullable().optional(), internalReplyMessage: z.string().nullable().optional(), scheduledEndDateTime: dateTimeTimeZone.optional(), scheduledStartDateTime: dateTimeTimeZone.optional(), status: automaticRepliesStatus.optional()}).and(z.record(z.string(), z.unknown())); export const delegateMeetingMessageDeliveryOptions = z.enum(["sendToDelegateAndInformationToPrincipal", "sendToDelegateAndPrincipal", "sendToDelegateOnly"]); export const localeInfo = z.object({displayName: z.string().nullable().optional(), locale: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const userPurpose = z.enum(["user", "linked", "shared", "room", "equipment", "others", "unknownFutureValue"]); export const dayOfWeek = z.enum(["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"]); export const timeZoneBase = z.object({name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const workingHours = z.object({daysOfWeek: z.array(dayOfWeek).optional(), endTime: z.string().nullable().optional(), startTime: z.string().nullable().optional(), timeZone: timeZoneBase.optional()}).and(z.record(z.string(), z.unknown())); export const mailboxSettings = z.object({archiveFolder: z.string().nullable().optional(), automaticRepliesSetting: automaticRepliesSetting.optional(), dateFormat: z.string().nullable().optional(), delegateMeetingMessageDeliveryOptions: delegateMeetingMessageDeliveryOptions.optional(), language: localeInfo.optional(), timeFormat: z.string().nullable().optional(), timeZone: z.string().nullable().optional(), userPurpose: userPurpose.optional(), workingHours: workingHours.optional()}).and(z.record(z.string(), z.unknown())); export const onPremisesExtensionAttributes = z.object({extensionAttribute1: z.string().nullable().optional(), extensionAttribute10: z.string().nullable().optional(), extensionAttribute11: z.string().nullable().optional(), extensionAttribute12: z.string().nullable().optional(), extensionAttribute13: z.string().nullable().optional(), extensionAttribute14: z.string().nullable().optional(), extensionAttribute15: z.string().nullable().optional(), extensionAttribute2: z.string().nullable().optional(), extensionAttribute3: z.string().nullable().optional(), extensionAttribute4: z.string().nullable().optional(), extensionAttribute5: z.string().nullable().optional(), extensionAttribute6: z.string().nullable().optional(), extensionAttribute7: z.string().nullable().optional(), extensionAttribute8: z.string().nullable().optional(), extensionAttribute9: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onPremisesProvisioningError = z.object({category: z.string().nullable().optional(), occurredDateTime: z.string().nullable().optional(), propertyCausingError: z.string().nullable().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const passwordProfile = z.object({forceChangePasswordNextSignIn: z.boolean().nullable().optional(), forceChangePasswordNextSignInWithMfa: z.boolean().nullable().optional(), password: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printColorMode = z.enum(["blackAndWhite", "grayscale", "color", "auto", "unknownFutureValue"]); export const integerRange = z.object({end: z.number().nullable().optional(), start: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printDuplexMode = z.enum(["flipOnLongEdge", "flipOnShortEdge", "oneSided", "unknownFutureValue"]); export const printerFeedOrientation = z.enum(["longEdgeFirst", "shortEdgeFirst", "unknownFutureValue"]); export const printFinishing = z.enum(["none", "staple", "punch", "cover", "bind", "saddleStitch", "stitchEdge", "stapleTopLeft", "stapleBottomLeft", "stapleTopRight", "stapleBottomRight", "stitchLeftEdge", "stitchTopEdge", "stitchRightEdge", "stitchBottomEdge", "stapleDualLeft", "stapleDualTop", "stapleDualRight", "stapleDualBottom", "unknownFutureValue", "stapleTripleLeft", "stapleTripleTop", "stapleTripleRight", "stapleTripleBottom", "bindLeft", "bindTop", "bindRight", "bindBottom", "foldAccordion", "foldDoubleGate", "foldGate", "foldHalf", "foldHalfZ", "foldLeftGate", "foldLetter", "foldParallel", "foldPoster", "foldRightGate", "foldZ", "foldEngineeringZ", "punchTopLeft", "punchBottomLeft", "punchTopRight", "punchBottomRight", "punchDualLeft", "punchDualTop", "punchDualRight", "punchDualBottom", "punchTripleLeft", "punchTripleTop", "punchTripleRight", "punchTripleBottom", "punchQuadLeft", "punchQuadTop", "punchQuadRight", "punchQuadBottom", "fold", "trim", "bale", "bookletMaker", "coat", "laminate", "trimAfterPages", "trimAfterDocuments", "trimAfterCopies", "trimAfterJob"]); export const printMultipageLayout = z.enum(["clockwiseFromTopLeft", "counterclockwiseFromTopLeft", "counterclockwiseFromTopRight", "clockwiseFromTopRight", "counterclockwiseFromBottomLeft", "clockwiseFromBottomLeft", "counterclockwiseFromBottomRight", "clockwiseFromBottomRight", "unknownFutureValue"]); export const printOrientation = z.enum(["portrait", "landscape", "reverseLandscape", "reversePortrait", "unknownFutureValue"]); export const printQuality = z.enum(["low", "medium", "high", "unknownFutureValue"]); export const printScaling = z.enum(["auto", "shrinkToFit", "fill", "fit", "none", "unknownFutureValue"]); export const printerCapabilities = z.object({bottomMargins: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional(), collation: z.boolean().nullable().optional(), colorModes: z.array(printColorMode).optional(), contentTypes: z.array(z.string().nullable()).optional(), copiesPerJob: integerRange.optional(), dpis: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional(), duplexModes: z.array(printDuplexMode).optional(), feedOrientations: z.array(printerFeedOrientation).optional(), finishings: z.array(printFinishing).optional(), inputBins: z.array(z.string().nullable()).optional(), isColorPrintingSupported: z.boolean().nullable().optional(), isPageRangeSupported: z.boolean().nullable().optional(), leftMargins: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional(), mediaColors: z.array(z.string().nullable()).optional(), mediaSizes: z.array(z.string().nullable()).optional(), mediaTypes: z.array(z.string().nullable()).optional(), multipageLayouts: z.array(printMultipageLayout).optional(), orientations: z.array(printOrientation).optional(), outputBins: z.array(z.string().nullable()).optional(), pagesPerSheet: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional(), qualities: z.array(printQuality).optional(), rightMargins: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional(), scalings: z.array(printScaling).optional(), supportsFitPdfToPage: z.boolean().nullable().optional(), topMargins: z.array(z.number().gte(-2147483648).lte(2147483647).nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const printerDefaults = z.object({colorMode: printColorMode.optional(), contentType: z.string().nullable().optional(), copiesPerJob: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), dpi: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), duplexMode: printDuplexMode.optional(), finishings: z.array(printFinishing).optional(), fitPdfToPage: z.boolean().nullable().optional(), inputBin: z.string().nullable().optional(), mediaColor: z.string().nullable().optional(), mediaSize: z.string().nullable().optional(), mediaType: z.string().nullable().optional(), multipageLayout: printMultipageLayout.optional(), orientation: printOrientation.optional(), outputBin: z.string().nullable().optional(), pagesPerSheet: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), quality: printQuality.optional(), scaling: printScaling.optional()}).and(z.record(z.string(), z.unknown())); export const printerLocation = z.object({altitudeInMeters: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), building: z.string().nullable().optional(), city: z.string().nullable().optional(), countryOrRegion: z.string().nullable().optional(), floor: z.string().nullable().optional(), floorDescription: z.string().nullable().optional(), latitude: z.number().nullable().optional(), longitude: z.number().nullable().optional(), organization: z.array(z.string().nullable()).optional(), postalCode: z.string().nullable().optional(), roomDescription: z.string().nullable().optional(), roomName: z.string().nullable().optional(), site: z.string().nullable().optional(), stateOrProvince: z.string().nullable().optional(), streetAddress: z.string().nullable().optional(), subdivision: z.array(z.string().nullable()).optional(), subunit: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const printerProcessingStateDetail = z.enum(["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", "alertRemovalOfBinaryChangeEntry", "banderAdded", "banderAlmostEmpty", "banderAlmostFull", "banderAtLimit", "banderClosed", "banderConfigurationChange", "banderCoverClosed", "banderCoverOpen", "banderEmpty", "banderFull", "banderInterlockClosed", "banderInterlockOpen", "banderJam", "banderLifeAlmostOver", "banderLifeOver", "banderMemoryExhausted", "banderMissing", "banderMotorFailure", "banderNearLimit", "banderOffline", "banderOpened", "banderOverTemperature", "banderPowerSaver", "banderRecoverableFailure", "banderRecoverableStorage", "banderRemoved", "banderResourceAdded", "banderResourceRemoved", "banderThermistorFailure", "banderTimingFailure", "banderTurnedOff", "banderTurnedOn", "banderUnderTemperature", "banderUnrecoverableFailure", "banderUnrecoverableStorageError", "banderWarmingUp", "binderAdded", "binderAlmostEmpty", "binderAlmostFull", "binderAtLimit", "binderClosed", "binderConfigurationChange", "binderCoverClosed", "binderCoverOpen", "binderEmpty", "binderFull", "binderInterlockClosed", "binderInterlockOpen", "binderJam", "binderLifeAlmostOver", "binderLifeOver", "binderMemoryExhausted", "binderMissing", "binderMotorFailure", "binderNearLimit", "binderOffline", "binderOpened", "binderOverTemperature", "binderPowerSaver", "binderRecoverableFailure", "binderRecoverableStorage", "binderRemoved", "binderResourceAdded", "binderResourceRemoved", "binderThermistorFailure", "binderTimingFailure", "binderTurnedOff", "binderTurnedOn", "binderUnderTemperature", "binderUnrecoverableFailure", "binderUnrecoverableStorageError", "binderWarmingUp", "cameraFailure", "chamberCooling", "chamberFailure", "chamberHeating", "chamberTemperatureHigh", "chamberTemperatureLow", "cleanerLifeAlmostOver", "cleanerLifeOver", "configurationChange", "deactivated", "deleted", "dieCutterAdded", "dieCutterAlmostEmpty", "dieCutterAlmostFull", "dieCutterAtLimit", "dieCutterClosed", "dieCutterConfigurationChange", "dieCutterCoverClosed", "dieCutterCoverOpen", "dieCutterEmpty", "dieCutterFull", "dieCutterInterlockClosed", "dieCutterInterlockOpen", "dieCutterJam", "dieCutterLifeAlmostOver", "dieCutterLifeOver", "dieCutterMemoryExhausted", "dieCutterMissing", "dieCutterMotorFailure", "dieCutterNearLimit", "dieCutterOffline", "dieCutterOpened", "dieCutterOverTemperature", "dieCutterPowerSaver", "dieCutterRecoverableFailure", "dieCutterRecoverableStorage", "dieCutterRemoved", "dieCutterResourceAdded", "dieCutterResourceRemoved", "dieCutterThermistorFailure", "dieCutterTimingFailure", "dieCutterTurnedOff", "dieCutterTurnedOn", "dieCutterUnderTemperature", "dieCutterUnrecoverableFailure", "dieCutterUnrecoverableStorageError", "dieCutterWarmingUp", "extruderCooling", "extruderFailure", "extruderHeating", "extruderJam", "extruderTemperatureHigh", "extruderTemperatureLow", "fanFailure", "faxModemLifeAlmostOver", "faxModemLifeOver", "faxModemMissing", "faxModemTurnedOff", "faxModemTurnedOn", "folderAdded", "folderAlmostEmpty", "folderAlmostFull", "folderAtLimit", "folderClosed", "folderConfigurationChange", "folderCoverClosed", "folderCoverOpen", "folderEmpty", "folderFull", "folderInterlockClosed", "folderInterlockOpen", "folderJam", "folderLifeAlmostOver", "folderLifeOver", "folderMemoryExhausted", "folderMissing", "folderMotorFailure", "folderNearLimit", "folderOffline", "folderOpened", "folderOverTemperature", "folderPowerSaver", "folderRecoverableFailure", "folderRecoverableStorage", "folderRemoved", "folderResourceAdded", "folderResourceRemoved", "folderThermistorFailure", "folderTimingFailure", "folderTurnedOff", "folderTurnedOn", "folderUnderTemperature", "folderUnrecoverableFailure", "folderUnrecoverableStorageError", "folderWarmingUp", "hibernate", "holdNewJobs", "identifyPrinterRequested", "imprinterAdded", "imprinterAlmostEmpty", "imprinterAlmostFull", "imprinterAtLimit", "imprinterClosed", "imprinterConfigurationChange", "imprinterCoverClosed", "imprinterCoverOpen", "imprinterEmpty", "imprinterFull", "imprinterInterlockClosed", "imprinterInterlockOpen", "imprinterJam", "imprinterLifeAlmostOver", "imprinterLifeOver", "imprinterMemoryExhausted", "imprinterMissing", "imprinterMotorFailure", "imprinterNearLimit", "imprinterOffline", "imprinterOpened", "imprinterOverTemperature", "imprinterPowerSaver", "imprinterRecoverableFailure", "imprinterRecoverableStorage", "imprinterRemoved", "imprinterResourceAdded", "imprinterResourceRemoved", "imprinterThermistorFailure", "imprinterTimingFailure", "imprinterTurnedOff", "imprinterTurnedOn", "imprinterUnderTemperature", "imprinterUnrecoverableFailure", "imprinterUnrecoverableStorageError", "imprinterWarmingUp", "inputCannotFeedSizeSelected", "inputManualInputRequest", "inputMediaColorChange", "inputMediaFormPartsChange", "inputMediaSizeChange", "inputMediaTrayFailure", "inputMediaTrayFeedError", "inputMediaTrayJam", "inputMediaTypeChange", "inputMediaWeightChange", "inputPickRollerFailure", "inputPickRollerLifeOver", "inputPickRollerLifeWarn", "inputPickRollerMissing", "inputTrayElevationFailure", "inputTrayPositionFailure", "inserterAdded", "inserterAlmostEmpty", "inserterAlmostFull", "inserterAtLimit", "inserterClosed", "inserterConfigurationChange", "inserterCoverClosed", "inserterCoverOpen", "inserterEmpty", "inserterFull", "inserterInterlockClosed", "inserterInterlockOpen", "inserterJam", "inserterLifeAlmostOver", "inserterLifeOver", "inserterMemoryExhausted", "inserterMissing", "inserterMotorFailure", "inserterNearLimit", "inserterOffline", "inserterOpened", "inserterOverTemperature", "inserterPowerSaver", "inserterRecoverableFailure", "inserterRecoverableStorage", "inserterRemoved", "inserterResourceAdded", "inserterResourceRemoved", "inserterThermistorFailure", "inserterTimingFailure", "inserterTurnedOff", "inserterTurnedOn", "inserterUnderTemperature", "inserterUnrecoverableFailure", "inserterUnrecoverableStorageError", "inserterWarmingUp", "interlockClosed", "interpreterCartridgeAdded", "interpreterCartridgeDeleted", "interpreterComplexPageEncountered", "interpreterMemoryDecrease", "interpreterMemoryIncrease", "interpreterResourceAdded", "interpreterResourceDeleted", "lampAtEol", "lampFailure", "lampNearEol", "laserAtEol", "laserFailure", "laserNearEol", "makeEnvelopeAdded", "makeEnvelopeAlmostEmpty", "makeEnvelopeAlmostFull", "makeEnvelopeAtLimit", "makeEnvelopeClosed", "makeEnvelopeConfigurationChange", "makeEnvelopeCoverClosed", "makeEnvelopeCoverOpen", "makeEnvelopeEmpty", "makeEnvelopeFull", "makeEnvelopeInterlockClosed", "makeEnvelopeInterlockOpen", "makeEnvelopeJam", "makeEnvelopeLifeAlmostOver", "makeEnvelopeLifeOver", "makeEnvelopeMemoryExhausted", "makeEnvelopeMissing", "makeEnvelopeMotorFailure", "makeEnvelopeNearLimit", "makeEnvelopeOffline", "makeEnvelopeOpened", "makeEnvelopeOverTemperature", "makeEnvelopePowerSaver", "makeEnvelopeRecoverableFailure", "makeEnvelopeRecoverableStorage", "makeEnvelopeRemoved", "makeEnvelopeResourceAdded", "makeEnvelopeResourceRemoved", "makeEnvelopeThermistorFailure", "makeEnvelopeTimingFailure", "makeEnvelopeTurnedOff", "makeEnvelopeTurnedOn", "makeEnvelopeUnderTemperature", "makeEnvelopeUnrecoverableFailure", "makeEnvelopeUnrecoverableStorageError", "makeEnvelopeWarmingUp", "markerAdjustingPrintQuality", "markerCleanerMissing", "markerDeveloperAlmostEmpty", "markerDeveloperEmpty", "markerDeveloperMissing", "markerFuserMissing", "markerFuserThermistorFailure", "markerFuserTimingFailure", "markerInkAlmostEmpty", "markerInkEmpty", "markerInkMissing", "markerOpcMissing", "markerPrintRibbonAlmostEmpty", "markerPrintRibbonEmpty", "markerPrintRibbonMissing", "markerSupplyAlmostEmpty", "markerSupplyMissing", "markerTonerCartridgeMissing", "markerTonerMissing", "markerWasteInkReceptacleAlmostFull", "markerWasteInkReceptacleFull", "markerWasteInkReceptacleMissing", "markerWasteMissing", "markerWasteTonerReceptacleAlmostFull", "markerWasteTonerReceptacleFull", "markerWasteTonerReceptacleMissing", "materialEmpty", "materialLow", "materialNeeded", "mediaDrying", "mediaPathCannotDuplexMediaSelected", "mediaPathFailure", "mediaPathInputEmpty", "mediaPathInputFeedError", "mediaPathInputJam", "mediaPathInputRequest", "mediaPathJam", "mediaPathMediaTrayAlmostFull", "mediaPathMediaTrayFull", "mediaPathMediaTrayMissing", "mediaPathOutputFeedError", "mediaPathOutputFull", "mediaPathOutputJam", "mediaPathPickRollerFailure", "mediaPathPickRollerLifeOver", "mediaPathPickRollerLifeWarn", "mediaPathPickRollerMissing", "motorFailure", "outputMailboxSelectFailure", "outputMediaTrayFailure", "outputMediaTrayFeedError", "outputMediaTrayJam", "perforaterAdded", "perforaterAlmostEmpty", "perforaterAlmostFull", "perforaterAtLimit", "perforaterClosed", "perforaterConfigurationChange", "perforaterCoverClosed", "perforaterCoverOpen", "perforaterEmpty", "perforaterFull", "perforaterInterlockClosed", "perforaterInterlockOpen", "perforaterJam", "perforaterLifeAlmostOver", "perforaterLifeOver", "perforaterMemoryExhausted", "perforaterMissing", "perforaterMotorFailure", "perforaterNearLimit", "perforaterOffline", "perforaterOpened", "perforaterOverTemperature", "perforaterPowerSaver", "perforaterRecoverableFailure", "perforaterRecoverableStorage", "perforaterRemoved", "perforaterResourceAdded", "perforaterResourceRemoved", "perforaterThermistorFailure", "perforaterTimingFailure", "perforaterTurnedOff", "perforaterTurnedOn", "perforaterUnderTemperature", "perforaterUnrecoverableFailure", "perforaterUnrecoverableStorageError", "perforaterWarmingUp", "platformCooling", "platformFailure", "platformHeating", "platformTemperatureHigh", "platformTemperatureLow", "powerDown", "powerUp", "printerManualReset", "printerNmsReset", "printerReadyToPrint", "puncherAdded", "puncherAlmostEmpty", "puncherAlmostFull", "puncherAtLimit", "puncherClosed", "puncherConfigurationChange", "puncherCoverClosed", "puncherCoverOpen", "puncherEmpty", "puncherFull", "puncherInterlockClosed", "puncherInterlockOpen", "puncherJam", "puncherLifeAlmostOver", "puncherLifeOver", "puncherMemoryExhausted", "puncherMissing", "puncherMotorFailure", "puncherNearLimit", "puncherOffline", "puncherOpened", "puncherOverTemperature", "puncherPowerSaver", "puncherRecoverableFailure", "puncherRecoverableStorage", "puncherRemoved", "puncherResourceAdded", "puncherResourceRemoved", "puncherThermistorFailure", "puncherTimingFailure", "puncherTurnedOff", "puncherTurnedOn", "puncherUnderTemperature", "puncherUnrecoverableFailure", "puncherUnrecoverableStorageError", "puncherWarmingUp", "resuming", "scanMediaPathFailure", "scanMediaPathInputEmpty", "scanMediaPathInputFeedError", "scanMediaPathInputJam", "scanMediaPathInputRequest", "scanMediaPathJam", "scanMediaPathOutputFeedError", "scanMediaPathOutputFull", "scanMediaPathOutputJam", "scanMediaPathPickRollerFailure", "scanMediaPathPickRollerLifeOver", "scanMediaPathPickRollerLifeWarn", "scanMediaPathPickRollerMissing", "scanMediaPathTrayAlmostFull", "scanMediaPathTrayFull", "scanMediaPathTrayMissing", "scannerLightFailure", "scannerLightLifeAlmostOver", "scannerLightLifeOver", "scannerLightMissing", "scannerSensorFailure", "scannerSensorLifeAlmostOver", "scannerSensorLifeOver", "scannerSensorMissing", "separationCutterAdded", "separationCutterAlmostEmpty", "separationCutterAlmostFull", "separationCutterAtLimit", "separationCutterClosed", "separationCutterConfigurationChange", "separationCutterCoverClosed", "separationCutterCoverOpen", "separationCutterEmpty", "separationCutterFull", "separationCutterInterlockClosed", "separationCutterInterlockOpen", "separationCutterJam", "separationCutterLifeAlmostOver", "separationCutterLifeOver", "separationCutterMemoryExhausted", "separationCutterMissing", "separationCutterMotorFailure", "separationCutterNearLimit", "separationCutterOffline", "separationCutterOpened", "separationCutterOverTemperature", "separationCutterPowerSaver", "separationCutterRecoverableFailure", "separationCutterRecoverableStorage", "separationCutterRemoved", "separationCutterResourceAdded", "separationCutterResourceRemoved", "separationCutterThermistorFailure", "separationCutterTimingFailure", "separationCutterTurnedOff", "separationCutterTurnedOn", "separationCutterUnderTemperature", "separationCutterUnrecoverableFailure", "separationCutterUnrecoverableStorageError", "separationCutterWarmingUp", "sheetRotatorAdded", "sheetRotatorAlmostEmpty", "sheetRotatorAlmostFull", "sheetRotatorAtLimit", "sheetRotatorClosed", "sheetRotatorConfigurationChange", "sheetRotatorCoverClosed", "sheetRotatorCoverOpen", "sheetRotatorEmpty", "sheetRotatorFull", "sheetRotatorInterlockClosed", "sheetRotatorInterlockOpen", "sheetRotatorJam", "sheetRotatorLifeAlmostOver", "sheetRotatorLifeOver", "sheetRotatorMemoryExhausted", "sheetRotatorMissing", "sheetRotatorMotorFailure", "sheetRotatorNearLimit", "sheetRotatorOffline", "sheetRotatorOpened", "sheetRotatorOverTemperature", "sheetRotatorPowerSaver", "sheetRotatorRecoverableFailure", "sheetRotatorRecoverableStorage", "sheetRotatorRemoved", "sheetRotatorResourceAdded", "sheetRotatorResourceRemoved", "sheetRotatorThermistorFailure", "sheetRotatorTimingFailure", "sheetRotatorTurnedOff", "sheetRotatorTurnedOn", "sheetRotatorUnderTemperature", "sheetRotatorUnrecoverableFailure", "sheetRotatorUnrecoverableStorageError", "sheetRotatorWarmingUp", "slitterAdded", "slitterAlmostEmpty", "slitterAlmostFull", "slitterAtLimit", "slitterClosed", "slitterConfigurationChange", "slitterCoverClosed", "slitterCoverOpen", "slitterEmpty", "slitterFull", "slitterInterlockClosed", "slitterInterlockOpen", "slitterJam", "slitterLifeAlmostOver", "slitterLifeOver", "slitterMemoryExhausted", "slitterMissing", "slitterMotorFailure", "slitterNearLimit", "slitterOffline", "slitterOpened", "slitterOverTemperature", "slitterPowerSaver", "slitterRecoverableFailure", "slitterRecoverableStorage", "slitterRemoved", "slitterResourceAdded", "slitterResourceRemoved", "slitterThermistorFailure", "slitterTimingFailure", "slitterTurnedOff", "slitterTurnedOn", "slitterUnderTemperature", "slitterUnrecoverableFailure", "slitterUnrecoverableStorageError", "slitterWarmingUp", "stackerAdded", "stackerAlmostEmpty", "stackerAlmostFull", "stackerAtLimit", "stackerClosed", "stackerConfigurationChange", "stackerCoverClosed", "stackerCoverOpen", "stackerEmpty", "stackerFull", "stackerInterlockClosed", "stackerInterlockOpen", "stackerJam", "stackerLifeAlmostOver", "stackerLifeOver", "stackerMemoryExhausted", "stackerMissing", "stackerMotorFailure", "stackerNearLimit", "stackerOffline", "stackerOpened", "stackerOverTemperature", "stackerPowerSaver", "stackerRecoverableFailure", "stackerRecoverableStorage", "stackerRemoved", "stackerResourceAdded", "stackerResourceRemoved", "stackerThermistorFailure", "stackerTimingFailure", "stackerTurnedOff", "stackerTurnedOn", "stackerUnderTemperature", "stackerUnrecoverableFailure", "stackerUnrecoverableStorageError", "stackerWarmingUp", "standby", "staplerAdded", "staplerAlmostEmpty", "staplerAlmostFull", "staplerAtLimit", "staplerClosed", "staplerConfigurationChange", "staplerCoverClosed", "staplerCoverOpen", "staplerEmpty", "staplerFull", "staplerInterlockClosed", "staplerInterlockOpen", "staplerJam", "staplerLifeAlmostOver", "staplerLifeOver", "staplerMemoryExhausted", "staplerMissing", "staplerMotorFailure", "staplerNearLimit", "staplerOffline", "staplerOpened", "staplerOverTemperature", "staplerPowerSaver", "staplerRecoverableFailure", "staplerRecoverableStorage", "staplerRemoved", "staplerResourceAdded", "staplerResourceRemoved", "staplerThermistorFailure", "staplerTimingFailure", "staplerTurnedOff", "staplerTurnedOn", "staplerUnderTemperature", "staplerUnrecoverableFailure", "staplerUnrecoverableStorageError", "staplerWarmingUp", "stitcherAdded", "stitcherAlmostEmpty", "stitcherAlmostFull", "stitcherAtLimit", "stitcherClosed", "stitcherConfigurationChange", "stitcherCoverClosed", "stitcherCoverOpen", "stitcherEmpty", "stitcherFull", "stitcherInterlockClosed", "stitcherInterlockOpen", "stitcherJam", "stitcherLifeAlmostOver", "stitcherLifeOver", "stitcherMemoryExhausted", "stitcherMissing", "stitcherMotorFailure", "stitcherNearLimit", "stitcherOffline", "stitcherOpened", "stitcherOverTemperature", "stitcherPowerSaver", "stitcherRecoverableFailure", "stitcherRecoverableStorage", "stitcherRemoved", "stitcherResourceAdded", "stitcherResourceRemoved", "stitcherThermistorFailure", "stitcherTimingFailure", "stitcherTurnedOff", "stitcherTurnedOn", "stitcherUnderTemperature", "stitcherUnrecoverableFailure", "stitcherUnrecoverableStorageError", "stitcherWarmingUp", "subunitAdded", "subunitAlmostEmpty", "subunitAlmostFull", "subunitAtLimit", "subunitClosed", "subunitCoolingDown", "subunitEmpty", "subunitFull", "subunitLifeAlmostOver", "subunitLifeOver", "subunitMemoryExhausted", "subunitMissing", "subunitMotorFailure", "subunitNearLimit", "subunitOffline", "subunitOpened", "subunitOverTemperature", "subunitPowerSaver", "subunitRecoverableFailure", "subunitRecoverableStorage", "subunitRemoved", "subunitResourceAdded", "subunitResourceRemoved", "subunitThermistorFailure", "subunitTimingFailure", "subunitTurnedOff", "subunitTurnedOn", "subunitUnderTemperature", "subunitUnrecoverableFailure", "subunitUnrecoverableStorage", "subunitWarmingUp", "suspend", "testing", "trimmerAdded", "trimmerAlmostEmpty", "trimmerAlmostFull", "trimmerAtLimit", "trimmerClosed", "trimmerConfigurationChange", "trimmerCoverClosed", "trimmerCoverOpen", "trimmerEmpty", "trimmerFull", "trimmerInterlockClosed", "trimmerInterlockOpen", "trimmerJam", "trimmerLifeAlmostOver", "trimmerLifeOver", "trimmerMemoryExhausted", "trimmerMissing", "trimmerMotorFailure", "trimmerNearLimit", "trimmerOffline", "trimmerOpened", "trimmerOverTemperature", "trimmerPowerSaver", "trimmerRecoverableFailure", "trimmerRecoverableStorage", "trimmerRemoved", "trimmerResourceAdded", "trimmerResourceRemoved", "trimmerThermistorFailure", "trimmerTimingFailure", "trimmerTurnedOff", "trimmerTurnedOn", "trimmerUnderTemperature", "trimmerUnrecoverableFailure", "trimmerUnrecoverableStorageError", "trimmerWarmingUp", "unknown", "wrapperAdded", "wrapperAlmostEmpty", "wrapperAlmostFull", "wrapperAtLimit", "wrapperClosed", "wrapperConfigurationChange", "wrapperCoverClosed", "wrapperCoverOpen", "wrapperEmpty", "wrapperFull", "wrapperInterlockClosed", "wrapperInterlockOpen", "wrapperJam", "wrapperLifeAlmostOver", "wrapperLifeOver", "wrapperMemoryExhausted", "wrapperMissing", "wrapperMotorFailure", "wrapperNearLimit", "wrapperOffline", "wrapperOpened", "wrapperOverTemperature", "wrapperPowerSaver", "wrapperRecoverableFailure", "wrapperRecoverableStorage", "wrapperRemoved", "wrapperResourceAdded", "wrapperResourceRemoved", "wrapperThermistorFailure", "wrapperTimingFailure", "wrapperTurnedOff", "wrapperTurnedOn", "wrapperUnderTemperature", "wrapperUnrecoverableFailure", "wrapperUnrecoverableStorageError", "wrapperWarmingUp"]); export const printerProcessingState = z.enum(["unknown", "idle", "processing", "stopped", "unknownFutureValue"]); export const printerStatus = z.object({description: z.string().nullable().optional(), details: z.array(printerProcessingStateDetail).optional(), state: printerProcessingState.optional()}).and(z.record(z.string(), z.unknown())); export const printMargin = z.object({bottom: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), left: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), right: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), top: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printJobConfiguration = z.object({collate: z.boolean().nullable().optional(), colorMode: printColorMode.optional(), copies: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), dpi: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), duplexMode: printDuplexMode.optional(), feedOrientation: printerFeedOrientation.optional(), finishings: z.array(printFinishing).optional(), fitPdfToPage: z.boolean().nullable().optional(), inputBin: z.string().nullable().optional(), margin: printMargin.optional(), mediaSize: z.string().nullable().optional(), mediaType: z.string().nullable().optional(), multipageLayout: printMultipageLayout.optional(), orientation: printOrientation.optional(), outputBin: z.string().nullable().optional(), pageRanges: z.array(integerRange).optional(), pagesPerSheet: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), quality: printQuality.optional(), scaling: printScaling.optional()}).and(z.record(z.string(), z.unknown())); export const userIdentity = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional(), ipAddress: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printJobStateDetail = z.enum(["uploadPending", "transforming", "completedSuccessfully", "completedWithWarnings", "completedWithErrors", "releaseWait", "interpreting", "unknownFutureValue"]); export const printJobProcessingState = z.enum(["unknown", "pending", "processing", "paused", "stopped", "completed", "canceled", "aborted", "unknownFutureValue"]); export const printJobStatus = z.object({description: z.string().optional(), details: z.array(printJobStateDetail).optional(), isAcquiredByPrinter: z.boolean().optional(), state: printJobProcessingState.optional()}).and(z.record(z.string(), z.unknown())); export const printDocument = z.object({id: z.string().optional(), contentType: z.string().nullable().optional(), displayName: z.string().nullable().optional(), downloadedDateTime: z.string().nullable().optional(), size: z.number().optional(), uploadedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printTaskProcessingState = z.enum(["pending", "processing", "completed", "aborted", "unknownFutureValue"]); export const printTaskStatus = z.object({description: z.string().optional(), state: printTaskProcessingState.optional()}).and(z.record(z.string(), z.unknown())); export const appIdentity = z.object({appId: z.string().nullable().optional(), displayName: z.string().nullable().optional(), servicePrincipalId: z.string().nullable().optional(), servicePrincipalName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const printTaskDefinition = z.object({id: z.string().optional(), createdBy: appIdentity.optional(), displayName: z.string().optional(), tasks: z.array(z.lazy(() => printTask)).optional()}).and(z.record(z.string(), z.unknown())); export const printEvent = z.enum(["jobStarted", "unknownFutureValue"]); export const printTaskTrigger = z.object({id: z.string().optional(), event: printEvent.optional(), definition: printTaskDefinition.optional()}).and(z.record(z.string(), z.unknown())); export const printTask: z.ZodType = z.object({id: z.string().optional(), parentUrl: z.string().optional(), status: printTaskStatus.optional(), definition: printTaskDefinition.optional(), trigger: printTaskTrigger.optional()}).and(z.record(z.string(), z.unknown())); export const printJob = z.object({id: z.string().optional(), acknowledgedDateTime: z.string().nullable().optional(), configuration: printJobConfiguration.optional(), createdBy: userIdentity.optional(), createdDateTime: z.string().optional(), errorCode: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), isFetchable: z.boolean().optional(), redirectedFrom: z.string().nullable().optional(), redirectedTo: z.string().nullable().optional(), status: printJobStatus.optional(), documents: z.array(printDocument).optional(), tasks: z.array(printTask).optional()}).and(z.record(z.string(), z.unknown())); export const printerShareViewpoint = z.object({lastUsedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const assignedLabel = z.object({displayName: z.string().nullable().optional(), labelId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const licenseProcessingState = z.object({state: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const serviceProvisioningError = z.object({createdDateTime: z.string().nullable().optional(), isResolved: z.boolean().nullable().optional(), serviceInstance: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const directoryObject = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const appRoleAssignment = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional(), appRoleId: z.string().optional(), createdDateTime: z.string().nullable().optional(), principalDisplayName: z.string().nullable().optional(), principalId: z.string().nullable().optional(), principalType: z.string().nullable().optional(), resourceDisplayName: z.string().nullable().optional(), resourceId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onlineMeetingProviderType = z.enum(["unknown", "skypeForBusiness", "skypeForConsumer", "teamsForBusiness"]); export const calendarColor = z.enum(["auto", "lightBlue", "lightGreen", "lightOrange", "lightGray", "lightYellow", "lightTeal", "lightPink", "lightBrown", "lightRed", "maxColor"]); export const emailAddress = z.object({address: z.string().nullable().optional(), name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const calendarRoleType = z.enum(["none", "freeBusyRead", "limitedRead", "read", "write", "delegateWithoutPrivateEventAccess", "delegateWithPrivateEventAccess", "custom"]); export const calendarPermission = z.object({id: z.string().optional(), allowedRoles: z.array(calendarRoleType).optional(), emailAddress: emailAddress.optional(), isInsideOrganization: z.boolean().nullable().optional(), isRemovable: z.boolean().nullable().optional(), role: calendarRoleType.optional()}).and(z.record(z.string(), z.unknown())); export const attendeeType = z.enum(["required", "optional", "resource"]); export const timeSlot = z.object({end: dateTimeTimeZone.optional(), start: dateTimeTimeZone.optional()}).and(z.record(z.string(), z.unknown())); export const responseType = z.enum(["none", "organizer", "tentativelyAccepted", "accepted", "declined", "notResponded"]); export const responseStatus = z.object({response: responseType.optional(), time: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const attendee = z.object({emailAddress: emailAddress.optional(), type: attendeeType.optional(), proposedNewTime: timeSlot.optional(), status: responseStatus.optional()}).and(z.record(z.string(), z.unknown())); export const bodyType = z.enum(["text", "html"]); export const itemBody = z.object({content: z.string().nullable().optional(), contentType: bodyType.optional()}).and(z.record(z.string(), z.unknown())); export const importance = z.enum(["low", "normal", "high"]); export const physicalAddress = z.object({city: z.string().nullable().optional(), countryOrRegion: z.string().nullable().optional(), postalCode: z.string().nullable().optional(), state: z.string().nullable().optional(), street: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const outlookGeoCoordinates = z.object({accuracy: z.number().nullable().optional(), altitude: z.number().nullable().optional(), altitudeAccuracy: z.number().nullable().optional(), latitude: z.number().nullable().optional(), longitude: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const locationType = z.enum(["default", "conferenceRoom", "homeAddress", "businessAddress", "geoCoordinates", "streetAddress", "hotel", "restaurant", "localBusiness", "postalAddress"]); export const locationUniqueIdType = z.enum(["unknown", "locationStore", "directory", "private", "bing"]); export const location = z.object({address: physicalAddress.optional(), coordinates: outlookGeoCoordinates.optional(), displayName: z.string().nullable().optional(), locationEmailAddress: z.string().nullable().optional(), locationType: locationType.optional(), locationUri: z.string().nullable().optional(), uniqueId: z.string().nullable().optional(), uniqueIdType: locationUniqueIdType.optional()}).and(z.record(z.string(), z.unknown())); export const phoneType = z.enum(["home", "business", "mobile", "other", "assistant", "homeFax", "businessFax", "otherFax", "pager", "radio"]); export const phone = z.object({language: z.string().nullable().optional(), number: z.string().nullable().optional(), region: z.string().nullable().optional(), type: phoneType.optional()}).and(z.record(z.string(), z.unknown())); export const onlineMeetingInfo = z.object({conferenceId: z.string().nullable().optional(), joinUrl: z.string().nullable().optional(), phones: z.array(phone).optional(), quickDial: z.string().nullable().optional(), tollFreeNumbers: z.array(z.string().nullable()).optional(), tollNumber: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const recipient = z.object({emailAddress: emailAddress.optional()}).and(z.record(z.string(), z.unknown())); export const weekIndex = z.enum(["first", "second", "third", "fourth", "last"]); export const recurrencePatternType = z.enum(["daily", "weekly", "absoluteMonthly", "relativeMonthly", "absoluteYearly", "relativeYearly"]); export const recurrencePattern = z.object({dayOfMonth: z.number().gte(-2147483648).lte(2147483647).optional(), daysOfWeek: z.array(dayOfWeek).optional(), firstDayOfWeek: dayOfWeek.optional(), index: weekIndex.optional(), interval: z.number().gte(-2147483648).lte(2147483647).optional(), month: z.number().gte(-2147483648).lte(2147483647).optional(), type: recurrencePatternType.optional()}).and(z.record(z.string(), z.unknown())); export const recurrenceRangeType = z.enum(["endDate", "noEnd", "numbered"]); export const recurrenceRange = z.object({endDate: z.string().nullable().optional(), numberOfOccurrences: z.number().gte(-2147483648).lte(2147483647).optional(), recurrenceTimeZone: z.string().nullable().optional(), startDate: z.string().nullable().optional(), type: recurrenceRangeType.optional()}).and(z.record(z.string(), z.unknown())); export const patternedRecurrence = z.object({pattern: recurrencePattern.optional(), range: recurrenceRange.optional()}).and(z.record(z.string(), z.unknown())); export const sensitivity = z.enum(["normal", "personal", "private", "confidential"]); export const freeBusyStatus = z.enum(["unknown", "free", "tentative", "busy", "oof", "workingElsewhere"]); export const eventType = z.enum(["singleInstance", "occurrence", "exception", "seriesMaster"]); export const attachment = z.object({id: z.string().optional(), contentType: z.string().nullable().optional(), isInline: z.boolean().optional(), lastModifiedDateTime: z.string().nullable().optional(), name: z.string().nullable().optional(), size: z.number().gte(-2147483648).lte(2147483647).optional()}).and(z.record(z.string(), z.unknown())); export const extension = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const multiValueLegacyExtendedProperty = z.object({id: z.string().optional(), value: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const singleValueLegacyExtendedProperty = z.object({id: z.string().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const event: z.ZodType = z.object({id: z.string().optional(), categories: z.array(z.string().nullable()).optional(), changeKey: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), allowNewTimeProposals: z.boolean().nullable().optional(), attendees: z.array(attendee).optional(), body: itemBody.optional(), bodyPreview: z.string().nullable().optional(), cancelledOccurrences: z.array(z.string()).optional(), end: dateTimeTimeZone.optional(), hasAttachments: z.boolean().nullable().optional(), hideAttendees: z.boolean().nullable().optional(), iCalUId: z.string().nullable().optional(), importance: importance.optional(), isAllDay: z.boolean().nullable().optional(), isCancelled: z.boolean().nullable().optional(), isDraft: z.boolean().nullable().optional(), isOnlineMeeting: z.boolean().nullable().optional(), isOrganizer: z.boolean().nullable().optional(), isReminderOn: z.boolean().nullable().optional(), location: location.optional(), locations: z.array(location).optional(), onlineMeeting: onlineMeetingInfo.optional(), onlineMeetingProvider: onlineMeetingProviderType.optional(), onlineMeetingUrl: z.string().nullable().optional(), organizer: recipient.optional(), originalEndTimeZone: z.string().nullable().optional(), originalStart: z.string().nullable().optional(), originalStartTimeZone: z.string().nullable().optional(), recurrence: patternedRecurrence.optional(), reminderMinutesBeforeStart: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), responseRequested: z.boolean().nullable().optional(), responseStatus: responseStatus.optional(), sensitivity: sensitivity.optional(), seriesMasterId: z.string().nullable().optional(), showAs: freeBusyStatus.optional(), start: dateTimeTimeZone.optional(), subject: z.string().nullable().optional(), transactionId: z.string().nullable().optional(), type: eventType.optional(), webLink: z.string().nullable().optional(), attachments: z.array(attachment).optional(), calendar: z.lazy(() => calendar.optional()), exceptionOccurrences: z.array(z.lazy(() => event)).optional(), extensions: z.array(extension).optional(), instances: z.array(z.lazy(() => event)).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const calendar: z.ZodType = z.object({id: z.string().optional(), allowedOnlineMeetingProviders: z.array(onlineMeetingProviderType).optional(), canEdit: z.boolean().nullable().optional(), canShare: z.boolean().nullable().optional(), canViewPrivateItems: z.boolean().nullable().optional(), changeKey: z.string().nullable().optional(), color: calendarColor.optional(), defaultOnlineMeetingProvider: onlineMeetingProviderType.optional(), hexColor: z.string().nullable().optional(), isDefaultCalendar: z.boolean().nullable().optional(), isRemovable: z.boolean().nullable().optional(), isTallyingResponses: z.boolean().nullable().optional(), name: z.string().nullable().optional(), owner: emailAddress.optional(), calendarPermissions: z.array(calendarPermission).optional(), calendarView: z.array(event).optional(), events: z.array(event).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const post: z.ZodType = z.object({id: z.string().optional(), categories: z.array(z.string().nullable()).optional(), changeKey: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), body: itemBody.optional(), conversationId: z.string().nullable().optional(), conversationThreadId: z.string().nullable().optional(), from: recipient.optional(), hasAttachments: z.boolean().optional(), newParticipants: z.array(recipient).optional(), receivedDateTime: z.string().optional(), sender: recipient.optional(), attachments: z.array(attachment).optional(), extensions: z.array(extension).optional(), inReplyTo: z.lazy(() => post.optional()), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const conversationThread = z.object({id: z.string().optional(), ccRecipients: z.array(recipient).optional(), hasAttachments: z.boolean().optional(), isLocked: z.boolean().optional(), lastDeliveredDateTime: z.string().optional(), preview: z.string().optional(), topic: z.string().optional(), toRecipients: z.array(recipient).optional(), uniqueSenders: z.array(z.string()).optional(), posts: z.array(post).optional()}).and(z.record(z.string(), z.unknown())); export const conversation = z.object({id: z.string().optional(), hasAttachments: z.boolean().optional(), lastDeliveredDateTime: z.string().optional(), preview: z.string().optional(), topic: z.string().optional(), uniqueSenders: z.array(z.string()).optional(), threads: z.array(conversationThread).optional()}).and(z.record(z.string(), z.unknown())); export const storagePlanInformation = z.object({upgradeAvailable: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const quota = z.object({deleted: z.number().nullable().optional(), remaining: z.number().nullable().optional(), state: z.string().nullable().optional(), storagePlanInformation: storagePlanInformation.optional(), total: z.number().nullable().optional(), used: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const systemFacet = z.record(z.string(), z.unknown()); export const listInfo = z.object({contentTypesEnabled: z.boolean().nullable().optional(), hidden: z.boolean().nullable().optional(), template: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const booleanColumn = z.record(z.string(), z.unknown()); export const calculatedColumn = z.object({format: z.string().nullable().optional(), formula: z.string().nullable().optional(), outputType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const choiceColumn = z.object({allowTextEntry: z.boolean().nullable().optional(), choices: z.array(z.string().nullable()).optional(), displayAs: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const contentApprovalStatusColumn = z.record(z.string(), z.unknown()); export const currencyColumn = z.object({locale: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const dateTimeColumn = z.object({displayAs: z.string().nullable().optional(), format: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const defaultColumnValue = z.object({formula: z.string().nullable().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const geolocationColumn = z.record(z.string(), z.unknown()); export const hyperlinkOrPictureColumn = z.object({isPicture: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const lookupColumn = z.object({allowMultipleValues: z.boolean().nullable().optional(), allowUnlimitedLength: z.boolean().nullable().optional(), columnName: z.string().nullable().optional(), listId: z.string().nullable().optional(), primaryLookupColumnId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const numberColumn = z.object({decimalPlaces: z.string().nullable().optional(), displayAs: z.string().nullable().optional(), maximum: z.number().nullable().optional(), minimum: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const personOrGroupColumn = z.object({allowMultipleSelection: z.boolean().nullable().optional(), chooseFromType: z.string().nullable().optional(), displayAs: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const contentTypeInfo = z.object({id: z.string().nullable().optional(), name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const termStoreLocalizedDescription = z.object({description: z.string().nullable().optional(), languageTag: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const termStoreLocalizedLabel = z.object({isDefault: z.boolean().nullable().optional(), languageTag: z.string().nullable().optional(), name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const keyValue = z.object({key: z.string().nullable().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const termStoreRelationType = z.enum(["pin", "reuse", "unknownFutureValue"]); export const termStoreLocalizedName = z.object({languageTag: z.string().nullable().optional(), name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const termStoreTermGroupScope = z.enum(["global", "system", "siteCollection", "unknownFutureValue"]); export const termStoreGroup = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), parentSiteId: z.string().nullable().optional(), scope: termStoreTermGroupScope.optional(), sets: z.array(z.lazy(() => termStoreSet)).optional()}).and(z.record(z.string(), z.unknown())); export const termStoreSet: z.ZodType = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), description: z.string().nullable().optional(), localizedNames: z.array(termStoreLocalizedName).optional(), properties: z.array(keyValue).optional(), children: z.array(z.lazy(() => termStoreTerm)).optional(), parentGroup: termStoreGroup.optional(), relations: z.array(z.lazy(() => termStoreRelation)).optional(), terms: z.array(z.lazy(() => termStoreTerm)).optional()}).and(z.record(z.string(), z.unknown())); export const termStoreRelation: z.ZodType = z.object({id: z.string().optional(), relationship: termStoreRelationType.optional(), fromTerm: z.lazy(() => termStoreTerm.optional()), set: termStoreSet.optional(), toTerm: z.lazy(() => termStoreTerm.optional())}).and(z.record(z.string(), z.unknown())); export const termStoreTerm: z.ZodType = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), descriptions: z.array(termStoreLocalizedDescription).optional(), labels: z.array(termStoreLocalizedLabel).optional(), lastModifiedDateTime: z.string().nullable().optional(), properties: z.array(keyValue).optional(), children: z.array(z.lazy(() => termStoreTerm)).optional(), relations: z.array(termStoreRelation).optional(), set: termStoreSet.optional()}).and(z.record(z.string(), z.unknown())); export const termColumn = z.object({allowMultipleValues: z.boolean().nullable().optional(), showFullyQualifiedName: z.boolean().nullable().optional(), parentTerm: termStoreTerm.optional(), termSet: termStoreSet.optional()}).and(z.record(z.string(), z.unknown())); export const textColumn = z.object({allowMultipleLines: z.boolean().nullable().optional(), appendChangesToExistingText: z.boolean().nullable().optional(), linesForEditing: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), maxLength: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), textType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const thumbnailColumn = z.record(z.string(), z.unknown()); export const columnTypes = z.enum(["note", "text", "choice", "multichoice", "number", "currency", "dateTime", "lookup", "boolean", "user", "url", "calculated", "location", "geolocation", "term", "multiterm", "thumbnail", "approvalStatus", "unknownFutureValue"]); export const displayNameLocalization = z.object({displayName: z.string().nullable().optional(), languageTag: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const columnValidation = z.object({defaultLanguage: z.string().nullable().optional(), descriptions: z.array(displayNameLocalization).optional(), formula: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const columnDefinition: z.ZodType = z.object({id: z.string().optional(), boolean: booleanColumn.optional(), calculated: calculatedColumn.optional(), choice: choiceColumn.optional(), columnGroup: z.string().nullable().optional(), contentApprovalStatus: contentApprovalStatusColumn.optional(), currency: currencyColumn.optional(), dateTime: dateTimeColumn.optional(), defaultValue: defaultColumnValue.optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), enforceUniqueValues: z.boolean().nullable().optional(), geolocation: geolocationColumn.optional(), hidden: z.boolean().nullable().optional(), hyperlinkOrPicture: hyperlinkOrPictureColumn.optional(), indexed: z.boolean().nullable().optional(), isDeletable: z.boolean().nullable().optional(), isReorderable: z.boolean().nullable().optional(), isSealed: z.boolean().nullable().optional(), lookup: lookupColumn.optional(), name: z.string().nullable().optional(), number: numberColumn.optional(), personOrGroup: personOrGroupColumn.optional(), propagateChanges: z.boolean().nullable().optional(), readOnly: z.boolean().nullable().optional(), required: z.boolean().nullable().optional(), sourceContentType: contentTypeInfo.optional(), term: termColumn.optional(), text: textColumn.optional(), thumbnail: thumbnailColumn.optional(), type: columnTypes.optional(), validation: columnValidation.optional(), sourceColumn: z.lazy(() => columnDefinition.optional())}).and(z.record(z.string(), z.unknown())); export const documentSetContent = z.object({contentType: contentTypeInfo.optional(), fileName: z.string().nullable().optional(), folderName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const documentSet = z.object({allowedContentTypes: z.array(contentTypeInfo).optional(), defaultContents: z.array(documentSetContent).optional(), propagateWelcomePageChanges: z.boolean().nullable().optional(), shouldPrefixNameToFile: z.boolean().nullable().optional(), welcomePageUrl: z.string().nullable().optional(), sharedColumns: z.array(columnDefinition).optional(), welcomePageColumns: z.array(columnDefinition).optional()}).and(z.record(z.string(), z.unknown())); export const contentTypeOrder = z.object({default: z.boolean().nullable().optional(), position: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const columnLink = z.object({id: z.string().optional(), name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const contentType: z.ZodType = z.object({id: z.string().optional(), associatedHubsUrls: z.array(z.string().nullable()).optional(), description: z.string().nullable().optional(), documentSet: documentSet.optional(), documentTemplate: documentSetContent.optional(), group: z.string().nullable().optional(), hidden: z.boolean().nullable().optional(), inheritedFrom: itemReference.optional(), isBuiltIn: z.boolean().nullable().optional(), name: z.string().nullable().optional(), order: contentTypeOrder.optional(), parentId: z.string().nullable().optional(), propagateChanges: z.boolean().nullable().optional(), readOnly: z.boolean().nullable().optional(), sealed: z.boolean().nullable().optional(), base: z.lazy(() => contentType.optional()), baseTypes: z.array(z.lazy(() => contentType)).optional(), columnLinks: z.array(columnLink).optional(), columnPositions: z.array(columnDefinition).optional(), columns: z.array(columnDefinition).optional()}).and(z.record(z.string(), z.unknown())); export const itemActionStat = z.object({actionCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), actorCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const incompleteData = z.object({missingDataBeforeDateTime: z.string().nullable().optional(), wasThrottled: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const accessAction = z.record(z.string(), z.unknown()); export const itemActivity = z.object({id: z.string().optional(), access: accessAction.optional(), activityDateTime: z.string().nullable().optional(), actor: identitySet.optional(), driveItem: z.lazy(() => driveItem.optional())}).and(z.record(z.string(), z.unknown())); export const itemActivityStat = z.object({id: z.string().optional(), access: itemActionStat.optional(), create: itemActionStat.optional(), delete: itemActionStat.optional(), edit: itemActionStat.optional(), endDateTime: z.string().nullable().optional(), incompleteData: incompleteData.optional(), isTrending: z.boolean().nullable().optional(), move: itemActionStat.optional(), startDateTime: z.string().nullable().optional(), activities: z.array(itemActivity).optional()}).and(z.record(z.string(), z.unknown())); export const itemAnalytics = z.object({id: z.string().optional(), allTime: itemActivityStat.optional(), itemActivityStats: z.array(itemActivityStat).optional(), lastSevenDays: itemActivityStat.optional()}).and(z.record(z.string(), z.unknown())); export const publicationFacet = z.object({checkedOutBy: identitySet.optional(), level: z.string().nullable().optional(), versionId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const fieldValueSet = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const documentSetVersionItem = z.object({itemId: z.string().nullable().optional(), title: z.string().nullable().optional(), versionId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const documentSetVersion = z.object({id: z.string().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), publication: publicationFacet.optional(), fields: fieldValueSet.optional(), comment: z.string().nullable().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), items: z.array(documentSetVersionItem).optional(), shouldCaptureMinorVersion: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const listItemVersion = z.object({id: z.string().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), publication: publicationFacet.optional(), fields: fieldValueSet.optional()}).and(z.record(z.string(), z.unknown())); export const listItem = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional()), contentType: contentTypeInfo.optional(), sharepointIds: sharepointIds.optional(), analytics: itemAnalytics.optional(), documentSetVersions: z.array(documentSetVersion).optional(), driveItem: z.lazy(() => driveItem.optional()), fields: fieldValueSet.optional(), versions: z.array(listItemVersion).optional()}).and(z.record(z.string(), z.unknown())); export const longRunningOperationStatus = z.enum(["notStarted", "running", "succeeded", "failed", "unknownFutureValue"]); export const publicErrorDetail = z.object({code: z.string().nullable().optional(), message: z.string().nullable().optional(), target: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const publicInnerError = z.object({code: z.string().nullable().optional(), details: z.array(publicErrorDetail).optional(), message: z.string().nullable().optional(), target: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const publicError = z.object({code: z.string().nullable().optional(), details: z.array(publicErrorDetail).optional(), innerError: publicInnerError.optional(), message: z.string().nullable().optional(), target: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const richLongRunningOperation = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), lastActionDateTime: z.string().nullable().optional(), resourceLocation: z.string().nullable().optional(), status: longRunningOperationStatus.optional(), statusDetail: z.string().nullable().optional(), error: publicError.optional(), percentageComplete: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), resourceId: z.string().nullable().optional(), type: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const subscription = z.object({id: z.string().optional(), applicationId: z.string().nullable().optional(), changeType: z.string().optional(), clientState: z.string().nullable().optional(), creatorId: z.string().nullable().optional(), encryptionCertificate: z.string().nullable().optional(), encryptionCertificateId: z.string().nullable().optional(), expirationDateTime: z.string().optional(), includeResourceData: z.boolean().nullable().optional(), latestSupportedTlsVersion: z.string().nullable().optional(), lifecycleNotificationUrl: z.string().nullable().optional(), notificationQueryOptions: z.string().nullable().optional(), notificationUrl: z.string().optional(), notificationUrlAppId: z.string().nullable().optional(), resource: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const list = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional()), displayName: z.string().nullable().optional(), list: listInfo.optional(), sharepointIds: sharepointIds.optional(), system: systemFacet.optional(), columns: z.array(columnDefinition).optional(), contentTypes: z.array(contentType).optional(), drive: z.lazy(() => drive.optional()), items: z.array(listItem).optional(), operations: z.array(richLongRunningOperation).optional(), subscriptions: z.array(subscription).optional()}).and(z.record(z.string(), z.unknown())); export const drive: z.ZodType = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional()), driveType: z.string().nullable().optional(), owner: identitySet.optional(), quota: quota.optional(), sharePointIds: sharepointIds.optional(), system: systemFacet.optional(), bundles: z.array(z.lazy(() => driveItem)).optional(), following: z.array(z.lazy(() => driveItem)).optional(), items: z.array(z.lazy(() => driveItem)).optional(), list: list.optional(), root: z.lazy(() => driveItem.optional()), special: z.array(z.lazy(() => driveItem)).optional()}).and(z.record(z.string(), z.unknown())); export const groupLifecyclePolicy = z.object({id: z.string().optional(), alternateNotificationEmails: z.string().nullable().optional(), groupLifetimeInDays: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), managedGroupTypes: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const externalLink = z.object({href: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const notebookLinks = z.object({oneNoteClientUrl: externalLink.optional(), oneNoteWebUrl: externalLink.optional()}).and(z.record(z.string(), z.unknown())); export const onenoteUserRole = z.enum(["None", "Owner", "Contributor", "Reader"]); export const sectionLinks = z.object({oneNoteClientUrl: externalLink.optional(), oneNoteWebUrl: externalLink.optional()}).and(z.record(z.string(), z.unknown())); export const pageLinks = z.object({oneNoteClientUrl: externalLink.optional(), oneNoteWebUrl: externalLink.optional()}).and(z.record(z.string(), z.unknown())); export const onenotePage = z.object({id: z.string().optional(), self: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), content: z.string().nullable().optional(), contentUrl: z.string().nullable().optional(), createdByAppId: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), level: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), links: pageLinks.optional(), order: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), title: z.string().nullable().optional(), userTags: z.array(z.string().nullable()).optional(), parentNotebook: z.lazy(() => notebook.optional()), parentSection: z.lazy(() => onenoteSection.optional())}).and(z.record(z.string(), z.unknown())); export const onenoteSection: z.ZodType = z.object({id: z.string().optional(), self: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), createdBy: identitySet.optional(), displayName: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), isDefault: z.boolean().nullable().optional(), links: sectionLinks.optional(), pagesUrl: z.string().nullable().optional(), pages: z.array(onenotePage).optional(), parentNotebook: z.lazy(() => notebook.optional()), parentSectionGroup: z.lazy(() => sectionGroup.optional())}).and(z.record(z.string(), z.unknown())); export const sectionGroup: z.ZodType = z.object({id: z.string().optional(), self: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), createdBy: identitySet.optional(), displayName: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), sectionGroupsUrl: z.string().nullable().optional(), sectionsUrl: z.string().nullable().optional(), parentNotebook: z.lazy(() => notebook.optional()), parentSectionGroup: z.lazy(() => sectionGroup.optional()), sectionGroups: z.array(z.lazy(() => sectionGroup)).optional(), sections: z.array(onenoteSection).optional()}).and(z.record(z.string(), z.unknown())); export const notebook: z.ZodType = z.object({id: z.string().optional(), self: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), createdBy: identitySet.optional(), displayName: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), isDefault: z.boolean().nullable().optional(), isShared: z.boolean().nullable().optional(), links: notebookLinks.optional(), sectionGroupsUrl: z.string().nullable().optional(), sectionsUrl: z.string().nullable().optional(), userRole: onenoteUserRole.optional(), sectionGroups: z.array(sectionGroup).optional(), sections: z.array(onenoteSection).optional()}).and(z.record(z.string(), z.unknown())); export const operationStatus = z.enum(["NotStarted", "Running", "Completed", "Failed"]); export const onenoteOperationError = z.object({code: z.string().nullable().optional(), message: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onenoteOperation = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), lastActionDateTime: z.string().nullable().optional(), status: operationStatus.optional(), error: onenoteOperationError.optional(), percentComplete: z.string().nullable().optional(), resourceId: z.string().nullable().optional(), resourceLocation: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onenoteResource = z.object({id: z.string().optional(), self: z.string().nullable().optional(), content: z.string().nullable().optional(), contentUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onenote = z.object({id: z.string().optional(), notebooks: z.array(notebook).optional(), operations: z.array(onenoteOperation).optional(), pages: z.array(onenotePage).optional(), resources: z.array(onenoteResource).optional(), sectionGroups: z.array(sectionGroup).optional(), sections: z.array(onenoteSection).optional()}).and(z.record(z.string(), z.unknown())); export const resourceSpecificPermissionGrant = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional(), clientAppId: z.string().nullable().optional(), clientId: z.string().nullable().optional(), permission: z.string().nullable().optional(), permissionType: z.string().nullable().optional(), resourceAppId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const profilePhoto = z.object({id: z.string().optional(), height: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), width: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerContainerType = z.enum(["group", "unknownFutureValue", "roster"]); export const plannerPlanContainer = z.object({containerId: z.string().nullable().optional(), type: plannerContainerType.optional(), url: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerAppliedCategories = z.record(z.string(), z.unknown()); export const plannerAssignments = z.record(z.string(), z.unknown()); export const plannerPreviewType = z.enum(["automatic", "noPreview", "checklist", "description", "reference"]); export const plannerOrderHintsByAssignee = z.record(z.string(), z.unknown()); export const plannerAssignedToTaskBoardTaskFormat = z.object({id: z.string().optional(), orderHintsByAssignee: plannerOrderHintsByAssignee.optional(), unassignedOrderHint: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerBucketTaskBoardTaskFormat = z.object({id: z.string().optional(), orderHint: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerChecklistItems = z.record(z.string(), z.unknown()); export const plannerExternalReferences = z.record(z.string(), z.unknown()); export const plannerTaskDetails = z.object({id: z.string().optional(), checklist: plannerChecklistItems.optional(), description: z.string().nullable().optional(), previewType: plannerPreviewType.optional(), references: plannerExternalReferences.optional()}).and(z.record(z.string(), z.unknown())); export const plannerProgressTaskBoardTaskFormat = z.object({id: z.string().optional(), orderHint: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerTask = z.object({id: z.string().optional(), activeChecklistItemCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), appliedCategories: plannerAppliedCategories.optional(), assigneePriority: z.string().nullable().optional(), assignments: plannerAssignments.optional(), bucketId: z.string().nullable().optional(), checklistItemCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), completedBy: identitySet.optional(), completedDateTime: z.string().nullable().optional(), conversationThreadId: z.string().nullable().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), dueDateTime: z.string().nullable().optional(), hasDescription: z.boolean().nullable().optional(), orderHint: z.string().nullable().optional(), percentComplete: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), planId: z.string().nullable().optional(), previewType: plannerPreviewType.optional(), priority: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), referenceCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), startDateTime: z.string().nullable().optional(), title: z.string().optional(), assignedToTaskBoardFormat: plannerAssignedToTaskBoardTaskFormat.optional(), bucketTaskBoardFormat: plannerBucketTaskBoardTaskFormat.optional(), details: plannerTaskDetails.optional(), progressTaskBoardFormat: plannerProgressTaskBoardTaskFormat.optional()}).and(z.record(z.string(), z.unknown())); export const plannerBucket = z.object({id: z.string().optional(), name: z.string().optional(), orderHint: z.string().nullable().optional(), planId: z.string().nullable().optional(), tasks: z.array(plannerTask).optional()}).and(z.record(z.string(), z.unknown())); export const plannerCategoryDescriptions = z.object({category1: z.string().nullable().optional(), category10: z.string().nullable().optional(), category11: z.string().nullable().optional(), category12: z.string().nullable().optional(), category13: z.string().nullable().optional(), category14: z.string().nullable().optional(), category15: z.string().nullable().optional(), category16: z.string().nullable().optional(), category17: z.string().nullable().optional(), category18: z.string().nullable().optional(), category19: z.string().nullable().optional(), category2: z.string().nullable().optional(), category20: z.string().nullable().optional(), category21: z.string().nullable().optional(), category22: z.string().nullable().optional(), category23: z.string().nullable().optional(), category24: z.string().nullable().optional(), category25: z.string().nullable().optional(), category3: z.string().nullable().optional(), category4: z.string().nullable().optional(), category5: z.string().nullable().optional(), category6: z.string().nullable().optional(), category7: z.string().nullable().optional(), category8: z.string().nullable().optional(), category9: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerUserIds = z.record(z.string(), z.unknown()); export const plannerPlanDetails = z.object({id: z.string().optional(), categoryDescriptions: plannerCategoryDescriptions.optional(), sharedWith: plannerUserIds.optional()}).and(z.record(z.string(), z.unknown())); export const plannerPlan = z.object({id: z.string().optional(), container: plannerPlanContainer.optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), owner: z.string().nullable().optional(), title: z.string().optional(), buckets: z.array(plannerBucket).optional(), details: plannerPlanDetails.optional(), tasks: z.array(plannerTask).optional()}).and(z.record(z.string(), z.unknown())); export const plannerGroup = z.object({id: z.string().optional(), plans: z.array(plannerPlan).optional()}).and(z.record(z.string(), z.unknown())); export const settingValue = z.object({name: z.string().nullable().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const groupSetting = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), templateId: z.string().nullable().optional(), values: z.array(settingValue).optional()}).and(z.record(z.string(), z.unknown())); export const root = z.record(z.string(), z.unknown()); export const siteArchiveStatus = z.enum(["recentlyArchived", "fullyArchived", "reactivating", "unknownFutureValue"]); export const siteArchivalDetails = z.object({archiveStatus: siteArchiveStatus.optional()}).and(z.record(z.string(), z.unknown())); export const siteCollection = z.object({archivalDetails: siteArchivalDetails.optional(), dataLocationCode: z.string().nullable().optional(), hostname: z.string().nullable().optional(), root: root.optional()}).and(z.record(z.string(), z.unknown())); export const baseItem = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional())}).and(z.record(z.string(), z.unknown())); export const pageLayoutType = z.enum(["microsoftReserved", "article", "home", "unknownFutureValue"]); export const baseSitePage = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional()), pageLayout: pageLayoutType.optional(), publishingState: publicationFacet.optional(), title: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const sharePointIdentity = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional(), loginName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const sharePointIdentitySet = z.object({application: identity.optional(), device: identity.optional(), user: identity.optional(), group: identity.optional(), siteGroup: sharePointIdentity.optional(), siteUser: sharePointIdentity.optional()}).and(z.record(z.string(), z.unknown())); export const sharingInvitation = z.object({email: z.string().nullable().optional(), invitedBy: identitySet.optional(), redeemedBy: z.string().nullable().optional(), signInRequired: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const sharingLink = z.object({application: identity.optional(), preventsDownload: z.boolean().nullable().optional(), scope: z.string().nullable().optional(), type: z.string().nullable().optional(), webHtml: z.string().nullable().optional(), webUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const permission = z.object({id: z.string().optional(), expirationDateTime: z.string().nullable().optional(), grantedTo: identitySet.optional(), grantedToIdentities: z.array(identitySet).optional(), grantedToIdentitiesV2: z.array(sharePointIdentitySet).optional(), grantedToV2: sharePointIdentitySet.optional(), hasPassword: z.boolean().nullable().optional(), inheritedFrom: itemReference.optional(), invitation: sharingInvitation.optional(), link: sharingLink.optional(), roles: z.array(z.string().nullable()).optional(), shareId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const termStoreStore = z.object({id: z.string().optional(), defaultLanguageTag: z.string().optional(), languageTags: z.array(z.string()).optional(), groups: z.array(termStoreGroup).optional(), sets: z.array(termStoreSet).optional()}).and(z.record(z.string(), z.unknown())); export const site: z.ZodType = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: z.lazy(() => user.optional()), lastModifiedByUser: z.lazy(() => user.optional()), displayName: z.string().nullable().optional(), error: publicError.optional(), isPersonalSite: z.boolean().nullable().optional(), root: root.optional(), sharepointIds: sharepointIds.optional(), siteCollection: siteCollection.optional(), analytics: itemAnalytics.optional(), columns: z.array(columnDefinition).optional(), contentTypes: z.array(contentType).optional(), drive: drive.optional(), drives: z.array(drive).optional(), externalColumns: z.array(columnDefinition).optional(), items: z.array(baseItem).optional(), lists: z.array(list).optional(), onenote: onenote.optional(), operations: z.array(richLongRunningOperation).optional(), pages: z.array(baseSitePage).optional(), permissions: z.array(permission).optional(), sites: z.array(z.lazy(() => site)).optional(), termStore: termStoreStore.optional(), termStores: z.array(termStoreStore).optional()}).and(z.record(z.string(), z.unknown())); export const giphyRatingType = z.enum(["strict", "moderate", "unknownFutureValue"]); export const teamFunSettings = z.object({allowCustomMemes: z.boolean().nullable().optional(), allowGiphy: z.boolean().nullable().optional(), allowStickersAndMemes: z.boolean().nullable().optional(), giphyContentRating: giphyRatingType.optional()}).and(z.record(z.string(), z.unknown())); export const teamGuestSettings = z.object({allowCreateUpdateChannels: z.boolean().nullable().optional(), allowDeleteChannels: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamMemberSettings = z.object({allowAddRemoveApps: z.boolean().nullable().optional(), allowCreatePrivateChannels: z.boolean().nullable().optional(), allowCreateUpdateChannels: z.boolean().nullable().optional(), allowCreateUpdateRemoveConnectors: z.boolean().nullable().optional(), allowCreateUpdateRemoveTabs: z.boolean().nullable().optional(), allowDeleteChannels: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamMessagingSettings = z.object({allowChannelMentions: z.boolean().nullable().optional(), allowOwnerDeleteMessages: z.boolean().nullable().optional(), allowTeamMentions: z.boolean().nullable().optional(), allowUserDeleteMessages: z.boolean().nullable().optional(), allowUserEditMessages: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamSpecialization = z.enum(["none", "educationStandard", "educationClass", "educationProfessionalLearningCommunity", "educationStaff", "healthcareStandard", "healthcareCareCoordination", "unknownFutureValue"]); export const teamSummary = z.object({guestsCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), membersCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), ownersCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamVisibilityType = z.enum(["private", "public", "hiddenMembership", "unknownFutureValue"]); export const channelMembershipType = z.enum(["standard", "private", "unknownFutureValue", "shared"]); export const channelSummary = z.object({guestsCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), hasMembersFromOtherTenants: z.boolean().nullable().optional(), membersCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), ownersCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const conversationMember = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), roles: z.array(z.string().nullable()).optional(), visibleHistoryStartDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageAttachment = z.object({content: z.string().nullable().optional(), contentType: z.string().nullable().optional(), contentUrl: z.string().nullable().optional(), id: z.string().nullable().optional(), name: z.string().nullable().optional(), teamsAppId: z.string().nullable().optional(), thumbnailUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const channelIdentity = z.object({channelId: z.string().nullable().optional(), teamId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const eventMessageDetail = z.record(z.string(), z.unknown()); export const chatMessageFromIdentitySet = z.object({application: identity.optional(), device: identity.optional(), user: identity.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageImportance = z.enum(["normal", "high", "urgent", "unknownFutureValue"]); export const teamworkConversationIdentityType = z.enum(["team", "channel", "chat", "unknownFutureValue"]); export const teamworkConversationIdentity = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional(), conversationIdentityType: teamworkConversationIdentityType.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageMentionedIdentitySet = z.object({application: identity.optional(), device: identity.optional(), user: identity.optional(), conversation: teamworkConversationIdentity.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageMention = z.object({id: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), mentioned: chatMessageMentionedIdentitySet.optional(), mentionText: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageActions = z.enum(["reactionAdded", "reactionRemoved", "actionUndefined", "unknownFutureValue"]); export const chatMessageReactionIdentitySet = z.object({application: identity.optional(), device: identity.optional(), user: identity.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageReaction = z.object({createdDateTime: z.string().optional(), displayName: z.string().nullable().optional(), reactionContentUrl: z.string().nullable().optional(), reactionType: z.string().optional(), user: chatMessageReactionIdentitySet.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageHistoryItem = z.object({actions: chatMessageActions.optional(), modifiedDateTime: z.string().optional(), reaction: chatMessageReaction.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageType = z.enum(["message", "chatEvent", "typing", "unknownFutureValue", "systemEventMessage"]); export const chatMessagePolicyViolationDlpActionTypes = z.enum(["none", "notifySender", "blockAccess", "blockAccessExternal"]); export const chatMessagePolicyViolationPolicyTip = z.object({complianceUrl: z.string().nullable().optional(), generalText: z.string().nullable().optional(), matchedConditionDescriptions: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const chatMessagePolicyViolationUserActionTypes = z.enum(["none", "override", "reportFalsePositive"]); export const chatMessagePolicyViolationVerdictDetailsTypes = z.enum(["none", "allowFalsePositiveOverride", "allowOverrideWithoutJustification", "allowOverrideWithJustification"]); export const chatMessagePolicyViolation = z.object({dlpAction: chatMessagePolicyViolationDlpActionTypes.optional(), justificationText: z.string().nullable().optional(), policyTip: chatMessagePolicyViolationPolicyTip.optional(), userAction: chatMessagePolicyViolationUserActionTypes.optional(), verdictDetails: chatMessagePolicyViolationVerdictDetailsTypes.optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageHostedContent = z.object({id: z.string().optional(), contentBytes: z.string().nullable().optional(), contentType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const chatMessage: z.ZodType = z.object({id: z.string().optional(), attachments: z.array(chatMessageAttachment).optional(), body: itemBody.optional(), channelIdentity: channelIdentity.optional(), chatId: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), deletedDateTime: z.string().nullable().optional(), etag: z.string().nullable().optional(), eventDetail: eventMessageDetail.optional(), from: chatMessageFromIdentitySet.optional(), importance: chatMessageImportance.optional(), lastEditedDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), locale: z.string().optional(), mentions: z.array(chatMessageMention).optional(), messageHistory: z.array(chatMessageHistoryItem).optional(), messageType: chatMessageType.optional(), policyViolation: chatMessagePolicyViolation.optional(), reactions: z.array(chatMessageReaction).optional(), replyToId: z.string().nullable().optional(), subject: z.string().nullable().optional(), summary: z.string().nullable().optional(), webUrl: z.string().nullable().optional(), hostedContents: z.array(chatMessageHostedContent).optional(), replies: z.array(z.lazy(() => chatMessage)).optional()}).and(z.record(z.string(), z.unknown())); export const sharedWithChannelTeamInfo = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), tenantId: z.string().nullable().optional(), team: z.lazy(() => team.optional()), isHostTeam: z.boolean().nullable().optional(), allowedMembers: z.array(conversationMember).optional()}).and(z.record(z.string(), z.unknown())); export const teamsTabConfiguration = z.object({contentUrl: z.string().nullable().optional(), entityId: z.string().nullable().optional(), removeUrl: z.string().nullable().optional(), websiteUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppDistributionMethod = z.enum(["store", "organization", "sideloaded", "unknownFutureValue"]); export const teamsAppResourceSpecificPermissionType = z.enum(["delegated", "application", "unknownFutureValue"]); export const teamsAppResourceSpecificPermission = z.object({permissionType: teamsAppResourceSpecificPermissionType.optional(), permissionValue: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppPermissionSet = z.object({resourceSpecificPermissions: z.array(teamsAppResourceSpecificPermission).optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppAuthorization = z.object({clientAppId: z.string().nullable().optional(), requiredPermissionSet: teamsAppPermissionSet.optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppPublishingState = z.enum(["submitted", "rejected", "published", "unknownFutureValue"]); export const teamworkBot = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppDefinition = z.object({id: z.string().optional(), authorization: teamsAppAuthorization.optional(), createdBy: identitySet.optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), publishingState: teamsAppPublishingState.optional(), shortDescription: z.string().nullable().optional(), teamsAppId: z.string().nullable().optional(), version: z.string().nullable().optional(), bot: teamworkBot.optional()}).and(z.record(z.string(), z.unknown())); export const teamsApp = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), distributionMethod: teamsAppDistributionMethod.optional(), externalId: z.string().nullable().optional(), appDefinitions: z.array(teamsAppDefinition).optional()}).and(z.record(z.string(), z.unknown())); export const teamsTab = z.object({id: z.string().optional(), configuration: teamsTabConfiguration.optional(), displayName: z.string().nullable().optional(), webUrl: z.string().nullable().optional(), teamsApp: teamsApp.optional()}).and(z.record(z.string(), z.unknown())); export const channel = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), description: z.string().nullable().optional(), displayName: z.string().optional(), email: z.string().nullable().optional(), isArchived: z.boolean().nullable().optional(), isFavoriteByDefault: z.boolean().nullable().optional(), membershipType: channelMembershipType.optional(), summary: channelSummary.optional(), tenantId: z.string().nullable().optional(), webUrl: z.string().nullable().optional(), allMembers: z.array(conversationMember).optional(), filesFolder: z.lazy(() => driveItem.optional()), members: z.array(conversationMember).optional(), messages: z.array(chatMessage).optional(), sharedWithTeams: z.array(sharedWithChannelTeamInfo).optional(), tabs: z.array(teamsTab).optional()}).and(z.record(z.string(), z.unknown())); export const teamsAppInstallation = z.object({id: z.string().optional(), consentedPermissionSet: teamsAppPermissionSet.optional(), teamsApp: teamsApp.optional(), teamsAppDefinition: teamsAppDefinition.optional()}).and(z.record(z.string(), z.unknown())); export const operationError = z.object({code: z.string().nullable().optional(), message: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamsAsyncOperationType = z.enum(["invalid", "cloneTeam", "archiveTeam", "unarchiveTeam", "createTeam", "unknownFutureValue", "teamifyGroup", "createChannel", "archiveChannel", "unarchiveChannel"]); export const teamsAsyncOperationStatus = z.enum(["invalid", "notStarted", "inProgress", "succeeded", "failed", "unknownFutureValue"]); export const teamsAsyncOperation = z.object({id: z.string().optional(), attemptsCount: z.number().gte(-2147483648).lte(2147483647).optional(), createdDateTime: z.string().optional(), error: operationError.optional(), lastActionDateTime: z.string().optional(), operationType: teamsAsyncOperationType.optional(), status: teamsAsyncOperationStatus.optional(), targetResourceId: z.string().nullable().optional(), targetResourceLocation: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const geoCoordinates = z.object({altitude: z.number().nullable().optional(), latitude: z.number().nullable().optional(), longitude: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeClockSettings = z.object({approvedLocation: geoCoordinates.optional()}).and(z.record(z.string(), z.unknown())); export const dayNote = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), dayNoteDate: z.string().nullable().optional(), draftDayNote: itemBody.optional(), sharedDayNote: itemBody.optional()}).and(z.record(z.string(), z.unknown())); export const scheduleChangeRequestActor = z.enum(["sender", "recipient", "manager", "system", "unknownFutureValue"]); export const scheduleChangeState = z.enum(["pending", "approved", "declined", "unknownFutureValue"]); export const offerShiftRequest = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), assignedTo: scheduleChangeRequestActor.optional(), managerActionDateTime: z.string().nullable().optional(), managerActionMessage: z.string().nullable().optional(), managerUserId: z.string().nullable().optional(), senderDateTime: z.string().nullable().optional(), senderMessage: z.string().nullable().optional(), senderUserId: z.string().nullable().optional(), state: scheduleChangeState.optional(), recipientActionDateTime: z.string().nullable().optional(), recipientActionMessage: z.string().nullable().optional(), recipientUserId: z.string().nullable().optional(), senderShiftId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const openShiftChangeRequest = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), assignedTo: scheduleChangeRequestActor.optional(), managerActionDateTime: z.string().nullable().optional(), managerActionMessage: z.string().nullable().optional(), managerUserId: z.string().nullable().optional(), senderDateTime: z.string().nullable().optional(), senderMessage: z.string().nullable().optional(), senderUserId: z.string().nullable().optional(), state: scheduleChangeState.optional(), openShiftId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const scheduleEntityTheme = z.enum(["white", "blue", "green", "purple", "pink", "yellow", "gray", "darkBlue", "darkGreen", "darkPurple", "darkPink", "darkYellow", "unknownFutureValue"]); export const shiftActivity = z.object({code: z.string().nullable().optional(), displayName: z.string().nullable().optional(), endDateTime: z.string().nullable().optional(), isPaid: z.boolean().nullable().optional(), startDateTime: z.string().nullable().optional(), theme: scheduleEntityTheme.optional()}).and(z.record(z.string(), z.unknown())); export const openShiftItem = z.object({endDateTime: z.string().nullable().optional(), startDateTime: z.string().nullable().optional(), theme: scheduleEntityTheme.optional(), activities: z.array(shiftActivity).optional(), displayName: z.string().nullable().optional(), notes: z.string().nullable().optional(), openSlotCount: z.number().gte(-2147483648).lte(2147483647).optional()}).and(z.record(z.string(), z.unknown())); export const openShift = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), draftOpenShift: openShiftItem.optional(), isStagedForDeletion: z.boolean().nullable().optional(), schedulingGroupId: z.string().nullable().optional(), sharedOpenShift: openShiftItem.optional()}).and(z.record(z.string(), z.unknown())); export const schedulingGroup = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), code: z.string().nullable().optional(), displayName: z.string().nullable().optional(), isActive: z.boolean().nullable().optional(), userIds: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const shiftItem = z.object({endDateTime: z.string().nullable().optional(), startDateTime: z.string().nullable().optional(), theme: scheduleEntityTheme.optional(), activities: z.array(shiftActivity).optional(), displayName: z.string().nullable().optional(), notes: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const shift = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), draftShift: shiftItem.optional(), isStagedForDeletion: z.boolean().nullable().optional(), schedulingGroupId: z.string().nullable().optional(), sharedShift: shiftItem.optional(), userId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const swapShiftsChangeRequest = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), assignedTo: scheduleChangeRequestActor.optional(), managerActionDateTime: z.string().nullable().optional(), managerActionMessage: z.string().nullable().optional(), managerUserId: z.string().nullable().optional(), senderDateTime: z.string().nullable().optional(), senderMessage: z.string().nullable().optional(), senderUserId: z.string().nullable().optional(), state: scheduleChangeState.optional(), recipientActionDateTime: z.string().nullable().optional(), recipientActionMessage: z.string().nullable().optional(), recipientUserId: z.string().nullable().optional(), senderShiftId: z.string().nullable().optional(), recipientShiftId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeCardEvent = z.object({dateTime: z.string().optional(), isAtApprovedLocation: z.boolean().nullable().optional(), notes: itemBody.optional()}).and(z.record(z.string(), z.unknown())); export const timeCardBreak = z.object({breakId: z.string().nullable().optional(), end: timeCardEvent.optional(), notes: itemBody.optional(), start: timeCardEvent.optional()}).and(z.record(z.string(), z.unknown())); export const confirmedBy = z.enum(["none", "user", "manager", "unknownFutureValue"]); export const timeCardEntry = z.object({breaks: z.array(timeCardBreak).optional(), clockInEvent: timeCardEvent.optional(), clockOutEvent: timeCardEvent.optional()}).and(z.record(z.string(), z.unknown())); export const timeCardState = z.enum(["clockedIn", "onBreak", "clockedOut", "unknownFutureValue"]); export const timeCard = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), breaks: z.array(timeCardBreak).optional(), clockInEvent: timeCardEvent.optional(), clockOutEvent: timeCardEvent.optional(), confirmedBy: confirmedBy.optional(), notes: itemBody.optional(), originalEntry: timeCardEntry.optional(), state: timeCardState.optional(), userId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeOffReasonIconType = z.enum(["none", "car", "calendar", "running", "plane", "firstAid", "doctor", "notWorking", "clock", "juryDuty", "globe", "cup", "phone", "weather", "umbrella", "piggyBank", "dog", "cake", "trafficCone", "pin", "sunny", "unknownFutureValue"]); export const timeOffReason = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), code: z.string().nullable().optional(), displayName: z.string().nullable().optional(), iconType: timeOffReasonIconType.optional(), isActive: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeOffRequest = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), assignedTo: scheduleChangeRequestActor.optional(), managerActionDateTime: z.string().nullable().optional(), managerActionMessage: z.string().nullable().optional(), managerUserId: z.string().nullable().optional(), senderDateTime: z.string().nullable().optional(), senderMessage: z.string().nullable().optional(), senderUserId: z.string().nullable().optional(), state: scheduleChangeState.optional(), endDateTime: z.string().nullable().optional(), startDateTime: z.string().nullable().optional(), timeOffReasonId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeOffItem = z.object({endDateTime: z.string().nullable().optional(), startDateTime: z.string().nullable().optional(), theme: scheduleEntityTheme.optional(), timeOffReasonId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const timeOff = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), draftTimeOff: timeOffItem.optional(), isStagedForDeletion: z.boolean().nullable().optional(), sharedTimeOff: timeOffItem.optional(), userId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const schedule = z.object({id: z.string().optional(), enabled: z.boolean().nullable().optional(), isActivitiesIncludedWhenCopyingShiftsEnabled: z.boolean().nullable().optional(), offerShiftRequestsEnabled: z.boolean().nullable().optional(), openShiftsEnabled: z.boolean().nullable().optional(), provisionStatus: operationStatus.optional(), provisionStatusCode: z.string().nullable().optional(), startDayOfWeek: dayOfWeek.optional(), swapShiftsRequestsEnabled: z.boolean().nullable().optional(), timeClockEnabled: z.boolean().nullable().optional(), timeClockSettings: timeClockSettings.optional(), timeOffRequestsEnabled: z.boolean().nullable().optional(), timeZone: z.string().nullable().optional(), workforceIntegrationIds: z.array(z.string().nullable()).optional(), dayNotes: z.array(dayNote).optional(), offerShiftRequests: z.array(offerShiftRequest).optional(), openShiftChangeRequests: z.array(openShiftChangeRequest).optional(), openShifts: z.array(openShift).optional(), schedulingGroups: z.array(schedulingGroup).optional(), shifts: z.array(shift).optional(), swapShiftsChangeRequests: z.array(swapShiftsChangeRequest).optional(), timeCards: z.array(timeCard).optional(), timeOffReasons: z.array(timeOffReason).optional(), timeOffRequests: z.array(timeOffRequest).optional(), timesOff: z.array(timeOff).optional()}).and(z.record(z.string(), z.unknown())); export const teamworkTagType = z.enum(["standard", "unknownFutureValue"]); export const teamworkTagMember = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), tenantId: z.string().nullable().optional(), userId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const teamworkTag = z.object({id: z.string().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), memberCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), tagType: teamworkTagType.optional(), teamId: z.string().nullable().optional(), members: z.array(teamworkTagMember).optional()}).and(z.record(z.string(), z.unknown())); export const teamsTemplate = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const team: z.ZodType = z.object({id: z.string().optional(), classification: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), firstChannelName: z.string().nullable().optional(), funSettings: teamFunSettings.optional(), guestSettings: teamGuestSettings.optional(), internalId: z.string().nullable().optional(), isArchived: z.boolean().nullable().optional(), memberSettings: teamMemberSettings.optional(), messagingSettings: teamMessagingSettings.optional(), specialization: teamSpecialization.optional(), summary: teamSummary.optional(), tenantId: z.string().nullable().optional(), visibility: teamVisibilityType.optional(), webUrl: z.string().nullable().optional(), allChannels: z.array(channel).optional(), channels: z.array(channel).optional(), group: z.lazy(() => group.optional()), incomingChannels: z.array(channel).optional(), installedApps: z.array(teamsAppInstallation).optional(), members: z.array(conversationMember).optional(), operations: z.array(teamsAsyncOperation).optional(), permissionGrants: z.array(resourceSpecificPermissionGrant).optional(), photo: profilePhoto.optional(), primaryChannel: channel.optional(), schedule: schedule.optional(), tags: z.array(teamworkTag).optional(), template: teamsTemplate.optional()}).and(z.record(z.string(), z.unknown())); export const group: z.ZodType = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional(), allowExternalSenders: z.boolean().nullable().optional(), assignedLabels: z.array(assignedLabel).optional(), assignedLicenses: z.array(assignedLicense).optional(), autoSubscribeNewMembers: z.boolean().nullable().optional(), classification: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), expirationDateTime: z.string().nullable().optional(), groupTypes: z.array(z.string()).optional(), hasMembersWithLicenseErrors: z.boolean().nullable().optional(), hideFromAddressLists: z.boolean().nullable().optional(), hideFromOutlookClients: z.boolean().nullable().optional(), isArchived: z.boolean().nullable().optional(), isAssignableToRole: z.boolean().nullable().optional(), isManagementRestricted: z.boolean().nullable().optional(), isSubscribedByMail: z.boolean().nullable().optional(), licenseProcessingState: licenseProcessingState.optional(), mail: z.string().nullable().optional(), mailEnabled: z.boolean().nullable().optional(), mailNickname: z.string().nullable().optional(), membershipRule: z.string().nullable().optional(), membershipRuleProcessingState: z.string().nullable().optional(), onPremisesDomainName: z.string().nullable().optional(), onPremisesLastSyncDateTime: z.string().nullable().optional(), onPremisesNetBiosName: z.string().nullable().optional(), onPremisesProvisioningErrors: z.array(onPremisesProvisioningError).optional(), onPremisesSamAccountName: z.string().nullable().optional(), onPremisesSecurityIdentifier: z.string().nullable().optional(), onPremisesSyncEnabled: z.boolean().nullable().optional(), preferredDataLocation: z.string().nullable().optional(), preferredLanguage: z.string().nullable().optional(), proxyAddresses: z.array(z.string()).optional(), renewedDateTime: z.string().nullable().optional(), securityEnabled: z.boolean().nullable().optional(), securityIdentifier: z.string().nullable().optional(), serviceProvisioningErrors: z.array(serviceProvisioningError).optional(), theme: z.string().nullable().optional(), uniqueName: z.string().nullable().optional(), unseenCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), visibility: z.string().nullable().optional(), acceptedSenders: z.array(directoryObject).optional(), appRoleAssignments: z.array(appRoleAssignment).optional(), calendar: calendar.optional(), calendarView: z.array(event).optional(), conversations: z.array(conversation).optional(), createdOnBehalfOf: directoryObject.optional(), drive: drive.optional(), drives: z.array(drive).optional(), events: z.array(event).optional(), extensions: z.array(extension).optional(), groupLifecyclePolicies: z.array(groupLifecyclePolicy).optional(), memberOf: z.array(directoryObject).optional(), members: z.array(directoryObject).optional(), membersWithLicenseErrors: z.array(directoryObject).optional(), onenote: onenote.optional(), owners: z.array(directoryObject).optional(), permissionGrants: z.array(resourceSpecificPermissionGrant).optional(), photo: profilePhoto.optional(), photos: z.array(profilePhoto).optional(), planner: plannerGroup.optional(), rejectedSenders: z.array(directoryObject).optional(), settings: z.array(groupSetting).optional(), sites: z.array(site).optional(), team: team.optional(), threads: z.array(conversationThread).optional(), transitiveMemberOf: z.array(directoryObject).optional(), transitiveMembers: z.array(directoryObject).optional()}).and(z.record(z.string(), z.unknown())); export const printConnector = z.object({id: z.string().optional(), appVersion: z.string().optional(), displayName: z.string().optional(), fullyQualifiedDomainName: z.string().optional(), location: printerLocation.optional(), operatingSystem: z.string().optional(), registeredDateTime: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const printer = z.object({id: z.string().optional(), capabilities: printerCapabilities.optional(), defaults: printerDefaults.optional(), displayName: z.string().optional(), isAcceptingJobs: z.boolean().nullable().optional(), location: printerLocation.optional(), manufacturer: z.string().nullable().optional(), model: z.string().nullable().optional(), status: printerStatus.optional(), jobs: z.array(printJob).optional(), hasPhysicalDevice: z.boolean().optional(), isShared: z.boolean().optional(), lastSeenDateTime: z.string().nullable().optional(), registeredDateTime: z.string().optional(), connectors: z.array(printConnector).optional(), shares: z.array(z.lazy(() => printerShare)).optional(), taskTriggers: z.array(printTaskTrigger).optional()}).and(z.record(z.string(), z.unknown())); export const printerShare: z.ZodType = z.object({id: z.string().optional(), capabilities: printerCapabilities.optional(), defaults: printerDefaults.optional(), displayName: z.string().optional(), isAcceptingJobs: z.boolean().nullable().optional(), location: printerLocation.optional(), manufacturer: z.string().nullable().optional(), model: z.string().nullable().optional(), status: printerStatus.optional(), jobs: z.array(printJob).optional(), allowAllUsers: z.boolean().optional(), createdDateTime: z.string().optional(), viewPoint: printerShareViewpoint.optional(), allowedGroups: z.array(group).optional(), allowedUsers: z.array(z.lazy(() => user)).optional(), printer: printer.optional()}).and(z.record(z.string(), z.unknown())); export const userPrint = z.object({recentPrinterShares: z.array(printerShare).optional()}).and(z.record(z.string(), z.unknown())); export const provisionedPlan = z.object({capabilityStatus: z.string().nullable().optional(), provisioningStatus: z.string().nullable().optional(), service: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const signInActivity = z.object({lastNonInteractiveSignInDateTime: z.string().nullable().optional(), lastNonInteractiveSignInRequestId: z.string().nullable().optional(), lastSignInDateTime: z.string().nullable().optional(), lastSignInRequestId: z.string().nullable().optional(), lastSuccessfulSignInDateTime: z.string().nullable().optional(), lastSuccessfulSignInRequestId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const json = z.record(z.string(), z.unknown()); export const status = z.enum(["active", "updated", "deleted", "ignored", "unknownFutureValue"]); export const imageInfo = z.object({addImageQuery: z.boolean().nullable().optional(), alternateText: z.string().nullable().optional(), alternativeText: z.string().nullable().optional(), iconUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const visualInfo = z.object({attribution: imageInfo.optional(), backgroundColor: z.string().nullable().optional(), content: json.optional(), description: z.string().nullable().optional(), displayText: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const activityHistoryItem = z.object({id: z.string().optional(), activeDurationSeconds: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), createdDateTime: z.string().nullable().optional(), expirationDateTime: z.string().nullable().optional(), lastActiveDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), startedDateTime: z.string().optional(), status: status.optional(), userTimezone: z.string().nullable().optional(), activity: z.lazy(() => userActivity.optional())}).and(z.record(z.string(), z.unknown())); export const userActivity: z.ZodType = z.object({id: z.string().optional(), activationUrl: z.string().optional(), activitySourceHost: z.string().optional(), appActivityId: z.string().optional(), appDisplayName: z.string().nullable().optional(), contentInfo: json.optional(), contentUrl: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), expirationDateTime: z.string().nullable().optional(), fallbackUrl: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), status: status.optional(), userTimezone: z.string().nullable().optional(), visualElements: visualInfo.optional(), historyItems: z.array(activityHistoryItem).optional()}).and(z.record(z.string(), z.unknown())); export const agreementAcceptanceState = z.enum(["accepted", "declined", "unknownFutureValue"]); export const agreementAcceptance = z.object({id: z.string().optional(), agreementFileId: z.string().nullable().optional(), agreementId: z.string().nullable().optional(), deviceDisplayName: z.string().nullable().optional(), deviceId: z.string().nullable().optional(), deviceOSType: z.string().nullable().optional(), deviceOSVersion: z.string().nullable().optional(), expirationDateTime: z.string().nullable().optional(), recordedDateTime: z.string().nullable().optional(), state: agreementAcceptanceState.optional(), userDisplayName: z.string().nullable().optional(), userEmail: z.string().nullable().optional(), userId: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const emailAuthenticationMethod = z.object({id: z.string().optional(), emailAddress: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const attestationLevel = z.enum(["attested", "notAttested", "unknownFutureValue"]); export const fido2AuthenticationMethod = z.object({id: z.string().optional(), aaGuid: z.string().nullable().optional(), attestationCertificates: z.array(z.string().nullable()).optional(), attestationLevel: attestationLevel.optional(), createdDateTime: z.string().nullable().optional(), displayName: z.string().nullable().optional(), model: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const authenticationMethod = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const alternativeSecurityId = z.object({identityProvider: z.string().nullable().optional(), key: z.string().nullable().optional(), type: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const device = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional(), accountEnabled: z.boolean().nullable().optional(), alternativeSecurityIds: z.array(alternativeSecurityId).optional(), approximateLastSignInDateTime: z.string().nullable().optional(), complianceExpirationDateTime: z.string().nullable().optional(), deviceCategory: z.string().nullable().optional(), deviceId: z.string().nullable().optional(), deviceMetadata: z.string().nullable().optional(), deviceOwnership: z.string().nullable().optional(), deviceVersion: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), displayName: z.string().nullable().optional(), enrollmentProfileName: z.string().nullable().optional(), enrollmentType: z.string().nullable().optional(), isCompliant: z.boolean().nullable().optional(), isManaged: z.boolean().nullable().optional(), isManagementRestricted: z.boolean().nullable().optional(), isRooted: z.boolean().nullable().optional(), managementType: z.string().nullable().optional(), manufacturer: z.string().nullable().optional(), mdmAppId: z.string().nullable().optional(), model: z.string().nullable().optional(), onPremisesLastSyncDateTime: z.string().nullable().optional(), onPremisesSecurityIdentifier: z.string().nullable().optional(), onPremisesSyncEnabled: z.boolean().nullable().optional(), operatingSystem: z.string().nullable().optional(), operatingSystemVersion: z.string().nullable().optional(), physicalIds: z.array(z.string()).optional(), profileType: z.string().nullable().optional(), registrationDateTime: z.string().nullable().optional(), systemLabels: z.array(z.string()).optional(), trustType: z.string().nullable().optional(), extensions: z.array(extension).optional(), memberOf: z.array(directoryObject).optional(), registeredOwners: z.array(directoryObject).optional(), registeredUsers: z.array(directoryObject).optional(), transitiveMemberOf: z.array(directoryObject).optional()}).and(z.record(z.string(), z.unknown())); export const microsoftAuthenticatorAuthenticationMethod = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), deviceTag: z.string().nullable().optional(), displayName: z.string().nullable().optional(), phoneAppVersion: z.string().nullable().optional(), device: device.optional()}).and(z.record(z.string(), z.unknown())); export const longRunningOperation = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), lastActionDateTime: z.string().nullable().optional(), resourceLocation: z.string().nullable().optional(), status: longRunningOperationStatus.optional(), statusDetail: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const passwordAuthenticationMethod = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), password: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const authenticationPhoneType = z.enum(["mobile", "alternateMobile", "office", "unknownFutureValue"]); export const authenticationMethodSignInState = z.enum(["notSupported", "notAllowedByPolicy", "notEnabled", "phoneNumberNotUnique", "ready", "notConfigured", "unknownFutureValue"]); export const phoneAuthenticationMethod = z.object({id: z.string().optional(), phoneNumber: z.string().nullable().optional(), phoneType: authenticationPhoneType.optional(), smsSignInState: authenticationMethodSignInState.optional()}).and(z.record(z.string(), z.unknown())); export const authenticationMethodKeyStrength = z.enum(["normal", "weak", "unknown"]); export const authenticationMethodPlatform = z.enum(["unknown", "windows", "macOS", "iOS", "android", "linux", "unknownFutureValue"]); export const platformCredentialAuthenticationMethod = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), displayName: z.string().nullable().optional(), keyStrength: authenticationMethodKeyStrength.optional(), platform: authenticationMethodPlatform.optional(), device: device.optional()}).and(z.record(z.string(), z.unknown())); export const softwareOathAuthenticationMethod = z.object({id: z.string().optional(), secretKey: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const temporaryAccessPassAuthenticationMethod = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), isUsable: z.boolean().nullable().optional(), isUsableOnce: z.boolean().nullable().optional(), lifetimeInMinutes: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), methodUsabilityReason: z.string().nullable().optional(), startDateTime: z.string().nullable().optional(), temporaryAccessPass: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const windowsHelloForBusinessAuthenticationMethod = z.object({id: z.string().optional(), createdDateTime: z.string().nullable().optional(), displayName: z.string().nullable().optional(), keyStrength: authenticationMethodKeyStrength.optional(), device: device.optional()}).and(z.record(z.string(), z.unknown())); export const authentication = z.object({id: z.string().optional(), emailMethods: z.array(emailAuthenticationMethod).optional(), fido2Methods: z.array(fido2AuthenticationMethod).optional(), methods: z.array(authenticationMethod).optional(), microsoftAuthenticatorMethods: z.array(microsoftAuthenticatorAuthenticationMethod).optional(), operations: z.array(longRunningOperation).optional(), passwordMethods: z.array(passwordAuthenticationMethod).optional(), phoneMethods: z.array(phoneAuthenticationMethod).optional(), platformCredentialMethods: z.array(platformCredentialAuthenticationMethod).optional(), softwareOathMethods: z.array(softwareOathAuthenticationMethod).optional(), temporaryAccessPassMethods: z.array(temporaryAccessPassAuthenticationMethod).optional(), windowsHelloForBusinessMethods: z.array(windowsHelloForBusinessAuthenticationMethod).optional()}).and(z.record(z.string(), z.unknown())); export const calendarGroup = z.object({id: z.string().optional(), changeKey: z.string().nullable().optional(), classId: z.string().nullable().optional(), name: z.string().nullable().optional(), calendars: z.array(calendar).optional()}).and(z.record(z.string(), z.unknown())); export const chatType = z.enum(["oneOnOne", "group", "meeting", "unknownFutureValue"]); export const teamworkUserIdentityType = z.enum(["aadUser", "onPremiseAadUser", "anonymousGuest", "federatedUser", "personalMicrosoftAccountUser", "skypeUser", "phoneUser", "unknownFutureValue", "emailUser"]); export const teamworkUserIdentity = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional(), userIdentityType: teamworkUserIdentityType.optional()}).and(z.record(z.string(), z.unknown())); export const teamworkOnlineMeetingInfo = z.object({calendarEventId: z.string().nullable().optional(), joinWebUrl: z.string().nullable().optional(), organizer: teamworkUserIdentity.optional()}).and(z.record(z.string(), z.unknown())); export const chatViewpoint = z.object({isHidden: z.boolean().nullable().optional(), lastMessageReadDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const chatMessageInfo = z.object({id: z.string().optional(), body: itemBody.optional(), createdDateTime: z.string().nullable().optional(), eventDetail: eventMessageDetail.optional(), from: chatMessageFromIdentitySet.optional(), isDeleted: z.boolean().nullable().optional(), messageType: chatMessageType.optional()}).and(z.record(z.string(), z.unknown())); export const pinnedChatMessageInfo = z.object({id: z.string().optional(), message: chatMessage.optional()}).and(z.record(z.string(), z.unknown())); export const chat = z.object({id: z.string().optional(), chatType: chatType.optional(), createdDateTime: z.string().nullable().optional(), isHiddenForAllMembers: z.boolean().nullable().optional(), lastUpdatedDateTime: z.string().nullable().optional(), onlineMeetingInfo: teamworkOnlineMeetingInfo.optional(), tenantId: z.string().nullable().optional(), topic: z.string().nullable().optional(), viewpoint: chatViewpoint.optional(), webUrl: z.string().nullable().optional(), installedApps: z.array(teamsAppInstallation).optional(), lastMessagePreview: chatMessageInfo.optional(), members: z.array(conversationMember).optional(), messages: z.array(chatMessage).optional(), permissionGrants: z.array(resourceSpecificPermissionGrant).optional(), pinnedMessages: z.array(pinnedChatMessageInfo).optional(), tabs: z.array(teamsTab).optional()}).and(z.record(z.string(), z.unknown())); export const cloudClipboardItemPayload = z.object({content: z.string().optional(), formatName: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const cloudClipboardItem = z.object({id: z.string().optional(), createdDateTime: z.string().optional(), expirationDateTime: z.string().optional(), lastModifiedDateTime: z.string().nullable().optional(), payloads: z.array(cloudClipboardItemPayload).optional()}).and(z.record(z.string(), z.unknown())); export const cloudClipboardRoot = z.object({id: z.string().optional(), items: z.array(cloudClipboardItem).optional()}).and(z.record(z.string(), z.unknown())); export const contact = z.object({id: z.string().optional(), categories: z.array(z.string().nullable()).optional(), changeKey: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), assistantName: z.string().nullable().optional(), birthday: z.string().nullable().optional(), businessAddress: physicalAddress.optional(), businessHomePage: z.string().nullable().optional(), businessPhones: z.array(z.string().nullable()).optional(), children: z.array(z.string().nullable()).optional(), companyName: z.string().nullable().optional(), department: z.string().nullable().optional(), displayName: z.string().nullable().optional(), emailAddresses: z.array(emailAddress).optional(), fileAs: z.string().nullable().optional(), generation: z.string().nullable().optional(), givenName: z.string().nullable().optional(), homeAddress: physicalAddress.optional(), homePhones: z.array(z.string().nullable()).optional(), imAddresses: z.array(z.string().nullable()).optional(), initials: z.string().nullable().optional(), jobTitle: z.string().nullable().optional(), manager: z.string().nullable().optional(), middleName: z.string().nullable().optional(), mobilePhone: z.string().nullable().optional(), nickName: z.string().nullable().optional(), officeLocation: z.string().nullable().optional(), otherAddress: physicalAddress.optional(), parentFolderId: z.string().nullable().optional(), personalNotes: z.string().nullable().optional(), profession: z.string().nullable().optional(), spouseName: z.string().nullable().optional(), surname: z.string().nullable().optional(), title: z.string().nullable().optional(), yomiCompanyName: z.string().nullable().optional(), yomiGivenName: z.string().nullable().optional(), yomiSurname: z.string().nullable().optional(), extensions: z.array(extension).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), photo: profilePhoto.optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const contactFolder: z.ZodType = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), parentFolderId: z.string().nullable().optional(), childFolders: z.array(z.lazy(() => contactFolder)).optional(), contacts: z.array(contact).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const labelActionSource = z.enum(["manual", "automatic", "recommended", "none", "unknownFutureValue"]); export const usageRights = z.enum(["unknown", "docEdit", "edit", "comment", "export", "forward", "owner", "print", "reply", "replyAll", "view", "extract", "viewRightsData", "editRightsData", "objModel", "accessDenied", "userDefinedProtectionTypeNotSupportedException", "encryptedProtectionTypeNotSupportedException", "purviewClaimsChallengeNotSupportedException", "exception", "unknownFutureValue"]); export const usageRightsIncluded = z.object({id: z.string().optional(), ownerEmail: z.string().nullable().optional(), userEmail: z.string().nullable().optional(), value: usageRights.optional()}).and(z.record(z.string(), z.unknown())); export const sensitivityLabel: z.ZodType = z.object({id: z.string().optional(), actionSource: labelActionSource.optional(), autoTooltip: z.string().nullable().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional(), isDefault: z.boolean().nullable().optional(), isEndpointProtectionEnabled: z.boolean().nullable().optional(), isScopedToUser: z.boolean().nullable().optional(), locale: z.string().nullable().optional(), name: z.string().nullable().optional(), priority: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), toolTip: z.string().nullable().optional(), rights: usageRightsIncluded.optional(), sublabels: z.array(z.lazy(() => sensitivityLabel)).optional()}).and(z.record(z.string(), z.unknown())); export const userActivityType = z.enum(["uploadText", "uploadFile", "downloadText", "downloadFile", "unknownFutureValue"]); export const activityMetadata = z.object({activity: userActivityType.optional()}).and(z.record(z.string(), z.unknown())); export const contentBase = z.record(z.string(), z.unknown()); export const processContentMetadataBase = z.object({content: contentBase.optional(), correlationId: z.string().nullable().optional(), createdDateTime: z.string().optional(), identifier: z.string().optional(), isTruncated: z.boolean().optional(), length: z.number().nullable().optional(), modifiedDateTime: z.string().optional(), name: z.string().optional(), sequenceNumber: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const operatingSystemSpecifications = z.object({operatingSystemPlatform: z.string().optional(), operatingSystemVersion: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const deviceMetadata = z.object({deviceType: z.string().nullable().optional(), ipAddress: z.string().nullable().optional(), operatingSystemSpecifications: operatingSystemSpecifications.optional()}).and(z.record(z.string(), z.unknown())); export const integratedApplicationMetadata = z.object({name: z.string().nullable().optional(), version: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const policyLocation = z.object({value: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const protectedApplicationMetadata = z.object({name: z.string().nullable().optional(), version: z.string().nullable().optional(), applicationLocation: policyLocation.optional()}).and(z.record(z.string(), z.unknown())); export const processContentRequest = z.object({activityMetadata: activityMetadata.optional(), contentEntries: z.array(processContentMetadataBase).optional(), deviceMetadata: deviceMetadata.optional(), integratedAppMetadata: integratedApplicationMetadata.optional(), protectedAppMetadata: protectedApplicationMetadata.optional()}).and(z.record(z.string(), z.unknown())); export const contentActivity = z.object({id: z.string().optional(), contentMetadata: processContentRequest.optional(), scopeIdentifier: z.string().nullable().optional(), userId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const activitiesContainer = z.object({id: z.string().optional(), contentActivities: z.array(contentActivity).optional()}).and(z.record(z.string(), z.unknown())); export const userProtectionScopeContainer = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const userDataSecurityAndGovernance = z.object({id: z.string().optional(), sensitivityLabels: z.array(sensitivityLabel).optional(), activities: activitiesContainer.optional(), protectionScopes: userProtectionScopeContainer.optional()}).and(z.record(z.string(), z.unknown())); export const deviceManagementTroubleshootingEvent = z.object({id: z.string().optional(), correlationId: z.string().nullable().optional(), eventDateTime: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const courseStatus = z.enum(["notStarted", "inProgress", "completed", "unknownFutureValue"]); export const learningCourseActivity = z.object({id: z.string().optional(), completedDateTime: z.string().nullable().optional(), completionPercentage: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), externalcourseActivityId: z.string().nullable().optional(), learnerUserId: z.string().optional(), learningContentId: z.string().optional(), learningProviderId: z.string().nullable().optional(), status: courseStatus.optional()}).and(z.record(z.string(), z.unknown())); export const employeeExperienceUser = z.object({id: z.string().optional(), learningCourseActivities: z.array(learningCourseActivity).optional()}).and(z.record(z.string(), z.unknown())); export const inferenceClassificationType = z.enum(["focused", "other"]); export const inferenceClassificationOverride = z.object({id: z.string().optional(), classifyAs: inferenceClassificationType.optional(), senderEmailAddress: emailAddress.optional()}).and(z.record(z.string(), z.unknown())); export const inferenceClassification = z.object({id: z.string().optional(), overrides: z.array(inferenceClassificationOverride).optional()}).and(z.record(z.string(), z.unknown())); export const insightIdentity = z.object({address: z.string().nullable().optional(), displayName: z.string().nullable().optional(), id: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const resourceReference = z.object({id: z.string().nullable().optional(), type: z.string().nullable().optional(), webUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const sharingDetail = z.object({sharedBy: insightIdentity.optional(), sharedDateTime: z.string().nullable().optional(), sharingReference: resourceReference.optional(), sharingSubject: z.string().nullable().optional(), sharingType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const resourceVisualization = z.object({containerDisplayName: z.string().nullable().optional(), containerType: z.string().nullable().optional(), containerWebUrl: z.string().nullable().optional(), mediaType: z.string().nullable().optional(), previewImageUrl: z.string().nullable().optional(), previewText: z.string().nullable().optional(), title: z.string().nullable().optional(), type: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const entity = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const sharedInsight = z.object({id: z.string().optional(), lastShared: sharingDetail.optional(), resourceReference: resourceReference.optional(), resourceVisualization: resourceVisualization.optional(), sharingHistory: z.array(sharingDetail).optional(), lastSharedMethod: entity.optional(), resource: entity.optional()}).and(z.record(z.string(), z.unknown())); export const trending = z.object({id: z.string().optional(), lastModifiedDateTime: z.string().nullable().optional(), resourceReference: resourceReference.optional(), resourceVisualization: resourceVisualization.optional(), weight: z.number().nullable().optional(), resource: entity.optional()}).and(z.record(z.string(), z.unknown())); export const usageDetails = z.object({lastAccessedDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const usedInsight = z.object({id: z.string().optional(), lastUsed: usageDetails.optional(), resourceReference: resourceReference.optional(), resourceVisualization: resourceVisualization.optional(), resource: entity.optional()}).and(z.record(z.string(), z.unknown())); export const itemInsights = z.object({id: z.string().optional(), shared: z.array(sharedInsight).optional(), trending: z.array(trending).optional(), used: z.array(usedInsight).optional()}).and(z.record(z.string(), z.unknown())); export const servicePlanInfo = z.object({appliesTo: z.string().nullable().optional(), provisioningStatus: z.string().nullable().optional(), servicePlanId: z.string().nullable().optional(), servicePlanName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const licenseDetails = z.object({id: z.string().optional(), servicePlans: z.array(servicePlanInfo).optional(), skuId: z.string().nullable().optional(), skuPartNumber: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const messageRuleActions = z.object({assignCategories: z.array(z.string().nullable()).optional(), copyToFolder: z.string().nullable().optional(), delete: z.boolean().nullable().optional(), forwardAsAttachmentTo: z.array(recipient).optional(), forwardTo: z.array(recipient).optional(), markAsRead: z.boolean().nullable().optional(), markImportance: importance.optional(), moveToFolder: z.string().nullable().optional(), permanentDelete: z.boolean().nullable().optional(), redirectTo: z.array(recipient).optional(), stopProcessingRules: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const messageActionFlag = z.enum(["any", "call", "doNotForward", "followUp", "fyi", "forward", "noResponseNecessary", "read", "reply", "replyToAll", "review"]); export const sizeRange = z.object({maximumSize: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), minimumSize: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const messageRulePredicates = z.object({bodyContains: z.array(z.string().nullable()).optional(), bodyOrSubjectContains: z.array(z.string().nullable()).optional(), categories: z.array(z.string().nullable()).optional(), fromAddresses: z.array(recipient).optional(), hasAttachments: z.boolean().nullable().optional(), headerContains: z.array(z.string().nullable()).optional(), importance: importance.optional(), isApprovalRequest: z.boolean().nullable().optional(), isAutomaticForward: z.boolean().nullable().optional(), isAutomaticReply: z.boolean().nullable().optional(), isEncrypted: z.boolean().nullable().optional(), isMeetingRequest: z.boolean().nullable().optional(), isMeetingResponse: z.boolean().nullable().optional(), isNonDeliveryReport: z.boolean().nullable().optional(), isPermissionControlled: z.boolean().nullable().optional(), isReadReceipt: z.boolean().nullable().optional(), isSigned: z.boolean().nullable().optional(), isVoicemail: z.boolean().nullable().optional(), messageActionFlag: messageActionFlag.optional(), notSentToMe: z.boolean().nullable().optional(), recipientContains: z.array(z.string().nullable()).optional(), senderContains: z.array(z.string().nullable()).optional(), sensitivity: sensitivity.optional(), sentCcMe: z.boolean().nullable().optional(), sentOnlyToMe: z.boolean().nullable().optional(), sentToAddresses: z.array(recipient).optional(), sentToMe: z.boolean().nullable().optional(), sentToOrCcMe: z.boolean().nullable().optional(), subjectContains: z.array(z.string().nullable()).optional(), withinSizeRange: sizeRange.optional()}).and(z.record(z.string(), z.unknown())); export const messageRule = z.object({id: z.string().optional(), actions: messageRuleActions.optional(), conditions: messageRulePredicates.optional(), displayName: z.string().nullable().optional(), exceptions: messageRulePredicates.optional(), hasError: z.boolean().nullable().optional(), isEnabled: z.boolean().nullable().optional(), isReadOnly: z.boolean().nullable().optional(), sequence: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const followupFlagStatus = z.enum(["notFlagged", "complete", "flagged"]); export const followupFlag = z.object({completedDateTime: dateTimeTimeZone.optional(), dueDateTime: dateTimeTimeZone.optional(), flagStatus: followupFlagStatus.optional(), startDateTime: dateTimeTimeZone.optional()}).and(z.record(z.string(), z.unknown())); export const internetMessageHeader = z.object({name: z.string().nullable().optional(), value: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const message = z.object({id: z.string().optional(), categories: z.array(z.string().nullable()).optional(), changeKey: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), bccRecipients: z.array(recipient).optional(), body: itemBody.optional(), bodyPreview: z.string().nullable().optional(), ccRecipients: z.array(recipient).optional(), conversationId: z.string().nullable().optional(), conversationIndex: z.string().nullable().optional(), flag: followupFlag.optional(), from: recipient.optional(), hasAttachments: z.boolean().nullable().optional(), importance: importance.optional(), inferenceClassification: inferenceClassificationType.optional(), internetMessageHeaders: z.array(internetMessageHeader).optional(), internetMessageId: z.string().nullable().optional(), isDeliveryReceiptRequested: z.boolean().nullable().optional(), isDraft: z.boolean().nullable().optional(), isRead: z.boolean().nullable().optional(), isReadReceiptRequested: z.boolean().nullable().optional(), parentFolderId: z.string().nullable().optional(), receivedDateTime: z.string().nullable().optional(), replyTo: z.array(recipient).optional(), sender: recipient.optional(), sentDateTime: z.string().nullable().optional(), subject: z.string().nullable().optional(), toRecipients: z.array(recipient).optional(), uniqueBody: itemBody.optional(), webLink: z.string().nullable().optional(), attachments: z.array(attachment).optional(), extensions: z.array(extension).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const mailFolder: z.ZodType = z.object({id: z.string().optional(), childFolderCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), displayName: z.string().nullable().optional(), isHidden: z.boolean().nullable().optional(), parentFolderId: z.string().nullable().optional(), totalItemCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), unreadItemCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), childFolders: z.array(z.lazy(() => mailFolder)).optional(), messageRules: z.array(messageRule).optional(), messages: z.array(message).optional(), multiValueExtendedProperties: z.array(multiValueLegacyExtendedProperty).optional(), singleValueExtendedProperties: z.array(singleValueLegacyExtendedProperty).optional()}).and(z.record(z.string(), z.unknown())); export const mobileAppIdentifier = z.record(z.string(), z.unknown()); export const managedAppFlaggedReason = z.enum(["none", "rootedDevice"]); export const managedAppPolicy = z.object({id: z.string().optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), displayName: z.string().optional(), lastModifiedDateTime: z.string().optional(), version: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const managedAppOperation = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), lastModifiedDateTime: z.string().optional(), state: z.string().nullable().optional(), version: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const managedAppRegistration = z.object({id: z.string().optional(), appIdentifier: mobileAppIdentifier.optional(), applicationVersion: z.string().nullable().optional(), createdDateTime: z.string().optional(), deviceName: z.string().nullable().optional(), deviceTag: z.string().nullable().optional(), deviceType: z.string().nullable().optional(), flaggedReasons: z.array(managedAppFlaggedReason).optional(), lastSyncDateTime: z.string().optional(), managementSdkVersion: z.string().nullable().optional(), platformVersion: z.string().nullable().optional(), userId: z.string().nullable().optional(), version: z.string().nullable().optional(), appliedPolicies: z.array(managedAppPolicy).optional(), intendedPolicies: z.array(managedAppPolicy).optional(), operations: z.array(managedAppOperation).optional()}).and(z.record(z.string(), z.unknown())); export const complianceState = z.enum(["unknown", "compliant", "noncompliant", "conflict", "error", "inGracePeriod", "configManager"]); export const configurationManagerClientEnabledFeatures = z.object({compliancePolicy: z.boolean().optional(), deviceConfiguration: z.boolean().optional(), inventory: z.boolean().optional(), modernApps: z.boolean().optional(), resourceAccess: z.boolean().optional(), windowsUpdateForBusiness: z.boolean().optional()}).and(z.record(z.string(), z.unknown())); export const actionState = z.enum(["none", "pending", "canceled", "active", "done", "failed", "notSupported"]); export const deviceActionResult = z.object({actionName: z.string().nullable().optional(), actionState: actionState.optional(), lastUpdatedDateTime: z.string().optional(), startDateTime: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const deviceEnrollmentType = z.enum(["unknown", "userEnrollment", "deviceEnrollmentManager", "appleBulkWithUser", "appleBulkWithoutUser", "windowsAzureADJoin", "windowsBulkUserless", "windowsAutoEnrollment", "windowsBulkAzureDomainJoin", "windowsCoManagement", "windowsAzureADJoinUsingDeviceAuth", "appleUserEnrollment", "appleUserEnrollmentWithServiceAccount", "unknownFutureValue"]); export const deviceHealthAttestationState = z.object({attestationIdentityKey: z.string().nullable().optional(), bitLockerStatus: z.string().nullable().optional(), bootAppSecurityVersion: z.string().nullable().optional(), bootDebugging: z.string().nullable().optional(), bootManagerSecurityVersion: z.string().nullable().optional(), bootManagerVersion: z.string().nullable().optional(), bootRevisionListInfo: z.string().nullable().optional(), codeIntegrity: z.string().nullable().optional(), codeIntegrityCheckVersion: z.string().nullable().optional(), codeIntegrityPolicy: z.string().nullable().optional(), contentNamespaceUrl: z.string().nullable().optional(), contentVersion: z.string().nullable().optional(), dataExcutionPolicy: z.string().nullable().optional(), deviceHealthAttestationStatus: z.string().nullable().optional(), earlyLaunchAntiMalwareDriverProtection: z.string().nullable().optional(), healthAttestationSupportedStatus: z.string().nullable().optional(), healthStatusMismatchInfo: z.string().nullable().optional(), issuedDateTime: z.string().optional(), lastUpdateDateTime: z.string().nullable().optional(), operatingSystemKernelDebugging: z.string().nullable().optional(), operatingSystemRevListInfo: z.string().nullable().optional(), pcr0: z.string().nullable().optional(), pcrHashAlgorithm: z.string().nullable().optional(), resetCount: z.number().optional(), restartCount: z.number().optional(), safeMode: z.string().nullable().optional(), secureBoot: z.string().nullable().optional(), secureBootConfigurationPolicyFingerPrint: z.string().nullable().optional(), testSigning: z.string().nullable().optional(), tpmVersion: z.string().nullable().optional(), virtualSecureMode: z.string().nullable().optional(), windowsPE: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const deviceRegistrationState = z.enum(["notRegistered", "registered", "revoked", "keyConflict", "approvalPending", "certificateReset", "notRegisteredPendingEnrollment", "unknown"]); export const deviceManagementExchangeAccessState = z.enum(["none", "unknown", "allowed", "blocked", "quarantined"]); export const deviceManagementExchangeAccessStateReason = z.enum(["none", "unknown", "exchangeGlobalRule", "exchangeIndividualRule", "exchangeDeviceRule", "exchangeUpgrade", "exchangeMailboxPolicy", "other", "compliant", "notCompliant", "notEnrolled", "unknownLocation", "mfaRequired", "azureADBlockDueToAccessPolicy", "compromisedPassword", "deviceNotKnownWithManagedApp"]); export const managedDeviceOwnerType = z.enum(["unknown", "company", "personal", "unknownFutureValue"]); export const managementAgentType = z.enum(["eas", "mdm", "easMdm", "intuneClient", "easIntuneClient", "configurationManagerClient", "configurationManagerClientMdm", "configurationManagerClientMdmEas", "unknown", "jamf", "googleCloudDevicePolicyController", "microsoft365ManagedMdm", "msSense"]); export const managedDevicePartnerReportedHealthState = z.enum(["unknown", "activated", "deactivated", "secured", "lowSeverity", "mediumSeverity", "highSeverity", "unresponsive", "compromised", "misconfigured"]); export const deviceCategory = z.object({id: z.string().optional(), description: z.string().nullable().optional(), displayName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const policyPlatformType = z.enum(["android", "androidForWork", "iOS", "macOS", "windowsPhone81", "windows81AndLater", "windows10AndLater", "all"]); export const settingSourceType = z.enum(["deviceConfiguration", "deviceIntent"]); export const settingSource = z.object({displayName: z.string().nullable().optional(), id: z.string().nullable().optional(), sourceType: settingSourceType.optional()}).and(z.record(z.string(), z.unknown())); export const complianceStatus = z.enum(["unknown", "notApplicable", "compliant", "remediated", "nonCompliant", "error", "conflict", "notAssigned"]); export const deviceCompliancePolicySettingState = z.object({currentValue: z.string().nullable().optional(), errorCode: z.number().optional(), errorDescription: z.string().nullable().optional(), instanceDisplayName: z.string().nullable().optional(), setting: z.string().nullable().optional(), settingName: z.string().nullable().optional(), sources: z.array(settingSource).optional(), state: complianceStatus.optional(), userEmail: z.string().nullable().optional(), userId: z.string().nullable().optional(), userName: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const deviceCompliancePolicyState = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), platformType: policyPlatformType.optional(), settingCount: z.number().gte(-2147483648).lte(2147483647).optional(), settingStates: z.array(deviceCompliancePolicySettingState).optional(), state: complianceStatus.optional(), version: z.number().gte(-2147483648).lte(2147483647).optional()}).and(z.record(z.string(), z.unknown())); export const deviceConfigurationSettingState = z.object({currentValue: z.string().nullable().optional(), errorCode: z.number().optional(), errorDescription: z.string().nullable().optional(), instanceDisplayName: z.string().nullable().optional(), setting: z.string().nullable().optional(), settingName: z.string().nullable().optional(), sources: z.array(settingSource).optional(), state: complianceStatus.optional(), userEmail: z.string().nullable().optional(), userId: z.string().nullable().optional(), userName: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const deviceConfigurationState = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), platformType: policyPlatformType.optional(), settingCount: z.number().gte(-2147483648).lte(2147483647).optional(), settingStates: z.array(deviceConfigurationSettingState).optional(), state: complianceStatus.optional(), version: z.number().gte(-2147483648).lte(2147483647).optional()}).and(z.record(z.string(), z.unknown())); export const appLogUploadState = z.enum(["pending", "completed", "failed", "unknownFutureValue"]); export const deviceLogCollectionResponse = z.object({id: z.string().optional(), enrolledByUser: z.string().nullable().optional(), expirationDateTimeUTC: z.string().nullable().optional(), initiatedByUserPrincipalName: z.string().nullable().optional(), managedDeviceId: z.string().optional(), receivedDateTimeUTC: z.string().nullable().optional(), requestedDateTimeUTC: z.string().nullable().optional(), sizeInKB: z.number().nullable().optional(), status: appLogUploadState.optional()}).and(z.record(z.string(), z.unknown())); export const windowsDeviceHealthState = z.enum(["clean", "fullScanPending", "rebootPending", "manualStepsPending", "offlineScanPending", "critical"]); export const windowsDefenderProductStatus = z.enum(["noStatus", "serviceNotRunning", "serviceStartedWithoutMalwareProtection", "pendingFullScanDueToThreatAction", "pendingRebootDueToThreatAction", "pendingManualStepsDueToThreatAction", "avSignaturesOutOfDate", "asSignaturesOutOfDate", "noQuickScanHappenedForSpecifiedPeriod", "noFullScanHappenedForSpecifiedPeriod", "systemInitiatedScanInProgress", "systemInitiatedCleanInProgress", "samplesPendingSubmission", "productRunningInEvaluationMode", "productRunningInNonGenuineMode", "productExpired", "offlineScanRequired", "serviceShutdownAsPartOfSystemShutdown", "threatRemediationFailedCritically", "threatRemediationFailedNonCritically", "noStatusFlagsSet", "platformOutOfDate", "platformUpdateInProgress", "platformAboutToBeOutdated", "signatureOrPlatformEndOfLifeIsPastOrIsImpending", "windowsSModeSignaturesInUseOnNonWin10SInstall"]); export const windowsMalwareCategory = z.enum(["invalid", "adware", "spyware", "passwordStealer", "trojanDownloader", "worm", "backdoor", "remoteAccessTrojan", "trojan", "emailFlooder", "keylogger", "dialer", "monitoringSoftware", "browserModifier", "cookie", "browserPlugin", "aolExploit", "nuker", "securityDisabler", "jokeProgram", "hostileActiveXControl", "softwareBundler", "stealthNotifier", "settingsModifier", "toolBar", "remoteControlSoftware", "trojanFtp", "potentialUnwantedSoftware", "icqExploit", "trojanTelnet", "exploit", "filesharingProgram", "malwareCreationTool", "remote_Control_Software", "tool", "trojanDenialOfService", "trojanDropper", "trojanMassMailer", "trojanMonitoringSoftware", "trojanProxyServer", "virus", "known", "unknown", "spp", "behavior", "vulnerability", "policy", "enterpriseUnwantedSoftware", "ransom", "hipsRule"]); export const windowsMalwareExecutionState = z.enum(["unknown", "blocked", "allowed", "running", "notRunning"]); export const windowsMalwareSeverity = z.enum(["unknown", "low", "moderate", "high", "severe"]); export const windowsMalwareState = z.enum(["unknown", "detected", "cleaned", "quarantined", "removed", "allowed", "blocked", "cleanFailed", "quarantineFailed", "removeFailed", "allowFailed", "abandoned", "blockFailed"]); export const windowsMalwareThreatState = z.enum(["active", "actionFailed", "manualStepsRequired", "fullScanRequired", "rebootRequired", "remediatedWithNonCriticalFailures", "quarantined", "removed", "cleaned", "allowed", "noStatusCleared"]); export const windowsDeviceMalwareState = z.object({id: z.string().optional(), additionalInformationUrl: z.string().nullable().optional(), category: windowsMalwareCategory.optional(), detectionCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), displayName: z.string().nullable().optional(), executionState: windowsMalwareExecutionState.optional(), initialDetectionDateTime: z.string().nullable().optional(), lastStateChangeDateTime: z.string().nullable().optional(), severity: windowsMalwareSeverity.optional(), state: windowsMalwareState.optional(), threatState: windowsMalwareThreatState.optional()}).and(z.record(z.string(), z.unknown())); export const windowsProtectionState = z.object({id: z.string().optional(), antiMalwareVersion: z.string().nullable().optional(), deviceState: windowsDeviceHealthState.optional(), engineVersion: z.string().nullable().optional(), fullScanOverdue: z.boolean().nullable().optional(), fullScanRequired: z.boolean().nullable().optional(), isVirtualMachine: z.boolean().nullable().optional(), lastFullScanDateTime: z.string().nullable().optional(), lastFullScanSignatureVersion: z.string().nullable().optional(), lastQuickScanDateTime: z.string().nullable().optional(), lastQuickScanSignatureVersion: z.string().nullable().optional(), lastReportedDateTime: z.string().nullable().optional(), malwareProtectionEnabled: z.boolean().nullable().optional(), networkInspectionSystemEnabled: z.boolean().nullable().optional(), productStatus: windowsDefenderProductStatus.optional(), quickScanOverdue: z.boolean().nullable().optional(), realTimeProtectionEnabled: z.boolean().nullable().optional(), rebootRequired: z.boolean().nullable().optional(), signatureUpdateOverdue: z.boolean().nullable().optional(), signatureVersion: z.string().nullable().optional(), tamperProtectionEnabled: z.boolean().nullable().optional(), detectedMalwareState: z.array(windowsDeviceMalwareState).optional()}).and(z.record(z.string(), z.unknown())); export const managedDevice = z.object({id: z.string().optional(), activationLockBypassCode: z.string().nullable().optional(), androidSecurityPatchLevel: z.string().nullable().optional(), azureADDeviceId: z.string().nullable().optional(), azureADRegistered: z.boolean().nullable().optional(), complianceGracePeriodExpirationDateTime: z.string().optional(), complianceState: complianceState.optional(), configurationManagerClientEnabledFeatures: configurationManagerClientEnabledFeatures.optional(), deviceActionResults: z.array(deviceActionResult).optional(), deviceCategoryDisplayName: z.string().nullable().optional(), deviceEnrollmentType: deviceEnrollmentType.optional(), deviceHealthAttestationState: deviceHealthAttestationState.optional(), deviceName: z.string().nullable().optional(), deviceRegistrationState: deviceRegistrationState.optional(), easActivated: z.boolean().optional(), easActivationDateTime: z.string().optional(), easDeviceId: z.string().nullable().optional(), emailAddress: z.string().nullable().optional(), enrolledDateTime: z.string().optional(), enrollmentProfileName: z.string().nullable().optional(), ethernetMacAddress: z.string().nullable().optional(), exchangeAccessState: deviceManagementExchangeAccessState.optional(), exchangeAccessStateReason: deviceManagementExchangeAccessStateReason.optional(), exchangeLastSuccessfulSyncDateTime: z.string().optional(), freeStorageSpaceInBytes: z.number().optional(), iccid: z.string().nullable().optional(), imei: z.string().nullable().optional(), isEncrypted: z.boolean().optional(), isSupervised: z.boolean().optional(), jailBroken: z.string().nullable().optional(), lastSyncDateTime: z.string().optional(), managedDeviceName: z.string().nullable().optional(), managedDeviceOwnerType: managedDeviceOwnerType.optional(), managementAgent: managementAgentType.optional(), managementCertificateExpirationDate: z.string().optional(), manufacturer: z.string().nullable().optional(), meid: z.string().nullable().optional(), model: z.string().nullable().optional(), notes: z.string().nullable().optional(), operatingSystem: z.string().nullable().optional(), osVersion: z.string().nullable().optional(), partnerReportedThreatState: managedDevicePartnerReportedHealthState.optional(), phoneNumber: z.string().nullable().optional(), physicalMemoryInBytes: z.number().optional(), remoteAssistanceSessionErrorDetails: z.string().nullable().optional(), remoteAssistanceSessionUrl: z.string().nullable().optional(), requireUserEnrollmentApproval: z.boolean().nullable().optional(), serialNumber: z.string().nullable().optional(), subscriberCarrier: z.string().nullable().optional(), totalStorageSpaceInBytes: z.number().optional(), udid: z.string().nullable().optional(), userDisplayName: z.string().nullable().optional(), userId: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional(), wiFiMacAddress: z.string().nullable().optional(), deviceCategory: deviceCategory.optional(), deviceCompliancePolicyStates: z.array(deviceCompliancePolicyState).optional(), deviceConfigurationStates: z.array(deviceConfigurationState).optional(), logCollectionRequests: z.array(deviceLogCollectionResponse).optional(), users: z.array(z.lazy(() => user)).optional(), windowsProtectionState: windowsProtectionState.optional()}).and(z.record(z.string(), z.unknown())); export const oAuth2PermissionGrant = z.object({id: z.string().optional(), clientId: z.string().optional(), consentType: z.string().nullable().optional(), principalId: z.string().nullable().optional(), resourceId: z.string().optional(), scope: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const allowedLobbyAdmitterRoles = z.enum(["organizerAndCoOrganizersAndPresenters", "organizerAndCoOrganizers", "unknownFutureValue"]); export const onlineMeetingPresenters = z.enum(["everyone", "organization", "roleIsPresenter", "organizer", "unknownFutureValue"]); export const meetingLiveShareOptions = z.enum(["enabled", "disabled", "unknownFutureValue"]); export const meetingChatMode = z.enum(["enabled", "disabled", "limited", "unknownFutureValue"]); export const audioConferencing = z.object({conferenceId: z.string().nullable().optional(), dialinUrl: z.string().nullable().optional(), tollFreeNumber: z.string().nullable().optional(), tollFreeNumbers: z.array(z.string().nullable()).optional(), tollNumber: z.string().nullable().optional(), tollNumbers: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const chatInfo = z.object({messageId: z.string().nullable().optional(), replyChainMessageId: z.string().nullable().optional(), threadId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const chatRestrictions = z.object({allowTextOnly: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const joinMeetingIdSettings = z.object({isPasscodeRequired: z.boolean().nullable().optional(), joinMeetingId: z.string().nullable().optional(), passcode: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const lobbyBypassScope = z.enum(["organizer", "organization", "organizationAndFederated", "everyone", "unknownFutureValue", "invited", "organizationExcludingGuests"]); export const lobbyBypassSettings = z.object({isDialInBypassEnabled: z.boolean().nullable().optional(), scope: lobbyBypassScope.optional()}).and(z.record(z.string(), z.unknown())); export const meetingChatHistoryDefaultMode = z.enum(["none", "all", "unknownFutureValue"]); export const watermarkProtectionValues = z.object({isEnabledForContentSharing: z.boolean().nullable().optional(), isEnabledForVideo: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const virtualEventExternalInformation = z.object({applicationId: z.string().nullable().optional(), externalEventId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const attendanceInterval = z.object({durationInSeconds: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), joinDateTime: z.string().nullable().optional(), leaveDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const virtualEventExternalRegistrationInformation = z.object({referrer: z.string().nullable().optional(), registrationId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const attendanceRecord = z.object({id: z.string().optional(), attendanceIntervals: z.array(attendanceInterval).optional(), emailAddress: z.string().nullable().optional(), externalRegistrationInformation: virtualEventExternalRegistrationInformation.optional(), identity: identity.optional(), registrationId: z.string().nullable().optional(), role: z.string().nullable().optional(), totalAttendanceInSeconds: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const meetingAttendanceReport = z.object({id: z.string().optional(), externalEventInformation: z.array(virtualEventExternalInformation).optional(), meetingEndDateTime: z.string().nullable().optional(), meetingStartDateTime: z.string().nullable().optional(), totalParticipantCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), attendanceRecords: z.array(attendanceRecord).optional()}).and(z.record(z.string(), z.unknown())); export const broadcastMeetingAudience = z.enum(["roleIsAttendee", "organization", "everyone", "unknownFutureValue"]); export const broadcastMeetingCaptionSettings = z.object({isCaptionEnabled: z.boolean().nullable().optional(), spokenLanguage: z.string().nullable().optional(), translationLanguages: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const broadcastMeetingSettings = z.object({allowedAudience: broadcastMeetingAudience.optional(), captions: broadcastMeetingCaptionSettings.optional(), isAttendeeReportEnabled: z.boolean().nullable().optional(), isQuestionAndAnswerEnabled: z.boolean().nullable().optional(), isRecordingEnabled: z.boolean().nullable().optional(), isVideoOnDemandEnabled: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onlineMeetingRole = z.enum(["attendee", "presenter", "unknownFutureValue", "producer", "coorganizer"]); export const meetingParticipantInfo = z.object({identity: identitySet.optional(), role: onlineMeetingRole.optional(), upn: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const meetingParticipants = z.object({attendees: z.array(meetingParticipantInfo).optional(), organizer: meetingParticipantInfo.optional()}).and(z.record(z.string(), z.unknown())); export const callRecording = z.object({id: z.string().optional(), callId: z.string().nullable().optional(), content: z.string().nullable().optional(), contentCorrelationId: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), endDateTime: z.string().nullable().optional(), meetingId: z.string().nullable().optional(), meetingOrganizer: identitySet.optional(), recordingContentUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const callTranscript = z.object({id: z.string().optional(), callId: z.string().nullable().optional(), content: z.string().nullable().optional(), contentCorrelationId: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), endDateTime: z.string().nullable().optional(), meetingId: z.string().nullable().optional(), meetingOrganizer: identitySet.optional(), metadataContent: z.string().nullable().optional(), transcriptContentUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const onlineMeeting = z.object({id: z.string().optional(), allowAttendeeToEnableCamera: z.boolean().nullable().optional(), allowAttendeeToEnableMic: z.boolean().nullable().optional(), allowBreakoutRooms: z.boolean().nullable().optional(), allowedLobbyAdmitters: allowedLobbyAdmitterRoles.optional(), allowedPresenters: onlineMeetingPresenters.optional(), allowLiveShare: meetingLiveShareOptions.optional(), allowMeetingChat: meetingChatMode.optional(), allowParticipantsToChangeName: z.boolean().nullable().optional(), allowPowerPointSharing: z.boolean().nullable().optional(), allowRecording: z.boolean().nullable().optional(), allowTeamworkReactions: z.boolean().nullable().optional(), allowTranscription: z.boolean().nullable().optional(), allowWhiteboard: z.boolean().nullable().optional(), audioConferencing: audioConferencing.optional(), chatInfo: chatInfo.optional(), chatRestrictions: chatRestrictions.optional(), isEndToEndEncryptionEnabled: z.boolean().nullable().optional(), isEntryExitAnnounced: z.boolean().nullable().optional(), joinInformation: itemBody.optional(), joinMeetingIdSettings: joinMeetingIdSettings.optional(), joinWebUrl: z.string().nullable().optional(), lobbyBypassSettings: lobbyBypassSettings.optional(), recordAutomatically: z.boolean().nullable().optional(), shareMeetingChatHistoryDefault: meetingChatHistoryDefaultMode.optional(), subject: z.string().nullable().optional(), videoTeleconferenceId: z.string().nullable().optional(), watermarkProtection: watermarkProtectionValues.optional(), attendanceReports: z.array(meetingAttendanceReport).optional(), attendeeReport: z.string().nullable().optional(), broadcastSettings: broadcastMeetingSettings.optional(), creationDateTime: z.string().nullable().optional(), endDateTime: z.string().nullable().optional(), externalId: z.string().nullable().optional(), isBroadcast: z.boolean().nullable().optional(), meetingTemplateId: z.string().nullable().optional(), participants: meetingParticipants.optional(), startDateTime: z.string().nullable().optional(), recordings: z.array(callRecording).optional(), transcripts: z.array(callTranscript).optional()}).and(z.record(z.string(), z.unknown())); export const categoryColor = z.enum(["none", "preset0", "preset1", "preset2", "preset3", "preset4", "preset5", "preset6", "preset7", "preset8", "preset9", "preset10", "preset11", "preset12", "preset13", "preset14", "preset15", "preset16", "preset17", "preset18", "preset19", "preset20", "preset21", "preset22", "preset23", "preset24"]); export const outlookCategory = z.object({id: z.string().optional(), color: categoryColor.optional(), displayName: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const outlookUser = z.object({id: z.string().optional(), masterCategories: z.array(outlookCategory).optional()}).and(z.record(z.string(), z.unknown())); export const personType = z.object({class: z.string().nullable().optional(), subclass: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const selectionLikelihoodInfo = z.enum(["notSpecified", "high"]); export const scoredEmailAddress = z.object({address: z.string().nullable().optional(), itemId: z.string().nullable().optional(), relevanceScore: z.number().nullable().optional(), selectionLikelihood: selectionLikelihoodInfo.optional()}).and(z.record(z.string(), z.unknown())); export const websiteType = z.enum(["other", "home", "work", "blog", "profile"]); export const website = z.object({address: z.string().nullable().optional(), displayName: z.string().nullable().optional(), type: websiteType.optional()}).and(z.record(z.string(), z.unknown())); export const person = z.object({id: z.string().optional(), birthday: z.string().nullable().optional(), companyName: z.string().nullable().optional(), department: z.string().nullable().optional(), displayName: z.string().nullable().optional(), givenName: z.string().nullable().optional(), imAddress: z.string().nullable().optional(), isFavorite: z.boolean().nullable().optional(), jobTitle: z.string().nullable().optional(), officeLocation: z.string().nullable().optional(), personNotes: z.string().nullable().optional(), personType: personType.optional(), phones: z.array(phone).optional(), postalAddresses: z.array(location).optional(), profession: z.string().nullable().optional(), scoredEmailAddresses: z.array(scoredEmailAddress).optional(), surname: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional(), websites: z.array(website).optional(), yomiCompany: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const plannerUser = z.object({id: z.string().optional(), plans: z.array(plannerPlan).optional(), tasks: z.array(plannerTask).optional()}).and(z.record(z.string(), z.unknown())); export const outOfOfficeSettings = z.object({isOutOfOffice: z.boolean().nullable().optional(), message: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const presenceStatusMessage = z.object({expiryDateTime: dateTimeTimeZone.optional(), message: itemBody.optional(), publishedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const presence = z.object({id: z.string().optional(), activity: z.string().nullable().optional(), availability: z.string().nullable().optional(), outOfOfficeSettings: outOfOfficeSettings.optional(), sequenceNumber: z.string().nullable().optional(), statusMessage: presenceStatusMessage.optional()}).and(z.record(z.string(), z.unknown())); export const scopedRoleMembership = z.object({id: z.string().optional(), administrativeUnitId: z.string().optional(), roleId: z.string().optional(), roleMemberInfo: identity.optional()}).and(z.record(z.string(), z.unknown())); export const userInsightsSettings = z.object({id: z.string().optional(), isEnabled: z.boolean().optional()}).and(z.record(z.string(), z.unknown())); export const timeRange = z.object({endTime: z.string().nullable().optional(), startTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const shiftAvailability = z.object({recurrence: patternedRecurrence.optional(), timeSlots: z.array(timeRange).optional(), timeZone: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const shiftPreferences = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), availability: z.array(shiftAvailability).optional()}).and(z.record(z.string(), z.unknown())); export const serviceStorageQuotaBreakdown = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), manageWebUrl: z.string().nullable().optional(), used: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const unifiedStorageQuota = z.object({id: z.string().optional(), deleted: z.number().nullable().optional(), manageWebUrl: z.string().nullable().optional(), remaining: z.number().nullable().optional(), state: z.string().nullable().optional(), total: z.number().nullable().optional(), used: z.number().nullable().optional(), services: z.array(serviceStorageQuotaBreakdown).optional()}).and(z.record(z.string(), z.unknown())); export const userStorage = z.object({id: z.string().optional(), quota: unifiedStorageQuota.optional()}).and(z.record(z.string(), z.unknown())); export const windowsSettingType = z.enum(["roaming", "backup", "unknownFutureValue"]); export const windowsSettingInstance = z.object({id: z.string().optional(), createdDateTime: z.string().optional(), expirationDateTime: z.string().optional(), lastModifiedDateTime: z.string().nullable().optional(), payload: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const windowsSetting = z.object({id: z.string().optional(), payloadType: z.string().nullable().optional(), settingType: windowsSettingType.optional(), windowsDeviceId: z.string().nullable().optional(), instances: z.array(windowsSettingInstance).optional()}).and(z.record(z.string(), z.unknown())); export const userSettings = z.object({id: z.string().optional(), contributionToContentDiscoveryAsOrganizationDisabled: z.boolean().optional(), contributionToContentDiscoveryDisabled: z.boolean().optional(), itemInsights: userInsightsSettings.optional(), shiftPreferences: shiftPreferences.optional(), storage: userStorage.optional(), windows: z.array(windowsSetting).optional()}).and(z.record(z.string(), z.unknown())); export const workingTimeSchedule = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const userSolutionRoot = z.object({id: z.string().optional(), workingTimeSchedule: workingTimeSchedule.optional()}).and(z.record(z.string(), z.unknown())); export const associatedTeamInfo = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), tenantId: z.string().nullable().optional(), team: team.optional()}).and(z.record(z.string(), z.unknown())); export const userScopeTeamsAppInstallation = z.object({id: z.string().optional(), consentedPermissionSet: teamsAppPermissionSet.optional(), teamsApp: teamsApp.optional(), teamsAppDefinition: teamsAppDefinition.optional(), chat: chat.optional()}).and(z.record(z.string(), z.unknown())); export const userTeamwork = z.object({id: z.string().optional(), locale: z.string().nullable().optional(), region: z.string().nullable().optional(), associatedTeams: z.array(associatedTeamInfo).optional(), installedApps: z.array(userScopeTeamsAppInstallation).optional()}).and(z.record(z.string(), z.unknown())); export const wellknownListName = z.enum(["none", "defaultList", "flaggedEmails", "unknownFutureValue"]); export const taskStatus = z.enum(["notStarted", "inProgress", "completed", "waitingOnOthers", "deferred"]); export const attachmentBase = z.object({id: z.string().optional(), contentType: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional(), name: z.string().nullable().optional(), size: z.number().gte(-2147483648).lte(2147483647).optional()}).and(z.record(z.string(), z.unknown())); export const attachmentSession = z.object({id: z.string().optional(), content: z.string().nullable().optional(), expirationDateTime: z.string().nullable().optional(), nextExpectedRanges: z.array(z.string().nullable()).optional()}).and(z.record(z.string(), z.unknown())); export const checklistItem = z.object({id: z.string().optional(), checkedDateTime: z.string().nullable().optional(), createdDateTime: z.string().optional(), displayName: z.string().nullable().optional(), isChecked: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const linkedResource = z.object({id: z.string().optional(), applicationName: z.string().nullable().optional(), displayName: z.string().nullable().optional(), externalId: z.string().nullable().optional(), webUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const todoTask = z.object({id: z.string().optional(), body: itemBody.optional(), bodyLastModifiedDateTime: z.string().optional(), categories: z.array(z.string().nullable()).optional(), completedDateTime: dateTimeTimeZone.optional(), createdDateTime: z.string().optional(), dueDateTime: dateTimeTimeZone.optional(), hasAttachments: z.boolean().nullable().optional(), importance: importance.optional(), isReminderOn: z.boolean().optional(), lastModifiedDateTime: z.string().optional(), recurrence: patternedRecurrence.optional(), reminderDateTime: dateTimeTimeZone.optional(), startDateTime: dateTimeTimeZone.optional(), status: taskStatus.optional(), title: z.string().nullable().optional(), attachments: z.array(attachmentBase).optional(), attachmentSessions: z.array(attachmentSession).optional(), checklistItems: z.array(checklistItem).optional(), extensions: z.array(extension).optional(), linkedResources: z.array(linkedResource).optional()}).and(z.record(z.string(), z.unknown())); export const todoTaskList = z.object({id: z.string().optional(), displayName: z.string().nullable().optional(), isOwner: z.boolean().optional(), isShared: z.boolean().optional(), wellknownListName: wellknownListName.optional(), extensions: z.array(extension).optional(), tasks: z.array(todoTask).optional()}).and(z.record(z.string(), z.unknown())); export const todo = z.object({id: z.string().optional(), lists: z.array(todoTaskList).optional()}).and(z.record(z.string(), z.unknown())); export const user: z.ZodType = z.object({id: z.string().optional(), deletedDateTime: z.string().nullable().optional(), aboutMe: z.string().nullable().optional(), accountEnabled: z.boolean().nullable().optional(), ageGroup: z.string().nullable().optional(), assignedLicenses: z.array(assignedLicense).optional(), assignedPlans: z.array(assignedPlan).optional(), authorizationInfo: authorizationInfo.optional(), birthday: z.string().optional(), businessPhones: z.array(z.string()).optional(), city: z.string().nullable().optional(), companyName: z.string().nullable().optional(), consentProvidedForMinor: z.string().nullable().optional(), country: z.string().nullable().optional(), createdDateTime: z.string().nullable().optional(), creationType: z.string().nullable().optional(), customSecurityAttributes: customSecurityAttributeValue.optional(), department: z.string().nullable().optional(), deviceEnrollmentLimit: z.number().gte(-2147483648).lte(2147483647).optional(), displayName: z.string().nullable().optional(), employeeHireDate: z.string().nullable().optional(), employeeId: z.string().nullable().optional(), employeeLeaveDateTime: z.string().nullable().optional(), employeeOrgData: employeeOrgData.optional(), employeeType: z.string().nullable().optional(), externalUserState: z.string().nullable().optional(), externalUserStateChangeDateTime: z.string().nullable().optional(), faxNumber: z.string().nullable().optional(), givenName: z.string().nullable().optional(), hireDate: z.string().optional(), identities: z.array(objectIdentity).optional(), imAddresses: z.array(z.string().nullable()).optional(), interests: z.array(z.string().nullable()).optional(), isManagementRestricted: z.boolean().nullable().optional(), isResourceAccount: z.boolean().nullable().optional(), jobTitle: z.string().nullable().optional(), lastPasswordChangeDateTime: z.string().nullable().optional(), legalAgeGroupClassification: z.string().nullable().optional(), licenseAssignmentStates: z.array(licenseAssignmentState).optional(), mail: z.string().nullable().optional(), mailboxSettings: mailboxSettings.optional(), mailNickname: z.string().nullable().optional(), mobilePhone: z.string().nullable().optional(), mySite: z.string().nullable().optional(), officeLocation: z.string().nullable().optional(), onPremisesDistinguishedName: z.string().nullable().optional(), onPremisesDomainName: z.string().nullable().optional(), onPremisesExtensionAttributes: onPremisesExtensionAttributes.optional(), onPremisesImmutableId: z.string().nullable().optional(), onPremisesLastSyncDateTime: z.string().nullable().optional(), onPremisesProvisioningErrors: z.array(onPremisesProvisioningError).optional(), onPremisesSamAccountName: z.string().nullable().optional(), onPremisesSecurityIdentifier: z.string().nullable().optional(), onPremisesSyncEnabled: z.boolean().nullable().optional(), onPremisesUserPrincipalName: z.string().nullable().optional(), otherMails: z.array(z.string()).optional(), passwordPolicies: z.string().nullable().optional(), passwordProfile: passwordProfile.optional(), pastProjects: z.array(z.string().nullable()).optional(), postalCode: z.string().nullable().optional(), preferredDataLocation: z.string().nullable().optional(), preferredLanguage: z.string().nullable().optional(), preferredName: z.string().nullable().optional(), print: userPrint.optional(), provisionedPlans: z.array(provisionedPlan).optional(), proxyAddresses: z.array(z.string()).optional(), responsibilities: z.array(z.string().nullable()).optional(), schools: z.array(z.string().nullable()).optional(), securityIdentifier: z.string().nullable().optional(), serviceProvisioningErrors: z.array(serviceProvisioningError).optional(), showInAddressList: z.boolean().nullable().optional(), signInActivity: signInActivity.optional(), signInSessionsValidFromDateTime: z.string().nullable().optional(), skills: z.array(z.string().nullable()).optional(), state: z.string().nullable().optional(), streetAddress: z.string().nullable().optional(), surname: z.string().nullable().optional(), usageLocation: z.string().nullable().optional(), userPrincipalName: z.string().nullable().optional(), userType: z.string().nullable().optional(), activities: z.array(userActivity).optional(), agreementAcceptances: z.array(agreementAcceptance).optional(), appRoleAssignments: z.array(appRoleAssignment).optional(), authentication: authentication.optional(), calendar: calendar.optional(), calendarGroups: z.array(calendarGroup).optional(), calendars: z.array(calendar).optional(), calendarView: z.array(event).optional(), chats: z.array(chat).optional(), cloudClipboard: cloudClipboardRoot.optional(), contactFolders: z.array(contactFolder).optional(), contacts: z.array(contact).optional(), createdObjects: z.array(directoryObject).optional(), dataSecurityAndGovernance: userDataSecurityAndGovernance.optional(), deviceManagementTroubleshootingEvents: z.array(deviceManagementTroubleshootingEvent).optional(), directReports: z.array(directoryObject).optional(), drive: drive.optional(), drives: z.array(drive).optional(), employeeExperience: employeeExperienceUser.optional(), events: z.array(event).optional(), extensions: z.array(extension).optional(), followedSites: z.array(site).optional(), inferenceClassification: inferenceClassification.optional(), insights: itemInsights.optional(), joinedTeams: z.array(team).optional(), licenseDetails: z.array(licenseDetails).optional(), mailFolders: z.array(mailFolder).optional(), managedAppRegistrations: z.array(managedAppRegistration).optional(), managedDevices: z.array(managedDevice).optional(), manager: directoryObject.optional(), memberOf: z.array(directoryObject).optional(), messages: z.array(message).optional(), oauth2PermissionGrants: z.array(oAuth2PermissionGrant).optional(), onenote: onenote.optional(), onlineMeetings: z.array(onlineMeeting).optional(), outlook: outlookUser.optional(), ownedDevices: z.array(directoryObject).optional(), ownedObjects: z.array(directoryObject).optional(), people: z.array(person).optional(), permissionGrants: z.array(resourceSpecificPermissionGrant).optional(), photo: profilePhoto.optional(), photos: z.array(profilePhoto).optional(), planner: plannerUser.optional(), presence: presence.optional(), registeredDevices: z.array(directoryObject).optional(), scopedRoleMemberOf: z.array(scopedRoleMembership).optional(), settings: userSettings.optional(), solutions: userSolutionRoot.optional(), sponsors: z.array(directoryObject).optional(), teamwork: userTeamwork.optional(), todo: todo.optional(), transitiveMemberOf: z.array(directoryObject).optional()}).and(z.record(z.string(), z.unknown())); export const audio = z.object({album: z.string().nullable().optional(), albumArtist: z.string().nullable().optional(), artist: z.string().nullable().optional(), bitrate: z.number().nullable().optional(), composers: z.string().nullable().optional(), copyright: z.string().nullable().optional(), disc: z.number().gte(-32768).lte(32767).nullable().optional(), discCount: z.number().gte(-32768).lte(32767).nullable().optional(), duration: z.number().nullable().optional(), genre: z.string().nullable().optional(), hasDrm: z.boolean().nullable().optional(), isVariableBitrate: z.boolean().nullable().optional(), title: z.string().nullable().optional(), track: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), trackCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), year: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const album = z.object({coverImageItemId: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const bundle = z.object({album: album.optional(), childCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const deleted = z.object({state: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const hashes = z.object({crc32Hash: z.string().nullable().optional(), quickXorHash: z.string().nullable().optional(), sha1Hash: z.string().nullable().optional(), sha256Hash: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const file = z.object({hashes: hashes.optional(), mimeType: z.string().nullable().optional(), processingMetadata: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const fileSystemInfo = z.object({createdDateTime: z.string().nullable().optional(), lastAccessedDateTime: z.string().nullable().optional(), lastModifiedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const folderView = z.object({sortBy: z.string().nullable().optional(), sortOrder: z.string().nullable().optional(), viewType: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const folder = z.object({childCount: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), view: folderView.optional()}).and(z.record(z.string(), z.unknown())); export const image = z.object({height: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), width: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const malware = z.object({description: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const package = z.object({type: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const pendingContentUpdate = z.object({queuedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const pendingOperations = z.object({pendingContentUpdate: pendingContentUpdate.optional()}).and(z.record(z.string(), z.unknown())); export const photo = z.object({cameraMake: z.string().nullable().optional(), cameraModel: z.string().nullable().optional(), exposureDenominator: z.number().nullable().optional(), exposureNumerator: z.number().nullable().optional(), fNumber: z.number().nullable().optional(), focalLength: z.number().nullable().optional(), iso: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), orientation: z.number().gte(-32768).lte(32767).nullable().optional(), takenDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const shared = z.object({owner: identitySet.optional(), scope: z.string().nullable().optional(), sharedBy: identitySet.optional(), sharedDateTime: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const specialFolder = z.object({name: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const video = z.object({audioBitsPerSample: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), audioChannels: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), audioFormat: z.string().nullable().optional(), audioSamplesPerSecond: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), bitrate: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), duration: z.number().nullable().optional(), fourCC: z.string().nullable().optional(), frameRate: z.number().nullable().optional(), height: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), width: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const remoteItem = z.object({createdBy: identitySet.optional(), createdDateTime: z.string().nullable().optional(), file: file.optional(), fileSystemInfo: fileSystemInfo.optional(), folder: folder.optional(), id: z.string().nullable().optional(), image: image.optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), name: z.string().nullable().optional(), package: package.optional(), parentReference: itemReference.optional(), shared: shared.optional(), sharepointIds: sharepointIds.optional(), size: z.number().nullable().optional(), specialFolder: specialFolder.optional(), video: video.optional(), webDavUrl: z.string().nullable().optional(), webUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const searchResult = z.object({onClickTelemetryUrl: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const securityBehaviorDuringRetentionPeriod = z.enum(["doNotRetain", "retain", "retainAsRecord", "retainAsRegulatoryRecord", "unknownFutureValue"]); export const retentionLabelSettings = z.object({behaviorDuringRetentionPeriod: securityBehaviorDuringRetentionPeriod.optional(), isContentUpdateAllowed: z.boolean().nullable().optional(), isDeleteAllowed: z.boolean().nullable().optional(), isLabelUpdateAllowed: z.boolean().nullable().optional(), isMetadataUpdateAllowed: z.boolean().nullable().optional(), isRecordLocked: z.boolean().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const itemRetentionLabel = z.object({id: z.string().optional(), isLabelAppliedExplicitly: z.boolean().nullable().optional(), labelAppliedBy: identitySet.optional(), labelAppliedDateTime: z.string().nullable().optional(), name: z.string().nullable().optional(), retentionSettings: retentionLabelSettings.optional()}).and(z.record(z.string(), z.unknown())); export const thumbnail = z.object({content: z.string().nullable().optional(), height: z.number().gte(-2147483648).lte(2147483647).nullable().optional(), sourceItemId: z.string().nullable().optional(), url: z.string().nullable().optional(), width: z.number().gte(-2147483648).lte(2147483647).nullable().optional()}).and(z.record(z.string(), z.unknown())); export const thumbnailSet = z.object({id: z.string().optional(), large: thumbnail.optional(), medium: thumbnail.optional(), small: thumbnail.optional(), source: thumbnail.optional()}).and(z.record(z.string(), z.unknown())); export const driveItemVersion = z.object({id: z.string().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().nullable().optional(), publication: publicationFacet.optional(), content: z.string().nullable().optional(), size: z.number().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const workbookApplication = z.object({id: z.string().optional(), calculationMode: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookCommentReply = z.object({id: z.string().optional(), content: z.string().nullable().optional(), contentType: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookComment = z.object({id: z.string().optional(), content: z.string().nullable().optional(), contentType: z.string().optional(), replies: z.array(workbookCommentReply).optional()}).and(z.record(z.string(), z.unknown())); export const workbookFunctions = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartFont = z.object({id: z.string().optional(), bold: z.boolean().nullable().optional(), color: z.string().nullable().optional(), italic: z.boolean().nullable().optional(), name: z.string().nullable().optional(), size: z.number().nullable().optional(), underline: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartLineFormat = z.object({id: z.string().optional(), color: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAxisFormat = z.object({id: z.string().optional(), font: workbookChartFont.optional(), line: workbookChartLineFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartGridlinesFormat = z.object({id: z.string().optional(), line: workbookChartLineFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartGridlines = z.object({id: z.string().optional(), visible: z.boolean().optional(), format: workbookChartGridlinesFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAxisTitleFormat = z.object({id: z.string().optional(), font: workbookChartFont.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAxisTitle = z.object({id: z.string().optional(), text: z.string().nullable().optional(), visible: z.boolean().optional(), format: workbookChartAxisTitleFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAxis = z.object({id: z.string().optional(), majorUnit: json.optional(), maximum: json.optional(), minimum: json.optional(), minorUnit: json.optional(), format: workbookChartAxisFormat.optional(), majorGridlines: workbookChartGridlines.optional(), minorGridlines: workbookChartGridlines.optional(), title: workbookChartAxisTitle.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAxes = z.object({id: z.string().optional(), categoryAxis: workbookChartAxis.optional(), seriesAxis: workbookChartAxis.optional(), valueAxis: workbookChartAxis.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartFill = z.object({id: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartDataLabelFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional(), font: workbookChartFont.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartDataLabels = z.object({id: z.string().optional(), position: z.string().nullable().optional(), separator: z.string().nullable().optional(), showBubbleSize: z.boolean().nullable().optional(), showCategoryName: z.boolean().nullable().optional(), showLegendKey: z.boolean().nullable().optional(), showPercentage: z.boolean().nullable().optional(), showSeriesName: z.boolean().nullable().optional(), showValue: z.boolean().nullable().optional(), format: workbookChartDataLabelFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartAreaFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional(), font: workbookChartFont.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartLegendFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional(), font: workbookChartFont.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartLegend = z.object({id: z.string().optional(), overlay: z.boolean().nullable().optional(), position: z.string().nullable().optional(), visible: z.boolean().optional(), format: workbookChartLegendFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartSeriesFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional(), line: workbookChartLineFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartPointFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartPoint = z.object({id: z.string().optional(), value: json.optional(), format: workbookChartPointFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartSeries = z.object({id: z.string().optional(), name: z.string().nullable().optional(), format: workbookChartSeriesFormat.optional(), points: z.array(workbookChartPoint).optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartTitleFormat = z.object({id: z.string().optional(), fill: workbookChartFill.optional(), font: workbookChartFont.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChartTitle = z.object({id: z.string().optional(), overlay: z.boolean().nullable().optional(), text: z.string().nullable().optional(), visible: z.boolean().optional(), format: workbookChartTitleFormat.optional()}).and(z.record(z.string(), z.unknown())); export const workbookChart = z.object({id: z.string().optional(), height: z.number().nullable().optional(), left: z.number().nullable().optional(), name: z.string().nullable().optional(), top: z.number().nullable().optional(), width: z.number().nullable().optional(), axes: workbookChartAxes.optional(), dataLabels: workbookChartDataLabels.optional(), format: workbookChartAreaFormat.optional(), legend: workbookChartLegend.optional(), series: z.array(workbookChartSeries).optional(), title: workbookChartTitle.optional(), worksheet: z.lazy(() => workbookWorksheet.optional())}).and(z.record(z.string(), z.unknown())); export const workbookPivotTable = z.object({id: z.string().optional(), name: z.string().nullable().optional(), worksheet: z.lazy(() => workbookWorksheet.optional())}).and(z.record(z.string(), z.unknown())); export const workbookWorksheetProtectionOptions = z.object({allowAutoFilter: z.boolean().optional(), allowDeleteColumns: z.boolean().optional(), allowDeleteRows: z.boolean().optional(), allowFormatCells: z.boolean().optional(), allowFormatColumns: z.boolean().optional(), allowFormatRows: z.boolean().optional(), allowInsertColumns: z.boolean().optional(), allowInsertHyperlinks: z.boolean().optional(), allowInsertRows: z.boolean().optional(), allowPivotTables: z.boolean().optional(), allowSort: z.boolean().optional()}).and(z.record(z.string(), z.unknown())); export const workbookWorksheetProtection = z.object({id: z.string().optional(), options: workbookWorksheetProtectionOptions.optional(), protected: z.boolean().optional()}).and(z.record(z.string(), z.unknown())); export const workbookIcon = z.object({index: z.number().gte(-2147483648).lte(2147483647).optional(), set: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookFilterCriteria = z.object({color: z.string().nullable().optional(), criterion1: z.string().nullable().optional(), criterion2: z.string().nullable().optional(), dynamicCriteria: z.string().optional(), filterOn: z.string().optional(), icon: workbookIcon.optional(), operator: z.string().optional(), values: json.optional()}).and(z.record(z.string(), z.unknown())); export const workbookFilter = z.object({id: z.string().optional(), criteria: workbookFilterCriteria.optional()}).and(z.record(z.string(), z.unknown())); export const workbookTableColumn = z.object({id: z.string().optional(), index: z.number().gte(-2147483648).lte(2147483647).optional(), name: z.string().nullable().optional(), values: json.optional(), filter: workbookFilter.optional()}).and(z.record(z.string(), z.unknown())); export const workbookTableRow = z.object({id: z.string().optional(), index: z.number().gte(-2147483648).lte(2147483647).optional(), values: json.optional()}).and(z.record(z.string(), z.unknown())); export const workbookSortField = z.object({ascending: z.boolean().optional(), color: z.string().nullable().optional(), dataOption: z.string().optional(), icon: workbookIcon.optional(), key: z.number().gte(-2147483648).lte(2147483647).optional(), sortOn: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookTableSort = z.object({id: z.string().optional(), fields: z.array(workbookSortField).optional(), matchCase: z.boolean().optional(), method: z.string().optional()}).and(z.record(z.string(), z.unknown())); export const workbookTable = z.object({id: z.string().optional(), highlightFirstColumn: z.boolean().optional(), highlightLastColumn: z.boolean().optional(), legacyId: z.string().nullable().optional(), name: z.string().nullable().optional(), showBandedColumns: z.boolean().optional(), showBandedRows: z.boolean().optional(), showFilterButton: z.boolean().optional(), showHeaders: z.boolean().optional(), showTotals: z.boolean().optional(), style: z.string().nullable().optional(), columns: z.array(workbookTableColumn).optional(), rows: z.array(workbookTableRow).optional(), sort: workbookTableSort.optional(), worksheet: z.lazy(() => workbookWorksheet.optional())}).and(z.record(z.string(), z.unknown())); export const workbookWorksheet: z.ZodType = z.object({id: z.string().optional(), name: z.string().nullable().optional(), position: z.number().gte(-2147483648).lte(2147483647).optional(), visibility: z.string().optional(), charts: z.array(workbookChart).optional(), names: z.array(z.lazy(() => workbookNamedItem)).optional(), pivotTables: z.array(workbookPivotTable).optional(), protection: workbookWorksheetProtection.optional(), tables: z.array(workbookTable).optional()}).and(z.record(z.string(), z.unknown())); export const workbookNamedItem: z.ZodType = z.object({id: z.string().optional(), comment: z.string().nullable().optional(), name: z.string().nullable().optional(), scope: z.string().optional(), type: z.string().nullable().optional(), value: json.optional(), visible: z.boolean().optional(), worksheet: workbookWorksheet.optional()}).and(z.record(z.string(), z.unknown())); export const workbookOperationError: z.ZodType = z.object({code: z.string().nullable().optional(), innerError: z.lazy(() => workbookOperationError.optional()), message: z.string().nullable().optional()}).and(z.record(z.string(), z.unknown())); export const workbookOperationStatus = z.enum(["notStarted", "running", "succeeded", "failed"]); export const workbookOperation = z.object({id: z.string().optional(), error: workbookOperationError.optional(), resourceLocation: z.string().nullable().optional(), status: workbookOperationStatus.optional()}).and(z.record(z.string(), z.unknown())); export const workbook = z.object({id: z.string().optional(), application: workbookApplication.optional(), comments: z.array(workbookComment).optional(), functions: workbookFunctions.optional(), names: z.array(workbookNamedItem).optional(), operations: z.array(workbookOperation).optional(), tables: z.array(workbookTable).optional(), worksheets: z.array(workbookWorksheet).optional()}).and(z.record(z.string(), z.unknown())); export const driveItem: z.ZodType = z.object({id: z.string().optional(), createdBy: identitySet.optional(), createdDateTime: z.string().optional(), description: z.string().nullable().optional(), eTag: z.string().nullable().optional(), lastModifiedBy: identitySet.optional(), lastModifiedDateTime: z.string().optional(), name: z.string().nullable().optional(), parentReference: itemReference.optional(), webUrl: z.string().nullable().optional(), createdByUser: user.optional(), lastModifiedByUser: user.optional(), audio: audio.optional(), bundle: bundle.optional(), content: z.string().nullable().optional(), cTag: z.string().nullable().optional(), deleted: deleted.optional(), file: file.optional(), fileSystemInfo: fileSystemInfo.optional(), folder: folder.optional(), image: image.optional(), location: geoCoordinates.optional(), malware: malware.optional(), package: package.optional(), pendingOperations: pendingOperations.optional(), photo: photo.optional(), publication: publicationFacet.optional(), remoteItem: remoteItem.optional(), root: root.optional(), searchResult: searchResult.optional(), shared: shared.optional(), sharepointIds: sharepointIds.optional(), size: z.number().nullable().optional(), specialFolder: specialFolder.optional(), video: video.optional(), webDavUrl: z.string().nullable().optional(), analytics: itemAnalytics.optional(), children: z.array(z.lazy(() => driveItem)).optional(), listItem: listItem.optional(), permissions: z.array(permission).optional(), retentionLabel: itemRetentionLabel.optional(), subscriptions: z.array(subscription).optional(), thumbnails: z.array(thumbnailSet).optional(), versions: z.array(driveItemVersion).optional(), workbook: workbook.optional()}).and(z.record(z.string(), z.unknown())); export const validateResponse = async ( schema: { readonly '~standard': { readonly validate: (value: unknown) => ({ readonly value: Output; readonly issues?: undefined } | { readonly issues: ReadonlyArray<{ readonly message: string; readonly path?: ReadonlyArray | undefined }> }) | Promise<{ readonly value: Output; readonly issues?: undefined } | { readonly issues: ReadonlyArray<{ readonly message: string; readonly path?: ReadonlyArray | undefined }> }> } }, value: unknown ): Promise => { const result = await schema['~standard'].validate(value) if (result.issues !== undefined) { const detail = result.issues .map(({ message, path }) => path?.length ? `${path.map((segment) => String(typeof segment === 'object' ? segment.key : segment)).join('.')}: ${message}` : message ) .join('; ') throw new Error(`Response does not match the schema: ${detail}`, { cause: { issues: result.issues } }) } return result.value }; /** * Update the navigation property root in drives * * PATCH /drives/{driveId}/root:{pathToItem} */ export const patchApiDrivesDriveIdRootPathToItem = async (args: PatchApiDrivesDriveIdRootPathToItemArgs, options?: PatchApiDrivesDriveIdRootPathToItemOptions) => { const {baseUrl = "https://graph.microsoft.com/v1.0", fetch: fetchFn = fetch, azureaadv2} = options ?? {} const query = new URLSearchParams() const headers = new Headers() headers.set('content-type', "application/json") headers.set('accept', "application/json") if (azureaadv2 !== undefined) headers.set('authorization', `Bearer ${azureaadv2}`) const url = `${baseUrl.replace(/\/+$/, '')}/drives/${encodeURIComponent(String(args.driveId))}/root:${encodeURIComponent(String(args.pathToItem))}${query.size > 0 ? `?${query}` : ''}` const res = await fetchFn(url, {method: "PATCH", headers, body: JSON.stringify(args.body)}) if (!res.ok) throw new Error(`Request failed with status ${res.status}`, {cause: {status: res.status, body: await res.text()}}) return validateResponse(driveItem, await res.json()) };