@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.
@@ -1349,6 +1349,24 @@ namespace reference.`microsoft.graph` {
1349
1349
  targetId: string | null;
1350
1350
  }
1351
1351
 
1352
+ @complex model CopyNotebookModel {
1353
+ createdBy: string | null;
1354
+ createdByIdentity: identitySet | null;
1355
+ createdTime: offsetDateTime | null;
1356
+ id: string | null;
1357
+ isDefault: boolean | null;
1358
+ isShared: boolean | null;
1359
+ lastModifiedBy: string | null;
1360
+ lastModifiedByIdentity: identitySet | null;
1361
+ lastModifiedTime: offsetDateTime | null;
1362
+ links: notebookLinks | null;
1363
+ name: string | null;
1364
+ sectionGroupsUrl: string | null;
1365
+ sectionsUrl: string | null;
1366
+ self: string | null;
1367
+ userRole: onenoteUserRole | null;
1368
+ }
1369
+
1352
1370
  @complex model corsConfiguration {
1353
1371
  allowedHeaders: string[] | null;
1354
1372
  allowedMethods: string[] | null;
@@ -1419,6 +1437,10 @@ namespace reference.`microsoft.graph` {
1419
1437
  @complex model customAppScopeAttributesDictionary extends Dictionary {
1420
1438
  }
1421
1439
 
1440
+ @open
1441
+ @complex model customEmojiFromIdentitySet extends identitySet {
1442
+ }
1443
+
1422
1444
  @abstract
1423
1445
  @complex model customExtensionAuthenticationConfiguration {
1424
1446
  }
@@ -1651,6 +1673,11 @@ namespace reference.`microsoft.graph` {
1651
1673
  triggers: restrictionTrigger[] | null;
1652
1674
  }
1653
1675
 
1676
+ @complex model diagnostic {
1677
+ message: string | null;
1678
+ url: string | null;
1679
+ }
1680
+
1654
1681
  @complex model diagnosticMetadata {
1655
1682
  }
1656
1683
 
@@ -1933,6 +1960,10 @@ namespace reference.`microsoft.graph` {
1933
1960
  issuerUri: string | null;
1934
1961
  }
1935
1962
 
1963
+ @complex model externalLink {
1964
+ href: string | null;
1965
+ }
1966
+
1936
1967
  @complex model externalSponsors extends userSet {
1937
1968
  }
1938
1969
 
@@ -2889,6 +2920,11 @@ namespace reference.`microsoft.graph` {
2889
2920
  @complex model noScopes extends inheritableScopes {
2890
2921
  }
2891
2922
 
2923
+ @complex model notebookLinks {
2924
+ oneNoteClientUrl: externalLink | null;
2925
+ oneNoteWebUrl: externalLink | null;
2926
+ }
2927
+
2892
2928
  @complex model notifyUserAction extends dlpActionInfo {
2893
2929
  @computed actionLastModifiedDateTime: offsetDateTime | null;
2894
2930
  emailText: string | null;
@@ -2954,6 +2990,27 @@ namespace reference.`microsoft.graph` {
2954
2990
  @complex model onAuthenticationMethodLoadStartHandler {
2955
2991
  }
2956
2992
 
2993
+ @complex model onenoteOperationError {
2994
+ code: string | null;
2995
+ message: string | null;
2996
+ }
2997
+
2998
+ @complex model onenotePagePreview {
2999
+ links: onenotePagePreviewLinks | null;
3000
+ previewText: string | null;
3001
+ }
3002
+
3003
+ @complex model onenotePagePreviewLinks {
3004
+ previewImageUrl: externalLink | null;
3005
+ }
3006
+
3007
+ @complex model onenotePatchContentCommand {
3008
+ action: onenotePatchActionType;
3009
+ content: string | null;
3010
+ position: onenotePatchInsertPosition | null;
3011
+ target: string;
3012
+ }
3013
+
2957
3014
  @complex model onInteractiveAuthFlowStartExternalUsersSelfServiceSignUp extends onInteractiveAuthFlowStartHandler {
2958
3015
  isSignUpAllowed: boolean;
2959
3016
  }
@@ -2988,6 +3045,7 @@ namespace reference.`microsoft.graph` {
2988
3045
  }
2989
3046
 
2990
3047
  @complex model onPremisesDirectorySynchronizationFeature {
3048
+ allowOnPremUpdateOfOnPremisesObjectIdentifierEnabled: boolean | null;
2991
3049
  blockCloudObjectTakeoverThroughHardMatchEnabled: boolean | null;
2992
3050
  blockSoftMatchEnabled: boolean | null;
2993
3051
  bypassDirSyncOverridesEnabled: boolean | null;
@@ -3140,6 +3198,11 @@ namespace reference.`microsoft.graph` {
3140
3198
  type: string | null;
3141
3199
  }
3142
3200
 
3201
+ @complex model pageLinks {
3202
+ oneNoteClientUrl: externalLink | null;
3203
+ oneNoteWebUrl: externalLink | null;
3204
+ }
3205
+
3143
3206
  @complex model parentalControlSettings {
3144
3207
  countriesBlockedForMinors: string[] | null;
3145
3208
  legalAgeGroupRule: string | null;
@@ -3798,6 +3861,18 @@ namespace reference.`microsoft.graph` {
3798
3861
  shareCount: int32 | null;
3799
3862
  }
3800
3863
 
3864
+ @complex model recentNotebook {
3865
+ displayName: string | null;
3866
+ lastAccessedTime: offsetDateTime | null;
3867
+ links: recentNotebookLinks | null;
3868
+ sourceService: onenoteSourceService | null;
3869
+ }
3870
+
3871
+ @complex model recentNotebookLinks {
3872
+ oneNoteClientUrl: externalLink | null;
3873
+ oneNoteWebUrl: externalLink | null;
3874
+ }
3875
+
3801
3876
  @complex model recipient {
3802
3877
  emailAddress: emailAddress | null;
3803
3878
  }
@@ -4083,6 +4158,11 @@ namespace reference.`microsoft.graph` {
4083
4158
  onClickTelemetryUrl: string | null;
4084
4159
  }
4085
4160
 
4161
+ @complex model sectionLinks {
4162
+ oneNoteClientUrl: externalLink | null;
4163
+ oneNoteWebUrl: externalLink | null;
4164
+ }
4165
+
4086
4166
  @complex model secureScoreControlStateUpdate {
4087
4167
  assignedTo: string | null;
4088
4168
  comment: string | null;
@@ -7838,6 +7918,7 @@ namespace reference.`microsoft.graph` {
7838
7918
  @references memberOf: directoryObject[];
7839
7919
  @references members: directoryObject[];
7840
7920
  @references membersWithLicenseErrors: directoryObject[];
7921
+ @contains onenote: onenote | null;
7841
7922
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
7842
7923
  @references owners: directoryObject[];
7843
7924
  @contains permissionGrants: resourceSpecificPermissionGrant[];
@@ -8319,6 +8400,17 @@ namespace reference.`microsoft.graph` {
8319
8400
  roleTemplateId: string | null;
8320
8401
  }
8321
8402
 
8403
+ @entity model notebook extends onenoteEntityHierarchyModel {
8404
+ isDefault: boolean | null;
8405
+ isShared: boolean | null;
8406
+ links: notebookLinks | null;
8407
+ sectionGroupsUrl: string | null;
8408
+ sectionsUrl: string | null;
8409
+ userRole: onenoteUserRole | null;
8410
+ @contains sectionGroups: sectionGroup[];
8411
+ @contains sections: onenoteSection[];
8412
+ }
8413
+
8322
8414
  @entity model oAuth2PermissionGrant extends entity {
8323
8415
  clientId: string;
8324
8416
  consentType: string | null;
@@ -8337,6 +8429,68 @@ namespace reference.`microsoft.graph` {
8337
8429
  handler: onAuthenticationMethodLoadStartHandler | null;
8338
8430
  }
8339
8431
 
8432
+ @entity model onenote extends entity {
8433
+ @contains notebooks: notebook[];
8434
+ @contains operations: onenoteOperation[];
8435
+ @contains pages: onenotePage[];
8436
+ @contains resources: onenoteResource[];
8437
+ @contains sectionGroups: sectionGroup[];
8438
+ @contains sections: onenoteSection[];
8439
+ }
8440
+
8441
+ @abstract
8442
+ @entity model onenoteEntityBaseModel extends entity {
8443
+ self: string | null;
8444
+ }
8445
+
8446
+ @abstract
8447
+ @entity model onenoteEntityHierarchyModel extends onenoteEntitySchemaObjectModel {
8448
+ createdBy: identitySet | null;
8449
+ displayName: string | null;
8450
+ lastModifiedBy: identitySet | null;
8451
+ @computed lastModifiedDateTime: offsetDateTime | null;
8452
+ }
8453
+
8454
+ @abstract
8455
+ @entity model onenoteEntitySchemaObjectModel extends onenoteEntityBaseModel {
8456
+ @computed createdDateTime: offsetDateTime | null;
8457
+ }
8458
+
8459
+ @entity model onenoteOperation extends operation {
8460
+ error: onenoteOperationError | null;
8461
+ percentComplete: string | null;
8462
+ resourceId: string | null;
8463
+ resourceLocation: string | null;
8464
+ }
8465
+
8466
+ @entity model onenotePage extends onenoteEntitySchemaObjectModel {
8467
+ content: stream | null;
8468
+ contentUrl: string | null;
8469
+ createdByAppId: string | null;
8470
+ @computed lastModifiedDateTime: offsetDateTime | null;
8471
+ level: int32 | null;
8472
+ links: pageLinks | null;
8473
+ order: int32 | null;
8474
+ title: string | null;
8475
+ userTags: string[] | null;
8476
+ @contains parentNotebook: notebook | null;
8477
+ @contains parentSection: onenoteSection | null;
8478
+ }
8479
+
8480
+ @entity model onenoteResource extends onenoteEntityBaseModel {
8481
+ content: stream | null;
8482
+ contentUrl: string | null;
8483
+ }
8484
+
8485
+ @entity model onenoteSection extends onenoteEntityHierarchyModel {
8486
+ isDefault: boolean | null;
8487
+ links: sectionLinks | null;
8488
+ pagesUrl: string | null;
8489
+ @contains pages: onenotePage[];
8490
+ @contains parentNotebook: notebook | null;
8491
+ @contains parentSectionGroup: sectionGroup | null;
8492
+ }
8493
+
8340
8494
  @entity model onInteractiveAuthFlowStartListener extends authenticationEventListener {
8341
8495
  handler: onInteractiveAuthFlowStartHandler | null;
8342
8496
  }
@@ -8407,6 +8561,12 @@ namespace reference.`microsoft.graph` {
8407
8561
  extensionName: string;
8408
8562
  }
8409
8563
 
8564
+ @entity model operation extends entity {
8565
+ @computed createdDateTime: offsetDateTime | null;
8566
+ @computed lastActionDateTime: offsetDateTime | null;
8567
+ status: operationStatus | null;
8568
+ }
8569
+
8410
8570
  @open
8411
8571
  @entity model organization extends directoryObject {
8412
8572
  assignedPlans: assignedPlan[];
@@ -9505,6 +9665,15 @@ namespace reference.`microsoft.graph` {
9505
9665
  roleMemberInfo: identity;
9506
9666
  }
9507
9667
 
9668
+ @entity model sectionGroup extends onenoteEntityHierarchyModel {
9669
+ sectionGroupsUrl: string | null;
9670
+ sectionsUrl: string | null;
9671
+ @contains parentNotebook: notebook | null;
9672
+ @contains parentSectionGroup: sectionGroup | null;
9673
+ @contains sectionGroups: sectionGroup[];
9674
+ @contains sections: onenoteSection[];
9675
+ }
9676
+
9508
9677
  @open
9509
9678
  @entity model secureScore extends entity {
9510
9679
  activeUserCount: int32 | null;
@@ -10036,6 +10205,7 @@ namespace reference.`microsoft.graph` {
10036
10205
  @references externalColumns: columnDefinition[];
10037
10206
  @contains items: baseItem[];
10038
10207
  @contains lists: list[];
10208
+ @contains onenote: onenote | null;
10039
10209
  @contains operations: richLongRunningOperation[];
10040
10210
  @contains pages: baseSitePage[];
10041
10211
  @contains pageTemplates: pageTemplate[];
@@ -10362,6 +10532,13 @@ namespace reference.`microsoft.graph` {
10362
10532
  @entity model teamworkBot extends entity {
10363
10533
  }
10364
10534
 
10535
+ @entity model teamworkCustomEmoji extends MsGraph.SharedModels.entity {
10536
+ contentBytes: string | null;
10537
+ createdBy: customEmojiFromIdentitySet;
10538
+ @computed createdDateTime: offsetDateTime;
10539
+ @computed @key displayName: string;
10540
+ }
10541
+
10365
10542
  @entity model teamworkDevice extends entity {
10366
10543
  activityState: teamworkDeviceActivityState | null;
10367
10544
  companyAssetTag: string | null;
@@ -10432,6 +10609,10 @@ namespace reference.`microsoft.graph` {
10432
10609
  contentType: string | null;
10433
10610
  }
10434
10611
 
10612
+ @entity model teamworkMessaging extends entity {
10613
+ @contains customEmojis: teamworkCustomEmoji[];
10614
+ }
10615
+
10435
10616
  @entity model teamworkPeripheral extends entity {
10436
10617
  displayName: string | null;
10437
10618
  productId: string | null;
@@ -10943,6 +11124,7 @@ namespace reference.`microsoft.graph` {
10943
11124
  @references manager: directoryObject | null;
10944
11125
  @references memberOf: directoryObject[];
10945
11126
  @contains messages: message[];
11127
+ @contains onenote: onenote | null;
10946
11128
  @contains onPremisesSyncBehavior: onPremisesSyncBehavior | null;
10947
11129
  @contains outlook: outlookUser | null;
10948
11130
  @references ownedDevices: directoryObject[];
@@ -13185,6 +13367,37 @@ namespace reference.`microsoft.graph` {
13185
13367
  Unsynchronized: 6,
13186
13368
  }
13187
13369
 
13370
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13371
+ enum onenotePatchActionType {
13372
+ Replace: 0,
13373
+ Append: 1,
13374
+ Delete: 2,
13375
+ Insert: 3,
13376
+ Prepend: 4,
13377
+ }
13378
+
13379
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13380
+ enum onenotePatchInsertPosition {
13381
+ After: 0,
13382
+ Before: 1,
13383
+ }
13384
+
13385
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13386
+ enum onenoteSourceService {
13387
+ `Unknown`: 0,
13388
+ OneDrive: 1,
13389
+ OneDriveForBusiness: 2,
13390
+ OnPremOneDriveForBusiness: 3,
13391
+ }
13392
+
13393
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13394
+ enum onenoteUserRole {
13395
+ None: -1,
13396
+ Owner: 0,
13397
+ Contributor: 1,
13398
+ Reader: 2,
13399
+ }
13400
+
13188
13401
  enum onlineMeetingForwarders {
13189
13402
  everyone: 0,
13190
13403
  organizer: 1,
@@ -13246,6 +13459,14 @@ namespace reference.`microsoft.graph` {
13246
13459
  unknownFutureValue: 3,
13247
13460
  }
13248
13461
 
13462
+ #suppress "@microsoft/typespec-msgraph/use-evolvable-enum" "Matches shipped CSDL."
13463
+ enum operationStatus {
13464
+ NotStarted: 0,
13465
+ Running: 1,
13466
+ Completed: 2,
13467
+ Failed: 3,
13468
+ }
13469
+
13249
13470
  enum originalTransferMethods {
13250
13471
  none: 0,
13251
13472
  deviceCodeFlow: 1,
@@ -15035,6 +15256,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
15035
15256
  subject: workflowSubject | null;
15036
15257
  }
15037
15258
 
15259
+ @complex model countBasedQuarantineCondition extends quarantineCondition {
15260
+ threshold: int64;
15261
+ }
15262
+
15038
15263
  @complex model customTaskExtensionCallbackConfiguration extends reference.`microsoft.graph`.customExtensionCallbackConfiguration {
15039
15264
  @references authorizedApps: reference.`microsoft.graph`.application[];
15040
15265
  }
@@ -15074,6 +15299,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
15074
15299
  valueType: valueType;
15075
15300
  }
15076
15301
 
15302
+ @complex model percentageBasedQuarantineCondition extends quarantineCondition {
15303
+ percentage: int32;
15304
+ }
15305
+
15077
15306
  @complex model previewFailedTask {
15078
15307
  definitionId: string;
15079
15308
  failureReason: string;
@@ -15089,6 +15318,21 @@ namespace reference.`microsoft.graph.identityGovernance` {
15089
15318
  id: string;
15090
15319
  }
15091
15320
 
15321
+ @abstract
15322
+ @complex model quarantineCondition {
15323
+ }
15324
+
15325
+ @complex model quarantineConfiguration {
15326
+ conditions: quarantineCondition[];
15327
+ matchMode: matchMode;
15328
+ }
15329
+
15330
+ @complex model quarantineDetails {
15331
+ quarantinedDateTime: offsetDateTime | null;
15332
+ quarantineReason: string | null;
15333
+ quarantineType: quarantineType;
15334
+ }
15335
+
15092
15336
  @complex model ruleBasedSubjectSet extends reference.`microsoft.graph`.subjectSet {
15093
15337
  rule: string;
15094
15338
  }
@@ -15175,6 +15419,10 @@ namespace reference.`microsoft.graph.identityGovernance` {
15175
15419
  @complex model workflowExecutionTrigger {
15176
15420
  }
15177
15421
 
15422
+ @complex model workflowSetting {
15423
+ quarantineConfiguration: quarantineConfiguration | null;
15424
+ }
15425
+
15178
15426
  @complex model workflowsInsightsByCategory {
15179
15427
  failedJoinerRuns: int32;
15180
15428
  failedLeaverRuns: int32;
@@ -15217,6 +15465,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
15217
15465
 
15218
15466
  @entity model lifecycleManagementSettings extends reference.`microsoft.graph`.entity {
15219
15467
  emailSettings: reference.`microsoft.graph`.emailSettings;
15468
+ quarantineConfiguration: quarantineConfiguration | null;
15220
15469
  workflowScheduleIntervalInHours: int32;
15221
15470
  }
15222
15471
 
@@ -15290,6 +15539,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
15290
15539
  completedDateTime: offsetDateTime | null;
15291
15540
  @computed createdDateTime: offsetDateTime;
15292
15541
  failureReason: string | null;
15542
+ processingInfo: string | null;
15293
15543
  processingStatus: lifecycleWorkflowProcessingStatus;
15294
15544
  startedDateTime: offsetDateTime | null;
15295
15545
  workflowSubject: workflowSubject | null;
@@ -15331,6 +15581,8 @@ namespace reference.`microsoft.graph.identityGovernance` {
15331
15581
  deletedDateTime: offsetDateTime | null;
15332
15582
  @computed @key id: string;
15333
15583
  nextScheduleRunDateTime: offsetDateTime | null;
15584
+ quarantineDetails: quarantineDetails;
15585
+ settings: workflowSetting;
15334
15586
  version: int32 | null;
15335
15587
  @references executionScope: userProcessingResult[];
15336
15588
 
@@ -15368,6 +15620,7 @@ namespace reference.`microsoft.graph.identityGovernance` {
15368
15620
  }
15369
15621
 
15370
15622
  @entity model workflowVersion extends workflowBase {
15623
+ settings: workflowSetting;
15371
15624
  @computed @key versionNumber: int32;
15372
15625
  }
15373
15626
 
@@ -15421,6 +15674,13 @@ namespace reference.`microsoft.graph.identityGovernance` {
15421
15674
  canceled: 4,
15422
15675
  failed: 5,
15423
15676
  unknownFutureValue: 6,
15677
+ quarantined: 8,
15678
+ }
15679
+
15680
+ enum matchMode {
15681
+ any: 0,
15682
+ all: 1,
15683
+ unknownFutureValue: 2,
15424
15684
  }
15425
15685
 
15426
15686
  enum membershipChangeType {
@@ -15429,6 +15689,14 @@ namespace reference.`microsoft.graph.identityGovernance` {
15429
15689
  unknownFutureValue: 3,
15430
15690
  }
15431
15691
 
15692
+ enum quarantineType {
15693
+ notQuarantined: 0,
15694
+ countBasedThresholdExceeded: 1,
15695
+ percentageBasedThresholdExceeded: 2,
15696
+ multipleConditionsExceeded: 3,
15697
+ unknownFutureValue: 4,
15698
+ }
15699
+
15432
15700
  enum valueType {
15433
15701
  `enum`: 0,
15434
15702
  `string`: 1,