@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.
@@ -1081,6 +1081,24 @@ namespace reference.`microsoft.graph` {
1081
1081
  targetId: string | null;
1082
1082
  }
1083
1083
 
1084
+ @complex model CopyNotebookModel {
1085
+ createdBy: string | null;
1086
+ createdByIdentity: identitySet | null;
1087
+ createdTime: offsetDateTime | null;
1088
+ id: string | null;
1089
+ isDefault: boolean | null;
1090
+ isShared: boolean | null;
1091
+ lastModifiedBy: string | null;
1092
+ lastModifiedByIdentity: identitySet | null;
1093
+ lastModifiedTime: offsetDateTime | null;
1094
+ links: notebookLinks | null;
1095
+ name: string | null;
1096
+ sectionGroupsUrl: string | null;
1097
+ sectionsUrl: string | null;
1098
+ self: string | null;
1099
+ userRole: onenoteUserRole | null;
1100
+ }
1101
+
1084
1102
  @complex model crossTenantAccessPolicyB2BSetting {
1085
1103
  applications: crossTenantAccessPolicyTargetConfiguration | null;
1086
1104
  usersAndGroups: crossTenantAccessPolicyTargetConfiguration | null;
@@ -1305,6 +1323,11 @@ namespace reference.`microsoft.graph` {
1305
1323
  triggers: restrictionTrigger[] | null;
1306
1324
  }
1307
1325
 
1326
+ @complex model diagnostic {
1327
+ message: string | null;
1328
+ url: string | null;
1329
+ }
1330
+
1308
1331
  @complex model disableAndDeleteUserApplyAction extends accessReviewApplyAction {
1309
1332
  }
1310
1333
 
@@ -1528,6 +1551,10 @@ namespace reference.`microsoft.graph` {
1528
1551
  issuerUri: string | null;
1529
1552
  }
1530
1553
 
1554
+ @complex model externalLink {
1555
+ href: string | null;
1556
+ }
1557
+
1531
1558
  @complex model externalSponsors extends subjectSet {
1532
1559
  }
1533
1560
 
@@ -2205,6 +2232,11 @@ namespace reference.`microsoft.graph` {
2205
2232
  @complex model noScopes extends inheritableScopes {
2206
2233
  }
2207
2234
 
2235
+ @complex model notebookLinks {
2236
+ oneNoteClientUrl: externalLink | null;
2237
+ oneNoteWebUrl: externalLink | null;
2238
+ }
2239
+
2208
2240
  @complex model notifyUserAction extends dlpActionInfo {
2209
2241
  @computed actionLastModifiedDateTime: offsetDateTime | null;
2210
2242
  emailText: string | null;
@@ -2254,6 +2286,27 @@ namespace reference.`microsoft.graph` {
2254
2286
  value: string | null;
2255
2287
  }
2256
2288
 
2289
+ @complex model onenoteOperationError {
2290
+ code: string | null;
2291
+ message: string | null;
2292
+ }
2293
+
2294
+ @complex model onenotePagePreview {
2295
+ links: onenotePagePreviewLinks | null;
2296
+ previewText: string | null;
2297
+ }
2298
+
2299
+ @complex model onenotePagePreviewLinks {
2300
+ previewImageUrl: externalLink | null;
2301
+ }
2302
+
2303
+ @complex model onenotePatchContentCommand {
2304
+ action: onenotePatchActionType;
2305
+ content: string | null;
2306
+ position: onenotePatchInsertPosition | null;
2307
+ target: string;
2308
+ }
2309
+
2257
2310
  @complex model onlineMeetingInfo {
2258
2311
  conferenceId: string | null;
2259
2312
  joinUrl: string | null;
@@ -2278,6 +2331,7 @@ namespace reference.`microsoft.graph` {
2278
2331
  }
2279
2332
 
2280
2333
  @complex model onPremisesDirectorySynchronizationFeature {
2334
+ allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled: boolean | null;
2281
2335
  blockCloudObjectTakeoverThroughHardMatchEnabled: boolean | null;
2282
2336
  blockSoftMatchEnabled: boolean | null;
2283
2337
  bypassDirSyncOverridesEnabled: boolean | null;
@@ -2367,6 +2421,11 @@ namespace reference.`microsoft.graph` {
2367
2421
  type: string | null;
2368
2422
  }
2369
2423
 
2424
+ @complex model pageLinks {
2425
+ oneNoteClientUrl: externalLink | null;
2426
+ oneNoteWebUrl: externalLink | null;
2427
+ }
2428
+
2370
2429
  @complex model parentalControlSettings {
2371
2430
  countriesBlockedForMinors: string[] | null;
2372
2431
  legalAgeGroupRule: string | null;
@@ -2734,6 +2793,18 @@ namespace reference.`microsoft.graph` {
2734
2793
  shareCount: int32 | null;
2735
2794
  }
2736
2795
 
2796
+ @complex model recentNotebook {
2797
+ displayName: string | null;
2798
+ lastAccessedTime: offsetDateTime | null;
2799
+ links: recentNotebookLinks | null;
2800
+ sourceService: onenoteSourceService | null;
2801
+ }
2802
+
2803
+ @complex model recentNotebookLinks {
2804
+ oneNoteClientUrl: externalLink | null;
2805
+ oneNoteWebUrl: externalLink | null;
2806
+ }
2807
+
2737
2808
  @complex model recipient {
2738
2809
  emailAddress: emailAddress | null;
2739
2810
  }
@@ -2927,6 +2998,11 @@ namespace reference.`microsoft.graph` {
2927
2998
  onClickTelemetryUrl: string | null;
2928
2999
  }
2929
3000
 
3001
+ @complex model sectionLinks {
3002
+ oneNoteClientUrl: externalLink | null;
3003
+ oneNoteWebUrl: externalLink | null;
3004
+ }
3005
+
2930
3006
  @complex model secureScoreControlStateUpdate {
2931
3007
  assignedTo: string | null;
2932
3008
  comment: string | null;
@@ -5554,7 +5630,7 @@ namespace reference.`microsoft.graph` {
5554
5630
  description: string | null;
5555
5631
  issuer: string;
5556
5632
  name: string;
5557
- subject: string;
5633
+ subject: string | null;
5558
5634
  }
5559
5635
 
5560
5636
  @entity model fido2AuthenticationMethod extends authenticationMethod {
@@ -5664,6 +5740,7 @@ namespace reference.`microsoft.graph` {
5664
5740
  @references memberOf: directoryObject[];
5665
5741
  @references members: directoryObject[];
5666
5742
  @references membersWithLicenseErrors: directoryObject[];
5743
+ @contains onenote: onenote | null;
5667
5744
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
5668
5745
  @references owners: directoryObject[];
5669
5746
  @contains photo: profilePhoto | null;
@@ -6016,6 +6093,17 @@ namespace reference.`microsoft.graph` {
6016
6093
  modifiedDateTime: offsetDateTime | null;
6017
6094
  }
6018
6095
 
6096
+ @entity model notebook extends onenoteEntityHierarchyModel {
6097
+ isDefault: boolean | null;
6098
+ isShared: boolean | null;
6099
+ links: notebookLinks | null;
6100
+ sectionGroupsUrl: string | null;
6101
+ sectionsUrl: string | null;
6102
+ userRole: onenoteUserRole | null;
6103
+ @contains sectionGroups: sectionGroup[];
6104
+ @contains sections: onenoteSection[];
6105
+ }
6106
+
6019
6107
  @entity model oAuth2PermissionGrant extends entity {
6020
6108
  clientId: string;
6021
6109
  consentType: string | null;
@@ -6024,6 +6112,68 @@ namespace reference.`microsoft.graph` {
6024
6112
  scope: string | null;
6025
6113
  }
6026
6114
 
6115
+ @entity model onenote extends entity {
6116
+ @contains notebooks: notebook[];
6117
+ @contains operations: onenoteOperation[];
6118
+ @contains pages: onenotePage[];
6119
+ @contains resources: onenoteResource[];
6120
+ @contains sectionGroups: sectionGroup[];
6121
+ @contains sections: onenoteSection[];
6122
+ }
6123
+
6124
+ @abstract
6125
+ @entity model onenoteEntityBaseModel extends entity {
6126
+ self: string | null;
6127
+ }
6128
+
6129
+ @abstract
6130
+ @entity model onenoteEntityHierarchyModel extends onenoteEntitySchemaObjectModel {
6131
+ createdBy: identitySet | null;
6132
+ displayName: string | null;
6133
+ lastModifiedBy: identitySet | null;
6134
+ @computed lastModifiedDateTime: offsetDateTime | null;
6135
+ }
6136
+
6137
+ @abstract
6138
+ @entity model onenoteEntitySchemaObjectModel extends onenoteEntityBaseModel {
6139
+ @computed createdDateTime: offsetDateTime | null;
6140
+ }
6141
+
6142
+ @entity model onenoteOperation extends operation {
6143
+ error: onenoteOperationError | null;
6144
+ percentComplete: string | null;
6145
+ resourceId: string | null;
6146
+ resourceLocation: string | null;
6147
+ }
6148
+
6149
+ @entity model onenotePage extends onenoteEntitySchemaObjectModel {
6150
+ content: stream | null;
6151
+ contentUrl: string | null;
6152
+ createdByAppId: string | null;
6153
+ @computed lastModifiedDateTime: offsetDateTime | null;
6154
+ level: int32 | null;
6155
+ links: pageLinks | null;
6156
+ order: int32 | null;
6157
+ title: string | null;
6158
+ userTags: string[] | null;
6159
+ @contains parentNotebook: notebook | null;
6160
+ @contains parentSection: onenoteSection | null;
6161
+ }
6162
+
6163
+ @entity model onenoteResource extends onenoteEntityBaseModel {
6164
+ content: stream | null;
6165
+ contentUrl: string | null;
6166
+ }
6167
+
6168
+ @entity model onenoteSection extends onenoteEntityHierarchyModel {
6169
+ isDefault: boolean | null;
6170
+ links: sectionLinks | null;
6171
+ pagesUrl: string | null;
6172
+ @contains pages: onenotePage[];
6173
+ @contains parentNotebook: notebook | null;
6174
+ @contains parentSectionGroup: sectionGroup | null;
6175
+ }
6176
+
6027
6177
  @open
6028
6178
  @entity model onlineMeeting extends entity {
6029
6179
  allowAttendeeToEnableCamera: boolean | null;
@@ -6069,6 +6219,12 @@ namespace reference.`microsoft.graph` {
6069
6219
  extensionName: string;
6070
6220
  }
6071
6221
 
6222
+ @entity model operation extends entity {
6223
+ @computed createdDateTime: offsetDateTime | null;
6224
+ @computed lastActionDateTime: offsetDateTime | null;
6225
+ status: operationStatus | null;
6226
+ }
6227
+
6072
6228
  @open
6073
6229
  @entity model organization extends directoryObject {
6074
6230
  assignedPlans: assignedPlan[];
@@ -6744,6 +6900,15 @@ namespace reference.`microsoft.graph` {
6744
6900
  roleMemberInfo: identity;
6745
6901
  }
6746
6902
 
6903
+ @entity model sectionGroup extends onenoteEntityHierarchyModel {
6904
+ sectionGroupsUrl: string | null;
6905
+ sectionsUrl: string | null;
6906
+ @contains parentNotebook: notebook | null;
6907
+ @contains parentSectionGroup: sectionGroup | null;
6908
+ @contains sectionGroups: sectionGroup[];
6909
+ @contains sections: onenoteSection[];
6910
+ }
6911
+
6747
6912
  @open
6748
6913
  @entity model secureScore extends entity {
6749
6914
  activeUserCount: int32 | null;
@@ -7061,6 +7226,7 @@ namespace reference.`microsoft.graph` {
7061
7226
  @references externalColumns: columnDefinition[];
7062
7227
  @contains items: baseItem[];
7063
7228
  @contains lists: list[];
7229
+ @contains onenote: onenote | null;
7064
7230
  @contains operations: richLongRunningOperation[];
7065
7231
  @contains pages: baseSitePage[];
7066
7232
  @contains permissions: permission[];
@@ -7705,6 +7871,7 @@ namespace reference.`microsoft.graph` {
7705
7871
  @references memberOf: directoryObject[];
7706
7872
  @contains messages: message[];
7707
7873
  @references oauth2PermissionGrants: oAuth2PermissionGrant[];
7874
+ @contains onenote: onenote | null;
7708
7875
  @contains onlineMeetings: onlineMeeting[];
7709
7876
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
7710
7877
  @contains outlook: outlookUser | null;
@@ -9500,6 +9667,37 @@ namespace reference.`microsoft.graph` {
9500
9667
  Unsynchronized: 6,
9501
9668
  }
9502
9669
 
9670
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9671
+ enum onenotePatchActionType {
9672
+ Replace: 0,
9673
+ Append: 1,
9674
+ Delete: 2,
9675
+ Insert: 3,
9676
+ Prepend: 4,
9677
+ }
9678
+
9679
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9680
+ enum onenotePatchInsertPosition {
9681
+ After: 0,
9682
+ Before: 1,
9683
+ }
9684
+
9685
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9686
+ enum onenoteSourceService {
9687
+ `Unknown`: 0,
9688
+ OneDrive: 1,
9689
+ OneDriveForBusiness: 2,
9690
+ OnPremOneDriveForBusiness: 3,
9691
+ }
9692
+
9693
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
9694
+ enum onenoteUserRole {
9695
+ None: -1,
9696
+ Owner: 0,
9697
+ Contributor: 1,
9698
+ Reader: 2,
9699
+ }
9700
+
9503
9701
  @graphFlags
9504
9702
  enum onlineMeetingContentSharingDisabledReason {
9505
9703
  watermarkProtection: 1,
@@ -10679,6 +10877,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
10679
10877
  triggerAttributes: triggerAttribute[];
10680
10878
  }
10681
10879
 
10880
+ @complex model countBasedQuarantineCondition extends quarantineCondition {
10881
+ threshold: int64;
10882
+ }
10883
+
10682
10884
  @complex model customTaskExtensionCallbackConfiguration extends reference.`microsoft.graph`.customExtensionCallbackConfiguration {
10683
10885
  @references authorizedApps: reference.`microsoft.graph`.application[];
10684
10886
  }
@@ -10711,6 +10913,32 @@ namespace reference.`microsoft.graph.identityGovernance` {
10711
10913
  valueType: valueType;
10712
10914
  }
10713
10915
 
10916
+ @complex model percentageBasedQuarantineCondition extends quarantineCondition {
10917
+ percentage: int32;
10918
+ }
10919
+
10920
+ @complex model previewFailedTask {
10921
+ definitionId: string;
10922
+ failureReason: string;
10923
+ name: string;
10924
+ taskId: string;
10925
+ }
10926
+
10927
+ @abstract
10928
+ @complex model quarantineCondition {
10929
+ }
10930
+
10931
+ @complex model quarantineConfiguration {
10932
+ conditions: quarantineCondition[];
10933
+ matchMode: matchMode;
10934
+ }
10935
+
10936
+ @complex model quarantineDetails {
10937
+ quarantinedDateTime: offsetDateTime | null;
10938
+ quarantineReason: string | null;
10939
+ quarantineType: quarantineType;
10940
+ }
10941
+
10714
10942
  @complex model ruleBasedSubjectSet extends reference.`microsoft.graph`.subjectSet {
10715
10943
  rule: string;
10716
10944
  }
@@ -10797,6 +11025,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
10797
11025
  @complex model workflowExecutionTrigger {
10798
11026
  }
10799
11027
 
11028
+ @complex model workflowSetting {
11029
+ quarantineConfiguration: quarantineConfiguration | null;
11030
+ }
11031
+
10800
11032
  @complex model workflowsInsightsByCategory {
10801
11033
  failedJoinerRuns: int32;
10802
11034
  failedLeaverRuns: int32;
@@ -10834,6 +11066,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10834
11066
 
10835
11067
  @entity model lifecycleManagementSettings extends reference.`microsoft.graph`.entity {
10836
11068
  emailSettings: reference.`microsoft.graph`.emailSettings;
11069
+ quarantineConfiguration: quarantineConfiguration | null;
10837
11070
  workflowScheduleIntervalInHours: int32;
10838
11071
  }
10839
11072
 
@@ -10891,6 +11124,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10891
11124
  completedDateTime: offsetDateTime | null;
10892
11125
  @computed createdDateTime: offsetDateTime;
10893
11126
  failureReason: string | null;
11127
+ processingInfo: string | null;
10894
11128
  processingStatus: lifecycleWorkflowProcessingStatus;
10895
11129
  startedDateTime: offsetDateTime | null;
10896
11130
  @references subject: reference.`microsoft.graph`.user;
@@ -10931,8 +11165,11 @@ namespace reference.`microsoft.graph.identityGovernance` {
10931
11165
  deletedDateTime: offsetDateTime | null;
10932
11166
  @computed @key id: string;
10933
11167
  nextScheduleRunDateTime: offsetDateTime | null;
11168
+ quarantineDetails: quarantineDetails;
11169
+ settings: workflowSetting;
10934
11170
  version: int32 | null;
10935
11171
  @references executionScope: userProcessingResult[];
11172
+ @references previewScope: reference.`microsoft.graph`.directoryObject[];
10936
11173
  @contains runs: run[];
10937
11174
  @contains taskReports: taskReport[];
10938
11175
  @contains userProcessingResults: userProcessingResult[];
@@ -10964,6 +11201,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
10964
11201
  }
10965
11202
 
10966
11203
  @entity model workflowVersion extends workflowBase {
11204
+ settings: workflowSetting;
10967
11205
  @computed @key versionNumber: int32;
10968
11206
  }
10969
11207
 
@@ -11008,6 +11246,13 @@ namespace reference.`microsoft.graph.identityGovernance` {
11008
11246
  canceled: 4,
11009
11247
  failed: 5,
11010
11248
  unknownFutureValue: 6,
11249
+ quarantined: 8,
11250
+ }
11251
+
11252
+ enum matchMode {
11253
+ any: 0,
11254
+ all: 1,
11255
+ unknownFutureValue: 2,
11011
11256
  }
11012
11257
 
11013
11258
  enum membershipChangeType {
@@ -11016,6 +11261,14 @@ namespace reference.`microsoft.graph.identityGovernance` {
11016
11261
  unknownFutureValue: 3,
11017
11262
  }
11018
11263
 
11264
+ enum quarantineType {
11265
+ notQuarantined: 0,
11266
+ countBasedThresholdExceeded: 1,
11267
+ percentageBasedThresholdExceeded: 2,
11268
+ multipleConditionsExceeded: 3,
11269
+ unknownFutureValue: 4,
11270
+ }
11271
+
11019
11272
  enum valueType {
11020
11273
  `enum`: 0,
11021
11274
  `string`: 1,
@@ -11029,6 +11282,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
11029
11282
  onDemand: 1,
11030
11283
  unknownFutureValue: 2,
11031
11284
  activatedWithScope: 3,
11285
+ preview: 4,
11032
11286
  }
11033
11287
 
11034
11288
  enum workflowTriggerTimeBasedAttribute {