@microsoft/typespec-msgraph-reference 1.0.2 → 1.0.3

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.
@@ -10,7 +10,7 @@ scalar binary; //TODO: Enables support for Edm.Binary
10
10
  @deprecatedDefinition("Deprecation", "<ChangeLogCategory>", "2024-04-10", "2026-04-10", "The legacy Graph Security API is deprecated and will stop returning data on January 31, 2025. Please use the new Graph Security API.")
11
11
  @deprecatedDefinition("identityProvider", "<ChangeLogCategory>", "2021-08-24", "2023-03-15", "The identityProvider API is deprecated and will stop returning data on March 2023. Please use the new identityProviderBase API.")
12
12
  @deprecatedDefinition("PasskeyGlobalProperties", "<ChangeLogCategory>", "2025-10-15", "2027-10-15", "This property is deprecated and will stop returning data on October 15, 2027. Please use passkeyProfiles property.")
13
- @deprecatedDefinition("Removal", "<ChangeLogCategory>", "2021-09-03", "2023-10-01", "The grantedToIdentities property is deprecated. Please refer to grantedToIdentitiesV2")
13
+ @deprecatedDefinition("Removal", "<ChangeLogCategory>", "2026-01-28", "2028-01-01", "This API is deprecated and will stop returning data after January, 2028.")
14
14
  // Metadata item DeprecatedDefinition_Removal was already defined with a different value.
15
15
  @deprecatedDefinition("Tasks_And_Plans", "<ChangeLogCategory>", "2022-04-25", "2024-04-25", "Owner property is deprecated and will be removed in April 2024. Please use the container property instead.")
16
16
  @deprecatedDefinition("PrivacyDeprecate", "<ChangeLogCategory>", "2022-03-22", "2025-03-20", "The subject rights request API under Privacy is deprecated and will stop working on March 22, 2025. Please use the new API under Security.")
@@ -386,6 +386,9 @@ namespace reference.`microsoft.graph` {
386
386
  value: string | null;
387
387
  }
388
388
 
389
+ @complex model allAllowedScopes extends inheritableScopes {
390
+ }
391
+
389
392
  @complex model allDeviceRegistrationMembership extends deviceRegistrationMembership {
390
393
  }
391
394
 
@@ -3269,6 +3272,10 @@ namespace reference.`microsoft.graph` {
3269
3272
  users: string[] | null;
3270
3273
  }
3271
3274
 
3275
+ @complex model enumeratedScopes extends inheritableScopes {
3276
+ scopes: string[];
3277
+ }
3278
+
3272
3279
  @abstract
3273
3280
  @complex model eventMessageDetail {
3274
3281
  }
@@ -3627,6 +3634,11 @@ namespace reference.`microsoft.graph` {
3627
3634
  @complex model includeAllAccountTargetContent extends accountTargetContent {
3628
3635
  }
3629
3636
 
3637
+ @complex model includeTarget {
3638
+ id: string;
3639
+ targetType: authenticationMethodTargetType;
3640
+ }
3641
+
3630
3642
  @complex model incomingCallOptions extends callOptions {
3631
3643
  }
3632
3644
 
@@ -3651,6 +3663,11 @@ namespace reference.`microsoft.graph` {
3651
3663
  termsOfServiceUrl: string | null;
3652
3664
  }
3653
3665
 
3666
+ @abstract
3667
+ @complex model inheritableScopes {
3668
+ kind: scopeCollectionKind;
3669
+ }
3670
+
3654
3671
  @open
3655
3672
  @complex model initiator extends identity {
3656
3673
  initiatorType: initiatorType | null;
@@ -4827,6 +4844,9 @@ namespace reference.`microsoft.graph` {
4827
4844
  @complex model noDeviceRegistrationMembership extends deviceRegistrationMembership {
4828
4845
  }
4829
4846
 
4847
+ @complex model noScopes extends inheritableScopes {
4848
+ }
4849
+
4830
4850
  @complex model notebookLinks {
4831
4851
  oneNoteClientUrl: externalLink | null;
4832
4852
  oneNoteWebUrl: externalLink | null;
@@ -5809,6 +5829,12 @@ namespace reference.`microsoft.graph` {
5809
5829
  localizations: displayNameLocalization[] | null;
5810
5830
  }
5811
5831
 
5832
+ @complex model profileSourceLocalization {
5833
+ displayName: string | null;
5834
+ languageTag: string | null;
5835
+ webUrl: string | null;
5836
+ }
5837
+
5812
5838
  @abstract
5813
5839
  @complex model prompt {
5814
5840
  }
@@ -6664,6 +6690,12 @@ namespace reference.`microsoft.graph` {
6664
6690
  removeAccountsBelowDiskFreePercentage: int32 | null;
6665
6691
  }
6666
6692
 
6693
+ @open
6694
+ @complex model sharePointGroupIdentity extends identity {
6695
+ principalId: string | null;
6696
+ title: string | null;
6697
+ }
6698
+
6667
6699
  @open
6668
6700
  @complex model sharePointIdentity extends identity {
6669
6701
  loginName: string | null;
@@ -6672,6 +6704,7 @@ namespace reference.`microsoft.graph` {
6672
6704
  @open
6673
6705
  @complex model sharePointIdentitySet extends identitySet {
6674
6706
  group: identity | null;
6707
+ sharePointGroup: sharePointGroupIdentity | null;
6675
6708
  siteGroup: sharePointIdentity | null;
6676
6709
  siteUser: sharePointIdentity | null;
6677
6710
  }
@@ -8714,11 +8747,21 @@ namespace reference.`microsoft.graph` {
8714
8747
  x509CertificateDefaultRequiredAffinityLevel: x509CertificateAffinityLevel | null;
8715
8748
  }
8716
8749
 
8750
+ @complex model x509CertificateAuthorityScope {
8751
+ includeTargets: includeTarget[] | null;
8752
+ publicKeyInfrastructureIdentifier: string | null;
8753
+ subjectKeyIdentifier: string | null;
8754
+ }
8755
+
8717
8756
  @complex model x509CertificateCRLValidationConfiguration {
8718
8757
  exemptedCertificateAuthoritiesSubjectKeyIdentifiers: string[] | null;
8719
8758
  state: x509CertificateCRLValidationConfigurationState;
8720
8759
  }
8721
8760
 
8761
+ @complex model x509CertificateIssuerHintsConfiguration {
8762
+ state: x509CertificateIssuerHintsState | null;
8763
+ }
8764
+
8722
8765
  @complex model x509CertificateRule {
8723
8766
  identifier: string | null;
8724
8767
  issuerSubjectIdentifier: string | null;
@@ -9077,6 +9120,34 @@ namespace reference.`microsoft.graph` {
9077
9120
  displayConcealedNames: boolean;
9078
9121
  }
9079
9122
 
9123
+ @open
9124
+ @entity model agentIdentity extends servicePrincipal {
9125
+ agentIdentityBlueprintId: string;
9126
+ createdByAppId: string | null;
9127
+ @computed createdDateTime: offsetDateTime | null;
9128
+ @references sponsors: directoryObject[];
9129
+ }
9130
+
9131
+ @open
9132
+ @entity model agentIdentityBlueprint extends application {
9133
+ createdByAppId: string | null;
9134
+ @contains inheritablePermissions: inheritablePermission[];
9135
+ @references sponsors: directoryObject[];
9136
+ }
9137
+
9138
+ @open
9139
+ @entity model agentIdentityBlueprintPrincipal extends servicePrincipal {
9140
+ createdByAppId: string | null;
9141
+ @references sponsors: directoryObject[];
9142
+ }
9143
+
9144
+ /**
9145
+ * Represents a Microsoft Entra user account.
9146
+ */
9147
+ @open
9148
+ @entity model agentUser extends user {
9149
+ }
9150
+
9080
9151
  @entity model agreement extends entity {
9081
9152
  displayName: string | null;
9082
9153
  isPerDeviceAcceptanceRequired: boolean | null;
@@ -11344,9 +11415,12 @@ files, events, and updates for people sharing a common interest or goal.
11344
11415
  otherAddress: physicalAddress | null;
11345
11416
  parentFolderId: string | null;
11346
11417
  personalNotes: string | null;
11418
+ primaryEmailAddress: emailAddress | null;
11347
11419
  profession: string | null;
11420
+ secondaryEmailAddress: emailAddress | null;
11348
11421
  spouseName: string | null;
11349
11422
  surname: string | null;
11423
+ tertiaryEmailAddress: emailAddress | null;
11350
11424
  title: string | null;
11351
11425
  yomiCompanyName: string | null;
11352
11426
  yomiGivenName: string | null;
@@ -14207,6 +14281,7 @@ within the time frame of their original request.
14207
14281
  @contains migrationJobs: sharePointMigrationJob[];
14208
14282
  @contains permissions: permission[];
14209
14283
  @contains recycleBin: recycleBin | null;
14284
+ @contains sharePointGroups: sharePointGroup[];
14210
14285
  }
14211
14286
 
14212
14287
  @entity model fileStorageContainerType extends entity {
@@ -14532,6 +14607,11 @@ within the time frame of their original request.
14532
14607
  @contains threatAssessmentRequests: threatAssessmentRequest[];
14533
14608
  }
14534
14609
 
14610
+ @entity model inheritablePermission extends MsGraph.SharedModels.entity {
14611
+ inheritableScopes: inheritableScopes | null;
14612
+ @computed @key resourceAppId: string;
14613
+ }
14614
+
14535
14615
  @entity model insightsSettings extends entity {
14536
14616
  disabledForGroup: string | null;
14537
14617
  isEnabledInOrganization: boolean | null;
@@ -18007,6 +18087,7 @@ within the time frame of their original request.
18007
18087
  @entity model peopleAdminSettings extends entity {
18008
18088
  @contains itemInsights: insightsSettings | null;
18009
18089
  @contains profileCardProperties: profileCardProperty[];
18090
+ @contains profileSources: profileSource[];
18010
18091
  @contains pronouns: pronounsSettings | null;
18011
18092
  }
18012
18093
 
@@ -18504,6 +18585,14 @@ within the time frame of their original request.
18504
18585
  width: int32 | null;
18505
18586
  }
18506
18587
 
18588
+ @entity model profileSource extends entity {
18589
+ displayName: string | null;
18590
+ kind: string | null;
18591
+ localizations: profileSourceLocalization[];
18592
+ sourceId: string | null;
18593
+ webUrl: string | null;
18594
+ }
18595
+
18507
18596
  @entity model pronounsSettings extends entity {
18508
18597
  isEnabledInOrganization: boolean;
18509
18598
  }
@@ -19354,6 +19443,7 @@ within the time frame of their original request.
19354
19443
  @contains site: site | null;
19355
19444
  }
19356
19445
 
19446
+ @graphDeprecated("Removal")
19357
19447
  @entity model sharedInsight extends entity {
19358
19448
  lastShared: sharingDetail | null;
19359
19449
  resourceReference: resourceReference | null;
@@ -19426,6 +19516,17 @@ within the time frame of their original request.
19426
19516
  @contains settings: sharepointSettings | null;
19427
19517
  }
19428
19518
 
19519
+ @entity model sharePointGroup extends entity {
19520
+ description: string | null;
19521
+ principalId: string | null;
19522
+ title: string;
19523
+ @contains members: sharePointGroupMember[];
19524
+ }
19525
+
19526
+ @entity model sharePointGroupMember extends entity {
19527
+ identity: sharePointIdentitySet | null;
19528
+ }
19529
+
19429
19530
  @entity model sharePointMigrationEvent extends entity {
19430
19531
  correlationId: string;
19431
19532
  eventDateTime: offsetDateTime;
@@ -20606,6 +20707,7 @@ within the time frame of their original request.
20606
20707
  value: usageRights;
20607
20708
  }
20608
20709
 
20710
+ @graphDeprecated("Removal")
20609
20711
  @entity model usedInsight extends entity {
20610
20712
  lastUsed: usageDetails | null;
20611
20713
  resourceReference: resourceReference | null;
@@ -20650,6 +20752,7 @@ within the time frame of their original request.
20650
20752
  givenName: string | null;
20651
20753
  hireDate: offsetDateTime;
20652
20754
  identities: objectIdentity[] | null;
20755
+ identityParentId: string | null;
20653
20756
  imAddresses: string[] | null;
20654
20757
  interests: string[] | null;
20655
20758
  isManagementRestricted: boolean | null;
@@ -24921,8 +25024,10 @@ within the time frame of their original request.
24921
25024
 
24922
25025
  @entity model x509CertificateAuthenticationMethodConfiguration extends authenticationMethodConfiguration {
24923
25026
  authenticationModeConfiguration: x509CertificateAuthenticationModeConfiguration | null;
25027
+ certificateAuthorityScopes: x509CertificateAuthorityScope[] | null;
24924
25028
  certificateUserBindings: x509CertificateUserBinding[] | null;
24925
25029
  crlValidationConfiguration: x509CertificateCRLValidationConfiguration;
25030
+ issuerHintsConfiguration: x509CertificateIssuerHintsConfiguration | null;
24926
25031
  @contains includeTargets: authenticationMethodTarget[];
24927
25032
  }
24928
25033
 
@@ -32361,6 +32466,14 @@ within the time frame of their original request.
32361
32466
  unknownFutureValue: 10,
32362
32467
  }
32363
32468
 
32469
+ enum scopeCollectionKind {
32470
+ allAllowed: 0,
32471
+ enumerated: 1,
32472
+ none: 2,
32473
+ scopeKindNotSet: 3,
32474
+ unknownFutureValue: 4,
32475
+ }
32476
+
32364
32477
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
32365
32478
  enum scopeOperatorMultiValuedComparisonType {
32366
32479
  All: 0,
@@ -35072,6 +35185,12 @@ within the time frame of their original request.
35072
35185
  unknownFutureValue: 2,
35073
35186
  }
35074
35187
 
35188
+ enum x509CertificateIssuerHintsState {
35189
+ disabled: 0,
35190
+ enabled: 1,
35191
+ unknownFutureValue: 2,
35192
+ }
35193
+
35075
35194
  enum x509CertificateRuleType {
35076
35195
  issuerSubject: 0,
35077
35196
  policyOID: 1,
@@ -35550,12 +35669,23 @@ namespace reference.`microsoft.graph.externalConnectors` {
35550
35669
  urlMatchInfo: urlMatchInfo | null;
35551
35670
  }
35552
35671
 
35672
+ @complex model principal {
35673
+ email: string | null;
35674
+ entraDisplayName: string | null;
35675
+ entraId: string | null;
35676
+ externalId: string | null;
35677
+ externalName: string | null;
35678
+ tenantId: string | null;
35679
+ upn: string | null;
35680
+ }
35681
+
35553
35682
  @open
35554
35683
  @complex model properties {
35555
35684
  }
35556
35685
 
35557
35686
  @complex model `property` {
35558
35687
  aliases: string[] | null;
35688
+ description: string | null;
35559
35689
  isQueryable: boolean | null;
35560
35690
  isRefinable: boolean | null;
35561
35691
  isRetrievable: boolean | null;
@@ -35609,6 +35739,7 @@ namespace reference.`microsoft.graph.externalConnectors` {
35609
35739
  activitySettings: activitySettings | null;
35610
35740
  configuration: configuration | null;
35611
35741
  connectorId: string | null;
35742
+ contentCategory: contentCategory;
35612
35743
  description: string | null;
35613
35744
  name: string | null;
35614
35745
  searchSettings: searchSettings | null;
@@ -35672,6 +35803,24 @@ namespace reference.`microsoft.graph.externalConnectors` {
35672
35803
  unknownFutureValue: 5,
35673
35804
  }
35674
35805
 
35806
+ enum contentCategory {
35807
+ uncategorized: 0,
35808
+ knowledgeBase: 1,
35809
+ wikis: 2,
35810
+ fileRepository: 3,
35811
+ qna: 4,
35812
+ crm: 5,
35813
+ dashboard: 6,
35814
+ people: 7,
35815
+ media: 8,
35816
+ email: 9,
35817
+ messaging: 10,
35818
+ meetingTranscripts: 11,
35819
+ taskManagement: 12,
35820
+ learningManagement: 13,
35821
+ unknownFutureValue: 14,
35822
+ }
35823
+
35675
35824
  enum externalActivityType {
35676
35825
  viewed: 1,
35677
35826
  modified: 2,
@@ -35704,7 +35853,45 @@ namespace reference.`microsoft.graph.externalConnectors` {
35704
35853
  fileName: 7,
35705
35854
  fileExtension: 8,
35706
35855
  unknownFutureValue: 12,
35856
+ containerName: 13,
35857
+ containerUrl: 14,
35707
35858
  iconUrl: 15,
35859
+ assignedToPeople: 16,
35860
+ closedBy: 17,
35861
+ closedDate: 18,
35862
+ priority: 19,
35863
+ sprintName: 20,
35864
+ tags: 21,
35865
+ severity: 22,
35866
+ state: 23,
35867
+ dueDate: 24,
35868
+ itemParentId: 25,
35869
+ itemPath: 26,
35870
+ itemType: 27,
35871
+ numberOfReactions: 28,
35872
+ parentUrl: 29,
35873
+ priorityNormalized: 30,
35874
+ reportedBy: 31,
35875
+ secondaryId: 32,
35876
+ personEmails: 33,
35877
+ personAddresses: 34,
35878
+ personAnniversaries: 35,
35879
+ personName: 36,
35880
+ personNote: 37,
35881
+ personPhones: 38,
35882
+ personCurrentPosition: 39,
35883
+ personWebAccounts: 40,
35884
+ personWebSite: 41,
35885
+ personSkills: 42,
35886
+ personProjects: 43,
35887
+ personAccount: 44,
35888
+ personAwards: 45,
35889
+ personCertifications: 46,
35890
+ personAssistants: 47,
35891
+ personColleagues: 48,
35892
+ personManager: 49,
35893
+ personAlternateContacts: 50,
35894
+ personEmergencyContacts: 51,
35708
35895
  }
35709
35896
 
35710
35897
  enum propertyType {
@@ -35718,6 +35905,8 @@ namespace reference.`microsoft.graph.externalConnectors` {
35718
35905
  doubleCollection: 7,
35719
35906
  dateTimeCollection: 8,
35720
35907
  unknownFutureValue: 9,
35908
+ principal: 10,
35909
+ principalCollection: 11,
35721
35910
  }
35722
35911
 
35723
35912
  enum ruleOperation {
@@ -38488,6 +38677,32 @@ namespace reference.`microsoft.graph.teamsAdministration` {
38488
38677
  policyId: string;
38489
38678
  }
38490
38679
 
38680
+ @complex model telephoneNumberLongRunningOperationDetails {
38681
+ resourceLocation: string | null;
38682
+ status: reference.`microsoft.graph`.longRunningOperationStatus | null;
38683
+ statusDetail: string | null;
38684
+ }
38685
+
38686
+ @entity model numberAssignment extends reference.`microsoft.graph`.entity {
38687
+ activationState: activationState;
38688
+ assignmentCategory: assignmentCategory | null;
38689
+ assignmentStatus: assignmentStatus | null;
38690
+ assignmentTargetId: string | null;
38691
+ capabilities: numberCapability[];
38692
+ city: string | null;
38693
+ civicAddressId: string | null;
38694
+ isoCountryCode: string | null;
38695
+ locationId: string | null;
38696
+ networkSiteId: string | null;
38697
+ numberSource: numberSource | null;
38698
+ numberType: numberType;
38699
+ operatorId: string;
38700
+ portInStatus: portInStatus | null;
38701
+ reverseNumberLookupOptions: reverseNumberLookupOption[];
38702
+ supportedCustomerActions: customerAction[];
38703
+ telephoneNumber: string;
38704
+ }
38705
+
38491
38706
  @entity model policyIdentifierDetail extends reference.`microsoft.graph`.entity {
38492
38707
  name: string;
38493
38708
  policyId: string;
@@ -38495,6 +38710,7 @@ namespace reference.`microsoft.graph.teamsAdministration` {
38495
38710
 
38496
38711
  @entity model teamsAdminRoot extends reference.`microsoft.graph`.entity {
38497
38712
  @contains policy: teamsPolicyAssignment | null;
38713
+ @contains telephoneNumberManagement: telephoneNumberManagementRoot | null;
38498
38714
  @contains userConfigurations: teamsUserConfiguration[];
38499
38715
  }
38500
38716
 
@@ -38521,6 +38737,17 @@ namespace reference.`microsoft.graph.teamsAdministration` {
38521
38737
  @references user: reference.`microsoft.graph`.user | null;
38522
38738
  }
38523
38739
 
38740
+ @entity model telephoneNumberLongRunningOperation extends reference.`microsoft.graph`.entity {
38741
+ @computed createdDateTime: string;
38742
+ numbers: telephoneNumberLongRunningOperationDetails[] | null;
38743
+ status: reference.`microsoft.graph`.longRunningOperationStatus;
38744
+ }
38745
+
38746
+ @entity model telephoneNumberManagementRoot extends reference.`microsoft.graph`.entity {
38747
+ @contains numberAssignments: numberAssignment[];
38748
+ @contains operations: telephoneNumberLongRunningOperation[];
38749
+ }
38750
+
38524
38751
  enum accountType {
38525
38752
  user: 0,
38526
38753
  resourceAccount: 1,
@@ -38531,6 +38758,15 @@ namespace reference.`microsoft.graph.teamsAdministration` {
38531
38758
  ineligibleUser: 6,
38532
38759
  }
38533
38760
 
38761
+ enum activationState {
38762
+ activated: 0,
38763
+ assignmentPending: 1,
38764
+ assignmentFailed: 2,
38765
+ updatePending: 3,
38766
+ updateFailed: 4,
38767
+ unknownFutureValue: 5,
38768
+ }
38769
+
38534
38770
  enum assignmentCategory {
38535
38771
  primary: 0,
38536
38772
  private: 1,
@@ -38538,12 +38774,62 @@ namespace reference.`microsoft.graph.teamsAdministration` {
38538
38774
  unknownFutureValue: 3,
38539
38775
  }
38540
38776
 
38777
+ enum assignmentStatus {
38778
+ unassigned: 0,
38779
+ internalError: 1,
38780
+ userAssigned: 2,
38781
+ conferenceAssigned: 3,
38782
+ voiceApplicationAssigned: 4,
38783
+ thirdPartyAppAssigned: 5,
38784
+ policyAssigned: 6,
38785
+ unknownFutureValue: 7,
38786
+ }
38787
+
38541
38788
  enum assignmentType {
38542
38789
  direct: 0,
38543
38790
  group: 1,
38544
38791
  unknownFutureValue: 2,
38545
38792
  }
38546
38793
 
38794
+ enum customerAction {
38795
+ locationUpdate: 0,
38796
+ release: 1,
38797
+ unknownFutureValue: 2,
38798
+ }
38799
+
38800
+ enum numberCapability {
38801
+ conferenceAssignment: 0,
38802
+ voiceApplicationAssignment: 1,
38803
+ userAssignment: 2,
38804
+ teamsPhoneMobile: 3,
38805
+ unknownFutureValue: 4,
38806
+ }
38807
+
38808
+ enum numberSource {
38809
+ online: 0,
38810
+ onPremises: 1,
38811
+ unknownFutureValue: 2,
38812
+ }
38813
+
38814
+ enum numberType {
38815
+ internalError: 0,
38816
+ directRouting: 1,
38817
+ callingPlan: 2,
38818
+ operatorConnect: 3,
38819
+ unknownFutureValue: 4,
38820
+ }
38821
+
38822
+ enum portInStatus {
38823
+ completed: 0,
38824
+ firmOrderCommitmentAccepted: 1,
38825
+ unknownFutureValue: 2,
38826
+ }
38827
+
38828
+ enum reverseNumberLookupOption {
38829
+ skipInternalVoip: 0,
38830
+ unknownFutureValue: 1,
38831
+ }
38832
+
38547
38833
  }
38548
38834
  @publicNamespace("microsoft.graph.termstore")
38549
38835
  namespace reference.`microsoft.graph.termStore` {