@microsoft/msgraph-sdk 1.0.0-preview.27 → 1.0.0-preview.29

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
@@ -4,7 +4,7 @@
4
4
  // @ts-ignore
5
5
  import { createCallRecordFromDiscriminatorValue, deserializeIntoCallRecord, deserializeIntoOrganizer, deserializeIntoParticipantBase, deserializeIntoSegment, deserializeIntoSession, serializeCallRecord } from './callRecords/index.js';
6
6
  // @ts-ignore
7
- import { deserializeIntoConnectionOperation, deserializeIntoExternalActivity, deserializeIntoExternalActivityResult, deserializeIntoExternalConnection, deserializeIntoExternalGroup, deserializeIntoExternalItem, deserializeIntoSchema } from './externalConnectors/index.js';
7
+ import { deserializeIntoConnectionOperation, deserializeIntoExternalActivity, deserializeIntoExternalActivityResult, deserializeIntoExternalConnection, deserializeIntoExternalGroup, deserializeIntoExternalItem, deserializeIntoIdentity as I137354aa1f844bbb5aa5ffd805e739993f9683605f407d143ca49924697fa7af, deserializeIntoSchema } from './externalConnectors/index.js';
8
8
  // @ts-ignore
9
9
  import { createLifecycleWorkflowsContainerFromDiscriminatorValue, createWorkflowFromDiscriminatorValue, deserializeIntoCustomTaskExtension, deserializeIntoCustomTaskExtensionCallbackConfiguration, deserializeIntoCustomTaskExtensionCallbackData, deserializeIntoCustomTaskExtensionCalloutData, deserializeIntoGroupBasedSubjectSet, deserializeIntoInsights, deserializeIntoLifecycleManagementSettings, deserializeIntoLifecycleWorkflowsContainer, deserializeIntoRuleBasedSubjectSet, deserializeIntoRun, deserializeIntoTask, deserializeIntoTaskDefinition, deserializeIntoTaskProcessingResult, deserializeIntoTaskReport, deserializeIntoUserProcessingResult, deserializeIntoWorkflowTemplate, serializeLifecycleWorkflowsContainer, serializeWorkflow } from './identityGovernance/index.js';
10
10
  // @ts-ignore
@@ -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 } from './search/index.js';
14
14
  // @ts-ignore
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, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeCasesRoot, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeLabelsRoot, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot } 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, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeCasesRoot, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeLabelsRoot, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot } from './security/index.js';
16
16
  // @ts-ignore
17
17
  import { createSetFromDiscriminatorValue, createStoreFromDiscriminatorValue, createTermFromDiscriminatorValue, deserializeIntoRelation, deserializeIntoSet, deserializeIntoStore, deserializeIntoTerm, serializeSet, serializeStore, serializeTerm } from './termStore/index.js';
18
18
  // @ts-ignore
@@ -71,7 +71,7 @@ export function createAccessPackageAnswerChoiceFromDiscriminatorValue(parseNode)
71
71
  export function createAccessPackageAnswerFromDiscriminatorValue(parseNode) {
72
72
  if (!parseNode)
73
73
  throw new Error("parseNode cannot be undefined");
74
- const mappingValueNode = parseNode.getChildNode("@odata.type");
74
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
75
75
  if (mappingValueNode) {
76
76
  const mappingValue = mappingValueNode.getStringValue();
77
77
  if (mappingValue) {
@@ -299,7 +299,7 @@ export function createAccessPackageQuestionCollectionResponseFromDiscriminatorVa
299
299
  export function createAccessPackageQuestionFromDiscriminatorValue(parseNode) {
300
300
  if (!parseNode)
301
301
  throw new Error("parseNode cannot be undefined");
302
- const mappingValueNode = parseNode.getChildNode("@odata.type");
302
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
303
303
  if (mappingValueNode) {
304
304
  const mappingValue = mappingValueNode.getStringValue();
305
305
  if (mappingValue) {
@@ -322,7 +322,7 @@ export function createAccessPackageQuestionFromDiscriminatorValue(parseNode) {
322
322
  export function createAccessPackageResourceAttributeDestinationFromDiscriminatorValue(parseNode) {
323
323
  if (!parseNode)
324
324
  throw new Error("parseNode cannot be undefined");
325
- const mappingValueNode = parseNode.getChildNode("@odata.type");
325
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
326
326
  if (mappingValueNode) {
327
327
  const mappingValue = mappingValueNode.getStringValue();
328
328
  if (mappingValue) {
@@ -361,7 +361,7 @@ export function createAccessPackageResourceAttributeQuestionFromDiscriminatorVal
361
361
  export function createAccessPackageResourceAttributeSourceFromDiscriminatorValue(parseNode) {
362
362
  if (!parseNode)
363
363
  throw new Error("parseNode cannot be undefined");
364
- const mappingValueNode = parseNode.getChildNode("@odata.type");
364
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
365
365
  if (mappingValueNode) {
366
366
  const mappingValue = mappingValueNode.getStringValue();
367
367
  if (mappingValue) {
@@ -517,7 +517,7 @@ export function createAccessPackageUserDirectoryAttributeStoreFromDiscriminatorV
517
517
  export function createAccessReviewApplyActionFromDiscriminatorValue(parseNode) {
518
518
  if (!parseNode)
519
519
  throw new Error("parseNode cannot be undefined");
520
- const mappingValueNode = parseNode.getChildNode("@odata.type");
520
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
521
521
  if (mappingValueNode) {
522
522
  const mappingValue = mappingValueNode.getStringValue();
523
523
  if (mappingValue) {
@@ -639,7 +639,7 @@ export function createAccessReviewInstanceDecisionItemFromDiscriminatorValue(par
639
639
  export function createAccessReviewInstanceDecisionItemResourceFromDiscriminatorValue(parseNode) {
640
640
  if (!parseNode)
641
641
  throw new Error("parseNode cannot be undefined");
642
- const mappingValueNode = parseNode.getChildNode("@odata.type");
642
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
643
643
  if (mappingValueNode) {
644
644
  const mappingValue = mappingValueNode.getStringValue();
645
645
  if (mappingValue) {
@@ -700,7 +700,7 @@ export function createAccessReviewNotificationRecipientQueryScopeFromDiscriminat
700
700
  export function createAccessReviewNotificationRecipientScopeFromDiscriminatorValue(parseNode) {
701
701
  if (!parseNode)
702
702
  throw new Error("parseNode cannot be undefined");
703
- const mappingValueNode = parseNode.getChildNode("@odata.type");
703
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
704
704
  if (mappingValueNode) {
705
705
  const mappingValue = mappingValueNode.getStringValue();
706
706
  if (mappingValue) {
@@ -721,7 +721,7 @@ export function createAccessReviewNotificationRecipientScopeFromDiscriminatorVal
721
721
  export function createAccessReviewQueryScopeFromDiscriminatorValue(parseNode) {
722
722
  if (!parseNode)
723
723
  throw new Error("parseNode cannot be undefined");
724
- const mappingValueNode = parseNode.getChildNode("@odata.type");
724
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
725
725
  if (mappingValueNode) {
726
726
  const mappingValue = mappingValueNode.getStringValue();
727
727
  if (mappingValue) {
@@ -742,7 +742,7 @@ export function createAccessReviewQueryScopeFromDiscriminatorValue(parseNode) {
742
742
  export function createAccessReviewRecommendationInsightSettingFromDiscriminatorValue(parseNode) {
743
743
  if (!parseNode)
744
744
  throw new Error("parseNode cannot be undefined");
745
- const mappingValueNode = parseNode.getChildNode("@odata.type");
745
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
746
746
  if (mappingValueNode) {
747
747
  const mappingValue = mappingValueNode.getStringValue();
748
748
  if (mappingValue) {
@@ -819,7 +819,7 @@ export function createAccessReviewScheduleSettingsFromDiscriminatorValue(parseNo
819
819
  export function createAccessReviewScopeFromDiscriminatorValue(parseNode) {
820
820
  if (!parseNode)
821
821
  throw new Error("parseNode cannot be undefined");
822
- const mappingValueNode = parseNode.getChildNode("@odata.type");
822
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
823
823
  if (mappingValueNode) {
824
824
  const mappingValue = mappingValueNode.getStringValue();
825
825
  if (mappingValue) {
@@ -880,7 +880,7 @@ export function createAccessReviewStageSettingsFromDiscriminatorValue(parseNode)
880
880
  export function createAccountTargetContentFromDiscriminatorValue(parseNode) {
881
881
  if (!parseNode)
882
882
  throw new Error("parseNode cannot be undefined");
883
- const mappingValueNode = parseNode.getChildNode("@odata.type");
883
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
884
884
  if (mappingValueNode) {
885
885
  const mappingValue = mappingValueNode.getStringValue();
886
886
  if (mappingValue) {
@@ -903,7 +903,7 @@ export function createAccountTargetContentFromDiscriminatorValue(parseNode) {
903
903
  export function createActionResultPartFromDiscriminatorValue(parseNode) {
904
904
  if (!parseNode)
905
905
  throw new Error("parseNode cannot be undefined");
906
- const mappingValueNode = parseNode.getChildNode("@odata.type");
906
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
907
907
  if (mappingValueNode) {
908
908
  const mappingValue = mappingValueNode.getStringValue();
909
909
  if (mappingValue) {
@@ -1113,7 +1113,7 @@ export function createAgreementFileLocalizationFromDiscriminatorValue(parseNode)
1113
1113
  export function createAgreementFilePropertiesFromDiscriminatorValue(parseNode) {
1114
1114
  if (!parseNode)
1115
1115
  throw new Error("parseNode cannot be undefined");
1116
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1116
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1117
1117
  if (mappingValueNode) {
1118
1118
  const mappingValue = mappingValueNode.getStringValue();
1119
1119
  if (mappingValue) {
@@ -1444,7 +1444,7 @@ export function createApiApplicationFromDiscriminatorValue(parseNode) {
1444
1444
  export function createApiAuthenticationConfigurationBaseFromDiscriminatorValue(parseNode) {
1445
1445
  if (!parseNode)
1446
1446
  throw new Error("parseNode cannot be undefined");
1447
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1447
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1448
1448
  if (mappingValueNode) {
1449
1449
  const mappingValue = mappingValueNode.getStringValue();
1450
1450
  if (mappingValue) {
@@ -1541,7 +1541,7 @@ export function createAppIdentityFromDiscriminatorValue(parseNode) {
1541
1541
  export function createAppleDeviceFeaturesConfigurationBaseFromDiscriminatorValue(parseNode) {
1542
1542
  if (!parseNode)
1543
1543
  throw new Error("parseNode cannot be undefined");
1544
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1544
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1545
1545
  if (mappingValueNode) {
1546
1546
  const mappingValue = mappingValueNode.getStringValue();
1547
1547
  if (mappingValue) {
@@ -1690,7 +1690,7 @@ export function createAppManagementApplicationConfigurationFromDiscriminatorValu
1690
1690
  export function createAppManagementConfigurationFromDiscriminatorValue(parseNode) {
1691
1691
  if (!parseNode)
1692
1692
  throw new Error("parseNode cannot be undefined");
1693
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1693
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1694
1694
  if (mappingValueNode) {
1695
1695
  const mappingValue = mappingValueNode.getStringValue();
1696
1696
  if (mappingValue) {
@@ -1931,7 +1931,7 @@ export function createAttachmentBaseCollectionResponseFromDiscriminatorValue(par
1931
1931
  export function createAttachmentBaseFromDiscriminatorValue(parseNode) {
1932
1932
  if (!parseNode)
1933
1933
  throw new Error("parseNode cannot be undefined");
1934
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1934
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1935
1935
  if (mappingValueNode) {
1936
1936
  const mappingValue = mappingValueNode.getStringValue();
1937
1937
  if (mappingValue) {
@@ -1961,7 +1961,7 @@ export function createAttachmentCollectionResponseFromDiscriminatorValue(parseNo
1961
1961
  export function createAttachmentFromDiscriminatorValue(parseNode) {
1962
1962
  if (!parseNode)
1963
1963
  throw new Error("parseNode cannot be undefined");
1964
- const mappingValueNode = parseNode.getChildNode("@odata.type");
1964
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1965
1965
  if (mappingValueNode) {
1966
1966
  const mappingValue = mappingValueNode.getStringValue();
1967
1967
  if (mappingValue) {
@@ -2121,7 +2121,7 @@ export function createAttendeeAvailabilityFromDiscriminatorValue(parseNode) {
2121
2121
  export function createAttendeeBaseFromDiscriminatorValue(parseNode) {
2122
2122
  if (!parseNode)
2123
2123
  throw new Error("parseNode cannot be undefined");
2124
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2124
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2125
2125
  if (mappingValueNode) {
2126
2126
  const mappingValue = mappingValueNode.getStringValue();
2127
2127
  if (mappingValue) {
@@ -2394,7 +2394,7 @@ export function createAuthenticationCombinationConfigurationCollectionResponseFr
2394
2394
  export function createAuthenticationCombinationConfigurationFromDiscriminatorValue(parseNode) {
2395
2395
  if (!parseNode)
2396
2396
  throw new Error("parseNode cannot be undefined");
2397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2397
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2398
2398
  if (mappingValueNode) {
2399
2399
  const mappingValue = mappingValueNode.getStringValue();
2400
2400
  if (mappingValue) {
@@ -2489,7 +2489,7 @@ export function createAuthenticationEventListenerCollectionResponseFromDiscrimin
2489
2489
  export function createAuthenticationEventListenerFromDiscriminatorValue(parseNode) {
2490
2490
  if (!parseNode)
2491
2491
  throw new Error("parseNode cannot be undefined");
2492
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2492
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2493
2493
  if (mappingValueNode) {
2494
2494
  const mappingValue = mappingValueNode.getStringValue();
2495
2495
  if (mappingValue) {
@@ -2527,7 +2527,7 @@ export function createAuthenticationEventsFlowCollectionResponseFromDiscriminato
2527
2527
  export function createAuthenticationEventsFlowFromDiscriminatorValue(parseNode) {
2528
2528
  if (!parseNode)
2529
2529
  throw new Error("parseNode cannot be undefined");
2530
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2530
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2531
2531
  if (mappingValueNode) {
2532
2532
  const mappingValue = mappingValueNode.getStringValue();
2533
2533
  if (mappingValue) {
@@ -2584,7 +2584,7 @@ export function createAuthenticationMethodConfigurationCollectionResponseFromDis
2584
2584
  export function createAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode) {
2585
2585
  if (!parseNode)
2586
2586
  throw new Error("parseNode cannot be undefined");
2587
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2587
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2588
2588
  if (mappingValueNode) {
2589
2589
  const mappingValue = mappingValueNode.getStringValue();
2590
2590
  if (mappingValue) {
@@ -2628,7 +2628,7 @@ export function createAuthenticationMethodFeatureConfigurationFromDiscriminatorV
2628
2628
  export function createAuthenticationMethodFromDiscriminatorValue(parseNode) {
2629
2629
  if (!parseNode)
2630
2630
  throw new Error("parseNode cannot be undefined");
2631
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2631
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2632
2632
  if (mappingValueNode) {
2633
2633
  const mappingValue = mappingValueNode.getStringValue();
2634
2634
  if (mappingValue) {
@@ -2717,7 +2717,7 @@ export function createAuthenticationMethodsRootFromDiscriminatorValue(parseNode)
2717
2717
  export function createAuthenticationMethodTargetFromDiscriminatorValue(parseNode) {
2718
2718
  if (!parseNode)
2719
2719
  throw new Error("parseNode cannot be undefined");
2720
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2720
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2721
2721
  if (mappingValueNode) {
2722
2722
  const mappingValue = mappingValueNode.getStringValue();
2723
2723
  if (mappingValue) {
@@ -2956,7 +2956,7 @@ export function createBaseDeltaFunctionResponseFromDiscriminatorValue(parseNode)
2956
2956
  export function createBaseEndUserNotificationFromDiscriminatorValue(parseNode) {
2957
2957
  if (!parseNode)
2958
2958
  throw new Error("parseNode cannot be undefined");
2959
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2959
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2960
2960
  if (mappingValueNode) {
2961
2961
  const mappingValue = mappingValueNode.getStringValue();
2962
2962
  if (mappingValue) {
@@ -2990,7 +2990,7 @@ export function createBaseItemCollectionResponseFromDiscriminatorValue(parseNode
2990
2990
  export function createBaseItemFromDiscriminatorValue(parseNode) {
2991
2991
  if (!parseNode)
2992
2992
  throw new Error("parseNode cannot be undefined");
2993
- const mappingValueNode = parseNode.getChildNode("@odata.type");
2993
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
2994
2994
  if (mappingValueNode) {
2995
2995
  const mappingValue = mappingValueNode.getStringValue();
2996
2996
  if (mappingValue) {
@@ -3025,7 +3025,7 @@ export function createBaseItemFromDiscriminatorValue(parseNode) {
3025
3025
  export function createBaseItemVersionFromDiscriminatorValue(parseNode) {
3026
3026
  if (!parseNode)
3027
3027
  throw new Error("parseNode cannot be undefined");
3028
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3028
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3029
3029
  if (mappingValueNode) {
3030
3030
  const mappingValue = mappingValueNode.getStringValue();
3031
3031
  if (mappingValue) {
@@ -3059,7 +3059,7 @@ export function createBaseSitePageCollectionResponseFromDiscriminatorValue(parse
3059
3059
  export function createBaseSitePageFromDiscriminatorValue(parseNode) {
3060
3060
  if (!parseNode)
3061
3061
  throw new Error("parseNode cannot be undefined");
3062
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3062
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3063
3063
  if (mappingValueNode) {
3064
3064
  const mappingValue = mappingValueNode.getStringValue();
3065
3065
  if (mappingValue) {
@@ -3188,7 +3188,7 @@ export function createBookingCustomerBaseCollectionResponseFromDiscriminatorValu
3188
3188
  export function createBookingCustomerBaseFromDiscriminatorValue(parseNode) {
3189
3189
  if (!parseNode)
3190
3190
  throw new Error("parseNode cannot be undefined");
3191
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3191
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3192
3192
  if (mappingValueNode) {
3193
3193
  const mappingValue = mappingValueNode.getStringValue();
3194
3194
  if (mappingValue) {
@@ -3218,7 +3218,7 @@ export function createBookingCustomerFromDiscriminatorValue(parseNode) {
3218
3218
  export function createBookingCustomerInformationBaseFromDiscriminatorValue(parseNode) {
3219
3219
  if (!parseNode)
3220
3220
  throw new Error("parseNode cannot be undefined");
3221
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3221
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3222
3222
  if (mappingValueNode) {
3223
3223
  const mappingValue = mappingValueNode.getStringValue();
3224
3224
  if (mappingValue) {
@@ -3302,7 +3302,7 @@ export function createBookingReminderFromDiscriminatorValue(parseNode) {
3302
3302
  export function createBookingsAvailabilityFromDiscriminatorValue(parseNode) {
3303
3303
  if (!parseNode)
3304
3304
  throw new Error("parseNode cannot be undefined");
3305
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3305
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3306
3306
  if (mappingValueNode) {
3307
3307
  const mappingValue = mappingValueNode.getStringValue();
3308
3308
  if (mappingValue) {
@@ -3368,7 +3368,7 @@ export function createBookingStaffMemberBaseCollectionResponseFromDiscriminatorV
3368
3368
  export function createBookingStaffMemberBaseFromDiscriminatorValue(parseNode) {
3369
3369
  if (!parseNode)
3370
3370
  throw new Error("parseNode cannot be undefined");
3371
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3371
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3372
3372
  if (mappingValueNode) {
3373
3373
  const mappingValue = mappingValueNode.getStringValue();
3374
3374
  if (mappingValue) {
@@ -3677,7 +3677,7 @@ export function createCallMediaStateFromDiscriminatorValue(parseNode) {
3677
3677
  export function createCallOptionsFromDiscriminatorValue(parseNode) {
3678
3678
  if (!parseNode)
3679
3679
  throw new Error("parseNode cannot be undefined");
3680
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3680
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3681
3681
  if (mappingValueNode) {
3682
3682
  const mappingValue = mappingValueNode.getStringValue();
3683
3683
  if (mappingValue) {
@@ -3853,7 +3853,7 @@ export function createCertificationFromDiscriminatorValue(parseNode) {
3853
3853
  export function createChangeTrackedEntityFromDiscriminatorValue(parseNode) {
3854
3854
  if (!parseNode)
3855
3855
  throw new Error("parseNode cannot be undefined");
3856
- const mappingValueNode = parseNode.getChildNode("@odata.type");
3856
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
3857
3857
  if (mappingValueNode) {
3858
3858
  const mappingValue = mappingValueNode.getStringValue();
3859
3859
  if (mappingValue) {
@@ -4400,7 +4400,7 @@ export function createCloudPcGalleryImageFromDiscriminatorValue(parseNode) {
4400
4400
  export function createCloudPcManagementAssignmentTargetFromDiscriminatorValue(parseNode) {
4401
4401
  if (!parseNode)
4402
4402
  throw new Error("parseNode cannot be undefined");
4403
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4403
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4404
4404
  if (mappingValueNode) {
4405
4405
  const mappingValue = mappingValueNode.getStringValue();
4406
4406
  if (mappingValue) {
@@ -4646,7 +4646,7 @@ export function createCommsOperationCollectionResponseFromDiscriminatorValue(par
4646
4646
  export function createCommsOperationFromDiscriminatorValue(parseNode) {
4647
4647
  if (!parseNode)
4648
4648
  throw new Error("parseNode cannot be undefined");
4649
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4649
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4650
4650
  if (mappingValueNode) {
4651
4651
  const mappingValue = mappingValueNode.getStringValue();
4652
4652
  if (mappingValue) {
@@ -4887,7 +4887,7 @@ export function createConditionalAccessEnumeratedExternalTenantsFromDiscriminato
4887
4887
  export function createConditionalAccessExternalTenantsFromDiscriminatorValue(parseNode) {
4888
4888
  if (!parseNode)
4889
4889
  throw new Error("parseNode cannot be undefined");
4890
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4890
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4891
4891
  if (mappingValueNode) {
4892
4892
  const mappingValue = mappingValueNode.getStringValue();
4893
4893
  if (mappingValue) {
@@ -4991,7 +4991,7 @@ export function createConditionalAccessRootFromDiscriminatorValue(parseNode) {
4991
4991
  export function createConditionalAccessSessionControlFromDiscriminatorValue(parseNode) {
4992
4992
  if (!parseNode)
4993
4993
  throw new Error("parseNode cannot be undefined");
4994
- const mappingValueNode = parseNode.getChildNode("@odata.type");
4994
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
4995
4995
  if (mappingValueNode) {
4996
4996
  const mappingValue = mappingValueNode.getStringValue();
4997
4997
  if (mappingValue) {
@@ -5279,7 +5279,7 @@ export function createConversationMemberCollectionResponseFromDiscriminatorValue
5279
5279
  export function createConversationMemberFromDiscriminatorValue(parseNode) {
5280
5280
  if (!parseNode)
5281
5281
  throw new Error("parseNode cannot be undefined");
5282
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5282
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5283
5283
  if (mappingValueNode) {
5284
5284
  const mappingValue = mappingValueNode.getStringValue();
5285
5285
  if (mappingValue) {
@@ -5373,7 +5373,7 @@ export function createCrossCloudAzureActiveDirectoryTenantFromDiscriminatorValue
5373
5373
  export function createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue(parseNode) {
5374
5374
  if (!parseNode)
5375
5375
  throw new Error("parseNode cannot be undefined");
5376
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5376
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5377
5377
  if (mappingValueNode) {
5378
5378
  const mappingValue = mappingValueNode.getStringValue();
5379
5379
  if (mappingValue) {
@@ -5511,7 +5511,7 @@ export function createCustomAuthenticationExtensionCollectionResponseFromDiscrim
5511
5511
  export function createCustomAuthenticationExtensionFromDiscriminatorValue(parseNode) {
5512
5512
  if (!parseNode)
5513
5513
  throw new Error("parseNode cannot be undefined");
5514
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5514
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5515
5515
  if (mappingValueNode) {
5516
5516
  const mappingValue = mappingValueNode.getStringValue();
5517
5517
  if (mappingValue) {
@@ -5541,7 +5541,7 @@ export function createCustomCalloutExtensionCollectionResponseFromDiscriminatorV
5541
5541
  export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
5542
5542
  if (!parseNode)
5543
5543
  throw new Error("parseNode cannot be undefined");
5544
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5544
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5545
5545
  if (mappingValueNode) {
5546
5546
  const mappingValue = mappingValueNode.getStringValue();
5547
5547
  if (mappingValue) {
@@ -5570,7 +5570,7 @@ export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
5570
5570
  export function createCustomExtensionAuthenticationConfigurationFromDiscriminatorValue(parseNode) {
5571
5571
  if (!parseNode)
5572
5572
  throw new Error("parseNode cannot be undefined");
5573
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5573
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5574
5574
  if (mappingValueNode) {
5575
5575
  const mappingValue = mappingValueNode.getStringValue();
5576
5576
  if (mappingValue) {
@@ -5593,7 +5593,7 @@ export function createCustomExtensionAuthenticationConfigurationFromDiscriminato
5593
5593
  export function createCustomExtensionCallbackConfigurationFromDiscriminatorValue(parseNode) {
5594
5594
  if (!parseNode)
5595
5595
  throw new Error("parseNode cannot be undefined");
5596
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5596
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5597
5597
  if (mappingValueNode) {
5598
5598
  const mappingValue = mappingValueNode.getStringValue();
5599
5599
  if (mappingValue) {
@@ -5632,7 +5632,7 @@ export function createCustomExtensionClientConfigurationFromDiscriminatorValue(p
5632
5632
  export function createCustomExtensionDataFromDiscriminatorValue(parseNode) {
5633
5633
  if (!parseNode)
5634
5634
  throw new Error("parseNode cannot be undefined");
5635
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5635
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5636
5636
  if (mappingValueNode) {
5637
5637
  const mappingValue = mappingValueNode.getStringValue();
5638
5638
  if (mappingValue) {
@@ -5657,7 +5657,7 @@ export function createCustomExtensionDataFromDiscriminatorValue(parseNode) {
5657
5657
  export function createCustomExtensionEndpointConfigurationFromDiscriminatorValue(parseNode) {
5658
5658
  if (!parseNode)
5659
5659
  throw new Error("parseNode cannot be undefined");
5660
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5660
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5661
5661
  if (mappingValueNode) {
5662
5662
  const mappingValue = mappingValueNode.getStringValue();
5663
5663
  if (mappingValue) {
@@ -5932,7 +5932,7 @@ export function createDelegatedAdminRelationshipCustomerParticipantFromDiscrimin
5932
5932
  export function createDelegatedAdminRelationshipFromDiscriminatorValue(parseNode) {
5933
5933
  if (!parseNode)
5934
5934
  throw new Error("parseNode cannot be undefined");
5935
- const mappingValueNode = parseNode.getChildNode("@odata.type");
5935
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
5936
5936
  if (mappingValueNode) {
5937
5937
  const mappingValue = mappingValueNode.getStringValue();
5938
5938
  if (mappingValue) {
@@ -6124,7 +6124,7 @@ export function createDetectedAppFromDiscriminatorValue(parseNode) {
6124
6124
  export function createDeviceActionResultFromDiscriminatorValue(parseNode) {
6125
6125
  if (!parseNode)
6126
6126
  throw new Error("parseNode cannot be undefined");
6127
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6127
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6128
6128
  if (mappingValueNode) {
6129
6129
  const mappingValue = mappingValueNode.getStringValue();
6130
6130
  if (mappingValue) {
@@ -6155,7 +6155,7 @@ export function createDeviceActionResultFromDiscriminatorValue(parseNode) {
6155
6155
  export function createDeviceAndAppManagementAssignmentTargetFromDiscriminatorValue(parseNode) {
6156
6156
  if (!parseNode)
6157
6157
  throw new Error("parseNode cannot be undefined");
6158
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6158
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6159
6159
  if (mappingValueNode) {
6160
6160
  const mappingValue = mappingValueNode.getStringValue();
6161
6161
  if (mappingValue) {
@@ -6337,7 +6337,7 @@ export function createDeviceCompliancePolicyDeviceStateSummaryFromDiscriminatorV
6337
6337
  export function createDeviceCompliancePolicyFromDiscriminatorValue(parseNode) {
6338
6338
  if (!parseNode)
6339
6339
  throw new Error("parseNode cannot be undefined");
6340
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6340
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6341
6341
  if (mappingValueNode) {
6342
6342
  const mappingValue = mappingValueNode.getStringValue();
6343
6343
  if (mappingValue) {
@@ -6543,7 +6543,7 @@ export function createDeviceConfigurationDeviceStatusFromDiscriminatorValue(pars
6543
6543
  export function createDeviceConfigurationFromDiscriminatorValue(parseNode) {
6544
6544
  if (!parseNode)
6545
6545
  throw new Error("parseNode cannot be undefined");
6546
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6546
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6547
6547
  if (mappingValueNode) {
6548
6548
  const mappingValue = mappingValueNode.getStringValue();
6549
6549
  if (mappingValue) {
@@ -6686,7 +6686,7 @@ export function createDeviceEnrollmentConfigurationCollectionResponseFromDiscrim
6686
6686
  export function createDeviceEnrollmentConfigurationFromDiscriminatorValue(parseNode) {
6687
6687
  if (!parseNode)
6688
6688
  throw new Error("parseNode cannot be undefined");
6689
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6689
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6690
6690
  if (mappingValueNode) {
6691
6691
  const mappingValue = mappingValueNode.getStringValue();
6692
6692
  if (mappingValue) {
@@ -6956,7 +6956,7 @@ export function createDeviceManagementTroubleshootingEventCollectionResponseFrom
6956
6956
  export function createDeviceManagementTroubleshootingEventFromDiscriminatorValue(parseNode) {
6957
6957
  if (!parseNode)
6958
6958
  throw new Error("parseNode cannot be undefined");
6959
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6959
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6960
6960
  if (mappingValueNode) {
6961
6961
  const mappingValue = mappingValueNode.getStringValue();
6962
6962
  if (mappingValue) {
@@ -6995,7 +6995,7 @@ export function createDeviceProtectionOverviewFromDiscriminatorValue(parseNode)
6995
6995
  export function createDeviceRegistrationMembershipFromDiscriminatorValue(parseNode) {
6996
6996
  if (!parseNode)
6997
6997
  throw new Error("parseNode cannot be undefined");
6998
- const mappingValueNode = parseNode.getChildNode("@odata.type");
6998
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6999
6999
  if (mappingValueNode) {
7000
7000
  const mappingValue = mappingValueNode.getStringValue();
7001
7001
  if (mappingValue) {
@@ -7038,7 +7038,7 @@ export function createDevicesFilterFromDiscriminatorValue(parseNode) {
7038
7038
  export function createDictionaryFromDiscriminatorValue(parseNode) {
7039
7039
  if (!parseNode)
7040
7040
  throw new Error("parseNode cannot be undefined");
7041
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7041
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7042
7042
  if (mappingValueNode) {
7043
7043
  const mappingValue = mappingValueNode.getStringValue();
7044
7044
  if (mappingValue) {
@@ -7115,7 +7115,7 @@ export function createDirectoryObjectCollectionResponseFromDiscriminatorValue(pa
7115
7115
  export function createDirectoryObjectFromDiscriminatorValue(parseNode) {
7116
7116
  if (!parseNode)
7117
7117
  throw new Error("parseNode cannot be undefined");
7118
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7118
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7119
7119
  if (mappingValueNode) {
7120
7120
  const mappingValue = mappingValueNode.getStringValue();
7121
7121
  if (mappingValue) {
@@ -7340,7 +7340,7 @@ export function createDomainDnsRecordCollectionResponseFromDiscriminatorValue(pa
7340
7340
  export function createDomainDnsRecordFromDiscriminatorValue(parseNode) {
7341
7341
  if (!parseNode)
7342
7342
  throw new Error("parseNode cannot be undefined");
7343
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7343
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7344
7344
  if (mappingValueNode) {
7345
7345
  const mappingValue = mappingValueNode.getStringValue();
7346
7346
  if (mappingValue) {
@@ -7576,7 +7576,7 @@ export function createEdgeFromDiscriminatorValue(parseNode) {
7576
7576
  export function createEdgeSearchEngineBaseFromDiscriminatorValue(parseNode) {
7577
7577
  if (!parseNode)
7578
7578
  throw new Error("parseNode cannot be undefined");
7579
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7579
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7580
7580
  if (mappingValueNode) {
7581
7581
  const mappingValue = mappingValueNode.getStringValue();
7582
7582
  if (mappingValue) {
@@ -7662,7 +7662,7 @@ export function createEducationAssignmentFromDiscriminatorValue(parseNode) {
7662
7662
  export function createEducationAssignmentGradeFromDiscriminatorValue(parseNode) {
7663
7663
  if (!parseNode)
7664
7664
  throw new Error("parseNode cannot be undefined");
7665
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7665
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7666
7666
  if (mappingValueNode) {
7667
7667
  const mappingValue = mappingValueNode.getStringValue();
7668
7668
  if (mappingValue) {
@@ -7683,7 +7683,7 @@ export function createEducationAssignmentGradeFromDiscriminatorValue(parseNode)
7683
7683
  export function createEducationAssignmentGradeTypeFromDiscriminatorValue(parseNode) {
7684
7684
  if (!parseNode)
7685
7685
  throw new Error("parseNode cannot be undefined");
7686
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7686
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7687
7687
  if (mappingValueNode) {
7688
7688
  const mappingValue = mappingValueNode.getStringValue();
7689
7689
  if (mappingValue) {
@@ -7740,7 +7740,7 @@ export function createEducationAssignmentPointsGradeTypeFromDiscriminatorValue(p
7740
7740
  export function createEducationAssignmentRecipientFromDiscriminatorValue(parseNode) {
7741
7741
  if (!parseNode)
7742
7742
  throw new Error("parseNode cannot be undefined");
7743
- const mappingValueNode = parseNode.getChildNode("@odata.type");
7743
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
7744
7744
  if (mappingValueNode) {
7745
7745
  const mappingValue = mappingValueNode.getStringValue();
7746
7746
  if (mappingValue) {
@@ -7999,7 +7999,7 @@ export function createEducationOnPremisesInfoFromDiscriminatorValue(parseNode) {
7999
7999
  export function createEducationOrganizationFromDiscriminatorValue(parseNode) {
8000
8000
  if (!parseNode)
8001
8001
  throw new Error("parseNode cannot be undefined");
8002
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8002
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8003
8003
  if (mappingValueNode) {
8004
8004
  const mappingValue = mappingValueNode.getStringValue();
8005
8005
  if (mappingValue) {
@@ -8029,7 +8029,7 @@ export function createEducationOutcomeCollectionResponseFromDiscriminatorValue(p
8029
8029
  export function createEducationOutcomeFromDiscriminatorValue(parseNode) {
8030
8030
  if (!parseNode)
8031
8031
  throw new Error("parseNode cannot be undefined");
8032
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8032
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8033
8033
  if (mappingValueNode) {
8034
8034
  const mappingValue = mappingValueNode.getStringValue();
8035
8035
  if (mappingValue) {
@@ -8074,7 +8074,7 @@ export function createEducationPowerPointResourceFromDiscriminatorValue(parseNod
8074
8074
  export function createEducationResourceFromDiscriminatorValue(parseNode) {
8075
8075
  if (!parseNode)
8076
8076
  throw new Error("parseNode cannot be undefined");
8077
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8077
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8078
8078
  if (mappingValueNode) {
8079
8079
  const mappingValue = mappingValueNode.getStringValue();
8080
8080
  if (mappingValue) {
@@ -8203,7 +8203,7 @@ export function createEducationSubmissionIndividualRecipientFromDiscriminatorVal
8203
8203
  export function createEducationSubmissionRecipientFromDiscriminatorValue(parseNode) {
8204
8204
  if (!parseNode)
8205
8205
  throw new Error("parseNode cannot be undefined");
8206
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8206
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8207
8207
  if (mappingValueNode) {
8208
8208
  const mappingValue = mappingValueNode.getStringValue();
8209
8209
  if (mappingValue) {
@@ -8449,7 +8449,7 @@ export function createEndUserNotificationFromDiscriminatorValue(parseNode) {
8449
8449
  export function createEndUserNotificationSettingFromDiscriminatorValue(parseNode) {
8450
8450
  if (!parseNode)
8451
8451
  throw new Error("parseNode cannot be undefined");
8452
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8452
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8453
8453
  if (mappingValueNode) {
8454
8454
  const mappingValue = mappingValueNode.getStringValue();
8455
8455
  if (mappingValue) {
@@ -8553,7 +8553,7 @@ export function createEntitlementManagementSettingsFromDiscriminatorValue(parseN
8553
8553
  export function createEntityFromDiscriminatorValue(parseNode) {
8554
8554
  if (!parseNode)
8555
8555
  throw new Error("parseNode cannot be undefined");
8556
- const mappingValueNode = parseNode.getChildNode("@odata.type");
8556
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
8557
8557
  if (mappingValueNode) {
8558
8558
  const mappingValue = mappingValueNode.getStringValue();
8559
8559
  if (mappingValue) {
@@ -9161,7 +9161,7 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9161
9161
  case "#microsoft.graph.externalConnectors.externalItem":
9162
9162
  return deserializeIntoExternalItem;
9163
9163
  case "#microsoft.graph.externalConnectors.identity":
9164
- return deserializeIntoIdentity;
9164
+ return I137354aa1f844bbb5aa5ffd805e739993f9683605f407d143ca49924697fa7af;
9165
9165
  case "#microsoft.graph.externalConnectors.schema":
9166
9166
  return deserializeIntoSchema;
9167
9167
  case "#microsoft.graph.externalDomainName":
@@ -9846,6 +9846,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9846
9846
  return deserializeIntoEdiscoveryReviewTag;
9847
9847
  case "#microsoft.graph.security.ediscoverySearch":
9848
9848
  return deserializeIntoEdiscoverySearch;
9849
+ case "#microsoft.graph.security.ediscoverySearchExportOperation":
9850
+ return deserializeIntoEdiscoverySearchExportOperation;
9849
9851
  case "#microsoft.graph.security.ediscoveryTagOperation":
9850
9852
  return deserializeIntoEdiscoveryTagOperation;
9851
9853
  case "#microsoft.graph.security.filePlanDescriptor":
@@ -10256,6 +10258,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10256
10258
  return deserializeIntoUserSettings;
10257
10259
  case "#microsoft.graph.userSignInInsight":
10258
10260
  return deserializeIntoUserSignInInsight;
10261
+ case "#microsoft.graph.userSolutionRoot":
10262
+ return deserializeIntoUserSolutionRoot;
10259
10263
  case "#microsoft.graph.userStorage":
10260
10264
  return deserializeIntoUserStorage;
10261
10265
  case "#microsoft.graph.userTeamwork":
@@ -10464,6 +10468,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10464
10468
  return deserializeIntoWorkbookWorksheetProtection;
10465
10469
  case "#microsoft.graph.workforceIntegration":
10466
10470
  return deserializeIntoWorkforceIntegration;
10471
+ case "#microsoft.graph.workingTimeSchedule":
10472
+ return deserializeIntoWorkingTimeSchedule;
10467
10473
  case "#microsoft.graph.x509CertificateAuthenticationMethodConfiguration":
10468
10474
  return deserializeIntoX509CertificateAuthenticationMethodConfiguration;
10469
10475
  case "#microsoft.graph.x509CertificateCombinationConfiguration":
@@ -10509,7 +10515,7 @@ export function createEventFromDiscriminatorValue(parseNode) {
10509
10515
  export function createEventMessageDetailFromDiscriminatorValue(parseNode) {
10510
10516
  if (!parseNode)
10511
10517
  throw new Error("parseNode cannot be undefined");
10512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10518
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10513
10519
  if (mappingValueNode) {
10514
10520
  const mappingValue = mappingValueNode.getStringValue();
10515
10521
  if (mappingValue) {
@@ -10588,7 +10594,7 @@ export function createEventMessageDetailFromDiscriminatorValue(parseNode) {
10588
10594
  export function createEventMessageFromDiscriminatorValue(parseNode) {
10589
10595
  if (!parseNode)
10590
10596
  throw new Error("parseNode cannot be undefined");
10591
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10597
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10592
10598
  if (mappingValueNode) {
10593
10599
  const mappingValue = mappingValueNode.getStringValue();
10594
10600
  if (mappingValue) {
@@ -10710,7 +10716,7 @@ export function createExtensionCollectionResponseFromDiscriminatorValue(parseNod
10710
10716
  export function createExtensionFromDiscriminatorValue(parseNode) {
10711
10717
  if (!parseNode)
10712
10718
  throw new Error("parseNode cannot be undefined");
10713
- const mappingValueNode = parseNode.getChildNode("@odata.type");
10719
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
10714
10720
  if (mappingValueNode) {
10715
10721
  const mappingValue = mappingValueNode.getStringValue();
10716
10722
  if (mappingValue) {
@@ -11154,7 +11160,7 @@ export function createGovernanceInsightCollectionResponseFromDiscriminatorValue(
11154
11160
  export function createGovernanceInsightFromDiscriminatorValue(parseNode) {
11155
11161
  if (!parseNode)
11156
11162
  throw new Error("parseNode cannot be undefined");
11157
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11163
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11158
11164
  if (mappingValueNode) {
11159
11165
  const mappingValue = mappingValueNode.getStringValue();
11160
11166
  if (mappingValue) {
@@ -11195,7 +11201,7 @@ export function createGranularMailboxRestoreArtifactFromDiscriminatorValue(parse
11195
11201
  export function createGroupAssignmentTargetFromDiscriminatorValue(parseNode) {
11196
11202
  if (!parseNode)
11197
11203
  throw new Error("parseNode cannot be undefined");
11198
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11204
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11199
11205
  if (mappingValueNode) {
11200
11206
  const mappingValue = mappingValueNode.getStringValue();
11201
11207
  if (mappingValue) {
@@ -11450,7 +11456,7 @@ export function createIdentityCustomUserFlowAttributeFromDiscriminatorValue(pars
11450
11456
  export function createIdentityFromDiscriminatorValue(parseNode) {
11451
11457
  if (!parseNode)
11452
11458
  throw new Error("parseNode cannot be undefined");
11453
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11459
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11454
11460
  if (mappingValueNode) {
11455
11461
  const mappingValue = mappingValueNode.getStringValue();
11456
11462
  if (mappingValue) {
@@ -11536,7 +11542,7 @@ export function createIdentityProviderBaseCollectionResponseFromDiscriminatorVal
11536
11542
  export function createIdentityProviderBaseFromDiscriminatorValue(parseNode) {
11537
11543
  if (!parseNode)
11538
11544
  throw new Error("parseNode cannot be undefined");
11539
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11545
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11540
11546
  if (mappingValueNode) {
11541
11547
  const mappingValue = mappingValueNode.getStringValue();
11542
11548
  if (mappingValue) {
@@ -11594,7 +11600,7 @@ export function createIdentitySecurityDefaultsEnforcementPolicyFromDiscriminator
11594
11600
  export function createIdentitySetFromDiscriminatorValue(parseNode) {
11595
11601
  if (!parseNode)
11596
11602
  throw new Error("parseNode cannot be undefined");
11597
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11603
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11598
11604
  if (mappingValueNode) {
11599
11605
  const mappingValue = mappingValueNode.getStringValue();
11600
11606
  if (mappingValue) {
@@ -11623,7 +11629,7 @@ export function createIdentitySetFromDiscriminatorValue(parseNode) {
11623
11629
  export function createIdentitySourceFromDiscriminatorValue(parseNode) {
11624
11630
  if (!parseNode)
11625
11631
  throw new Error("parseNode cannot be undefined");
11626
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11632
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11627
11633
  if (mappingValueNode) {
11628
11634
  const mappingValue = mappingValueNode.getStringValue();
11629
11635
  if (mappingValue) {
@@ -11679,7 +11685,7 @@ export function createIdentityUserFlowAttributeCollectionResponseFromDiscriminat
11679
11685
  export function createIdentityUserFlowAttributeFromDiscriminatorValue(parseNode) {
11680
11686
  if (!parseNode)
11681
11687
  throw new Error("parseNode cannot be undefined");
11682
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11688
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11683
11689
  if (mappingValueNode) {
11684
11690
  const mappingValue = mappingValueNode.getStringValue();
11685
11691
  if (mappingValue) {
@@ -11702,7 +11708,7 @@ export function createIdentityUserFlowAttributeFromDiscriminatorValue(parseNode)
11702
11708
  export function createIdentityUserFlowFromDiscriminatorValue(parseNode) {
11703
11709
  if (!parseNode)
11704
11710
  throw new Error("parseNode cannot be undefined");
11705
- const mappingValueNode = parseNode.getChildNode("@odata.type");
11711
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
11706
11712
  if (mappingValueNode) {
11707
11713
  const mappingValue = mappingValueNode.getStringValue();
11708
11714
  if (mappingValue) {
@@ -12029,7 +12035,7 @@ export function createInvitationParticipantInfoFromDiscriminatorValue(parseNode)
12029
12035
  export function createInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue(parseNode) {
12030
12036
  if (!parseNode)
12031
12037
  throw new Error("parseNode cannot be undefined");
12032
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12038
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12033
12039
  if (mappingValueNode) {
12034
12040
  const mappingValue = mappingValueNode.getStringValue();
12035
12041
  if (mappingValue) {
@@ -12149,7 +12155,7 @@ export function createIosHomeScreenFolderPageFromDiscriminatorValue(parseNode) {
12149
12155
  export function createIosHomeScreenItemFromDiscriminatorValue(parseNode) {
12150
12156
  if (!parseNode)
12151
12157
  throw new Error("parseNode cannot be undefined");
12152
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12158
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12153
12159
  if (mappingValueNode) {
12154
12160
  const mappingValue = mappingValueNode.getStringValue();
12155
12161
  if (mappingValue) {
@@ -12406,7 +12412,7 @@ export function createIpNamedLocationFromDiscriminatorValue(parseNode) {
12406
12412
  export function createIpRangeFromDiscriminatorValue(parseNode) {
12407
12413
  if (!parseNode)
12408
12414
  throw new Error("parseNode cannot be undefined");
12409
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12415
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12410
12416
  if (mappingValueNode) {
12411
12417
  const mappingValue = mappingValueNode.getStringValue();
12412
12418
  if (mappingValue) {
@@ -12703,7 +12709,7 @@ export function createLearningCourseActivityCollectionResponseFromDiscriminatorV
12703
12709
  export function createLearningCourseActivityFromDiscriminatorValue(parseNode) {
12704
12710
  if (!parseNode)
12705
12711
  throw new Error("parseNode cannot be undefined");
12706
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12712
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12707
12713
  if (mappingValueNode) {
12708
12714
  const mappingValue = mappingValueNode.getStringValue();
12709
12715
  if (mappingValue) {
@@ -12870,7 +12876,7 @@ export function createListItemVersionCollectionResponseFromDiscriminatorValue(pa
12870
12876
  export function createListItemVersionFromDiscriminatorValue(parseNode) {
12871
12877
  if (!parseNode)
12872
12878
  throw new Error("parseNode cannot be undefined");
12873
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12879
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12874
12880
  if (mappingValueNode) {
12875
12881
  const mappingValue = mappingValueNode.getStringValue();
12876
12882
  if (mappingValue) {
@@ -12963,7 +12969,7 @@ export function createLocationConstraintItemFromDiscriminatorValue(parseNode) {
12963
12969
  export function createLocationFromDiscriminatorValue(parseNode) {
12964
12970
  if (!parseNode)
12965
12971
  throw new Error("parseNode cannot be undefined");
12966
- const mappingValueNode = parseNode.getChildNode("@odata.type");
12972
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
12967
12973
  if (mappingValueNode) {
12968
12974
  const mappingValue = mappingValueNode.getStringValue();
12969
12975
  if (mappingValue) {
@@ -13038,7 +13044,7 @@ export function createLongRunningOperationCollectionResponseFromDiscriminatorVal
13038
13044
  export function createLongRunningOperationFromDiscriminatorValue(parseNode) {
13039
13045
  if (!parseNode)
13040
13046
  throw new Error("parseNode cannot be undefined");
13041
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13047
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13042
13048
  if (mappingValueNode) {
13043
13049
  const mappingValue = mappingValueNode.getStringValue();
13044
13050
  if (mappingValue) {
@@ -13270,7 +13276,7 @@ export function createMailboxRestoreArtifactCollectionResponseFromDiscriminatorV
13270
13276
  export function createMailboxRestoreArtifactFromDiscriminatorValue(parseNode) {
13271
13277
  if (!parseNode)
13272
13278
  throw new Error("parseNode cannot be undefined");
13273
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13279
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13274
13280
  if (mappingValueNode) {
13275
13281
  const mappingValue = mappingValueNode.getStringValue();
13276
13282
  if (mappingValue) {
@@ -13309,7 +13315,7 @@ export function createMailFolderCollectionResponseFromDiscriminatorValue(parseNo
13309
13315
  export function createMailFolderFromDiscriminatorValue(parseNode) {
13310
13316
  if (!parseNode)
13311
13317
  throw new Error("parseNode cannot be undefined");
13312
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13318
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13313
13319
  if (mappingValueNode) {
13314
13320
  const mappingValue = mappingValueNode.getStringValue();
13315
13321
  if (mappingValue) {
@@ -13420,7 +13426,7 @@ export function createManagedAndroidStoreAppFromDiscriminatorValue(parseNode) {
13420
13426
  export function createManagedAppConfigurationFromDiscriminatorValue(parseNode) {
13421
13427
  if (!parseNode)
13422
13428
  throw new Error("parseNode cannot be undefined");
13423
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13429
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13424
13430
  if (mappingValueNode) {
13425
13431
  const mappingValue = mappingValueNode.getStringValue();
13426
13432
  if (mappingValue) {
@@ -13450,7 +13456,7 @@ export function createManagedAppDiagnosticStatusFromDiscriminatorValue(parseNode
13450
13456
  export function createManagedAppFromDiscriminatorValue(parseNode) {
13451
13457
  if (!parseNode)
13452
13458
  throw new Error("parseNode cannot be undefined");
13453
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13459
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13454
13460
  if (mappingValueNode) {
13455
13461
  const mappingValue = mappingValueNode.getStringValue();
13456
13462
  if (mappingValue) {
@@ -13524,7 +13530,7 @@ export function createManagedAppPolicyDeploymentSummaryPerAppFromDiscriminatorVa
13524
13530
  export function createManagedAppPolicyFromDiscriminatorValue(parseNode) {
13525
13531
  if (!parseNode)
13526
13532
  throw new Error("parseNode cannot be undefined");
13527
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13533
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13528
13534
  if (mappingValueNode) {
13529
13535
  const mappingValue = mappingValueNode.getStringValue();
13530
13536
  if (mappingValue) {
@@ -13563,7 +13569,7 @@ export function createManagedAppPolicyFromDiscriminatorValue(parseNode) {
13563
13569
  export function createManagedAppProtectionFromDiscriminatorValue(parseNode) {
13564
13570
  if (!parseNode)
13565
13571
  throw new Error("parseNode cannot be undefined");
13566
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13572
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13567
13573
  if (mappingValueNode) {
13568
13574
  const mappingValue = mappingValueNode.getStringValue();
13569
13575
  if (mappingValue) {
@@ -13599,7 +13605,7 @@ export function createManagedAppRegistrationCollectionResponseFromDiscriminatorV
13599
13605
  export function createManagedAppRegistrationFromDiscriminatorValue(parseNode) {
13600
13606
  if (!parseNode)
13601
13607
  throw new Error("parseNode cannot be undefined");
13602
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13608
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13603
13609
  if (mappingValueNode) {
13604
13610
  const mappingValue = mappingValueNode.getStringValue();
13605
13611
  if (mappingValue) {
@@ -13631,7 +13637,7 @@ export function createManagedAppStatusCollectionResponseFromDiscriminatorValue(p
13631
13637
  export function createManagedAppStatusFromDiscriminatorValue(parseNode) {
13632
13638
  if (!parseNode)
13633
13639
  throw new Error("parseNode cannot be undefined");
13634
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13640
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13635
13641
  if (mappingValueNode) {
13636
13642
  const mappingValue = mappingValueNode.getStringValue();
13637
13643
  if (mappingValue) {
@@ -13733,7 +13739,7 @@ export function createManagedDeviceMobileAppConfigurationDeviceSummaryFromDiscri
13733
13739
  export function createManagedDeviceMobileAppConfigurationFromDiscriminatorValue(parseNode) {
13734
13740
  if (!parseNode)
13735
13741
  throw new Error("parseNode cannot be undefined");
13736
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13742
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13737
13743
  if (mappingValueNode) {
13738
13744
  const mappingValue = mappingValueNode.getStringValue();
13739
13745
  if (mappingValue) {
@@ -13799,7 +13805,7 @@ export function createManagedEBookAssignmentCollectionResponseFromDiscriminatorV
13799
13805
  export function createManagedEBookAssignmentFromDiscriminatorValue(parseNode) {
13800
13806
  if (!parseNode)
13801
13807
  throw new Error("parseNode cannot be undefined");
13802
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13808
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13803
13809
  if (mappingValueNode) {
13804
13810
  const mappingValue = mappingValueNode.getStringValue();
13805
13811
  if (mappingValue) {
@@ -13829,7 +13835,7 @@ export function createManagedEBookCollectionResponseFromDiscriminatorValue(parse
13829
13835
  export function createManagedEBookFromDiscriminatorValue(parseNode) {
13830
13836
  if (!parseNode)
13831
13837
  throw new Error("parseNode cannot be undefined");
13832
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13838
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13833
13839
  if (mappingValueNode) {
13834
13840
  const mappingValue = mappingValueNode.getStringValue();
13835
13841
  if (mappingValue) {
@@ -13904,7 +13910,7 @@ export function createManagedMobileLobAppCollectionResponseFromDiscriminatorValu
13904
13910
  export function createManagedMobileLobAppFromDiscriminatorValue(parseNode) {
13905
13911
  if (!parseNode)
13906
13912
  throw new Error("parseNode cannot be undefined");
13907
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13913
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13908
13914
  if (mappingValueNode) {
13909
13915
  const mappingValue = mappingValueNode.getStringValue();
13910
13916
  if (mappingValue) {
@@ -13945,7 +13951,7 @@ export function createMdmWindowsInformationProtectionPolicyFromDiscriminatorValu
13945
13951
  export function createMediaConfigFromDiscriminatorValue(parseNode) {
13946
13952
  if (!parseNode)
13947
13953
  throw new Error("parseNode cannot be undefined");
13948
- const mappingValueNode = parseNode.getChildNode("@odata.type");
13954
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
13949
13955
  if (mappingValueNode) {
13950
13956
  const mappingValue = mappingValueNode.getStringValue();
13951
13957
  if (mappingValue) {
@@ -14103,7 +14109,7 @@ export function createMeetingAttendanceReportFromDiscriminatorValue(parseNode) {
14103
14109
  export function createMeetingInfoFromDiscriminatorValue(parseNode) {
14104
14110
  if (!parseNode)
14105
14111
  throw new Error("parseNode cannot be undefined");
14106
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14112
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14107
14113
  if (mappingValueNode) {
14108
14114
  const mappingValue = mappingValueNode.getStringValue();
14109
14115
  if (mappingValue) {
@@ -14128,7 +14134,7 @@ export function createMeetingInfoFromDiscriminatorValue(parseNode) {
14128
14134
  export function createMeetingParticipantInfoFromDiscriminatorValue(parseNode) {
14129
14135
  if (!parseNode)
14130
14136
  throw new Error("parseNode cannot be undefined");
14131
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14137
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14132
14138
  if (mappingValueNode) {
14133
14139
  const mappingValue = mappingValueNode.getStringValue();
14134
14140
  if (mappingValue) {
@@ -14239,7 +14245,7 @@ export function createMessageCollectionResponseFromDiscriminatorValue(parseNode)
14239
14245
  export function createMessageFromDiscriminatorValue(parseNode) {
14240
14246
  if (!parseNode)
14241
14247
  throw new Error("parseNode cannot be undefined");
14242
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14248
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14243
14249
  if (mappingValueNode) {
14244
14250
  const mappingValue = mappingValueNode.getStringValue();
14245
14251
  if (mappingValue) {
@@ -14482,7 +14488,7 @@ export function createMobileAppAssignmentFromDiscriminatorValue(parseNode) {
14482
14488
  export function createMobileAppAssignmentSettingsFromDiscriminatorValue(parseNode) {
14483
14489
  if (!parseNode)
14484
14490
  throw new Error("parseNode cannot be undefined");
14485
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14491
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14486
14492
  if (mappingValueNode) {
14487
14493
  const mappingValue = mappingValueNode.getStringValue();
14488
14494
  if (mappingValue) {
@@ -14580,7 +14586,7 @@ export function createMobileAppContentFromDiscriminatorValue(parseNode) {
14580
14586
  export function createMobileAppFromDiscriminatorValue(parseNode) {
14581
14587
  if (!parseNode)
14582
14588
  throw new Error("parseNode cannot be undefined");
14583
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14589
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14584
14590
  if (mappingValueNode) {
14585
14591
  const mappingValue = mappingValueNode.getStringValue();
14586
14592
  if (mappingValue) {
@@ -14651,7 +14657,7 @@ export function createMobileAppFromDiscriminatorValue(parseNode) {
14651
14657
  export function createMobileAppIdentifierFromDiscriminatorValue(parseNode) {
14652
14658
  if (!parseNode)
14653
14659
  throw new Error("parseNode cannot be undefined");
14654
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14660
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14655
14661
  if (mappingValueNode) {
14656
14662
  const mappingValue = mappingValueNode.getStringValue();
14657
14663
  if (mappingValue) {
@@ -14710,7 +14716,7 @@ export function createMobileContainedAppCollectionResponseFromDiscriminatorValue
14710
14716
  export function createMobileContainedAppFromDiscriminatorValue(parseNode) {
14711
14717
  if (!parseNode)
14712
14718
  throw new Error("parseNode cannot be undefined");
14713
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14719
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14714
14720
  if (mappingValueNode) {
14715
14721
  const mappingValue = mappingValueNode.getStringValue();
14716
14722
  if (mappingValue) {
@@ -14731,7 +14737,7 @@ export function createMobileContainedAppFromDiscriminatorValue(parseNode) {
14731
14737
  export function createMobileLobAppFromDiscriminatorValue(parseNode) {
14732
14738
  if (!parseNode)
14733
14739
  throw new Error("parseNode cannot be undefined");
14734
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14740
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14735
14741
  if (mappingValueNode) {
14736
14742
  const mappingValue = mappingValueNode.getStringValue();
14737
14743
  if (mappingValue) {
@@ -14892,7 +14898,7 @@ export function createNamedLocationCollectionResponseFromDiscriminatorValue(pars
14892
14898
  export function createNamedLocationFromDiscriminatorValue(parseNode) {
14893
14899
  if (!parseNode)
14894
14900
  throw new Error("parseNode cannot be undefined");
14895
- const mappingValueNode = parseNode.getChildNode("@odata.type");
14901
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
14896
14902
  if (mappingValueNode) {
14897
14903
  const mappingValue = mappingValueNode.getStringValue();
14898
14904
  if (mappingValue) {
@@ -15086,7 +15092,7 @@ export function createOfferShiftRequestCollectionResponseFromDiscriminatorValue(
15086
15092
  export function createOfferShiftRequestFromDiscriminatorValue(parseNode) {
15087
15093
  if (!parseNode)
15088
15094
  throw new Error("parseNode cannot be undefined");
15089
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15095
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15090
15096
  if (mappingValueNode) {
15091
15097
  const mappingValue = mappingValueNode.getStringValue();
15092
15098
  if (mappingValue) {
@@ -15107,7 +15113,7 @@ export function createOfferShiftRequestFromDiscriminatorValue(parseNode) {
15107
15113
  export function createOfficeGraphInsightsFromDiscriminatorValue(parseNode) {
15108
15114
  if (!parseNode)
15109
15115
  throw new Error("parseNode cannot be undefined");
15110
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15116
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15111
15117
  if (mappingValueNode) {
15112
15118
  const mappingValue = mappingValueNode.getStringValue();
15113
15119
  if (mappingValue) {
@@ -15164,7 +15170,7 @@ export function createOmaSettingFloatingPointFromDiscriminatorValue(parseNode) {
15164
15170
  export function createOmaSettingFromDiscriminatorValue(parseNode) {
15165
15171
  if (!parseNode)
15166
15172
  throw new Error("parseNode cannot be undefined");
15167
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15173
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15168
15174
  if (mappingValueNode) {
15169
15175
  const mappingValue = mappingValueNode.getStringValue();
15170
15176
  if (mappingValue) {
@@ -15233,7 +15239,7 @@ export function createOnAttributeCollectionExternalUsersSelfServiceSignUpFromDis
15233
15239
  export function createOnAttributeCollectionHandlerFromDiscriminatorValue(parseNode) {
15234
15240
  if (!parseNode)
15235
15241
  throw new Error("parseNode cannot be undefined");
15236
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15242
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15237
15243
  if (mappingValueNode) {
15238
15244
  const mappingValue = mappingValueNode.getStringValue();
15239
15245
  if (mappingValue) {
@@ -15272,7 +15278,7 @@ export function createOnAuthenticationMethodLoadStartExternalUsersSelfServiceSig
15272
15278
  export function createOnAuthenticationMethodLoadStartHandlerFromDiscriminatorValue(parseNode) {
15273
15279
  if (!parseNode)
15274
15280
  throw new Error("parseNode cannot be undefined");
15275
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15281
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15276
15282
  if (mappingValueNode) {
15277
15283
  const mappingValue = mappingValueNode.getStringValue();
15278
15284
  if (mappingValue) {
@@ -15338,7 +15344,7 @@ export function createOneDriveForBusinessRestoreSessionFromDiscriminatorValue(pa
15338
15344
  export function createOnenoteEntityBaseModelFromDiscriminatorValue(parseNode) {
15339
15345
  if (!parseNode)
15340
15346
  throw new Error("parseNode cannot be undefined");
15341
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15347
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15342
15348
  if (mappingValueNode) {
15343
15349
  const mappingValue = mappingValueNode.getStringValue();
15344
15350
  if (mappingValue) {
@@ -15371,7 +15377,7 @@ export function createOnenoteEntityBaseModelFromDiscriminatorValue(parseNode) {
15371
15377
  export function createOnenoteEntityHierarchyModelFromDiscriminatorValue(parseNode) {
15372
15378
  if (!parseNode)
15373
15379
  throw new Error("parseNode cannot be undefined");
15374
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15380
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15375
15381
  if (mappingValueNode) {
15376
15382
  const mappingValue = mappingValueNode.getStringValue();
15377
15383
  if (mappingValue) {
@@ -15396,7 +15402,7 @@ export function createOnenoteEntityHierarchyModelFromDiscriminatorValue(parseNod
15396
15402
  export function createOnenoteEntitySchemaObjectModelFromDiscriminatorValue(parseNode) {
15397
15403
  if (!parseNode)
15398
15404
  throw new Error("parseNode cannot be undefined");
15399
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15405
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15400
15406
  if (mappingValueNode) {
15401
15407
  const mappingValue = mappingValueNode.getStringValue();
15402
15408
  if (mappingValue) {
@@ -15551,7 +15557,7 @@ export function createOnInteractiveAuthFlowStartExternalUsersSelfServiceSignUpFr
15551
15557
  export function createOnInteractiveAuthFlowStartHandlerFromDiscriminatorValue(parseNode) {
15552
15558
  if (!parseNode)
15553
15559
  throw new Error("parseNode cannot be undefined");
15554
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15560
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15555
15561
  if (mappingValueNode) {
15556
15562
  const mappingValue = mappingValueNode.getStringValue();
15557
15563
  if (mappingValue) {
@@ -15581,7 +15587,7 @@ export function createOnInteractiveAuthFlowStartListenerFromDiscriminatorValue(p
15581
15587
  export function createOnlineMeetingBaseFromDiscriminatorValue(parseNode) {
15582
15588
  if (!parseNode)
15583
15589
  throw new Error("parseNode cannot be undefined");
15584
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15590
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15585
15591
  if (mappingValueNode) {
15586
15592
  const mappingValue = mappingValueNode.getStringValue();
15587
15593
  if (mappingValue) {
@@ -15730,7 +15736,7 @@ export function createOnTokenIssuanceStartCustomExtensionHandlerFromDiscriminato
15730
15736
  export function createOnTokenIssuanceStartHandlerFromDiscriminatorValue(parseNode) {
15731
15737
  if (!parseNode)
15732
15738
  throw new Error("parseNode cannot be undefined");
15733
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15739
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15734
15740
  if (mappingValueNode) {
15735
15741
  const mappingValue = mappingValueNode.getStringValue();
15736
15742
  if (mappingValue) {
@@ -15778,7 +15784,7 @@ export function createOnUserCreateStartExternalUsersSelfServiceSignUpFromDiscrim
15778
15784
  export function createOnUserCreateStartHandlerFromDiscriminatorValue(parseNode) {
15779
15785
  if (!parseNode)
15780
15786
  throw new Error("parseNode cannot be undefined");
15781
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15787
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15782
15788
  if (mappingValueNode) {
15783
15789
  const mappingValue = mappingValueNode.getStringValue();
15784
15790
  if (mappingValue) {
@@ -15871,7 +15877,7 @@ export function createOperationErrorFromDiscriminatorValue(parseNode) {
15871
15877
  export function createOperationFromDiscriminatorValue(parseNode) {
15872
15878
  if (!parseNode)
15873
15879
  throw new Error("parseNode cannot be undefined");
15874
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15880
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15875
15881
  if (mappingValueNode) {
15876
15882
  const mappingValue = mappingValueNode.getStringValue();
15877
15883
  if (mappingValue) {
@@ -15937,7 +15943,7 @@ export function createOrganizationalBrandingLocalizationFromDiscriminatorValue(p
15937
15943
  export function createOrganizationalBrandingPropertiesFromDiscriminatorValue(parseNode) {
15938
15944
  if (!parseNode)
15939
15945
  throw new Error("parseNode cannot be undefined");
15940
- const mappingValueNode = parseNode.getChildNode("@odata.type");
15946
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
15941
15947
  if (mappingValueNode) {
15942
15948
  const mappingValue = mappingValueNode.getStringValue();
15943
15949
  if (mappingValue) {
@@ -16050,7 +16056,7 @@ export function createOutlookGeoCoordinatesFromDiscriminatorValue(parseNode) {
16050
16056
  export function createOutlookItemFromDiscriminatorValue(parseNode) {
16051
16057
  if (!parseNode)
16052
16058
  throw new Error("parseNode cannot be undefined");
16053
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16059
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16054
16060
  if (mappingValueNode) {
16055
16061
  const mappingValue = mappingValueNode.getStringValue();
16056
16062
  if (mappingValue) {
@@ -16274,7 +16280,7 @@ export function createPayloadCollectionResponseFromDiscriminatorValue(parseNode)
16274
16280
  export function createPayloadDetailFromDiscriminatorValue(parseNode) {
16275
16281
  if (!parseNode)
16276
16282
  throw new Error("parseNode cannot be undefined");
16277
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16283
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16278
16284
  if (mappingValueNode) {
16279
16285
  const mappingValue = mappingValueNode.getStringValue();
16280
16286
  if (mappingValue) {
@@ -16529,7 +16535,7 @@ export function createPkcs12CertificateInformationFromDiscriminatorValue(parseNo
16529
16535
  export function createPlaceFromDiscriminatorValue(parseNode) {
16530
16536
  if (!parseNode)
16531
16537
  throw new Error("parseNode cannot be undefined");
16532
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16538
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16533
16539
  if (mappingValueNode) {
16534
16540
  const mappingValue = mappingValueNode.getStringValue();
16535
16541
  if (mappingValue) {
@@ -16759,7 +16765,7 @@ export function createPlayPromptOperationFromDiscriminatorValue(parseNode) {
16759
16765
  export function createPolicyBaseFromDiscriminatorValue(parseNode) {
16760
16766
  if (!parseNode)
16761
16767
  throw new Error("parseNode cannot be undefined");
16762
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16768
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16763
16769
  if (mappingValueNode) {
16764
16770
  const mappingValue = mappingValueNode.getStringValue();
16765
16771
  if (mappingValue) {
@@ -16946,7 +16952,7 @@ export function createPrintDocumentUploadPropertiesFromDiscriminatorValue(parseN
16946
16952
  export function createPrinterBaseFromDiscriminatorValue(parseNode) {
16947
16953
  if (!parseNode)
16948
16954
  throw new Error("parseNode cannot be undefined");
16949
- const mappingValueNode = parseNode.getChildNode("@odata.type");
16955
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16950
16956
  if (mappingValueNode) {
16951
16957
  const mappingValue = mappingValueNode.getStringValue();
16952
16958
  if (mappingValue) {
@@ -17122,7 +17128,7 @@ export function createPrintOperationCollectionResponseFromDiscriminatorValue(par
17122
17128
  export function createPrintOperationFromDiscriminatorValue(parseNode) {
17123
17129
  if (!parseNode)
17124
17130
  throw new Error("parseNode cannot be undefined");
17125
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17131
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17126
17132
  if (mappingValueNode) {
17127
17133
  const mappingValue = mappingValueNode.getStringValue();
17128
17134
  if (mappingValue) {
@@ -17296,7 +17302,7 @@ export function createPrintUsageByUserFromDiscriminatorValue(parseNode) {
17296
17302
  export function createPrintUsageFromDiscriminatorValue(parseNode) {
17297
17303
  if (!parseNode)
17298
17304
  throw new Error("parseNode cannot be undefined");
17299
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17305
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17300
17306
  if (mappingValueNode) {
17301
17307
  const mappingValue = mappingValueNode.getStringValue();
17302
17308
  if (mappingValue) {
@@ -17463,7 +17469,7 @@ export function createPrivilegedAccessRootFromDiscriminatorValue(parseNode) {
17463
17469
  export function createPrivilegedAccessScheduleFromDiscriminatorValue(parseNode) {
17464
17470
  if (!parseNode)
17465
17471
  throw new Error("parseNode cannot be undefined");
17466
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17472
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17467
17473
  if (mappingValueNode) {
17468
17474
  const mappingValue = mappingValueNode.getStringValue();
17469
17475
  if (mappingValue) {
@@ -17486,7 +17492,7 @@ export function createPrivilegedAccessScheduleFromDiscriminatorValue(parseNode)
17486
17492
  export function createPrivilegedAccessScheduleInstanceFromDiscriminatorValue(parseNode) {
17487
17493
  if (!parseNode)
17488
17494
  throw new Error("parseNode cannot be undefined");
17489
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17495
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17490
17496
  if (mappingValueNode) {
17491
17497
  const mappingValue = mappingValueNode.getStringValue();
17492
17498
  if (mappingValue) {
@@ -17509,7 +17515,7 @@ export function createPrivilegedAccessScheduleInstanceFromDiscriminatorValue(par
17509
17515
  export function createPrivilegedAccessScheduleRequestFromDiscriminatorValue(parseNode) {
17510
17516
  if (!parseNode)
17511
17517
  throw new Error("parseNode cannot be undefined");
17512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17518
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17513
17519
  if (mappingValueNode) {
17514
17520
  const mappingValue = mappingValueNode.getStringValue();
17515
17521
  if (mappingValue) {
@@ -17586,7 +17592,7 @@ export function createProfilePhotoFromDiscriminatorValue(parseNode) {
17586
17592
  export function createPromptFromDiscriminatorValue(parseNode) {
17587
17593
  if (!parseNode)
17588
17594
  throw new Error("parseNode cannot be undefined");
17589
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17595
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17590
17596
  if (mappingValueNode) {
17591
17597
  const mappingValue = mappingValueNode.getStringValue();
17592
17598
  if (mappingValue) {
@@ -17625,7 +17631,7 @@ export function createProtectionPolicyBaseCollectionResponseFromDiscriminatorVal
17625
17631
  export function createProtectionPolicyBaseFromDiscriminatorValue(parseNode) {
17626
17632
  if (!parseNode)
17627
17633
  throw new Error("parseNode cannot be undefined");
17628
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17634
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17629
17635
  if (mappingValueNode) {
17630
17636
  const mappingValue = mappingValueNode.getStringValue();
17631
17637
  if (mappingValue) {
@@ -17650,7 +17656,7 @@ export function createProtectionPolicyBaseFromDiscriminatorValue(parseNode) {
17650
17656
  export function createProtectionRuleBaseFromDiscriminatorValue(parseNode) {
17651
17657
  if (!parseNode)
17652
17658
  throw new Error("parseNode cannot be undefined");
17653
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17659
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17654
17660
  if (mappingValueNode) {
17655
17661
  const mappingValue = mappingValueNode.getStringValue();
17656
17662
  if (mappingValue) {
@@ -17684,7 +17690,7 @@ export function createProtectionUnitBaseCollectionResponseFromDiscriminatorValue
17684
17690
  export function createProtectionUnitBaseFromDiscriminatorValue(parseNode) {
17685
17691
  if (!parseNode)
17686
17692
  throw new Error("parseNode cannot be undefined");
17687
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17693
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17688
17694
  if (mappingValueNode) {
17689
17695
  const mappingValue = mappingValueNode.getStringValue();
17690
17696
  if (mappingValue) {
@@ -17898,7 +17904,7 @@ export function createRecentNotebookLinksFromDiscriminatorValue(parseNode) {
17898
17904
  export function createRecipientFromDiscriminatorValue(parseNode) {
17899
17905
  if (!parseNode)
17900
17906
  throw new Error("parseNode cannot be undefined");
17901
- const mappingValueNode = parseNode.getChildNode("@odata.type");
17907
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17902
17908
  if (mappingValueNode) {
17903
17909
  const mappingValue = mappingValueNode.getStringValue();
17904
17910
  if (mappingValue) {
@@ -18137,7 +18143,7 @@ export function createReportRootFromDiscriminatorValue(parseNode) {
18137
18143
  export function createRequestFromDiscriminatorValue(parseNode) {
18138
18144
  if (!parseNode)
18139
18145
  throw new Error("parseNode cannot be undefined");
18140
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18146
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18141
18147
  if (mappingValueNode) {
18142
18148
  const mappingValue = mappingValueNode.getStringValue();
18143
18149
  if (mappingValue) {
@@ -18312,7 +18318,7 @@ export function createResponseStatusFromDiscriminatorValue(parseNode) {
18312
18318
  export function createRestoreArtifactBaseFromDiscriminatorValue(parseNode) {
18313
18319
  if (!parseNode)
18314
18320
  throw new Error("parseNode cannot be undefined");
18315
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18321
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18316
18322
  if (mappingValueNode) {
18317
18323
  const mappingValue = mappingValueNode.getStringValue();
18318
18324
  if (mappingValue) {
@@ -18384,7 +18390,7 @@ export function createRestoreSessionBaseCollectionResponseFromDiscriminatorValue
18384
18390
  export function createRestoreSessionBaseFromDiscriminatorValue(parseNode) {
18385
18391
  if (!parseNode)
18386
18392
  throw new Error("parseNode cannot be undefined");
18387
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18393
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18388
18394
  if (mappingValueNode) {
18389
18395
  const mappingValue = mappingValueNode.getStringValue();
18390
18396
  if (mappingValue) {
@@ -18526,7 +18532,7 @@ export function createRiskyServicePrincipalCollectionResponseFromDiscriminatorVa
18526
18532
  export function createRiskyServicePrincipalFromDiscriminatorValue(parseNode) {
18527
18533
  if (!parseNode)
18528
18534
  throw new Error("parseNode cannot be undefined");
18529
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18535
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18530
18536
  if (mappingValueNode) {
18531
18537
  const mappingValue = mappingValueNode.getStringValue();
18532
18538
  if (mappingValue) {
@@ -18574,7 +18580,7 @@ export function createRiskyUserCollectionResponseFromDiscriminatorValue(parseNod
18574
18580
  export function createRiskyUserFromDiscriminatorValue(parseNode) {
18575
18581
  if (!parseNode)
18576
18582
  throw new Error("parseNode cannot be undefined");
18577
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18583
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18578
18584
  if (mappingValueNode) {
18579
18585
  const mappingValue = mappingValueNode.getStringValue();
18580
18586
  if (mappingValue) {
@@ -18622,7 +18628,7 @@ export function createRoleAssignmentCollectionResponseFromDiscriminatorValue(par
18622
18628
  export function createRoleAssignmentFromDiscriminatorValue(parseNode) {
18623
18629
  if (!parseNode)
18624
18630
  throw new Error("parseNode cannot be undefined");
18625
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18631
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18626
18632
  if (mappingValueNode) {
18627
18633
  const mappingValue = mappingValueNode.getStringValue();
18628
18634
  if (mappingValue) {
@@ -18652,7 +18658,7 @@ export function createRoleDefinitionCollectionResponseFromDiscriminatorValue(par
18652
18658
  export function createRoleDefinitionFromDiscriminatorValue(parseNode) {
18653
18659
  if (!parseNode)
18654
18660
  throw new Error("parseNode cannot be undefined");
18655
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18661
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18656
18662
  if (mappingValueNode) {
18657
18663
  const mappingValue = mappingValueNode.getStringValue();
18658
18664
  if (mappingValue) {
@@ -18799,7 +18805,7 @@ export function createSamlOrWsFedExternalDomainFederationFromDiscriminatorValue(
18799
18805
  export function createSamlOrWsFedProviderFromDiscriminatorValue(parseNode) {
18800
18806
  if (!parseNode)
18801
18807
  throw new Error("parseNode cannot be undefined");
18802
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18808
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18803
18809
  if (mappingValueNode) {
18804
18810
  const mappingValue = mappingValueNode.getStringValue();
18805
18811
  if (mappingValue) {
@@ -18831,7 +18837,7 @@ export function createSamlSingleSignOnSettingsFromDiscriminatorValue(parseNode)
18831
18837
  export function createScheduleChangeRequestFromDiscriminatorValue(parseNode) {
18832
18838
  if (!parseNode)
18833
18839
  throw new Error("parseNode cannot be undefined");
18834
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18840
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18835
18841
  if (mappingValueNode) {
18836
18842
  const mappingValue = mappingValueNode.getStringValue();
18837
18843
  if (mappingValue) {
@@ -18858,7 +18864,7 @@ export function createScheduleChangeRequestFromDiscriminatorValue(parseNode) {
18858
18864
  export function createScheduleEntityFromDiscriminatorValue(parseNode) {
18859
18865
  if (!parseNode)
18860
18866
  throw new Error("parseNode cannot be undefined");
18861
- const mappingValueNode = parseNode.getChildNode("@odata.type");
18867
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
18862
18868
  if (mappingValueNode) {
18863
18869
  const mappingValue = mappingValueNode.getStringValue();
18864
18870
  if (mappingValue) {
@@ -19243,7 +19249,7 @@ export function createServiceAnnouncementAttachmentFromDiscriminatorValue(parseN
19243
19249
  export function createServiceAnnouncementBaseFromDiscriminatorValue(parseNode) {
19244
19250
  if (!parseNode)
19245
19251
  throw new Error("parseNode cannot be undefined");
19246
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19252
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19247
19253
  if (mappingValueNode) {
19248
19254
  const mappingValue = mappingValueNode.getStringValue();
19249
19255
  if (mappingValue) {
@@ -19419,7 +19425,7 @@ export function createServiceProvisioningErrorCollectionResponseFromDiscriminato
19419
19425
  export function createServiceProvisioningErrorFromDiscriminatorValue(parseNode) {
19420
19426
  if (!parseNode)
19421
19427
  throw new Error("parseNode cannot be undefined");
19422
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19428
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19423
19429
  if (mappingValueNode) {
19424
19430
  const mappingValue = mappingValueNode.getStringValue();
19425
19431
  if (mappingValue) {
@@ -19782,7 +19788,7 @@ export function createShiftFromDiscriminatorValue(parseNode) {
19782
19788
  export function createShiftItemFromDiscriminatorValue(parseNode) {
19783
19789
  if (!parseNode)
19784
19790
  throw new Error("parseNode cannot be undefined");
19785
- const mappingValueNode = parseNode.getChildNode("@odata.type");
19791
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
19786
19792
  if (mappingValueNode) {
19787
19793
  const mappingValue = mappingValueNode.getStringValue();
19788
19794
  if (mappingValue) {
@@ -20253,7 +20259,7 @@ export function createStaffAvailabilityItemFromDiscriminatorValue(parseNode) {
20253
20259
  export function createStandardTimeZoneOffsetFromDiscriminatorValue(parseNode) {
20254
20260
  if (!parseNode)
20255
20261
  throw new Error("parseNode cannot be undefined");
20256
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20262
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20257
20263
  if (mappingValueNode) {
20258
20264
  const mappingValue = mappingValueNode.getStringValue();
20259
20265
  if (mappingValue) {
@@ -20319,7 +20325,7 @@ export function createStoragePlanInformationFromDiscriminatorValue(parseNode) {
20319
20325
  export function createStorageQuotaBreakdownFromDiscriminatorValue(parseNode) {
20320
20326
  if (!parseNode)
20321
20327
  throw new Error("parseNode cannot be undefined");
20322
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20328
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20323
20329
  if (mappingValueNode) {
20324
20330
  const mappingValue = mappingValueNode.getStringValue();
20325
20331
  if (mappingValue) {
@@ -20394,7 +20400,7 @@ export function createStringKeyStringValuePairFromDiscriminatorValue(parseNode)
20394
20400
  export function createStsPolicyFromDiscriminatorValue(parseNode) {
20395
20401
  if (!parseNode)
20396
20402
  throw new Error("parseNode cannot be undefined");
20397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20403
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20398
20404
  if (mappingValueNode) {
20399
20405
  const mappingValue = mappingValueNode.getStringValue();
20400
20406
  if (mappingValue) {
@@ -20495,7 +20501,7 @@ export function createSubjectRightsRequestHistoryFromDiscriminatorValue(parseNod
20495
20501
  export function createSubjectRightsRequestMailboxLocationFromDiscriminatorValue(parseNode) {
20496
20502
  if (!parseNode)
20497
20503
  throw new Error("parseNode cannot be undefined");
20498
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20504
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20499
20505
  if (mappingValueNode) {
20500
20506
  const mappingValue = mappingValueNode.getStringValue();
20501
20507
  if (mappingValue) {
@@ -20518,7 +20524,7 @@ export function createSubjectRightsRequestMailboxLocationFromDiscriminatorValue(
20518
20524
  export function createSubjectRightsRequestSiteLocationFromDiscriminatorValue(parseNode) {
20519
20525
  if (!parseNode)
20520
20526
  throw new Error("parseNode cannot be undefined");
20521
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20527
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20522
20528
  if (mappingValueNode) {
20523
20529
  const mappingValue = mappingValueNode.getStringValue();
20524
20530
  if (mappingValue) {
@@ -20550,7 +20556,7 @@ export function createSubjectRightsRequestStageDetailFromDiscriminatorValue(pars
20550
20556
  export function createSubjectSetFromDiscriminatorValue(parseNode) {
20551
20557
  if (!parseNode)
20552
20558
  throw new Error("parseNode cannot be undefined");
20553
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20559
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20554
20560
  if (mappingValueNode) {
20555
20561
  const mappingValue = mappingValueNode.getStringValue();
20556
20562
  if (mappingValue) {
@@ -20910,7 +20916,7 @@ export function createTargetedManagedAppPolicyAssignmentFromDiscriminatorValue(p
20910
20916
  export function createTargetedManagedAppProtectionFromDiscriminatorValue(parseNode) {
20911
20917
  if (!parseNode)
20912
20918
  throw new Error("parseNode cannot be undefined");
20913
- const mappingValueNode = parseNode.getChildNode("@odata.type");
20919
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
20914
20920
  if (mappingValueNode) {
20915
20921
  const mappingValue = mappingValueNode.getStringValue();
20916
20922
  if (mappingValue) {
@@ -21032,7 +21038,7 @@ export function createTeamGuestSettingsFromDiscriminatorValue(parseNode) {
21032
21038
  export function createTeamInfoFromDiscriminatorValue(parseNode) {
21033
21039
  if (!parseNode)
21034
21040
  throw new Error("parseNode cannot be undefined");
21035
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21041
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21036
21042
  if (mappingValueNode) {
21037
21043
  const mappingValue = mappingValueNode.getStringValue();
21038
21044
  if (mappingValue) {
@@ -21163,7 +21169,7 @@ export function createTeamsAppInstallationCollectionResponseFromDiscriminatorVal
21163
21169
  export function createTeamsAppInstallationFromDiscriminatorValue(parseNode) {
21164
21170
  if (!parseNode)
21165
21171
  throw new Error("parseNode cannot be undefined");
21166
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21172
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21167
21173
  if (mappingValueNode) {
21168
21174
  const mappingValue = mappingValueNode.getStringValue();
21169
21175
  if (mappingValue) {
@@ -21373,7 +21379,7 @@ export function createTeamworkFromDiscriminatorValue(parseNode) {
21373
21379
  export function createTeamworkHostedContentFromDiscriminatorValue(parseNode) {
21374
21380
  if (!parseNode)
21375
21381
  throw new Error("parseNode cannot be undefined");
21376
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21382
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21377
21383
  if (mappingValueNode) {
21378
21384
  const mappingValue = mappingValueNode.getStringValue();
21379
21385
  if (mappingValue) {
@@ -21394,7 +21400,7 @@ export function createTeamworkHostedContentFromDiscriminatorValue(parseNode) {
21394
21400
  export function createTeamworkNotificationRecipientFromDiscriminatorValue(parseNode) {
21395
21401
  if (!parseNode)
21396
21402
  throw new Error("parseNode cannot be undefined");
21397
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21403
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21398
21404
  if (mappingValueNode) {
21399
21405
  const mappingValue = mappingValueNode.getStringValue();
21400
21406
  if (mappingValue) {
@@ -21511,7 +21517,7 @@ export function createTeleconferenceDeviceAudioQualityFromDiscriminatorValue(par
21511
21517
  export function createTeleconferenceDeviceMediaQualityFromDiscriminatorValue(parseNode) {
21512
21518
  if (!parseNode)
21513
21519
  throw new Error("parseNode cannot be undefined");
21514
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21520
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21515
21521
  if (mappingValueNode) {
21516
21522
  const mappingValue = mappingValueNode.getStringValue();
21517
21523
  if (mappingValue) {
@@ -21554,7 +21560,7 @@ export function createTeleconferenceDeviceScreenSharingQualityFromDiscriminatorV
21554
21560
  export function createTeleconferenceDeviceVideoQualityFromDiscriminatorValue(parseNode) {
21555
21561
  if (!parseNode)
21556
21562
  throw new Error("parseNode cannot be undefined");
21557
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21563
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21558
21564
  if (mappingValueNode) {
21559
21565
  const mappingValue = mappingValueNode.getStringValue();
21560
21566
  if (mappingValue) {
@@ -21737,7 +21743,7 @@ export function createThreatAssessmentRequestCollectionResponseFromDiscriminator
21737
21743
  export function createThreatAssessmentRequestFromDiscriminatorValue(parseNode) {
21738
21744
  if (!parseNode)
21739
21745
  throw new Error("parseNode cannot be undefined");
21740
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21746
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21741
21747
  if (mappingValueNode) {
21742
21748
  const mappingValue = mappingValueNode.getStringValue();
21743
21749
  if (mappingValue) {
@@ -21926,7 +21932,7 @@ export function createTimeSlotFromDiscriminatorValue(parseNode) {
21926
21932
  export function createTimeZoneBaseFromDiscriminatorValue(parseNode) {
21927
21933
  if (!parseNode)
21928
21934
  throw new Error("parseNode cannot be undefined");
21929
- const mappingValueNode = parseNode.getChildNode("@odata.type");
21935
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
21930
21936
  if (mappingValueNode) {
21931
21937
  const mappingValue = mappingValueNode.getStringValue();
21932
21938
  if (mappingValue) {
@@ -22127,7 +22133,7 @@ export function createTrainingReminderNotificationFromDiscriminatorValue(parseNo
22127
22133
  export function createTrainingSettingFromDiscriminatorValue(parseNode) {
22128
22134
  if (!parseNode)
22129
22135
  throw new Error("parseNode cannot be undefined");
22130
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22136
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22131
22137
  if (mappingValueNode) {
22132
22138
  const mappingValue = mappingValueNode.getStringValue();
22133
22139
  if (mappingValue) {
@@ -22462,7 +22468,7 @@ export function createUnifiedRoleManagementPolicyRuleCollectionResponseFromDiscr
22462
22468
  export function createUnifiedRoleManagementPolicyRuleFromDiscriminatorValue(parseNode) {
22463
22469
  if (!parseNode)
22464
22470
  throw new Error("parseNode cannot be undefined");
22465
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22471
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22466
22472
  if (mappingValueNode) {
22467
22473
  const mappingValue = mappingValueNode.getStringValue();
22468
22474
  if (mappingValue) {
@@ -22509,7 +22515,7 @@ export function createUnifiedRolePermissionFromDiscriminatorValue(parseNode) {
22509
22515
  export function createUnifiedRoleScheduleBaseFromDiscriminatorValue(parseNode) {
22510
22516
  if (!parseNode)
22511
22517
  throw new Error("parseNode cannot be undefined");
22512
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22518
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22513
22519
  if (mappingValueNode) {
22514
22520
  const mappingValue = mappingValueNode.getStringValue();
22515
22521
  if (mappingValue) {
@@ -22532,7 +22538,7 @@ export function createUnifiedRoleScheduleBaseFromDiscriminatorValue(parseNode) {
22532
22538
  export function createUnifiedRoleScheduleInstanceBaseFromDiscriminatorValue(parseNode) {
22533
22539
  if (!parseNode)
22534
22540
  throw new Error("parseNode cannot be undefined");
22535
- const mappingValueNode = parseNode.getChildNode("@odata.type");
22541
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
22536
22542
  if (mappingValueNode) {
22537
22543
  const mappingValue = mappingValueNode.getStringValue();
22538
22544
  if (mappingValue) {
@@ -23014,7 +23020,7 @@ export function createUserExperienceAnalyticsInsightFromDiscriminatorValue(parse
23014
23020
  export function createUserExperienceAnalyticsInsightValueFromDiscriminatorValue(parseNode) {
23015
23021
  if (!parseNode)
23016
23022
  throw new Error("parseNode cannot be undefined");
23017
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23023
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23018
23024
  if (mappingValueNode) {
23019
23025
  const mappingValue = mappingValueNode.getStringValue();
23020
23026
  if (mappingValue) {
@@ -23424,6 +23430,15 @@ export function createUserSimulationDetailsFromDiscriminatorValue(parseNode) {
23424
23430
  export function createUserSimulationEventInfoFromDiscriminatorValue(parseNode) {
23425
23431
  return deserializeIntoUserSimulationEventInfo;
23426
23432
  }
23433
+ /**
23434
+ * Creates a new instance of the appropriate class based on discriminator value
23435
+ * @param parseNode The parse node to use to read the discriminator value and create the object
23436
+ * @returns {UserSolutionRoot}
23437
+ */
23438
+ // @ts-ignore
23439
+ export function createUserSolutionRootFromDiscriminatorValue(parseNode) {
23440
+ return deserializeIntoUserSolutionRoot;
23441
+ }
23427
23442
  /**
23428
23443
  * Creates a new instance of the appropriate class based on discriminator value
23429
23444
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -23532,7 +23547,7 @@ export function createVirtualEventCollectionResponseFromDiscriminatorValue(parse
23532
23547
  export function createVirtualEventFromDiscriminatorValue(parseNode) {
23533
23548
  if (!parseNode)
23534
23549
  throw new Error("parseNode cannot be undefined");
23535
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23550
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23536
23551
  if (mappingValueNode) {
23537
23552
  const mappingValue = mappingValueNode.getStringValue();
23538
23553
  if (mappingValue) {
@@ -23600,7 +23615,7 @@ export function createVirtualEventRegistrationCollectionResponseFromDiscriminato
23600
23615
  export function createVirtualEventRegistrationConfigurationFromDiscriminatorValue(parseNode) {
23601
23616
  if (!parseNode)
23602
23617
  throw new Error("parseNode cannot be undefined");
23603
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23618
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23604
23619
  if (mappingValueNode) {
23605
23620
  const mappingValue = mappingValueNode.getStringValue();
23606
23621
  if (mappingValue) {
@@ -23666,7 +23681,7 @@ export function createVirtualEventRegistrationQuestionBaseCollectionResponseFrom
23666
23681
  export function createVirtualEventRegistrationQuestionBaseFromDiscriminatorValue(parseNode) {
23667
23682
  if (!parseNode)
23668
23683
  throw new Error("parseNode cannot be undefined");
23669
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23684
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23670
23685
  if (mappingValueNode) {
23671
23686
  const mappingValue = mappingValueNode.getStringValue();
23672
23687
  if (mappingValue) {
@@ -23869,7 +23884,7 @@ export function createWebPartDataFromDiscriminatorValue(parseNode) {
23869
23884
  export function createWebPartFromDiscriminatorValue(parseNode) {
23870
23885
  if (!parseNode)
23871
23886
  throw new Error("parseNode cannot be undefined");
23872
- const mappingValueNode = parseNode.getChildNode("@odata.type");
23887
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
23873
23888
  if (mappingValueNode) {
23874
23889
  const mappingValue = mappingValueNode.getStringValue();
23875
23890
  if (mappingValue) {
@@ -24009,7 +24024,7 @@ export function createWin32LobAppReturnCodeFromDiscriminatorValue(parseNode) {
24009
24024
  export function createWin32LobAppRuleFromDiscriminatorValue(parseNode) {
24010
24025
  if (!parseNode)
24011
24026
  throw new Error("parseNode cannot be undefined");
24012
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24027
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24013
24028
  if (mappingValueNode) {
24014
24029
  const mappingValue = mappingValueNode.getStringValue();
24015
24030
  if (mappingValue) {
@@ -24225,7 +24240,7 @@ export function createWindowsDefenderScanActionResultFromDiscriminatorValue(pars
24225
24240
  export function createWindowsDeviceAccountFromDiscriminatorValue(parseNode) {
24226
24241
  if (!parseNode)
24227
24242
  throw new Error("parseNode cannot be undefined");
24228
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24243
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24229
24244
  if (mappingValueNode) {
24230
24245
  const mappingValue = mappingValueNode.getStringValue();
24231
24246
  if (mappingValue) {
@@ -24311,7 +24326,7 @@ export function createWindowsHelloForBusinessAuthenticationMethodFromDiscriminat
24311
24326
  export function createWindowsInformationProtectionAppFromDiscriminatorValue(parseNode) {
24312
24327
  if (!parseNode)
24313
24328
  throw new Error("parseNode cannot be undefined");
24314
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24329
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24315
24330
  if (mappingValueNode) {
24316
24331
  const mappingValue = mappingValueNode.getStringValue();
24317
24332
  if (mappingValue) {
@@ -24388,7 +24403,7 @@ export function createWindowsInformationProtectionDesktopAppFromDiscriminatorVal
24388
24403
  export function createWindowsInformationProtectionFromDiscriminatorValue(parseNode) {
24389
24404
  if (!parseNode)
24390
24405
  throw new Error("parseNode cannot be undefined");
24391
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24406
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24392
24407
  if (mappingValueNode) {
24393
24408
  const mappingValue = mappingValueNode.getStringValue();
24394
24409
  if (mappingValue) {
@@ -24717,7 +24732,7 @@ export function createWindowsUpdateForBusinessConfigurationFromDiscriminatorValu
24717
24732
  export function createWindowsUpdateInstallScheduleTypeFromDiscriminatorValue(parseNode) {
24718
24733
  if (!parseNode)
24719
24734
  throw new Error("parseNode cannot be undefined");
24720
- const mappingValueNode = parseNode.getChildNode("@odata.type");
24735
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
24721
24736
  if (mappingValueNode) {
24722
24737
  const mappingValue = mappingValueNode.getStringValue();
24723
24738
  if (mappingValue) {
@@ -25370,6 +25385,15 @@ export function createWorkforceIntegrationFromDiscriminatorValue(parseNode) {
25370
25385
  export function createWorkingHoursFromDiscriminatorValue(parseNode) {
25371
25386
  return deserializeIntoWorkingHours;
25372
25387
  }
25388
+ /**
25389
+ * Creates a new instance of the appropriate class based on discriminator value
25390
+ * @param parseNode The parse node to use to read the discriminator value and create the object
25391
+ * @returns {WorkingTimeSchedule}
25392
+ */
25393
+ // @ts-ignore
25394
+ export function createWorkingTimeScheduleFromDiscriminatorValue(parseNode) {
25395
+ return deserializeIntoWorkingTimeSchedule;
25396
+ }
25373
25397
  /**
25374
25398
  * Creates a new instance of the appropriate class based on discriminator value
25375
25399
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -26322,7 +26346,7 @@ export function deserializeIntoAdminConsentRequestPolicy(adminConsentRequestPoli
26322
26346
  */
26323
26347
  // @ts-ignore
26324
26348
  export function deserializeIntoAdministrativeUnit(administrativeUnit = {}) {
26325
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(administrativeUnit)), { "description": n => { administrativeUnit.description = n.getStringValue(); }, "displayName": n => { administrativeUnit.displayName = n.getStringValue(); }, "extensions": n => { administrativeUnit.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "members": n => { administrativeUnit.members = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "scopedRoleMembers": n => { administrativeUnit.scopedRoleMembers = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "visibility": n => { administrativeUnit.visibility = n.getStringValue(); } });
26349
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(administrativeUnit)), { "description": n => { administrativeUnit.description = n.getStringValue(); }, "displayName": n => { administrativeUnit.displayName = n.getStringValue(); }, "extensions": n => { administrativeUnit.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "isMemberManagementRestricted": n => { administrativeUnit.isMemberManagementRestricted = n.getBooleanValue(); }, "members": n => { administrativeUnit.members = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "membershipRule": n => { administrativeUnit.membershipRule = n.getStringValue(); }, "membershipRuleProcessingState": n => { administrativeUnit.membershipRuleProcessingState = n.getStringValue(); }, "membershipType": n => { administrativeUnit.membershipType = n.getStringValue(); }, "scopedRoleMembers": n => { administrativeUnit.scopedRoleMembers = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "visibility": n => { administrativeUnit.visibility = n.getStringValue(); } });
26326
26350
  }
26327
26351
  /**
26328
26352
  * The deserialization information for the current model
@@ -26683,22 +26707,22 @@ export function deserializeIntoAndroidMinimumOperatingSystem(androidMinimumOpera
26683
26707
  return {
26684
26708
  "backingStoreEnabled": n => { androidMinimumOperatingSystem.backingStoreEnabled = true; },
26685
26709
  "@odata.type": n => { androidMinimumOperatingSystem.odataType = n.getStringValue(); },
26686
- "v10_0": n => { androidMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
26687
- "v11_0": n => { androidMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
26688
- "v4_0": n => { androidMinimumOperatingSystem.v4_0 = n.getBooleanValue(); },
26689
- "v4_0_3": n => { androidMinimumOperatingSystem.v4_0_3 = n.getBooleanValue(); },
26690
- "v4_1": n => { androidMinimumOperatingSystem.v4_1 = n.getBooleanValue(); },
26691
- "v4_2": n => { androidMinimumOperatingSystem.v4_2 = n.getBooleanValue(); },
26692
- "v4_3": n => { androidMinimumOperatingSystem.v4_3 = n.getBooleanValue(); },
26693
- "v4_4": n => { androidMinimumOperatingSystem.v4_4 = n.getBooleanValue(); },
26694
- "v5_0": n => { androidMinimumOperatingSystem.v5_0 = n.getBooleanValue(); },
26695
- "v5_1": n => { androidMinimumOperatingSystem.v5_1 = n.getBooleanValue(); },
26696
- "v6_0": n => { androidMinimumOperatingSystem.v6_0 = n.getBooleanValue(); },
26697
- "v7_0": n => { androidMinimumOperatingSystem.v7_0 = n.getBooleanValue(); },
26698
- "v7_1": n => { androidMinimumOperatingSystem.v7_1 = n.getBooleanValue(); },
26699
- "v8_0": n => { androidMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
26700
- "v8_1": n => { androidMinimumOperatingSystem.v8_1 = n.getBooleanValue(); },
26701
- "v9_0": n => { androidMinimumOperatingSystem.v9_0 = n.getBooleanValue(); },
26710
+ "v10_0": n => { androidMinimumOperatingSystem.v100 = n.getBooleanValue(); },
26711
+ "v11_0": n => { androidMinimumOperatingSystem.v110 = n.getBooleanValue(); },
26712
+ "v4_0": n => { androidMinimumOperatingSystem.v40 = n.getBooleanValue(); },
26713
+ "v4_0_3": n => { androidMinimumOperatingSystem.v403 = n.getBooleanValue(); },
26714
+ "v4_1": n => { androidMinimumOperatingSystem.v41 = n.getBooleanValue(); },
26715
+ "v4_2": n => { androidMinimumOperatingSystem.v42 = n.getBooleanValue(); },
26716
+ "v4_3": n => { androidMinimumOperatingSystem.v43 = n.getBooleanValue(); },
26717
+ "v4_4": n => { androidMinimumOperatingSystem.v44 = n.getBooleanValue(); },
26718
+ "v5_0": n => { androidMinimumOperatingSystem.v50 = n.getBooleanValue(); },
26719
+ "v5_1": n => { androidMinimumOperatingSystem.v51 = n.getBooleanValue(); },
26720
+ "v6_0": n => { androidMinimumOperatingSystem.v60 = n.getBooleanValue(); },
26721
+ "v7_0": n => { androidMinimumOperatingSystem.v70 = n.getBooleanValue(); },
26722
+ "v7_1": n => { androidMinimumOperatingSystem.v71 = n.getBooleanValue(); },
26723
+ "v8_0": n => { androidMinimumOperatingSystem.v80 = n.getBooleanValue(); },
26724
+ "v8_1": n => { androidMinimumOperatingSystem.v81 = n.getBooleanValue(); },
26725
+ "v9_0": n => { androidMinimumOperatingSystem.v90 = n.getBooleanValue(); },
26702
26726
  };
26703
26727
  }
26704
26728
  /**
@@ -31512,7 +31536,7 @@ export function deserializeIntoDetectedAppCollectionResponse(detectedAppCollecti
31512
31536
  */
31513
31537
  // @ts-ignore
31514
31538
  export function deserializeIntoDevice(device = {}) {
31515
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(device)), { "accountEnabled": n => { device.accountEnabled = n.getBooleanValue(); }, "alternativeSecurityIds": n => { device.alternativeSecurityIds = n.getCollectionOfObjectValues(createAlternativeSecurityIdFromDiscriminatorValue); }, "approximateLastSignInDateTime": n => { device.approximateLastSignInDateTime = n.getDateValue(); }, "complianceExpirationDateTime": n => { device.complianceExpirationDateTime = n.getDateValue(); }, "deviceCategory": n => { device.deviceCategory = n.getStringValue(); }, "deviceId": n => { device.deviceId = n.getStringValue(); }, "deviceMetadata": n => { device.deviceMetadata = n.getStringValue(); }, "deviceOwnership": n => { device.deviceOwnership = n.getStringValue(); }, "deviceVersion": n => { device.deviceVersion = n.getNumberValue(); }, "displayName": n => { device.displayName = n.getStringValue(); }, "enrollmentProfileName": n => { device.enrollmentProfileName = n.getStringValue(); }, "enrollmentType": n => { device.enrollmentType = n.getStringValue(); }, "extensions": n => { device.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "isCompliant": n => { device.isCompliant = n.getBooleanValue(); }, "isManaged": n => { device.isManaged = n.getBooleanValue(); }, "isRooted": n => { device.isRooted = n.getBooleanValue(); }, "managementType": n => { device.managementType = n.getStringValue(); }, "manufacturer": n => { device.manufacturer = n.getStringValue(); }, "mdmAppId": n => { device.mdmAppId = n.getStringValue(); }, "memberOf": n => { device.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "model": n => { device.model = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { device.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesSecurityIdentifier": n => { device.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { device.onPremisesSyncEnabled = n.getBooleanValue(); }, "operatingSystem": n => { device.operatingSystem = n.getStringValue(); }, "operatingSystemVersion": n => { device.operatingSystemVersion = n.getStringValue(); }, "physicalIds": n => { device.physicalIds = n.getCollectionOfPrimitiveValues(); }, "profileType": n => { device.profileType = n.getStringValue(); }, "registeredOwners": n => { device.registeredOwners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "registeredUsers": n => { device.registeredUsers = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "registrationDateTime": n => { device.registrationDateTime = n.getDateValue(); }, "systemLabels": n => { device.systemLabels = n.getCollectionOfPrimitiveValues(); }, "transitiveMemberOf": n => { device.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "trustType": n => { device.trustType = n.getStringValue(); } });
31539
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(device)), { "accountEnabled": n => { device.accountEnabled = n.getBooleanValue(); }, "alternativeSecurityIds": n => { device.alternativeSecurityIds = n.getCollectionOfObjectValues(createAlternativeSecurityIdFromDiscriminatorValue); }, "approximateLastSignInDateTime": n => { device.approximateLastSignInDateTime = n.getDateValue(); }, "complianceExpirationDateTime": n => { device.complianceExpirationDateTime = n.getDateValue(); }, "deviceCategory": n => { device.deviceCategory = n.getStringValue(); }, "deviceId": n => { device.deviceId = n.getStringValue(); }, "deviceMetadata": n => { device.deviceMetadata = n.getStringValue(); }, "deviceOwnership": n => { device.deviceOwnership = n.getStringValue(); }, "deviceVersion": n => { device.deviceVersion = n.getNumberValue(); }, "displayName": n => { device.displayName = n.getStringValue(); }, "enrollmentProfileName": n => { device.enrollmentProfileName = n.getStringValue(); }, "enrollmentType": n => { device.enrollmentType = n.getStringValue(); }, "extensions": n => { device.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "isCompliant": n => { device.isCompliant = n.getBooleanValue(); }, "isManaged": n => { device.isManaged = n.getBooleanValue(); }, "isManagementRestricted": n => { device.isManagementRestricted = n.getBooleanValue(); }, "isRooted": n => { device.isRooted = n.getBooleanValue(); }, "managementType": n => { device.managementType = n.getStringValue(); }, "manufacturer": n => { device.manufacturer = n.getStringValue(); }, "mdmAppId": n => { device.mdmAppId = n.getStringValue(); }, "memberOf": n => { device.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "model": n => { device.model = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { device.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesSecurityIdentifier": n => { device.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { device.onPremisesSyncEnabled = n.getBooleanValue(); }, "operatingSystem": n => { device.operatingSystem = n.getStringValue(); }, "operatingSystemVersion": n => { device.operatingSystemVersion = n.getStringValue(); }, "physicalIds": n => { device.physicalIds = n.getCollectionOfPrimitiveValues(); }, "profileType": n => { device.profileType = n.getStringValue(); }, "registeredOwners": n => { device.registeredOwners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "registeredUsers": n => { device.registeredUsers = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "registrationDateTime": n => { device.registrationDateTime = n.getDateValue(); }, "systemLabels": n => { device.systemLabels = n.getCollectionOfPrimitiveValues(); }, "transitiveMemberOf": n => { device.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "trustType": n => { device.trustType = n.getStringValue(); } });
31516
31540
  }
31517
31541
  /**
31518
31542
  * The deserialization information for the current model
@@ -32520,7 +32544,7 @@ export function deserializeIntoDocumentSetVersionItem(documentSetVersionItem = {
32520
32544
  */
32521
32545
  // @ts-ignore
32522
32546
  export function deserializeIntoDomain(domain = {}) {
32523
- return Object.assign(Object.assign({}, deserializeIntoEntity(domain)), { "authenticationType": n => { domain.authenticationType = n.getStringValue(); }, "availabilityStatus": n => { domain.availabilityStatus = n.getStringValue(); }, "domainNameReferences": n => { domain.domainNameReferences = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "federationConfiguration": n => { domain.federationConfiguration = n.getCollectionOfObjectValues(createInternalDomainFederationFromDiscriminatorValue); }, "isAdminManaged": n => { domain.isAdminManaged = n.getBooleanValue(); }, "isDefault": n => { domain.isDefault = n.getBooleanValue(); }, "isInitial": n => { domain.isInitial = n.getBooleanValue(); }, "isRoot": n => { domain.isRoot = n.getBooleanValue(); }, "isVerified": n => { domain.isVerified = n.getBooleanValue(); }, "manufacturer": n => { domain.manufacturer = n.getStringValue(); }, "model": n => { domain.model = n.getStringValue(); }, "passwordNotificationWindowInDays": n => { domain.passwordNotificationWindowInDays = n.getNumberValue(); }, "passwordValidityPeriodInDays": n => { domain.passwordValidityPeriodInDays = n.getNumberValue(); }, "serviceConfigurationRecords": n => { domain.serviceConfigurationRecords = n.getCollectionOfObjectValues(createDomainDnsRecordFromDiscriminatorValue); }, "state": n => { domain.state = n.getObjectValue(createDomainStateFromDiscriminatorValue); }, "supportedServices": n => { domain.supportedServices = n.getCollectionOfPrimitiveValues(); }, "verificationDnsRecords": n => { domain.verificationDnsRecords = n.getCollectionOfObjectValues(createDomainDnsRecordFromDiscriminatorValue); } });
32547
+ return Object.assign(Object.assign({}, deserializeIntoEntity(domain)), { "authenticationType": n => { domain.authenticationType = n.getStringValue(); }, "availabilityStatus": n => { domain.availabilityStatus = n.getStringValue(); }, "domainNameReferences": n => { domain.domainNameReferences = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "federationConfiguration": n => { domain.federationConfiguration = n.getCollectionOfObjectValues(createInternalDomainFederationFromDiscriminatorValue); }, "isAdminManaged": n => { domain.isAdminManaged = n.getBooleanValue(); }, "isDefault": n => { domain.isDefault = n.getBooleanValue(); }, "isInitial": n => { domain.isInitial = n.getBooleanValue(); }, "isRoot": n => { domain.isRoot = n.getBooleanValue(); }, "isVerified": n => { domain.isVerified = n.getBooleanValue(); }, "manufacturer": n => { domain.manufacturer = n.getStringValue(); }, "model": n => { domain.model = n.getStringValue(); }, "passwordNotificationWindowInDays": n => { domain.passwordNotificationWindowInDays = n.getNumberValue(); }, "passwordValidityPeriodInDays": n => { domain.passwordValidityPeriodInDays = n.getNumberValue(); }, "rootDomain": n => { domain.rootDomain = n.getObjectValue(createDomainFromDiscriminatorValue); }, "serviceConfigurationRecords": n => { domain.serviceConfigurationRecords = n.getCollectionOfObjectValues(createDomainDnsRecordFromDiscriminatorValue); }, "state": n => { domain.state = n.getObjectValue(createDomainStateFromDiscriminatorValue); }, "supportedServices": n => { domain.supportedServices = n.getCollectionOfPrimitiveValues(); }, "verificationDnsRecords": n => { domain.verificationDnsRecords = n.getCollectionOfObjectValues(createDomainDnsRecordFromDiscriminatorValue); } });
32524
32548
  }
32525
32549
  /**
32526
32550
  * The deserialization information for the current model
@@ -34311,7 +34335,7 @@ export function deserializeIntoGranularMailboxRestoreArtifactCollectionResponse(
34311
34335
  */
34312
34336
  // @ts-ignore
34313
34337
  export function deserializeIntoGroup(group = {}) {
34314
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(group)), { "acceptedSenders": n => { group.acceptedSenders = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "allowExternalSenders": n => { group.allowExternalSenders = n.getBooleanValue(); }, "appRoleAssignments": n => { group.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLabels": n => { group.assignedLabels = n.getCollectionOfObjectValues(createAssignedLabelFromDiscriminatorValue); }, "assignedLicenses": n => { group.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "autoSubscribeNewMembers": n => { group.autoSubscribeNewMembers = n.getBooleanValue(); }, "calendar": n => { group.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarView": n => { group.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "classification": n => { group.classification = n.getStringValue(); }, "conversations": n => { group.conversations = n.getCollectionOfObjectValues(createConversationFromDiscriminatorValue); }, "createdDateTime": n => { group.createdDateTime = n.getDateValue(); }, "createdOnBehalfOf": n => { group.createdOnBehalfOf = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "description": n => { group.description = n.getStringValue(); }, "displayName": n => { group.displayName = n.getStringValue(); }, "drive": n => { group.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { group.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "events": n => { group.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "expirationDateTime": n => { group.expirationDateTime = n.getDateValue(); }, "extensions": n => { group.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "groupLifecyclePolicies": n => { group.groupLifecyclePolicies = n.getCollectionOfObjectValues(createGroupLifecyclePolicyFromDiscriminatorValue); }, "groupTypes": n => { group.groupTypes = n.getCollectionOfPrimitiveValues(); }, "hasMembersWithLicenseErrors": n => { group.hasMembersWithLicenseErrors = n.getBooleanValue(); }, "hideFromAddressLists": n => { group.hideFromAddressLists = n.getBooleanValue(); }, "hideFromOutlookClients": n => { group.hideFromOutlookClients = n.getBooleanValue(); }, "isArchived": n => { group.isArchived = n.getBooleanValue(); }, "isAssignableToRole": n => { group.isAssignableToRole = n.getBooleanValue(); }, "isSubscribedByMail": n => { group.isSubscribedByMail = n.getBooleanValue(); }, "licenseProcessingState": n => { group.licenseProcessingState = n.getObjectValue(createLicenseProcessingStateFromDiscriminatorValue); }, "mail": n => { group.mail = n.getStringValue(); }, "mailEnabled": n => { group.mailEnabled = n.getBooleanValue(); }, "mailNickname": n => { group.mailNickname = n.getStringValue(); }, "memberOf": n => { group.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "members": n => { group.members = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "membershipRule": n => { group.membershipRule = n.getStringValue(); }, "membershipRuleProcessingState": n => { group.membershipRuleProcessingState = n.getStringValue(); }, "membersWithLicenseErrors": n => { group.membersWithLicenseErrors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "onenote": n => { group.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onPremisesDomainName": n => { group.onPremisesDomainName = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { group.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesNetBiosName": n => { group.onPremisesNetBiosName = n.getStringValue(); }, "onPremisesProvisioningErrors": n => { group.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { group.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { group.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { group.onPremisesSyncEnabled = n.getBooleanValue(); }, "owners": n => { group.owners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "permissionGrants": n => { group.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { group.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { group.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { group.planner = n.getObjectValue(createPlannerGroupFromDiscriminatorValue); }, "preferredDataLocation": n => { group.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { group.preferredLanguage = n.getStringValue(); }, "proxyAddresses": n => { group.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "rejectedSenders": n => { group.rejectedSenders = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "renewedDateTime": n => { group.renewedDateTime = n.getDateValue(); }, "securityEnabled": n => { group.securityEnabled = n.getBooleanValue(); }, "securityIdentifier": n => { group.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { group.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { group.settings = n.getCollectionOfObjectValues(createGroupSettingFromDiscriminatorValue); }, "sites": n => { group.sites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "team": n => { group.team = n.getObjectValue(createTeamFromDiscriminatorValue); }, "theme": n => { group.theme = n.getStringValue(); }, "threads": n => { group.threads = n.getCollectionOfObjectValues(createConversationThreadFromDiscriminatorValue); }, "transitiveMemberOf": n => { group.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "transitiveMembers": n => { group.transitiveMembers = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "uniqueName": n => { group.uniqueName = n.getStringValue(); }, "unseenCount": n => { group.unseenCount = n.getNumberValue(); }, "visibility": n => { group.visibility = n.getStringValue(); } });
34338
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(group)), { "acceptedSenders": n => { group.acceptedSenders = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "allowExternalSenders": n => { group.allowExternalSenders = n.getBooleanValue(); }, "appRoleAssignments": n => { group.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLabels": n => { group.assignedLabels = n.getCollectionOfObjectValues(createAssignedLabelFromDiscriminatorValue); }, "assignedLicenses": n => { group.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "autoSubscribeNewMembers": n => { group.autoSubscribeNewMembers = n.getBooleanValue(); }, "calendar": n => { group.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarView": n => { group.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "classification": n => { group.classification = n.getStringValue(); }, "conversations": n => { group.conversations = n.getCollectionOfObjectValues(createConversationFromDiscriminatorValue); }, "createdDateTime": n => { group.createdDateTime = n.getDateValue(); }, "createdOnBehalfOf": n => { group.createdOnBehalfOf = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "description": n => { group.description = n.getStringValue(); }, "displayName": n => { group.displayName = n.getStringValue(); }, "drive": n => { group.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { group.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "events": n => { group.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "expirationDateTime": n => { group.expirationDateTime = n.getDateValue(); }, "extensions": n => { group.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "groupLifecyclePolicies": n => { group.groupLifecyclePolicies = n.getCollectionOfObjectValues(createGroupLifecyclePolicyFromDiscriminatorValue); }, "groupTypes": n => { group.groupTypes = n.getCollectionOfPrimitiveValues(); }, "hasMembersWithLicenseErrors": n => { group.hasMembersWithLicenseErrors = n.getBooleanValue(); }, "hideFromAddressLists": n => { group.hideFromAddressLists = n.getBooleanValue(); }, "hideFromOutlookClients": n => { group.hideFromOutlookClients = n.getBooleanValue(); }, "isArchived": n => { group.isArchived = n.getBooleanValue(); }, "isAssignableToRole": n => { group.isAssignableToRole = n.getBooleanValue(); }, "isManagementRestricted": n => { group.isManagementRestricted = n.getBooleanValue(); }, "isSubscribedByMail": n => { group.isSubscribedByMail = n.getBooleanValue(); }, "licenseProcessingState": n => { group.licenseProcessingState = n.getObjectValue(createLicenseProcessingStateFromDiscriminatorValue); }, "mail": n => { group.mail = n.getStringValue(); }, "mailEnabled": n => { group.mailEnabled = n.getBooleanValue(); }, "mailNickname": n => { group.mailNickname = n.getStringValue(); }, "memberOf": n => { group.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "members": n => { group.members = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "membershipRule": n => { group.membershipRule = n.getStringValue(); }, "membershipRuleProcessingState": n => { group.membershipRuleProcessingState = n.getStringValue(); }, "membersWithLicenseErrors": n => { group.membersWithLicenseErrors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "onenote": n => { group.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onPremisesDomainName": n => { group.onPremisesDomainName = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { group.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesNetBiosName": n => { group.onPremisesNetBiosName = n.getStringValue(); }, "onPremisesProvisioningErrors": n => { group.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { group.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { group.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { group.onPremisesSyncEnabled = n.getBooleanValue(); }, "owners": n => { group.owners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "permissionGrants": n => { group.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { group.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { group.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { group.planner = n.getObjectValue(createPlannerGroupFromDiscriminatorValue); }, "preferredDataLocation": n => { group.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { group.preferredLanguage = n.getStringValue(); }, "proxyAddresses": n => { group.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "rejectedSenders": n => { group.rejectedSenders = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "renewedDateTime": n => { group.renewedDateTime = n.getDateValue(); }, "securityEnabled": n => { group.securityEnabled = n.getBooleanValue(); }, "securityIdentifier": n => { group.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { group.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { group.settings = n.getCollectionOfObjectValues(createGroupSettingFromDiscriminatorValue); }, "sites": n => { group.sites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "team": n => { group.team = n.getObjectValue(createTeamFromDiscriminatorValue); }, "theme": n => { group.theme = n.getStringValue(); }, "threads": n => { group.threads = n.getCollectionOfObjectValues(createConversationThreadFromDiscriminatorValue); }, "transitiveMemberOf": n => { group.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "transitiveMembers": n => { group.transitiveMembers = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "uniqueName": n => { group.uniqueName = n.getStringValue(); }, "unseenCount": n => { group.unseenCount = n.getNumberValue(); }, "visibility": n => { group.visibility = n.getStringValue(); } });
34315
34339
  }
34316
34340
  /**
34317
34341
  * The deserialization information for the current model
@@ -35291,14 +35315,14 @@ export function deserializeIntoIosMinimumOperatingSystem(iosMinimumOperatingSyst
35291
35315
  return {
35292
35316
  "backingStoreEnabled": n => { iosMinimumOperatingSystem.backingStoreEnabled = true; },
35293
35317
  "@odata.type": n => { iosMinimumOperatingSystem.odataType = n.getStringValue(); },
35294
- "v10_0": n => { iosMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
35295
- "v11_0": n => { iosMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
35296
- "v12_0": n => { iosMinimumOperatingSystem.v12_0 = n.getBooleanValue(); },
35297
- "v13_0": n => { iosMinimumOperatingSystem.v13_0 = n.getBooleanValue(); },
35298
- "v14_0": n => { iosMinimumOperatingSystem.v14_0 = n.getBooleanValue(); },
35299
- "v15_0": n => { iosMinimumOperatingSystem.v15_0 = n.getBooleanValue(); },
35300
- "v8_0": n => { iosMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
35301
- "v9_0": n => { iosMinimumOperatingSystem.v9_0 = n.getBooleanValue(); },
35318
+ "v10_0": n => { iosMinimumOperatingSystem.v100 = n.getBooleanValue(); },
35319
+ "v11_0": n => { iosMinimumOperatingSystem.v110 = n.getBooleanValue(); },
35320
+ "v12_0": n => { iosMinimumOperatingSystem.v120 = n.getBooleanValue(); },
35321
+ "v13_0": n => { iosMinimumOperatingSystem.v130 = n.getBooleanValue(); },
35322
+ "v14_0": n => { iosMinimumOperatingSystem.v140 = n.getBooleanValue(); },
35323
+ "v15_0": n => { iosMinimumOperatingSystem.v150 = n.getBooleanValue(); },
35324
+ "v8_0": n => { iosMinimumOperatingSystem.v80 = n.getBooleanValue(); },
35325
+ "v9_0": n => { iosMinimumOperatingSystem.v90 = n.getBooleanValue(); },
35302
35326
  };
35303
35327
  }
35304
35328
  /**
@@ -36250,18 +36274,18 @@ export function deserializeIntoMacOSMinimumOperatingSystem(macOSMinimumOperating
36250
36274
  return {
36251
36275
  "backingStoreEnabled": n => { macOSMinimumOperatingSystem.backingStoreEnabled = true; },
36252
36276
  "@odata.type": n => { macOSMinimumOperatingSystem.odataType = n.getStringValue(); },
36253
- "v10_10": n => { macOSMinimumOperatingSystem.v10_10 = n.getBooleanValue(); },
36254
- "v10_11": n => { macOSMinimumOperatingSystem.v10_11 = n.getBooleanValue(); },
36255
- "v10_12": n => { macOSMinimumOperatingSystem.v10_12 = n.getBooleanValue(); },
36256
- "v10_13": n => { macOSMinimumOperatingSystem.v10_13 = n.getBooleanValue(); },
36257
- "v10_14": n => { macOSMinimumOperatingSystem.v10_14 = n.getBooleanValue(); },
36258
- "v10_15": n => { macOSMinimumOperatingSystem.v10_15 = n.getBooleanValue(); },
36259
- "v10_7": n => { macOSMinimumOperatingSystem.v10_7 = n.getBooleanValue(); },
36260
- "v10_8": n => { macOSMinimumOperatingSystem.v10_8 = n.getBooleanValue(); },
36261
- "v10_9": n => { macOSMinimumOperatingSystem.v10_9 = n.getBooleanValue(); },
36262
- "v11_0": n => { macOSMinimumOperatingSystem.v11_0 = n.getBooleanValue(); },
36263
- "v12_0": n => { macOSMinimumOperatingSystem.v12_0 = n.getBooleanValue(); },
36264
- "v13_0": n => { macOSMinimumOperatingSystem.v13_0 = n.getBooleanValue(); },
36277
+ "v10_10": n => { macOSMinimumOperatingSystem.v1010 = n.getBooleanValue(); },
36278
+ "v10_11": n => { macOSMinimumOperatingSystem.v1011 = n.getBooleanValue(); },
36279
+ "v10_12": n => { macOSMinimumOperatingSystem.v1012 = n.getBooleanValue(); },
36280
+ "v10_13": n => { macOSMinimumOperatingSystem.v1013 = n.getBooleanValue(); },
36281
+ "v10_14": n => { macOSMinimumOperatingSystem.v1014 = n.getBooleanValue(); },
36282
+ "v10_15": n => { macOSMinimumOperatingSystem.v1015 = n.getBooleanValue(); },
36283
+ "v10_7": n => { macOSMinimumOperatingSystem.v107 = n.getBooleanValue(); },
36284
+ "v10_8": n => { macOSMinimumOperatingSystem.v108 = n.getBooleanValue(); },
36285
+ "v10_9": n => { macOSMinimumOperatingSystem.v109 = n.getBooleanValue(); },
36286
+ "v11_0": n => { macOSMinimumOperatingSystem.v110 = n.getBooleanValue(); },
36287
+ "v12_0": n => { macOSMinimumOperatingSystem.v120 = n.getBooleanValue(); },
36288
+ "v13_0": n => { macOSMinimumOperatingSystem.v130 = n.getBooleanValue(); },
36265
36289
  };
36266
36290
  }
36267
36291
  /**
@@ -42036,7 +42060,7 @@ export function deserializeIntoSecureScoreControlStateUpdate(secureScoreControlS
42036
42060
  */
42037
42061
  // @ts-ignore
42038
42062
  export function deserializeIntoSecurity(security = {}) {
42039
- return Object.assign(Object.assign({}, deserializeIntoEntity(security)), { "alerts": n => { security.alerts = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "alerts_v2": n => { security.alerts_v2 = n.getCollectionOfObjectValues(createAlertFromDiscriminatorValue); }, "attackSimulation": n => { security.attackSimulation = n.getObjectValue(createAttackSimulationRootFromDiscriminatorValue); }, "cases": n => { security.cases = n.getObjectValue(createCasesRootFromDiscriminatorValue); }, "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); } });
42063
+ 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); }, "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); } });
42040
42064
  }
42041
42065
  /**
42042
42066
  * The deserialization information for the current model
@@ -42765,7 +42789,7 @@ export function deserializeIntoShiftPreferences(shiftPreferences = {}) {
42765
42789
  */
42766
42790
  // @ts-ignore
42767
42791
  export function deserializeIntoSignIn(signIn = {}) {
42768
- return Object.assign(Object.assign({}, deserializeIntoEntity(signIn)), { "appDisplayName": n => { signIn.appDisplayName = n.getStringValue(); }, "appId": n => { signIn.appId = n.getStringValue(); }, "appliedConditionalAccessPolicies": n => { signIn.appliedConditionalAccessPolicies = n.getCollectionOfObjectValues(createAppliedConditionalAccessPolicyFromDiscriminatorValue); }, "clientAppUsed": n => { signIn.clientAppUsed = n.getStringValue(); }, "conditionalAccessStatus": n => { signIn.conditionalAccessStatus = n.getEnumValue(ConditionalAccessStatusObject); }, "correlationId": n => { signIn.correlationId = n.getStringValue(); }, "createdDateTime": n => { signIn.createdDateTime = n.getDateValue(); }, "deviceDetail": n => { signIn.deviceDetail = n.getObjectValue(createDeviceDetailFromDiscriminatorValue); }, "ipAddress": n => { signIn.ipAddress = n.getStringValue(); }, "isInteractive": n => { signIn.isInteractive = n.getBooleanValue(); }, "location": n => { signIn.location = n.getObjectValue(createSignInLocationFromDiscriminatorValue); }, "resourceDisplayName": n => { signIn.resourceDisplayName = n.getStringValue(); }, "resourceId": n => { signIn.resourceId = n.getStringValue(); }, "riskDetail": n => { signIn.riskDetail = n.getEnumValue(RiskDetailObject); }, "riskEventTypes": n => { signIn.riskEventTypes = n.getCollectionOfEnumValues(RiskEventTypeObject); }, "riskEventTypes_v2": n => { signIn.riskEventTypes_v2 = n.getCollectionOfPrimitiveValues(); }, "riskLevelAggregated": n => { signIn.riskLevelAggregated = n.getEnumValue(RiskLevelObject); }, "riskLevelDuringSignIn": n => { signIn.riskLevelDuringSignIn = n.getEnumValue(RiskLevelObject); }, "riskState": n => { signIn.riskState = n.getEnumValue(RiskStateObject); }, "status": n => { signIn.status = n.getObjectValue(createSignInStatusFromDiscriminatorValue); }, "userDisplayName": n => { signIn.userDisplayName = n.getStringValue(); }, "userId": n => { signIn.userId = n.getStringValue(); }, "userPrincipalName": n => { signIn.userPrincipalName = n.getStringValue(); } });
42792
+ return Object.assign(Object.assign({}, deserializeIntoEntity(signIn)), { "appDisplayName": n => { signIn.appDisplayName = n.getStringValue(); }, "appId": n => { signIn.appId = n.getStringValue(); }, "appliedConditionalAccessPolicies": n => { signIn.appliedConditionalAccessPolicies = n.getCollectionOfObjectValues(createAppliedConditionalAccessPolicyFromDiscriminatorValue); }, "clientAppUsed": n => { signIn.clientAppUsed = n.getStringValue(); }, "conditionalAccessStatus": n => { signIn.conditionalAccessStatus = n.getEnumValue(ConditionalAccessStatusObject); }, "correlationId": n => { signIn.correlationId = n.getStringValue(); }, "createdDateTime": n => { signIn.createdDateTime = n.getDateValue(); }, "deviceDetail": n => { signIn.deviceDetail = n.getObjectValue(createDeviceDetailFromDiscriminatorValue); }, "ipAddress": n => { signIn.ipAddress = n.getStringValue(); }, "isInteractive": n => { signIn.isInteractive = n.getBooleanValue(); }, "location": n => { signIn.location = n.getObjectValue(createSignInLocationFromDiscriminatorValue); }, "resourceDisplayName": n => { signIn.resourceDisplayName = n.getStringValue(); }, "resourceId": n => { signIn.resourceId = n.getStringValue(); }, "riskDetail": n => { signIn.riskDetail = n.getEnumValue(RiskDetailObject); }, "riskEventTypes": n => { signIn.riskEventTypes = n.getCollectionOfEnumValues(RiskEventTypeObject); }, "riskEventTypes_v2": n => { signIn.riskEventTypesV2 = n.getCollectionOfPrimitiveValues(); }, "riskLevelAggregated": n => { signIn.riskLevelAggregated = n.getEnumValue(RiskLevelObject); }, "riskLevelDuringSignIn": n => { signIn.riskLevelDuringSignIn = n.getEnumValue(RiskLevelObject); }, "riskState": n => { signIn.riskState = n.getEnumValue(RiskStateObject); }, "status": n => { signIn.status = n.getObjectValue(createSignInStatusFromDiscriminatorValue); }, "userDisplayName": n => { signIn.userDisplayName = n.getStringValue(); }, "userId": n => { signIn.userId = n.getStringValue(); }, "userPrincipalName": n => { signIn.userPrincipalName = n.getStringValue(); } });
42769
42793
  }
42770
42794
  /**
42771
42795
  * The deserialization information for the current model
@@ -45572,7 +45596,7 @@ export function deserializeIntoUsedInsightCollectionResponse(usedInsightCollecti
45572
45596
  */
45573
45597
  // @ts-ignore
45574
45598
  export function deserializeIntoUser(user = {}) {
45575
- 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); }, "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(); }, "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(); }, "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(); } });
45599
+ 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); }, "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(); } });
45576
45600
  }
45577
45601
  /**
45578
45602
  * The deserialization information for the current model
@@ -46379,6 +46403,14 @@ export function deserializeIntoUserSimulationEventInfo(userSimulationEventInfo =
46379
46403
  * @returns {Record<string, (node: ParseNode) => void>}
46380
46404
  */
46381
46405
  // @ts-ignore
46406
+ export function deserializeIntoUserSolutionRoot(userSolutionRoot = {}) {
46407
+ return Object.assign(Object.assign({}, deserializeIntoEntity(userSolutionRoot)), { "workingTimeSchedule": n => { userSolutionRoot.workingTimeSchedule = n.getObjectValue(createWorkingTimeScheduleFromDiscriminatorValue); } });
46408
+ }
46409
+ /**
46410
+ * The deserialization information for the current model
46411
+ * @returns {Record<string, (node: ParseNode) => void>}
46412
+ */
46413
+ // @ts-ignore
46382
46414
  export function deserializeIntoUserStorage(userStorage = {}) {
46383
46415
  return Object.assign(Object.assign({}, deserializeIntoEntity(userStorage)), { "quota": n => { userStorage.quota = n.getObjectValue(createUnifiedStorageQuotaFromDiscriminatorValue); } });
46384
46416
  }
@@ -47545,9 +47577,9 @@ export function deserializeIntoWindowsMinimumOperatingSystem(windowsMinimumOpera
47545
47577
  return {
47546
47578
  "backingStoreEnabled": n => { windowsMinimumOperatingSystem.backingStoreEnabled = true; },
47547
47579
  "@odata.type": n => { windowsMinimumOperatingSystem.odataType = n.getStringValue(); },
47548
- "v10_0": n => { windowsMinimumOperatingSystem.v10_0 = n.getBooleanValue(); },
47549
- "v8_0": n => { windowsMinimumOperatingSystem.v8_0 = n.getBooleanValue(); },
47550
- "v8_1": n => { windowsMinimumOperatingSystem.v8_1 = n.getBooleanValue(); },
47580
+ "v10_0": n => { windowsMinimumOperatingSystem.v100 = n.getBooleanValue(); },
47581
+ "v8_0": n => { windowsMinimumOperatingSystem.v80 = n.getBooleanValue(); },
47582
+ "v8_1": n => { windowsMinimumOperatingSystem.v81 = n.getBooleanValue(); },
47551
47583
  };
47552
47584
  }
47553
47585
  /**
@@ -48324,6 +48356,14 @@ export function deserializeIntoWorkingHours(workingHours = {}) {
48324
48356
  * @returns {Record<string, (node: ParseNode) => void>}
48325
48357
  */
48326
48358
  // @ts-ignore
48359
+ export function deserializeIntoWorkingTimeSchedule(workingTimeSchedule = {}) {
48360
+ return Object.assign({}, deserializeIntoEntity(workingTimeSchedule));
48361
+ }
48362
+ /**
48363
+ * The deserialization information for the current model
48364
+ * @returns {Record<string, (node: ParseNode) => void>}
48365
+ */
48366
+ // @ts-ignore
48327
48367
  export function deserializeIntoX509CertificateAuthenticationMethodConfiguration(x509CertificateAuthenticationMethodConfiguration = {}) {
48328
48368
  return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethodConfiguration(x509CertificateAuthenticationMethodConfiguration)), { "authenticationModeConfiguration": n => { x509CertificateAuthenticationMethodConfiguration.authenticationModeConfiguration = n.getObjectValue(createX509CertificateAuthenticationModeConfigurationFromDiscriminatorValue); }, "certificateUserBindings": n => { x509CertificateAuthenticationMethodConfiguration.certificateUserBindings = n.getCollectionOfObjectValues(createX509CertificateUserBindingFromDiscriminatorValue); }, "includeTargets": n => { x509CertificateAuthenticationMethodConfiguration.includeTargets = n.getCollectionOfObjectValues(createAuthenticationMethodTargetFromDiscriminatorValue); } });
48329
48369
  }
@@ -49669,7 +49709,11 @@ export function serializeAdministrativeUnit(writer, administrativeUnit = {}) {
49669
49709
  writer.writeStringValue("description", administrativeUnit.description);
49670
49710
  writer.writeStringValue("displayName", administrativeUnit.displayName);
49671
49711
  writer.writeCollectionOfObjectValues("extensions", administrativeUnit.extensions, serializeExtension);
49712
+ writer.writeBooleanValue("isMemberManagementRestricted", administrativeUnit.isMemberManagementRestricted);
49672
49713
  writer.writeCollectionOfObjectValues("members", administrativeUnit.members, serializeDirectoryObject);
49714
+ writer.writeStringValue("membershipRule", administrativeUnit.membershipRule);
49715
+ writer.writeStringValue("membershipRuleProcessingState", administrativeUnit.membershipRuleProcessingState);
49716
+ writer.writeStringValue("membershipType", administrativeUnit.membershipType);
49673
49717
  writer.writeCollectionOfObjectValues("scopedRoleMembers", administrativeUnit.scopedRoleMembers, serializeScopedRoleMembership);
49674
49718
  writer.writeStringValue("visibility", administrativeUnit.visibility);
49675
49719
  }
@@ -49802,7 +49846,7 @@ export function serializeAgreementFile(writer, agreementFile = {}) {
49802
49846
  // @ts-ignore
49803
49847
  export function serializeAgreementFileData(writer, agreementFileData = {}) {
49804
49848
  if (agreementFileData) {
49805
- writer.writeStringValue("data", agreementFileData.data);
49849
+ writer.writeObjectValue("data", agreementFileData.data);
49806
49850
  writer.writeStringValue("@odata.type", agreementFileData.odataType);
49807
49851
  writer.writeAdditionalData(agreementFileData.additionalData);
49808
49852
  }
@@ -50073,7 +50117,7 @@ export function serializeAlteredQueryToken(writer, alteredQueryToken = {}) {
50073
50117
  export function serializeAlternativeSecurityId(writer, alternativeSecurityId = {}) {
50074
50118
  if (alternativeSecurityId) {
50075
50119
  writer.writeStringValue("identityProvider", alternativeSecurityId.identityProvider);
50076
- writer.writeStringValue("key", alternativeSecurityId.key);
50120
+ writer.writeObjectValue("key", alternativeSecurityId.key);
50077
50121
  writer.writeStringValue("@odata.type", alternativeSecurityId.odataType);
50078
50122
  writer.writeNumberValue("type", alternativeSecurityId.type);
50079
50123
  writer.writeAdditionalData(alternativeSecurityId.additionalData);
@@ -50253,22 +50297,22 @@ export function serializeAndroidManagedAppRegistration(writer, androidManagedApp
50253
50297
  export function serializeAndroidMinimumOperatingSystem(writer, androidMinimumOperatingSystem = {}) {
50254
50298
  if (androidMinimumOperatingSystem) {
50255
50299
  writer.writeStringValue("@odata.type", androidMinimumOperatingSystem.odataType);
50256
- writer.writeBooleanValue("v10_0", androidMinimumOperatingSystem.v10_0);
50257
- writer.writeBooleanValue("v11_0", androidMinimumOperatingSystem.v11_0);
50258
- writer.writeBooleanValue("v4_0", androidMinimumOperatingSystem.v4_0);
50259
- writer.writeBooleanValue("v4_0_3", androidMinimumOperatingSystem.v4_0_3);
50260
- writer.writeBooleanValue("v4_1", androidMinimumOperatingSystem.v4_1);
50261
- writer.writeBooleanValue("v4_2", androidMinimumOperatingSystem.v4_2);
50262
- writer.writeBooleanValue("v4_3", androidMinimumOperatingSystem.v4_3);
50263
- writer.writeBooleanValue("v4_4", androidMinimumOperatingSystem.v4_4);
50264
- writer.writeBooleanValue("v5_0", androidMinimumOperatingSystem.v5_0);
50265
- writer.writeBooleanValue("v5_1", androidMinimumOperatingSystem.v5_1);
50266
- writer.writeBooleanValue("v6_0", androidMinimumOperatingSystem.v6_0);
50267
- writer.writeBooleanValue("v7_0", androidMinimumOperatingSystem.v7_0);
50268
- writer.writeBooleanValue("v7_1", androidMinimumOperatingSystem.v7_1);
50269
- writer.writeBooleanValue("v8_0", androidMinimumOperatingSystem.v8_0);
50270
- writer.writeBooleanValue("v8_1", androidMinimumOperatingSystem.v8_1);
50271
- writer.writeBooleanValue("v9_0", androidMinimumOperatingSystem.v9_0);
50300
+ writer.writeBooleanValue("v10_0", androidMinimumOperatingSystem.v100);
50301
+ writer.writeBooleanValue("v11_0", androidMinimumOperatingSystem.v110);
50302
+ writer.writeBooleanValue("v4_0", androidMinimumOperatingSystem.v40);
50303
+ writer.writeBooleanValue("v4_0_3", androidMinimumOperatingSystem.v403);
50304
+ writer.writeBooleanValue("v4_1", androidMinimumOperatingSystem.v41);
50305
+ writer.writeBooleanValue("v4_2", androidMinimumOperatingSystem.v42);
50306
+ writer.writeBooleanValue("v4_3", androidMinimumOperatingSystem.v43);
50307
+ writer.writeBooleanValue("v4_4", androidMinimumOperatingSystem.v44);
50308
+ writer.writeBooleanValue("v5_0", androidMinimumOperatingSystem.v50);
50309
+ writer.writeBooleanValue("v5_1", androidMinimumOperatingSystem.v51);
50310
+ writer.writeBooleanValue("v6_0", androidMinimumOperatingSystem.v60);
50311
+ writer.writeBooleanValue("v7_0", androidMinimumOperatingSystem.v70);
50312
+ writer.writeBooleanValue("v7_1", androidMinimumOperatingSystem.v71);
50313
+ writer.writeBooleanValue("v8_0", androidMinimumOperatingSystem.v80);
50314
+ writer.writeBooleanValue("v8_1", androidMinimumOperatingSystem.v81);
50315
+ writer.writeBooleanValue("v9_0", androidMinimumOperatingSystem.v90);
50272
50316
  writer.writeAdditionalData(androidMinimumOperatingSystem.additionalData);
50273
50317
  }
50274
50318
  }
@@ -50600,7 +50644,7 @@ export function serializeApplication(writer, application = {}) {
50600
50644
  writer.writeBooleanValue("isDeviceOnlyAuthSupported", application.isDeviceOnlyAuthSupported);
50601
50645
  writer.writeBooleanValue("isFallbackPublicClient", application.isFallbackPublicClient);
50602
50646
  writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, serializeKeyCredential);
50603
- writer.writeStringValue("logo", application.logo);
50647
+ writer.writeObjectValue("logo", application.logo);
50604
50648
  writer.writeEnumValue("nativeAuthenticationApisEnabled", application.nativeAuthenticationApisEnabled);
50605
50649
  writer.writeStringValue("notes", application.notes);
50606
50650
  writer.writeBooleanValue("oauth2RequirePostResponse", application.oauth2RequirePostResponse);
@@ -51182,7 +51226,7 @@ export function serializeAttachmentItem(writer, attachmentItem = {}) {
51182
51226
  export function serializeAttachmentSession(writer, attachmentSession = {}) {
51183
51227
  if (attachmentSession) {
51184
51228
  serializeEntity(writer, attachmentSession);
51185
- writer.writeStringValue("content", attachmentSession.content);
51229
+ writer.writeObjectValue("content", attachmentSession.content);
51186
51230
  writer.writeDateValue("expirationDateTime", attachmentSession.expirationDateTime);
51187
51231
  writer.writeCollectionOfPrimitiveValues("nextExpectedRanges", attachmentSession.nextExpectedRanges);
51188
51232
  }
@@ -53480,7 +53524,7 @@ export function serializeCallRecording(writer, callRecording = {}) {
53480
53524
  if (callRecording) {
53481
53525
  serializeEntity(writer, callRecording);
53482
53526
  writer.writeStringValue("callId", callRecording.callId);
53483
- writer.writeStringValue("content", callRecording.content);
53527
+ writer.writeObjectValue("content", callRecording.content);
53484
53528
  writer.writeStringValue("contentCorrelationId", callRecording.contentCorrelationId);
53485
53529
  writer.writeDateValue("createdDateTime", callRecording.createdDateTime);
53486
53530
  writer.writeDateValue("endDateTime", callRecording.endDateTime);
@@ -53553,13 +53597,13 @@ export function serializeCallTranscript(writer, callTranscript = {}) {
53553
53597
  if (callTranscript) {
53554
53598
  serializeEntity(writer, callTranscript);
53555
53599
  writer.writeStringValue("callId", callTranscript.callId);
53556
- writer.writeStringValue("content", callTranscript.content);
53600
+ writer.writeObjectValue("content", callTranscript.content);
53557
53601
  writer.writeStringValue("contentCorrelationId", callTranscript.contentCorrelationId);
53558
53602
  writer.writeDateValue("createdDateTime", callTranscript.createdDateTime);
53559
53603
  writer.writeDateValue("endDateTime", callTranscript.endDateTime);
53560
53604
  writer.writeStringValue("meetingId", callTranscript.meetingId);
53561
53605
  writer.writeObjectValue("meetingOrganizer", callTranscript.meetingOrganizer, serializeIdentitySet);
53562
- writer.writeStringValue("metadataContent", callTranscript.metadataContent);
53606
+ writer.writeObjectValue("metadataContent", callTranscript.metadataContent);
53563
53607
  writer.writeStringValue("transcriptContentUrl", callTranscript.transcriptContentUrl);
53564
53608
  }
53565
53609
  }
@@ -53629,7 +53673,7 @@ export function serializeCanvasLayout(writer, canvasLayout = {}) {
53629
53673
  // @ts-ignore
53630
53674
  export function serializeCertificateAuthority(writer, certificateAuthority = {}) {
53631
53675
  if (certificateAuthority) {
53632
- writer.writeStringValue("certificate", certificateAuthority.certificate);
53676
+ writer.writeObjectValue("certificate", certificateAuthority.certificate);
53633
53677
  writer.writeStringValue("certificateRevocationListUrl", certificateAuthority.certificateRevocationListUrl);
53634
53678
  writer.writeStringValue("deltaCertificateRevocationListUrl", certificateAuthority.deltaCertificateRevocationListUrl);
53635
53679
  writer.writeBooleanValue("isRootAuthority", certificateAuthority.isRootAuthority);
@@ -56834,6 +56878,7 @@ export function serializeDevice(writer, device = {}) {
56834
56878
  writer.writeCollectionOfObjectValues("extensions", device.extensions, serializeExtension);
56835
56879
  writer.writeBooleanValue("isCompliant", device.isCompliant);
56836
56880
  writer.writeBooleanValue("isManaged", device.isManaged);
56881
+ writer.writeBooleanValue("isManagementRestricted", device.isManagementRestricted);
56837
56882
  writer.writeBooleanValue("isRooted", device.isRooted);
56838
56883
  writer.writeStringValue("managementType", device.managementType);
56839
56884
  writer.writeStringValue("manufacturer", device.manufacturer);
@@ -56888,7 +56933,7 @@ export function serializeDeviceAndAppManagementAssignmentTarget(writer, deviceAn
56888
56933
  // @ts-ignore
56889
56934
  export function serializeDeviceAndAppManagementData(writer, deviceAndAppManagementData = {}) {
56890
56935
  if (deviceAndAppManagementData) {
56891
- writer.writeStringValue("content", deviceAndAppManagementData.content);
56936
+ writer.writeObjectValue("content", deviceAndAppManagementData.content);
56892
56937
  writer.writeStringValue("@odata.type", deviceAndAppManagementData.odataType);
56893
56938
  writer.writeAdditionalData(deviceAndAppManagementData.additionalData);
56894
56939
  }
@@ -58415,6 +58460,7 @@ export function serializeDomain(writer, domain = {}) {
58415
58460
  writer.writeStringValue("model", domain.model);
58416
58461
  writer.writeNumberValue("passwordNotificationWindowInDays", domain.passwordNotificationWindowInDays);
58417
58462
  writer.writeNumberValue("passwordValidityPeriodInDays", domain.passwordValidityPeriodInDays);
58463
+ writer.writeObjectValue("rootDomain", domain.rootDomain, serializeDomain);
58418
58464
  writer.writeCollectionOfObjectValues("serviceConfigurationRecords", domain.serviceConfigurationRecords, serializeDomainDnsRecord);
58419
58465
  writer.writeObjectValue("state", domain.state, serializeDomainState);
58420
58466
  writer.writeCollectionOfPrimitiveValues("supportedServices", domain.supportedServices);
@@ -58589,7 +58635,7 @@ export function serializeDriveItem(writer, driveItem = {}) {
58589
58635
  writer.writeObjectValue("audio", driveItem.audio, serializeAudio);
58590
58636
  writer.writeObjectValue("bundle", driveItem.bundle, serializeBundle);
58591
58637
  writer.writeCollectionOfObjectValues("children", driveItem.children, serializeDriveItem);
58592
- writer.writeStringValue("content", driveItem.content);
58638
+ writer.writeObjectValue("content", driveItem.content);
58593
58639
  writer.writeStringValue("cTag", driveItem.cTag);
58594
58640
  writer.writeObjectValue("deleted", driveItem.deleted, serializeDeleted);
58595
58641
  writer.writeObjectValue("file", driveItem.file, serializeFile);
@@ -58669,7 +58715,7 @@ export function serializeDriveItemUploadableProperties(writer, driveItemUploadab
58669
58715
  export function serializeDriveItemVersion(writer, driveItemVersion = {}) {
58670
58716
  if (driveItemVersion) {
58671
58717
  serializeBaseItemVersion(writer, driveItemVersion);
58672
- writer.writeStringValue("content", driveItemVersion.content);
58718
+ writer.writeObjectValue("content", driveItemVersion.content);
58673
58719
  writer.writeNumberValue("size", driveItemVersion.size);
58674
58720
  }
58675
58721
  }
@@ -59972,7 +60018,7 @@ export function serializeEnrollmentTroubleshootingEvent(writer, enrollmentTroubl
59972
60018
  export function serializeEnterpriseCodeSigningCertificate(writer, enterpriseCodeSigningCertificate = {}) {
59973
60019
  if (enterpriseCodeSigningCertificate) {
59974
60020
  serializeEntity(writer, enterpriseCodeSigningCertificate);
59975
- writer.writeStringValue("content", enterpriseCodeSigningCertificate.content);
60021
+ writer.writeObjectValue("content", enterpriseCodeSigningCertificate.content);
59976
60022
  writer.writeDateValue("expirationDateTime", enterpriseCodeSigningCertificate.expirationDateTime);
59977
60023
  writer.writeStringValue("issuer", enterpriseCodeSigningCertificate.issuer);
59978
60024
  writer.writeStringValue("issuerName", enterpriseCodeSigningCertificate.issuerName);
@@ -60591,7 +60637,7 @@ export function serializeFileAssessmentRequest(writer, fileAssessmentRequest = {
60591
60637
  export function serializeFileAttachment(writer, fileAttachment = {}) {
60592
60638
  if (fileAttachment) {
60593
60639
  serializeAttachment(writer, fileAttachment);
60594
- writer.writeStringValue("contentBytes", fileAttachment.contentBytes);
60640
+ writer.writeObjectValue("contentBytes", fileAttachment.contentBytes);
60595
60641
  writer.writeStringValue("contentId", fileAttachment.contentId);
60596
60642
  writer.writeStringValue("contentLocation", fileAttachment.contentLocation);
60597
60643
  }
@@ -60603,12 +60649,12 @@ export function serializeFileAttachment(writer, fileAttachment = {}) {
60603
60649
  // @ts-ignore
60604
60650
  export function serializeFileEncryptionInfo(writer, fileEncryptionInfo = {}) {
60605
60651
  if (fileEncryptionInfo) {
60606
- writer.writeStringValue("encryptionKey", fileEncryptionInfo.encryptionKey);
60607
- writer.writeStringValue("fileDigest", fileEncryptionInfo.fileDigest);
60652
+ writer.writeObjectValue("encryptionKey", fileEncryptionInfo.encryptionKey);
60653
+ writer.writeObjectValue("fileDigest", fileEncryptionInfo.fileDigest);
60608
60654
  writer.writeStringValue("fileDigestAlgorithm", fileEncryptionInfo.fileDigestAlgorithm);
60609
- writer.writeStringValue("initializationVector", fileEncryptionInfo.initializationVector);
60610
- writer.writeStringValue("mac", fileEncryptionInfo.mac);
60611
- writer.writeStringValue("macKey", fileEncryptionInfo.macKey);
60655
+ writer.writeObjectValue("initializationVector", fileEncryptionInfo.initializationVector);
60656
+ writer.writeObjectValue("mac", fileEncryptionInfo.mac);
60657
+ writer.writeObjectValue("macKey", fileEncryptionInfo.macKey);
60612
60658
  writer.writeStringValue("@odata.type", fileEncryptionInfo.odataType);
60613
60659
  writer.writeStringValue("profileIdentifier", fileEncryptionInfo.profileIdentifier);
60614
60660
  writer.writeAdditionalData(fileEncryptionInfo.additionalData);
@@ -60969,6 +61015,7 @@ export function serializeGroup(writer, group = {}) {
60969
61015
  writer.writeBooleanValue("hideFromOutlookClients", group.hideFromOutlookClients);
60970
61016
  writer.writeBooleanValue("isArchived", group.isArchived);
60971
61017
  writer.writeBooleanValue("isAssignableToRole", group.isAssignableToRole);
61018
+ writer.writeBooleanValue("isManagementRestricted", group.isManagementRestricted);
60972
61019
  writer.writeBooleanValue("isSubscribedByMail", group.isSubscribedByMail);
60973
61020
  writer.writeObjectValue("licenseProcessingState", group.licenseProcessingState, serializeLicenseProcessingState);
60974
61021
  writer.writeStringValue("mail", group.mail);
@@ -61585,7 +61632,7 @@ export function serializeImportedWindowsAutopilotDeviceIdentity(writer, imported
61585
61632
  serializeEntity(writer, importedWindowsAutopilotDeviceIdentity);
61586
61633
  writer.writeStringValue("assignedUserPrincipalName", importedWindowsAutopilotDeviceIdentity.assignedUserPrincipalName);
61587
61634
  writer.writeStringValue("groupTag", importedWindowsAutopilotDeviceIdentity.groupTag);
61588
- writer.writeStringValue("hardwareIdentifier", importedWindowsAutopilotDeviceIdentity.hardwareIdentifier);
61635
+ writer.writeObjectValue("hardwareIdentifier", importedWindowsAutopilotDeviceIdentity.hardwareIdentifier);
61589
61636
  writer.writeStringValue("importId", importedWindowsAutopilotDeviceIdentity.importId);
61590
61637
  writer.writeStringValue("productKey", importedWindowsAutopilotDeviceIdentity.productKey);
61591
61638
  writer.writeStringValue("serialNumber", importedWindowsAutopilotDeviceIdentity.serialNumber);
@@ -62056,7 +62103,7 @@ export function serializeIosCompliancePolicy(writer, iosCompliancePolicy = {}) {
62056
62103
  export function serializeIosCustomConfiguration(writer, iosCustomConfiguration = {}) {
62057
62104
  if (iosCustomConfiguration) {
62058
62105
  serializeDeviceConfiguration(writer, iosCustomConfiguration);
62059
- writer.writeStringValue("payload", iosCustomConfiguration.payload);
62106
+ writer.writeObjectValue("payload", iosCustomConfiguration.payload);
62060
62107
  writer.writeStringValue("payloadFileName", iosCustomConfiguration.payloadFileName);
62061
62108
  writer.writeStringValue("payloadName", iosCustomConfiguration.payloadName);
62062
62109
  }
@@ -62399,14 +62446,14 @@ export function serializeIosManagedAppRegistration(writer, iosManagedAppRegistra
62399
62446
  export function serializeIosMinimumOperatingSystem(writer, iosMinimumOperatingSystem = {}) {
62400
62447
  if (iosMinimumOperatingSystem) {
62401
62448
  writer.writeStringValue("@odata.type", iosMinimumOperatingSystem.odataType);
62402
- writer.writeBooleanValue("v10_0", iosMinimumOperatingSystem.v10_0);
62403
- writer.writeBooleanValue("v11_0", iosMinimumOperatingSystem.v11_0);
62404
- writer.writeBooleanValue("v12_0", iosMinimumOperatingSystem.v12_0);
62405
- writer.writeBooleanValue("v13_0", iosMinimumOperatingSystem.v13_0);
62406
- writer.writeBooleanValue("v14_0", iosMinimumOperatingSystem.v14_0);
62407
- writer.writeBooleanValue("v15_0", iosMinimumOperatingSystem.v15_0);
62408
- writer.writeBooleanValue("v8_0", iosMinimumOperatingSystem.v8_0);
62409
- writer.writeBooleanValue("v9_0", iosMinimumOperatingSystem.v9_0);
62449
+ writer.writeBooleanValue("v10_0", iosMinimumOperatingSystem.v100);
62450
+ writer.writeBooleanValue("v11_0", iosMinimumOperatingSystem.v110);
62451
+ writer.writeBooleanValue("v12_0", iosMinimumOperatingSystem.v120);
62452
+ writer.writeBooleanValue("v13_0", iosMinimumOperatingSystem.v130);
62453
+ writer.writeBooleanValue("v14_0", iosMinimumOperatingSystem.v140);
62454
+ writer.writeBooleanValue("v15_0", iosMinimumOperatingSystem.v150);
62455
+ writer.writeBooleanValue("v8_0", iosMinimumOperatingSystem.v80);
62456
+ writer.writeBooleanValue("v9_0", iosMinimumOperatingSystem.v90);
62410
62457
  writer.writeAdditionalData(iosMinimumOperatingSystem.additionalData);
62411
62458
  }
62412
62459
  }
@@ -62418,7 +62465,7 @@ export function serializeIosMinimumOperatingSystem(writer, iosMinimumOperatingSy
62418
62465
  export function serializeIosMobileAppConfiguration(writer, iosMobileAppConfiguration = {}) {
62419
62466
  if (iosMobileAppConfiguration) {
62420
62467
  serializeManagedDeviceMobileAppConfiguration(writer, iosMobileAppConfiguration);
62421
- writer.writeStringValue("encodedSettingXml", iosMobileAppConfiguration.encodedSettingXml);
62468
+ writer.writeObjectValue("encodedSettingXml", iosMobileAppConfiguration.encodedSettingXml);
62422
62469
  writer.writeCollectionOfObjectValues("settings", iosMobileAppConfiguration.settings, serializeAppConfigurationSettingItem);
62423
62470
  }
62424
62471
  }
@@ -62889,10 +62936,10 @@ export function serializeJoinMeetingIdSettings(writer, joinMeetingIdSettings = {
62889
62936
  // @ts-ignore
62890
62937
  export function serializeKeyCredential(writer, keyCredential = {}) {
62891
62938
  if (keyCredential) {
62892
- writer.writeStringValue("customKeyIdentifier", keyCredential.customKeyIdentifier);
62939
+ writer.writeObjectValue("customKeyIdentifier", keyCredential.customKeyIdentifier);
62893
62940
  writer.writeStringValue("displayName", keyCredential.displayName);
62894
62941
  writer.writeDateValue("endDateTime", keyCredential.endDateTime);
62895
- writer.writeStringValue("key", keyCredential.key);
62942
+ writer.writeObjectValue("key", keyCredential.key);
62896
62943
  writer.writeGuidValue("keyId", keyCredential.keyId);
62897
62944
  writer.writeStringValue("@odata.type", keyCredential.odataType);
62898
62945
  writer.writeDateValue("startDateTime", keyCredential.startDateTime);
@@ -63594,7 +63641,7 @@ export function serializeMacOSCompliancePolicy(writer, macOSCompliancePolicy = {
63594
63641
  export function serializeMacOSCustomConfiguration(writer, macOSCustomConfiguration = {}) {
63595
63642
  if (macOSCustomConfiguration) {
63596
63643
  serializeDeviceConfiguration(writer, macOSCustomConfiguration);
63597
- writer.writeStringValue("payload", macOSCustomConfiguration.payload);
63644
+ writer.writeObjectValue("payload", macOSCustomConfiguration.payload);
63598
63645
  writer.writeStringValue("payloadFileName", macOSCustomConfiguration.payloadFileName);
63599
63646
  writer.writeStringValue("payloadName", macOSCustomConfiguration.payloadName);
63600
63647
  }
@@ -63754,18 +63801,18 @@ export function serializeMacOSMicrosoftEdgeApp(writer, macOSMicrosoftEdgeApp = {
63754
63801
  export function serializeMacOSMinimumOperatingSystem(writer, macOSMinimumOperatingSystem = {}) {
63755
63802
  if (macOSMinimumOperatingSystem) {
63756
63803
  writer.writeStringValue("@odata.type", macOSMinimumOperatingSystem.odataType);
63757
- writer.writeBooleanValue("v10_10", macOSMinimumOperatingSystem.v10_10);
63758
- writer.writeBooleanValue("v10_11", macOSMinimumOperatingSystem.v10_11);
63759
- writer.writeBooleanValue("v10_12", macOSMinimumOperatingSystem.v10_12);
63760
- writer.writeBooleanValue("v10_13", macOSMinimumOperatingSystem.v10_13);
63761
- writer.writeBooleanValue("v10_14", macOSMinimumOperatingSystem.v10_14);
63762
- writer.writeBooleanValue("v10_15", macOSMinimumOperatingSystem.v10_15);
63763
- writer.writeBooleanValue("v10_7", macOSMinimumOperatingSystem.v10_7);
63764
- writer.writeBooleanValue("v10_8", macOSMinimumOperatingSystem.v10_8);
63765
- writer.writeBooleanValue("v10_9", macOSMinimumOperatingSystem.v10_9);
63766
- writer.writeBooleanValue("v11_0", macOSMinimumOperatingSystem.v11_0);
63767
- writer.writeBooleanValue("v12_0", macOSMinimumOperatingSystem.v12_0);
63768
- writer.writeBooleanValue("v13_0", macOSMinimumOperatingSystem.v13_0);
63804
+ writer.writeBooleanValue("v10_10", macOSMinimumOperatingSystem.v1010);
63805
+ writer.writeBooleanValue("v10_11", macOSMinimumOperatingSystem.v1011);
63806
+ writer.writeBooleanValue("v10_12", macOSMinimumOperatingSystem.v1012);
63807
+ writer.writeBooleanValue("v10_13", macOSMinimumOperatingSystem.v1013);
63808
+ writer.writeBooleanValue("v10_14", macOSMinimumOperatingSystem.v1014);
63809
+ writer.writeBooleanValue("v10_15", macOSMinimumOperatingSystem.v1015);
63810
+ writer.writeBooleanValue("v10_7", macOSMinimumOperatingSystem.v107);
63811
+ writer.writeBooleanValue("v10_8", macOSMinimumOperatingSystem.v108);
63812
+ writer.writeBooleanValue("v10_9", macOSMinimumOperatingSystem.v109);
63813
+ writer.writeBooleanValue("v11_0", macOSMinimumOperatingSystem.v110);
63814
+ writer.writeBooleanValue("v12_0", macOSMinimumOperatingSystem.v120);
63815
+ writer.writeBooleanValue("v13_0", macOSMinimumOperatingSystem.v130);
63769
63816
  writer.writeAdditionalData(macOSMinimumOperatingSystem.additionalData);
63770
63817
  }
63771
63818
  }
@@ -65005,7 +65052,7 @@ export function serializeMessage(writer, message = {}) {
65005
65052
  writer.writeStringValue("bodyPreview", message.bodyPreview);
65006
65053
  writer.writeCollectionOfObjectValues("ccRecipients", message.ccRecipients, serializeRecipient);
65007
65054
  writer.writeStringValue("conversationId", message.conversationId);
65008
- writer.writeStringValue("conversationIndex", message.conversationIndex);
65055
+ writer.writeObjectValue("conversationIndex", message.conversationIndex);
65009
65056
  writer.writeCollectionOfObjectValues("extensions", message.extensions, serializeExtension);
65010
65057
  writer.writeObjectValue("flag", message.flag, serializeFollowupFlag);
65011
65058
  writer.writeObjectValue("from", message.from, serializeRecipient);
@@ -65362,7 +65409,7 @@ export function serializeMimeContent(writer, mimeContent = {}) {
65362
65409
  if (mimeContent) {
65363
65410
  writer.writeStringValue("@odata.type", mimeContent.odataType);
65364
65411
  writer.writeStringValue("type", mimeContent.type);
65365
- writer.writeStringValue("value", mimeContent.value);
65412
+ writer.writeObjectValue("value", mimeContent.value);
65366
65413
  writer.writeAdditionalData(mimeContent.additionalData);
65367
65414
  }
65368
65415
  }
@@ -65489,7 +65536,7 @@ export function serializeMobileAppContentFile(writer, mobileAppContentFile = {})
65489
65536
  if (mobileAppContentFile) {
65490
65537
  serializeEntity(writer, mobileAppContentFile);
65491
65538
  writer.writeBooleanValue("isDependency", mobileAppContentFile.isDependency);
65492
- writer.writeStringValue("manifest", mobileAppContentFile.manifest);
65539
+ writer.writeObjectValue("manifest", mobileAppContentFile.manifest);
65493
65540
  writer.writeStringValue("name", mobileAppContentFile.name);
65494
65541
  writer.writeNumberValue("size", mobileAppContentFile.size);
65495
65542
  writer.writeNumberValue("sizeEncrypted", mobileAppContentFile.sizeEncrypted);
@@ -66187,7 +66234,7 @@ export function serializeOmaSettingStringXml(writer, omaSettingStringXml = {}) {
66187
66234
  if (omaSettingStringXml) {
66188
66235
  serializeOmaSetting(writer, omaSettingStringXml);
66189
66236
  writer.writeStringValue("fileName", omaSettingStringXml.fileName);
66190
- writer.writeStringValue("value", omaSettingStringXml.value);
66237
+ writer.writeObjectValue("value", omaSettingStringXml.value);
66191
66238
  }
66192
66239
  }
66193
66240
  /**
@@ -66400,7 +66447,7 @@ export function serializeOnenoteOperationError(writer, onenoteOperationError = {
66400
66447
  export function serializeOnenotePage(writer, onenotePage = {}) {
66401
66448
  if (onenotePage) {
66402
66449
  serializeOnenoteEntitySchemaObjectModel(writer, onenotePage);
66403
- writer.writeStringValue("content", onenotePage.content);
66450
+ writer.writeObjectValue("content", onenotePage.content);
66404
66451
  writer.writeStringValue("contentUrl", onenotePage.contentUrl);
66405
66452
  writer.writeStringValue("createdByAppId", onenotePage.createdByAppId);
66406
66453
  writer.writeDateValue("lastModifiedDateTime", onenotePage.lastModifiedDateTime);
@@ -66472,7 +66519,7 @@ export function serializeOnenotePatchContentCommand(writer, onenotePatchContentC
66472
66519
  export function serializeOnenoteResource(writer, onenoteResource = {}) {
66473
66520
  if (onenoteResource) {
66474
66521
  serializeOnenoteEntityBaseModel(writer, onenoteResource);
66475
- writer.writeStringValue("content", onenoteResource.content);
66522
+ writer.writeObjectValue("content", onenoteResource.content);
66476
66523
  writer.writeStringValue("contentUrl", onenoteResource.contentUrl);
66477
66524
  }
66478
66525
  }
@@ -66555,7 +66602,7 @@ export function serializeOnInteractiveAuthFlowStartListener(writer, onInteractiv
66555
66602
  export function serializeOnlineMeeting(writer, onlineMeeting = {}) {
66556
66603
  if (onlineMeeting) {
66557
66604
  serializeOnlineMeetingBase(writer, onlineMeeting);
66558
- writer.writeStringValue("attendeeReport", onlineMeeting.attendeeReport);
66605
+ writer.writeObjectValue("attendeeReport", onlineMeeting.attendeeReport);
66559
66606
  writer.writeObjectValue("broadcastSettings", onlineMeeting.broadcastSettings, serializeBroadcastMeetingSettings);
66560
66607
  writer.writeDateValue("creationDateTime", onlineMeeting.creationDateTime);
66561
66608
  writer.writeDateValue("endDateTime", onlineMeeting.endDateTime);
@@ -67061,16 +67108,16 @@ export function serializeOrganizationalBrandingProperties(writer, organizational
67061
67108
  if (organizationalBrandingProperties) {
67062
67109
  serializeEntity(writer, organizationalBrandingProperties);
67063
67110
  writer.writeStringValue("backgroundColor", organizationalBrandingProperties.backgroundColor);
67064
- writer.writeStringValue("backgroundImage", organizationalBrandingProperties.backgroundImage);
67111
+ writer.writeObjectValue("backgroundImage", organizationalBrandingProperties.backgroundImage);
67065
67112
  writer.writeStringValue("backgroundImageRelativeUrl", organizationalBrandingProperties.backgroundImageRelativeUrl);
67066
- writer.writeStringValue("bannerLogo", organizationalBrandingProperties.bannerLogo);
67113
+ writer.writeObjectValue("bannerLogo", organizationalBrandingProperties.bannerLogo);
67067
67114
  writer.writeStringValue("bannerLogoRelativeUrl", organizationalBrandingProperties.bannerLogoRelativeUrl);
67068
67115
  writer.writeCollectionOfPrimitiveValues("cdnList", organizationalBrandingProperties.cdnList);
67069
67116
  writer.writeObjectValue("contentCustomization", organizationalBrandingProperties.contentCustomization, serializeContentCustomization);
67070
67117
  writer.writeStringValue("customAccountResetCredentialsUrl", organizationalBrandingProperties.customAccountResetCredentialsUrl);
67071
67118
  writer.writeStringValue("customCannotAccessYourAccountText", organizationalBrandingProperties.customCannotAccessYourAccountText);
67072
67119
  writer.writeStringValue("customCannotAccessYourAccountUrl", organizationalBrandingProperties.customCannotAccessYourAccountUrl);
67073
- writer.writeStringValue("customCSS", organizationalBrandingProperties.customCSS);
67120
+ writer.writeObjectValue("customCSS", organizationalBrandingProperties.customCSS);
67074
67121
  writer.writeStringValue("customCSSRelativeUrl", organizationalBrandingProperties.customCSSRelativeUrl);
67075
67122
  writer.writeStringValue("customForgotMyPasswordText", organizationalBrandingProperties.customForgotMyPasswordText);
67076
67123
  writer.writeStringValue("customPrivacyAndCookiesText", organizationalBrandingProperties.customPrivacyAndCookiesText);
@@ -67078,16 +67125,16 @@ export function serializeOrganizationalBrandingProperties(writer, organizational
67078
67125
  writer.writeStringValue("customResetItNowText", organizationalBrandingProperties.customResetItNowText);
67079
67126
  writer.writeStringValue("customTermsOfUseText", organizationalBrandingProperties.customTermsOfUseText);
67080
67127
  writer.writeStringValue("customTermsOfUseUrl", organizationalBrandingProperties.customTermsOfUseUrl);
67081
- writer.writeStringValue("favicon", organizationalBrandingProperties.favicon);
67128
+ writer.writeObjectValue("favicon", organizationalBrandingProperties.favicon);
67082
67129
  writer.writeStringValue("faviconRelativeUrl", organizationalBrandingProperties.faviconRelativeUrl);
67083
67130
  writer.writeStringValue("headerBackgroundColor", organizationalBrandingProperties.headerBackgroundColor);
67084
- writer.writeStringValue("headerLogo", organizationalBrandingProperties.headerLogo);
67131
+ writer.writeObjectValue("headerLogo", organizationalBrandingProperties.headerLogo);
67085
67132
  writer.writeStringValue("headerLogoRelativeUrl", organizationalBrandingProperties.headerLogoRelativeUrl);
67086
67133
  writer.writeObjectValue("loginPageLayoutConfiguration", organizationalBrandingProperties.loginPageLayoutConfiguration, serializeLoginPageLayoutConfiguration);
67087
67134
  writer.writeObjectValue("loginPageTextVisibilitySettings", organizationalBrandingProperties.loginPageTextVisibilitySettings, serializeLoginPageTextVisibilitySettings);
67088
67135
  writer.writeStringValue("signInPageText", organizationalBrandingProperties.signInPageText);
67089
- writer.writeStringValue("squareLogo", organizationalBrandingProperties.squareLogo);
67090
- writer.writeStringValue("squareLogoDark", organizationalBrandingProperties.squareLogoDark);
67136
+ writer.writeObjectValue("squareLogo", organizationalBrandingProperties.squareLogo);
67137
+ writer.writeObjectValue("squareLogoDark", organizationalBrandingProperties.squareLogoDark);
67091
67138
  writer.writeStringValue("squareLogoDarkRelativeUrl", organizationalBrandingProperties.squareLogoDarkRelativeUrl);
67092
67139
  writer.writeStringValue("squareLogoRelativeUrl", organizationalBrandingProperties.squareLogoRelativeUrl);
67093
67140
  writer.writeStringValue("usernameHintText", organizationalBrandingProperties.usernameHintText);
@@ -67425,7 +67472,7 @@ export function serializePasswordAuthenticationMethodCollectionResponse(writer,
67425
67472
  // @ts-ignore
67426
67473
  export function serializePasswordCredential(writer, passwordCredential = {}) {
67427
67474
  if (passwordCredential) {
67428
- writer.writeStringValue("customKeyIdentifier", passwordCredential.customKeyIdentifier);
67475
+ writer.writeObjectValue("customKeyIdentifier", passwordCredential.customKeyIdentifier);
67429
67476
  writer.writeStringValue("displayName", passwordCredential.displayName);
67430
67477
  writer.writeDateValue("endDateTime", passwordCredential.endDateTime);
67431
67478
  writer.writeStringValue("hint", passwordCredential.hint);
@@ -70154,7 +70201,7 @@ export function serializeRemovedState(writer, removedState = {}) {
70154
70201
  // @ts-ignore
70155
70202
  export function serializeReport(writer, report = {}) {
70156
70203
  if (report) {
70157
- writer.writeStringValue("content", report.content);
70204
+ writer.writeObjectValue("content", report.content);
70158
70205
  writer.writeStringValue("@odata.type", report.odataType);
70159
70206
  writer.writeAdditionalData(report.additionalData);
70160
70207
  }
@@ -71522,7 +71569,7 @@ export function serializeSecurity(writer, security = {}) {
71522
71569
  if (security) {
71523
71570
  serializeEntity(writer, security);
71524
71571
  writer.writeCollectionOfObjectValues("alerts", security.alerts, serializeAlert);
71525
- writer.writeCollectionOfObjectValues("alerts_v2", security.alerts_v2, serializeAlert);
71572
+ writer.writeCollectionOfObjectValues("alerts_v2", security.alertsV2, serializeAlert);
71526
71573
  writer.writeObjectValue("attackSimulation", security.attackSimulation, serializeAttackSimulationRoot);
71527
71574
  writer.writeObjectValue("cases", security.cases, serializeCasesRoot);
71528
71575
  writer.writeObjectValue("identities", security.identities, I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1);
@@ -71593,10 +71640,10 @@ export function serializeSelfServiceSignUpAuthenticationFlowConfiguration(writer
71593
71640
  // @ts-ignore
71594
71641
  export function serializeSelfSignedCertificate(writer, selfSignedCertificate = {}) {
71595
71642
  if (selfSignedCertificate) {
71596
- writer.writeStringValue("customKeyIdentifier", selfSignedCertificate.customKeyIdentifier);
71643
+ writer.writeObjectValue("customKeyIdentifier", selfSignedCertificate.customKeyIdentifier);
71597
71644
  writer.writeStringValue("displayName", selfSignedCertificate.displayName);
71598
71645
  writer.writeDateValue("endDateTime", selfSignedCertificate.endDateTime);
71599
- writer.writeStringValue("key", selfSignedCertificate.key);
71646
+ writer.writeObjectValue("key", selfSignedCertificate.key);
71600
71647
  writer.writeGuidValue("keyId", selfSignedCertificate.keyId);
71601
71648
  writer.writeStringValue("@odata.type", selfSignedCertificate.odataType);
71602
71649
  writer.writeDateValue("startDateTime", selfSignedCertificate.startDateTime);
@@ -71667,7 +71714,7 @@ export function serializeServiceAnnouncement(writer, serviceAnnouncement = {}) {
71667
71714
  export function serializeServiceAnnouncementAttachment(writer, serviceAnnouncementAttachment = {}) {
71668
71715
  if (serviceAnnouncementAttachment) {
71669
71716
  serializeEntity(writer, serviceAnnouncementAttachment);
71670
- writer.writeStringValue("content", serviceAnnouncementAttachment.content);
71717
+ writer.writeObjectValue("content", serviceAnnouncementAttachment.content);
71671
71718
  writer.writeStringValue("contentType", serviceAnnouncementAttachment.contentType);
71672
71719
  writer.writeDateValue("lastModifiedDateTime", serviceAnnouncementAttachment.lastModifiedDateTime);
71673
71720
  writer.writeStringValue("name", serviceAnnouncementAttachment.name);
@@ -72047,7 +72094,7 @@ export function serializeServiceUpdateMessage(writer, serviceUpdateMessage = {})
72047
72094
  serializeServiceAnnouncementBase(writer, serviceUpdateMessage);
72048
72095
  writer.writeDateValue("actionRequiredByDateTime", serviceUpdateMessage.actionRequiredByDateTime);
72049
72096
  writer.writeCollectionOfObjectValues("attachments", serviceUpdateMessage.attachments, serializeServiceAnnouncementAttachment);
72050
- writer.writeStringValue("attachmentsArchive", serviceUpdateMessage.attachmentsArchive);
72097
+ writer.writeObjectValue("attachmentsArchive", serviceUpdateMessage.attachmentsArchive);
72051
72098
  writer.writeObjectValue("body", serviceUpdateMessage.body, serializeItemBody);
72052
72099
  writer.writeEnumValue("category", serviceUpdateMessage.category);
72053
72100
  writer.writeBooleanValue("hasAttachments", serviceUpdateMessage.hasAttachments);
@@ -72584,7 +72631,7 @@ export function serializeSignIn(writer, signIn = {}) {
72584
72631
  writer.writeEnumValue("riskDetail", signIn.riskDetail);
72585
72632
  if (signIn.riskEventTypes)
72586
72633
  writer.writeEnumValue("riskEventTypes", ...signIn.riskEventTypes);
72587
- writer.writeCollectionOfPrimitiveValues("riskEventTypes_v2", signIn.riskEventTypes_v2);
72634
+ writer.writeCollectionOfPrimitiveValues("riskEventTypes_v2", signIn.riskEventTypesV2);
72588
72635
  writer.writeEnumValue("riskLevelAggregated", signIn.riskLevelAggregated);
72589
72636
  writer.writeEnumValue("riskLevelDuringSignIn", signIn.riskLevelDuringSignIn);
72590
72637
  writer.writeEnumValue("riskState", signIn.riskState);
@@ -74142,7 +74189,7 @@ export function serializeTargetUserSponsors(writer, targetUserSponsors = {}) {
74142
74189
  export function serializeTaskFileAttachment(writer, taskFileAttachment = {}) {
74143
74190
  if (taskFileAttachment) {
74144
74191
  serializeAttachmentBase(writer, taskFileAttachment);
74145
- writer.writeStringValue("contentBytes", taskFileAttachment.contentBytes);
74192
+ writer.writeObjectValue("contentBytes", taskFileAttachment.contentBytes);
74146
74193
  }
74147
74194
  }
74148
74195
  /**
@@ -74720,7 +74767,7 @@ export function serializeTeamworkConversationIdentity(writer, teamworkConversati
74720
74767
  export function serializeTeamworkHostedContent(writer, teamworkHostedContent = {}) {
74721
74768
  if (teamworkHostedContent) {
74722
74769
  serializeEntity(writer, teamworkHostedContent);
74723
- writer.writeStringValue("contentBytes", teamworkHostedContent.contentBytes);
74770
+ writer.writeObjectValue("contentBytes", teamworkHostedContent.contentBytes);
74724
74771
  writer.writeStringValue("contentType", teamworkHostedContent.contentType);
74725
74772
  }
74726
74773
  }
@@ -75226,7 +75273,7 @@ export function serializeThreatAssessmentResultCollectionResponse(writer, threat
75226
75273
  // @ts-ignore
75227
75274
  export function serializeThumbnail(writer, thumbnail = {}) {
75228
75275
  if (thumbnail) {
75229
- writer.writeStringValue("content", thumbnail.content);
75276
+ writer.writeObjectValue("content", thumbnail.content);
75230
75277
  writer.writeNumberValue("height", thumbnail.height);
75231
75278
  writer.writeStringValue("@odata.type", thumbnail.odataType);
75232
75279
  writer.writeStringValue("sourceItemId", thumbnail.sourceItemId);
@@ -76482,6 +76529,7 @@ export function serializeUser(writer, user = {}) {
76482
76529
  writer.writeObjectValue("inferenceClassification", user.inferenceClassification, serializeInferenceClassification);
76483
76530
  writer.writeObjectValue("insights", user.insights, serializeItemInsights);
76484
76531
  writer.writeCollectionOfPrimitiveValues("interests", user.interests);
76532
+ writer.writeBooleanValue("isManagementRestricted", user.isManagementRestricted);
76485
76533
  writer.writeBooleanValue("isResourceAccount", user.isResourceAccount);
76486
76534
  writer.writeStringValue("jobTitle", user.jobTitle);
76487
76535
  writer.writeCollectionOfObjectValues("joinedTeams", user.joinedTeams, serializeTeam);
@@ -76545,6 +76593,7 @@ export function serializeUser(writer, user = {}) {
76545
76593
  writer.writeObjectValue("signInActivity", user.signInActivity, serializeSignInActivity);
76546
76594
  writer.writeDateValue("signInSessionsValidFromDateTime", user.signInSessionsValidFromDateTime);
76547
76595
  writer.writeCollectionOfPrimitiveValues("skills", user.skills);
76596
+ writer.writeObjectValue("solutions", user.solutions, serializeUserSolutionRoot);
76548
76597
  writer.writeCollectionOfObjectValues("sponsors", user.sponsors, serializeDirectoryObject);
76549
76598
  writer.writeStringValue("state", user.state);
76550
76599
  writer.writeStringValue("streetAddress", user.streetAddress);
@@ -77779,6 +77828,17 @@ export function serializeUserSimulationEventInfo(writer, userSimulationEventInfo
77779
77828
  * @param writer Serialization writer to use to serialize this model
77780
77829
  */
77781
77830
  // @ts-ignore
77831
+ export function serializeUserSolutionRoot(writer, userSolutionRoot = {}) {
77832
+ if (userSolutionRoot) {
77833
+ serializeEntity(writer, userSolutionRoot);
77834
+ writer.writeObjectValue("workingTimeSchedule", userSolutionRoot.workingTimeSchedule, serializeWorkingTimeSchedule);
77835
+ }
77836
+ }
77837
+ /**
77838
+ * Serializes information the current object
77839
+ * @param writer Serialization writer to use to serialize this model
77840
+ */
77841
+ // @ts-ignore
77782
77842
  export function serializeUserStorage(writer, userStorage = {}) {
77783
77843
  if (userStorage) {
77784
77844
  serializeEntity(writer, userStorage);
@@ -77993,7 +78053,7 @@ export function serializeVirtualEventPresenterDetails(writer, virtualEventPresen
77993
78053
  writer.writeStringValue("linkedInProfileWebUrl", virtualEventPresenterDetails.linkedInProfileWebUrl);
77994
78054
  writer.writeStringValue("@odata.type", virtualEventPresenterDetails.odataType);
77995
78055
  writer.writeStringValue("personalSiteWebUrl", virtualEventPresenterDetails.personalSiteWebUrl);
77996
- writer.writeStringValue("photo", virtualEventPresenterDetails.photo);
78056
+ writer.writeObjectValue("photo", virtualEventPresenterDetails.photo);
77997
78057
  writer.writeStringValue("twitterProfileWebUrl", virtualEventPresenterDetails.twitterProfileWebUrl);
77998
78058
  writer.writeAdditionalData(virtualEventPresenterDetails.additionalData);
77999
78059
  }
@@ -78666,7 +78726,7 @@ export function serializeWindows10EndpointProtectionConfiguration(writer, window
78666
78726
  writer.writeObjectValue("bitLockerRemovableDrivePolicy", windows10EndpointProtectionConfiguration.bitLockerRemovableDrivePolicy, serializeBitLockerRemovableDrivePolicy);
78667
78727
  writer.writeCollectionOfPrimitiveValues("defenderAdditionalGuardedFolders", windows10EndpointProtectionConfiguration.defenderAdditionalGuardedFolders);
78668
78728
  writer.writeCollectionOfPrimitiveValues("defenderAttackSurfaceReductionExcludedPaths", windows10EndpointProtectionConfiguration.defenderAttackSurfaceReductionExcludedPaths);
78669
- writer.writeStringValue("defenderExploitProtectionXml", windows10EndpointProtectionConfiguration.defenderExploitProtectionXml);
78729
+ writer.writeObjectValue("defenderExploitProtectionXml", windows10EndpointProtectionConfiguration.defenderExploitProtectionXml);
78670
78730
  writer.writeStringValue("defenderExploitProtectionXmlFileName", windows10EndpointProtectionConfiguration.defenderExploitProtectionXmlFileName);
78671
78731
  writer.writeCollectionOfPrimitiveValues("defenderGuardedFoldersAllowedAppPaths", windows10EndpointProtectionConfiguration.defenderGuardedFoldersAllowedAppPaths);
78672
78732
  writer.writeBooleanValue("defenderSecurityCenterBlockExploitProtectionOverride", windows10EndpointProtectionConfiguration.defenderSecurityCenterBlockExploitProtectionOverride);
@@ -78879,8 +78939,8 @@ export function serializeWindows10GeneralConfiguration(writer, windows10GeneralC
78879
78939
  writer.writeBooleanValue("startMenuHideSleep", windows10GeneralConfiguration.startMenuHideSleep);
78880
78940
  writer.writeBooleanValue("startMenuHideSwitchAccount", windows10GeneralConfiguration.startMenuHideSwitchAccount);
78881
78941
  writer.writeBooleanValue("startMenuHideUserTile", windows10GeneralConfiguration.startMenuHideUserTile);
78882
- writer.writeStringValue("startMenuLayoutEdgeAssetsXml", windows10GeneralConfiguration.startMenuLayoutEdgeAssetsXml);
78883
- writer.writeStringValue("startMenuLayoutXml", windows10GeneralConfiguration.startMenuLayoutXml);
78942
+ writer.writeObjectValue("startMenuLayoutEdgeAssetsXml", windows10GeneralConfiguration.startMenuLayoutEdgeAssetsXml);
78943
+ writer.writeObjectValue("startMenuLayoutXml", windows10GeneralConfiguration.startMenuLayoutXml);
78884
78944
  writer.writeEnumValue("startMenuMode", windows10GeneralConfiguration.startMenuMode);
78885
78945
  writer.writeEnumValue("startMenuPinnedFolderDocuments", windows10GeneralConfiguration.startMenuPinnedFolderDocuments);
78886
78946
  writer.writeEnumValue("startMenuPinnedFolderDownloads", windows10GeneralConfiguration.startMenuPinnedFolderDownloads);
@@ -79398,7 +79458,7 @@ export function serializeWindowsInformationProtectionAppLockerFile(writer, windo
79398
79458
  if (windowsInformationProtectionAppLockerFile) {
79399
79459
  serializeEntity(writer, windowsInformationProtectionAppLockerFile);
79400
79460
  writer.writeStringValue("displayName", windowsInformationProtectionAppLockerFile.displayName);
79401
- writer.writeStringValue("file", windowsInformationProtectionAppLockerFile.file);
79461
+ writer.writeObjectValue("file", windowsInformationProtectionAppLockerFile.file);
79402
79462
  writer.writeStringValue("fileHash", windowsInformationProtectionAppLockerFile.fileHash);
79403
79463
  writer.writeStringValue("version", windowsInformationProtectionAppLockerFile.version);
79404
79464
  }
@@ -79421,7 +79481,7 @@ export function serializeWindowsInformationProtectionAppLockerFileCollectionResp
79421
79481
  // @ts-ignore
79422
79482
  export function serializeWindowsInformationProtectionDataRecoveryCertificate(writer, windowsInformationProtectionDataRecoveryCertificate = {}) {
79423
79483
  if (windowsInformationProtectionDataRecoveryCertificate) {
79424
- writer.writeStringValue("certificate", windowsInformationProtectionDataRecoveryCertificate.certificate);
79484
+ writer.writeObjectValue("certificate", windowsInformationProtectionDataRecoveryCertificate.certificate);
79425
79485
  writer.writeStringValue("description", windowsInformationProtectionDataRecoveryCertificate.description);
79426
79486
  writer.writeDateValue("expirationDateTime", windowsInformationProtectionDataRecoveryCertificate.expirationDateTime);
79427
79487
  writer.writeStringValue("@odata.type", windowsInformationProtectionDataRecoveryCertificate.odataType);
@@ -79690,9 +79750,9 @@ export function serializeWindowsMicrosoftEdgeApp(writer, windowsMicrosoftEdgeApp
79690
79750
  export function serializeWindowsMinimumOperatingSystem(writer, windowsMinimumOperatingSystem = {}) {
79691
79751
  if (windowsMinimumOperatingSystem) {
79692
79752
  writer.writeStringValue("@odata.type", windowsMinimumOperatingSystem.odataType);
79693
- writer.writeBooleanValue("v10_0", windowsMinimumOperatingSystem.v10_0);
79694
- writer.writeBooleanValue("v8_0", windowsMinimumOperatingSystem.v8_0);
79695
- writer.writeBooleanValue("v8_1", windowsMinimumOperatingSystem.v8_1);
79753
+ writer.writeBooleanValue("v10_0", windowsMinimumOperatingSystem.v100);
79754
+ writer.writeBooleanValue("v8_0", windowsMinimumOperatingSystem.v80);
79755
+ writer.writeBooleanValue("v8_1", windowsMinimumOperatingSystem.v81);
79696
79756
  writer.writeAdditionalData(windowsMinimumOperatingSystem.additionalData);
79697
79757
  }
79698
79758
  }
@@ -80963,6 +81023,16 @@ export function serializeWorkingHours(writer, workingHours = {}) {
80963
81023
  * @param writer Serialization writer to use to serialize this model
80964
81024
  */
80965
81025
  // @ts-ignore
81026
+ export function serializeWorkingTimeSchedule(writer, workingTimeSchedule = {}) {
81027
+ if (workingTimeSchedule) {
81028
+ serializeEntity(writer, workingTimeSchedule);
81029
+ }
81030
+ }
81031
+ /**
81032
+ * Serializes information the current object
81033
+ * @param writer Serialization writer to use to serialize this model
81034
+ */
81035
+ // @ts-ignore
80966
81036
  export function serializeX509CertificateAuthenticationMethodConfiguration(writer, x509CertificateAuthenticationMethodConfiguration = {}) {
80967
81037
  if (x509CertificateAuthenticationMethodConfiguration) {
80968
81038
  serializeAuthenticationMethodConfiguration(writer, x509CertificateAuthenticationMethodConfiguration);
@@ -82178,9 +82248,15 @@ export const ColumnTypesObject = {
82178
82248
  ApprovalStatus: "approvalStatus",
82179
82249
  UnknownFutureValue: "unknownFutureValue",
82180
82250
  };
82251
+ /**
82252
+ * Types of communityPrivacy.
82253
+ */
82181
82254
  export const CommunityPrivacyObject = {
82255
+ /** Any user from the tenant can join and participate in the community. */
82182
82256
  Public: "public",
82257
+ /** A community administrator must add tenant users to the community before they can participate. */
82183
82258
  Private: "private",
82259
+ /** A marker value for members added after the release of this API. */
82184
82260
  UnknownFutureValue: "unknownFutureValue",
82185
82261
  };
82186
82262
  /**
@@ -83025,8 +83101,13 @@ export const EndUserNotificationTypeObject = {
83025
83101
  TrainingReminder: "trainingReminder",
83026
83102
  UnknownFutureValue: "unknownFutureValue",
83027
83103
  };
83104
+ /**
83105
+ * Types of engagementAsyncOperationType. Members will be added here as more async operations are supported.
83106
+ */
83028
83107
  export const EngagementAsyncOperationTypeObject = {
83108
+ /** Operation to create a Viva Engage community. */
83029
83109
  CreateCommunity: "createCommunity",
83110
+ /** A marker value for members added after the release of this API. */
83030
83111
  UnknownFutureValue: "unknownFutureValue",
83031
83112
  };
83032
83113
  export const EnrollmentStateObject = {