Skip to content

Commit f1e82c3

Browse files
andrueastmanMicrosoft Graph DevX ToolingGeoffrey Koros
authored
Generated beta models and request builders (#119)
* Update generated files with build 120562 * increment version to 0.39.0-preview --------- Co-authored-by: Microsoft Graph DevX Tooling <[email protected]> Co-authored-by: Geoffrey Koros <[email protected]>
1 parent 88f515a commit f1e82c3

File tree

2 files changed

+63
-50
lines changed

2 files changed

+63
-50
lines changed

microsoft-graph.d.ts

Lines changed: 62 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ export type CloudPcOnPremisesConnectionStatus =
599599
| "passed"
600600
| "failed"
601601
| "warning"
602+
| "informational"
602603
| "unknownFutureValue";
603604
export type CloudPcOnPremisesConnectionType = "hybridAzureADJoin" | "azureADJoin" | "unknownFutureValue";
604605
export type CloudPcOperatingSystem = "windows10" | "windows11" | "unknownFutureValue";
@@ -655,7 +656,8 @@ export type CloudPcReportName =
655656
| "sharedUseLicenseUsageReport"
656657
| "sharedUseLicenseUsageRealTimeReport"
657658
| "unknownFutureValue"
658-
| "noLicenseAvailableConnectivityFailureReport";
659+
| "noLicenseAvailableConnectivityFailureReport"
660+
| "remoteConnectionQualityReports";
659661
export type CloudPcResizeValidationCode =
660662
| "success"
661663
| "cloudPcNotFound"
@@ -680,7 +682,8 @@ export type CloudPcStatus =
680682
| "pendingProvision"
681683
| "unknownFutureValue"
682684
| "movingRegion"
683-
| "resizePendingLicense";
685+
| "resizePendingLicense"
686+
| "updatingSingleSignOn";
684687
export type CloudPcSupportedRegionStatus = "available" | "restricted" | "unavailable" | "unknownFutureValue";
685688
export type CloudPcUserAccessLevel = "unrestricted" | "restricted" | "unknownFutureValue";
686689
export type CloudPcUserAccountType = "standardUser" | "administrator" | "unknownFutureValue";
@@ -6666,6 +6669,7 @@ export interface UserAnalytics extends Entity {
66666669
export interface CloudPC extends Entity {
66676670
// The Azure Active Directory (Azure AD) device ID of the Cloud PC.
66686671
aadDeviceId?: NullableOption<string>;
6672+
connectionSettings?: NullableOption<CloudPcConnectionSettings>;
66696673
/**
66706674
* The connectivity health check result of a Cloud PC, including the updated timestamp and whether the Cloud PC can be
66716675
* connected.
@@ -7947,7 +7951,7 @@ export interface Site extends BaseItem {
79477951
lists?: NullableOption<List[]>;
79487952
// The collection of long running operations for the site.
79497953
operations?: NullableOption<RichLongRunningOperation[]>;
7950-
// The collection of pages in the SitePages list in this site.
7954+
// The collection of pages in the baseSitePages list in this site.
79517955
pages?: NullableOption<SitePage[]>;
79527956
// The permissions associated with the site. Nullable.
79537957
permissions?: NullableOption<Permission[]>;
@@ -9230,14 +9234,15 @@ export interface DirectoryAudit extends Entity {
92309234
activityDateTime?: string;
92319235
/**
92329236
* Indicates the activity name or the operation name (E.g. 'Create User', 'Add member to group'). For a list of activities
9233-
* logged, refer to Azure Ad activity list.
9237+
* logged, refer to Azure AD audit log categories and activities.
92349238
*/
92359239
activityDisplayName?: string;
92369240
// Indicates additional details on the activity.
92379241
additionalDetails?: NullableOption<KeyValue[]>;
92389242
/**
92399243
* Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement,
9240-
* ApplicationManagement, RoleManagement.
9244+
* ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log
9245+
* categories and activities.
92419246
*/
92429247
category?: string;
92439248
/**
@@ -9964,10 +9969,14 @@ export interface SharedEmailDomain extends Entity {
99649969
provisioningStatus?: NullableOption<string>;
99659970
}
99669971
export interface CompanySubscription extends Entity {
9972+
commerceSubscriptionId?: NullableOption<string>;
99679973
createdDateTime?: NullableOption<string>;
99689974
isTrial?: NullableOption<boolean>;
99699975
nextLifecycleDateTime?: NullableOption<string>;
99709976
ocpSubscriptionId?: NullableOption<string>;
9977+
ownerId?: NullableOption<string>;
9978+
ownerTenantId?: NullableOption<string>;
9979+
ownerType?: NullableOption<string>;
99719980
serviceStatus?: ServicePlanInfo[];
99729981
skuId?: NullableOption<string>;
99739982
skuPartNumber?: NullableOption<string>;
@@ -10143,6 +10152,8 @@ export interface PrintUsage extends Entity {
1014310152
}
1014410153
export interface PrintUsageByPrinter extends PrintUsage {
1014510154
printerId?: string;
10155+
// The name of the printer represented by these statistics.
10156+
printerName?: NullableOption<string>;
1014610157
}
1014710158
export interface PrintUsageByUser extends PrintUsage {
1014810159
// The UPN of the user represented by these statistics.
@@ -11598,6 +11609,11 @@ export interface CloudPcExternalPartnerSetting extends Entity {
1159811609
// Status details message.
1159911610
statusDetails?: NullableOption<string>;
1160011611
}
11612+
export interface CloudPcFrontLineServicePlan extends Entity {
11613+
displayName?: NullableOption<string>;
11614+
totalCount?: NullableOption<number>;
11615+
usedCount?: NullableOption<number>;
11616+
}
1160111617
export interface CloudPcGalleryImage extends Entity {
1160211618
// The official display name of the gallery image. Read-only.
1160311619
displayName?: NullableOption<string>;
@@ -11925,6 +11941,7 @@ export interface CloudPcUserSetting extends Entity {
1192511941
* the setting to true. If the local admin option is enabled, the end user can be an admin of the Cloud PC device.
1192611942
*/
1192711943
localAdminEnabled?: NullableOption<boolean>;
11944+
resetEnabled?: NullableOption<boolean>;
1192811945
/**
1192911946
* Defines how frequently a restore point is created that is, a snapshot is taken) for users' provisioned Cloud PCs
1193011947
* (default is 12 hours), and whether the user is allowed to restore their own Cloud PCs to a backup made at a specific
@@ -12356,6 +12373,7 @@ export interface VirtualEndpoint extends Entity {
1235612373
deviceImages?: NullableOption<CloudPcDeviceImage[]>;
1235712374
// The external partner settings on a Cloud PC.
1235812375
externalPartnerSettings?: NullableOption<CloudPcExternalPartnerSetting[]>;
12376+
frontLineServicePlans?: NullableOption<CloudPcFrontLineServicePlan[]>;
1235912377
// The gallery image resource on Cloud PC.
1236012378
galleryImages?: NullableOption<CloudPcGalleryImage[]>;
1236112379
/**
@@ -17629,16 +17647,13 @@ export interface RichLongRunningOperation extends LongRunningOperation {
1762917647
type?: NullableOption<string>;
1763017648
}
1763117649
export interface SitePage extends BaseItem {
17632-
// Inherited from baseItem.
1763317650
contentType?: NullableOption<ContentTypeInfo>;
17634-
// The name of the page layout of the page. The possible values are: microsoftReserved, article, home, unknownFutureValue.
1763517651
pageLayout?: NullableOption<PageLayoutType>;
1763617652
/**
1763717653
* Indicates the promotion kind of the sitePage. The possible values are: microsoftReserved, page, newsPost,
1763817654
* unknownFutureValue.
1763917655
*/
1764017656
promotionKind?: NullableOption<PagePromotionType>;
17641-
// The publishing status and the MM.mm version of the page.
1764217657
publishingState?: NullableOption<PublicationFacet>;
1764317658
// Reactions information for the page.
1764417659
reactions?: NullableOption<ReactionsFacet>;
@@ -17648,13 +17663,12 @@ export interface SitePage extends BaseItem {
1764817663
showRecommendedPages?: NullableOption<boolean>;
1764917664
// Url of the sitePage's thumbnail image
1765017665
thumbnailWebUrl?: NullableOption<string>;
17651-
// Title of the sitePage.
1765217666
title?: NullableOption<string>;
1765317667
// Title area on the SharePoint page.
1765417668
titleArea?: NullableOption<TitleArea>;
17655-
// Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical section
17669+
// Indicates the layout of the content in a given SharePoint page, including horizontal sections and vertical sections.
1765617670
canvasLayout?: NullableOption<CanvasLayout>;
17657-
// Collection of webparts on the SharePoint page
17671+
// Collection of webparts on the SharePoint page.
1765817672
webParts?: NullableOption<WebPart[]>;
1765917673
}
1766017674
export interface Permission extends Entity {
@@ -18392,7 +18406,7 @@ export interface Domain extends Entity {
1839218406
* Indicates the configured authentication type for the domain. The value is either Managed or Federated. Managed
1839318407
* indicates a cloud managed domain where Azure AD performs user authentication. Federated indicates authentication is
1839418408
* federated with an identity provider such as the tenant's on-premises Active Directory via Active Directory Federation
18395-
* Services. This property is read-only and is not nullable.
18409+
* Services. Not nullable.
1839618410
*/
1839718411
authenticationType?: string;
1839818412
/**
@@ -33789,19 +33803,19 @@ export interface DeviceManagementConfigurationSettingGroupCollectionDefinition e
3378933803
minimumCount?: number;
3379033804
}
3379133805
export interface DeviceManagementConfigurationSimpleSettingDefinition extends DeviceManagementConfigurationSettingDefinition {
33792-
// Default setting value for this setting.
33806+
// Default setting value for this setting
3379333807
defaultValue?: NullableOption<DeviceManagementConfigurationSettingValue>;
33794-
// list of child settings that depend on this setting.
33808+
// list of child settings that depend on this setting
3379533809
dependedOnBy?: NullableOption<DeviceManagementConfigurationSettingDependedOnBy[]>;
33796-
// list of parent settings this setting is dependent on.
33810+
// list of parent settings this setting is dependent on
3379733811
dependentOn?: NullableOption<DeviceManagementConfigurationDependentOn[]>;
33798-
// Definition of the value for this setting.
33812+
// Definition of the value for this setting
3379933813
valueDefinition?: NullableOption<DeviceManagementConfigurationSettingValueDefinition>;
3380033814
}
3380133815
export interface DeviceManagementConfigurationSimpleSettingCollectionDefinition extends DeviceManagementConfigurationSimpleSettingDefinition {
33802-
// Maximum number of simple settings in the collection
33816+
// Maximum number of simple settings in the collection. Valid values 1 to 100
3380333817
maximumCount?: number;
33804-
// Minimum number of simple settings in the collection
33818+
// Minimum number of simple settings in the collection. Valid values 1 to 100
3380533819
minimumCount?: number;
3380633820
}
3380733821
export interface DeviceComanagementAuthorityConfiguration extends DeviceEnrollmentConfiguration {
@@ -37490,8 +37504,8 @@ export interface UnifiedRoleManagementAlert extends Entity {
3749037504
*/
3749137505
alertDefinition?: NullableOption<UnifiedRoleManagementAlertDefinition>;
3749237506
/**
37493-
* Represents the incidents of this alert that have been triggered in Privileged Identity Management (PIM) for Azure AD
37494-
* roles in the tenant. Supports $expand.
37507+
* Represents the incidents of this type of alert that have been triggered in Privileged Identity Management (PIM) for
37508+
* Azure AD roles in the tenant. Supports $expand.
3749537509
*/
3749637510
alertIncidents?: NullableOption<UnifiedRoleManagementAlertIncident[]>;
3749737511
}
@@ -39436,19 +39450,21 @@ export interface EmailSettings {
3943639450
}
3943739451
// tslint:disable-next-line: interface-name
3943839452
export interface Identity {
39439-
/**
39440-
* The display name of the identity. Note that this might not always be available or up to date. For example, if a user
39441-
* changes their display name, the API might show the new value in a future response, but the items associated with the
39442-
* user won't show up as having changed when using delta.
39443-
*/
39453+
// The display name of the identity. This property is read-only.
3944439454
displayName?: NullableOption<string>;
39445-
// Unique identifier for the identity.
39455+
// The identifier of the identity. This property is read-only.
3944639456
id?: NullableOption<string>;
3944739457
}
3944839458
export interface KeyValuePair {
39449-
// Name for this key-value pair
39459+
/**
39460+
* Name for this key-value pair. For more information about possible names for each resource type that uses this
39461+
* configuration, see keyValuePair names and values.
39462+
*/
3945039463
name?: string;
39451-
// Value for this key-value pair
39464+
/**
39465+
* Value for this key-value pair. For more information about possible values for each resource type that uses this
39466+
* configuration, see keyValuePair names and values.
39467+
*/
3945239468
value?: NullableOption<string>;
3945339469
}
3945439470
export interface LogicAppTriggerEndpointConfiguration extends CustomExtensionEndpointConfiguration {
@@ -40343,9 +40359,9 @@ export interface Initiator extends Identity {
4034340359
initiatorType?: NullableOption<InitiatorType>;
4034440360
}
4034540361
export interface KeyValue {
40346-
// Contains the name of the field that a value is associated with.
40362+
// Key.
4034740363
key?: NullableOption<string>;
40348-
// Contains the corresponding value for the specified key.
40364+
// Value.
4034940365
value?: NullableOption<string>;
4035040366
}
4035140367
export interface LastSignIn {
@@ -41251,6 +41267,9 @@ export interface CloudPcBulkRemoteActionResult {
4125141267
// A list of all the Intune managed device IDs that completed the bulk action successfully.
4125241268
successfulDeviceIds?: NullableOption<string[]>;
4125341269
}
41270+
export interface CloudPcConnectionSettings {
41271+
enableSingleSignOn?: boolean;
41272+
}
4125441273
export interface CloudPcConnectivityEvent {
4125541274
/**
4125641275
* Indicates the date and time when this event was created. The timestamp is shown in ISO 8601 format and Coordinated
@@ -42996,13 +43015,10 @@ export interface CrossTenantAccessPolicyTenantRestrictions extends CrossTenantAc
4299643015
export interface DevicesFilter {
4299743016
/**
4299843017
* Determines whether devices satisfying the rule should be allowed or blocked.The possible values are: allowed, blocked,
42999-
* unknownFutureValue.Not implemented yet
43018+
* unknownFutureValue.
4300043019
*/
4300143020
mode?: NullableOption<CrossTenantAccessPolicyTargetConfigurationAccessType>;
43002-
/**
43003-
* Defines the rule to filter the devices. An example would be device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation'
43004-
* Not implemented yet
43005-
*/
43021+
// Defines the rule to filter the devices. For example, device.deviceAttribute2 -eq 'PrivilegedAccessWorkstation'.
4300643022
rule?: NullableOption<string>;
4300743023
}
4300843024
export interface CrossTenantUserSyncInbound {
@@ -48121,11 +48137,7 @@ export interface Win32LobAppReturnCode {
4812148137
type?: Win32LobAppReturnCodeType;
4812248138
}
4812348139
export interface WindowsAppXAppAssignmentSettings extends MobileAppAssignmentSettings {
48124-
/**
48125-
* When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that
48126-
* user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has
48127-
* been set to TRUE it cannot be changed.
48128-
*/
48140+
// Whether or not to use device execution context for Windows AppX mobile app.
4812948141
useDeviceContext?: boolean;
4813048142
}
4813148143
export interface WindowsMinimumOperatingSystem {
@@ -50481,17 +50493,13 @@ export interface DeviceManagementConfigurationSettingApplicability {
5048150493
// Device Mode that setting can be applied on. Possible values are: none, kiosk.
5048250494
deviceMode?: DeviceManagementConfigurationDeviceMode;
5048350495
/**
50484-
* Platform setting can be applied on. Posible values are: none, android, androidEnterprise, iOs, macOs, windows10X,
50485-
* windows10, aosp, and linux. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux,
50496+
* Platform setting can be applied on. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux,
5048650497
* unknownFutureValue.
5048750498
*/
5048850499
platform?: DeviceManagementConfigurationPlatforms;
5048950500
/**
50490-
* Which technology channels this setting can be deployed through. Posible values are: none, mdm, configManager,
50491-
* intuneManagementExtension, thirdParty, documentGateway, appleRemoteManagement, microsoftSense, exchangeOnline, edgeMam,
50492-
* linuxMdm, extensibility, enrollment, endpointPrivilegeManagement. Possible values are: none, mdm, windows10XManagement,
50493-
* configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm,
50494-
* enrollment, endpointPrivilegeManagement, unknownFutureValue.
50501+
* Which technology channels this setting can be deployed through. Possible values are: none, mdm, windows10XManagement,
50502+
* configManager, appleRemoteManagement, microsoftSense, exchangeOnline, linuxMdm, unknownFutureValue.
5049550503
*/
5049650504
technologies?: DeviceManagementConfigurationTechnologies;
5049750505
}
@@ -50691,7 +50699,7 @@ export interface DeviceManagementConfigurationReferenceSettingValue extends Devi
5069150699
note?: NullableOption<string>;
5069250700
}
5069350701
export interface DeviceManagementConfigurationReferredSettingInformation {
50694-
// Setting definition id that is being referred to a setting. Applicable for reusable setting
50702+
// Setting definition id that is being referred to a setting. Applicable for reusable setting.
5069550703
settingDefinitionId?: NullableOption<string>;
5069650704
}
5069750705
export interface DeviceManagementConfigurationSecretSettingValue extends DeviceManagementConfigurationSimpleSettingValue {
@@ -53268,6 +53276,8 @@ export interface ArchivedPrintJob {
5326853276
pageCount?: number;
5326953277
// The printer ID that the job was queued for. Read-only.
5327053278
printerId?: NullableOption<string>;
53279+
// The printer name that the job was queued for. Read-only.
53280+
printerName?: NullableOption<string>;
5327153281
// The print job's final processing state. Read-only.
5327253282
processingState?: PrintJobProcessingState;
5327353283
// The number of simplex (single-sided) pages that were printed. Read-only.
@@ -53989,7 +53999,9 @@ export interface CloudAppSecurityState {
5398953999
riskScore?: NullableOption<string>;
5399054000
}
5399154001
export interface ComplianceInformation {
54002+
// Collection of the certification controls associated with the certification.
5399254003
certificationControls?: NullableOption<CertificationControl[]>;
54004+
// The name of the compliance certification, for example, ISO 27018:2014, GDPR, FedRAMP, and NIST 800-171.
5399354005
certificationName?: NullableOption<string>;
5399454006
}
5399554007
export interface ControlScore {
@@ -56616,7 +56628,8 @@ export namespace DeviceManagementNamespace {
5661656628
| "cloudPcProvisionScenario"
5661756629
| "cloudPcImageUploadScenario"
5661856630
| "cloudPcOnPremiseNetworkConnectionCheckScenario"
56619-
| "unknownFutureValue";
56631+
| "unknownFutureValue"
56632+
| "cloudPcInGracePeriodScenario";
5662056633
type AlertStatusType = "active" | "resolved" | "unknownFutureValue";
5662156634
type NotificationChannelType = "portal" | "email" | "phoneCall" | "sms" | "unknownFutureValue";
5662256635
type OperatorType = "greaterOrEqual" | "equal" | "greater" | "less" | "lessOrEqual" | "notEqual" | "unknownFutureValue";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@microsoft/microsoft-graph-types-beta",
33
"description": "Beta version of Typings for Microsoft Graph objects",
4-
"version": "0.38.0-preview",
4+
"version": "0.39.0-preview",
55
"types": "microsoft-graph.d.ts",
66
"scripts": {
77
"test": "tsc && mocha spec/"

0 commit comments

Comments
 (0)