@microsoft/typespec-msgraph-reference 1.0.5 → 1.0.6

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.
@@ -1064,6 +1064,24 @@ namespace reference.`microsoft.graph` {
1064
1064
  targetId: string | null;
1065
1065
  }
1066
1066
 
1067
+ @complex model CopyNotebookModel {
1068
+ createdBy: string | null;
1069
+ createdByIdentity: identitySet | null;
1070
+ createdTime: offsetDateTime | null;
1071
+ id: string | null;
1072
+ isDefault: boolean | null;
1073
+ isShared: boolean | null;
1074
+ lastModifiedBy: string | null;
1075
+ lastModifiedByIdentity: identitySet | null;
1076
+ lastModifiedTime: offsetDateTime | null;
1077
+ links: notebookLinks | null;
1078
+ name: string | null;
1079
+ sectionGroupsUrl: string | null;
1080
+ sectionsUrl: string | null;
1081
+ self: string | null;
1082
+ userRole: onenoteUserRole | null;
1083
+ }
1084
+
1067
1085
  @complex model crossTenantAccessPolicyB2BSetting {
1068
1086
  applications: crossTenantAccessPolicyTargetConfiguration | null;
1069
1087
  usersAndGroups: crossTenantAccessPolicyTargetConfiguration | null;
@@ -1264,6 +1282,11 @@ namespace reference.`microsoft.graph` {
1264
1282
  @complex model deviceRegistrationMembership {
1265
1283
  }
1266
1284
 
1285
+ @complex model diagnostic {
1286
+ message: string | null;
1287
+ url: string | null;
1288
+ }
1289
+
1267
1290
  @open
1268
1291
  @complex model Dictionary {
1269
1292
  }
@@ -1402,6 +1425,10 @@ namespace reference.`microsoft.graph` {
1402
1425
  issuerUri: string | null;
1403
1426
  }
1404
1427
 
1428
+ @complex model externalLink {
1429
+ href: string | null;
1430
+ }
1431
+
1405
1432
  @complex model externalSponsors extends subjectSet {
1406
1433
  }
1407
1434
 
@@ -2041,6 +2068,11 @@ namespace reference.`microsoft.graph` {
2041
2068
  @complex model noScopes extends inheritableScopes {
2042
2069
  }
2043
2070
 
2071
+ @complex model notebookLinks {
2072
+ oneNoteClientUrl: externalLink | null;
2073
+ oneNoteWebUrl: externalLink | null;
2074
+ }
2075
+
2044
2076
  @complex model numberColumn {
2045
2077
  decimalPlaces: string | null;
2046
2078
  displayAs: string | null;
@@ -2082,6 +2114,27 @@ namespace reference.`microsoft.graph` {
2082
2114
  value: string | null;
2083
2115
  }
2084
2116
 
2117
+ @complex model onenoteOperationError {
2118
+ code: string | null;
2119
+ message: string | null;
2120
+ }
2121
+
2122
+ @complex model onenotePagePreview {
2123
+ links: onenotePagePreviewLinks | null;
2124
+ previewText: string | null;
2125
+ }
2126
+
2127
+ @complex model onenotePagePreviewLinks {
2128
+ previewImageUrl: externalLink | null;
2129
+ }
2130
+
2131
+ @complex model onenotePatchContentCommand {
2132
+ action: onenotePatchActionType;
2133
+ content: string | null;
2134
+ position: onenotePatchInsertPosition | null;
2135
+ target: string;
2136
+ }
2137
+
2085
2138
  @complex model onlineMeetingInfo {
2086
2139
  conferenceId: string | null;
2087
2140
  joinUrl: string | null;
@@ -2106,6 +2159,7 @@ namespace reference.`microsoft.graph` {
2106
2159
  }
2107
2160
 
2108
2161
  @complex model onPremisesDirectorySynchronizationFeature {
2162
+ allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled: boolean | null;
2109
2163
  blockCloudObjectTakeoverThroughHardMatchEnabled: boolean | null;
2110
2164
  blockSoftMatchEnabled: boolean | null;
2111
2165
  bypassDirSyncOverridesEnabled: boolean | null;
@@ -2200,6 +2254,11 @@ namespace reference.`microsoft.graph` {
2200
2254
  type: string | null;
2201
2255
  }
2202
2256
 
2257
+ @complex model pageLinks {
2258
+ oneNoteClientUrl: externalLink | null;
2259
+ oneNoteWebUrl: externalLink | null;
2260
+ }
2261
+
2203
2262
  @complex model parentalControlSettings {
2204
2263
  countriesBlockedForMinors: string[] | null;
2205
2264
  legalAgeGroupRule: string | null;
@@ -2652,6 +2711,18 @@ namespace reference.`microsoft.graph` {
2652
2711
  shareCount: int32 | null;
2653
2712
  }
2654
2713
 
2714
+ @complex model recentNotebook {
2715
+ displayName: string | null;
2716
+ lastAccessedTime: offsetDateTime | null;
2717
+ links: recentNotebookLinks | null;
2718
+ sourceService: onenoteSourceService | null;
2719
+ }
2720
+
2721
+ @complex model recentNotebookLinks {
2722
+ oneNoteClientUrl: externalLink | null;
2723
+ oneNoteWebUrl: externalLink | null;
2724
+ }
2725
+
2655
2726
  @complex model recipient {
2656
2727
  emailAddress: emailAddress | null;
2657
2728
  }
@@ -2847,6 +2918,11 @@ namespace reference.`microsoft.graph` {
2847
2918
  onClickTelemetryUrl: string | null;
2848
2919
  }
2849
2920
 
2921
+ @complex model sectionLinks {
2922
+ oneNoteClientUrl: externalLink | null;
2923
+ oneNoteWebUrl: externalLink | null;
2924
+ }
2925
+
2850
2926
  @complex model secureScoreControlStateUpdate {
2851
2927
  assignedTo: string | null;
2852
2928
  comment: string | null;
@@ -5416,7 +5492,7 @@ namespace reference.`microsoft.graph` {
5416
5492
  description: string | null;
5417
5493
  issuer: string;
5418
5494
  name: string;
5419
- subject: string;
5495
+ subject: string | null;
5420
5496
  }
5421
5497
 
5422
5498
  @entity model fido2AuthenticationMethod extends authenticationMethod {
@@ -5521,6 +5597,7 @@ namespace reference.`microsoft.graph` {
5521
5597
  @references memberOf: directoryObject[];
5522
5598
  @references members: directoryObject[];
5523
5599
  @references membersWithLicenseErrors: directoryObject[];
5600
+ @contains onenote: onenote | null;
5524
5601
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
5525
5602
  @references owners: directoryObject[];
5526
5603
  @contains photo: profilePhoto | null;
@@ -5855,6 +5932,17 @@ namespace reference.`microsoft.graph` {
5855
5932
  modifiedDateTime: offsetDateTime | null;
5856
5933
  }
5857
5934
 
5935
+ @entity model notebook extends onenoteEntityHierarchyModel {
5936
+ isDefault: boolean | null;
5937
+ isShared: boolean | null;
5938
+ links: notebookLinks | null;
5939
+ sectionGroupsUrl: string | null;
5940
+ sectionsUrl: string | null;
5941
+ userRole: onenoteUserRole | null;
5942
+ @contains sectionGroups: sectionGroup[];
5943
+ @contains sections: onenoteSection[];
5944
+ }
5945
+
5858
5946
  @entity model oAuth2PermissionGrant extends entity {
5859
5947
  clientId: string;
5860
5948
  consentType: string | null;
@@ -5863,6 +5951,68 @@ namespace reference.`microsoft.graph` {
5863
5951
  scope: string | null;
5864
5952
  }
5865
5953
 
5954
+ @entity model onenote extends entity {
5955
+ @contains notebooks: notebook[];
5956
+ @contains operations: onenoteOperation[];
5957
+ @contains pages: onenotePage[];
5958
+ @contains resources: onenoteResource[];
5959
+ @contains sectionGroups: sectionGroup[];
5960
+ @contains sections: onenoteSection[];
5961
+ }
5962
+
5963
+ @abstract
5964
+ @entity model onenoteEntityBaseModel extends entity {
5965
+ self: string | null;
5966
+ }
5967
+
5968
+ @abstract
5969
+ @entity model onenoteEntityHierarchyModel extends onenoteEntitySchemaObjectModel {
5970
+ createdBy: identitySet | null;
5971
+ displayName: string | null;
5972
+ lastModifiedBy: identitySet | null;
5973
+ @computed lastModifiedDateTime: offsetDateTime | null;
5974
+ }
5975
+
5976
+ @abstract
5977
+ @entity model onenoteEntitySchemaObjectModel extends onenoteEntityBaseModel {
5978
+ @computed createdDateTime: offsetDateTime | null;
5979
+ }
5980
+
5981
+ @entity model onenoteOperation extends operation {
5982
+ error: onenoteOperationError | null;
5983
+ percentComplete: string | null;
5984
+ resourceId: string | null;
5985
+ resourceLocation: string | null;
5986
+ }
5987
+
5988
+ @entity model onenotePage extends onenoteEntitySchemaObjectModel {
5989
+ content: stream | null;
5990
+ contentUrl: string | null;
5991
+ createdByAppId: string | null;
5992
+ @computed lastModifiedDateTime: offsetDateTime | null;
5993
+ level: int32 | null;
5994
+ links: pageLinks | null;
5995
+ order: int32 | null;
5996
+ title: string | null;
5997
+ userTags: string[] | null;
5998
+ @contains parentNotebook: notebook | null;
5999
+ @contains parentSection: onenoteSection | null;
6000
+ }
6001
+
6002
+ @entity model onenoteResource extends onenoteEntityBaseModel {
6003
+ content: stream | null;
6004
+ contentUrl: string | null;
6005
+ }
6006
+
6007
+ @entity model onenoteSection extends onenoteEntityHierarchyModel {
6008
+ isDefault: boolean | null;
6009
+ links: sectionLinks | null;
6010
+ pagesUrl: string | null;
6011
+ @contains pages: onenotePage[];
6012
+ @contains parentNotebook: notebook | null;
6013
+ @contains parentSectionGroup: sectionGroup | null;
6014
+ }
6015
+
5866
6016
  @open
5867
6017
  @entity model onlineMeeting extends entity {
5868
6018
  allowAttendeeToEnableCamera: boolean | null;
@@ -5908,6 +6058,12 @@ namespace reference.`microsoft.graph` {
5908
6058
  extensionName: string;
5909
6059
  }
5910
6060
 
6061
+ @entity model operation extends entity {
6062
+ @computed createdDateTime: offsetDateTime | null;
6063
+ @computed lastActionDateTime: offsetDateTime | null;
6064
+ status: operationStatus | null;
6065
+ }
6066
+
5911
6067
  @open
5912
6068
  @entity model organization extends directoryObject {
5913
6069
  assignedPlans: assignedPlan[];
@@ -6583,6 +6739,15 @@ namespace reference.`microsoft.graph` {
6583
6739
  roleMemberInfo: identity;
6584
6740
  }
6585
6741
 
6742
+ @entity model sectionGroup extends onenoteEntityHierarchyModel {
6743
+ sectionGroupsUrl: string | null;
6744
+ sectionsUrl: string | null;
6745
+ @contains parentNotebook: notebook | null;
6746
+ @contains parentSectionGroup: sectionGroup | null;
6747
+ @contains sectionGroups: sectionGroup[];
6748
+ @contains sections: onenoteSection[];
6749
+ }
6750
+
6586
6751
  @open
6587
6752
  @entity model secureScore extends entity {
6588
6753
  activeUserCount: int32 | null;
@@ -6861,6 +7026,7 @@ namespace reference.`microsoft.graph` {
6861
7026
  @references externalColumns: columnDefinition[];
6862
7027
  @contains items: baseItem[];
6863
7028
  @contains lists: list[];
7029
+ @contains onenote: onenote | null;
6864
7030
  @contains operations: richLongRunningOperation[];
6865
7031
  @contains pages: baseSitePage[];
6866
7032
  @contains permissions: permission[];
@@ -7505,6 +7671,7 @@ namespace reference.`microsoft.graph` {
7505
7671
  @references memberOf: directoryObject[];
7506
7672
  @contains messages: message[];
7507
7673
  @references oauth2PermissionGrants: oAuth2PermissionGrant[];
7674
+ @contains onenote: onenote | null;
7508
7675
  @contains onlineMeetings: onlineMeeting[];
7509
7676
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
7510
7677
  @contains outlook: outlookUser | null;
@@ -9284,6 +9451,37 @@ namespace reference.`microsoft.graph` {
9284
9451
  Unsynchronized: 6,
9285
9452
  }
9286
9453
 
9454
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9455
+ enum onenotePatchActionType {
9456
+ Replace: 0,
9457
+ Append: 1,
9458
+ Delete: 2,
9459
+ Insert: 3,
9460
+ Prepend: 4,
9461
+ }
9462
+
9463
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9464
+ enum onenotePatchInsertPosition {
9465
+ After: 0,
9466
+ Before: 1,
9467
+ }
9468
+
9469
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9470
+ enum onenoteSourceService {
9471
+ `Unknown`: 0,
9472
+ OneDrive: 1,
9473
+ OneDriveForBusiness: 2,
9474
+ OnPremOneDriveForBusiness: 3,
9475
+ }
9476
+
9477
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9478
+ enum onenoteUserRole {
9479
+ None: -1,
9480
+ Owner: 0,
9481
+ Contributor: 1,
9482
+ Reader: 2,
9483
+ }
9484
+
9287
9485
  @graphFlags
9288
9486
  enum onlineMeetingContentSharingDisabledReason {
9289
9487
  watermarkProtection: 1,
@@ -10466,6 +10664,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
10466
10664
  triggerAttributes: triggerAttribute[];
10467
10665
  }
10468
10666
 
10667
+ @complex model countBasedQuarantineCondition extends quarantineCondition {
10668
+ threshold: int64;
10669
+ }
10670
+
10469
10671
  @complex model customTaskExtensionCallbackConfiguration extends reference.`microsoft.graph`.customExtensionCallbackConfiguration {
10470
10672
  @references authorizedApps: reference.`microsoft.graph`.application[];
10471
10673
  }
@@ -10498,6 +10700,32 @@ namespace reference.`microsoft.graph.identityGovernance` {
10498
10700
  valueType: valueType;
10499
10701
  }
10500
10702
 
10703
+ @complex model percentageBasedQuarantineCondition extends quarantineCondition {
10704
+ percentage: int32;
10705
+ }
10706
+
10707
+ @complex model previewFailedTask {
10708
+ definitionId: string;
10709
+ failureReason: string;
10710
+ name: string;
10711
+ taskId: string;
10712
+ }
10713
+
10714
+ @abstract
10715
+ @complex model quarantineCondition {
10716
+ }
10717
+
10718
+ @complex model quarantineConfiguration {
10719
+ conditions: quarantineCondition[];
10720
+ matchMode: matchMode;
10721
+ }
10722
+
10723
+ @complex model quarantineDetails {
10724
+ quarantinedDateTime: offsetDateTime | null;
10725
+ quarantineReason: string | null;
10726
+ quarantineType: quarantineType;
10727
+ }
10728
+
10501
10729
  @complex model ruleBasedSubjectSet extends reference.`microsoft.graph`.subjectSet {
10502
10730
  rule: string;
10503
10731
  }
@@ -10584,6 +10812,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
10584
10812
  @complex model workflowExecutionTrigger {
10585
10813
  }
10586
10814
 
10815
+ @complex model workflowSetting {
10816
+ quarantineConfiguration: quarantineConfiguration | null;
10817
+ }
10818
+
10587
10819
  @complex model workflowsInsightsByCategory {
10588
10820
  failedJoinerRuns: int32;
10589
10821
  failedLeaverRuns: int32;
@@ -10621,6 +10853,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10621
10853
 
10622
10854
  @entity model lifecycleManagementSettings extends reference.`microsoft.graph`.entity {
10623
10855
  emailSettings: reference.`microsoft.graph`.emailSettings;
10856
+ quarantineConfiguration: quarantineConfiguration | null;
10624
10857
  workflowScheduleIntervalInHours: int32;
10625
10858
  }
10626
10859
 
@@ -10678,6 +10911,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10678
10911
  completedDateTime: offsetDateTime | null;
10679
10912
  @computed createdDateTime: offsetDateTime;
10680
10913
  failureReason: string | null;
10914
+ processingInfo: string | null;
10681
10915
  processingStatus: lifecycleWorkflowProcessingStatus;
10682
10916
  startedDateTime: offsetDateTime | null;
10683
10917
  @references subject: reference.`microsoft.graph`.user;
@@ -10718,8 +10952,11 @@ namespace reference.`microsoft.graph.identityGovernance` {
10718
10952
  deletedDateTime: offsetDateTime | null;
10719
10953
  @computed @key id: string;
10720
10954
  nextScheduleRunDateTime: offsetDateTime | null;
10955
+ quarantineDetails: quarantineDetails;
10956
+ settings: workflowSetting;
10721
10957
  version: int32 | null;
10722
10958
  @references executionScope: userProcessingResult[];
10959
+ @references previewScope: reference.`microsoft.graph`.directoryObject[];
10723
10960
  @contains runs: run[];
10724
10961
  @contains taskReports: taskReport[];
10725
10962
  @contains userProcessingResults: userProcessingResult[];
@@ -10751,6 +10988,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10751
10988
  }
10752
10989
 
10753
10990
  @entity model workflowVersion extends workflowBase {
10991
+ settings: workflowSetting;
10754
10992
  @computed @key versionNumber: int32;
10755
10993
  }
10756
10994
 
@@ -10795,6 +11033,13 @@ namespace reference.`microsoft.graph.identityGovernance` {
10795
11033
  canceled: 4,
10796
11034
  failed: 5,
10797
11035
  unknownFutureValue: 6,
11036
+ quarantined: 8,
11037
+ }
11038
+
11039
+ enum matchMode {
11040
+ any: 0,
11041
+ all: 1,
11042
+ unknownFutureValue: 2,
10798
11043
  }
10799
11044
 
10800
11045
  enum membershipChangeType {
@@ -10803,6 +11048,14 @@ namespace reference.`microsoft.graph.identityGovernance` {
10803
11048
  unknownFutureValue: 3,
10804
11049
  }
10805
11050
 
11051
+ enum quarantineType {
11052
+ notQuarantined: 0,
11053
+ countBasedThresholdExceeded: 1,
11054
+ percentageBasedThresholdExceeded: 2,
11055
+ multipleConditionsExceeded: 3,
11056
+ unknownFutureValue: 4,
11057
+ }
11058
+
10806
11059
  enum valueType {
10807
11060
  `enum`: 0,
10808
11061
  `string`: 1,
@@ -10816,6 +11069,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10816
11069
  onDemand: 1,
10817
11070
  unknownFutureValue: 2,
10818
11071
  activatedWithScope: 3,
11072
+ preview: 4,
10819
11073
  }
10820
11074
 
10821
11075
  enum workflowTriggerTimeBasedAttribute {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/typespec-msgraph-reference",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Reference models for Microsoft Graph across multiple clouds",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -73,7 +73,7 @@
73
73
  "dependencies": {
74
74
  "@typespec/compiler": "~1.9.0",
75
75
  "@typespec/http": "~1.9.0",
76
- "@microsoft/typespec-msgraph": "1.1.1"
76
+ "@microsoft/typespec-msgraph": "1.2.0"
77
77
  },
78
78
  "devDependencies": {
79
79
  "typescript": "~5.9.2"