@microsoft/msgraph-sdk 1.0.0-preview.79 → 1.0.0-preview.80

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
@@ -2936,6 +2936,8 @@ export function createAuthenticationMethodConfigurationFromDiscriminatorValue(pa
2936
2936
  switch (mappingValue) {
2937
2937
  case "#microsoft.graph.emailAuthenticationMethodConfiguration":
2938
2938
  return deserializeIntoEmailAuthenticationMethodConfiguration;
2939
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
2940
+ return deserializeIntoExternalAuthenticationMethodConfiguration;
2939
2941
  case "#microsoft.graph.fido2AuthenticationMethodConfiguration":
2940
2942
  return deserializeIntoFido2AuthenticationMethodConfiguration;
2941
2943
  case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration":
@@ -10455,6 +10457,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10455
10457
  return deserializeIntoEventMessageRequest;
10456
10458
  case "#microsoft.graph.eventMessageResponse":
10457
10459
  return deserializeIntoEventMessageResponse;
10460
+ case "#microsoft.graph.exchangeAdmin":
10461
+ return deserializeIntoExchangeAdmin;
10462
+ case "#microsoft.graph.exchangeMessageTrace":
10463
+ return deserializeIntoExchangeMessageTrace;
10464
+ case "#microsoft.graph.exchangeMessageTraceDetail":
10465
+ return deserializeIntoExchangeMessageTraceDetail;
10458
10466
  case "#microsoft.graph.exchangeProtectionPolicy":
10459
10467
  return deserializeIntoExchangeProtectionPolicy;
10460
10468
  case "#microsoft.graph.exchangeRestoreSession":
@@ -10465,6 +10473,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10465
10473
  return deserializeIntoExtensionProperty;
10466
10474
  case "#microsoft.graph.externalAuthenticationMethod":
10467
10475
  return deserializeIntoExternalAuthenticationMethod;
10476
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
10477
+ return deserializeIntoExternalAuthenticationMethodConfiguration;
10468
10478
  case "#microsoft.graph.externalConnectors.connectionOperation":
10469
10479
  return deserializeIntoConnectionOperation;
10470
10480
  case "#microsoft.graph.externalConnectors.externalActivity":
@@ -10779,6 +10789,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10779
10789
  return deserializeIntoMessage;
10780
10790
  case "#microsoft.graph.messageRule":
10781
10791
  return deserializeIntoMessageRule;
10792
+ case "#microsoft.graph.messageTracingRoot":
10793
+ return deserializeIntoMessageTracingRoot;
10782
10794
  case "#microsoft.graph.microsoftAccountUserConversationMember":
10783
10795
  return deserializeIntoMicrosoftAccountUserConversationMember;
10784
10796
  case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod":
@@ -12095,6 +12107,42 @@ export function createEventMessageRequestFromDiscriminatorValue(parseNode) {
12095
12107
  export function createEventMessageResponseFromDiscriminatorValue(parseNode) {
12096
12108
  return deserializeIntoEventMessageResponse;
12097
12109
  }
12110
+ /**
12111
+ * Creates a new instance of the appropriate class based on discriminator value
12112
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12113
+ * @returns {ExchangeAdmin}
12114
+ */
12115
+ // @ts-ignore
12116
+ export function createExchangeAdminFromDiscriminatorValue(parseNode) {
12117
+ return deserializeIntoExchangeAdmin;
12118
+ }
12119
+ /**
12120
+ * Creates a new instance of the appropriate class based on discriminator value
12121
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12122
+ * @returns {ExchangeMessageTraceCollectionResponse}
12123
+ */
12124
+ // @ts-ignore
12125
+ export function createExchangeMessageTraceCollectionResponseFromDiscriminatorValue(parseNode) {
12126
+ return deserializeIntoExchangeMessageTraceCollectionResponse;
12127
+ }
12128
+ /**
12129
+ * Creates a new instance of the appropriate class based on discriminator value
12130
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12131
+ * @returns {ExchangeMessageTraceDetail}
12132
+ */
12133
+ // @ts-ignore
12134
+ export function createExchangeMessageTraceDetailFromDiscriminatorValue(parseNode) {
12135
+ return deserializeIntoExchangeMessageTraceDetail;
12136
+ }
12137
+ /**
12138
+ * Creates a new instance of the appropriate class based on discriminator value
12139
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12140
+ * @returns {ExchangeMessageTrace}
12141
+ */
12142
+ // @ts-ignore
12143
+ export function createExchangeMessageTraceFromDiscriminatorValue(parseNode) {
12144
+ return deserializeIntoExchangeMessageTrace;
12145
+ }
12098
12146
  /**
12099
12147
  * Creates a new instance of the appropriate class based on discriminator value
12100
12148
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -12233,6 +12281,15 @@ export function createExtensionSchemaPropertyFromDiscriminatorValue(parseNode) {
12233
12281
  export function createExternalAuthenticationMethodCollectionResponseFromDiscriminatorValue(parseNode) {
12234
12282
  return deserializeIntoExternalAuthenticationMethodCollectionResponse;
12235
12283
  }
12284
+ /**
12285
+ * Creates a new instance of the appropriate class based on discriminator value
12286
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12287
+ * @returns {ExternalAuthenticationMethodConfiguration}
12288
+ */
12289
+ // @ts-ignore
12290
+ export function createExternalAuthenticationMethodConfigurationFromDiscriminatorValue(parseNode) {
12291
+ return deserializeIntoExternalAuthenticationMethodConfiguration;
12292
+ }
12236
12293
  /**
12237
12294
  * Creates a new instance of the appropriate class based on discriminator value
12238
12295
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -16154,6 +16211,15 @@ export function createMessageRulePredicatesFromDiscriminatorValue(parseNode) {
16154
16211
  export function createMessageSecurityStateFromDiscriminatorValue(parseNode) {
16155
16212
  return deserializeIntoMessageSecurityState;
16156
16213
  }
16214
+ /**
16215
+ * Creates a new instance of the appropriate class based on discriminator value
16216
+ * @param parseNode The parse node to use to read the discriminator value and create the object
16217
+ * @returns {MessageTracingRoot}
16218
+ */
16219
+ // @ts-ignore
16220
+ export function createMessageTracingRootFromDiscriminatorValue(parseNode) {
16221
+ return deserializeIntoMessageTracingRoot;
16222
+ }
16157
16223
  /**
16158
16224
  * Creates a new instance of the appropriate class based on discriminator value
16159
16225
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -17947,6 +18013,15 @@ export function createOnUserCreateStartHandlerFromDiscriminatorValue(parseNode)
17947
18013
  export function createOnUserCreateStartListenerFromDiscriminatorValue(parseNode) {
17948
18014
  return deserializeIntoOnUserCreateStartListener;
17949
18015
  }
18016
+ /**
18017
+ * Creates a new instance of the appropriate class based on discriminator value
18018
+ * @param parseNode The parse node to use to read the discriminator value and create the object
18019
+ * @returns {OpenIdConnectSetting}
18020
+ */
18021
+ // @ts-ignore
18022
+ export function createOpenIdConnectSettingFromDiscriminatorValue(parseNode) {
18023
+ return deserializeIntoOpenIdConnectSetting;
18024
+ }
17950
18025
  /**
17951
18026
  * Creates a new instance of the appropriate class based on discriminator value
17952
18027
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -29915,6 +29990,7 @@ export function deserializeIntoAdmin(admin = {}) {
29915
29990
  return {
29916
29991
  "backingStoreEnabled": n => { admin.backingStoreEnabled = true; },
29917
29992
  "edge": n => { admin.edge = n.getObjectValue(createEdgeFromDiscriminatorValue); },
29993
+ "exchange": n => { admin.exchange = n.getObjectValue(createExchangeAdminFromDiscriminatorValue); },
29918
29994
  "microsoft365Apps": n => { admin.microsoft365Apps = n.getObjectValue(createAdminMicrosoft365AppsFromDiscriminatorValue); },
29919
29995
  "@odata.type": n => { admin.odataType = n.getStringValue(); },
29920
29996
  "people": n => { admin.people = n.getObjectValue(createPeopleAdminSettingsFromDiscriminatorValue); },
@@ -39219,6 +39295,42 @@ export function deserializeIntoEventMessageRequest(eventMessageRequest = {}) {
39219
39295
  export function deserializeIntoEventMessageResponse(eventMessageResponse = {}) {
39220
39296
  return Object.assign(Object.assign({}, deserializeIntoEventMessage(eventMessageResponse)), { "proposedNewTime": n => { eventMessageResponse.proposedNewTime = n.getObjectValue(createTimeSlotFromDiscriminatorValue); }, "responseType": n => { eventMessageResponse.responseType = n.getEnumValue(ResponseTypeObject); } });
39221
39297
  }
39298
+ /**
39299
+ * The deserialization information for the current model
39300
+ * @param ExchangeAdmin The instance to deserialize into.
39301
+ * @returns {Record<string, (node: ParseNode) => void>}
39302
+ */
39303
+ // @ts-ignore
39304
+ export function deserializeIntoExchangeAdmin(exchangeAdmin = {}) {
39305
+ return Object.assign(Object.assign({}, deserializeIntoEntity(exchangeAdmin)), { "tracing": n => { exchangeAdmin.tracing = n.getObjectValue(createMessageTracingRootFromDiscriminatorValue); } });
39306
+ }
39307
+ /**
39308
+ * The deserialization information for the current model
39309
+ * @param ExchangeMessageTrace The instance to deserialize into.
39310
+ * @returns {Record<string, (node: ParseNode) => void>}
39311
+ */
39312
+ // @ts-ignore
39313
+ export function deserializeIntoExchangeMessageTrace(exchangeMessageTrace = {}) {
39314
+ return Object.assign(Object.assign({}, deserializeIntoEntity(exchangeMessageTrace)), { "fromIP": n => { exchangeMessageTrace.fromIP = n.getStringValue(); }, "messageId": n => { exchangeMessageTrace.messageId = n.getStringValue(); }, "receivedDateTime": n => { exchangeMessageTrace.receivedDateTime = n.getDateValue(); }, "recipientAddress": n => { exchangeMessageTrace.recipientAddress = n.getStringValue(); }, "senderAddress": n => { exchangeMessageTrace.senderAddress = n.getStringValue(); }, "size": n => { exchangeMessageTrace.size = n.getNumberValue(); }, "status": n => { exchangeMessageTrace.status = n.getEnumValue(ExchangeMessageTraceStatusObject); }, "subject": n => { exchangeMessageTrace.subject = n.getStringValue(); }, "toIP": n => { exchangeMessageTrace.toIP = n.getStringValue(); } });
39315
+ }
39316
+ /**
39317
+ * The deserialization information for the current model
39318
+ * @param ExchangeMessageTraceCollectionResponse The instance to deserialize into.
39319
+ * @returns {Record<string, (node: ParseNode) => void>}
39320
+ */
39321
+ // @ts-ignore
39322
+ export function deserializeIntoExchangeMessageTraceCollectionResponse(exchangeMessageTraceCollectionResponse = {}) {
39323
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(exchangeMessageTraceCollectionResponse)), { "value": n => { exchangeMessageTraceCollectionResponse.value = n.getCollectionOfObjectValues(createExchangeMessageTraceFromDiscriminatorValue); } });
39324
+ }
39325
+ /**
39326
+ * The deserialization information for the current model
39327
+ * @param ExchangeMessageTraceDetail The instance to deserialize into.
39328
+ * @returns {Record<string, (node: ParseNode) => void>}
39329
+ */
39330
+ // @ts-ignore
39331
+ export function deserializeIntoExchangeMessageTraceDetail(exchangeMessageTraceDetail = {}) {
39332
+ return Object.assign(Object.assign({}, deserializeIntoEntity(exchangeMessageTraceDetail)), { "action": n => { exchangeMessageTraceDetail.action = n.getStringValue(); }, "data": n => { exchangeMessageTraceDetail.data = n.getStringValue(); }, "dateTime": n => { exchangeMessageTraceDetail.dateTime = n.getDateValue(); }, "description": n => { exchangeMessageTraceDetail.description = n.getStringValue(); }, "event": n => { exchangeMessageTraceDetail.event = n.getStringValue(); }, "messageId": n => { exchangeMessageTraceDetail.messageId = n.getStringValue(); } });
39333
+ }
39222
39334
  /**
39223
39335
  * The deserialization information for the current model
39224
39336
  * @param ExchangeProtectionPolicy The instance to deserialize into.
@@ -39375,6 +39487,15 @@ export function deserializeIntoExternalAuthenticationMethod(externalAuthenticati
39375
39487
  export function deserializeIntoExternalAuthenticationMethodCollectionResponse(externalAuthenticationMethodCollectionResponse = {}) {
39376
39488
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalAuthenticationMethodCollectionResponse)), { "value": n => { externalAuthenticationMethodCollectionResponse.value = n.getCollectionOfObjectValues(createExternalAuthenticationMethodFromDiscriminatorValue); } });
39377
39489
  }
39490
+ /**
39491
+ * The deserialization information for the current model
39492
+ * @param ExternalAuthenticationMethodConfiguration The instance to deserialize into.
39493
+ * @returns {Record<string, (node: ParseNode) => void>}
39494
+ */
39495
+ // @ts-ignore
39496
+ export function deserializeIntoExternalAuthenticationMethodConfiguration(externalAuthenticationMethodConfiguration = {}) {
39497
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethodConfiguration(externalAuthenticationMethodConfiguration)), { "appId": n => { externalAuthenticationMethodConfiguration.appId = n.getStringValue(); }, "displayName": n => { externalAuthenticationMethodConfiguration.displayName = n.getStringValue(); }, "includeTargets": n => { externalAuthenticationMethodConfiguration.includeTargets = n.getCollectionOfObjectValues(createAuthenticationMethodTargetFromDiscriminatorValue); }, "openIdConnectSetting": n => { externalAuthenticationMethodConfiguration.openIdConnectSetting = n.getObjectValue(createOpenIdConnectSettingFromDiscriminatorValue); } });
39498
+ }
39378
39499
  /**
39379
39500
  * The deserialization information for the current model
39380
39501
  * @param ExternalDomainFederation The instance to deserialize into.
@@ -40138,7 +40259,7 @@ export function deserializeIntoGranularMailboxRestoreArtifactCollectionResponse(
40138
40259
  */
40139
40260
  // @ts-ignore
40140
40261
  export function deserializeIntoGroup(group = {}) {
40141
- 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(); }, "onPremisesSyncBehavior": n => { group.onPremisesSyncBehavior = n.getObjectValue(createOnPremisesSyncBehaviorFromDiscriminatorValue); }, "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(); } });
40262
+ 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(); }, "onPremisesSyncBehavior": n => { group.onPremisesSyncBehavior = n.getObjectValue(createOnPremisesSyncBehaviorFromDiscriminatorValue); }, "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(); }, "resourceBehaviorOptions": n => { group.resourceBehaviorOptions = n.getCollectionOfPrimitiveValues(); }, "resourceProvisioningOptions": n => { group.resourceProvisioningOptions = n.getCollectionOfPrimitiveValues(); }, "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(); } });
40142
40263
  }
40143
40264
  /**
40144
40265
  * The deserialization information for the current model
@@ -43521,6 +43642,15 @@ export function deserializeIntoMessageSecurityState(messageSecurityState = {}) {
43521
43642
  "@odata.type": n => { messageSecurityState.odataType = n.getStringValue(); },
43522
43643
  };
43523
43644
  }
43645
+ /**
43646
+ * The deserialization information for the current model
43647
+ * @param MessageTracingRoot The instance to deserialize into.
43648
+ * @returns {Record<string, (node: ParseNode) => void>}
43649
+ */
43650
+ // @ts-ignore
43651
+ export function deserializeIntoMessageTracingRoot(messageTracingRoot = {}) {
43652
+ return Object.assign(Object.assign({}, deserializeIntoEntity(messageTracingRoot)), { "messageTraces": n => { messageTracingRoot.messageTraces = n.getCollectionOfObjectValues(createExchangeMessageTraceFromDiscriminatorValue); } });
43653
+ }
43524
43654
  /**
43525
43655
  * The deserialization information for the current model
43526
43656
  * @param MessageUnpinnedEventMessageDetail The instance to deserialize into.
@@ -45197,6 +45327,20 @@ export function deserializeIntoOnUserCreateStartHandler(onUserCreateStartHandler
45197
45327
  export function deserializeIntoOnUserCreateStartListener(onUserCreateStartListener = {}) {
45198
45328
  return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventListener(onUserCreateStartListener)), { "handler": n => { onUserCreateStartListener.handler = n.getObjectValue(createOnUserCreateStartHandlerFromDiscriminatorValue); } });
45199
45329
  }
45330
+ /**
45331
+ * The deserialization information for the current model
45332
+ * @param OpenIdConnectSetting The instance to deserialize into.
45333
+ * @returns {Record<string, (node: ParseNode) => void>}
45334
+ */
45335
+ // @ts-ignore
45336
+ export function deserializeIntoOpenIdConnectSetting(openIdConnectSetting = {}) {
45337
+ return {
45338
+ "backingStoreEnabled": n => { openIdConnectSetting.backingStoreEnabled = true; },
45339
+ "clientId": n => { openIdConnectSetting.clientId = n.getStringValue(); },
45340
+ "discoveryUrl": n => { openIdConnectSetting.discoveryUrl = n.getStringValue(); },
45341
+ "@odata.type": n => { openIdConnectSetting.odataType = n.getStringValue(); },
45342
+ };
45343
+ }
45200
45344
  /**
45201
45345
  * The deserialization information for the current model
45202
45346
  * @param OpenShift The instance to deserialize into.
@@ -59061,6 +59205,7 @@ export function serializeAdmin(writer, admin = {}, isSerializingDerivedType = fa
59061
59205
  return;
59062
59206
  }
59063
59207
  writer.writeObjectValue("edge", admin.edge, serializeEdge);
59208
+ writer.writeObjectValue("exchange", admin.exchange, serializeExchangeAdmin);
59064
59209
  writer.writeObjectValue("microsoft365Apps", admin.microsoft365Apps, serializeAdminMicrosoft365Apps);
59065
59210
  writer.writeStringValue("@odata.type", admin.odataType);
59066
59211
  writer.writeObjectValue("people", admin.people, serializePeopleAdminSettings);
@@ -62450,6 +62595,9 @@ export function serializeAuthenticationMethodConfiguration(writer, authenticatio
62450
62595
  case "#microsoft.graph.emailAuthenticationMethodConfiguration":
62451
62596
  serializeEmailAuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62452
62597
  break;
62598
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
62599
+ serializeExternalAuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62600
+ break;
62453
62601
  case "#microsoft.graph.fido2AuthenticationMethodConfiguration":
62454
62602
  serializeFido2AuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62455
62603
  break;
@@ -75299,6 +75447,15 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
75299
75447
  case "#microsoft.graph.eventMessageResponse":
75300
75448
  serializeEventMessageResponse(writer, entity, true);
75301
75449
  break;
75450
+ case "#microsoft.graph.exchangeAdmin":
75451
+ serializeExchangeAdmin(writer, entity, true);
75452
+ break;
75453
+ case "#microsoft.graph.exchangeMessageTrace":
75454
+ serializeExchangeMessageTrace(writer, entity, true);
75455
+ break;
75456
+ case "#microsoft.graph.exchangeMessageTraceDetail":
75457
+ serializeExchangeMessageTraceDetail(writer, entity, true);
75458
+ break;
75302
75459
  case "#microsoft.graph.exchangeProtectionPolicy":
75303
75460
  serializeExchangeProtectionPolicy(writer, entity, true);
75304
75461
  break;
@@ -75314,6 +75471,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
75314
75471
  case "#microsoft.graph.externalAuthenticationMethod":
75315
75472
  serializeExternalAuthenticationMethod(writer, entity, true);
75316
75473
  break;
75474
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
75475
+ serializeExternalAuthenticationMethodConfiguration(writer, entity, true);
75476
+ break;
75317
75477
  case "#microsoft.graph.externalConnectors.connectionOperation":
75318
75478
  serializeConnectionOperation(writer, entity, true);
75319
75479
  break;
@@ -75785,6 +75945,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
75785
75945
  case "#microsoft.graph.messageRule":
75786
75946
  serializeMessageRule(writer, entity, true);
75787
75947
  break;
75948
+ case "#microsoft.graph.messageTracingRoot":
75949
+ serializeMessageTracingRoot(writer, entity, true);
75950
+ break;
75788
75951
  case "#microsoft.graph.microsoftAccountUserConversationMember":
75789
75952
  serializeMicrosoftAccountUserConversationMember(writer, entity, true);
75790
75953
  break;
@@ -77790,6 +77953,75 @@ export function serializeEventMessageResponse(writer, eventMessageResponse = {},
77790
77953
  writer.writeObjectValue("proposedNewTime", eventMessageResponse.proposedNewTime, serializeTimeSlot);
77791
77954
  writer.writeEnumValue("responseType", eventMessageResponse.responseType);
77792
77955
  }
77956
+ /**
77957
+ * Serializes information the current object
77958
+ * @param ExchangeAdmin The instance to serialize from.
77959
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
77960
+ * @param writer Serialization writer to use to serialize this model
77961
+ */
77962
+ // @ts-ignore
77963
+ export function serializeExchangeAdmin(writer, exchangeAdmin = {}, isSerializingDerivedType = false) {
77964
+ if (!exchangeAdmin || isSerializingDerivedType) {
77965
+ return;
77966
+ }
77967
+ serializeEntity(writer, exchangeAdmin, isSerializingDerivedType);
77968
+ writer.writeObjectValue("tracing", exchangeAdmin.tracing, serializeMessageTracingRoot);
77969
+ }
77970
+ /**
77971
+ * Serializes information the current object
77972
+ * @param ExchangeMessageTrace The instance to serialize from.
77973
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
77974
+ * @param writer Serialization writer to use to serialize this model
77975
+ */
77976
+ // @ts-ignore
77977
+ export function serializeExchangeMessageTrace(writer, exchangeMessageTrace = {}, isSerializingDerivedType = false) {
77978
+ if (!exchangeMessageTrace || isSerializingDerivedType) {
77979
+ return;
77980
+ }
77981
+ serializeEntity(writer, exchangeMessageTrace, isSerializingDerivedType);
77982
+ writer.writeStringValue("fromIP", exchangeMessageTrace.fromIP);
77983
+ writer.writeStringValue("messageId", exchangeMessageTrace.messageId);
77984
+ writer.writeDateValue("receivedDateTime", exchangeMessageTrace.receivedDateTime);
77985
+ writer.writeStringValue("recipientAddress", exchangeMessageTrace.recipientAddress);
77986
+ writer.writeStringValue("senderAddress", exchangeMessageTrace.senderAddress);
77987
+ writer.writeNumberValue("size", exchangeMessageTrace.size);
77988
+ writer.writeEnumValue("status", exchangeMessageTrace.status);
77989
+ writer.writeStringValue("subject", exchangeMessageTrace.subject);
77990
+ writer.writeStringValue("toIP", exchangeMessageTrace.toIP);
77991
+ }
77992
+ /**
77993
+ * Serializes information the current object
77994
+ * @param ExchangeMessageTraceCollectionResponse The instance to serialize from.
77995
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
77996
+ * @param writer Serialization writer to use to serialize this model
77997
+ */
77998
+ // @ts-ignore
77999
+ export function serializeExchangeMessageTraceCollectionResponse(writer, exchangeMessageTraceCollectionResponse = {}, isSerializingDerivedType = false) {
78000
+ if (!exchangeMessageTraceCollectionResponse || isSerializingDerivedType) {
78001
+ return;
78002
+ }
78003
+ serializeBaseCollectionPaginationCountResponse(writer, exchangeMessageTraceCollectionResponse, isSerializingDerivedType);
78004
+ writer.writeCollectionOfObjectValues("value", exchangeMessageTraceCollectionResponse.value, serializeExchangeMessageTrace);
78005
+ }
78006
+ /**
78007
+ * Serializes information the current object
78008
+ * @param ExchangeMessageTraceDetail The instance to serialize from.
78009
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
78010
+ * @param writer Serialization writer to use to serialize this model
78011
+ */
78012
+ // @ts-ignore
78013
+ export function serializeExchangeMessageTraceDetail(writer, exchangeMessageTraceDetail = {}, isSerializingDerivedType = false) {
78014
+ if (!exchangeMessageTraceDetail || isSerializingDerivedType) {
78015
+ return;
78016
+ }
78017
+ serializeEntity(writer, exchangeMessageTraceDetail, isSerializingDerivedType);
78018
+ writer.writeStringValue("action", exchangeMessageTraceDetail.action);
78019
+ writer.writeStringValue("data", exchangeMessageTraceDetail.data);
78020
+ writer.writeDateValue("dateTime", exchangeMessageTraceDetail.dateTime);
78021
+ writer.writeStringValue("description", exchangeMessageTraceDetail.description);
78022
+ writer.writeStringValue("event", exchangeMessageTraceDetail.event);
78023
+ writer.writeStringValue("messageId", exchangeMessageTraceDetail.messageId);
78024
+ }
77793
78025
  /**
77794
78026
  * Serializes information the current object
77795
78027
  * @param ExchangeProtectionPolicy The instance to serialize from.
@@ -78022,6 +78254,23 @@ export function serializeExternalAuthenticationMethodCollectionResponse(writer,
78022
78254
  serializeBaseCollectionPaginationCountResponse(writer, externalAuthenticationMethodCollectionResponse, isSerializingDerivedType);
78023
78255
  writer.writeCollectionOfObjectValues("value", externalAuthenticationMethodCollectionResponse.value, serializeExternalAuthenticationMethod);
78024
78256
  }
78257
+ /**
78258
+ * Serializes information the current object
78259
+ * @param ExternalAuthenticationMethodConfiguration The instance to serialize from.
78260
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
78261
+ * @param writer Serialization writer to use to serialize this model
78262
+ */
78263
+ // @ts-ignore
78264
+ export function serializeExternalAuthenticationMethodConfiguration(writer, externalAuthenticationMethodConfiguration = {}, isSerializingDerivedType = false) {
78265
+ if (!externalAuthenticationMethodConfiguration || isSerializingDerivedType) {
78266
+ return;
78267
+ }
78268
+ serializeAuthenticationMethodConfiguration(writer, externalAuthenticationMethodConfiguration, isSerializingDerivedType);
78269
+ writer.writeStringValue("appId", externalAuthenticationMethodConfiguration.appId);
78270
+ writer.writeStringValue("displayName", externalAuthenticationMethodConfiguration.displayName);
78271
+ writer.writeCollectionOfObjectValues("includeTargets", externalAuthenticationMethodConfiguration.includeTargets, serializeAuthenticationMethodTarget);
78272
+ writer.writeObjectValue("openIdConnectSetting", externalAuthenticationMethodConfiguration.openIdConnectSetting, serializeOpenIdConnectSetting);
78273
+ }
78025
78274
  /**
78026
78275
  * Serializes information the current object
78027
78276
  * @param ExternalDomainFederation The instance to serialize from.
@@ -79182,6 +79431,8 @@ export function serializeGroup(writer, group = {}, isSerializingDerivedType = fa
79182
79431
  writer.writeCollectionOfPrimitiveValues("proxyAddresses", group.proxyAddresses);
79183
79432
  writer.writeCollectionOfObjectValues("rejectedSenders", group.rejectedSenders, serializeDirectoryObject);
79184
79433
  writer.writeDateValue("renewedDateTime", group.renewedDateTime);
79434
+ writer.writeCollectionOfPrimitiveValues("resourceBehaviorOptions", group.resourceBehaviorOptions);
79435
+ writer.writeCollectionOfPrimitiveValues("resourceProvisioningOptions", group.resourceProvisioningOptions);
79185
79436
  writer.writeBooleanValue("securityEnabled", group.securityEnabled);
79186
79437
  writer.writeStringValue("securityIdentifier", group.securityIdentifier);
79187
79438
  writer.writeCollectionOfObjectValues("serviceProvisioningErrors", group.serviceProvisioningErrors, serializeServiceProvisioningError);
@@ -84805,6 +85056,20 @@ export function serializeMessageSecurityState(writer, messageSecurityState = {},
84805
85056
  writer.writeStringValue("@odata.type", messageSecurityState.odataType);
84806
85057
  writer.writeAdditionalData(messageSecurityState.additionalData);
84807
85058
  }
85059
+ /**
85060
+ * Serializes information the current object
85061
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
85062
+ * @param MessageTracingRoot The instance to serialize from.
85063
+ * @param writer Serialization writer to use to serialize this model
85064
+ */
85065
+ // @ts-ignore
85066
+ export function serializeMessageTracingRoot(writer, messageTracingRoot = {}, isSerializingDerivedType = false) {
85067
+ if (!messageTracingRoot || isSerializingDerivedType) {
85068
+ return;
85069
+ }
85070
+ serializeEntity(writer, messageTracingRoot, isSerializingDerivedType);
85071
+ writer.writeCollectionOfObjectValues("messageTraces", messageTracingRoot.messageTraces, serializeExchangeMessageTrace);
85072
+ }
84808
85073
  /**
84809
85074
  * Serializes information the current object
84810
85075
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -87598,6 +87863,22 @@ export function serializeOnUserCreateStartListener(writer, onUserCreateStartList
87598
87863
  serializeAuthenticationEventListener(writer, onUserCreateStartListener, isSerializingDerivedType);
87599
87864
  writer.writeObjectValue("handler", onUserCreateStartListener.handler, serializeOnUserCreateStartHandler);
87600
87865
  }
87866
+ /**
87867
+ * Serializes information the current object
87868
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
87869
+ * @param OpenIdConnectSetting The instance to serialize from.
87870
+ * @param writer Serialization writer to use to serialize this model
87871
+ */
87872
+ // @ts-ignore
87873
+ export function serializeOpenIdConnectSetting(writer, openIdConnectSetting = {}, isSerializingDerivedType = false) {
87874
+ if (!openIdConnectSetting || isSerializingDerivedType) {
87875
+ return;
87876
+ }
87877
+ writer.writeStringValue("clientId", openIdConnectSetting.clientId);
87878
+ writer.writeStringValue("discoveryUrl", openIdConnectSetting.discoveryUrl);
87879
+ writer.writeStringValue("@odata.type", openIdConnectSetting.odataType);
87880
+ writer.writeAdditionalData(openIdConnectSetting.additionalData);
87881
+ }
87601
87882
  /**
87602
87883
  * Serializes information the current object
87603
87884
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -109626,6 +109907,16 @@ export const ExchangeIdFormatObject = {
109626
109907
  RestId: "restId",
109627
109908
  RestImmutableEntryId: "restImmutableEntryId",
109628
109909
  };
109910
+ export const ExchangeMessageTraceStatusObject = {
109911
+ GettingStatus: "gettingStatus",
109912
+ Pending: "pending",
109913
+ Failed: "failed",
109914
+ Delivered: "delivered",
109915
+ Expanded: "expanded",
109916
+ Quarantined: "quarantined",
109917
+ FilteredAsSpam: "filteredAsSpam",
109918
+ UnknownFutureValue: "unknownFutureValue",
109919
+ };
109629
109920
  export const ExecutionModeObject = {
109630
109921
  EvaluateInline: "evaluateInline",
109631
109922
  EvaluateOffline: "evaluateOffline",