@microsoft/msgraph-sdk 1.0.0-preview.65 → 1.0.0-preview.66

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.
package/models/index.js CHANGED
@@ -12,7 +12,7 @@ import { createBillingFromDiscriminatorValue, deserializeIntoAzureUsage, deseria
12
12
  // @ts-ignore
13
13
  import { createAcronymFromDiscriminatorValue, createBookmarkFromDiscriminatorValue, createQnaFromDiscriminatorValue, deserializeIntoAcronym, deserializeIntoBookmark, deserializeIntoQna, deserializeIntoSearchAnswer, serializeAcronym, serializeBookmark, serializeQna, serializeSearchAnswer } from './search/index.js';
14
14
  // @ts-ignore
15
- import { BehaviorDuringRetentionPeriodObject, createAuditCoreRootFromDiscriminatorValue, createCasesRootFromDiscriminatorValue, createIdentityContainerFromDiscriminatorValue as I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9, createIncidentFromDiscriminatorValue, createLabelsRootFromDiscriminatorValue, createThreatIntelligenceFromDiscriminatorValue, createTriggersRootFromDiscriminatorValue, createTriggerTypesRootFromDiscriminatorValue, deserializeIntoArticle, deserializeIntoArticleIndicator, deserializeIntoArtifact, deserializeIntoAuditCoreRoot, deserializeIntoAuditLogQuery, deserializeIntoAuditLogRecord, deserializeIntoAuthorityTemplate, deserializeIntoCaseEscaped, deserializeIntoCaseOperation, deserializeIntoCasesRoot, deserializeIntoCategoryTemplate, deserializeIntoCitationTemplate, deserializeIntoDataSet, deserializeIntoDataSource, deserializeIntoDataSourceContainer, deserializeIntoDepartmentTemplate, deserializeIntoDispositionReviewStage, deserializeIntoEdiscoveryAddToReviewSetOperation, deserializeIntoEdiscoveryCase, deserializeIntoEdiscoveryCaseSettings, deserializeIntoEdiscoveryCustodian, deserializeIntoEdiscoveryEstimateOperation, deserializeIntoEdiscoveryExportOperation, deserializeIntoEdiscoveryHoldOperation, deserializeIntoEdiscoveryIndexOperation, deserializeIntoEdiscoveryNoncustodialDataSource, deserializeIntoEdiscoveryPurgeDataOperation, deserializeIntoEdiscoveryReviewSet, deserializeIntoEdiscoveryReviewSetQuery, deserializeIntoEdiscoveryReviewTag, deserializeIntoEdiscoverySearch, deserializeIntoEdiscoverySearchExportOperation, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoNetworkAdapter, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSensor, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeArticle, serializeArticleIndicator, serializeArtifact, serializeAuditCoreRoot, serializeAuditLogQuery, serializeAuditLogRecord, serializeAuthorityTemplate, serializeCaseEscaped, serializeCaseOperation, serializeCasesRoot, serializeCategoryTemplate, serializeCitationTemplate, serializeDataSet, serializeDataSource, serializeDataSourceContainer, serializeDepartmentTemplate, serializeDispositionReviewStage, serializeEdiscoveryAddToReviewSetOperation, serializeEdiscoveryCase, serializeEdiscoveryCaseSettings, serializeEdiscoveryCustodian, serializeEdiscoveryEstimateOperation, serializeEdiscoveryExportOperation, serializeEdiscoveryHoldOperation, serializeEdiscoveryIndexOperation, serializeEdiscoveryNoncustodialDataSource, serializeEdiscoveryPurgeDataOperation, serializeEdiscoveryReviewSet, serializeEdiscoveryReviewSetQuery, serializeEdiscoveryReviewTag, serializeEdiscoverySearch, serializeEdiscoverySearchExportOperation, serializeEdiscoveryTagOperation, serializeFilePlanDescriptor, serializeFilePlanDescriptorTemplate, serializeFilePlanReferenceTemplate, serializeHealthIssue, serializeHost, serializeHostComponent, serializeHostCookie, serializeHostname, serializeHostPair, serializeHostPort, serializeHostReputation, serializeHostSslCertificate, serializeHostTracker, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeIndicator, serializeIntelligenceProfile, serializeIntelligenceProfileIndicator, serializeIpAddress, serializeLabelsRoot, serializeNetworkAdapter, serializePassiveDnsRecord, serializeRetentionEvent, serializeRetentionEventType, serializeRetentionLabel, serializeSearch, serializeSensor, serializeSiteSource, serializeSslCertificate, serializeSubcategoryTemplate, serializeSubdomain, serializeTag, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot, serializeUnclassifiedArtifact, serializeUnifiedGroupSource, serializeUserSource, serializeVulnerability, serializeVulnerabilityComponent, serializeWhoisBaseRecord, serializeWhoisHistoryRecord, serializeWhoisRecord } from './security/index.js';
15
+ import { BehaviorDuringRetentionPeriodObject, createCasesRootFromDiscriminatorValue, createIdentityContainerFromDiscriminatorValue as I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9, createIncidentFromDiscriminatorValue, createLabelsRootFromDiscriminatorValue, createThreatIntelligenceFromDiscriminatorValue, createTriggersRootFromDiscriminatorValue, createTriggerTypesRootFromDiscriminatorValue, deserializeIntoArticle, deserializeIntoArticleIndicator, deserializeIntoArtifact, deserializeIntoAuthorityTemplate, deserializeIntoCaseEscaped, deserializeIntoCaseOperation, deserializeIntoCasesRoot, deserializeIntoCategoryTemplate, deserializeIntoCitationTemplate, deserializeIntoDataSet, deserializeIntoDataSource, deserializeIntoDataSourceContainer, deserializeIntoDepartmentTemplate, deserializeIntoDispositionReviewStage, deserializeIntoEdiscoveryAddToReviewSetOperation, deserializeIntoEdiscoveryCase, deserializeIntoEdiscoveryCaseSettings, deserializeIntoEdiscoveryCustodian, deserializeIntoEdiscoveryEstimateOperation, deserializeIntoEdiscoveryExportOperation, deserializeIntoEdiscoveryHoldOperation, deserializeIntoEdiscoveryIndexOperation, deserializeIntoEdiscoveryNoncustodialDataSource, deserializeIntoEdiscoveryPurgeDataOperation, deserializeIntoEdiscoveryReviewSet, deserializeIntoEdiscoveryReviewSetQuery, deserializeIntoEdiscoveryReviewTag, deserializeIntoEdiscoverySearch, deserializeIntoEdiscoverySearchExportOperation, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoNetworkAdapter, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSensor, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeArticle, serializeArticleIndicator, serializeArtifact, serializeAuthorityTemplate, serializeCaseEscaped, serializeCaseOperation, serializeCasesRoot, serializeCategoryTemplate, serializeCitationTemplate, serializeDataSet, serializeDataSource, serializeDataSourceContainer, serializeDepartmentTemplate, serializeDispositionReviewStage, serializeEdiscoveryAddToReviewSetOperation, serializeEdiscoveryCase, serializeEdiscoveryCaseSettings, serializeEdiscoveryCustodian, serializeEdiscoveryEstimateOperation, serializeEdiscoveryExportOperation, serializeEdiscoveryHoldOperation, serializeEdiscoveryIndexOperation, serializeEdiscoveryNoncustodialDataSource, serializeEdiscoveryPurgeDataOperation, serializeEdiscoveryReviewSet, serializeEdiscoveryReviewSetQuery, serializeEdiscoveryReviewTag, serializeEdiscoverySearch, serializeEdiscoverySearchExportOperation, serializeEdiscoveryTagOperation, serializeFilePlanDescriptor, serializeFilePlanDescriptorTemplate, serializeFilePlanReferenceTemplate, serializeHealthIssue, serializeHost, serializeHostComponent, serializeHostCookie, serializeHostname, serializeHostPair, serializeHostPort, serializeHostReputation, serializeHostSslCertificate, serializeHostTracker, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeIndicator, serializeIntelligenceProfile, serializeIntelligenceProfileIndicator, serializeIpAddress, serializeLabelsRoot, serializeNetworkAdapter, serializePassiveDnsRecord, serializeRetentionEvent, serializeRetentionEventType, serializeRetentionLabel, serializeSearch, serializeSensor, serializeSiteSource, serializeSslCertificate, serializeSubcategoryTemplate, serializeSubdomain, serializeTag, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot, serializeUnclassifiedArtifact, serializeUnifiedGroupSource, serializeUserSource, serializeVulnerability, serializeVulnerabilityComponent, serializeWhoisBaseRecord, serializeWhoisHistoryRecord, serializeWhoisRecord } from './security/index.js';
16
16
  // @ts-ignore
17
17
  import { createSetFromDiscriminatorValue, createStoreFromDiscriminatorValue, createTermFromDiscriminatorValue, deserializeIntoRelation, deserializeIntoSet, deserializeIntoStore, deserializeIntoTerm, serializeRelation, serializeSet, serializeStore, serializeTerm } from './termStore/index.js';
18
18
  // @ts-ignore
@@ -1699,6 +1699,15 @@ export function createApplePushNotificationCertificateFromDiscriminatorValue(par
1699
1699
  export function createApplicationCollectionResponseFromDiscriminatorValue(parseNode) {
1700
1700
  return deserializeIntoApplicationCollectionResponse;
1701
1701
  }
1702
+ /**
1703
+ * Creates a new instance of the appropriate class based on discriminator value
1704
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1705
+ * @returns {ApplicationContext}
1706
+ */
1707
+ // @ts-ignore
1708
+ export function createApplicationContextFromDiscriminatorValue(parseNode) {
1709
+ return deserializeIntoApplicationContext;
1710
+ }
1702
1711
  /**
1703
1712
  * Creates a new instance of the appropriate class based on discriminator value
1704
1713
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2457,6 +2466,15 @@ export function createAuditPropertyFromDiscriminatorValue(parseNode) {
2457
2466
  export function createAuditResourceFromDiscriminatorValue(parseNode) {
2458
2467
  return deserializeIntoAuditResource;
2459
2468
  }
2469
+ /**
2470
+ * Creates a new instance of the appropriate class based on discriminator value
2471
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2472
+ * @returns {AuthContext}
2473
+ */
2474
+ // @ts-ignore
2475
+ export function createAuthContextFromDiscriminatorValue(parseNode) {
2476
+ return deserializeIntoAuthContext;
2477
+ }
2460
2478
  /**
2461
2479
  * Creates a new instance of the appropriate class based on discriminator value
2462
2480
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2669,6 +2687,15 @@ export function createAuthenticationEventsFlowFromDiscriminatorValue(parseNode)
2669
2687
  }
2670
2688
  return deserializeIntoAuthenticationEventsFlow;
2671
2689
  }
2690
+ /**
2691
+ * Creates a new instance of the appropriate class based on discriminator value
2692
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2693
+ * @returns {AuthenticationFlow}
2694
+ */
2695
+ // @ts-ignore
2696
+ export function createAuthenticationFlowFromDiscriminatorValue(parseNode) {
2697
+ return deserializeIntoAuthenticationFlow;
2698
+ }
2672
2699
  /**
2673
2700
  * Creates a new instance of the appropriate class based on discriminator value
2674
2701
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4046,6 +4073,15 @@ export function createCertificationControlFromDiscriminatorValue(parseNode) {
4046
4073
  export function createCertificationFromDiscriminatorValue(parseNode) {
4047
4074
  return deserializeIntoCertification;
4048
4075
  }
4076
+ /**
4077
+ * Creates a new instance of the appropriate class based on discriminator value
4078
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4079
+ * @returns {ChallengingWord}
4080
+ */
4081
+ // @ts-ignore
4082
+ export function createChallengingWordFromDiscriminatorValue(parseNode) {
4083
+ return deserializeIntoChallengingWord;
4084
+ }
4049
4085
  /**
4050
4086
  * Creates a new instance of the appropriate class based on discriminator value
4051
4087
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -5266,6 +5302,18 @@ export function createConditionalAccessPolicyDetailFromDiscriminatorValue(parseN
5266
5302
  */
5267
5303
  // @ts-ignore
5268
5304
  export function createConditionalAccessPolicyFromDiscriminatorValue(parseNode) {
5305
+ if (!parseNode)
5306
+ throw new Error("parseNode cannot be undefined");
5307
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5308
+ if (mappingValueNode) {
5309
+ const mappingValue = mappingValueNode.getStringValue();
5310
+ if (mappingValue) {
5311
+ switch (mappingValue) {
5312
+ case "#microsoft.graph.whatIfAnalysisResult":
5313
+ return deserializeIntoWhatIfAnalysisResult;
5314
+ }
5315
+ }
5316
+ }
5269
5317
  return deserializeIntoConditionalAccessPolicy;
5270
5318
  }
5271
5319
  /**
@@ -5630,6 +5678,8 @@ export function createConversationMemberFromDiscriminatorValue(parseNode) {
5630
5678
  return deserializeIntoAzureCommunicationServicesUserConversationMember;
5631
5679
  case "#microsoft.graph.microsoftAccountUserConversationMember":
5632
5680
  return deserializeIntoMicrosoftAccountUserConversationMember;
5681
+ case "#microsoft.graph.phoneUserConversationMember":
5682
+ return deserializeIntoPhoneUserConversationMember;
5633
5683
  case "#microsoft.graph.skypeForBusinessUserConversationMember":
5634
5684
  return deserializeIntoSkypeForBusinessUserConversationMember;
5635
5685
  case "#microsoft.graph.skypeUserConversationMember":
@@ -7199,6 +7249,15 @@ export function createDeviceGeoLocationFromDiscriminatorValue(parseNode) {
7199
7249
  export function createDeviceHealthAttestationStateFromDiscriminatorValue(parseNode) {
7200
7250
  return deserializeIntoDeviceHealthAttestationState;
7201
7251
  }
7252
+ /**
7253
+ * Creates a new instance of the appropriate class based on discriminator value
7254
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7255
+ * @returns {DeviceInfo}
7256
+ */
7257
+ // @ts-ignore
7258
+ export function createDeviceInfoFromDiscriminatorValue(parseNode) {
7259
+ return deserializeIntoDeviceInfo;
7260
+ }
7202
7261
  /**
7203
7262
  * Creates a new instance of the appropriate class based on discriminator value
7204
7263
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -10167,6 +10226,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10167
10226
  return deserializeIntoPerson;
10168
10227
  case "#microsoft.graph.phoneAuthenticationMethod":
10169
10228
  return deserializeIntoPhoneAuthenticationMethod;
10229
+ case "#microsoft.graph.phoneUserConversationMember":
10230
+ return deserializeIntoPhoneUserConversationMember;
10170
10231
  case "#microsoft.graph.pinnedChatMessageInfo":
10171
10232
  return deserializeIntoPinnedChatMessageInfo;
10172
10233
  case "#microsoft.graph.place":
@@ -10281,6 +10342,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10281
10342
  return deserializeIntoPublicKeyInfrastructureRoot;
10282
10343
  case "#microsoft.graph.rbacApplication":
10283
10344
  return deserializeIntoRbacApplication;
10345
+ case "#microsoft.graph.readingAssignmentSubmission":
10346
+ return deserializeIntoReadingAssignmentSubmission;
10284
10347
  case "#microsoft.graph.recordOperation":
10285
10348
  return deserializeIntoRecordOperation;
10286
10349
  case "#microsoft.graph.recycleBin":
@@ -10289,12 +10352,16 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10289
10352
  return deserializeIntoRecycleBinItem;
10290
10353
  case "#microsoft.graph.referenceAttachment":
10291
10354
  return deserializeIntoReferenceAttachment;
10355
+ case "#microsoft.graph.reflectCheckInResponse":
10356
+ return deserializeIntoReflectCheckInResponse;
10292
10357
  case "#microsoft.graph.relyingPartyDetailedSummary":
10293
10358
  return deserializeIntoRelyingPartyDetailedSummary;
10294
10359
  case "#microsoft.graph.remoteAssistancePartner":
10295
10360
  return deserializeIntoRemoteAssistancePartner;
10296
10361
  case "#microsoft.graph.remoteDesktopSecurityConfiguration":
10297
10362
  return deserializeIntoRemoteDesktopSecurityConfiguration;
10363
+ case "#microsoft.graph.reportsRoot":
10364
+ return deserializeIntoReportsRoot;
10298
10365
  case "#microsoft.graph.request":
10299
10366
  return deserializeIntoRequest;
10300
10367
  case "#microsoft.graph.resellerDelegatedAdminRelationship":
@@ -10371,12 +10438,6 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10371
10438
  return deserializeIntoArticleIndicator;
10372
10439
  case "#microsoft.graph.security.artifact":
10373
10440
  return deserializeIntoArtifact;
10374
- case "#microsoft.graph.security.auditCoreRoot":
10375
- return deserializeIntoAuditCoreRoot;
10376
- case "#microsoft.graph.security.auditLogQuery":
10377
- return deserializeIntoAuditLogQuery;
10378
- case "#microsoft.graph.security.auditLogRecord":
10379
- return deserializeIntoAuditLogRecord;
10380
10441
  case "#microsoft.graph.security.authorityTemplate":
10381
10442
  return deserializeIntoAuthorityTemplate;
10382
10443
  case "#microsoft.graph.security.case":
@@ -10903,6 +10964,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10903
10964
  return deserializeIntoWebApp;
10904
10965
  case "#microsoft.graph.webPart":
10905
10966
  return deserializeIntoWebPart;
10967
+ case "#microsoft.graph.whatIfAnalysisResult":
10968
+ return deserializeIntoWhatIfAnalysisResult;
10906
10969
  case "#microsoft.graph.win32LobApp":
10907
10970
  return deserializeIntoWin32LobApp;
10908
10971
  case "#microsoft.graph.windows10CompliancePolicy":
@@ -16894,6 +16957,15 @@ export function createOutlookUserFromDiscriminatorValue(parseNode) {
16894
16957
  export function createOutOfBoxExperienceSettingFromDiscriminatorValue(parseNode) {
16895
16958
  return deserializeIntoOutOfBoxExperienceSetting;
16896
16959
  }
16960
+ /**
16961
+ * Creates a new instance of the appropriate class based on discriminator value
16962
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16963
+ * @returns {OutOfOfficeSettings}
16964
+ */
16965
+ // @ts-ignore
16966
+ export function createOutOfOfficeSettingsFromDiscriminatorValue(parseNode) {
16967
+ return deserializeIntoOutOfOfficeSettings;
16968
+ }
16897
16969
  /**
16898
16970
  * Creates a new instance of the appropriate class based on discriminator value
16899
16971
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -17257,6 +17329,15 @@ export function createPhoneAuthenticationMethodFromDiscriminatorValue(parseNode)
17257
17329
  export function createPhoneFromDiscriminatorValue(parseNode) {
17258
17330
  return deserializeIntoPhone;
17259
17331
  }
17332
+ /**
17333
+ * Creates a new instance of the appropriate class based on discriminator value
17334
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17335
+ * @returns {PhoneUserConversationMember}
17336
+ */
17337
+ // @ts-ignore
17338
+ export function createPhoneUserConversationMemberFromDiscriminatorValue(parseNode) {
17339
+ return deserializeIntoPhoneUserConversationMember;
17340
+ }
17260
17341
  /**
17261
17342
  * Creates a new instance of the appropriate class based on discriminator value
17262
17343
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -18938,6 +19019,24 @@ export function createRbacApplicationFromDiscriminatorValue(parseNode) {
18938
19019
  export function createReactionsFacetFromDiscriminatorValue(parseNode) {
18939
19020
  return deserializeIntoReactionsFacet;
18940
19021
  }
19022
+ /**
19023
+ * Creates a new instance of the appropriate class based on discriminator value
19024
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19025
+ * @returns {ReadingAssignmentSubmissionCollectionResponse}
19026
+ */
19027
+ // @ts-ignore
19028
+ export function createReadingAssignmentSubmissionCollectionResponseFromDiscriminatorValue(parseNode) {
19029
+ return deserializeIntoReadingAssignmentSubmissionCollectionResponse;
19030
+ }
19031
+ /**
19032
+ * Creates a new instance of the appropriate class based on discriminator value
19033
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19034
+ * @returns {ReadingAssignmentSubmission}
19035
+ */
19036
+ // @ts-ignore
19037
+ export function createReadingAssignmentSubmissionFromDiscriminatorValue(parseNode) {
19038
+ return deserializeIntoReadingAssignmentSubmission;
19039
+ }
18941
19040
  /**
18942
19041
  * Creates a new instance of the appropriate class based on discriminator value
18943
19042
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -19105,6 +19204,24 @@ export function createReferencedObjectFromDiscriminatorValue(parseNode) {
19105
19204
  export function createReferenceUpdateFromDiscriminatorValue(parseNode) {
19106
19205
  return deserializeIntoReferenceUpdate;
19107
19206
  }
19207
+ /**
19208
+ * Creates a new instance of the appropriate class based on discriminator value
19209
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19210
+ * @returns {ReflectCheckInResponseCollectionResponse}
19211
+ */
19212
+ // @ts-ignore
19213
+ export function createReflectCheckInResponseCollectionResponseFromDiscriminatorValue(parseNode) {
19214
+ return deserializeIntoReflectCheckInResponseCollectionResponse;
19215
+ }
19216
+ /**
19217
+ * Creates a new instance of the appropriate class based on discriminator value
19218
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19219
+ * @returns {ReflectCheckInResponse}
19220
+ */
19221
+ // @ts-ignore
19222
+ export function createReflectCheckInResponseFromDiscriminatorValue(parseNode) {
19223
+ return deserializeIntoReflectCheckInResponse;
19224
+ }
19108
19225
  /**
19109
19226
  * Creates a new instance of the appropriate class based on discriminator value
19110
19227
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -19231,6 +19348,15 @@ export function createReportFromDiscriminatorValue(parseNode) {
19231
19348
  export function createReportRootFromDiscriminatorValue(parseNode) {
19232
19349
  return deserializeIntoReportRoot;
19233
19350
  }
19351
+ /**
19352
+ * Creates a new instance of the appropriate class based on discriminator value
19353
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19354
+ * @returns {ReportsRoot}
19355
+ */
19356
+ // @ts-ignore
19357
+ export function createReportsRootFromDiscriminatorValue(parseNode) {
19358
+ return deserializeIntoReportsRoot;
19359
+ }
19234
19360
  /**
19235
19361
  * Creates a new instance of the appropriate class based on discriminator value
19236
19362
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20611,6 +20737,15 @@ export function createServicePrincipalRiskDetectionCollectionResponseFromDiscrim
20611
20737
  export function createServicePrincipalRiskDetectionFromDiscriminatorValue(parseNode) {
20612
20738
  return deserializeIntoServicePrincipalRiskDetection;
20613
20739
  }
20740
+ /**
20741
+ * Creates a new instance of the appropriate class based on discriminator value
20742
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20743
+ * @returns {ServicePrincipalSignIn}
20744
+ */
20745
+ // @ts-ignore
20746
+ export function createServicePrincipalSignInFromDiscriminatorValue(parseNode) {
20747
+ return deserializeIntoServicePrincipalSignIn;
20748
+ }
20614
20749
  /**
20615
20750
  * Creates a new instance of the appropriate class based on discriminator value
20616
20751
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -21031,6 +21166,40 @@ export function createSignInActivityFromDiscriminatorValue(parseNode) {
21031
21166
  export function createSignInCollectionResponseFromDiscriminatorValue(parseNode) {
21032
21167
  return deserializeIntoSignInCollectionResponse;
21033
21168
  }
21169
+ /**
21170
+ * Creates a new instance of the appropriate class based on discriminator value
21171
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21172
+ * @returns {SignInConditions}
21173
+ */
21174
+ // @ts-ignore
21175
+ export function createSignInConditionsFromDiscriminatorValue(parseNode) {
21176
+ return deserializeIntoSignInConditions;
21177
+ }
21178
+ /**
21179
+ * Creates a new instance of the appropriate class based on discriminator value
21180
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21181
+ * @returns {SignInContext}
21182
+ */
21183
+ // @ts-ignore
21184
+ export function createSignInContextFromDiscriminatorValue(parseNode) {
21185
+ if (!parseNode)
21186
+ throw new Error("parseNode cannot be undefined");
21187
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21188
+ if (mappingValueNode) {
21189
+ const mappingValue = mappingValueNode.getStringValue();
21190
+ if (mappingValue) {
21191
+ switch (mappingValue) {
21192
+ case "#microsoft.graph.applicationContext":
21193
+ return deserializeIntoApplicationContext;
21194
+ case "#microsoft.graph.authContext":
21195
+ return deserializeIntoAuthContext;
21196
+ case "#microsoft.graph.userActionContext":
21197
+ return deserializeIntoUserActionContext;
21198
+ }
21199
+ }
21200
+ }
21201
+ return deserializeIntoSignInContext;
21202
+ }
21034
21203
  /**
21035
21204
  * Creates a new instance of the appropriate class based on discriminator value
21036
21205
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -21058,6 +21227,29 @@ export function createSignInFromDiscriminatorValue(parseNode) {
21058
21227
  export function createSigningCertificateUpdateStatusFromDiscriminatorValue(parseNode) {
21059
21228
  return deserializeIntoSigningCertificateUpdateStatus;
21060
21229
  }
21230
+ /**
21231
+ * Creates a new instance of the appropriate class based on discriminator value
21232
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21233
+ * @returns {SignInIdentity}
21234
+ */
21235
+ // @ts-ignore
21236
+ export function createSignInIdentityFromDiscriminatorValue(parseNode) {
21237
+ if (!parseNode)
21238
+ throw new Error("parseNode cannot be undefined");
21239
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21240
+ if (mappingValueNode) {
21241
+ const mappingValue = mappingValueNode.getStringValue();
21242
+ if (mappingValue) {
21243
+ switch (mappingValue) {
21244
+ case "#microsoft.graph.servicePrincipalSignIn":
21245
+ return deserializeIntoServicePrincipalSignIn;
21246
+ case "#microsoft.graph.userSignIn":
21247
+ return deserializeIntoUserSignIn;
21248
+ }
21249
+ }
21250
+ }
21251
+ return deserializeIntoSignInIdentity;
21252
+ }
21061
21253
  /**
21062
21254
  * Creates a new instance of the appropriate class based on discriminator value
21063
21255
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -23990,6 +24182,15 @@ export function createUsedInsightCollectionResponseFromDiscriminatorValue(parseN
23990
24182
  export function createUsedInsightFromDiscriminatorValue(parseNode) {
23991
24183
  return deserializeIntoUsedInsight;
23992
24184
  }
24185
+ /**
24186
+ * Creates a new instance of the appropriate class based on discriminator value
24187
+ * @param parseNode The parse node to use to read the discriminator value and create the object
24188
+ * @returns {UserActionContext}
24189
+ */
24190
+ // @ts-ignore
24191
+ export function createUserActionContextFromDiscriminatorValue(parseNode) {
24192
+ return deserializeIntoUserActionContext;
24193
+ }
23993
24194
  /**
23994
24195
  * Creates a new instance of the appropriate class based on discriminator value
23995
24196
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -24769,6 +24970,15 @@ export function createUserSecurityStateFromDiscriminatorValue(parseNode) {
24769
24970
  export function createUserSettingsFromDiscriminatorValue(parseNode) {
24770
24971
  return deserializeIntoUserSettings;
24771
24972
  }
24973
+ /**
24974
+ * Creates a new instance of the appropriate class based on discriminator value
24975
+ * @param parseNode The parse node to use to read the discriminator value and create the object
24976
+ * @returns {UserSignIn}
24977
+ */
24978
+ // @ts-ignore
24979
+ export function createUserSignInFromDiscriminatorValue(parseNode) {
24980
+ return deserializeIntoUserSignIn;
24981
+ }
24772
24982
  /**
24773
24983
  * Creates a new instance of the appropriate class based on discriminator value
24774
24984
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -25300,6 +25510,15 @@ export function createWebPartPositionFromDiscriminatorValue(parseNode) {
25300
25510
  export function createWebsiteFromDiscriminatorValue(parseNode) {
25301
25511
  return deserializeIntoWebsite;
25302
25512
  }
25513
+ /**
25514
+ * Creates a new instance of the appropriate class based on discriminator value
25515
+ * @param parseNode The parse node to use to read the discriminator value and create the object
25516
+ * @returns {WhatIfAnalysisResult}
25517
+ */
25518
+ // @ts-ignore
25519
+ export function createWhatIfAnalysisResultFromDiscriminatorValue(parseNode) {
25520
+ return deserializeIntoWhatIfAnalysisResult;
25521
+ }
25303
25522
  /**
25304
25523
  * Creates a new instance of the appropriate class based on discriminator value
25305
25524
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -28620,6 +28839,15 @@ export function deserializeIntoApplication(application = {}) {
28620
28839
  export function deserializeIntoApplicationCollectionResponse(applicationCollectionResponse = {}) {
28621
28840
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(applicationCollectionResponse)), { "value": n => { applicationCollectionResponse.value = n.getCollectionOfObjectValues(createApplicationFromDiscriminatorValue); } });
28622
28841
  }
28842
+ /**
28843
+ * The deserialization information for the current model
28844
+ * @param ApplicationContext The instance to deserialize into.
28845
+ * @returns {Record<string, (node: ParseNode) => void>}
28846
+ */
28847
+ // @ts-ignore
28848
+ export function deserializeIntoApplicationContext(applicationContext = {}) {
28849
+ return Object.assign(Object.assign({}, deserializeIntoSignInContext(applicationContext)), { "includeApplications": n => { applicationContext.includeApplications = n.getCollectionOfPrimitiveValues(); } });
28850
+ }
28623
28851
  /**
28624
28852
  * The deserialization information for the current model
28625
28853
  * @param ApplicationEnforcedRestrictionsSessionControl The instance to deserialize into.
@@ -29576,6 +29804,15 @@ export function deserializeIntoAuditResource(auditResource = {}) {
29576
29804
  "resourceId": n => { auditResource.resourceId = n.getStringValue(); },
29577
29805
  };
29578
29806
  }
29807
+ /**
29808
+ * The deserialization information for the current model
29809
+ * @param AuthContext The instance to deserialize into.
29810
+ * @returns {Record<string, (node: ParseNode) => void>}
29811
+ */
29812
+ // @ts-ignore
29813
+ export function deserializeIntoAuthContext(authContext = {}) {
29814
+ return Object.assign(Object.assign({}, deserializeIntoSignInContext(authContext)), { "authenticationContextValue": n => { authContext.authenticationContextValue = n.getStringValue(); } });
29815
+ }
29579
29816
  /**
29580
29817
  * The deserialization information for the current model
29581
29818
  * @param Authentication The instance to deserialize into.
@@ -29798,6 +30035,19 @@ export function deserializeIntoAuthenticationEventsFlow(authenticationEventsFlow
29798
30035
  export function deserializeIntoAuthenticationEventsFlowCollectionResponse(authenticationEventsFlowCollectionResponse = {}) {
29799
30036
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(authenticationEventsFlowCollectionResponse)), { "value": n => { authenticationEventsFlowCollectionResponse.value = n.getCollectionOfObjectValues(createAuthenticationEventsFlowFromDiscriminatorValue); } });
29800
30037
  }
30038
+ /**
30039
+ * The deserialization information for the current model
30040
+ * @param AuthenticationFlow The instance to deserialize into.
30041
+ * @returns {Record<string, (node: ParseNode) => void>}
30042
+ */
30043
+ // @ts-ignore
30044
+ export function deserializeIntoAuthenticationFlow(authenticationFlow = {}) {
30045
+ return {
30046
+ "backingStoreEnabled": n => { authenticationFlow.backingStoreEnabled = true; },
30047
+ "@odata.type": n => { authenticationFlow.odataType = n.getStringValue(); },
30048
+ "transferMethod": n => { authenticationFlow.transferMethod = n.getCollectionOfEnumValues(ConditionalAccessTransferMethodsObject); },
30049
+ };
30050
+ }
29801
30051
  /**
29802
30052
  * The deserialization information for the current model
29803
30053
  * @param AuthenticationFlowsPolicy The instance to deserialize into.
@@ -31215,6 +31465,20 @@ export function deserializeIntoCertificationControl(certificationControl = {}) {
31215
31465
  "url": n => { certificationControl.url = n.getStringValue(); },
31216
31466
  };
31217
31467
  }
31468
+ /**
31469
+ * The deserialization information for the current model
31470
+ * @param ChallengingWord The instance to deserialize into.
31471
+ * @returns {Record<string, (node: ParseNode) => void>}
31472
+ */
31473
+ // @ts-ignore
31474
+ export function deserializeIntoChallengingWord(challengingWord = {}) {
31475
+ return {
31476
+ "backingStoreEnabled": n => { challengingWord.backingStoreEnabled = true; },
31477
+ "count": n => { challengingWord.count = n.getNumberValue(); },
31478
+ "@odata.type": n => { challengingWord.odataType = n.getStringValue(); },
31479
+ "word": n => { challengingWord.word = n.getStringValue(); },
31480
+ };
31481
+ }
31218
31482
  /**
31219
31483
  * The deserialization information for the current model
31220
31484
  * @param ChangeTrackedEntity The instance to deserialize into.
@@ -34553,6 +34817,47 @@ export function deserializeIntoDeviceHealthAttestationState(deviceHealthAttestat
34553
34817
  "windowsPE": n => { deviceHealthAttestationState.windowsPE = n.getStringValue(); },
34554
34818
  };
34555
34819
  }
34820
+ /**
34821
+ * The deserialization information for the current model
34822
+ * @param DeviceInfo The instance to deserialize into.
34823
+ * @returns {Record<string, (node: ParseNode) => void>}
34824
+ */
34825
+ // @ts-ignore
34826
+ export function deserializeIntoDeviceInfo(deviceInfo = {}) {
34827
+ return {
34828
+ "backingStoreEnabled": n => { deviceInfo.backingStoreEnabled = true; },
34829
+ "deviceId": n => { deviceInfo.deviceId = n.getStringValue(); },
34830
+ "displayName": n => { deviceInfo.displayName = n.getStringValue(); },
34831
+ "enrollmentProfileName": n => { deviceInfo.enrollmentProfileName = n.getStringValue(); },
34832
+ "extensionAttribute1": n => { deviceInfo.extensionAttribute1 = n.getStringValue(); },
34833
+ "extensionAttribute10": n => { deviceInfo.extensionAttribute10 = n.getStringValue(); },
34834
+ "extensionAttribute11": n => { deviceInfo.extensionAttribute11 = n.getStringValue(); },
34835
+ "extensionAttribute12": n => { deviceInfo.extensionAttribute12 = n.getStringValue(); },
34836
+ "extensionAttribute13": n => { deviceInfo.extensionAttribute13 = n.getStringValue(); },
34837
+ "extensionAttribute14": n => { deviceInfo.extensionAttribute14 = n.getStringValue(); },
34838
+ "extensionAttribute15": n => { deviceInfo.extensionAttribute15 = n.getStringValue(); },
34839
+ "extensionAttribute2": n => { deviceInfo.extensionAttribute2 = n.getStringValue(); },
34840
+ "extensionAttribute3": n => { deviceInfo.extensionAttribute3 = n.getStringValue(); },
34841
+ "extensionAttribute4": n => { deviceInfo.extensionAttribute4 = n.getStringValue(); },
34842
+ "extensionAttribute5": n => { deviceInfo.extensionAttribute5 = n.getStringValue(); },
34843
+ "extensionAttribute6": n => { deviceInfo.extensionAttribute6 = n.getStringValue(); },
34844
+ "extensionAttribute7": n => { deviceInfo.extensionAttribute7 = n.getStringValue(); },
34845
+ "extensionAttribute8": n => { deviceInfo.extensionAttribute8 = n.getStringValue(); },
34846
+ "extensionAttribute9": n => { deviceInfo.extensionAttribute9 = n.getStringValue(); },
34847
+ "isCompliant": n => { deviceInfo.isCompliant = n.getBooleanValue(); },
34848
+ "manufacturer": n => { deviceInfo.manufacturer = n.getStringValue(); },
34849
+ "mdmAppId": n => { deviceInfo.mdmAppId = n.getStringValue(); },
34850
+ "model": n => { deviceInfo.model = n.getStringValue(); },
34851
+ "@odata.type": n => { deviceInfo.odataType = n.getStringValue(); },
34852
+ "operatingSystem": n => { deviceInfo.operatingSystem = n.getStringValue(); },
34853
+ "operatingSystemVersion": n => { deviceInfo.operatingSystemVersion = n.getStringValue(); },
34854
+ "ownership": n => { deviceInfo.ownership = n.getStringValue(); },
34855
+ "physicalIds": n => { deviceInfo.physicalIds = n.getCollectionOfPrimitiveValues(); },
34856
+ "profileType": n => { deviceInfo.profileType = n.getStringValue(); },
34857
+ "systemLabels": n => { deviceInfo.systemLabels = n.getCollectionOfPrimitiveValues(); },
34858
+ "trustType": n => { deviceInfo.trustType = n.getStringValue(); },
34859
+ };
34860
+ }
34556
34861
  /**
34557
34862
  * The deserialization information for the current model
34558
34863
  * @param DeviceInstallState The instance to deserialize into.
@@ -35857,6 +36162,7 @@ export function deserializeIntoEducationRoot(educationRoot = {}) {
35857
36162
  "classes": n => { educationRoot.classes = n.getCollectionOfObjectValues(createEducationClassFromDiscriminatorValue); },
35858
36163
  "me": n => { educationRoot.me = n.getObjectValue(createEducationUserFromDiscriminatorValue); },
35859
36164
  "@odata.type": n => { educationRoot.odataType = n.getStringValue(); },
36165
+ "reports": n => { educationRoot.reports = n.getObjectValue(createReportsRootFromDiscriminatorValue); },
35860
36166
  "schools": n => { educationRoot.schools = n.getCollectionOfObjectValues(createEducationSchoolFromDiscriminatorValue); },
35861
36167
  "users": n => { educationRoot.users = n.getCollectionOfObjectValues(createEducationUserFromDiscriminatorValue); },
35862
36168
  };
@@ -36846,7 +37152,7 @@ export function deserializeIntoFileStorage(fileStorage = {}) {
36846
37152
  */
36847
37153
  // @ts-ignore
36848
37154
  export function deserializeIntoFileStorageContainer(fileStorageContainer = {}) {
36849
- return Object.assign(Object.assign({}, deserializeIntoEntity(fileStorageContainer)), { "containerTypeId": n => { fileStorageContainer.containerTypeId = n.getGuidValue(); }, "createdDateTime": n => { fileStorageContainer.createdDateTime = n.getDateValue(); }, "customProperties": n => { fileStorageContainer.customProperties = n.getObjectValue(createFileStorageContainerCustomPropertyDictionaryFromDiscriminatorValue); }, "description": n => { fileStorageContainer.description = n.getStringValue(); }, "displayName": n => { fileStorageContainer.displayName = n.getStringValue(); }, "drive": n => { fileStorageContainer.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "lockState": n => { fileStorageContainer.lockState = n.getEnumValue(SiteLockStateObject); }, "permissions": n => { fileStorageContainer.permissions = n.getCollectionOfObjectValues(createPermissionFromDiscriminatorValue); }, "recycleBin": n => { fileStorageContainer.recycleBin = n.getObjectValue(createRecycleBinFromDiscriminatorValue); }, "settings": n => { fileStorageContainer.settings = n.getObjectValue(createFileStorageContainerSettingsFromDiscriminatorValue); }, "status": n => { fileStorageContainer.status = n.getEnumValue(FileStorageContainerStatusObject); }, "viewpoint": n => { fileStorageContainer.viewpoint = n.getObjectValue(createFileStorageContainerViewpointFromDiscriminatorValue); } });
37155
+ return Object.assign(Object.assign({}, deserializeIntoEntity(fileStorageContainer)), { "columns": n => { fileStorageContainer.columns = n.getCollectionOfObjectValues(createColumnDefinitionFromDiscriminatorValue); }, "containerTypeId": n => { fileStorageContainer.containerTypeId = n.getGuidValue(); }, "createdDateTime": n => { fileStorageContainer.createdDateTime = n.getDateValue(); }, "customProperties": n => { fileStorageContainer.customProperties = n.getObjectValue(createFileStorageContainerCustomPropertyDictionaryFromDiscriminatorValue); }, "description": n => { fileStorageContainer.description = n.getStringValue(); }, "displayName": n => { fileStorageContainer.displayName = n.getStringValue(); }, "drive": n => { fileStorageContainer.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "lockState": n => { fileStorageContainer.lockState = n.getEnumValue(SiteLockStateObject); }, "permissions": n => { fileStorageContainer.permissions = n.getCollectionOfObjectValues(createPermissionFromDiscriminatorValue); }, "recycleBin": n => { fileStorageContainer.recycleBin = n.getObjectValue(createRecycleBinFromDiscriminatorValue); }, "settings": n => { fileStorageContainer.settings = n.getObjectValue(createFileStorageContainerSettingsFromDiscriminatorValue); }, "status": n => { fileStorageContainer.status = n.getEnumValue(FileStorageContainerStatusObject); }, "viewpoint": n => { fileStorageContainer.viewpoint = n.getObjectValue(createFileStorageContainerViewpointFromDiscriminatorValue); } });
36850
37156
  }
36851
37157
  /**
36852
37158
  * The deserialization information for the current model
@@ -41644,7 +41950,7 @@ export function deserializeIntoOnlineMeeting(onlineMeeting = {}) {
41644
41950
  */
41645
41951
  // @ts-ignore
41646
41952
  export function deserializeIntoOnlineMeetingBase(onlineMeetingBase = {}) {
41647
- return Object.assign(Object.assign({}, deserializeIntoEntity(onlineMeetingBase)), { "allowAttendeeToEnableCamera": n => { onlineMeetingBase.allowAttendeeToEnableCamera = n.getBooleanValue(); }, "allowAttendeeToEnableMic": n => { onlineMeetingBase.allowAttendeeToEnableMic = n.getBooleanValue(); }, "allowBreakoutRooms": n => { onlineMeetingBase.allowBreakoutRooms = n.getBooleanValue(); }, "allowedLobbyAdmitters": n => { onlineMeetingBase.allowedLobbyAdmitters = n.getEnumValue(AllowedLobbyAdmitterRolesObject); }, "allowedPresenters": n => { onlineMeetingBase.allowedPresenters = n.getEnumValue(OnlineMeetingPresentersObject); }, "allowLiveShare": n => { onlineMeetingBase.allowLiveShare = n.getEnumValue(MeetingLiveShareOptionsObject); }, "allowMeetingChat": n => { onlineMeetingBase.allowMeetingChat = n.getEnumValue(MeetingChatModeObject); }, "allowParticipantsToChangeName": n => { onlineMeetingBase.allowParticipantsToChangeName = n.getBooleanValue(); }, "allowPowerPointSharing": n => { onlineMeetingBase.allowPowerPointSharing = n.getBooleanValue(); }, "allowRecording": n => { onlineMeetingBase.allowRecording = n.getBooleanValue(); }, "allowTeamworkReactions": n => { onlineMeetingBase.allowTeamworkReactions = n.getBooleanValue(); }, "allowTranscription": n => { onlineMeetingBase.allowTranscription = n.getBooleanValue(); }, "allowWhiteboard": n => { onlineMeetingBase.allowWhiteboard = n.getBooleanValue(); }, "attendanceReports": n => { onlineMeetingBase.attendanceReports = n.getCollectionOfObjectValues(createMeetingAttendanceReportFromDiscriminatorValue); }, "audioConferencing": n => { onlineMeetingBase.audioConferencing = n.getObjectValue(createAudioConferencingFromDiscriminatorValue); }, "chatInfo": n => { onlineMeetingBase.chatInfo = n.getObjectValue(createChatInfoFromDiscriminatorValue); }, "chatRestrictions": n => { onlineMeetingBase.chatRestrictions = n.getObjectValue(createChatRestrictionsFromDiscriminatorValue); }, "isEntryExitAnnounced": n => { onlineMeetingBase.isEntryExitAnnounced = n.getBooleanValue(); }, "joinInformation": n => { onlineMeetingBase.joinInformation = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "joinMeetingIdSettings": n => { onlineMeetingBase.joinMeetingIdSettings = n.getObjectValue(createJoinMeetingIdSettingsFromDiscriminatorValue); }, "joinWebUrl": n => { onlineMeetingBase.joinWebUrl = n.getStringValue(); }, "lobbyBypassSettings": n => { onlineMeetingBase.lobbyBypassSettings = n.getObjectValue(createLobbyBypassSettingsFromDiscriminatorValue); }, "recordAutomatically": n => { onlineMeetingBase.recordAutomatically = n.getBooleanValue(); }, "shareMeetingChatHistoryDefault": n => { onlineMeetingBase.shareMeetingChatHistoryDefault = n.getEnumValue(MeetingChatHistoryDefaultModeObject); }, "subject": n => { onlineMeetingBase.subject = n.getStringValue(); }, "videoTeleconferenceId": n => { onlineMeetingBase.videoTeleconferenceId = n.getStringValue(); }, "watermarkProtection": n => { onlineMeetingBase.watermarkProtection = n.getObjectValue(createWatermarkProtectionValuesFromDiscriminatorValue); } });
41953
+ return Object.assign(Object.assign({}, deserializeIntoEntity(onlineMeetingBase)), { "allowAttendeeToEnableCamera": n => { onlineMeetingBase.allowAttendeeToEnableCamera = n.getBooleanValue(); }, "allowAttendeeToEnableMic": n => { onlineMeetingBase.allowAttendeeToEnableMic = n.getBooleanValue(); }, "allowBreakoutRooms": n => { onlineMeetingBase.allowBreakoutRooms = n.getBooleanValue(); }, "allowedLobbyAdmitters": n => { onlineMeetingBase.allowedLobbyAdmitters = n.getEnumValue(AllowedLobbyAdmitterRolesObject); }, "allowedPresenters": n => { onlineMeetingBase.allowedPresenters = n.getEnumValue(OnlineMeetingPresentersObject); }, "allowLiveShare": n => { onlineMeetingBase.allowLiveShare = n.getEnumValue(MeetingLiveShareOptionsObject); }, "allowMeetingChat": n => { onlineMeetingBase.allowMeetingChat = n.getEnumValue(MeetingChatModeObject); }, "allowParticipantsToChangeName": n => { onlineMeetingBase.allowParticipantsToChangeName = n.getBooleanValue(); }, "allowPowerPointSharing": n => { onlineMeetingBase.allowPowerPointSharing = n.getBooleanValue(); }, "allowRecording": n => { onlineMeetingBase.allowRecording = n.getBooleanValue(); }, "allowTeamworkReactions": n => { onlineMeetingBase.allowTeamworkReactions = n.getBooleanValue(); }, "allowTranscription": n => { onlineMeetingBase.allowTranscription = n.getBooleanValue(); }, "allowWhiteboard": n => { onlineMeetingBase.allowWhiteboard = n.getBooleanValue(); }, "attendanceReports": n => { onlineMeetingBase.attendanceReports = n.getCollectionOfObjectValues(createMeetingAttendanceReportFromDiscriminatorValue); }, "audioConferencing": n => { onlineMeetingBase.audioConferencing = n.getObjectValue(createAudioConferencingFromDiscriminatorValue); }, "chatInfo": n => { onlineMeetingBase.chatInfo = n.getObjectValue(createChatInfoFromDiscriminatorValue); }, "chatRestrictions": n => { onlineMeetingBase.chatRestrictions = n.getObjectValue(createChatRestrictionsFromDiscriminatorValue); }, "isEndToEndEncryptionEnabled": n => { onlineMeetingBase.isEndToEndEncryptionEnabled = n.getBooleanValue(); }, "isEntryExitAnnounced": n => { onlineMeetingBase.isEntryExitAnnounced = n.getBooleanValue(); }, "joinInformation": n => { onlineMeetingBase.joinInformation = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "joinMeetingIdSettings": n => { onlineMeetingBase.joinMeetingIdSettings = n.getObjectValue(createJoinMeetingIdSettingsFromDiscriminatorValue); }, "joinWebUrl": n => { onlineMeetingBase.joinWebUrl = n.getStringValue(); }, "lobbyBypassSettings": n => { onlineMeetingBase.lobbyBypassSettings = n.getObjectValue(createLobbyBypassSettingsFromDiscriminatorValue); }, "recordAutomatically": n => { onlineMeetingBase.recordAutomatically = n.getBooleanValue(); }, "shareMeetingChatHistoryDefault": n => { onlineMeetingBase.shareMeetingChatHistoryDefault = n.getEnumValue(MeetingChatHistoryDefaultModeObject); }, "subject": n => { onlineMeetingBase.subject = n.getStringValue(); }, "videoTeleconferenceId": n => { onlineMeetingBase.videoTeleconferenceId = n.getStringValue(); }, "watermarkProtection": n => { onlineMeetingBase.watermarkProtection = n.getObjectValue(createWatermarkProtectionValuesFromDiscriminatorValue); } });
41648
41954
  }
41649
41955
  /**
41650
41956
  * The deserialization information for the current model
@@ -42195,6 +42501,20 @@ export function deserializeIntoOutOfBoxExperienceSetting(outOfBoxExperienceSetti
42195
42501
  "userType": n => { outOfBoxExperienceSetting.userType = n.getEnumValue(WindowsUserTypeObject); },
42196
42502
  };
42197
42503
  }
42504
+ /**
42505
+ * The deserialization information for the current model
42506
+ * @param OutOfOfficeSettings The instance to deserialize into.
42507
+ * @returns {Record<string, (node: ParseNode) => void>}
42508
+ */
42509
+ // @ts-ignore
42510
+ export function deserializeIntoOutOfOfficeSettings(outOfOfficeSettings = {}) {
42511
+ return {
42512
+ "backingStoreEnabled": n => { outOfOfficeSettings.backingStoreEnabled = true; },
42513
+ "isOutOfOffice": n => { outOfOfficeSettings.isOutOfOffice = n.getBooleanValue(); },
42514
+ "message": n => { outOfOfficeSettings.message = n.getStringValue(); },
42515
+ "@odata.type": n => { outOfOfficeSettings.odataType = n.getStringValue(); },
42516
+ };
42517
+ }
42198
42518
  /**
42199
42519
  * The deserialization information for the current model
42200
42520
  * @param PackageEscaped The instance to deserialize into.
@@ -42662,6 +42982,15 @@ export function deserializeIntoPhoneAuthenticationMethod(phoneAuthenticationMeth
42662
42982
  export function deserializeIntoPhoneAuthenticationMethodCollectionResponse(phoneAuthenticationMethodCollectionResponse = {}) {
42663
42983
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(phoneAuthenticationMethodCollectionResponse)), { "value": n => { phoneAuthenticationMethodCollectionResponse.value = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); } });
42664
42984
  }
42985
+ /**
42986
+ * The deserialization information for the current model
42987
+ * @param PhoneUserConversationMember The instance to deserialize into.
42988
+ * @returns {Record<string, (node: ParseNode) => void>}
42989
+ */
42990
+ // @ts-ignore
42991
+ export function deserializeIntoPhoneUserConversationMember(phoneUserConversationMember = {}) {
42992
+ return Object.assign(Object.assign({}, deserializeIntoConversationMember(phoneUserConversationMember)), { "phoneNumber": n => { phoneUserConversationMember.phoneNumber = n.getStringValue(); } });
42993
+ }
42665
42994
  /**
42666
42995
  * The deserialization information for the current model
42667
42996
  * @param Photo The instance to deserialize into.
@@ -43210,7 +43539,7 @@ export function deserializeIntoPreAuthorizedApplication(preAuthorizedApplication
43210
43539
  */
43211
43540
  // @ts-ignore
43212
43541
  export function deserializeIntoPresence(presence = {}) {
43213
- return Object.assign(Object.assign({}, deserializeIntoEntity(presence)), { "activity": n => { presence.activity = n.getStringValue(); }, "availability": n => { presence.availability = n.getStringValue(); }, "statusMessage": n => { presence.statusMessage = n.getObjectValue(createPresenceStatusMessageFromDiscriminatorValue); } });
43542
+ return Object.assign(Object.assign({}, deserializeIntoEntity(presence)), { "activity": n => { presence.activity = n.getStringValue(); }, "availability": n => { presence.availability = n.getStringValue(); }, "outOfOfficeSettings": n => { presence.outOfOfficeSettings = n.getObjectValue(createOutOfOfficeSettingsFromDiscriminatorValue); }, "sequenceNumber": n => { presence.sequenceNumber = n.getStringValue(); }, "statusMessage": n => { presence.statusMessage = n.getObjectValue(createPresenceStatusMessageFromDiscriminatorValue); } });
43214
43543
  }
43215
43544
  /**
43216
43545
  * The deserialization information for the current model
@@ -44519,6 +44848,24 @@ export function deserializeIntoReactionsFacet(reactionsFacet = {}) {
44519
44848
  "shareCount": n => { reactionsFacet.shareCount = n.getNumberValue(); },
44520
44849
  };
44521
44850
  }
44851
+ /**
44852
+ * The deserialization information for the current model
44853
+ * @param ReadingAssignmentSubmission The instance to deserialize into.
44854
+ * @returns {Record<string, (node: ParseNode) => void>}
44855
+ */
44856
+ // @ts-ignore
44857
+ export function deserializeIntoReadingAssignmentSubmission(readingAssignmentSubmission = {}) {
44858
+ return Object.assign(Object.assign({}, deserializeIntoEntity(readingAssignmentSubmission)), { "accuracyScore": n => { readingAssignmentSubmission.accuracyScore = n.getNumberValue(); }, "action": n => { readingAssignmentSubmission.action = n.getStringValue(); }, "assignmentId": n => { readingAssignmentSubmission.assignmentId = n.getStringValue(); }, "challengingWords": n => { readingAssignmentSubmission.challengingWords = n.getCollectionOfObjectValues(createChallengingWordFromDiscriminatorValue); }, "classId": n => { readingAssignmentSubmission.classId = n.getStringValue(); }, "insertions": n => { readingAssignmentSubmission.insertions = n.getNumberValue(); }, "mispronunciations": n => { readingAssignmentSubmission.mispronunciations = n.getNumberValue(); }, "missedExclamationMarks": n => { readingAssignmentSubmission.missedExclamationMarks = n.getNumberValue(); }, "missedPeriods": n => { readingAssignmentSubmission.missedPeriods = n.getNumberValue(); }, "missedQuestionMarks": n => { readingAssignmentSubmission.missedQuestionMarks = n.getNumberValue(); }, "missedShorts": n => { readingAssignmentSubmission.missedShorts = n.getNumberValue(); }, "monotoneScore": n => { readingAssignmentSubmission.monotoneScore = n.getNumberValue(); }, "omissions": n => { readingAssignmentSubmission.omissions = n.getNumberValue(); }, "repetitions": n => { readingAssignmentSubmission.repetitions = n.getNumberValue(); }, "selfCorrections": n => { readingAssignmentSubmission.selfCorrections = n.getNumberValue(); }, "studentId": n => { readingAssignmentSubmission.studentId = n.getStringValue(); }, "submissionDateTime": n => { readingAssignmentSubmission.submissionDateTime = n.getDateValue(); }, "submissionId": n => { readingAssignmentSubmission.submissionId = n.getStringValue(); }, "unexpectedPauses": n => { readingAssignmentSubmission.unexpectedPauses = n.getNumberValue(); }, "wordCount": n => { readingAssignmentSubmission.wordCount = n.getNumberValue(); }, "wordsPerMinute": n => { readingAssignmentSubmission.wordsPerMinute = n.getNumberValue(); } });
44859
+ }
44860
+ /**
44861
+ * The deserialization information for the current model
44862
+ * @param ReadingAssignmentSubmissionCollectionResponse The instance to deserialize into.
44863
+ * @returns {Record<string, (node: ParseNode) => void>}
44864
+ */
44865
+ // @ts-ignore
44866
+ export function deserializeIntoReadingAssignmentSubmissionCollectionResponse(readingAssignmentSubmissionCollectionResponse = {}) {
44867
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(readingAssignmentSubmissionCollectionResponse)), { "value": n => { readingAssignmentSubmissionCollectionResponse.value = n.getCollectionOfObjectValues(createReadingAssignmentSubmissionFromDiscriminatorValue); } });
44868
+ }
44522
44869
  /**
44523
44870
  * The deserialization information for the current model
44524
44871
  * @param RecentNotebook The instance to deserialize into.
@@ -44738,6 +45085,24 @@ export function deserializeIntoReferenceUpdate(referenceUpdate = {}) {
44738
45085
  "@odata.type": n => { referenceUpdate.odataType = n.getStringValue(); },
44739
45086
  };
44740
45087
  }
45088
+ /**
45089
+ * The deserialization information for the current model
45090
+ * @param ReflectCheckInResponse The instance to deserialize into.
45091
+ * @returns {Record<string, (node: ParseNode) => void>}
45092
+ */
45093
+ // @ts-ignore
45094
+ export function deserializeIntoReflectCheckInResponse(reflectCheckInResponse = {}) {
45095
+ return Object.assign(Object.assign({}, deserializeIntoEntity(reflectCheckInResponse)), { "checkInId": n => { reflectCheckInResponse.checkInId = n.getStringValue(); }, "checkInTitle": n => { reflectCheckInResponse.checkInTitle = n.getStringValue(); }, "classId": n => { reflectCheckInResponse.classId = n.getStringValue(); }, "createdDateTime": n => { reflectCheckInResponse.createdDateTime = n.getDateValue(); }, "creatorId": n => { reflectCheckInResponse.creatorId = n.getStringValue(); }, "isClosed": n => { reflectCheckInResponse.isClosed = n.getBooleanValue(); }, "responderId": n => { reflectCheckInResponse.responderId = n.getStringValue(); }, "responseEmotion": n => { reflectCheckInResponse.responseEmotion = n.getEnumValue(ResponseEmotionTypeObject); }, "responseFeedback": n => { reflectCheckInResponse.responseFeedback = n.getEnumValue(ResponseFeedbackTypeObject); }, "submitDateTime": n => { reflectCheckInResponse.submitDateTime = n.getDateValue(); } });
45096
+ }
45097
+ /**
45098
+ * The deserialization information for the current model
45099
+ * @param ReflectCheckInResponseCollectionResponse The instance to deserialize into.
45100
+ * @returns {Record<string, (node: ParseNode) => void>}
45101
+ */
45102
+ // @ts-ignore
45103
+ export function deserializeIntoReflectCheckInResponseCollectionResponse(reflectCheckInResponseCollectionResponse = {}) {
45104
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(reflectCheckInResponseCollectionResponse)), { "value": n => { reflectCheckInResponseCollectionResponse.value = n.getCollectionOfObjectValues(createReflectCheckInResponseFromDiscriminatorValue); } });
45105
+ }
44741
45106
  /**
44742
45107
  * The deserialization information for the current model
44743
45108
  * @param RegistrationEnforcement The instance to deserialize into.
@@ -44940,6 +45305,15 @@ export function deserializeIntoReportRoot(reportRoot = {}) {
44940
45305
  "security": n => { reportRoot.security = n.getObjectValue(createSecurityReportsRootFromDiscriminatorValue); },
44941
45306
  };
44942
45307
  }
45308
+ /**
45309
+ * The deserialization information for the current model
45310
+ * @param ReportsRoot The instance to deserialize into.
45311
+ * @returns {Record<string, (node: ParseNode) => void>}
45312
+ */
45313
+ // @ts-ignore
45314
+ export function deserializeIntoReportsRoot(reportsRoot = {}) {
45315
+ return Object.assign(Object.assign({}, deserializeIntoEntity(reportsRoot)), { "readingAssignmentSubmissions": n => { reportsRoot.readingAssignmentSubmissions = n.getCollectionOfObjectValues(createReadingAssignmentSubmissionFromDiscriminatorValue); }, "reflectCheckInResponses": n => { reportsRoot.reflectCheckInResponses = n.getCollectionOfObjectValues(createReflectCheckInResponseFromDiscriminatorValue); } });
45316
+ }
44943
45317
  /**
44944
45318
  * The deserialization information for the current model
44945
45319
  * @param Request The instance to deserialize into.
@@ -46119,7 +46493,7 @@ export function deserializeIntoSecureSignInSessionControl(secureSignInSessionCon
46119
46493
  */
46120
46494
  // @ts-ignore
46121
46495
  export function deserializeIntoSecurity(security = {}) {
46122
- return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alertsV2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "auditLog": n => { security.auditLog = n.getObjectValue(createAuditCoreRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "dataSecurityAndGovernance": n => { security.dataSecurityAndGovernance = n.getObjectValue(createTenantDataSecurityAndGovernanceFromDiscriminatorValue); }, "identities": n => { security.identities = n.getObjectValue(I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9); }, "incidents": n => { security.incidents = n.getCollectionOfObjectValues(createIncidentFromDiscriminatorValue); }, "labels": n => { security.labels = n.getObjectValue(createLabelsRootFromDiscriminatorValue); }, "secureScoreControlProfiles": n => { security.secureScoreControlProfiles = n.getCollectionOfObjectValues(createSecureScoreControlProfileFromDiscriminatorValue); }, "secureScores": n => { security.secureScores = n.getCollectionOfObjectValues(createSecureScoreFromDiscriminatorValue); }, "subjectRightsRequests": n => { security.subjectRightsRequests = n.getCollectionOfObjectValues(createSubjectRightsRequestFromDiscriminatorValue); }, "threatIntelligence": n => { security.threatIntelligence = n.getObjectValue(createThreatIntelligenceFromDiscriminatorValue); }, "triggers": n => { security.triggers = n.getObjectValue(createTriggersRootFromDiscriminatorValue); }, "triggerTypes": n => { security.triggerTypes = n.getObjectValue(createTriggerTypesRootFromDiscriminatorValue); } });
46496
+ return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alertsV2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "dataSecurityAndGovernance": n => { security.dataSecurityAndGovernance = n.getObjectValue(createTenantDataSecurityAndGovernanceFromDiscriminatorValue); }, "identities": n => { security.identities = n.getObjectValue(I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9); }, "incidents": n => { security.incidents = n.getCollectionOfObjectValues(createIncidentFromDiscriminatorValue); }, "labels": n => { security.labels = n.getObjectValue(createLabelsRootFromDiscriminatorValue); }, "secureScoreControlProfiles": n => { security.secureScoreControlProfiles = n.getCollectionOfObjectValues(createSecureScoreControlProfileFromDiscriminatorValue); }, "secureScores": n => { security.secureScores = n.getCollectionOfObjectValues(createSecureScoreFromDiscriminatorValue); }, "subjectRightsRequests": n => { security.subjectRightsRequests = n.getCollectionOfObjectValues(createSubjectRightsRequestFromDiscriminatorValue); }, "threatIntelligence": n => { security.threatIntelligence = n.getObjectValue(createThreatIntelligenceFromDiscriminatorValue); }, "triggers": n => { security.triggers = n.getObjectValue(createTriggersRootFromDiscriminatorValue); }, "triggerTypes": n => { security.triggerTypes = n.getObjectValue(createTriggerTypesRootFromDiscriminatorValue); } });
46123
46497
  }
46124
46498
  /**
46125
46499
  * The deserialization information for the current model
@@ -46444,6 +46818,15 @@ export function deserializeIntoServicePrincipalRiskDetection(servicePrincipalRis
46444
46818
  export function deserializeIntoServicePrincipalRiskDetectionCollectionResponse(servicePrincipalRiskDetectionCollectionResponse = {}) {
46445
46819
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(servicePrincipalRiskDetectionCollectionResponse)), { "value": n => { servicePrincipalRiskDetectionCollectionResponse.value = n.getCollectionOfObjectValues(createServicePrincipalRiskDetectionFromDiscriminatorValue); } });
46446
46820
  }
46821
+ /**
46822
+ * The deserialization information for the current model
46823
+ * @param ServicePrincipalSignIn The instance to deserialize into.
46824
+ * @returns {Record<string, (node: ParseNode) => void>}
46825
+ */
46826
+ // @ts-ignore
46827
+ export function deserializeIntoServicePrincipalSignIn(servicePrincipalSignIn = {}) {
46828
+ return Object.assign(Object.assign({}, deserializeIntoSignInIdentity(servicePrincipalSignIn)), { "servicePrincipalId": n => { servicePrincipalSignIn.servicePrincipalId = n.getStringValue(); } });
46829
+ }
46447
46830
  /**
46448
46831
  * The deserialization information for the current model
46449
46832
  * @param ServiceProvisioningError The instance to deserialize into.
@@ -46965,6 +47348,40 @@ export function deserializeIntoSignInActivity(signInActivity = {}) {
46965
47348
  export function deserializeIntoSignInCollectionResponse(signInCollectionResponse = {}) {
46966
47349
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(signInCollectionResponse)), { "value": n => { signInCollectionResponse.value = n.getCollectionOfObjectValues(createSignInFromDiscriminatorValue); } });
46967
47350
  }
47351
+ /**
47352
+ * The deserialization information for the current model
47353
+ * @param SignInConditions The instance to deserialize into.
47354
+ * @returns {Record<string, (node: ParseNode) => void>}
47355
+ */
47356
+ // @ts-ignore
47357
+ export function deserializeIntoSignInConditions(signInConditions = {}) {
47358
+ return {
47359
+ "authenticationFlow": n => { signInConditions.authenticationFlow = n.getObjectValue(createAuthenticationFlowFromDiscriminatorValue); },
47360
+ "backingStoreEnabled": n => { signInConditions.backingStoreEnabled = true; },
47361
+ "clientAppType": n => { signInConditions.clientAppType = n.getEnumValue(ConditionalAccessClientAppObject); },
47362
+ "country": n => { signInConditions.country = n.getStringValue(); },
47363
+ "deviceInfo": n => { signInConditions.deviceInfo = n.getObjectValue(createDeviceInfoFromDiscriminatorValue); },
47364
+ "devicePlatform": n => { signInConditions.devicePlatform = n.getEnumValue(ConditionalAccessDevicePlatformObject); },
47365
+ "insiderRiskLevel": n => { signInConditions.insiderRiskLevel = n.getEnumValue(InsiderRiskLevelObject); },
47366
+ "ipAddress": n => { signInConditions.ipAddress = n.getStringValue(); },
47367
+ "@odata.type": n => { signInConditions.odataType = n.getStringValue(); },
47368
+ "servicePrincipalRiskLevel": n => { signInConditions.servicePrincipalRiskLevel = n.getEnumValue(RiskLevelObject); },
47369
+ "signInRiskLevel": n => { signInConditions.signInRiskLevel = n.getEnumValue(RiskLevelObject); },
47370
+ "userRiskLevel": n => { signInConditions.userRiskLevel = n.getEnumValue(RiskLevelObject); },
47371
+ };
47372
+ }
47373
+ /**
47374
+ * The deserialization information for the current model
47375
+ * @param SignInContext The instance to deserialize into.
47376
+ * @returns {Record<string, (node: ParseNode) => void>}
47377
+ */
47378
+ // @ts-ignore
47379
+ export function deserializeIntoSignInContext(signInContext = {}) {
47380
+ return {
47381
+ "backingStoreEnabled": n => { signInContext.backingStoreEnabled = true; },
47382
+ "@odata.type": n => { signInContext.odataType = n.getStringValue(); },
47383
+ };
47384
+ }
46968
47385
  /**
46969
47386
  * The deserialization information for the current model
46970
47387
  * @param SignInFrequencySessionControl The instance to deserialize into.
@@ -46988,6 +47405,18 @@ export function deserializeIntoSigningCertificateUpdateStatus(signingCertificate
46988
47405
  "@odata.type": n => { signingCertificateUpdateStatus.odataType = n.getStringValue(); },
46989
47406
  };
46990
47407
  }
47408
+ /**
47409
+ * The deserialization information for the current model
47410
+ * @param SignInIdentity The instance to deserialize into.
47411
+ * @returns {Record<string, (node: ParseNode) => void>}
47412
+ */
47413
+ // @ts-ignore
47414
+ export function deserializeIntoSignInIdentity(signInIdentity = {}) {
47415
+ return {
47416
+ "backingStoreEnabled": n => { signInIdentity.backingStoreEnabled = true; },
47417
+ "@odata.type": n => { signInIdentity.odataType = n.getStringValue(); },
47418
+ };
47419
+ }
46991
47420
  /**
46992
47421
  * The deserialization information for the current model
46993
47422
  * @param SignInLocation The instance to deserialize into.
@@ -50186,6 +50615,15 @@ export function deserializeIntoUsedInsightCollectionResponse(usedInsightCollecti
50186
50615
  export function deserializeIntoUser(user = {}) {
50187
50616
  return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "dataSecurityAndGovernance": n => { user.dataSecurityAndGovernance = n.getObjectValue(createUserDataSecurityAndGovernanceFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createItemInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isManagementRestricted": n => { user.isManagementRestricted = n.getBooleanValue(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "solutions": n => { user.solutions = n.getObjectValue(createUserSolutionRootFromDiscriminatorValue); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
50188
50617
  }
50618
+ /**
50619
+ * The deserialization information for the current model
50620
+ * @param UserActionContext The instance to deserialize into.
50621
+ * @returns {Record<string, (node: ParseNode) => void>}
50622
+ */
50623
+ // @ts-ignore
50624
+ export function deserializeIntoUserActionContext(userActionContext = {}) {
50625
+ return Object.assign(Object.assign({}, deserializeIntoSignInContext(userActionContext)), { "userAction": n => { userActionContext.userAction = n.getEnumValue(UserActionObject); } });
50626
+ }
50189
50627
  /**
50190
50628
  * The deserialization information for the current model
50191
50629
  * @param UserActivity The instance to deserialize into.
@@ -51049,6 +51487,15 @@ export function deserializeIntoUserSecurityState(userSecurityState = {}) {
51049
51487
  export function deserializeIntoUserSettings(userSettings = {}) {
51050
51488
  return Object.assign(Object.assign({}, deserializeIntoEntity(userSettings)), { "contributionToContentDiscoveryAsOrganizationDisabled": n => { userSettings.contributionToContentDiscoveryAsOrganizationDisabled = n.getBooleanValue(); }, "contributionToContentDiscoveryDisabled": n => { userSettings.contributionToContentDiscoveryDisabled = n.getBooleanValue(); }, "itemInsights": n => { userSettings.itemInsights = n.getObjectValue(createUserInsightsSettingsFromDiscriminatorValue); }, "shiftPreferences": n => { userSettings.shiftPreferences = n.getObjectValue(createShiftPreferencesFromDiscriminatorValue); }, "storage": n => { userSettings.storage = n.getObjectValue(createUserStorageFromDiscriminatorValue); }, "windows": n => { userSettings.windows = n.getCollectionOfObjectValues(createWindowsSettingFromDiscriminatorValue); } });
51051
51489
  }
51490
+ /**
51491
+ * The deserialization information for the current model
51492
+ * @param UserSignIn The instance to deserialize into.
51493
+ * @returns {Record<string, (node: ParseNode) => void>}
51494
+ */
51495
+ // @ts-ignore
51496
+ export function deserializeIntoUserSignIn(userSignIn = {}) {
51497
+ return Object.assign(Object.assign({}, deserializeIntoSignInIdentity(userSignIn)), { "externalTenantId": n => { userSignIn.externalTenantId = n.getStringValue(); }, "externalUserType": n => { userSignIn.externalUserType = n.getCollectionOfEnumValues(ConditionalAccessGuestOrExternalUserTypesObject); }, "userId": n => { userSignIn.userId = n.getStringValue(); } });
51498
+ }
51052
51499
  /**
51053
51500
  * The deserialization information for the current model
51054
51501
  * @param UserSignInInsight The instance to deserialize into.
@@ -51682,6 +52129,15 @@ export function deserializeIntoWebsite(website = {}) {
51682
52129
  "type": n => { website.type = n.getEnumValue(WebsiteTypeObject); },
51683
52130
  };
51684
52131
  }
52132
+ /**
52133
+ * The deserialization information for the current model
52134
+ * @param WhatIfAnalysisResult The instance to deserialize into.
52135
+ * @returns {Record<string, (node: ParseNode) => void>}
52136
+ */
52137
+ // @ts-ignore
52138
+ export function deserializeIntoWhatIfAnalysisResult(whatIfAnalysisResult = {}) {
52139
+ return Object.assign(Object.assign({}, deserializeIntoConditionalAccessPolicy(whatIfAnalysisResult)), { "analysisReasons": n => { whatIfAnalysisResult.analysisReasons = n.getCollectionOfEnumValues(WhatIfAnalysisReasonsObject); }, "policyApplies": n => { whatIfAnalysisResult.policyApplies = n.getBooleanValue(); } });
52140
+ }
51685
52141
  /**
51686
52142
  * The deserialization information for the current model
51687
52143
  * @param Win32LobApp The instance to deserialize into.
@@ -56431,6 +56887,20 @@ export function serializeApplicationCollectionResponse(writer, applicationCollec
56431
56887
  serializeBaseCollectionPaginationCountResponse(writer, applicationCollectionResponse, isSerializingDerivedType);
56432
56888
  writer.writeCollectionOfObjectValues("value", applicationCollectionResponse.value, serializeApplication);
56433
56889
  }
56890
+ /**
56891
+ * Serializes information the current object
56892
+ * @param ApplicationContext The instance to serialize from.
56893
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
56894
+ * @param writer Serialization writer to use to serialize this model
56895
+ */
56896
+ // @ts-ignore
56897
+ export function serializeApplicationContext(writer, applicationContext = {}, isSerializingDerivedType = false) {
56898
+ if (!applicationContext || isSerializingDerivedType) {
56899
+ return;
56900
+ }
56901
+ serializeSignInContext(writer, applicationContext, isSerializingDerivedType);
56902
+ writer.writeCollectionOfPrimitiveValues("includeApplications", applicationContext.includeApplications);
56903
+ }
56434
56904
  /**
56435
56905
  * Serializes information the current object
56436
56906
  * @param ApplicationEnforcedRestrictionsSessionControl The instance to serialize from.
@@ -57758,6 +58228,20 @@ export function serializeAuditResource(writer, auditResource = {}, isSerializing
57758
58228
  writer.writeStringValue("resourceId", auditResource.resourceId);
57759
58229
  writer.writeAdditionalData(auditResource.additionalData);
57760
58230
  }
58231
+ /**
58232
+ * Serializes information the current object
58233
+ * @param AuthContext The instance to serialize from.
58234
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
58235
+ * @param writer Serialization writer to use to serialize this model
58236
+ */
58237
+ // @ts-ignore
58238
+ export function serializeAuthContext(writer, authContext = {}, isSerializingDerivedType = false) {
58239
+ if (!authContext || isSerializingDerivedType) {
58240
+ return;
58241
+ }
58242
+ serializeSignInContext(writer, authContext, isSerializingDerivedType);
58243
+ writer.writeStringValue("authenticationContextValue", authContext.authenticationContextValue);
58244
+ }
57761
58245
  /**
57762
58246
  * Serializes information the current object
57763
58247
  * @param Authentication The instance to serialize from.
@@ -58100,6 +58584,21 @@ export function serializeAuthenticationEventsFlowCollectionResponse(writer, auth
58100
58584
  serializeBaseCollectionPaginationCountResponse(writer, authenticationEventsFlowCollectionResponse, isSerializingDerivedType);
58101
58585
  writer.writeCollectionOfObjectValues("value", authenticationEventsFlowCollectionResponse.value, serializeAuthenticationEventsFlow);
58102
58586
  }
58587
+ /**
58588
+ * Serializes information the current object
58589
+ * @param AuthenticationFlow The instance to serialize from.
58590
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
58591
+ * @param writer Serialization writer to use to serialize this model
58592
+ */
58593
+ // @ts-ignore
58594
+ export function serializeAuthenticationFlow(writer, authenticationFlow = {}, isSerializingDerivedType = false) {
58595
+ if (!authenticationFlow || isSerializingDerivedType) {
58596
+ return;
58597
+ }
58598
+ writer.writeStringValue("@odata.type", authenticationFlow.odataType);
58599
+ writer.writeEnumValue("transferMethod", authenticationFlow.transferMethod);
58600
+ writer.writeAdditionalData(authenticationFlow.additionalData);
58601
+ }
58103
58602
  /**
58104
58603
  * Serializes information the current object
58105
58604
  * @param AuthenticationFlowsPolicy The instance to serialize from.
@@ -60479,6 +60978,22 @@ export function serializeCertificationControl(writer, certificationControl = {},
60479
60978
  writer.writeStringValue("url", certificationControl.url);
60480
60979
  writer.writeAdditionalData(certificationControl.additionalData);
60481
60980
  }
60981
+ /**
60982
+ * Serializes information the current object
60983
+ * @param ChallengingWord The instance to serialize from.
60984
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
60985
+ * @param writer Serialization writer to use to serialize this model
60986
+ */
60987
+ // @ts-ignore
60988
+ export function serializeChallengingWord(writer, challengingWord = {}, isSerializingDerivedType = false) {
60989
+ if (!challengingWord || isSerializingDerivedType) {
60990
+ return;
60991
+ }
60992
+ writer.writeNumberValue("count", challengingWord.count);
60993
+ writer.writeStringValue("@odata.type", challengingWord.odataType);
60994
+ writer.writeStringValue("word", challengingWord.word);
60995
+ writer.writeAdditionalData(challengingWord.additionalData);
60996
+ }
60482
60997
  /**
60483
60998
  * Serializes information the current object
60484
60999
  * @param ChangeTrackedEntity The instance to serialize from.
@@ -62645,6 +63160,11 @@ export function serializeConditionalAccessPolicy(writer, conditionalAccessPolicy
62645
63160
  writer.writeObjectValue("sessionControls", conditionalAccessPolicy.sessionControls, serializeConditionalAccessSessionControls);
62646
63161
  writer.writeEnumValue("state", conditionalAccessPolicy.state);
62647
63162
  writer.writeStringValue("templateId", conditionalAccessPolicy.templateId);
63163
+ switch (conditionalAccessPolicy.odataType) {
63164
+ case "#microsoft.graph.whatIfAnalysisResult":
63165
+ serializeWhatIfAnalysisResult(writer, conditionalAccessPolicy, true);
63166
+ break;
63167
+ }
62648
63168
  }
62649
63169
  /**
62650
63170
  * Serializes information the current object
@@ -63310,6 +63830,9 @@ export function serializeConversationMember(writer, conversationMember = {}, isS
63310
63830
  case "#microsoft.graph.microsoftAccountUserConversationMember":
63311
63831
  serializeMicrosoftAccountUserConversationMember(writer, conversationMember, true);
63312
63832
  break;
63833
+ case "#microsoft.graph.phoneUserConversationMember":
63834
+ serializePhoneUserConversationMember(writer, conversationMember, true);
63835
+ break;
63313
63836
  case "#microsoft.graph.skypeForBusinessUserConversationMember":
63314
63837
  serializeSkypeForBusinessUserConversationMember(writer, conversationMember, true);
63315
63838
  break;
@@ -66003,6 +66526,49 @@ export function serializeDeviceHealthAttestationState(writer, deviceHealthAttest
66003
66526
  writer.writeStringValue("windowsPE", deviceHealthAttestationState.windowsPE);
66004
66527
  writer.writeAdditionalData(deviceHealthAttestationState.additionalData);
66005
66528
  }
66529
+ /**
66530
+ * Serializes information the current object
66531
+ * @param DeviceInfo The instance to serialize from.
66532
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
66533
+ * @param writer Serialization writer to use to serialize this model
66534
+ */
66535
+ // @ts-ignore
66536
+ export function serializeDeviceInfo(writer, deviceInfo = {}, isSerializingDerivedType = false) {
66537
+ if (!deviceInfo || isSerializingDerivedType) {
66538
+ return;
66539
+ }
66540
+ writer.writeStringValue("deviceId", deviceInfo.deviceId);
66541
+ writer.writeStringValue("displayName", deviceInfo.displayName);
66542
+ writer.writeStringValue("enrollmentProfileName", deviceInfo.enrollmentProfileName);
66543
+ writer.writeStringValue("extensionAttribute1", deviceInfo.extensionAttribute1);
66544
+ writer.writeStringValue("extensionAttribute10", deviceInfo.extensionAttribute10);
66545
+ writer.writeStringValue("extensionAttribute11", deviceInfo.extensionAttribute11);
66546
+ writer.writeStringValue("extensionAttribute12", deviceInfo.extensionAttribute12);
66547
+ writer.writeStringValue("extensionAttribute13", deviceInfo.extensionAttribute13);
66548
+ writer.writeStringValue("extensionAttribute14", deviceInfo.extensionAttribute14);
66549
+ writer.writeStringValue("extensionAttribute15", deviceInfo.extensionAttribute15);
66550
+ writer.writeStringValue("extensionAttribute2", deviceInfo.extensionAttribute2);
66551
+ writer.writeStringValue("extensionAttribute3", deviceInfo.extensionAttribute3);
66552
+ writer.writeStringValue("extensionAttribute4", deviceInfo.extensionAttribute4);
66553
+ writer.writeStringValue("extensionAttribute5", deviceInfo.extensionAttribute5);
66554
+ writer.writeStringValue("extensionAttribute6", deviceInfo.extensionAttribute6);
66555
+ writer.writeStringValue("extensionAttribute7", deviceInfo.extensionAttribute7);
66556
+ writer.writeStringValue("extensionAttribute8", deviceInfo.extensionAttribute8);
66557
+ writer.writeStringValue("extensionAttribute9", deviceInfo.extensionAttribute9);
66558
+ writer.writeBooleanValue("isCompliant", deviceInfo.isCompliant);
66559
+ writer.writeStringValue("manufacturer", deviceInfo.manufacturer);
66560
+ writer.writeStringValue("mdmAppId", deviceInfo.mdmAppId);
66561
+ writer.writeStringValue("model", deviceInfo.model);
66562
+ writer.writeStringValue("@odata.type", deviceInfo.odataType);
66563
+ writer.writeStringValue("operatingSystem", deviceInfo.operatingSystem);
66564
+ writer.writeStringValue("operatingSystemVersion", deviceInfo.operatingSystemVersion);
66565
+ writer.writeStringValue("ownership", deviceInfo.ownership);
66566
+ writer.writeCollectionOfPrimitiveValues("physicalIds", deviceInfo.physicalIds);
66567
+ writer.writeStringValue("profileType", deviceInfo.profileType);
66568
+ writer.writeCollectionOfPrimitiveValues("systemLabels", deviceInfo.systemLabels);
66569
+ writer.writeStringValue("trustType", deviceInfo.trustType);
66570
+ writer.writeAdditionalData(deviceInfo.additionalData);
66571
+ }
66006
66572
  /**
66007
66573
  * Serializes information the current object
66008
66574
  * @param DeviceInstallState The instance to serialize from.
@@ -68371,6 +68937,7 @@ export function serializeEducationRoot(writer, educationRoot = {}, isSerializing
68371
68937
  writer.writeCollectionOfObjectValues("classes", educationRoot.classes, serializeEducationClass);
68372
68938
  writer.writeObjectValue("me", educationRoot.me, serializeEducationUser);
68373
68939
  writer.writeStringValue("@odata.type", educationRoot.odataType);
68940
+ writer.writeObjectValue("reports", educationRoot.reports, serializeReportsRoot);
68374
68941
  writer.writeCollectionOfObjectValues("schools", educationRoot.schools, serializeEducationSchool);
68375
68942
  writer.writeCollectionOfObjectValues("users", educationRoot.users, serializeEducationUser);
68376
68943
  writer.writeAdditionalData(educationRoot.additionalData);
@@ -70853,6 +71420,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
70853
71420
  case "#microsoft.graph.phoneAuthenticationMethod":
70854
71421
  serializePhoneAuthenticationMethod(writer, entity, true);
70855
71422
  break;
71423
+ case "#microsoft.graph.phoneUserConversationMember":
71424
+ serializePhoneUserConversationMember(writer, entity, true);
71425
+ break;
70856
71426
  case "#microsoft.graph.pinnedChatMessageInfo":
70857
71427
  serializePinnedChatMessageInfo(writer, entity, true);
70858
71428
  break;
@@ -71024,6 +71594,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71024
71594
  case "#microsoft.graph.rbacApplication":
71025
71595
  serializeRbacApplication(writer, entity, true);
71026
71596
  break;
71597
+ case "#microsoft.graph.readingAssignmentSubmission":
71598
+ serializeReadingAssignmentSubmission(writer, entity, true);
71599
+ break;
71027
71600
  case "#microsoft.graph.recordOperation":
71028
71601
  serializeRecordOperation(writer, entity, true);
71029
71602
  break;
@@ -71036,6 +71609,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71036
71609
  case "#microsoft.graph.referenceAttachment":
71037
71610
  serializeReferenceAttachment(writer, entity, true);
71038
71611
  break;
71612
+ case "#microsoft.graph.reflectCheckInResponse":
71613
+ serializeReflectCheckInResponse(writer, entity, true);
71614
+ break;
71039
71615
  case "#microsoft.graph.relyingPartyDetailedSummary":
71040
71616
  serializeRelyingPartyDetailedSummary(writer, entity, true);
71041
71617
  break;
@@ -71045,6 +71621,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71045
71621
  case "#microsoft.graph.remoteDesktopSecurityConfiguration":
71046
71622
  serializeRemoteDesktopSecurityConfiguration(writer, entity, true);
71047
71623
  break;
71624
+ case "#microsoft.graph.reportsRoot":
71625
+ serializeReportsRoot(writer, entity, true);
71626
+ break;
71048
71627
  case "#microsoft.graph.request":
71049
71628
  serializeRequest(writer, entity, true);
71050
71629
  break;
@@ -71159,15 +71738,6 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71159
71738
  case "#microsoft.graph.security.artifact":
71160
71739
  serializeArtifact(writer, entity, true);
71161
71740
  break;
71162
- case "#microsoft.graph.security.auditCoreRoot":
71163
- serializeAuditCoreRoot(writer, entity, true);
71164
- break;
71165
- case "#microsoft.graph.security.auditLogQuery":
71166
- serializeAuditLogQuery(writer, entity, true);
71167
- break;
71168
- case "#microsoft.graph.security.auditLogRecord":
71169
- serializeAuditLogRecord(writer, entity, true);
71170
- break;
71171
71741
  case "#microsoft.graph.security.authorityTemplate":
71172
71742
  serializeAuthorityTemplate(writer, entity, true);
71173
71743
  break;
@@ -71957,6 +72527,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71957
72527
  case "#microsoft.graph.webPart":
71958
72528
  serializeWebPart(writer, entity, true);
71959
72529
  break;
72530
+ case "#microsoft.graph.whatIfAnalysisResult":
72531
+ serializeWhatIfAnalysisResult(writer, entity, true);
72532
+ break;
71960
72533
  case "#microsoft.graph.win32LobApp":
71961
72534
  serializeWin32LobApp(writer, entity, true);
71962
72535
  break;
@@ -73090,6 +73663,7 @@ export function serializeFileStorageContainer(writer, fileStorageContainer = {},
73090
73663
  return;
73091
73664
  }
73092
73665
  serializeEntity(writer, fileStorageContainer, isSerializingDerivedType);
73666
+ writer.writeCollectionOfObjectValues("columns", fileStorageContainer.columns, serializeColumnDefinition);
73093
73667
  writer.writeGuidValue("containerTypeId", fileStorageContainer.containerTypeId);
73094
73668
  writer.writeDateValue("createdDateTime", fileStorageContainer.createdDateTime);
73095
73669
  writer.writeObjectValue("customProperties", fileStorageContainer.customProperties, serializeFileStorageContainerCustomPropertyDictionary);
@@ -81153,6 +81727,7 @@ export function serializeOnlineMeetingBase(writer, onlineMeetingBase = {}, isSer
81153
81727
  writer.writeObjectValue("audioConferencing", onlineMeetingBase.audioConferencing, serializeAudioConferencing);
81154
81728
  writer.writeObjectValue("chatInfo", onlineMeetingBase.chatInfo, serializeChatInfo);
81155
81729
  writer.writeObjectValue("chatRestrictions", onlineMeetingBase.chatRestrictions, serializeChatRestrictions);
81730
+ writer.writeBooleanValue("isEndToEndEncryptionEnabled", onlineMeetingBase.isEndToEndEncryptionEnabled);
81156
81731
  writer.writeBooleanValue("isEntryExitAnnounced", onlineMeetingBase.isEntryExitAnnounced);
81157
81732
  writer.writeObjectValue("joinInformation", onlineMeetingBase.joinInformation, serializeItemBody);
81158
81733
  writer.writeObjectValue("joinMeetingIdSettings", onlineMeetingBase.joinMeetingIdSettings, serializeJoinMeetingIdSettings);
@@ -82040,6 +82615,22 @@ export function serializeOutOfBoxExperienceSetting(writer, outOfBoxExperienceSet
82040
82615
  writer.writeEnumValue("userType", outOfBoxExperienceSetting.userType);
82041
82616
  writer.writeAdditionalData(outOfBoxExperienceSetting.additionalData);
82042
82617
  }
82618
+ /**
82619
+ * Serializes information the current object
82620
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
82621
+ * @param OutOfOfficeSettings The instance to serialize from.
82622
+ * @param writer Serialization writer to use to serialize this model
82623
+ */
82624
+ // @ts-ignore
82625
+ export function serializeOutOfOfficeSettings(writer, outOfOfficeSettings = {}, isSerializingDerivedType = false) {
82626
+ if (!outOfOfficeSettings || isSerializingDerivedType) {
82627
+ return;
82628
+ }
82629
+ writer.writeBooleanValue("isOutOfOffice", outOfOfficeSettings.isOutOfOffice);
82630
+ writer.writeStringValue("message", outOfOfficeSettings.message);
82631
+ writer.writeStringValue("@odata.type", outOfOfficeSettings.odataType);
82632
+ writer.writeAdditionalData(outOfOfficeSettings.additionalData);
82633
+ }
82043
82634
  /**
82044
82635
  * Serializes information the current object
82045
82636
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -82724,6 +83315,20 @@ export function serializePhoneAuthenticationMethodCollectionResponse(writer, pho
82724
83315
  serializeBaseCollectionPaginationCountResponse(writer, phoneAuthenticationMethodCollectionResponse, isSerializingDerivedType);
82725
83316
  writer.writeCollectionOfObjectValues("value", phoneAuthenticationMethodCollectionResponse.value, serializePhoneAuthenticationMethod);
82726
83317
  }
83318
+ /**
83319
+ * Serializes information the current object
83320
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
83321
+ * @param PhoneUserConversationMember The instance to serialize from.
83322
+ * @param writer Serialization writer to use to serialize this model
83323
+ */
83324
+ // @ts-ignore
83325
+ export function serializePhoneUserConversationMember(writer, phoneUserConversationMember = {}, isSerializingDerivedType = false) {
83326
+ if (!phoneUserConversationMember || isSerializingDerivedType) {
83327
+ return;
83328
+ }
83329
+ serializeConversationMember(writer, phoneUserConversationMember, isSerializingDerivedType);
83330
+ writer.writeStringValue("phoneNumber", phoneUserConversationMember.phoneNumber);
83331
+ }
82727
83332
  /**
82728
83333
  * Serializes information the current object
82729
83334
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -83614,6 +84219,7 @@ export function serializePresence(writer, presence = {}, isSerializingDerivedTyp
83614
84219
  serializeEntity(writer, presence, isSerializingDerivedType);
83615
84220
  writer.writeStringValue("activity", presence.activity);
83616
84221
  writer.writeStringValue("availability", presence.availability);
84222
+ writer.writeObjectValue("outOfOfficeSettings", presence.outOfOfficeSettings, serializeOutOfOfficeSettings);
83617
84223
  writer.writeObjectValue("statusMessage", presence.statusMessage, serializePresenceStatusMessage);
83618
84224
  }
83619
84225
  /**
@@ -85632,6 +86238,54 @@ export function serializeReactionsFacet(writer, reactionsFacet = {}, isSerializi
85632
86238
  writer.writeNumberValue("shareCount", reactionsFacet.shareCount);
85633
86239
  writer.writeAdditionalData(reactionsFacet.additionalData);
85634
86240
  }
86241
+ /**
86242
+ * Serializes information the current object
86243
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86244
+ * @param ReadingAssignmentSubmission The instance to serialize from.
86245
+ * @param writer Serialization writer to use to serialize this model
86246
+ */
86247
+ // @ts-ignore
86248
+ export function serializeReadingAssignmentSubmission(writer, readingAssignmentSubmission = {}, isSerializingDerivedType = false) {
86249
+ if (!readingAssignmentSubmission || isSerializingDerivedType) {
86250
+ return;
86251
+ }
86252
+ serializeEntity(writer, readingAssignmentSubmission, isSerializingDerivedType);
86253
+ writer.writeNumberValue("accuracyScore", readingAssignmentSubmission.accuracyScore);
86254
+ writer.writeStringValue("action", readingAssignmentSubmission.action);
86255
+ writer.writeStringValue("assignmentId", readingAssignmentSubmission.assignmentId);
86256
+ writer.writeCollectionOfObjectValues("challengingWords", readingAssignmentSubmission.challengingWords, serializeChallengingWord);
86257
+ writer.writeStringValue("classId", readingAssignmentSubmission.classId);
86258
+ writer.writeNumberValue("insertions", readingAssignmentSubmission.insertions);
86259
+ writer.writeNumberValue("mispronunciations", readingAssignmentSubmission.mispronunciations);
86260
+ writer.writeNumberValue("missedExclamationMarks", readingAssignmentSubmission.missedExclamationMarks);
86261
+ writer.writeNumberValue("missedPeriods", readingAssignmentSubmission.missedPeriods);
86262
+ writer.writeNumberValue("missedQuestionMarks", readingAssignmentSubmission.missedQuestionMarks);
86263
+ writer.writeNumberValue("missedShorts", readingAssignmentSubmission.missedShorts);
86264
+ writer.writeNumberValue("monotoneScore", readingAssignmentSubmission.monotoneScore);
86265
+ writer.writeNumberValue("omissions", readingAssignmentSubmission.omissions);
86266
+ writer.writeNumberValue("repetitions", readingAssignmentSubmission.repetitions);
86267
+ writer.writeNumberValue("selfCorrections", readingAssignmentSubmission.selfCorrections);
86268
+ writer.writeStringValue("studentId", readingAssignmentSubmission.studentId);
86269
+ writer.writeDateValue("submissionDateTime", readingAssignmentSubmission.submissionDateTime);
86270
+ writer.writeStringValue("submissionId", readingAssignmentSubmission.submissionId);
86271
+ writer.writeNumberValue("unexpectedPauses", readingAssignmentSubmission.unexpectedPauses);
86272
+ writer.writeNumberValue("wordCount", readingAssignmentSubmission.wordCount);
86273
+ writer.writeNumberValue("wordsPerMinute", readingAssignmentSubmission.wordsPerMinute);
86274
+ }
86275
+ /**
86276
+ * Serializes information the current object
86277
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86278
+ * @param ReadingAssignmentSubmissionCollectionResponse The instance to serialize from.
86279
+ * @param writer Serialization writer to use to serialize this model
86280
+ */
86281
+ // @ts-ignore
86282
+ export function serializeReadingAssignmentSubmissionCollectionResponse(writer, readingAssignmentSubmissionCollectionResponse = {}, isSerializingDerivedType = false) {
86283
+ if (!readingAssignmentSubmissionCollectionResponse || isSerializingDerivedType) {
86284
+ return;
86285
+ }
86286
+ serializeBaseCollectionPaginationCountResponse(writer, readingAssignmentSubmissionCollectionResponse, isSerializingDerivedType);
86287
+ writer.writeCollectionOfObjectValues("value", readingAssignmentSubmissionCollectionResponse.value, serializeReadingAssignmentSubmission);
86288
+ }
85635
86289
  /**
85636
86290
  * Serializes information the current object
85637
86291
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -85912,6 +86566,43 @@ export function serializeReferenceUpdate(writer, referenceUpdate = {}, isSeriali
85912
86566
  writer.writeStringValue("@odata.type", referenceUpdate.odataType);
85913
86567
  writer.writeAdditionalData(referenceUpdate.additionalData);
85914
86568
  }
86569
+ /**
86570
+ * Serializes information the current object
86571
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86572
+ * @param ReflectCheckInResponse The instance to serialize from.
86573
+ * @param writer Serialization writer to use to serialize this model
86574
+ */
86575
+ // @ts-ignore
86576
+ export function serializeReflectCheckInResponse(writer, reflectCheckInResponse = {}, isSerializingDerivedType = false) {
86577
+ if (!reflectCheckInResponse || isSerializingDerivedType) {
86578
+ return;
86579
+ }
86580
+ serializeEntity(writer, reflectCheckInResponse, isSerializingDerivedType);
86581
+ writer.writeStringValue("checkInId", reflectCheckInResponse.checkInId);
86582
+ writer.writeStringValue("checkInTitle", reflectCheckInResponse.checkInTitle);
86583
+ writer.writeStringValue("classId", reflectCheckInResponse.classId);
86584
+ writer.writeDateValue("createdDateTime", reflectCheckInResponse.createdDateTime);
86585
+ writer.writeStringValue("creatorId", reflectCheckInResponse.creatorId);
86586
+ writer.writeBooleanValue("isClosed", reflectCheckInResponse.isClosed);
86587
+ writer.writeStringValue("responderId", reflectCheckInResponse.responderId);
86588
+ writer.writeEnumValue("responseEmotion", reflectCheckInResponse.responseEmotion);
86589
+ writer.writeEnumValue("responseFeedback", reflectCheckInResponse.responseFeedback);
86590
+ writer.writeDateValue("submitDateTime", reflectCheckInResponse.submitDateTime);
86591
+ }
86592
+ /**
86593
+ * Serializes information the current object
86594
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86595
+ * @param ReflectCheckInResponseCollectionResponse The instance to serialize from.
86596
+ * @param writer Serialization writer to use to serialize this model
86597
+ */
86598
+ // @ts-ignore
86599
+ export function serializeReflectCheckInResponseCollectionResponse(writer, reflectCheckInResponseCollectionResponse = {}, isSerializingDerivedType = false) {
86600
+ if (!reflectCheckInResponseCollectionResponse || isSerializingDerivedType) {
86601
+ return;
86602
+ }
86603
+ serializeBaseCollectionPaginationCountResponse(writer, reflectCheckInResponseCollectionResponse, isSerializingDerivedType);
86604
+ writer.writeCollectionOfObjectValues("value", reflectCheckInResponseCollectionResponse.value, serializeReflectCheckInResponse);
86605
+ }
85915
86606
  /**
85916
86607
  * Serializes information the current object
85917
86608
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -86173,6 +86864,21 @@ export function serializeReportRoot(writer, reportRoot = {}, isSerializingDerive
86173
86864
  writer.writeObjectValue("security", reportRoot.security, serializeSecurityReportsRoot);
86174
86865
  writer.writeAdditionalData(reportRoot.additionalData);
86175
86866
  }
86867
+ /**
86868
+ * Serializes information the current object
86869
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86870
+ * @param ReportsRoot The instance to serialize from.
86871
+ * @param writer Serialization writer to use to serialize this model
86872
+ */
86873
+ // @ts-ignore
86874
+ export function serializeReportsRoot(writer, reportsRoot = {}, isSerializingDerivedType = false) {
86875
+ if (!reportsRoot || isSerializingDerivedType) {
86876
+ return;
86877
+ }
86878
+ serializeEntity(writer, reportsRoot, isSerializingDerivedType);
86879
+ writer.writeCollectionOfObjectValues("readingAssignmentSubmissions", reportsRoot.readingAssignmentSubmissions, serializeReadingAssignmentSubmission);
86880
+ writer.writeCollectionOfObjectValues("reflectCheckInResponses", reportsRoot.reflectCheckInResponses, serializeReflectCheckInResponse);
86881
+ }
86176
86882
  /**
86177
86883
  * Serializes information the current object
86178
86884
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -88020,7 +88726,6 @@ export function serializeSecurity(writer, security = {}, isSerializingDerivedTyp
88020
88726
  writer.writeCollectionOfObjectValues("alerts", security.alerts, serializeAlert);
88021
88727
  writer.writeCollectionOfObjectValues("alerts_v2", security.alertsV2, serializeAlert);
88022
88728
  writer.writeObjectValue("attackSimulation", security.attackSimulation, serializeAttackSimulationRoot);
88023
- writer.writeObjectValue("auditLog", security.auditLog, serializeAuditCoreRoot);
88024
88729
  writer.writeObjectValue("cases", security.cases, serializeCasesRoot);
88025
88730
  writer.writeObjectValue("dataSecurityAndGovernance", security.dataSecurityAndGovernance, serializeTenantDataSecurityAndGovernance);
88026
88731
  writer.writeObjectValue("identities", security.identities, I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1);
@@ -88588,6 +89293,20 @@ export function serializeServicePrincipalRiskDetectionCollectionResponse(writer,
88588
89293
  serializeBaseCollectionPaginationCountResponse(writer, servicePrincipalRiskDetectionCollectionResponse, isSerializingDerivedType);
88589
89294
  writer.writeCollectionOfObjectValues("value", servicePrincipalRiskDetectionCollectionResponse.value, serializeServicePrincipalRiskDetection);
88590
89295
  }
89296
+ /**
89297
+ * Serializes information the current object
89298
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
89299
+ * @param ServicePrincipalSignIn The instance to serialize from.
89300
+ * @param writer Serialization writer to use to serialize this model
89301
+ */
89302
+ // @ts-ignore
89303
+ export function serializeServicePrincipalSignIn(writer, servicePrincipalSignIn = {}, isSerializingDerivedType = false) {
89304
+ if (!servicePrincipalSignIn || isSerializingDerivedType) {
89305
+ return;
89306
+ }
89307
+ serializeSignInIdentity(writer, servicePrincipalSignIn, isSerializingDerivedType);
89308
+ writer.writeStringValue("servicePrincipalId", servicePrincipalSignIn.servicePrincipalId);
89309
+ }
88591
89310
  /**
88592
89311
  * Serializes information the current object
88593
89312
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -89396,6 +90115,55 @@ export function serializeSignInCollectionResponse(writer, signInCollectionRespon
89396
90115
  serializeBaseCollectionPaginationCountResponse(writer, signInCollectionResponse, isSerializingDerivedType);
89397
90116
  writer.writeCollectionOfObjectValues("value", signInCollectionResponse.value, serializeSignIn);
89398
90117
  }
90118
+ /**
90119
+ * Serializes information the current object
90120
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
90121
+ * @param SignInConditions The instance to serialize from.
90122
+ * @param writer Serialization writer to use to serialize this model
90123
+ */
90124
+ // @ts-ignore
90125
+ export function serializeSignInConditions(writer, signInConditions = {}, isSerializingDerivedType = false) {
90126
+ if (!signInConditions || isSerializingDerivedType) {
90127
+ return;
90128
+ }
90129
+ writer.writeObjectValue("authenticationFlow", signInConditions.authenticationFlow, serializeAuthenticationFlow);
90130
+ writer.writeEnumValue("clientAppType", signInConditions.clientAppType);
90131
+ writer.writeStringValue("country", signInConditions.country);
90132
+ writer.writeObjectValue("deviceInfo", signInConditions.deviceInfo, serializeDeviceInfo);
90133
+ writer.writeEnumValue("devicePlatform", signInConditions.devicePlatform);
90134
+ writer.writeEnumValue("insiderRiskLevel", signInConditions.insiderRiskLevel);
90135
+ writer.writeStringValue("ipAddress", signInConditions.ipAddress);
90136
+ writer.writeStringValue("@odata.type", signInConditions.odataType);
90137
+ writer.writeEnumValue("servicePrincipalRiskLevel", signInConditions.servicePrincipalRiskLevel);
90138
+ writer.writeEnumValue("signInRiskLevel", signInConditions.signInRiskLevel);
90139
+ writer.writeEnumValue("userRiskLevel", signInConditions.userRiskLevel);
90140
+ writer.writeAdditionalData(signInConditions.additionalData);
90141
+ }
90142
+ /**
90143
+ * Serializes information the current object
90144
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
90145
+ * @param SignInContext The instance to serialize from.
90146
+ * @param writer Serialization writer to use to serialize this model
90147
+ */
90148
+ // @ts-ignore
90149
+ export function serializeSignInContext(writer, signInContext = {}, isSerializingDerivedType = false) {
90150
+ if (!signInContext || isSerializingDerivedType) {
90151
+ return;
90152
+ }
90153
+ writer.writeStringValue("@odata.type", signInContext.odataType);
90154
+ writer.writeAdditionalData(signInContext.additionalData);
90155
+ switch (signInContext.odataType) {
90156
+ case "#microsoft.graph.applicationContext":
90157
+ serializeApplicationContext(writer, signInContext, true);
90158
+ break;
90159
+ case "#microsoft.graph.authContext":
90160
+ serializeAuthContext(writer, signInContext, true);
90161
+ break;
90162
+ case "#microsoft.graph.userActionContext":
90163
+ serializeUserActionContext(writer, signInContext, true);
90164
+ break;
90165
+ }
90166
+ }
89399
90167
  /**
89400
90168
  * Serializes information the current object
89401
90169
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -89429,6 +90197,28 @@ export function serializeSigningCertificateUpdateStatus(writer, signingCertifica
89429
90197
  writer.writeStringValue("@odata.type", signingCertificateUpdateStatus.odataType);
89430
90198
  writer.writeAdditionalData(signingCertificateUpdateStatus.additionalData);
89431
90199
  }
90200
+ /**
90201
+ * Serializes information the current object
90202
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
90203
+ * @param SignInIdentity The instance to serialize from.
90204
+ * @param writer Serialization writer to use to serialize this model
90205
+ */
90206
+ // @ts-ignore
90207
+ export function serializeSignInIdentity(writer, signInIdentity = {}, isSerializingDerivedType = false) {
90208
+ if (!signInIdentity || isSerializingDerivedType) {
90209
+ return;
90210
+ }
90211
+ writer.writeStringValue("@odata.type", signInIdentity.odataType);
90212
+ writer.writeAdditionalData(signInIdentity.additionalData);
90213
+ switch (signInIdentity.odataType) {
90214
+ case "#microsoft.graph.servicePrincipalSignIn":
90215
+ serializeServicePrincipalSignIn(writer, signInIdentity, true);
90216
+ break;
90217
+ case "#microsoft.graph.userSignIn":
90218
+ serializeUserSignIn(writer, signInIdentity, true);
90219
+ break;
90220
+ }
90221
+ }
89432
90222
  /**
89433
90223
  * Serializes information the current object
89434
90224
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -94617,6 +95407,20 @@ export function serializeUser(writer, user = {}, isSerializingDerivedType = fals
94617
95407
  writer.writeStringValue("userPrincipalName", user.userPrincipalName);
94618
95408
  writer.writeStringValue("userType", user.userType);
94619
95409
  }
95410
+ /**
95411
+ * Serializes information the current object
95412
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
95413
+ * @param UserActionContext The instance to serialize from.
95414
+ * @param writer Serialization writer to use to serialize this model
95415
+ */
95416
+ // @ts-ignore
95417
+ export function serializeUserActionContext(writer, userActionContext = {}, isSerializingDerivedType = false) {
95418
+ if (!userActionContext || isSerializingDerivedType) {
95419
+ return;
95420
+ }
95421
+ serializeSignInContext(writer, userActionContext, isSerializingDerivedType);
95422
+ writer.writeEnumValue("userAction", userActionContext.userAction);
95423
+ }
94620
95424
  /**
94621
95425
  * Serializes information the current object
94622
95426
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -96078,6 +96882,22 @@ export function serializeUserSettings(writer, userSettings = {}, isSerializingDe
96078
96882
  writer.writeObjectValue("storage", userSettings.storage, serializeUserStorage);
96079
96883
  writer.writeCollectionOfObjectValues("windows", userSettings.windows, serializeWindowsSetting);
96080
96884
  }
96885
+ /**
96886
+ * Serializes information the current object
96887
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
96888
+ * @param UserSignIn The instance to serialize from.
96889
+ * @param writer Serialization writer to use to serialize this model
96890
+ */
96891
+ // @ts-ignore
96892
+ export function serializeUserSignIn(writer, userSignIn = {}, isSerializingDerivedType = false) {
96893
+ if (!userSignIn || isSerializingDerivedType) {
96894
+ return;
96895
+ }
96896
+ serializeSignInIdentity(writer, userSignIn, isSerializingDerivedType);
96897
+ writer.writeStringValue("externalTenantId", userSignIn.externalTenantId);
96898
+ writer.writeEnumValue("externalUserType", userSignIn.externalUserType);
96899
+ writer.writeStringValue("userId", userSignIn.userId);
96900
+ }
96081
96901
  /**
96082
96902
  * Serializes information the current object
96083
96903
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -97000,6 +97820,21 @@ export function serializeWebsite(writer, website = {}, isSerializingDerivedType
97000
97820
  writer.writeEnumValue("type", website.type);
97001
97821
  writer.writeAdditionalData(website.additionalData);
97002
97822
  }
97823
+ /**
97824
+ * Serializes information the current object
97825
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
97826
+ * @param WhatIfAnalysisResult The instance to serialize from.
97827
+ * @param writer Serialization writer to use to serialize this model
97828
+ */
97829
+ // @ts-ignore
97830
+ export function serializeWhatIfAnalysisResult(writer, whatIfAnalysisResult = {}, isSerializingDerivedType = false) {
97831
+ if (!whatIfAnalysisResult || isSerializingDerivedType) {
97832
+ return;
97833
+ }
97834
+ serializeConditionalAccessPolicy(writer, whatIfAnalysisResult, isSerializingDerivedType);
97835
+ writer.writeEnumValue("analysisReasons", whatIfAnalysisResult.analysisReasons);
97836
+ writer.writeBooleanValue("policyApplies", whatIfAnalysisResult.policyApplies);
97837
+ }
97003
97838
  /**
97004
97839
  * Serializes information the current object
97005
97840
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -102519,6 +103354,13 @@ export const InitiatorTypeObject = {
102519
103354
  System: "system",
102520
103355
  UnknownFutureValue: "unknownFutureValue",
102521
103356
  };
103357
+ export const InsiderRiskLevelObject = {
103358
+ None: "none",
103359
+ Minor: "minor",
103360
+ Moderate: "moderate",
103361
+ Elevated: "elevated",
103362
+ UnknownFutureValue: "unknownFutureValue",
103363
+ };
102522
103364
  /**
102523
103365
  * Possible values for the install intent chosen by the admin.
102524
103366
  */
@@ -105013,6 +105855,76 @@ export const RequiredPasswordTypeObject = {
105013
105855
  /** Numeric password required. */
105014
105856
  Numeric: "numeric",
105015
105857
  };
105858
+ export const ResponseEmotionTypeObject = {
105859
+ None: "none",
105860
+ Confident: "confident",
105861
+ Excited: "excited",
105862
+ Happy: "happy",
105863
+ Motivated: "motivated",
105864
+ Peaceful: "peaceful",
105865
+ Ambitious: "ambitious",
105866
+ Cheerful: "cheerful",
105867
+ Comfortable: "comfortable",
105868
+ Creative: "creative",
105869
+ Determined: "determined",
105870
+ Energized: "energized",
105871
+ Focused: "focused",
105872
+ Fulfilled: "fulfilled",
105873
+ Grateful: "grateful",
105874
+ Included: "included",
105875
+ Inspired: "inspired",
105876
+ Optimistic: "optimistic",
105877
+ Proud: "proud",
105878
+ Successful: "successful",
105879
+ Valuable: "valuable",
105880
+ Annoyed: "annoyed",
105881
+ Bored: "bored",
105882
+ Calm: "calm",
105883
+ Confused: "confused",
105884
+ Glad: "glad",
105885
+ Content: "content",
105886
+ Pensive: "pensive",
105887
+ Reserved: "reserved",
105888
+ Restless: "restless",
105889
+ Shocked: "shocked",
105890
+ Tired: "tired",
105891
+ Angry: "angry",
105892
+ Depressed: "depressed",
105893
+ Exhausted: "exhausted",
105894
+ Lonely: "lonely",
105895
+ Nervous: "nervous",
105896
+ Anxious: "anxious",
105897
+ Apathetic: "apathetic",
105898
+ Concerned: "concerned",
105899
+ Disappointed: "disappointed",
105900
+ Frightened: "frightened",
105901
+ Frustrated: "frustrated",
105902
+ Hopeless: "hopeless",
105903
+ Hurt: "hurt",
105904
+ Jealous: "jealous",
105905
+ Miserable: "miserable",
105906
+ Overwhelmed: "overwhelmed",
105907
+ Skeptical: "skeptical",
105908
+ Stressed: "stressed",
105909
+ Stuck: "stuck",
105910
+ Worthless: "worthless",
105911
+ Awed: "awed",
105912
+ Ashamed: "ashamed",
105913
+ Curious: "curious",
105914
+ Sensitive: "sensitive",
105915
+ Sad: "sad",
105916
+ UnknownFutureValue: "unknownFutureValue",
105917
+ };
105918
+ export const ResponseFeedbackTypeObject = {
105919
+ None: "none",
105920
+ NotDetected: "notDetected",
105921
+ VeryUnpleasant: "veryUnpleasant",
105922
+ Unpleasant: "unpleasant",
105923
+ Neutral: "neutral",
105924
+ Pleasant: "pleasant",
105925
+ VeryPleasant: "veryPleasant",
105926
+ UnknownFutureValue: "unknownFutureValue",
105927
+ };
105016
105928
  export const ResponseTypeObject = {
105017
105929
  None: "none",
105018
105930
  Organizer: "organizer",
@@ -105938,6 +106850,11 @@ export const UserAccountSecurityTypeObject = {
105938
106850
  Administrator: "administrator",
105939
106851
  UnknownFutureValue: "unknownFutureValue",
105940
106852
  };
106853
+ export const UserActionObject = {
106854
+ RegisterSecurityInformation: "registerSecurityInformation",
106855
+ RegisterOrJoinDevices: "registerOrJoinDevices",
106856
+ UnknownFutureValue: "unknownFutureValue",
106857
+ };
105941
106858
  export const UserActivityTypeObject = {
105942
106859
  UploadText: "uploadText",
105943
106860
  UploadFile: "uploadFile",
@@ -106209,6 +107126,29 @@ export const WellknownListNameObject = {
106209
107126
  FlaggedEmails: "flaggedEmails",
106210
107127
  UnknownFutureValue: "unknownFutureValue",
106211
107128
  };
107129
+ export const WhatIfAnalysisReasonsObject = {
107130
+ NotSet: "notSet",
107131
+ NotEnoughInformation: "notEnoughInformation",
107132
+ InvalidCondition: "invalidCondition",
107133
+ Users: "users",
107134
+ WorkloadIdentities: "workloadIdentities",
107135
+ Application: "application",
107136
+ UserActions: "userActions",
107137
+ AuthenticationContext: "authenticationContext",
107138
+ DevicePlatform: "devicePlatform",
107139
+ Devices: "devices",
107140
+ ClientApps: "clientApps",
107141
+ Location: "location",
107142
+ SignInRisk: "signInRisk",
107143
+ EmptyPolicy: "emptyPolicy",
107144
+ InvalidPolicy: "invalidPolicy",
107145
+ PolicyNotEnabled: "policyNotEnabled",
107146
+ UserRisk: "userRisk",
107147
+ Time: "time",
107148
+ InsiderRisk: "insiderRisk",
107149
+ AuthenticationFlow: "authenticationFlow",
107150
+ UnknownFutureValue: "unknownFutureValue",
107151
+ };
106212
107152
  /**
106213
107153
  * Contains value for delivery optimization priority.
106214
107154
  */