@microsoft/msgraph-sdk 1.0.0-preview.67 → 1.0.0-preview.69

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
@@ -2646,6 +2646,8 @@ export function createAuthenticationEventListenerFromDiscriminatorValue(parseNod
2646
2646
  return deserializeIntoOnAttributeCollectionSubmitListener;
2647
2647
  case "#microsoft.graph.onAuthenticationMethodLoadStartListener":
2648
2648
  return deserializeIntoOnAuthenticationMethodLoadStartListener;
2649
+ case "#microsoft.graph.onEmailOtpSendListener":
2650
+ return deserializeIntoOnEmailOtpSendListener;
2649
2651
  case "#microsoft.graph.onInteractiveAuthFlowStartListener":
2650
2652
  return deserializeIntoOnInteractiveAuthFlowStartListener;
2651
2653
  case "#microsoft.graph.onTokenIssuanceStartListener":
@@ -5935,6 +5937,8 @@ export function createCustomAuthenticationExtensionFromDiscriminatorValue(parseN
5935
5937
  return deserializeIntoOnAttributeCollectionStartCustomExtension;
5936
5938
  case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
5937
5939
  return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
5940
+ case "#microsoft.graph.onOtpSendCustomExtension":
5941
+ return deserializeIntoOnOtpSendCustomExtension;
5938
5942
  case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
5939
5943
  return deserializeIntoOnTokenIssuanceStartCustomExtension;
5940
5944
  }
@@ -5977,6 +5981,8 @@ export function createCustomCalloutExtensionFromDiscriminatorValue(parseNode) {
5977
5981
  return deserializeIntoOnAttributeCollectionStartCustomExtension;
5978
5982
  case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
5979
5983
  return deserializeIntoOnAttributeCollectionSubmitCustomExtension;
5984
+ case "#microsoft.graph.onOtpSendCustomExtension":
5985
+ return deserializeIntoOnOtpSendCustomExtension;
5980
5986
  case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
5981
5987
  return deserializeIntoOnTokenIssuanceStartCustomExtension;
5982
5988
  }
@@ -6007,6 +6013,27 @@ export function createCustomExtensionAuthenticationConfigurationFromDiscriminato
6007
6013
  }
6008
6014
  return deserializeIntoCustomExtensionAuthenticationConfiguration;
6009
6015
  }
6016
+ /**
6017
+ * Creates a new instance of the appropriate class based on discriminator value
6018
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6019
+ * @returns {CustomExtensionBehaviorOnError}
6020
+ */
6021
+ // @ts-ignore
6022
+ export function createCustomExtensionBehaviorOnErrorFromDiscriminatorValue(parseNode) {
6023
+ if (!parseNode)
6024
+ throw new Error("parseNode cannot be undefined");
6025
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
6026
+ if (mappingValueNode) {
6027
+ const mappingValue = mappingValueNode.getStringValue();
6028
+ if (mappingValue) {
6029
+ switch (mappingValue) {
6030
+ case "#microsoft.graph.fallbackToMicrosoftProviderOnError":
6031
+ return deserializeIntoFallbackToMicrosoftProviderOnError;
6032
+ }
6033
+ }
6034
+ }
6035
+ return deserializeIntoCustomExtensionBehaviorOnError;
6036
+ }
6010
6037
  /**
6011
6038
  * Creates a new instance of the appropriate class based on discriminator value
6012
6039
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -10072,6 +10099,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10072
10099
  return deserializeIntoMobileAppContent;
10073
10100
  case "#microsoft.graph.mobileAppContentFile":
10074
10101
  return deserializeIntoMobileAppContentFile;
10102
+ case "#microsoft.graph.mobileAppRelationship":
10103
+ return deserializeIntoMobileAppRelationship;
10075
10104
  case "#microsoft.graph.mobileAppTroubleshootingEvent":
10076
10105
  return deserializeIntoMobileAppTroubleshootingEvent;
10077
10106
  case "#microsoft.graph.mobileContainedApp":
@@ -10122,6 +10151,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10122
10151
  return deserializeIntoOneDriveForBusinessProtectionPolicy;
10123
10152
  case "#microsoft.graph.oneDriveForBusinessRestoreSession":
10124
10153
  return deserializeIntoOneDriveForBusinessRestoreSession;
10154
+ case "#microsoft.graph.onEmailOtpSendListener":
10155
+ return deserializeIntoOnEmailOtpSendListener;
10125
10156
  case "#microsoft.graph.onenote":
10126
10157
  return deserializeIntoOnenote;
10127
10158
  case "#microsoft.graph.onenoteEntityBaseModel":
@@ -10144,6 +10175,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10144
10175
  return deserializeIntoOnlineMeeting;
10145
10176
  case "#microsoft.graph.onlineMeetingBase":
10146
10177
  return deserializeIntoOnlineMeetingBase;
10178
+ case "#microsoft.graph.onOtpSendCustomExtension":
10179
+ return deserializeIntoOnOtpSendCustomExtension;
10147
10180
  case "#microsoft.graph.onPremisesConditionalAccessSettings":
10148
10181
  return deserializeIntoOnPremisesConditionalAccessSettings;
10149
10182
  case "#microsoft.graph.onPremisesDirectorySynchronization":
@@ -11484,6 +11517,15 @@ export function createExternalUsersSelfServiceSignUpEventsFlowFromDiscriminatorV
11484
11517
  export function createExtractSensitivityLabelsResultFromDiscriminatorValue(parseNode) {
11485
11518
  return deserializeIntoExtractSensitivityLabelsResult;
11486
11519
  }
11520
+ /**
11521
+ * Creates a new instance of the appropriate class based on discriminator value
11522
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11523
+ * @returns {FallbackToMicrosoftProviderOnError}
11524
+ */
11525
+ // @ts-ignore
11526
+ export function createFallbackToMicrosoftProviderOnErrorFromDiscriminatorValue(parseNode) {
11527
+ return deserializeIntoFallbackToMicrosoftProviderOnError;
11528
+ }
11487
11529
  /**
11488
11530
  * Creates a new instance of the appropriate class based on discriminator value
11489
11531
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -12799,6 +12841,15 @@ export function createIosCompliancePolicyFromDiscriminatorValue(parseNode) {
12799
12841
  export function createIosCustomConfigurationFromDiscriminatorValue(parseNode) {
12800
12842
  return deserializeIntoIosCustomConfiguration;
12801
12843
  }
12844
+ /**
12845
+ * Creates a new instance of the appropriate class based on discriminator value
12846
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12847
+ * @returns {IosDdmLobAppAssignmentSettings}
12848
+ */
12849
+ // @ts-ignore
12850
+ export function createIosDdmLobAppAssignmentSettingsFromDiscriminatorValue(parseNode) {
12851
+ return deserializeIntoIosDdmLobAppAssignmentSettings;
12852
+ }
12802
12853
  /**
12803
12854
  * Creates a new instance of the appropriate class based on discriminator value
12804
12855
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -15245,6 +15296,8 @@ export function createMobileAppAssignmentSettingsFromDiscriminatorValue(parseNod
15245
15296
  const mappingValue = mappingValueNode.getStringValue();
15246
15297
  if (mappingValue) {
15247
15298
  switch (mappingValue) {
15299
+ case "#microsoft.graph.iosDdmLobAppAssignmentSettings":
15300
+ return deserializeIntoIosDdmLobAppAssignmentSettings;
15248
15301
  case "#microsoft.graph.iosLobAppAssignmentSettings":
15249
15302
  return deserializeIntoIosLobAppAssignmentSettings;
15250
15303
  case "#microsoft.graph.iosStoreAppAssignmentSettings":
@@ -15432,6 +15485,24 @@ export function createMobileAppIdentifierFromDiscriminatorValue(parseNode) {
15432
15485
  export function createMobileAppInstallTimeSettingsFromDiscriminatorValue(parseNode) {
15433
15486
  return deserializeIntoMobileAppInstallTimeSettings;
15434
15487
  }
15488
+ /**
15489
+ * Creates a new instance of the appropriate class based on discriminator value
15490
+ * @param parseNode The parse node to use to read the discriminator value and create the object
15491
+ * @returns {MobileAppRelationshipCollectionResponse}
15492
+ */
15493
+ // @ts-ignore
15494
+ export function createMobileAppRelationshipCollectionResponseFromDiscriminatorValue(parseNode) {
15495
+ return deserializeIntoMobileAppRelationshipCollectionResponse;
15496
+ }
15497
+ /**
15498
+ * Creates a new instance of the appropriate class based on discriminator value
15499
+ * @param parseNode The parse node to use to read the discriminator value and create the object
15500
+ * @returns {MobileAppRelationship}
15501
+ */
15502
+ // @ts-ignore
15503
+ export function createMobileAppRelationshipFromDiscriminatorValue(parseNode) {
15504
+ return deserializeIntoMobileAppRelationship;
15505
+ }
15435
15506
  /**
15436
15507
  * Creates a new instance of the appropriate class based on discriminator value
15437
15508
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -16183,6 +16254,15 @@ export function createOneDriveForBusinessRestoreSessionCollectionResponseFromDis
16183
16254
  export function createOneDriveForBusinessRestoreSessionFromDiscriminatorValue(parseNode) {
16184
16255
  return deserializeIntoOneDriveForBusinessRestoreSession;
16185
16256
  }
16257
+ /**
16258
+ * Creates a new instance of the appropriate class based on discriminator value
16259
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16260
+ * @returns {OnEmailOtpSendListener}
16261
+ */
16262
+ // @ts-ignore
16263
+ export function createOnEmailOtpSendListenerFromDiscriminatorValue(parseNode) {
16264
+ return deserializeIntoOnEmailOtpSendListener;
16265
+ }
16186
16266
  /**
16187
16267
  * Creates a new instance of the appropriate class based on discriminator value
16188
16268
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -16485,6 +16565,45 @@ export function createOnlineMeetingInfoFromDiscriminatorValue(parseNode) {
16485
16565
  export function createOnlineMeetingRestrictedFromDiscriminatorValue(parseNode) {
16486
16566
  return deserializeIntoOnlineMeetingRestricted;
16487
16567
  }
16568
+ /**
16569
+ * Creates a new instance of the appropriate class based on discriminator value
16570
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16571
+ * @returns {OnOtpSendCustomExtension}
16572
+ */
16573
+ // @ts-ignore
16574
+ export function createOnOtpSendCustomExtensionFromDiscriminatorValue(parseNode) {
16575
+ return deserializeIntoOnOtpSendCustomExtension;
16576
+ }
16577
+ /**
16578
+ * Creates a new instance of the appropriate class based on discriminator value
16579
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16580
+ * @returns {OnOtpSendCustomExtensionHandler}
16581
+ */
16582
+ // @ts-ignore
16583
+ export function createOnOtpSendCustomExtensionHandlerFromDiscriminatorValue(parseNode) {
16584
+ return deserializeIntoOnOtpSendCustomExtensionHandler;
16585
+ }
16586
+ /**
16587
+ * Creates a new instance of the appropriate class based on discriminator value
16588
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16589
+ * @returns {OnOtpSendHandler}
16590
+ */
16591
+ // @ts-ignore
16592
+ export function createOnOtpSendHandlerFromDiscriminatorValue(parseNode) {
16593
+ if (!parseNode)
16594
+ throw new Error("parseNode cannot be undefined");
16595
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
16596
+ if (mappingValueNode) {
16597
+ const mappingValue = mappingValueNode.getStringValue();
16598
+ if (mappingValue) {
16599
+ switch (mappingValue) {
16600
+ case "#microsoft.graph.onOtpSendCustomExtensionHandler":
16601
+ return deserializeIntoOnOtpSendCustomExtensionHandler;
16602
+ }
16603
+ }
16604
+ }
16605
+ return deserializeIntoOnOtpSendHandler;
16606
+ }
16488
16607
  /**
16489
16608
  * Creates a new instance of the appropriate class based on discriminator value
16490
16609
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -28268,7 +28387,15 @@ export function deserializeIntoAiInteraction(aiInteraction = {}) {
28268
28387
  */
28269
28388
  // @ts-ignore
28270
28389
  export function deserializeIntoAiInteractionAttachment(aiInteractionAttachment = {}) {
28271
- return Object.assign(Object.assign({}, deserializeIntoEntity(aiInteractionAttachment)), { "attachmentId": n => { aiInteractionAttachment.attachmentId = n.getStringValue(); }, "content": n => { aiInteractionAttachment.content = n.getStringValue(); }, "contentType": n => { aiInteractionAttachment.contentType = n.getStringValue(); }, "contentUrl": n => { aiInteractionAttachment.contentUrl = n.getStringValue(); }, "name": n => { aiInteractionAttachment.name = n.getStringValue(); } });
28390
+ return {
28391
+ "attachmentId": n => { aiInteractionAttachment.attachmentId = n.getStringValue(); },
28392
+ "backingStoreEnabled": n => { aiInteractionAttachment.backingStoreEnabled = true; },
28393
+ "content": n => { aiInteractionAttachment.content = n.getStringValue(); },
28394
+ "contentType": n => { aiInteractionAttachment.contentType = n.getStringValue(); },
28395
+ "contentUrl": n => { aiInteractionAttachment.contentUrl = n.getStringValue(); },
28396
+ "name": n => { aiInteractionAttachment.name = n.getStringValue(); },
28397
+ "@odata.type": n => { aiInteractionAttachment.odataType = n.getStringValue(); },
28398
+ };
28272
28399
  }
28273
28400
  /**
28274
28401
  * The deserialization information for the current model
@@ -28277,7 +28404,13 @@ export function deserializeIntoAiInteractionAttachment(aiInteractionAttachment =
28277
28404
  */
28278
28405
  // @ts-ignore
28279
28406
  export function deserializeIntoAiInteractionContext(aiInteractionContext = {}) {
28280
- return Object.assign(Object.assign({}, deserializeIntoEntity(aiInteractionContext)), { "contextReference": n => { aiInteractionContext.contextReference = n.getStringValue(); }, "contextType": n => { aiInteractionContext.contextType = n.getStringValue(); }, "displayName": n => { aiInteractionContext.displayName = n.getStringValue(); } });
28407
+ return {
28408
+ "backingStoreEnabled": n => { aiInteractionContext.backingStoreEnabled = true; },
28409
+ "contextReference": n => { aiInteractionContext.contextReference = n.getStringValue(); },
28410
+ "contextType": n => { aiInteractionContext.contextType = n.getStringValue(); },
28411
+ "displayName": n => { aiInteractionContext.displayName = n.getStringValue(); },
28412
+ "@odata.type": n => { aiInteractionContext.odataType = n.getStringValue(); },
28413
+ };
28281
28414
  }
28282
28415
  /**
28283
28416
  * The deserialization information for the current model
@@ -28295,7 +28428,13 @@ export function deserializeIntoAiInteractionHistory(aiInteractionHistory = {}) {
28295
28428
  */
28296
28429
  // @ts-ignore
28297
28430
  export function deserializeIntoAiInteractionLink(aiInteractionLink = {}) {
28298
- return Object.assign(Object.assign({}, deserializeIntoEntity(aiInteractionLink)), { "displayName": n => { aiInteractionLink.displayName = n.getStringValue(); }, "linkType": n => { aiInteractionLink.linkType = n.getStringValue(); }, "linkUrl": n => { aiInteractionLink.linkUrl = n.getStringValue(); } });
28431
+ return {
28432
+ "backingStoreEnabled": n => { aiInteractionLink.backingStoreEnabled = true; },
28433
+ "displayName": n => { aiInteractionLink.displayName = n.getStringValue(); },
28434
+ "linkType": n => { aiInteractionLink.linkType = n.getStringValue(); },
28435
+ "linkUrl": n => { aiInteractionLink.linkUrl = n.getStringValue(); },
28436
+ "@odata.type": n => { aiInteractionLink.odataType = n.getStringValue(); },
28437
+ };
28299
28438
  }
28300
28439
  /**
28301
28440
  * The deserialization information for the current model
@@ -28304,7 +28443,13 @@ export function deserializeIntoAiInteractionLink(aiInteractionLink = {}) {
28304
28443
  */
28305
28444
  // @ts-ignore
28306
28445
  export function deserializeIntoAiInteractionMention(aiInteractionMention = {}) {
28307
- return Object.assign(Object.assign({}, deserializeIntoEntity(aiInteractionMention)), { "mentioned": n => { aiInteractionMention.mentioned = n.getObjectValue(createAiInteractionMentionedIdentitySetFromDiscriminatorValue); }, "mentionId": n => { aiInteractionMention.mentionId = n.getNumberValue(); }, "mentionText": n => { aiInteractionMention.mentionText = n.getStringValue(); } });
28446
+ return {
28447
+ "backingStoreEnabled": n => { aiInteractionMention.backingStoreEnabled = true; },
28448
+ "mentioned": n => { aiInteractionMention.mentioned = n.getObjectValue(createAiInteractionMentionedIdentitySetFromDiscriminatorValue); },
28449
+ "mentionId": n => { aiInteractionMention.mentionId = n.getNumberValue(); },
28450
+ "mentionText": n => { aiInteractionMention.mentionText = n.getStringValue(); },
28451
+ "@odata.type": n => { aiInteractionMention.odataType = n.getStringValue(); },
28452
+ };
28308
28453
  }
28309
28454
  /**
28310
28455
  * The deserialization information for the current model
@@ -33555,7 +33700,7 @@ export function deserializeIntoCustomAppManagementConfiguration(customAppManagem
33555
33700
  */
33556
33701
  // @ts-ignore
33557
33702
  export function deserializeIntoCustomAuthenticationExtension(customAuthenticationExtension = {}) {
33558
- return Object.assign({}, deserializeIntoCustomCalloutExtension(customAuthenticationExtension));
33703
+ return Object.assign(Object.assign({}, deserializeIntoCustomCalloutExtension(customAuthenticationExtension)), { "behaviorOnError": n => { customAuthenticationExtension.behaviorOnError = n.getObjectValue(createCustomExtensionBehaviorOnErrorFromDiscriminatorValue); } });
33559
33704
  }
33560
33705
  /**
33561
33706
  * The deserialization information for the current model
@@ -33596,6 +33741,18 @@ export function deserializeIntoCustomExtensionAuthenticationConfiguration(custom
33596
33741
  "@odata.type": n => { customExtensionAuthenticationConfiguration.odataType = n.getStringValue(); },
33597
33742
  };
33598
33743
  }
33744
+ /**
33745
+ * The deserialization information for the current model
33746
+ * @param CustomExtensionBehaviorOnError The instance to deserialize into.
33747
+ * @returns {Record<string, (node: ParseNode) => void>}
33748
+ */
33749
+ // @ts-ignore
33750
+ export function deserializeIntoCustomExtensionBehaviorOnError(customExtensionBehaviorOnError = {}) {
33751
+ return {
33752
+ "backingStoreEnabled": n => { customExtensionBehaviorOnError.backingStoreEnabled = true; },
33753
+ "@odata.type": n => { customExtensionBehaviorOnError.odataType = n.getStringValue(); },
33754
+ };
33755
+ }
33599
33756
  /**
33600
33757
  * The deserialization information for the current model
33601
33758
  * @param CustomExtensionCallbackConfiguration The instance to deserialize into.
@@ -33673,6 +33830,7 @@ export function deserializeIntoCustomExtensionEndpointConfiguration(customExtens
33673
33830
  export function deserializeIntoCustomExtensionOverwriteConfiguration(customExtensionOverwriteConfiguration = {}) {
33674
33831
  return {
33675
33832
  "backingStoreEnabled": n => { customExtensionOverwriteConfiguration.backingStoreEnabled = true; },
33833
+ "behaviorOnError": n => { customExtensionOverwriteConfiguration.behaviorOnError = n.getObjectValue(createCustomExtensionBehaviorOnErrorFromDiscriminatorValue); },
33676
33834
  "clientConfiguration": n => { customExtensionOverwriteConfiguration.clientConfiguration = n.getObjectValue(createCustomExtensionClientConfigurationFromDiscriminatorValue); },
33677
33835
  "@odata.type": n => { customExtensionOverwriteConfiguration.odataType = n.getStringValue(); },
33678
33836
  };
@@ -34282,7 +34440,7 @@ export function deserializeIntoDeviceAndAppManagementRoleDefinition(deviceAndApp
34282
34440
  */
34283
34441
  // @ts-ignore
34284
34442
  export function deserializeIntoDeviceAppManagement(deviceAppManagement = {}) {
34285
- return Object.assign(Object.assign({}, deserializeIntoEntity(deviceAppManagement)), { "androidManagedAppProtections": n => { deviceAppManagement.androidManagedAppProtections = n.getCollectionOfObjectValues(createAndroidManagedAppProtectionFromDiscriminatorValue); }, "defaultManagedAppProtections": n => { deviceAppManagement.defaultManagedAppProtections = n.getCollectionOfObjectValues(createDefaultManagedAppProtectionFromDiscriminatorValue); }, "iosManagedAppProtections": n => { deviceAppManagement.iosManagedAppProtections = n.getCollectionOfObjectValues(createIosManagedAppProtectionFromDiscriminatorValue); }, "isEnabledForMicrosoftStoreForBusiness": n => { deviceAppManagement.isEnabledForMicrosoftStoreForBusiness = n.getBooleanValue(); }, "managedAppPolicies": n => { deviceAppManagement.managedAppPolicies = n.getCollectionOfObjectValues(createManagedAppPolicyFromDiscriminatorValue); }, "managedAppRegistrations": n => { deviceAppManagement.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedAppStatuses": n => { deviceAppManagement.managedAppStatuses = n.getCollectionOfObjectValues(createManagedAppStatusFromDiscriminatorValue); }, "managedEBooks": n => { deviceAppManagement.managedEBooks = n.getCollectionOfObjectValues(createManagedEBookFromDiscriminatorValue); }, "mdmWindowsInformationProtectionPolicies": n => { deviceAppManagement.mdmWindowsInformationProtectionPolicies = n.getCollectionOfObjectValues(createMdmWindowsInformationProtectionPolicyFromDiscriminatorValue); }, "microsoftStoreForBusinessLanguage": n => { deviceAppManagement.microsoftStoreForBusinessLanguage = n.getStringValue(); }, "microsoftStoreForBusinessLastCompletedApplicationSyncTime": n => { deviceAppManagement.microsoftStoreForBusinessLastCompletedApplicationSyncTime = n.getDateValue(); }, "microsoftStoreForBusinessLastSuccessfulSyncDateTime": n => { deviceAppManagement.microsoftStoreForBusinessLastSuccessfulSyncDateTime = n.getDateValue(); }, "mobileAppCategories": n => { deviceAppManagement.mobileAppCategories = n.getCollectionOfObjectValues(createMobileAppCategoryFromDiscriminatorValue); }, "mobileAppConfigurations": n => { deviceAppManagement.mobileAppConfigurations = n.getCollectionOfObjectValues(createManagedDeviceMobileAppConfigurationFromDiscriminatorValue); }, "mobileApps": n => { deviceAppManagement.mobileApps = n.getCollectionOfObjectValues(createMobileAppFromDiscriminatorValue); }, "targetedManagedAppConfigurations": n => { deviceAppManagement.targetedManagedAppConfigurations = n.getCollectionOfObjectValues(createTargetedManagedAppConfigurationFromDiscriminatorValue); }, "vppTokens": n => { deviceAppManagement.vppTokens = n.getCollectionOfObjectValues(createVppTokenFromDiscriminatorValue); }, "windowsInformationProtectionPolicies": n => { deviceAppManagement.windowsInformationProtectionPolicies = n.getCollectionOfObjectValues(createWindowsInformationProtectionPolicyFromDiscriminatorValue); } });
34443
+ return Object.assign(Object.assign({}, deserializeIntoEntity(deviceAppManagement)), { "androidManagedAppProtections": n => { deviceAppManagement.androidManagedAppProtections = n.getCollectionOfObjectValues(createAndroidManagedAppProtectionFromDiscriminatorValue); }, "defaultManagedAppProtections": n => { deviceAppManagement.defaultManagedAppProtections = n.getCollectionOfObjectValues(createDefaultManagedAppProtectionFromDiscriminatorValue); }, "iosManagedAppProtections": n => { deviceAppManagement.iosManagedAppProtections = n.getCollectionOfObjectValues(createIosManagedAppProtectionFromDiscriminatorValue); }, "isEnabledForMicrosoftStoreForBusiness": n => { deviceAppManagement.isEnabledForMicrosoftStoreForBusiness = n.getBooleanValue(); }, "managedAppPolicies": n => { deviceAppManagement.managedAppPolicies = n.getCollectionOfObjectValues(createManagedAppPolicyFromDiscriminatorValue); }, "managedAppRegistrations": n => { deviceAppManagement.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedAppStatuses": n => { deviceAppManagement.managedAppStatuses = n.getCollectionOfObjectValues(createManagedAppStatusFromDiscriminatorValue); }, "managedEBooks": n => { deviceAppManagement.managedEBooks = n.getCollectionOfObjectValues(createManagedEBookFromDiscriminatorValue); }, "mdmWindowsInformationProtectionPolicies": n => { deviceAppManagement.mdmWindowsInformationProtectionPolicies = n.getCollectionOfObjectValues(createMdmWindowsInformationProtectionPolicyFromDiscriminatorValue); }, "microsoftStoreForBusinessLanguage": n => { deviceAppManagement.microsoftStoreForBusinessLanguage = n.getStringValue(); }, "microsoftStoreForBusinessLastCompletedApplicationSyncTime": n => { deviceAppManagement.microsoftStoreForBusinessLastCompletedApplicationSyncTime = n.getDateValue(); }, "microsoftStoreForBusinessLastSuccessfulSyncDateTime": n => { deviceAppManagement.microsoftStoreForBusinessLastSuccessfulSyncDateTime = n.getDateValue(); }, "mobileAppCategories": n => { deviceAppManagement.mobileAppCategories = n.getCollectionOfObjectValues(createMobileAppCategoryFromDiscriminatorValue); }, "mobileAppConfigurations": n => { deviceAppManagement.mobileAppConfigurations = n.getCollectionOfObjectValues(createManagedDeviceMobileAppConfigurationFromDiscriminatorValue); }, "mobileAppRelationships": n => { deviceAppManagement.mobileAppRelationships = n.getCollectionOfObjectValues(createMobileAppRelationshipFromDiscriminatorValue); }, "mobileApps": n => { deviceAppManagement.mobileApps = n.getCollectionOfObjectValues(createMobileAppFromDiscriminatorValue); }, "targetedManagedAppConfigurations": n => { deviceAppManagement.targetedManagedAppConfigurations = n.getCollectionOfObjectValues(createTargetedManagedAppConfigurationFromDiscriminatorValue); }, "vppTokens": n => { deviceAppManagement.vppTokens = n.getCollectionOfObjectValues(createVppTokenFromDiscriminatorValue); }, "windowsInformationProtectionPolicies": n => { deviceAppManagement.windowsInformationProtectionPolicies = n.getCollectionOfObjectValues(createWindowsInformationProtectionPolicyFromDiscriminatorValue); } });
34286
34444
  }
34287
34445
  /**
34288
34446
  * The deserialization information for the current model
@@ -36953,6 +37111,15 @@ export function deserializeIntoExtractSensitivityLabelsResult(extractSensitivity
36953
37111
  "@odata.type": n => { extractSensitivityLabelsResult.odataType = n.getStringValue(); },
36954
37112
  };
36955
37113
  }
37114
+ /**
37115
+ * The deserialization information for the current model
37116
+ * @param FallbackToMicrosoftProviderOnError The instance to deserialize into.
37117
+ * @returns {Record<string, (node: ParseNode) => void>}
37118
+ */
37119
+ // @ts-ignore
37120
+ export function deserializeIntoFallbackToMicrosoftProviderOnError(fallbackToMicrosoftProviderOnError = {}) {
37121
+ return Object.assign({}, deserializeIntoCustomExtensionBehaviorOnError(fallbackToMicrosoftProviderOnError));
37122
+ }
36956
37123
  /**
36957
37124
  * The deserialization information for the current model
36958
37125
  * @param FeatureRolloutPolicy The instance to deserialize into.
@@ -38370,6 +38537,15 @@ export function deserializeIntoIosCompliancePolicy(iosCompliancePolicy = {}) {
38370
38537
  export function deserializeIntoIosCustomConfiguration(iosCustomConfiguration = {}) {
38371
38538
  return Object.assign(Object.assign({}, deserializeIntoDeviceConfiguration(iosCustomConfiguration)), { "payload": n => { iosCustomConfiguration.payload = n.getByteArrayValue(); }, "payloadFileName": n => { iosCustomConfiguration.payloadFileName = n.getStringValue(); }, "payloadName": n => { iosCustomConfiguration.payloadName = n.getStringValue(); } });
38372
38539
  }
38540
+ /**
38541
+ * The deserialization information for the current model
38542
+ * @param IosDdmLobAppAssignmentSettings The instance to deserialize into.
38543
+ * @returns {Record<string, (node: ParseNode) => void>}
38544
+ */
38545
+ // @ts-ignore
38546
+ export function deserializeIntoIosDdmLobAppAssignmentSettings(iosDdmLobAppAssignmentSettings = {}) {
38547
+ return Object.assign(Object.assign({}, deserializeIntoMobileAppAssignmentSettings(iosDdmLobAppAssignmentSettings)), { "associatedDomains": n => { iosDdmLobAppAssignmentSettings.associatedDomains = n.getCollectionOfPrimitiveValues(); }, "associatedDomainsDirectDownloadAllowed": n => { iosDdmLobAppAssignmentSettings.associatedDomainsDirectDownloadAllowed = n.getBooleanValue(); }, "preventManagedAppBackup": n => { iosDdmLobAppAssignmentSettings.preventManagedAppBackup = n.getBooleanValue(); }, "tapToPayScreenLockEnabled": n => { iosDdmLobAppAssignmentSettings.tapToPayScreenLockEnabled = n.getBooleanValue(); }, "vpnConfigurationId": n => { iosDdmLobAppAssignmentSettings.vpnConfigurationId = n.getStringValue(); } });
38548
+ }
38373
38549
  /**
38374
38550
  * The deserialization information for the current model
38375
38551
  * @param IosDeviceFeaturesConfiguration The instance to deserialize into.
@@ -41033,6 +41209,24 @@ export function deserializeIntoMobileAppInstallTimeSettings(mobileAppInstallTime
41033
41209
  "useLocalTime": n => { mobileAppInstallTimeSettings.useLocalTime = n.getBooleanValue(); },
41034
41210
  };
41035
41211
  }
41212
+ /**
41213
+ * The deserialization information for the current model
41214
+ * @param MobileAppRelationship The instance to deserialize into.
41215
+ * @returns {Record<string, (node: ParseNode) => void>}
41216
+ */
41217
+ // @ts-ignore
41218
+ export function deserializeIntoMobileAppRelationship(mobileAppRelationship = {}) {
41219
+ return Object.assign(Object.assign({}, deserializeIntoEntity(mobileAppRelationship)), { "sourceDisplayName": n => { mobileAppRelationship.sourceDisplayName = n.getStringValue(); }, "sourceDisplayVersion": n => { mobileAppRelationship.sourceDisplayVersion = n.getStringValue(); }, "sourceId": n => { mobileAppRelationship.sourceId = n.getStringValue(); }, "sourcePublisherDisplayName": n => { mobileAppRelationship.sourcePublisherDisplayName = n.getStringValue(); }, "targetDisplayName": n => { mobileAppRelationship.targetDisplayName = n.getStringValue(); }, "targetDisplayVersion": n => { mobileAppRelationship.targetDisplayVersion = n.getStringValue(); }, "targetId": n => { mobileAppRelationship.targetId = n.getStringValue(); }, "targetPublisherDisplayName": n => { mobileAppRelationship.targetPublisherDisplayName = n.getStringValue(); } });
41220
+ }
41221
+ /**
41222
+ * The deserialization information for the current model
41223
+ * @param MobileAppRelationshipCollectionResponse The instance to deserialize into.
41224
+ * @returns {Record<string, (node: ParseNode) => void>}
41225
+ */
41226
+ // @ts-ignore
41227
+ export function deserializeIntoMobileAppRelationshipCollectionResponse(mobileAppRelationshipCollectionResponse = {}) {
41228
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(mobileAppRelationshipCollectionResponse)), { "value": n => { mobileAppRelationshipCollectionResponse.value = n.getCollectionOfObjectValues(createMobileAppRelationshipFromDiscriminatorValue); } });
41229
+ }
41036
41230
  /**
41037
41231
  * The deserialization information for the current model
41038
41232
  * @param MobileAppTroubleshootingEvent The instance to deserialize into.
@@ -41748,6 +41942,15 @@ export function deserializeIntoOneDriveForBusinessRestoreSession(oneDriveForBusi
41748
41942
  export function deserializeIntoOneDriveForBusinessRestoreSessionCollectionResponse(oneDriveForBusinessRestoreSessionCollectionResponse = {}) {
41749
41943
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(oneDriveForBusinessRestoreSessionCollectionResponse)), { "value": n => { oneDriveForBusinessRestoreSessionCollectionResponse.value = n.getCollectionOfObjectValues(createOneDriveForBusinessRestoreSessionFromDiscriminatorValue); } });
41750
41944
  }
41945
+ /**
41946
+ * The deserialization information for the current model
41947
+ * @param OnEmailOtpSendListener The instance to deserialize into.
41948
+ * @returns {Record<string, (node: ParseNode) => void>}
41949
+ */
41950
+ // @ts-ignore
41951
+ export function deserializeIntoOnEmailOtpSendListener(onEmailOtpSendListener = {}) {
41952
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventListener(onEmailOtpSendListener)), { "handler": n => { onEmailOtpSendListener.handler = n.getObjectValue(createOnOtpSendHandlerFromDiscriminatorValue); } });
41953
+ }
41751
41954
  /**
41752
41955
  * The deserialization information for the current model
41753
41956
  * @param Onenote The instance to deserialize into.
@@ -42002,6 +42205,36 @@ export function deserializeIntoOnlineMeetingRestricted(onlineMeetingRestricted =
42002
42205
  "videoDisabled": n => { onlineMeetingRestricted.videoDisabled = n.getCollectionOfEnumValues(OnlineMeetingVideoDisabledReasonObject); },
42003
42206
  };
42004
42207
  }
42208
+ /**
42209
+ * The deserialization information for the current model
42210
+ * @param OnOtpSendCustomExtension The instance to deserialize into.
42211
+ * @returns {Record<string, (node: ParseNode) => void>}
42212
+ */
42213
+ // @ts-ignore
42214
+ export function deserializeIntoOnOtpSendCustomExtension(onOtpSendCustomExtension = {}) {
42215
+ return Object.assign({}, deserializeIntoCustomAuthenticationExtension(onOtpSendCustomExtension));
42216
+ }
42217
+ /**
42218
+ * The deserialization information for the current model
42219
+ * @param OnOtpSendCustomExtensionHandler The instance to deserialize into.
42220
+ * @returns {Record<string, (node: ParseNode) => void>}
42221
+ */
42222
+ // @ts-ignore
42223
+ export function deserializeIntoOnOtpSendCustomExtensionHandler(onOtpSendCustomExtensionHandler = {}) {
42224
+ return Object.assign(Object.assign({}, deserializeIntoOnOtpSendHandler(onOtpSendCustomExtensionHandler)), { "configuration": n => { onOtpSendCustomExtensionHandler.configuration = n.getObjectValue(createCustomExtensionOverwriteConfigurationFromDiscriminatorValue); }, "customExtension": n => { onOtpSendCustomExtensionHandler.customExtension = n.getObjectValue(createOnOtpSendCustomExtensionFromDiscriminatorValue); } });
42225
+ }
42226
+ /**
42227
+ * The deserialization information for the current model
42228
+ * @param OnOtpSendHandler The instance to deserialize into.
42229
+ * @returns {Record<string, (node: ParseNode) => void>}
42230
+ */
42231
+ // @ts-ignore
42232
+ export function deserializeIntoOnOtpSendHandler(onOtpSendHandler = {}) {
42233
+ return {
42234
+ "backingStoreEnabled": n => { onOtpSendHandler.backingStoreEnabled = true; },
42235
+ "@odata.type": n => { onOtpSendHandler.odataType = n.getStringValue(); },
42236
+ };
42237
+ }
42005
42238
  /**
42006
42239
  * The deserialization information for the current model
42007
42240
  * @param OnPremisesAccidentalDeletionPrevention The instance to deserialize into.
@@ -55857,12 +56090,13 @@ export function serializeAiInteractionAttachment(writer, aiInteractionAttachment
55857
56090
  if (!aiInteractionAttachment || isSerializingDerivedType) {
55858
56091
  return;
55859
56092
  }
55860
- serializeEntity(writer, aiInteractionAttachment, isSerializingDerivedType);
55861
56093
  writer.writeStringValue("attachmentId", aiInteractionAttachment.attachmentId);
55862
56094
  writer.writeStringValue("content", aiInteractionAttachment.content);
55863
56095
  writer.writeStringValue("contentType", aiInteractionAttachment.contentType);
55864
56096
  writer.writeStringValue("contentUrl", aiInteractionAttachment.contentUrl);
55865
56097
  writer.writeStringValue("name", aiInteractionAttachment.name);
56098
+ writer.writeStringValue("@odata.type", aiInteractionAttachment.odataType);
56099
+ writer.writeAdditionalData(aiInteractionAttachment.additionalData);
55866
56100
  }
55867
56101
  /**
55868
56102
  * Serializes information the current object
@@ -55875,10 +56109,11 @@ export function serializeAiInteractionContext(writer, aiInteractionContext = {},
55875
56109
  if (!aiInteractionContext || isSerializingDerivedType) {
55876
56110
  return;
55877
56111
  }
55878
- serializeEntity(writer, aiInteractionContext, isSerializingDerivedType);
55879
56112
  writer.writeStringValue("contextReference", aiInteractionContext.contextReference);
55880
56113
  writer.writeStringValue("contextType", aiInteractionContext.contextType);
55881
56114
  writer.writeStringValue("displayName", aiInteractionContext.displayName);
56115
+ writer.writeStringValue("@odata.type", aiInteractionContext.odataType);
56116
+ writer.writeAdditionalData(aiInteractionContext.additionalData);
55882
56117
  }
55883
56118
  /**
55884
56119
  * Serializes information the current object
@@ -55904,10 +56139,11 @@ export function serializeAiInteractionLink(writer, aiInteractionLink = {}, isSer
55904
56139
  if (!aiInteractionLink || isSerializingDerivedType) {
55905
56140
  return;
55906
56141
  }
55907
- serializeEntity(writer, aiInteractionLink, isSerializingDerivedType);
55908
56142
  writer.writeStringValue("displayName", aiInteractionLink.displayName);
55909
56143
  writer.writeStringValue("linkType", aiInteractionLink.linkType);
55910
56144
  writer.writeStringValue("linkUrl", aiInteractionLink.linkUrl);
56145
+ writer.writeStringValue("@odata.type", aiInteractionLink.odataType);
56146
+ writer.writeAdditionalData(aiInteractionLink.additionalData);
55911
56147
  }
55912
56148
  /**
55913
56149
  * Serializes information the current object
@@ -55920,10 +56156,11 @@ export function serializeAiInteractionMention(writer, aiInteractionMention = {},
55920
56156
  if (!aiInteractionMention || isSerializingDerivedType) {
55921
56157
  return;
55922
56158
  }
55923
- serializeEntity(writer, aiInteractionMention, isSerializingDerivedType);
55924
56159
  writer.writeObjectValue("mentioned", aiInteractionMention.mentioned, serializeAiInteractionMentionedIdentitySet);
55925
56160
  writer.writeNumberValue("mentionId", aiInteractionMention.mentionId);
55926
56161
  writer.writeStringValue("mentionText", aiInteractionMention.mentionText);
56162
+ writer.writeStringValue("@odata.type", aiInteractionMention.odataType);
56163
+ writer.writeAdditionalData(aiInteractionMention.additionalData);
55927
56164
  }
55928
56165
  /**
55929
56166
  * Serializes information the current object
@@ -58549,6 +58786,9 @@ export function serializeAuthenticationEventListener(writer, authenticationEvent
58549
58786
  case "#microsoft.graph.onAuthenticationMethodLoadStartListener":
58550
58787
  serializeOnAuthenticationMethodLoadStartListener(writer, authenticationEventListener, true);
58551
58788
  break;
58789
+ case "#microsoft.graph.onEmailOtpSendListener":
58790
+ serializeOnEmailOtpSendListener(writer, authenticationEventListener, true);
58791
+ break;
58552
58792
  case "#microsoft.graph.onInteractiveAuthFlowStartListener":
58553
58793
  serializeOnInteractiveAuthFlowStartListener(writer, authenticationEventListener, true);
58554
58794
  break;
@@ -64287,6 +64527,7 @@ export function serializeCustomAuthenticationExtension(writer, customAuthenticat
64287
64527
  return;
64288
64528
  }
64289
64529
  serializeCustomCalloutExtension(writer, customAuthenticationExtension, isSerializingDerivedType);
64530
+ writer.writeObjectValue("behaviorOnError", customAuthenticationExtension.behaviorOnError, serializeCustomExtensionBehaviorOnError);
64290
64531
  switch (customAuthenticationExtension.odataType) {
64291
64532
  case "#microsoft.graph.onAttributeCollectionStartCustomExtension":
64292
64533
  serializeOnAttributeCollectionStartCustomExtension(writer, customAuthenticationExtension, true);
@@ -64294,6 +64535,9 @@ export function serializeCustomAuthenticationExtension(writer, customAuthenticat
64294
64535
  case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
64295
64536
  serializeOnAttributeCollectionSubmitCustomExtension(writer, customAuthenticationExtension, true);
64296
64537
  break;
64538
+ case "#microsoft.graph.onOtpSendCustomExtension":
64539
+ serializeOnOtpSendCustomExtension(writer, customAuthenticationExtension, true);
64540
+ break;
64297
64541
  case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
64298
64542
  serializeOnTokenIssuanceStartCustomExtension(writer, customAuthenticationExtension, true);
64299
64543
  break;
@@ -64349,6 +64593,9 @@ export function serializeCustomCalloutExtension(writer, customCalloutExtension =
64349
64593
  case "#microsoft.graph.onAttributeCollectionSubmitCustomExtension":
64350
64594
  serializeOnAttributeCollectionSubmitCustomExtension(writer, customCalloutExtension, true);
64351
64595
  break;
64596
+ case "#microsoft.graph.onOtpSendCustomExtension":
64597
+ serializeOnOtpSendCustomExtension(writer, customCalloutExtension, true);
64598
+ break;
64352
64599
  case "#microsoft.graph.onTokenIssuanceStartCustomExtension":
64353
64600
  serializeOnTokenIssuanceStartCustomExtension(writer, customCalloutExtension, true);
64354
64601
  break;
@@ -64390,6 +64637,25 @@ export function serializeCustomExtensionAuthenticationConfiguration(writer, cust
64390
64637
  break;
64391
64638
  }
64392
64639
  }
64640
+ /**
64641
+ * Serializes information the current object
64642
+ * @param CustomExtensionBehaviorOnError The instance to serialize from.
64643
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
64644
+ * @param writer Serialization writer to use to serialize this model
64645
+ */
64646
+ // @ts-ignore
64647
+ export function serializeCustomExtensionBehaviorOnError(writer, customExtensionBehaviorOnError = {}, isSerializingDerivedType = false) {
64648
+ if (!customExtensionBehaviorOnError || isSerializingDerivedType) {
64649
+ return;
64650
+ }
64651
+ writer.writeStringValue("@odata.type", customExtensionBehaviorOnError.odataType);
64652
+ writer.writeAdditionalData(customExtensionBehaviorOnError.additionalData);
64653
+ switch (customExtensionBehaviorOnError.odataType) {
64654
+ case "#microsoft.graph.fallbackToMicrosoftProviderOnError":
64655
+ serializeFallbackToMicrosoftProviderOnError(writer, customExtensionBehaviorOnError, true);
64656
+ break;
64657
+ }
64658
+ }
64393
64659
  /**
64394
64660
  * Serializes information the current object
64395
64661
  * @param CustomExtensionCallbackConfiguration The instance to serialize from.
@@ -64503,6 +64769,7 @@ export function serializeCustomExtensionOverwriteConfiguration(writer, customExt
64503
64769
  if (!customExtensionOverwriteConfiguration || isSerializingDerivedType) {
64504
64770
  return;
64505
64771
  }
64772
+ writer.writeObjectValue("behaviorOnError", customExtensionOverwriteConfiguration.behaviorOnError, serializeCustomExtensionBehaviorOnError);
64506
64773
  writer.writeObjectValue("clientConfiguration", customExtensionOverwriteConfiguration.clientConfiguration, serializeCustomExtensionClientConfiguration);
64507
64774
  writer.writeStringValue("@odata.type", customExtensionOverwriteConfiguration.odataType);
64508
64775
  writer.writeAdditionalData(customExtensionOverwriteConfiguration.additionalData);
@@ -65525,6 +65792,7 @@ export function serializeDeviceAppManagement(writer, deviceAppManagement = {}, i
65525
65792
  writer.writeDateValue("microsoftStoreForBusinessLastSuccessfulSyncDateTime", deviceAppManagement.microsoftStoreForBusinessLastSuccessfulSyncDateTime);
65526
65793
  writer.writeCollectionOfObjectValues("mobileAppCategories", deviceAppManagement.mobileAppCategories, serializeMobileAppCategory);
65527
65794
  writer.writeCollectionOfObjectValues("mobileAppConfigurations", deviceAppManagement.mobileAppConfigurations, serializeManagedDeviceMobileAppConfiguration);
65795
+ writer.writeCollectionOfObjectValues("mobileAppRelationships", deviceAppManagement.mobileAppRelationships, serializeMobileAppRelationship);
65528
65796
  writer.writeCollectionOfObjectValues("mobileApps", deviceAppManagement.mobileApps, serializeMobileApp);
65529
65797
  writer.writeCollectionOfObjectValues("targetedManagedAppConfigurations", deviceAppManagement.targetedManagedAppConfigurations, serializeTargetedManagedAppConfiguration);
65530
65798
  writer.writeCollectionOfObjectValues("vppTokens", deviceAppManagement.vppTokens, serializeVppToken);
@@ -71214,6 +71482,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71214
71482
  case "#microsoft.graph.mobileAppContentFile":
71215
71483
  serializeMobileAppContentFile(writer, entity, true);
71216
71484
  break;
71485
+ case "#microsoft.graph.mobileAppRelationship":
71486
+ serializeMobileAppRelationship(writer, entity, true);
71487
+ break;
71217
71488
  case "#microsoft.graph.mobileAppTroubleshootingEvent":
71218
71489
  serializeMobileAppTroubleshootingEvent(writer, entity, true);
71219
71490
  break;
@@ -71289,6 +71560,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71289
71560
  case "#microsoft.graph.oneDriveForBusinessRestoreSession":
71290
71561
  serializeOneDriveForBusinessRestoreSession(writer, entity, true);
71291
71562
  break;
71563
+ case "#microsoft.graph.onEmailOtpSendListener":
71564
+ serializeOnEmailOtpSendListener(writer, entity, true);
71565
+ break;
71292
71566
  case "#microsoft.graph.onenote":
71293
71567
  serializeOnenote(writer, entity, true);
71294
71568
  break;
@@ -71322,6 +71596,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
71322
71596
  case "#microsoft.graph.onlineMeetingBase":
71323
71597
  serializeOnlineMeetingBase(writer, entity, true);
71324
71598
  break;
71599
+ case "#microsoft.graph.onOtpSendCustomExtension":
71600
+ serializeOnOtpSendCustomExtension(writer, entity, true);
71601
+ break;
71325
71602
  case "#microsoft.graph.onPremisesConditionalAccessSettings":
71326
71603
  serializeOnPremisesConditionalAccessSettings(writer, entity, true);
71327
71604
  break;
@@ -73383,6 +73660,19 @@ export function serializeExtractSensitivityLabelsResult(writer, extractSensitivi
73383
73660
  writer.writeStringValue("@odata.type", extractSensitivityLabelsResult.odataType);
73384
73661
  writer.writeAdditionalData(extractSensitivityLabelsResult.additionalData);
73385
73662
  }
73663
+ /**
73664
+ * Serializes information the current object
73665
+ * @param FallbackToMicrosoftProviderOnError The instance to serialize from.
73666
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
73667
+ * @param writer Serialization writer to use to serialize this model
73668
+ */
73669
+ // @ts-ignore
73670
+ export function serializeFallbackToMicrosoftProviderOnError(writer, fallbackToMicrosoftProviderOnError = {}, isSerializingDerivedType = false) {
73671
+ if (!fallbackToMicrosoftProviderOnError || isSerializingDerivedType) {
73672
+ return;
73673
+ }
73674
+ serializeCustomExtensionBehaviorOnError(writer, fallbackToMicrosoftProviderOnError, isSerializingDerivedType);
73675
+ }
73386
73676
  /**
73387
73677
  * Serializes information the current object
73388
73678
  * @param FeatureRolloutPolicy The instance to serialize from.
@@ -75603,6 +75893,24 @@ export function serializeIosCustomConfiguration(writer, iosCustomConfiguration =
75603
75893
  writer.writeStringValue("payloadFileName", iosCustomConfiguration.payloadFileName);
75604
75894
  writer.writeStringValue("payloadName", iosCustomConfiguration.payloadName);
75605
75895
  }
75896
+ /**
75897
+ * Serializes information the current object
75898
+ * @param IosDdmLobAppAssignmentSettings The instance to serialize from.
75899
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
75900
+ * @param writer Serialization writer to use to serialize this model
75901
+ */
75902
+ // @ts-ignore
75903
+ export function serializeIosDdmLobAppAssignmentSettings(writer, iosDdmLobAppAssignmentSettings = {}, isSerializingDerivedType = false) {
75904
+ if (!iosDdmLobAppAssignmentSettings || isSerializingDerivedType) {
75905
+ return;
75906
+ }
75907
+ serializeMobileAppAssignmentSettings(writer, iosDdmLobAppAssignmentSettings, isSerializingDerivedType);
75908
+ writer.writeCollectionOfPrimitiveValues("associatedDomains", iosDdmLobAppAssignmentSettings.associatedDomains);
75909
+ writer.writeBooleanValue("associatedDomainsDirectDownloadAllowed", iosDdmLobAppAssignmentSettings.associatedDomainsDirectDownloadAllowed);
75910
+ writer.writeBooleanValue("preventManagedAppBackup", iosDdmLobAppAssignmentSettings.preventManagedAppBackup);
75911
+ writer.writeBooleanValue("tapToPayScreenLockEnabled", iosDdmLobAppAssignmentSettings.tapToPayScreenLockEnabled);
75912
+ writer.writeStringValue("vpnConfigurationId", iosDdmLobAppAssignmentSettings.vpnConfigurationId);
75913
+ }
75606
75914
  /**
75607
75915
  * Serializes information the current object
75608
75916
  * @param IosDeviceFeaturesConfiguration The instance to serialize from.
@@ -80020,6 +80328,9 @@ export function serializeMobileAppAssignmentSettings(writer, mobileAppAssignment
80020
80328
  writer.writeStringValue("@odata.type", mobileAppAssignmentSettings.odataType);
80021
80329
  writer.writeAdditionalData(mobileAppAssignmentSettings.additionalData);
80022
80330
  switch (mobileAppAssignmentSettings.odataType) {
80331
+ case "#microsoft.graph.iosDdmLobAppAssignmentSettings":
80332
+ serializeIosDdmLobAppAssignmentSettings(writer, mobileAppAssignmentSettings, true);
80333
+ break;
80023
80334
  case "#microsoft.graph.iosLobAppAssignmentSettings":
80024
80335
  serializeIosLobAppAssignmentSettings(writer, mobileAppAssignmentSettings, true);
80025
80336
  break;
@@ -80189,6 +80500,34 @@ export function serializeMobileAppInstallTimeSettings(writer, mobileAppInstallTi
80189
80500
  writer.writeBooleanValue("useLocalTime", mobileAppInstallTimeSettings.useLocalTime);
80190
80501
  writer.writeAdditionalData(mobileAppInstallTimeSettings.additionalData);
80191
80502
  }
80503
+ /**
80504
+ * Serializes information the current object
80505
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
80506
+ * @param MobileAppRelationship The instance to serialize from.
80507
+ * @param writer Serialization writer to use to serialize this model
80508
+ */
80509
+ // @ts-ignore
80510
+ export function serializeMobileAppRelationship(writer, mobileAppRelationship = {}, isSerializingDerivedType = false) {
80511
+ if (!mobileAppRelationship || isSerializingDerivedType) {
80512
+ return;
80513
+ }
80514
+ serializeEntity(writer, mobileAppRelationship, isSerializingDerivedType);
80515
+ writer.writeStringValue("targetId", mobileAppRelationship.targetId);
80516
+ }
80517
+ /**
80518
+ * Serializes information the current object
80519
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
80520
+ * @param MobileAppRelationshipCollectionResponse The instance to serialize from.
80521
+ * @param writer Serialization writer to use to serialize this model
80522
+ */
80523
+ // @ts-ignore
80524
+ export function serializeMobileAppRelationshipCollectionResponse(writer, mobileAppRelationshipCollectionResponse = {}, isSerializingDerivedType = false) {
80525
+ if (!mobileAppRelationshipCollectionResponse || isSerializingDerivedType) {
80526
+ return;
80527
+ }
80528
+ serializeBaseCollectionPaginationCountResponse(writer, mobileAppRelationshipCollectionResponse, isSerializingDerivedType);
80529
+ writer.writeCollectionOfObjectValues("value", mobileAppRelationshipCollectionResponse.value, serializeMobileAppRelationship);
80530
+ }
80192
80531
  /**
80193
80532
  * Serializes information the current object
80194
80533
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -81342,6 +81681,20 @@ export function serializeOneDriveForBusinessRestoreSessionCollectionResponse(wri
81342
81681
  serializeBaseCollectionPaginationCountResponse(writer, oneDriveForBusinessRestoreSessionCollectionResponse, isSerializingDerivedType);
81343
81682
  writer.writeCollectionOfObjectValues("value", oneDriveForBusinessRestoreSessionCollectionResponse.value, serializeOneDriveForBusinessRestoreSession);
81344
81683
  }
81684
+ /**
81685
+ * Serializes information the current object
81686
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
81687
+ * @param OnEmailOtpSendListener The instance to serialize from.
81688
+ * @param writer Serialization writer to use to serialize this model
81689
+ */
81690
+ // @ts-ignore
81691
+ export function serializeOnEmailOtpSendListener(writer, onEmailOtpSendListener = {}, isSerializingDerivedType = false) {
81692
+ if (!onEmailOtpSendListener || isSerializingDerivedType) {
81693
+ return;
81694
+ }
81695
+ serializeAuthenticationEventListener(writer, onEmailOtpSendListener, isSerializingDerivedType);
81696
+ writer.writeObjectValue("handler", onEmailOtpSendListener.handler, serializeOnOtpSendHandler);
81697
+ }
81345
81698
  /**
81346
81699
  * Serializes information the current object
81347
81700
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -81823,6 +82176,53 @@ export function serializeOnlineMeetingRestricted(writer, onlineMeetingRestricted
81823
82176
  writer.writeEnumValue("videoDisabled", onlineMeetingRestricted.videoDisabled);
81824
82177
  writer.writeAdditionalData(onlineMeetingRestricted.additionalData);
81825
82178
  }
82179
+ /**
82180
+ * Serializes information the current object
82181
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
82182
+ * @param OnOtpSendCustomExtension The instance to serialize from.
82183
+ * @param writer Serialization writer to use to serialize this model
82184
+ */
82185
+ // @ts-ignore
82186
+ export function serializeOnOtpSendCustomExtension(writer, onOtpSendCustomExtension = {}, isSerializingDerivedType = false) {
82187
+ if (!onOtpSendCustomExtension || isSerializingDerivedType) {
82188
+ return;
82189
+ }
82190
+ serializeCustomAuthenticationExtension(writer, onOtpSendCustomExtension, isSerializingDerivedType);
82191
+ }
82192
+ /**
82193
+ * Serializes information the current object
82194
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
82195
+ * @param OnOtpSendCustomExtensionHandler The instance to serialize from.
82196
+ * @param writer Serialization writer to use to serialize this model
82197
+ */
82198
+ // @ts-ignore
82199
+ export function serializeOnOtpSendCustomExtensionHandler(writer, onOtpSendCustomExtensionHandler = {}, isSerializingDerivedType = false) {
82200
+ if (!onOtpSendCustomExtensionHandler || isSerializingDerivedType) {
82201
+ return;
82202
+ }
82203
+ serializeOnOtpSendHandler(writer, onOtpSendCustomExtensionHandler, isSerializingDerivedType);
82204
+ writer.writeObjectValue("configuration", onOtpSendCustomExtensionHandler.configuration, serializeCustomExtensionOverwriteConfiguration);
82205
+ writer.writeObjectValue("customExtension", onOtpSendCustomExtensionHandler.customExtension, serializeOnOtpSendCustomExtension);
82206
+ }
82207
+ /**
82208
+ * Serializes information the current object
82209
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
82210
+ * @param OnOtpSendHandler The instance to serialize from.
82211
+ * @param writer Serialization writer to use to serialize this model
82212
+ */
82213
+ // @ts-ignore
82214
+ export function serializeOnOtpSendHandler(writer, onOtpSendHandler = {}, isSerializingDerivedType = false) {
82215
+ if (!onOtpSendHandler || isSerializingDerivedType) {
82216
+ return;
82217
+ }
82218
+ writer.writeStringValue("@odata.type", onOtpSendHandler.odataType);
82219
+ writer.writeAdditionalData(onOtpSendHandler.additionalData);
82220
+ switch (onOtpSendHandler.odataType) {
82221
+ case "#microsoft.graph.onOtpSendCustomExtensionHandler":
82222
+ serializeOnOtpSendCustomExtensionHandler(writer, onOtpSendHandler, true);
82223
+ break;
82224
+ }
82225
+ }
81826
82226
  /**
81827
82227
  * Serializes information the current object
81828
82228
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -101637,7 +102037,7 @@ export const AutoRestartNotificationDismissalMethodObject = {
101637
102037
  Automatic: "automatic",
101638
102038
  /** User dismissal. Allows the user to dismiss the notification */
101639
102039
  User: "user",
101640
- /** Evolvable enum member */
102040
+ /** Evolvable enumeration sentinel value. Do not use. */
101641
102041
  UnknownFutureValue: "unknownFutureValue",
101642
102042
  };
101643
102043
  export const B2bIdentityProvidersTypeObject = {
@@ -102687,6 +103087,8 @@ export const DeviceEnrollmentTypeObject = {
102687
103087
  AppleUserEnrollment: "appleUserEnrollment",
102688
103088
  /** Indicates the device is enrolled via Apple User Enrollment with Company Portal using a device enrollment manager user. It results in an enrollment with a new partition for managed apps and data and which supports a limited set of management capabilities */
102689
103089
  AppleUserEnrollmentWithServiceAccount: "appleUserEnrollmentWithServiceAccount",
103090
+ /** Evolvable enumeration sentinel value. Do not use. */
103091
+ UnknownFutureValue: "unknownFutureValue",
102690
103092
  };
102691
103093
  /**
102692
103094
  * Device Exchange Access State.
@@ -102968,7 +103370,7 @@ export const DiskTypeObject = {
102968
103370
  Hdd: "hdd",
102969
103371
  /** Enum member for SSD devices. */
102970
103372
  Ssd: "ssd",
102971
- /** Evolvable enumeration sentinel value.Do not use. */
103373
+ /** Evolvable enumeration sentinel value. Do not use. */
102972
103374
  UnknownFutureValue: "unknownFutureValue",
102973
103375
  };
102974
103376
  export const DlpActionObject = {
@@ -103581,7 +103983,7 @@ export const MailTipsTypeObject = {
103581
103983
  export const ManagedAppAvailabilityObject = {
103582
103984
  /** A globally available app to all tenants. */
103583
103985
  Global: "global",
103584
- /** A line of business apps private to an organization. */
103986
+ /** A line-of-business apps private to an organization. */
103585
103987
  LineOfBusiness: "lineOfBusiness",
103586
103988
  };
103587
103989
  /**
@@ -107417,11 +107819,11 @@ export const WindowsDefenderProductStatusObject = {
107417
107819
  PendingFullScanDueToThreatAction: "pendingFullScanDueToThreatAction",
107418
107820
  /** Pending reboot due to threat action */
107419
107821
  PendingRebootDueToThreatAction: "pendingRebootDueToThreatAction",
107420
- /** Pending manual steps due to threat action */
107822
+ /** Pending manual steps due to threat action */
107421
107823
  PendingManualStepsDueToThreatAction: "pendingManualStepsDueToThreatAction",
107422
- /** AV signatures out of date */
107824
+ /** Antivirus (AV) signatures out of date */
107423
107825
  AvSignaturesOutOfDate: "avSignaturesOutOfDate",
107424
- /** AS signatures out of date */
107826
+ /** Antisypware (AS) signatures out of date */
107425
107827
  AsSignaturesOutOfDate: "asSignaturesOutOfDate",
107426
107828
  /** No quick scan has happened for a specified period */
107427
107829
  NoQuickScanHappenedForSpecifiedPeriod: "noQuickScanHappenedForSpecifiedPeriod",
@@ -107805,7 +108207,7 @@ export const WindowsUpdateForBusinessUpdateWeeksObject = {
107805
108207
  FourthWeek: "fourthWeek",
107806
108208
  /** Scheduled the update installation on every week of the month */
107807
108209
  EveryWeek: "everyWeek",
107808
- /** Evolvable enum member */
108210
+ /** Evolvable enumeration sentinel value. Do not use. */
107809
108211
  UnknownFutureValue: "unknownFutureValue",
107810
108212
  };
107811
108213
  /**
@@ -107820,7 +108222,7 @@ export const WindowsUpdateNotificationDisplayOptionObject = {
107820
108222
  RestartWarningsOnly: "restartWarningsOnly",
107821
108223
  /** Turn off all notifications, including restart warnings. */
107822
108224
  DisableAllNotifications: "disableAllNotifications",
107823
- /** Evolvable enum member */
108225
+ /** Evolvable enumeration sentinel value. Do not use. */
107824
108226
  UnknownFutureValue: "unknownFutureValue",
107825
108227
  };
107826
108228
  /**