@microsoft/typespec-msgraph-reference 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,12 @@ namespace reference.`microsoft.graph` {
15
15
  type: string;
16
16
  }
17
17
 
18
+ @complex model allAllowedScopes extends inheritableScopes {
19
+ }
20
+
21
+ @complex model allDeviceRegistrationMembership extends deviceRegistrationMembership {
22
+ }
23
+
18
24
  @complex model alternativeSecurityId {
19
25
  identityProvider: string | null;
20
26
  key: binary | null;
@@ -30,6 +36,7 @@ namespace reference.`microsoft.graph` {
30
36
  }
31
37
 
32
38
  @complex model appManagementApplicationConfiguration extends appManagementConfiguration {
39
+ identifierUris: identifierUriConfiguration | null;
33
40
  }
34
41
 
35
42
  @abstract
@@ -38,6 +45,10 @@ namespace reference.`microsoft.graph` {
38
45
 
39
46
  }
40
47
 
48
+ @complex model appManagementPolicyActorExemptions {
49
+ customSecurityAttributes: customSecurityAttributeExemption[] | null;
50
+ }
51
+
41
52
  @complex model appManagementServicePrincipalConfiguration extends appManagementConfiguration {
42
53
  }
43
54
 
@@ -72,6 +83,17 @@ namespace reference.`microsoft.graph` {
72
83
  certificateUserIds: string[] | null;
73
84
  }
74
85
 
86
+ @complex model azureADJoinPolicy {
87
+ allowedToJoin: deviceRegistrationMembership | null;
88
+ isAdminConfigurable: boolean | null;
89
+ localAdmins: localAdminSettings | null;
90
+ }
91
+
92
+ @complex model azureADRegistrationPolicy {
93
+ allowedToRegister: deviceRegistrationMembership | null;
94
+ isAdminConfigurable: boolean | null;
95
+ }
96
+
75
97
  @complex model certificateAuthority {
76
98
  certificate: binary;
77
99
  certificateRevocationListUrl: string | null;
@@ -117,7 +139,22 @@ namespace reference.`microsoft.graph` {
117
139
  isSyncAllowed: boolean | null;
118
140
  }
119
141
 
142
+ @complex model customAppManagementApplicationConfiguration {
143
+ identifierUris: identifierUriConfiguration | null;
144
+ }
145
+
120
146
  @complex model customAppManagementConfiguration extends appManagementConfiguration {
147
+ applicationRestrictions: customAppManagementApplicationConfiguration | null;
148
+ }
149
+
150
+ @abstract
151
+ @complex model customSecurityAttributeExemption {
152
+ id: string;
153
+ operator: customSecurityAttributeComparisonOperator;
154
+ }
155
+
156
+ @complex model customSecurityAttributeStringValueExemption extends customSecurityAttributeExemption {
157
+ value: string | null;
121
158
  }
122
159
 
123
160
  @open
@@ -136,6 +173,16 @@ namespace reference.`microsoft.graph` {
136
173
  permissionGrantPoliciesAssigned: string[] | null;
137
174
  }
138
175
 
176
+ @complex model deviceLocalCredential {
177
+ accountName: string;
178
+ accountSid: string;
179
+ backupDateTime: offsetDateTime;
180
+ passwordBase64: string;
181
+ }
182
+
183
+ @complex model deviceRegistrationMembership {
184
+ }
185
+
139
186
  @complex model domainState {
140
187
  @computed lastActionDateTime: offsetDateTime | null;
141
188
  operation: string | null;
@@ -147,11 +194,34 @@ namespace reference.`microsoft.graph` {
147
194
  division: string | null;
148
195
  }
149
196
 
197
+ @complex model enumeratedDeviceRegistrationMembership extends deviceRegistrationMembership {
198
+ groups: string[] | null;
199
+ users: string[] | null;
200
+ }
201
+
202
+ @complex model enumeratedScopes extends inheritableScopes {
203
+ scopes: string[];
204
+ }
205
+
150
206
  @complex model extensionSchemaProperty {
151
207
  name: string | null;
152
208
  type: string | null;
153
209
  }
154
210
 
211
+ @complex model identifierUriConfiguration {
212
+ nonDefaultUriAddition: identifierUriRestriction | null;
213
+ uriAdditionWithoutUniqueTenantIdentifier: identifierUriRestriction | null;
214
+ }
215
+
216
+ @complex model identifierUriRestriction {
217
+ excludeActors: appManagementPolicyActorExemptions | null;
218
+ excludeAppsReceivingV2Tokens: boolean | null;
219
+ excludeSaml: boolean | null;
220
+ isStateSetByMicrosoft: boolean;
221
+ restrictForAppsCreatedAfterDateTime: offsetDateTime | null;
222
+ state: appManagementRestrictionState;
223
+ }
224
+
155
225
  @open
156
226
  @complex model identity {
157
227
  displayName: string | null;
@@ -176,6 +246,11 @@ namespace reference.`microsoft.graph` {
176
246
  termsOfServiceUrl: string | null;
177
247
  }
178
248
 
249
+ @abstract
250
+ @complex model inheritableScopes {
251
+ kind: scopeCollectionKind;
252
+ }
253
+
179
254
  @complex model instanceResourceAccess {
180
255
  permissions: resourcePermission[];
181
256
  resourceAppId: string;
@@ -222,6 +297,15 @@ namespace reference.`microsoft.graph` {
222
297
  warning: int32 | null;
223
298
  }
224
299
 
300
+ @complex model localAdminPasswordSettings {
301
+ isEnabled: boolean | null;
302
+ }
303
+
304
+ @complex model localAdminSettings {
305
+ enableGlobalAdmins: boolean | null;
306
+ registeringUsers: deviceRegistrationMembership | null;
307
+ }
308
+
225
309
  @complex model loginPageLayoutConfiguration {
226
310
  isFooterShown: boolean | null;
227
311
  isHeaderShown: boolean | null;
@@ -237,6 +321,12 @@ namespace reference.`microsoft.graph` {
237
321
  hideTermsOfUse: boolean | null;
238
322
  }
239
323
 
324
+ @complex model noDeviceRegistrationMembership extends deviceRegistrationMembership {
325
+ }
326
+
327
+ @complex model noScopes extends inheritableScopes {
328
+ }
329
+
240
330
  @complex model objectIdentity {
241
331
  issuer: string | null;
242
332
  issuerAssignedId: string | null;
@@ -492,6 +582,28 @@ namespace reference.`microsoft.graph` {
492
582
  @contains scopedRoleMembers: scopedRoleMembership[];
493
583
  }
494
584
 
585
+ @open
586
+ @entity model agentIdentity extends servicePrincipal {
587
+ agentIdentityBlueprintId: string;
588
+ @computed createdDateTime: offsetDateTime | null;
589
+ @references sponsors: directoryObject[];
590
+ }
591
+
592
+ @open
593
+ @entity model agentIdentityBlueprint extends application {
594
+ @contains inheritablePermissions: inheritablePermission[];
595
+ @references sponsors: directoryObject[];
596
+ }
597
+
598
+ @open
599
+ @entity model agentIdentityBlueprintPrincipal extends servicePrincipal {
600
+ @references sponsors: directoryObject[];
601
+ }
602
+
603
+ @open
604
+ @entity model agentUser extends user {
605
+ }
606
+
495
607
  @entity model allowedValue extends entity {
496
608
  isActive: boolean | null;
497
609
  }
@@ -503,6 +615,7 @@ namespace reference.`microsoft.graph` {
503
615
  appId: string | null;
504
616
  applicationTemplateId: string | null;
505
617
  appRoles: appRole[];
618
+ createdByAppId: string | null;
506
619
  @computed createdDateTime: offsetDateTime | null;
507
620
  defaultRedirectUri: string | null;
508
621
  description: string | null;
@@ -512,9 +625,11 @@ namespace reference.`microsoft.graph` {
512
625
  identifierUris: string[];
513
626
  info: informationalUrl | null;
514
627
  isDeviceOnlyAuthSupported: boolean | null;
628
+ isDisabled: boolean | null;
515
629
  isFallbackPublicClient: boolean | null;
516
630
  keyCredentials: keyCredential[];
517
631
  logo: stream;
632
+ managerApplications: guid;
518
633
  notes: string | null;
519
634
  oauth2RequirePostResponse: boolean;
520
635
  optionalClaims: optionalClaims | null;
@@ -557,6 +672,10 @@ namespace reference.`microsoft.graph` {
557
672
  resourceId: guid | null;
558
673
  }
559
674
 
675
+ @entity model approvedClientApp extends entity {
676
+ displayName: string | null;
677
+ }
678
+
560
679
  @entity model appScope extends entity {
561
680
  displayName: string | null;
562
681
  type: string | null;
@@ -578,6 +697,17 @@ namespace reference.`microsoft.graph` {
578
697
  guestUserRoleId: guid | null;
579
698
  }
580
699
 
700
+ @entity model bitlocker extends entity {
701
+ @contains recoveryKeys: bitlockerRecoveryKey[];
702
+ }
703
+
704
+ @entity model bitlockerRecoveryKey extends entity {
705
+ @computed createdDateTime: offsetDateTime;
706
+ deviceId: string | null;
707
+ key: string;
708
+ volumeType: volumeType | null;
709
+ }
710
+
581
711
  @entity model certificateBasedAuthConfiguration extends entity {
582
712
  certificateAuthorities: certificateAuthority[];
583
713
  }
@@ -699,11 +829,29 @@ namespace reference.`microsoft.graph` {
699
829
  @references transitiveMemberOf: directoryObject[];
700
830
  }
701
831
 
832
+ @entity model deviceLocalCredentialInfo extends entity {
833
+ credentials: deviceLocalCredential[];
834
+ deviceName: string;
835
+ @computed lastBackupDateTime: offsetDateTime;
836
+ refreshDateTime: offsetDateTime;
837
+ }
838
+
839
+ @entity model deviceRegistrationPolicy extends entity {
840
+ azureADJoin: azureADJoinPolicy | null;
841
+ azureADRegistration: azureADRegistrationPolicy | null;
842
+ description: string | null;
843
+ displayName: string | null;
844
+ localAdminPassword: localAdminPasswordSettings | null;
845
+ multiFactorAuthConfiguration: multiFactorAuthConfiguration;
846
+ userDeviceQuota: int32;
847
+ }
848
+
702
849
  @entity model directory extends MsGraph.SharedModels.entity {
703
850
  @contains administrativeUnits: administrativeUnit[];
704
851
  @contains attributeSets: attributeSet[];
705
852
  @contains customSecurityAttributeDefinitions: customSecurityAttributeDefinition[];
706
853
  @contains deletedItems: directoryObject[];
854
+ @contains deviceLocalCredentials: deviceLocalCredentialInfo[];
707
855
  @contains federationConfigurations: identityProviderBase[];
708
856
  @contains onPremisesSynchronization: onPremisesDirectorySynchronization[];
709
857
  @contains subscriptions: companySubscription[];
@@ -839,6 +987,7 @@ namespace reference.`microsoft.graph` {
839
987
  expirationDateTime: offsetDateTime | null;
840
988
  groupTypes: string[];
841
989
  hasMembersWithLicenseErrors: boolean | null;
990
+ infoCatalogs: string[];
842
991
  isAssignableToRole: boolean | null;
843
992
  isManagementRestricted: boolean | null;
844
993
  licenseProcessingState: licenseProcessingState | null;
@@ -868,6 +1017,7 @@ namespace reference.`microsoft.graph` {
868
1017
  @contains appRoleAssignments: appRoleAssignment[];
869
1018
  @references createdOnBehalfOf: directoryObject | null;
870
1019
  @contains extensions: extension[];
1020
+ @contains groupLifecyclePolicies: groupLifecyclePolicy[];
871
1021
  @references memberOf: directoryObject[];
872
1022
  @references members: directoryObject[];
873
1023
  @references membersWithLicenseErrors: directoryObject[];
@@ -879,6 +1029,12 @@ namespace reference.`microsoft.graph` {
879
1029
  @references transitiveMembers: directoryObject[];
880
1030
  }
881
1031
 
1032
+ @entity model groupLifecyclePolicy extends entity {
1033
+ alternateNotificationEmails: string | null;
1034
+ groupLifetimeInDays: int32 | null;
1035
+ managedGroupTypes: string | null;
1036
+ }
1037
+
882
1038
  @open
883
1039
  @entity model groupSetting extends entity {
884
1040
  displayName: string | null;
@@ -901,6 +1057,15 @@ namespace reference.`microsoft.graph` {
901
1057
  displayName: string | null;
902
1058
  }
903
1059
 
1060
+ @entity model informationProtection extends MsGraph.SharedModels.entity {
1061
+ @contains bitlocker: bitlocker | null;
1062
+ }
1063
+
1064
+ @entity model inheritablePermission extends MsGraph.SharedModels.entity {
1065
+ inheritableScopes: inheritableScopes | null;
1066
+ @computed @key resourceAppId: string;
1067
+ }
1068
+
904
1069
  @entity model internalDomainFederation extends samlOrWsFedProvider {
905
1070
  activeSignInUri: string | null;
906
1071
  federatedIdpMfaBehavior: federatedIdpMfaBehavior | null;
@@ -1058,6 +1223,7 @@ namespace reference.`microsoft.graph` {
1058
1223
  @contains claimsMappingPolicies: claimsMappingPolicy[];
1059
1224
  @contains crossTenantAccessPolicy: crossTenantAccessPolicy | null;
1060
1225
  @contains defaultAppManagementPolicy: tenantAppManagementPolicy | null;
1226
+ @contains deviceRegistrationPolicy: deviceRegistrationPolicy | null;
1061
1227
  @contains homeRealmDiscoveryPolicies: homeRealmDiscoveryPolicy[];
1062
1228
  @contains permissionGrantPolicies: permissionGrantPolicy[];
1063
1229
  @contains tokenIssuancePolicies: tokenIssuancePolicy[];
@@ -1072,6 +1238,7 @@ namespace reference.`microsoft.graph` {
1072
1238
 
1073
1239
  @entity model remoteDesktopSecurityConfiguration extends entity {
1074
1240
  isRemoteDesktopProtocolEnabled: boolean;
1241
+ @contains approvedClientApps: approvedClientApp[];
1075
1242
  @contains targetDeviceGroups: targetDeviceGroup[];
1076
1243
  }
1077
1244
 
@@ -1126,12 +1293,14 @@ namespace reference.`microsoft.graph` {
1126
1293
  appOwnerOrganizationId: guid | null;
1127
1294
  appRoleAssignmentRequired: boolean;
1128
1295
  appRoles: appRole[];
1296
+ createdByAppId: string | null;
1129
1297
  customSecurityAttributes: customSecurityAttributeValue | null;
1130
1298
  description: string | null;
1131
1299
  disabledByMicrosoftStatus: string | null;
1132
1300
  displayName: string | null;
1133
1301
  homepage: string | null;
1134
1302
  info: informationalUrl | null;
1303
+ isDisabled: boolean | null;
1135
1304
  keyCredentials: keyCredential[];
1136
1305
  loginUrl: string | null;
1137
1306
  logoutUrl: string | null;
@@ -1271,6 +1440,7 @@ namespace reference.`microsoft.graph` {
1271
1440
  faxNumber: string | null;
1272
1441
  givenName: string | null;
1273
1442
  identities: objectIdentity[] | null;
1443
+ identityParentId: string | null;
1274
1444
  imAddresses: string[] | null;
1275
1445
  isManagementRestricted: boolean | null;
1276
1446
  isResourceAccount: boolean | null;
@@ -1348,6 +1518,12 @@ namespace reference.`microsoft.graph` {
1348
1518
  unknownFutureValue: 99,
1349
1519
  }
1350
1520
 
1521
+ enum appManagementRestrictionState {
1522
+ enabled: 1,
1523
+ disabled: 2,
1524
+ unknownFutureValue: 3,
1525
+ }
1526
+
1351
1527
  enum authenticationProtocol {
1352
1528
  wsFed: 0,
1353
1529
  saml: 1,
@@ -1377,6 +1553,11 @@ namespace reference.`microsoft.graph` {
1377
1553
  unknownFutureValue: 4,
1378
1554
  }
1379
1555
 
1556
+ enum customSecurityAttributeComparisonOperator {
1557
+ equals: 1,
1558
+ unknownFutureValue: 2,
1559
+ }
1560
+
1380
1561
  enum federatedIdpMfaBehavior {
1381
1562
  acceptIfMfaDoneByFederatedIdp: 0,
1382
1563
  enforceMfaByFederatedIdp: 1,
@@ -1390,6 +1571,12 @@ namespace reference.`microsoft.graph` {
1390
1571
  unknownFutureValue: 10,
1391
1572
  }
1392
1573
 
1574
+ enum multiFactorAuthConfiguration {
1575
+ notRequired: 0,
1576
+ required: 1,
1577
+ unknownFutureValue: 2,
1578
+ }
1579
+
1393
1580
  enum onPremisesDirectorySynchronizationDeletionPreventionType {
1394
1581
  disabled: 0,
1395
1582
  enabledForCount: 1,
@@ -1442,6 +1629,21 @@ namespace reference.`microsoft.graph` {
1442
1629
  unknownFutureValue: 3,
1443
1630
  }
1444
1631
 
1632
+ enum scopeCollectionKind {
1633
+ allAllowed: 0,
1634
+ enumerated: 1,
1635
+ none: 2,
1636
+ scopeKindNotSet: 3,
1637
+ unknownFutureValue: 4,
1638
+ }
1639
+
1640
+ enum volumeType {
1641
+ operatingSystemVolume: 1,
1642
+ fixedDataVolume: 2,
1643
+ removableDataVolume: 3,
1644
+ unknownFutureValue: 4,
1645
+ }
1646
+
1445
1647
  @graphFlags
1446
1648
  enum weakAlgorithms {
1447
1649
  rsaSha1: 1,