@microsoft/typespec-msgraph-reference 1.0.0

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.
@@ -0,0 +1,1450 @@
1
+ // Generated to target TypeSpec 1.5.0
2
+ // Generated to target TypeSpec.MsGraph Preview 1.0.0-preview.7
3
+ import "../../../dist/index.js";
4
+ import "@microsoft/typespec-msgraph";
5
+ using MsGraph;
6
+
7
+ scalar binary; //TODO: Enables support for Edm.Binary
8
+
9
+
10
+ @publicNamespace("microsoft.graph")
11
+ namespace reference.`microsoft.graph` {
12
+ @complex model addIn {
13
+ id: guid | null;
14
+ properties: keyValue[];
15
+ type: string;
16
+ }
17
+
18
+ @complex model alternativeSecurityId {
19
+ identityProvider: string | null;
20
+ key: binary | null;
21
+ type: int32 | null;
22
+ }
23
+
24
+ @complex model apiApplication {
25
+ acceptMappedClaims: boolean | null;
26
+ knownClientApplications: guid | null;
27
+ oauth2PermissionScopes: permissionScope[];
28
+ preAuthorizedApplications: preAuthorizedApplication[] | null;
29
+ requestedAccessTokenVersion: int32 | null;
30
+ }
31
+
32
+ @complex model appManagementApplicationConfiguration extends appManagementConfiguration {
33
+ }
34
+
35
+ @abstract
36
+ @complex model appManagementConfiguration {
37
+
38
+
39
+ }
40
+
41
+ @complex model appManagementServicePrincipalConfiguration extends appManagementConfiguration {
42
+ }
43
+
44
+ @complex model appRole {
45
+ allowedMemberTypes: string[];
46
+ description: string | null;
47
+ displayName: string | null;
48
+ id: guid;
49
+ isEnabled: boolean;
50
+ origin: string | null;
51
+ value: string | null;
52
+ }
53
+
54
+ @complex model assignedLabel {
55
+ displayName: string | null;
56
+ labelId: string | null;
57
+ }
58
+
59
+ @complex model assignedLicense {
60
+ disabledPlans: guid;
61
+ skuId: guid | null;
62
+ }
63
+
64
+ @complex model assignedPlan {
65
+ assignedDateTime: offsetDateTime | null;
66
+ capabilityStatus: string | null;
67
+ service: string | null;
68
+ servicePlanId: guid | null;
69
+ }
70
+
71
+ @complex model authorizationInfo {
72
+ certificateUserIds: string[] | null;
73
+ }
74
+
75
+ @complex model certificateAuthority {
76
+ certificate: binary;
77
+ certificateRevocationListUrl: string | null;
78
+ deltaCertificateRevocationListUrl: string | null;
79
+ isRootAuthority: boolean;
80
+ issuer: string;
81
+ issuerSki: string;
82
+ }
83
+
84
+ @open
85
+ @complex model ComplexExtensionValue {
86
+ }
87
+
88
+ @complex model contentCustomization {
89
+ attributeCollection: keyValue[];
90
+ attributeCollectionRelativeUrl: string | null;
91
+ registrationCampaign: keyValue[];
92
+ registrationCampaignRelativeUrl: string | null;
93
+ }
94
+
95
+ @complex model crossTenantAccessPolicyB2BSetting {
96
+ applications: crossTenantAccessPolicyTargetConfiguration | null;
97
+ usersAndGroups: crossTenantAccessPolicyTargetConfiguration | null;
98
+ }
99
+
100
+ @complex model crossTenantAccessPolicyInboundTrust {
101
+ isCompliantDeviceAccepted: boolean | null;
102
+ isHybridAzureADJoinedDeviceAccepted: boolean | null;
103
+ isMfaAccepted: boolean | null;
104
+ }
105
+
106
+ @complex model crossTenantAccessPolicyTarget {
107
+ target: string | null;
108
+ targetType: crossTenantAccessPolicyTargetType | null;
109
+ }
110
+
111
+ @complex model crossTenantAccessPolicyTargetConfiguration {
112
+ accessType: crossTenantAccessPolicyTargetConfigurationAccessType | null;
113
+ targets: crossTenantAccessPolicyTarget[] | null;
114
+ }
115
+
116
+ @complex model crossTenantUserSyncInbound {
117
+ isSyncAllowed: boolean | null;
118
+ }
119
+
120
+ @complex model customAppManagementConfiguration extends appManagementConfiguration {
121
+ }
122
+
123
+ @open
124
+ @complex model customSecurityAttributeValue {
125
+ }
126
+
127
+ @complex model defaultInvitationRedemptionIdentityProviderConfiguration extends invitationRedemptionIdentityProviderConfiguration {
128
+ }
129
+
130
+ @complex model defaultUserRolePermissions {
131
+ allowedToCreateApps: boolean;
132
+ allowedToCreateSecurityGroups: boolean;
133
+ allowedToCreateTenants: boolean | null;
134
+ allowedToReadBitlockerKeysForOwnedDevice: boolean | null;
135
+ allowedToReadOtherUsers: boolean;
136
+ permissionGrantPoliciesAssigned: string[] | null;
137
+ }
138
+
139
+ @complex model domainState {
140
+ @computed lastActionDateTime: offsetDateTime | null;
141
+ operation: string | null;
142
+ status: string | null;
143
+ }
144
+
145
+ @complex model employeeOrgData {
146
+ costCenter: string | null;
147
+ division: string | null;
148
+ }
149
+
150
+ @complex model extensionSchemaProperty {
151
+ name: string | null;
152
+ type: string | null;
153
+ }
154
+
155
+ @open
156
+ @complex model identity {
157
+ displayName: string | null;
158
+ id: string | null;
159
+ }
160
+
161
+ @complex model implicitGrantSettings {
162
+ enableAccessTokenIssuance: boolean | null;
163
+ enableIdTokenIssuance: boolean | null;
164
+ }
165
+
166
+ @complex model inboundOutboundPolicyConfiguration {
167
+ inboundAllowed: boolean | null;
168
+ outboundAllowed: boolean | null;
169
+ }
170
+
171
+ @complex model informationalUrl {
172
+ logoUrl: string | null;
173
+ marketingUrl: string | null;
174
+ privacyStatementUrl: string | null;
175
+ supportUrl: string | null;
176
+ termsOfServiceUrl: string | null;
177
+ }
178
+
179
+ @complex model instanceResourceAccess {
180
+ permissions: resourcePermission[];
181
+ resourceAppId: string;
182
+ }
183
+
184
+ @complex model invitationRedemptionIdentityProviderConfiguration {
185
+ fallbackIdentityProvider: b2bIdentityProvidersType | null;
186
+ primaryIdentityProviderPrecedenceOrder: b2bIdentityProvidersType[] | null;
187
+ }
188
+
189
+ @complex model keyCredential {
190
+ customKeyIdentifier: binary | null;
191
+ displayName: string | null;
192
+ endDateTime: offsetDateTime | null;
193
+ key: binary | null;
194
+ keyId: guid | null;
195
+ startDateTime: offsetDateTime | null;
196
+ type: string | null;
197
+ usage: string | null;
198
+ }
199
+
200
+
201
+ @complex model keyValue {
202
+ key: string | null;
203
+ value: string | null;
204
+ }
205
+
206
+ @complex model licenseAssignmentState {
207
+ assignedByGroup: string | null;
208
+ disabledPlans: guid | null;
209
+ error: string | null;
210
+ @computed lastUpdatedDateTime: offsetDateTime | null;
211
+ skuId: guid | null;
212
+ state: string | null;
213
+ }
214
+
215
+ @complex model licenseProcessingState {
216
+ state: string | null;
217
+ }
218
+
219
+ @complex model licenseUnitsDetail {
220
+ enabled: int32 | null;
221
+ suspended: int32 | null;
222
+ warning: int32 | null;
223
+ }
224
+
225
+ @complex model loginPageLayoutConfiguration {
226
+ isFooterShown: boolean | null;
227
+ isHeaderShown: boolean | null;
228
+ layoutTemplateType: layoutTemplateType | null;
229
+ }
230
+
231
+ @complex model loginPageTextVisibilitySettings {
232
+ hideAccountResetCredentials: boolean | null;
233
+ hideCannotAccessYourAccount: boolean | null;
234
+ hideForgotMyPassword: boolean | null;
235
+ hidePrivacyAndCookies: boolean | null;
236
+ hideResetItNow: boolean | null;
237
+ hideTermsOfUse: boolean | null;
238
+ }
239
+
240
+ @complex model objectIdentity {
241
+ issuer: string | null;
242
+ issuerAssignedId: string | null;
243
+ signInType: string | null;
244
+ }
245
+
246
+ @complex model onPremisesAccidentalDeletionPrevention {
247
+ alertThreshold: int32 | null;
248
+ synchronizationPreventionType: onPremisesDirectorySynchronizationDeletionPreventionType | null;
249
+ }
250
+
251
+ @complex model onPremisesDirectorySynchronizationConfiguration {
252
+ accidentalDeletionPrevention: onPremisesAccidentalDeletionPrevention | null;
253
+ }
254
+
255
+ @complex model onPremisesDirectorySynchronizationFeature {
256
+ blockCloudObjectTakeoverThroughHardMatchEnabled: boolean | null;
257
+ blockSoftMatchEnabled: boolean | null;
258
+ bypassDirSyncOverridesEnabled: boolean | null;
259
+ cloudPasswordPolicyForPasswordSyncedUsersEnabled: boolean | null;
260
+ concurrentCredentialUpdateEnabled: boolean | null;
261
+ concurrentOrgIdProvisioningEnabled: boolean | null;
262
+ deviceWritebackEnabled: boolean | null;
263
+ directoryExtensionsEnabled: boolean | null;
264
+ fopeConflictResolutionEnabled: boolean | null;
265
+ groupWriteBackEnabled: boolean | null;
266
+ passwordSyncEnabled: boolean | null;
267
+ passwordWritebackEnabled: boolean | null;
268
+ quarantineUponProxyAddressesConflictEnabled: boolean | null;
269
+ quarantineUponUpnConflictEnabled: boolean | null;
270
+ softMatchOnUpnEnabled: boolean | null;
271
+ synchronizeUpnForManagedUsersEnabled: boolean | null;
272
+ unifiedGroupWritebackEnabled: boolean | null;
273
+ userForcePasswordChangeOnLogonEnabled: boolean | null;
274
+ userWritebackEnabled: boolean | null;
275
+ }
276
+
277
+ @complex model onPremisesExtensionAttributes {
278
+ extensionAttribute1: string | null;
279
+ extensionAttribute10: string | null;
280
+ extensionAttribute11: string | null;
281
+ extensionAttribute12: string | null;
282
+ extensionAttribute13: string | null;
283
+ extensionAttribute14: string | null;
284
+ extensionAttribute15: string | null;
285
+ extensionAttribute2: string | null;
286
+ extensionAttribute3: string | null;
287
+ extensionAttribute4: string | null;
288
+ extensionAttribute5: string | null;
289
+ extensionAttribute6: string | null;
290
+ extensionAttribute7: string | null;
291
+ extensionAttribute8: string | null;
292
+ extensionAttribute9: string | null;
293
+ }
294
+
295
+ @complex model onPremisesProvisioningError {
296
+ category: string | null;
297
+ occurredDateTime: offsetDateTime | null;
298
+ propertyCausingError: string | null;
299
+ value: string | null;
300
+ }
301
+
302
+ @complex model optionalClaim {
303
+ additionalProperties: string[] | null;
304
+ essential: boolean;
305
+ name: string;
306
+ source: string | null;
307
+ }
308
+
309
+ @complex model optionalClaims {
310
+ accessToken: optionalClaim[] | null;
311
+ idToken: optionalClaim[] | null;
312
+ saml2Token: optionalClaim[] | null;
313
+ }
314
+
315
+ @complex model parentalControlSettings {
316
+ countriesBlockedForMinors: string[] | null;
317
+ legalAgeGroupRule: string | null;
318
+ }
319
+
320
+ @complex model passwordCredential {
321
+ customKeyIdentifier: binary | null;
322
+ displayName: string | null;
323
+ endDateTime: offsetDateTime | null;
324
+ hint: string | null;
325
+ keyId: guid | null;
326
+ secretText: string | null;
327
+ startDateTime: offsetDateTime | null;
328
+ }
329
+
330
+
331
+ @complex model passwordProfile {
332
+ forceChangePasswordNextSignIn: boolean | null;
333
+ forceChangePasswordNextSignInWithMfa: boolean | null;
334
+ password: string | null;
335
+ }
336
+
337
+ @complex model permissionScope {
338
+ adminConsentDescription: string | null;
339
+ adminConsentDisplayName: string | null;
340
+ id: guid;
341
+ isEnabled: boolean;
342
+ origin: string | null;
343
+ type: string | null;
344
+ userConsentDescription: string | null;
345
+ userConsentDisplayName: string | null;
346
+ value: string | null;
347
+ }
348
+
349
+ @complex model phone {
350
+ language: string | null;
351
+ number: string | null;
352
+ region: string | null;
353
+ type: phoneType | null;
354
+ }
355
+
356
+ @complex model physicalOfficeAddress {
357
+ city: string | null;
358
+ countryOrRegion: string | null;
359
+ officeLocation: string | null;
360
+ postalCode: string | null;
361
+ state: string | null;
362
+ street: string | null;
363
+ }
364
+
365
+ @complex model preAuthorizedApplication {
366
+ appId: string | null;
367
+ delegatedPermissionIds: string[];
368
+ }
369
+
370
+ @complex model privacyProfile {
371
+ contactEmail: string | null;
372
+ statementUrl: string | null;
373
+ }
374
+
375
+ @complex model provisionedPlan {
376
+ capabilityStatus: string | null;
377
+ provisioningStatus: string | null;
378
+ service: string | null;
379
+ }
380
+
381
+ @complex model publicClientApplication {
382
+ redirectUris: string[];
383
+ }
384
+
385
+ @complex model redirectUriSettings {
386
+ index: int32 | null;
387
+ uri: string | null;
388
+ }
389
+
390
+ @complex model requestSignatureVerification {
391
+ allowedWeakAlgorithms: weakAlgorithms | null;
392
+ isSignedRequestRequired: boolean;
393
+ }
394
+
395
+ @complex model requiredResourceAccess {
396
+ resourceAccess: resourceAccess[];
397
+ resourceAppId: string;
398
+ }
399
+
400
+ @complex model resourceAccess {
401
+ id: guid;
402
+ type: string | null;
403
+ }
404
+
405
+ @complex model resourcePermission {
406
+ type: string;
407
+ value: string;
408
+ }
409
+
410
+ @complex model samlSingleSignOnSettings {
411
+ relayState: string | null;
412
+ }
413
+
414
+ @complex model servicePlanInfo {
415
+ appliesTo: string | null;
416
+ provisioningStatus: string | null;
417
+ servicePlanId: guid | null;
418
+ servicePlanName: string | null;
419
+ }
420
+
421
+ @complex model servicePrincipalLockConfiguration {
422
+ allProperties: boolean | null;
423
+ credentialsWithUsageSign: boolean | null;
424
+ credentialsWithUsageVerify: boolean | null;
425
+ isEnabled: boolean;
426
+ tokenEncryptionKeyId: boolean | null;
427
+ }
428
+
429
+ @complex model settingTemplateValue {
430
+ defaultValue: string | null;
431
+ description: string | null;
432
+ name: string | null;
433
+ type: string | null;
434
+ }
435
+
436
+ @complex model settingValue {
437
+ name: string | null;
438
+ value: string | null;
439
+ }
440
+
441
+ @complex model signingCertificateUpdateStatus {
442
+ certificateUpdateResult: string | null;
443
+ @computed lastRunDateTime: offsetDateTime | null;
444
+ }
445
+
446
+ @complex model spaApplication {
447
+ redirectUris: string[];
448
+ }
449
+
450
+ @complex model tenantInformation {
451
+ defaultDomainName: string | null;
452
+ displayName: string | null;
453
+ federationBrandName: string | null;
454
+ tenantId: string;
455
+ }
456
+
457
+ @complex model unifiedRolePermission {
458
+ allowedResourceActions: string[];
459
+ condition: string | null;
460
+ excludedResourceActions: string[] | null;
461
+ }
462
+
463
+ @complex model verifiedDomain {
464
+ capabilities: string | null;
465
+ isDefault: boolean | null;
466
+ isInitial: boolean | null;
467
+ name: string | null;
468
+ type: string | null;
469
+ }
470
+
471
+ @complex model webApplication {
472
+ homePageUrl: string | null;
473
+ implicitGrantSettings: implicitGrantSettings | null;
474
+ logoutUrl: string | null;
475
+ redirectUris: string[];
476
+ redirectUriSettings: redirectUriSettings[];
477
+ }
478
+
479
+ @entity model activityBasedTimeoutPolicy extends stsPolicy {
480
+ }
481
+
482
+ @open
483
+ @entity model administrativeUnit extends directoryObject {
484
+ description: string | null;
485
+ displayName: string | null;
486
+ isMemberManagementRestricted: boolean | null;
487
+ membershipRule: string | null;
488
+ membershipRuleProcessingState: string | null;
489
+ membershipType: string | null;
490
+ visibility: string | null;
491
+ @references members: directoryObject[];
492
+ @contains scopedRoleMembers: scopedRoleMembership[];
493
+ }
494
+
495
+ @entity model allowedValue extends entity {
496
+ isActive: boolean | null;
497
+ }
498
+
499
+ @open
500
+ @entity model application extends directoryObject {
501
+ addIns: addIn[];
502
+ api: apiApplication | null;
503
+ appId: string | null;
504
+ applicationTemplateId: string | null;
505
+ appRoles: appRole[];
506
+ @computed createdDateTime: offsetDateTime | null;
507
+ defaultRedirectUri: string | null;
508
+ description: string | null;
509
+ disabledByMicrosoftStatus: string | null;
510
+ displayName: string | null;
511
+ groupMembershipClaims: string | null;
512
+ identifierUris: string[];
513
+ info: informationalUrl | null;
514
+ isDeviceOnlyAuthSupported: boolean | null;
515
+ isFallbackPublicClient: boolean | null;
516
+ keyCredentials: keyCredential[];
517
+ logo: stream;
518
+ notes: string | null;
519
+ oauth2RequirePostResponse: boolean;
520
+ optionalClaims: optionalClaims | null;
521
+ parentalControlSettings: parentalControlSettings | null;
522
+ passwordCredentials: passwordCredential[];
523
+ publicClient: publicClientApplication | null;
524
+ publisherDomain: string | null;
525
+ requestSignatureVerification: requestSignatureVerification | null;
526
+ requiredResourceAccess: requiredResourceAccess[];
527
+ serviceManagementReference: string | null;
528
+ servicePrincipalLockConfiguration: servicePrincipalLockConfiguration | null;
529
+ signInAudience: string | null;
530
+ spa: spaApplication | null;
531
+ tags: string[];
532
+ tokenEncryptionKeyId: guid | null;
533
+ uniqueName: string | null;
534
+ web: webApplication | null;
535
+ @references appManagementPolicies: appManagementPolicy[];
536
+ @references createdOnBehalfOf: directoryObject | null;
537
+ @contains extensionProperties: extensionProperty[];
538
+ @contains federatedIdentityCredentials: federatedIdentityCredential[];
539
+ @references owners: directoryObject[];
540
+ @references tokenIssuancePolicies: tokenIssuancePolicy[];
541
+ @references tokenLifetimePolicies: tokenLifetimePolicy[];
542
+ }
543
+
544
+ @entity model appManagementPolicy extends policyBase {
545
+ isEnabled: boolean;
546
+ restrictions: customAppManagementConfiguration | null;
547
+ @references appliesTo: directoryObject[];
548
+ }
549
+
550
+ @entity model appRoleAssignment extends directoryObject {
551
+ appRoleId: guid;
552
+ @computed createdDateTime: offsetDateTime | null;
553
+ principalDisplayName: string | null;
554
+ principalId: guid | null;
555
+ principalType: string | null;
556
+ resourceDisplayName: string | null;
557
+ resourceId: guid | null;
558
+ }
559
+
560
+ @entity model appScope extends entity {
561
+ displayName: string | null;
562
+ type: string | null;
563
+ }
564
+
565
+ @entity model attributeSet extends entity {
566
+ description: string | null;
567
+ maxAttributesPerSet: int32 | null;
568
+ }
569
+
570
+ @entity model authorizationPolicy extends policyBase {
571
+ allowedToSignUpEmailBasedSubscriptions: boolean;
572
+ allowedToUseSSPR: boolean;
573
+ allowEmailVerifiedUsersToJoinOrganization: boolean;
574
+ allowInvitesFrom: allowInvitesFrom | null;
575
+ allowUserConsentForRiskyApps: boolean | null;
576
+ blockMsolPowerShell: boolean | null;
577
+ defaultUserRolePermissions: defaultUserRolePermissions;
578
+ guestUserRoleId: guid | null;
579
+ }
580
+
581
+ @entity model certificateBasedAuthConfiguration extends entity {
582
+ certificateAuthorities: certificateAuthority[];
583
+ }
584
+
585
+ @entity model claimsMappingPolicy extends stsPolicy {
586
+ }
587
+
588
+ @entity model companySubscription extends entity {
589
+ commerceSubscriptionId: string | null;
590
+ @computed createdDateTime: offsetDateTime | null;
591
+ isTrial: boolean | null;
592
+ nextLifecycleDateTime: offsetDateTime | null;
593
+ ownerId: string | null;
594
+ ownerTenantId: string | null;
595
+ ownerType: string | null;
596
+ serviceStatus: servicePlanInfo[];
597
+ skuId: string | null;
598
+ skuPartNumber: string | null;
599
+ status: string | null;
600
+ totalLicenses: int32 | null;
601
+ }
602
+
603
+ @open
604
+ @entity model contract extends directoryObject {
605
+ contractType: string | null;
606
+ customerId: guid | null;
607
+ defaultDomainName: string | null;
608
+ displayName: string | null;
609
+ }
610
+
611
+ @entity model crossTenantAccessPolicy extends policyBase {
612
+ @contains default: crossTenantAccessPolicyConfigurationDefault | null;
613
+ @contains partners: crossTenantAccessPolicyConfigurationPartner[];
614
+ }
615
+
616
+ @entity model crossTenantAccessPolicyConfigurationDefault extends entity {
617
+ automaticUserConsentSettings: inboundOutboundPolicyConfiguration | null;
618
+ b2bCollaborationInbound: crossTenantAccessPolicyB2BSetting | null;
619
+ b2bCollaborationOutbound: crossTenantAccessPolicyB2BSetting | null;
620
+ b2bDirectConnectInbound: crossTenantAccessPolicyB2BSetting | null;
621
+ b2bDirectConnectOutbound: crossTenantAccessPolicyB2BSetting | null;
622
+ inboundTrust: crossTenantAccessPolicyInboundTrust | null;
623
+ invitationRedemptionIdentityProviderConfiguration: defaultInvitationRedemptionIdentityProviderConfiguration | null;
624
+ isServiceDefault: boolean | null;
625
+ }
626
+
627
+ @entity model crossTenantAccessPolicyConfigurationPartner extends MsGraph.SharedModels.entity {
628
+ automaticUserConsentSettings: inboundOutboundPolicyConfiguration | null;
629
+ b2bCollaborationInbound: crossTenantAccessPolicyB2BSetting | null;
630
+ b2bCollaborationOutbound: crossTenantAccessPolicyB2BSetting | null;
631
+ b2bDirectConnectInbound: crossTenantAccessPolicyB2BSetting | null;
632
+ b2bDirectConnectOutbound: crossTenantAccessPolicyB2BSetting | null;
633
+ inboundTrust: crossTenantAccessPolicyInboundTrust | null;
634
+ isServiceProvider: boolean | null;
635
+ @computed @key tenantId: string;
636
+ @contains identitySynchronization: crossTenantIdentitySyncPolicyPartner | null;
637
+ }
638
+
639
+ @entity model crossTenantIdentitySyncPolicyPartner extends MsGraph.SharedModels.entity {
640
+ displayName: string | null;
641
+ @computed @key tenantId: string;
642
+ userSyncInbound: crossTenantUserSyncInbound | null;
643
+ }
644
+
645
+ @entity model customSecurityAttributeDefinition extends entity {
646
+ attributeSet: string;
647
+ description: string | null;
648
+ isCollection: boolean;
649
+ isSearchable: boolean | null;
650
+ name: string;
651
+ status: string;
652
+ type: string;
653
+ usePreDefinedValuesOnly: boolean | null;
654
+ @contains allowedValues: allowedValue[];
655
+ }
656
+
657
+ @entity model delegatedPermissionClassification extends entity {
658
+ classification: permissionClassificationType | null;
659
+ permissionId: string | null;
660
+ permissionName: string | null;
661
+ }
662
+
663
+ @open
664
+ @entity model device extends directoryObject {
665
+ accountEnabled: boolean | null;
666
+ alternativeSecurityIds: alternativeSecurityId[];
667
+ approximateLastSignInDateTime: offsetDateTime | null;
668
+ complianceExpirationDateTime: offsetDateTime | null;
669
+ deviceCategory: string | null;
670
+ deviceId: string | null;
671
+ deviceMetadata: string | null;
672
+ deviceOwnership: string | null;
673
+ deviceVersion: int32 | null;
674
+ displayName: string | null;
675
+ enrollmentProfileName: string | null;
676
+ enrollmentType: string | null;
677
+ isCompliant: boolean | null;
678
+ isManaged: boolean | null;
679
+ isManagementRestricted: boolean | null;
680
+ isRooted: boolean | null;
681
+ managementType: string | null;
682
+ manufacturer: string | null;
683
+ mdmAppId: string | null;
684
+ `model`: string | null;
685
+ onPremisesLastSyncDateTime: offsetDateTime | null;
686
+ onPremisesSecurityIdentifier: string | null;
687
+ onPremisesSyncEnabled: boolean | null;
688
+ operatingSystem: string | null;
689
+ operatingSystemVersion: string | null;
690
+ physicalIds: string[];
691
+ profileType: string | null;
692
+ registrationDateTime: offsetDateTime | null;
693
+ systemLabels: string[];
694
+ trustType: string | null;
695
+ @contains extensions: extension[];
696
+ @references memberOf: directoryObject[];
697
+ @references registeredOwners: directoryObject[];
698
+ @references registeredUsers: directoryObject[];
699
+ @references transitiveMemberOf: directoryObject[];
700
+ }
701
+
702
+ @entity model directory extends MsGraph.SharedModels.entity {
703
+ @contains administrativeUnits: administrativeUnit[];
704
+ @contains attributeSets: attributeSet[];
705
+ @contains customSecurityAttributeDefinitions: customSecurityAttributeDefinition[];
706
+ @contains deletedItems: directoryObject[];
707
+ @contains federationConfigurations: identityProviderBase[];
708
+ @contains onPremisesSynchronization: onPremisesDirectorySynchronization[];
709
+ @contains subscriptions: companySubscription[];
710
+ }
711
+
712
+ @open
713
+ @entity model directoryObject extends entity {
714
+ deletedDateTime: offsetDateTime | null;
715
+ }
716
+
717
+ @entity model directoryObjectPartnerReference extends directoryObject {
718
+ description: string | null;
719
+ displayName: string | null;
720
+ externalPartnerTenantId: guid | null;
721
+ objectType: string | null;
722
+ }
723
+
724
+ @open
725
+ @entity model directoryRole extends directoryObject {
726
+ description: string | null;
727
+ displayName: string | null;
728
+ roleTemplateId: string | null;
729
+ @references members: directoryObject[];
730
+ }
731
+
732
+ @open
733
+ @entity model directoryRoleTemplate extends directoryObject {
734
+ description: string | null;
735
+ displayName: string | null;
736
+ }
737
+
738
+ @entity model domain extends entity {
739
+ authenticationType: string;
740
+ availabilityStatus: string | null;
741
+ isAdminManaged: boolean;
742
+ isDefault: boolean;
743
+ isInitial: boolean;
744
+ isRoot: boolean;
745
+ isVerified: boolean;
746
+ manufacturer: string | null;
747
+ `model`: string | null;
748
+ passwordNotificationWindowInDays: int32 | null;
749
+ passwordValidityPeriodInDays: int32 | null;
750
+ state: domainState | null;
751
+ supportedServices: string[];
752
+ @references domainNameReferences: directoryObject[];
753
+ @contains federationConfiguration: internalDomainFederation[];
754
+ @references rootDomain: domain | null;
755
+ @contains serviceConfigurationRecords: domainDnsRecord[];
756
+ @contains verificationDnsRecords: domainDnsRecord[];
757
+ }
758
+
759
+ @entity model domainDnsCnameRecord extends domainDnsRecord {
760
+ canonicalName: string | null;
761
+ }
762
+
763
+ @entity model domainDnsMxRecord extends domainDnsRecord {
764
+ mailExchange: string;
765
+ preference: int32 | null;
766
+ }
767
+
768
+ @entity model domainDnsRecord extends entity {
769
+ isOptional: boolean;
770
+ label: string;
771
+ recordType: string | null;
772
+ supportedService: string;
773
+ ttl: int32;
774
+ }
775
+
776
+ @entity model domainDnsSrvRecord extends domainDnsRecord {
777
+ nameTarget: string | null;
778
+ port: int32 | null;
779
+ priority: int32 | null;
780
+ protocol: string | null;
781
+ service: string | null;
782
+ weight: int32 | null;
783
+ }
784
+
785
+ @entity model domainDnsTxtRecord extends domainDnsRecord {
786
+ text: string;
787
+ }
788
+
789
+ @entity model domainDnsUnavailableRecord extends domainDnsRecord {
790
+ description: string | null;
791
+ }
792
+
793
+ @open
794
+ @entity model endpoint extends directoryObject {
795
+ capability: string;
796
+ providerId: string | null;
797
+ providerName: string | null;
798
+ providerResourceId: string | null;
799
+ uri: string;
800
+ }
801
+
802
+ @abstract
803
+ @entity model entity extends MsGraph.SharedModels.entity {
804
+ @computed @key id: string;
805
+ }
806
+
807
+ @entity model extension extends entity {
808
+ }
809
+
810
+ @open
811
+ @entity model extensionProperty extends directoryObject {
812
+ appDisplayName: string | null;
813
+ dataType: string;
814
+ isMultiValued: boolean;
815
+ isSyncedFromOnPremises: boolean | null;
816
+ name: string;
817
+ targetObjects: string[];
818
+ }
819
+
820
+ @entity model externalDomainName extends entity {
821
+ }
822
+
823
+ @entity model federatedIdentityCredential extends entity {
824
+ audiences: string[];
825
+ description: string | null;
826
+ issuer: string;
827
+ name: string;
828
+ subject: string;
829
+ }
830
+
831
+ @open
832
+ @entity model group extends directoryObject {
833
+ assignedLabels: assignedLabel[] | null;
834
+ assignedLicenses: assignedLicense[] | null;
835
+ classification: string | null;
836
+ @computed createdDateTime: offsetDateTime | null;
837
+ description: string | null;
838
+ displayName: string | null;
839
+ expirationDateTime: offsetDateTime | null;
840
+ groupTypes: string[];
841
+ hasMembersWithLicenseErrors: boolean | null;
842
+ isAssignableToRole: boolean | null;
843
+ isManagementRestricted: boolean | null;
844
+ licenseProcessingState: licenseProcessingState | null;
845
+ mail: string | null;
846
+ mailEnabled: boolean | null;
847
+ mailNickname: string | null;
848
+ membershipRule: string | null;
849
+ membershipRuleProcessingState: string | null;
850
+ onPremisesDomainName: string | null;
851
+ onPremisesLastSyncDateTime: offsetDateTime | null;
852
+ onPremisesNetBiosName: string | null;
853
+ onPremisesProvisioningErrors: onPremisesProvisioningError[] | null;
854
+ onPremisesSamAccountName: string | null;
855
+ onPremisesSecurityIdentifier: string | null;
856
+ onPremisesSyncEnabled: boolean | null;
857
+ preferredDataLocation: string | null;
858
+ preferredLanguage: string | null;
859
+ proxyAddresses: string[];
860
+ renewedDateTime: offsetDateTime | null;
861
+ resourceBehaviorOptions: string[];
862
+ resourceProvisioningOptions: string[];
863
+ securityEnabled: boolean | null;
864
+ securityIdentifier: string | null;
865
+ theme: string | null;
866
+ uniqueName: string | null;
867
+ visibility: string | null;
868
+ @contains appRoleAssignments: appRoleAssignment[];
869
+ @references createdOnBehalfOf: directoryObject | null;
870
+ @contains extensions: extension[];
871
+ @references memberOf: directoryObject[];
872
+ @references members: directoryObject[];
873
+ @references membersWithLicenseErrors: directoryObject[];
874
+ @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
875
+ @references owners: directoryObject[];
876
+ @contains permissionGrants: resourceSpecificPermissionGrant[];
877
+ @contains settings: groupSetting[];
878
+ @references transitiveMemberOf: directoryObject[];
879
+ @references transitiveMembers: directoryObject[];
880
+ }
881
+
882
+ @open
883
+ @entity model groupSetting extends entity {
884
+ displayName: string | null;
885
+ templateId: string | null;
886
+ values: settingValue[];
887
+ }
888
+
889
+ @open
890
+ @entity model groupSettingTemplate extends directoryObject {
891
+ description: string | null;
892
+ displayName: string | null;
893
+ values: settingTemplateValue[];
894
+ }
895
+
896
+ @entity model homeRealmDiscoveryPolicy extends stsPolicy {
897
+ }
898
+
899
+ @abstract
900
+ @entity model identityProviderBase extends entity {
901
+ displayName: string | null;
902
+ }
903
+
904
+ @entity model internalDomainFederation extends samlOrWsFedProvider {
905
+ activeSignInUri: string | null;
906
+ federatedIdpMfaBehavior: federatedIdpMfaBehavior | null;
907
+ isSignedAuthenticationRequestRequired: boolean | null;
908
+ nextSigningCertificate: string | null;
909
+ passwordResetUri: string | null;
910
+ promptLoginBehavior: promptLoginBehavior | null;
911
+ signingCertificateUpdateStatus: signingCertificateUpdateStatus | null;
912
+ signOutUri: string | null;
913
+ }
914
+
915
+ @entity model licenseDetails extends entity {
916
+ servicePlans: servicePlanInfo[];
917
+ skuId: guid | null;
918
+ skuPartNumber: string | null;
919
+ }
920
+
921
+ @entity model oAuth2PermissionGrant extends entity {
922
+ clientId: string;
923
+ consentType: string | null;
924
+ principalId: string | null;
925
+ resourceId: string;
926
+ scope: string | null;
927
+ }
928
+
929
+ @entity model onPremisesDirectorySynchronization extends entity {
930
+ configuration: onPremisesDirectorySynchronizationConfiguration | null;
931
+ features: onPremisesDirectorySynchronizationFeature;
932
+ }
933
+
934
+ @entity model onPremisesSyncBehavior extends entity {
935
+ isCloudManaged: boolean;
936
+ }
937
+
938
+ @open
939
+ @entity model organization extends directoryObject {
940
+ assignedPlans: assignedPlan[];
941
+ businessPhones: string[];
942
+ city: string | null;
943
+ country: string | null;
944
+ countryLetterCode: string | null;
945
+ @computed createdDateTime: offsetDateTime | null;
946
+ displayName: string | null;
947
+ marketingNotificationEmails: string[];
948
+ onPremisesLastSyncDateTime: offsetDateTime | null;
949
+ onPremisesSyncEnabled: boolean | null;
950
+ partnerTenantType: partnerTenantType | null;
951
+ postalCode: string | null;
952
+ preferredLanguage: string | null;
953
+ privacyProfile: privacyProfile | null;
954
+ provisionedPlans: provisionedPlan[];
955
+ securityComplianceNotificationMails: string[];
956
+ securityComplianceNotificationPhones: string[];
957
+ state: string | null;
958
+ street: string | null;
959
+ technicalNotificationMails: string[];
960
+ tenantType: string | null;
961
+ verifiedDomains: verifiedDomain[];
962
+ @contains branding: organizationalBranding | null;
963
+ @references certificateBasedAuthConfiguration: certificateBasedAuthConfiguration[];
964
+ @contains extensions: extension[];
965
+ }
966
+
967
+ @entity model organizationalBranding extends organizationalBrandingProperties {
968
+ @contains localizations: organizationalBrandingLocalization[];
969
+ }
970
+
971
+ @entity model organizationalBrandingLocalization extends organizationalBrandingProperties {
972
+ }
973
+
974
+ @abstract
975
+ @entity model organizationalBrandingProperties extends entity {
976
+ backgroundColor: string | null;
977
+ backgroundImage: stream | null;
978
+ backgroundImageRelativeUrl: string | null;
979
+ bannerLogo: stream | null;
980
+ bannerLogoRelativeUrl: string | null;
981
+ cdnList: string[] | null;
982
+ contentCustomization: contentCustomization | null;
983
+ customAccountResetCredentialsUrl: string | null;
984
+ customCannotAccessYourAccountText: string | null;
985
+ customCannotAccessYourAccountUrl: string | null;
986
+ customCSS: stream | null;
987
+ customCSSRelativeUrl: string | null;
988
+ customForgotMyPasswordText: string | null;
989
+ customPrivacyAndCookiesText: string | null;
990
+ customPrivacyAndCookiesUrl: string | null;
991
+ customResetItNowText: string | null;
992
+ customTermsOfUseText: string | null;
993
+ customTermsOfUseUrl: string | null;
994
+ favicon: stream | null;
995
+ faviconRelativeUrl: string | null;
996
+ headerBackgroundColor: string | null;
997
+ headerLogo: stream | null;
998
+ headerLogoRelativeUrl: string | null;
999
+ loginPageLayoutConfiguration: loginPageLayoutConfiguration | null;
1000
+ loginPageTextVisibilitySettings: loginPageTextVisibilitySettings | null;
1001
+ signInPageText: string | null;
1002
+ squareLogo: stream | null;
1003
+ squareLogoDark: stream | null;
1004
+ squareLogoDarkRelativeUrl: string | null;
1005
+ squareLogoRelativeUrl: string | null;
1006
+ usernameHintText: string | null;
1007
+ }
1008
+
1009
+ @open
1010
+ @entity model orgContact extends directoryObject {
1011
+ addresses: physicalOfficeAddress[] | null;
1012
+ companyName: string | null;
1013
+ department: string | null;
1014
+ displayName: string | null;
1015
+ givenName: string | null;
1016
+ jobTitle: string | null;
1017
+ mail: string | null;
1018
+ mailNickname: string | null;
1019
+ onPremisesLastSyncDateTime: offsetDateTime | null;
1020
+ onPremisesProvisioningErrors: onPremisesProvisioningError[] | null;
1021
+ onPremisesSyncEnabled: boolean | null;
1022
+ phones: phone[] | null;
1023
+ proxyAddresses: string[];
1024
+ surname: string | null;
1025
+ @references directReports: directoryObject[];
1026
+ @references manager: directoryObject | null;
1027
+ @references memberOf: directoryObject[];
1028
+ @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
1029
+ @references transitiveMemberOf: directoryObject[];
1030
+ }
1031
+
1032
+ @entity model permissionGrantConditionSet extends entity {
1033
+ clientApplicationIds: string[] | null;
1034
+ clientApplicationPublisherIds: string[] | null;
1035
+ clientApplicationsFromVerifiedPublisherOnly: boolean | null;
1036
+ clientApplicationTenantIds: string[] | null;
1037
+ permissionClassification: string | null;
1038
+ permissions: string[] | null;
1039
+ permissionType: permissionType | null;
1040
+ resourceApplication: string | null;
1041
+ }
1042
+
1043
+ @entity model permissionGrantPolicy extends policyBase {
1044
+ @contains excludes: permissionGrantConditionSet[];
1045
+ @contains includes: permissionGrantConditionSet[];
1046
+ }
1047
+
1048
+ @abstract
1049
+ @entity model policyBase extends directoryObject {
1050
+ description: string | null;
1051
+ displayName: string | null;
1052
+ }
1053
+
1054
+ @entity model policyRoot extends MsGraph.SharedModels.entity {
1055
+ @contains activityBasedTimeoutPolicies: activityBasedTimeoutPolicy[];
1056
+ @contains appManagementPolicies: appManagementPolicy[];
1057
+ @contains authorizationPolicy: authorizationPolicy | null;
1058
+ @contains claimsMappingPolicies: claimsMappingPolicy[];
1059
+ @contains crossTenantAccessPolicy: crossTenantAccessPolicy | null;
1060
+ @contains defaultAppManagementPolicy: tenantAppManagementPolicy | null;
1061
+ @contains homeRealmDiscoveryPolicies: homeRealmDiscoveryPolicy[];
1062
+ @contains permissionGrantPolicies: permissionGrantPolicy[];
1063
+ @contains tokenIssuancePolicies: tokenIssuancePolicy[];
1064
+ @contains tokenLifetimePolicies: tokenLifetimePolicy[];
1065
+ }
1066
+
1067
+ @entity model rbacApplication extends entity {
1068
+ @contains resourceNamespaces: unifiedRbacResourceNamespace[];
1069
+ @contains roleAssignments: unifiedRoleAssignment[];
1070
+ @contains roleDefinitions: unifiedRoleDefinition[];
1071
+ }
1072
+
1073
+ @entity model remoteDesktopSecurityConfiguration extends entity {
1074
+ isRemoteDesktopProtocolEnabled: boolean;
1075
+ @contains targetDeviceGroups: targetDeviceGroup[];
1076
+ }
1077
+
1078
+ @entity model resourceSpecificPermissionGrant extends directoryObject {
1079
+ clientAppId: string | null;
1080
+ clientId: string | null;
1081
+ permission: string | null;
1082
+ permissionType: string | null;
1083
+ resourceAppId: string | null;
1084
+ }
1085
+
1086
+ @entity model roleManagement extends MsGraph.SharedModels.entity {
1087
+ @contains directory: rbacApplication | null;
1088
+ }
1089
+
1090
+ @entity model samlOrWsFedExternalDomainFederation extends samlOrWsFedProvider {
1091
+ @contains domains: externalDomainName[];
1092
+ }
1093
+
1094
+ @abstract
1095
+ @entity model samlOrWsFedProvider extends identityProviderBase {
1096
+ issuerUri: string | null;
1097
+ metadataExchangeUri: string | null;
1098
+ passiveSignInUri: string | null;
1099
+ preferredAuthenticationProtocol: authenticationProtocol | null;
1100
+ signingCertificate: string | null;
1101
+ }
1102
+
1103
+ @entity model schemaExtension extends entity {
1104
+ description: string | null;
1105
+ owner: string;
1106
+ properties: extensionSchemaProperty[];
1107
+ status: string;
1108
+ targetTypes: string[];
1109
+ }
1110
+
1111
+ @entity model scopedRoleMembership extends entity {
1112
+ administrativeUnitId: string;
1113
+ roleId: string;
1114
+ roleMemberInfo: identity;
1115
+ }
1116
+
1117
+ @open
1118
+ @entity model servicePrincipal extends directoryObject {
1119
+ accountEnabled: boolean | null;
1120
+ addIns: addIn[];
1121
+ alternativeNames: string[];
1122
+ appDescription: string | null;
1123
+ appDisplayName: string | null;
1124
+ appId: string | null;
1125
+ applicationTemplateId: string | null;
1126
+ appOwnerOrganizationId: guid | null;
1127
+ appRoleAssignmentRequired: boolean;
1128
+ appRoles: appRole[];
1129
+ customSecurityAttributes: customSecurityAttributeValue | null;
1130
+ description: string | null;
1131
+ disabledByMicrosoftStatus: string | null;
1132
+ displayName: string | null;
1133
+ homepage: string | null;
1134
+ info: informationalUrl | null;
1135
+ keyCredentials: keyCredential[];
1136
+ loginUrl: string | null;
1137
+ logoutUrl: string | null;
1138
+ notes: string | null;
1139
+ notificationEmailAddresses: string[];
1140
+ oauth2PermissionScopes: permissionScope[];
1141
+ passwordCredentials: passwordCredential[];
1142
+ preferredSingleSignOnMode: string | null;
1143
+ preferredTokenSigningKeyThumbprint: string | null;
1144
+ replyUrls: string[];
1145
+ samlSingleSignOnSettings: samlSingleSignOnSettings | null;
1146
+ servicePrincipalNames: string[];
1147
+ servicePrincipalType: string | null;
1148
+ signInAudience: string | null;
1149
+ tags: string[];
1150
+ tokenEncryptionKeyId: guid | null;
1151
+ @references appManagementPolicies: appManagementPolicy[];
1152
+ @contains appRoleAssignedTo: appRoleAssignment[];
1153
+ @contains appRoleAssignments: appRoleAssignment[];
1154
+ @references claimsMappingPolicies: claimsMappingPolicy[];
1155
+ @references createdObjects: directoryObject[];
1156
+ @contains delegatedPermissionClassifications: delegatedPermissionClassification[];
1157
+ @contains endpoints: endpoint[];
1158
+ @contains federatedIdentityCredentials: federatedIdentityCredential[];
1159
+ @references homeRealmDiscoveryPolicies: homeRealmDiscoveryPolicy[];
1160
+ @references memberOf: directoryObject[];
1161
+ @references oauth2PermissionGrants: oAuth2PermissionGrant[];
1162
+ @references ownedObjects: directoryObject[];
1163
+ @references owners: directoryObject[];
1164
+ @contains remoteDesktopSecurityConfiguration: remoteDesktopSecurityConfiguration | null;
1165
+ @references tokenIssuancePolicies: tokenIssuancePolicy[];
1166
+ @references tokenLifetimePolicies: tokenLifetimePolicy[];
1167
+ @references transitiveMemberOf: directoryObject[];
1168
+ }
1169
+
1170
+ @abstract
1171
+ @entity model stsPolicy extends policyBase {
1172
+ definition: string[];
1173
+ isOrganizationDefault: boolean | null;
1174
+ @references appliesTo: directoryObject[];
1175
+ }
1176
+
1177
+ @entity model subscribedSku extends entity {
1178
+ accountId: string | null;
1179
+ accountName: string | null;
1180
+ appliesTo: string | null;
1181
+ capabilityStatus: string | null;
1182
+ consumedUnits: int32 | null;
1183
+ prepaidUnits: licenseUnitsDetail | null;
1184
+ servicePlans: servicePlanInfo[];
1185
+ skuId: guid | null;
1186
+ skuPartNumber: string | null;
1187
+ subscriptionIds: string[] | null;
1188
+ }
1189
+
1190
+ @entity model targetDeviceGroup extends entity {
1191
+ displayName: string | null;
1192
+ }
1193
+
1194
+ @entity model tenantAppManagementPolicy extends policyBase {
1195
+ applicationRestrictions: appManagementApplicationConfiguration | null;
1196
+ isEnabled: boolean;
1197
+ servicePrincipalRestrictions: appManagementServicePrincipalConfiguration | null;
1198
+ }
1199
+
1200
+ @entity model tenantRelationship extends MsGraph.SharedModels.entity {
1201
+ }
1202
+
1203
+ @entity model tokenIssuancePolicy extends stsPolicy {
1204
+ }
1205
+
1206
+ @entity model tokenLifetimePolicy extends stsPolicy {
1207
+ }
1208
+
1209
+ @entity model unifiedRbacResourceAction extends entity {
1210
+ actionVerb: string | null;
1211
+ authenticationContextId: string | null;
1212
+ description: string | null;
1213
+ isAuthenticationContextSettable: boolean | null;
1214
+ name: string;
1215
+ resourceScopeId: string | null;
1216
+ }
1217
+
1218
+ @entity model unifiedRbacResourceNamespace extends entity {
1219
+ name: string;
1220
+ @contains resourceActions: unifiedRbacResourceAction[];
1221
+ }
1222
+
1223
+ @entity model unifiedRoleAssignment extends entity {
1224
+ appScopeId: string | null;
1225
+ condition: string | null;
1226
+ directoryScopeId: string | null;
1227
+ principalId: string | null;
1228
+ roleDefinitionId: string | null;
1229
+ @contains appScope: appScope | null;
1230
+ @references directoryScope: directoryObject | null;
1231
+ @references principal: directoryObject | null;
1232
+ @references roleDefinition: unifiedRoleDefinition | null;
1233
+ }
1234
+
1235
+ @entity model unifiedRoleDefinition extends entity {
1236
+ description: string | null;
1237
+ displayName: string | null;
1238
+ isBuiltIn: boolean | null;
1239
+ isEnabled: boolean | null;
1240
+ resourceScopes: string[];
1241
+ rolePermissions: unifiedRolePermission[];
1242
+ templateId: string | null;
1243
+ version: string | null;
1244
+ @contains inheritsPermissionsFrom: unifiedRoleDefinition[];
1245
+ }
1246
+
1247
+ @open
1248
+ @entity model user extends directoryObject {
1249
+ accountEnabled: boolean | null;
1250
+ ageGroup: string | null;
1251
+ assignedLicenses: assignedLicense[];
1252
+ assignedPlans: assignedPlan[];
1253
+ authorizationInfo: authorizationInfo | null;
1254
+ businessPhones: string[];
1255
+ city: string | null;
1256
+ companyName: string | null;
1257
+ consentProvidedForMinor: string | null;
1258
+ country: string | null;
1259
+ @computed createdDateTime: offsetDateTime | null;
1260
+ creationType: string | null;
1261
+ customSecurityAttributes: customSecurityAttributeValue | null;
1262
+ department: string | null;
1263
+ displayName: string | null;
1264
+ employeeHireDate: offsetDateTime | null;
1265
+ employeeId: string | null;
1266
+ employeeLeaveDateTime: offsetDateTime | null;
1267
+ employeeOrgData: employeeOrgData | null;
1268
+ employeeType: string | null;
1269
+ externalUserState: string | null;
1270
+ externalUserStateChangeDateTime: offsetDateTime | null;
1271
+ faxNumber: string | null;
1272
+ givenName: string | null;
1273
+ identities: objectIdentity[] | null;
1274
+ imAddresses: string[] | null;
1275
+ isManagementRestricted: boolean | null;
1276
+ isResourceAccount: boolean | null;
1277
+ jobTitle: string | null;
1278
+ @computed lastPasswordChangeDateTime: offsetDateTime | null;
1279
+ legalAgeGroupClassification: string | null;
1280
+ licenseAssignmentStates: licenseAssignmentState[] | null;
1281
+ mail: string | null;
1282
+ mailNickname: string | null;
1283
+ mobilePhone: string | null;
1284
+ officeLocation: string | null;
1285
+ onPremisesDistinguishedName: string | null;
1286
+ onPremisesDomainName: string | null;
1287
+ onPremisesExtensionAttributes: onPremisesExtensionAttributes | null;
1288
+ onPremisesImmutableId: string | null;
1289
+ onPremisesLastSyncDateTime: offsetDateTime | null;
1290
+ onPremisesProvisioningErrors: onPremisesProvisioningError[] | null;
1291
+ onPremisesSamAccountName: string | null;
1292
+ onPremisesSecurityIdentifier: string | null;
1293
+ onPremisesSyncEnabled: boolean | null;
1294
+ onPremisesUserPrincipalName: string | null;
1295
+ otherMails: string[];
1296
+ passwordPolicies: string | null;
1297
+ passwordProfile: passwordProfile | null;
1298
+ postalCode: string | null;
1299
+ preferredDataLocation: string | null;
1300
+ preferredLanguage: string | null;
1301
+ provisionedPlans: provisionedPlan[];
1302
+ proxyAddresses: string[];
1303
+ securityIdentifier: string | null;
1304
+ showInAddressList: boolean | null;
1305
+ signInSessionsValidFromDateTime: offsetDateTime | null;
1306
+ state: string | null;
1307
+ streetAddress: string | null;
1308
+ surname: string | null;
1309
+ usageLocation: string | null;
1310
+ userPrincipalName: string | null;
1311
+ userType: string | null;
1312
+ @contains appRoleAssignments: appRoleAssignment[];
1313
+ @references createdObjects: directoryObject[];
1314
+ @references directReports: directoryObject[];
1315
+ @contains extensions: extension[];
1316
+ @contains licenseDetails: licenseDetails[];
1317
+ @references manager: directoryObject | null;
1318
+ @references memberOf: directoryObject[];
1319
+ @references oauth2PermissionGrants: oAuth2PermissionGrant[];
1320
+ @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
1321
+ @references ownedDevices: directoryObject[];
1322
+ @references ownedObjects: directoryObject[];
1323
+ @references registeredDevices: directoryObject[];
1324
+ @contains scopedRoleMemberOf: scopedRoleMembership[];
1325
+ @references transitiveMemberOf: directoryObject[];
1326
+ }
1327
+
1328
+ enum allowInvitesFrom {
1329
+ none,
1330
+ adminsAndGuestInviters,
1331
+ adminsGuestInvitersAndAllMembers,
1332
+ everyone,
1333
+ unknownFutureValue,
1334
+ }
1335
+
1336
+ enum appCredentialRestrictionType {
1337
+ passwordAddition,
1338
+ passwordLifetime,
1339
+ symmetricKeyAddition,
1340
+ symmetricKeyLifetime,
1341
+ customPasswordAddition,
1342
+ unknownFutureValue,
1343
+ }
1344
+
1345
+ enum appKeyCredentialRestrictionType {
1346
+ asymmetricKeyLifetime,
1347
+ unknownFutureValue,
1348
+ }
1349
+
1350
+ enum authenticationProtocol {
1351
+ wsFed,
1352
+ saml,
1353
+ unknownFutureValue,
1354
+ }
1355
+
1356
+ enum b2bIdentityProvidersType {
1357
+ azureActiveDirectory,
1358
+ externalFederation,
1359
+ socialIdentityProviders,
1360
+ emailOneTimePasscode,
1361
+ microsoftAccount,
1362
+ defaultConfiguredIdp,
1363
+ unknownFutureValue,
1364
+ }
1365
+
1366
+ enum crossTenantAccessPolicyTargetConfigurationAccessType {
1367
+ allowed,
1368
+ blocked,
1369
+ unknownFutureValue,
1370
+ }
1371
+
1372
+ enum crossTenantAccessPolicyTargetType {
1373
+ user,
1374
+ group,
1375
+ application,
1376
+ unknownFutureValue,
1377
+ }
1378
+
1379
+ enum federatedIdpMfaBehavior {
1380
+ acceptIfMfaDoneByFederatedIdp,
1381
+ enforceMfaByFederatedIdp,
1382
+ rejectMfaByFederatedIdp,
1383
+ unknownFutureValue,
1384
+ }
1385
+
1386
+ enum layoutTemplateType {
1387
+ default,
1388
+ verticalSplit,
1389
+ unknownFutureValue,
1390
+ }
1391
+
1392
+ enum onPremisesDirectorySynchronizationDeletionPreventionType {
1393
+ disabled,
1394
+ enabledForCount,
1395
+ enabledForPercentage,
1396
+ unknownFutureValue,
1397
+ }
1398
+
1399
+ enum partnerTenantType {
1400
+ microsoftSupport,
1401
+ syndicatePartner,
1402
+ breadthPartner,
1403
+ breadthPartnerDelegatedAdmin,
1404
+ resellerPartnerDelegatedAdmin,
1405
+ valueAddedResellerPartnerDelegatedAdmin,
1406
+ unknownFutureValue,
1407
+ }
1408
+
1409
+ enum permissionClassificationType {
1410
+ low,
1411
+ medium,
1412
+ high,
1413
+ unknownFutureValue,
1414
+ }
1415
+
1416
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1417
+ enum permissionType {
1418
+ delegatedUserConsentable,
1419
+ delegated,
1420
+ application,
1421
+ }
1422
+
1423
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
1424
+ enum phoneType {
1425
+ home,
1426
+ business,
1427
+ mobile,
1428
+ other,
1429
+ assistant,
1430
+ homeFax,
1431
+ businessFax,
1432
+ otherFax,
1433
+ pager,
1434
+ radio,
1435
+ }
1436
+
1437
+ enum promptLoginBehavior {
1438
+ translateToFreshPasswordAuthentication,
1439
+ nativeSupport,
1440
+ disabled,
1441
+ unknownFutureValue,
1442
+ }
1443
+
1444
+ @graphFlags
1445
+ enum weakAlgorithms {
1446
+ rsaSha1,
1447
+ unknownFutureValue,
1448
+ }
1449
+
1450
+ }