@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.
@@ -1319,6 +1319,24 @@ namespace reference.`microsoft.graph` {
1319
1319
  targetId: string | null;
1320
1320
  }
1321
1321
 
1322
+ @complex model CopyNotebookModel {
1323
+ createdBy: string | null;
1324
+ createdByIdentity: identitySet | null;
1325
+ createdTime: offsetDateTime | null;
1326
+ id: string | null;
1327
+ isDefault: boolean | null;
1328
+ isShared: boolean | null;
1329
+ lastModifiedBy: string | null;
1330
+ lastModifiedByIdentity: identitySet | null;
1331
+ lastModifiedTime: offsetDateTime | null;
1332
+ links: notebookLinks | null;
1333
+ name: string | null;
1334
+ sectionGroupsUrl: string | null;
1335
+ sectionsUrl: string | null;
1336
+ self: string | null;
1337
+ userRole: onenoteUserRole | null;
1338
+ }
1339
+
1322
1340
  @complex model corsConfiguration {
1323
1341
  allowedHeaders: string[] | null;
1324
1342
  allowedMethods: string[] | null;
@@ -1389,6 +1407,10 @@ namespace reference.`microsoft.graph` {
1389
1407
  @complex model customAppScopeAttributesDictionary extends Dictionary {
1390
1408
  }
1391
1409
 
1410
+ @open
1411
+ @complex model customEmojiFromIdentitySet extends identitySet {
1412
+ }
1413
+
1392
1414
  @abstract
1393
1415
  @complex model customExtensionAuthenticationConfiguration {
1394
1416
  }
@@ -1606,6 +1628,11 @@ namespace reference.`microsoft.graph` {
1606
1628
  triggers: restrictionTrigger[] | null;
1607
1629
  }
1608
1630
 
1631
+ @complex model diagnostic {
1632
+ message: string | null;
1633
+ url: string | null;
1634
+ }
1635
+
1609
1636
  @complex model diagnosticMetadata {
1610
1637
  }
1611
1638
 
@@ -1894,6 +1921,10 @@ namespace reference.`microsoft.graph` {
1894
1921
  issuerUri: string | null;
1895
1922
  }
1896
1923
 
1924
+ @complex model externalLink {
1925
+ href: string | null;
1926
+ }
1927
+
1897
1928
  @complex model externalSponsors extends userSet {
1898
1929
  }
1899
1930
 
@@ -2823,6 +2854,11 @@ namespace reference.`microsoft.graph` {
2823
2854
  @complex model noScopes extends inheritableScopes {
2824
2855
  }
2825
2856
 
2857
+ @complex model notebookLinks {
2858
+ oneNoteClientUrl: externalLink | null;
2859
+ oneNoteWebUrl: externalLink | null;
2860
+ }
2861
+
2826
2862
  @complex model notifyUserAction extends dlpActionInfo {
2827
2863
  @computed actionLastModifiedDateTime: offsetDateTime | null;
2828
2864
  emailText: string | null;
@@ -2889,6 +2925,27 @@ namespace reference.`microsoft.graph` {
2889
2925
  @complex model onAuthenticationMethodLoadStartHandler {
2890
2926
  }
2891
2927
 
2928
+ @complex model onenoteOperationError {
2929
+ code: string | null;
2930
+ message: string | null;
2931
+ }
2932
+
2933
+ @complex model onenotePagePreview {
2934
+ links: onenotePagePreviewLinks | null;
2935
+ previewText: string | null;
2936
+ }
2937
+
2938
+ @complex model onenotePagePreviewLinks {
2939
+ previewImageUrl: externalLink | null;
2940
+ }
2941
+
2942
+ @complex model onenotePatchContentCommand {
2943
+ action: onenotePatchActionType;
2944
+ content: string | null;
2945
+ position: onenotePatchInsertPosition | null;
2946
+ target: string;
2947
+ }
2948
+
2892
2949
  @complex model onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp extends onInteractiveAuthFlowStartHandler {
2893
2950
  isSignUpAllowed: boolean;
2894
2951
  }
@@ -2923,6 +2980,7 @@ namespace reference.`microsoft.graph` {
2923
2980
  }
2924
2981
 
2925
2982
  @complex model onPremisesDirectorySynchronizationFeature {
2983
+ allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled: boolean | null;
2926
2984
  blockCloudObjectTakeoverThroughHardMatchEnabled: boolean | null;
2927
2985
  blockSoftMatchEnabled: boolean | null;
2928
2986
  bypassDirSyncOverridesEnabled: boolean | null;
@@ -3066,6 +3124,11 @@ namespace reference.`microsoft.graph` {
3066
3124
  type: string | null;
3067
3125
  }
3068
3126
 
3127
+ @complex model pageLinks {
3128
+ oneNoteClientUrl: externalLink | null;
3129
+ oneNoteWebUrl: externalLink | null;
3130
+ }
3131
+
3069
3132
  @complex model parentalControlSettings {
3070
3133
  countriesBlockedForMinors: string[] | null;
3071
3134
  legalAgeGroupRule: string | null;
@@ -3621,6 +3684,18 @@ namespace reference.`microsoft.graph` {
3621
3684
  shareCount: int32 | null;
3622
3685
  }
3623
3686
 
3687
+ @complex model recentNotebook {
3688
+ displayName: string | null;
3689
+ lastAccessedTime: offsetDateTime | null;
3690
+ links: recentNotebookLinks | null;
3691
+ sourceService: onenoteSourceService | null;
3692
+ }
3693
+
3694
+ @complex model recentNotebookLinks {
3695
+ oneNoteClientUrl: externalLink | null;
3696
+ oneNoteWebUrl: externalLink | null;
3697
+ }
3698
+
3624
3699
  @complex model recipient {
3625
3700
  emailAddress: emailAddress | null;
3626
3701
  }
@@ -3882,6 +3957,11 @@ namespace reference.`microsoft.graph` {
3882
3957
  onClickTelemetryUrl: string | null;
3883
3958
  }
3884
3959
 
3960
+ @complex model sectionLinks {
3961
+ oneNoteClientUrl: externalLink | null;
3962
+ oneNoteWebUrl: externalLink | null;
3963
+ }
3964
+
3885
3965
  @complex model secureScoreControlStateUpdate {
3886
3966
  assignedTo: string | null;
3887
3967
  comment: string | null;
@@ -7613,6 +7693,7 @@ namespace reference.`microsoft.graph` {
7613
7693
  @references memberOf: directoryObject[];
7614
7694
  @references members: directoryObject[];
7615
7695
  @references membersWithLicenseErrors: directoryObject[];
7696
+ @contains onenote: onenote | null;
7616
7697
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
7617
7698
  @references owners: directoryObject[];
7618
7699
  @contains permissionGrants: resourceSpecificPermissionGrant[];
@@ -8093,6 +8174,17 @@ namespace reference.`microsoft.graph` {
8093
8174
  roleTemplateId: string | null;
8094
8175
  }
8095
8176
 
8177
+ @entity model notebook extends onenoteEntityHierarchyModel {
8178
+ isDefault: boolean | null;
8179
+ isShared: boolean | null;
8180
+ links: notebookLinks | null;
8181
+ sectionGroupsUrl: string | null;
8182
+ sectionsUrl: string | null;
8183
+ userRole: onenoteUserRole | null;
8184
+ @contains sectionGroups: sectionGroup[];
8185
+ @contains sections: onenoteSection[];
8186
+ }
8187
+
8096
8188
  @entity model oAuth2PermissionGrant extends entity {
8097
8189
  clientId: string;
8098
8190
  consentType: string | null;
@@ -8111,6 +8203,68 @@ namespace reference.`microsoft.graph` {
8111
8203
  handler: onAuthenticationMethodLoadStartHandler | null;
8112
8204
  }
8113
8205
 
8206
+ @entity model onenote extends entity {
8207
+ @contains notebooks: notebook[];
8208
+ @contains operations: onenoteOperation[];
8209
+ @contains pages: onenotePage[];
8210
+ @contains resources: onenoteResource[];
8211
+ @contains sectionGroups: sectionGroup[];
8212
+ @contains sections: onenoteSection[];
8213
+ }
8214
+
8215
+ @abstract
8216
+ @entity model onenoteEntityBaseModel extends entity {
8217
+ self: string | null;
8218
+ }
8219
+
8220
+ @abstract
8221
+ @entity model onenoteEntityHierarchyModel extends onenoteEntitySchemaObjectModel {
8222
+ createdBy: identitySet | null;
8223
+ displayName: string | null;
8224
+ lastModifiedBy: identitySet | null;
8225
+ @computed lastModifiedDateTime: offsetDateTime | null;
8226
+ }
8227
+
8228
+ @abstract
8229
+ @entity model onenoteEntitySchemaObjectModel extends onenoteEntityBaseModel {
8230
+ @computed createdDateTime: offsetDateTime | null;
8231
+ }
8232
+
8233
+ @entity model onenoteOperation extends operation {
8234
+ error: onenoteOperationError | null;
8235
+ percentComplete: string | null;
8236
+ resourceId: string | null;
8237
+ resourceLocation: string | null;
8238
+ }
8239
+
8240
+ @entity model onenotePage extends onenoteEntitySchemaObjectModel {
8241
+ content: stream | null;
8242
+ contentUrl: string | null;
8243
+ createdByAppId: string | null;
8244
+ @computed lastModifiedDateTime: offsetDateTime | null;
8245
+ level: int32 | null;
8246
+ links: pageLinks | null;
8247
+ order: int32 | null;
8248
+ title: string | null;
8249
+ userTags: string[] | null;
8250
+ @contains parentNotebook: notebook | null;
8251
+ @contains parentSection: onenoteSection | null;
8252
+ }
8253
+
8254
+ @entity model onenoteResource extends onenoteEntityBaseModel {
8255
+ content: stream | null;
8256
+ contentUrl: string | null;
8257
+ }
8258
+
8259
+ @entity model onenoteSection extends onenoteEntityHierarchyModel {
8260
+ isDefault: boolean | null;
8261
+ links: sectionLinks | null;
8262
+ pagesUrl: string | null;
8263
+ @contains pages: onenotePage[];
8264
+ @contains parentNotebook: notebook | null;
8265
+ @contains parentSectionGroup: sectionGroup | null;
8266
+ }
8267
+
8114
8268
  @entity model onInteractiveAuthFlowStartListener extends authenticationEventListener {
8115
8269
  handler: onInteractiveAuthFlowStartHandler | null;
8116
8270
  }
@@ -8181,6 +8335,12 @@ namespace reference.`microsoft.graph` {
8181
8335
  extensionName: string;
8182
8336
  }
8183
8337
 
8338
+ @entity model operation extends entity {
8339
+ @computed createdDateTime: offsetDateTime | null;
8340
+ @computed lastActionDateTime: offsetDateTime | null;
8341
+ status: operationStatus | null;
8342
+ }
8343
+
8184
8344
  @open
8185
8345
  @entity model organization extends directoryObject {
8186
8346
  assignedPlans: assignedPlan[];
@@ -9279,6 +9439,15 @@ namespace reference.`microsoft.graph` {
9279
9439
  roleMemberInfo: identity;
9280
9440
  }
9281
9441
 
9442
+ @entity model sectionGroup extends onenoteEntityHierarchyModel {
9443
+ sectionGroupsUrl: string | null;
9444
+ sectionsUrl: string | null;
9445
+ @contains parentNotebook: notebook | null;
9446
+ @contains parentSectionGroup: sectionGroup | null;
9447
+ @contains sectionGroups: sectionGroup[];
9448
+ @contains sections: onenoteSection[];
9449
+ }
9450
+
9282
9451
  @open
9283
9452
  @entity model secureScore extends entity {
9284
9453
  activeUserCount: int32 | null;
@@ -9808,6 +9977,7 @@ namespace reference.`microsoft.graph` {
9808
9977
  @references externalColumns: columnDefinition[];
9809
9978
  @contains items: baseItem[];
9810
9979
  @contains lists: list[];
9980
+ @contains onenote: onenote | null;
9811
9981
  @contains operations: richLongRunningOperation[];
9812
9982
  @contains pages: baseSitePage[];
9813
9983
  @contains pageTemplates: pageTemplate[];
@@ -10134,6 +10304,13 @@ namespace reference.`microsoft.graph` {
10134
10304
  @entity model teamworkBot extends entity {
10135
10305
  }
10136
10306
 
10307
+ @entity model teamworkCustomEmoji extends MsGraph.SharedModels.entity {
10308
+ contentBytes: string | null;
10309
+ createdBy: customEmojiFromIdentitySet;
10310
+ @computed createdDateTime: offsetDateTime;
10311
+ @computed @key displayName: string;
10312
+ }
10313
+
10137
10314
  @entity model teamworkDevice extends entity {
10138
10315
  activityState: teamworkDeviceActivityState | null;
10139
10316
  companyAssetTag: string | null;
@@ -10204,6 +10381,10 @@ namespace reference.`microsoft.graph` {
10204
10381
  contentType: string | null;
10205
10382
  }
10206
10383
 
10384
+ @entity model teamworkMessaging extends entity {
10385
+ @contains customEmojis: teamworkCustomEmoji[];
10386
+ }
10387
+
10207
10388
  @entity model teamworkPeripheral extends entity {
10208
10389
  displayName: string | null;
10209
10390
  productId: string | null;
@@ -10707,6 +10888,7 @@ namespace reference.`microsoft.graph` {
10707
10888
  @references manager: directoryObject | null;
10708
10889
  @references memberOf: directoryObject[];
10709
10890
  @contains messages: message[];
10891
+ @contains onenote: onenote | null;
10710
10892
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
10711
10893
  @contains outlook: outlookUser | null;
10712
10894
  @references ownedDevices: directoryObject[];
@@ -12910,6 +13092,37 @@ namespace reference.`microsoft.graph` {
12910
13092
  Unsynchronized: 6,
12911
13093
  }
12912
13094
 
13095
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13096
+ enum onenotePatchActionType {
13097
+ Replace: 0,
13098
+ Append: 1,
13099
+ Delete: 2,
13100
+ Insert: 3,
13101
+ Prepend: 4,
13102
+ }
13103
+
13104
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13105
+ enum onenotePatchInsertPosition {
13106
+ After: 0,
13107
+ Before: 1,
13108
+ }
13109
+
13110
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13111
+ enum onenoteSourceService {
13112
+ `Unknown`: 0,
13113
+ OneDrive: 1,
13114
+ OneDriveForBusiness: 2,
13115
+ OnPremOneDriveForBusiness: 3,
13116
+ }
13117
+
13118
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13119
+ enum onenoteUserRole {
13120
+ None: -1,
13121
+ Owner: 0,
13122
+ Contributor: 1,
13123
+ Reader: 2,
13124
+ }
13125
+
12913
13126
  #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
12914
13127
  enum onlineMeetingProviderType {
12915
13128
  `unknown`: 0,
@@ -12957,6 +13170,14 @@ namespace reference.`microsoft.graph` {
12957
13170
  unknownFutureValue: 3,
12958
13171
  }
12959
13172
 
13173
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13174
+ enum operationStatus {
13175
+ NotStarted: 0,
13176
+ Running: 1,
13177
+ Completed: 2,
13178
+ Failed: 3,
13179
+ }
13180
+
12960
13181
  enum originalTransferMethods {
12961
13182
  none: 0,
12962
13183
  deviceCodeFlow: 1,
@@ -14630,6 +14851,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
14630
14851
  subject: workflowSubject | null;
14631
14852
  }
14632
14853
 
14854
+ @complex model countBasedQuarantineCondition extends quarantineCondition {
14855
+ threshold: int64;
14856
+ }
14857
+
14633
14858
  @complex model customTaskExtensionCallbackConfiguration extends reference.`microsoft.graph`.customExtensionCallbackConfiguration {
14634
14859
  @references authorizedApps: reference.`microsoft.graph`.application[];
14635
14860
  }
@@ -14669,6 +14894,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
14669
14894
  valueType: valueType;
14670
14895
  }
14671
14896
 
14897
+ @complex model percentageBasedQuarantineCondition extends quarantineCondition {
14898
+ percentage: int32;
14899
+ }
14900
+
14672
14901
  @complex model previewFailedTask {
14673
14902
  definitionId: string;
14674
14903
  failureReason: string;
@@ -14684,6 +14913,21 @@ namespace reference.`microsoft.graph.identityGovernance` {
14684
14913
  id: string;
14685
14914
  }
14686
14915
 
14916
+ @abstract
14917
+ @complex model quarantineCondition {
14918
+ }
14919
+
14920
+ @complex model quarantineConfiguration {
14921
+ conditions: quarantineCondition[];
14922
+ matchMode: matchMode;
14923
+ }
14924
+
14925
+ @complex model quarantineDetails {
14926
+ quarantinedDateTime: offsetDateTime | null;
14927
+ quarantineReason: string | null;
14928
+ quarantineType: quarantineType;
14929
+ }
14930
+
14687
14931
  @complex model ruleBasedSubjectSet extends reference.`microsoft.graph`.subjectSet {
14688
14932
  rule: string;
14689
14933
  }
@@ -14770,6 +15014,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
14770
15014
  @complex model workflowExecutionTrigger {
14771
15015
  }
14772
15016
 
15017
+ @complex model workflowSetting {
15018
+ quarantineConfiguration: quarantineConfiguration | null;
15019
+ }
15020
+
14773
15021
  @complex model workflowsInsightsByCategory {
14774
15022
  failedJoinerRuns: int32;
14775
15023
  failedLeaverRuns: int32;
@@ -14812,6 +15060,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
14812
15060
 
14813
15061
  @entity model lifecycleManagementSettings extends reference.`microsoft.graph`.entity {
14814
15062
  emailSettings: reference.`microsoft.graph`.emailSettings;
15063
+ quarantineConfiguration: quarantineConfiguration | null;
14815
15064
  workflowScheduleIntervalInHours: int32;
14816
15065
  }
14817
15066
 
@@ -14885,6 +15134,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
14885
15134
  completedDateTime: offsetDateTime | null;
14886
15135
  @computed createdDateTime: offsetDateTime;
14887
15136
  failureReason: string | null;
15137
+ processingInfo: string | null;
14888
15138
  processingStatus: lifecycleWorkflowProcessingStatus;
14889
15139
  startedDateTime: offsetDateTime | null;
14890
15140
  workflowSubject: workflowSubject | null;
@@ -14926,6 +15176,8 @@ namespace reference.`microsoft.graph.identityGovernance` {
14926
15176
  deletedDateTime: offsetDateTime | null;
14927
15177
  @computed @key id: string;
14928
15178
  nextScheduleRunDateTime: offsetDateTime | null;
15179
+ quarantineDetails: quarantineDetails;
15180
+ settings: workflowSetting;
14929
15181
  version: int32 | null;
14930
15182
  @references executionScope: userProcessingResult[];
14931
15183
 
@@ -14963,6 +15215,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
14963
15215
  }
14964
15216
 
14965
15217
  @entity model workflowVersion extends workflowBase {
15218
+ settings: workflowSetting;
14966
15219
  @computed @key versionNumber: int32;
14967
15220
  }
14968
15221
 
@@ -15016,6 +15269,13 @@ namespace reference.`microsoft.graph.identityGovernance` {
15016
15269
  canceled: 4,
15017
15270
  failed: 5,
15018
15271
  unknownFutureValue: 6,
15272
+ quarantined: 8,
15273
+ }
15274
+
15275
+ enum matchMode {
15276
+ any: 0,
15277
+ all: 1,
15278
+ unknownFutureValue: 2,
15019
15279
  }
15020
15280
 
15021
15281
  enum membershipChangeType {
@@ -15024,6 +15284,14 @@ namespace reference.`microsoft.graph.identityGovernance` {
15024
15284
  unknownFutureValue: 3,
15025
15285
  }
15026
15286
 
15287
+ enum quarantineType {
15288
+ notQuarantined: 0,
15289
+ countBasedThresholdExceeded: 1,
15290
+ percentageBasedThresholdExceeded: 2,
15291
+ multipleConditionsExceeded: 3,
15292
+ unknownFutureValue: 4,
15293
+ }
15294
+
15027
15295
  enum valueType {
15028
15296
  `enum`: 0,
15029
15297
  `string`: 1,