@microsoft/msgraph-sdk 1.0.0-preview.77 → 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
@@ -14,7 +14,7 @@ import { createAcronymFromDiscriminatorValue, createBookmarkFromDiscriminatorVal
14
14
  // @ts-ignore
15
15
  import { BehaviorDuringRetentionPeriodObject, createCasesRootFromDiscriminatorValue, createIdentityContainerFromDiscriminatorValue as I935b7de91425579f950e93b26ee70d12698bf4d797e21a9ad70489ad679cdff9, createIncidentFromDiscriminatorValue, createLabelsRootFromDiscriminatorValue, createThreatIntelligenceFromDiscriminatorValue, createTriggersRootFromDiscriminatorValue, createTriggerTypesRootFromDiscriminatorValue, deserializeIntoArticle, deserializeIntoArticleIndicator, deserializeIntoArtifact, deserializeIntoAuthorityTemplate, deserializeIntoCaseEscaped, deserializeIntoCaseOperation, deserializeIntoCasesRoot, deserializeIntoCategoryTemplate, deserializeIntoCitationTemplate, deserializeIntoDataSet, deserializeIntoDataSource, deserializeIntoDataSourceContainer, deserializeIntoDepartmentTemplate, deserializeIntoDispositionReviewStage, deserializeIntoEdiscoveryAddToReviewSetOperation, deserializeIntoEdiscoveryCase, deserializeIntoEdiscoveryCaseMember, deserializeIntoEdiscoveryCaseSettings, deserializeIntoEdiscoveryCustodian, deserializeIntoEdiscoveryEstimateOperation, deserializeIntoEdiscoveryExportOperation, deserializeIntoEdiscoveryHoldOperation, deserializeIntoEdiscoveryHoldPolicySyncOperation, deserializeIntoEdiscoveryIndexOperation, deserializeIntoEdiscoveryNoncustodialDataSource, deserializeIntoEdiscoveryPurgeDataOperation, deserializeIntoEdiscoveryReviewSet, deserializeIntoEdiscoveryReviewSetQuery, deserializeIntoEdiscoveryReviewTag, deserializeIntoEdiscoverySearch, deserializeIntoEdiscoverySearchExportOperation, deserializeIntoEdiscoveryTagOperation, deserializeIntoFilePlanDescriptor, deserializeIntoFilePlanDescriptorTemplate, deserializeIntoFilePlanReferenceTemplate, deserializeIntoHealthIssue, deserializeIntoHost, deserializeIntoHostComponent, deserializeIntoHostCookie, deserializeIntoHostname, deserializeIntoHostPair, deserializeIntoHostPort, deserializeIntoHostReputation, deserializeIntoHostSslCertificate, deserializeIntoHostTracker, deserializeIntoIdentityAccounts, deserializeIntoIncident, deserializeIntoIndicator, deserializeIntoIntelligenceProfile, deserializeIntoIntelligenceProfileIndicator, deserializeIntoIpAddress, deserializeIntoLabelsRoot, deserializeIntoNetworkAdapter, deserializeIntoPassiveDnsRecord, deserializeIntoRetentionEvent, deserializeIntoRetentionEventType, deserializeIntoRetentionLabel, deserializeIntoSearch, deserializeIntoSensor, deserializeIntoSensorCandidate, deserializeIntoSensorCandidateActivationConfiguration, deserializeIntoSiteSource, deserializeIntoSslCertificate, deserializeIntoSubcategoryTemplate, deserializeIntoSubdomain, deserializeIntoTag, deserializeIntoThreatIntelligence, deserializeIntoTriggersRoot, deserializeIntoTriggerTypesRoot, deserializeIntoUnclassifiedArtifact, deserializeIntoUnifiedGroupSource, deserializeIntoUserSource, deserializeIntoVulnerability, deserializeIntoVulnerabilityComponent, deserializeIntoWhoisBaseRecord, deserializeIntoWhoisHistoryRecord, deserializeIntoWhoisRecord, serializeArticle, serializeArticleIndicator, serializeArtifact, serializeAuthorityTemplate, serializeCaseEscaped, serializeCaseOperation, serializeCasesRoot, serializeCategoryTemplate, serializeCitationTemplate, serializeDataSet, serializeDataSource, serializeDataSourceContainer, serializeDepartmentTemplate, serializeDispositionReviewStage, serializeEdiscoveryAddToReviewSetOperation, serializeEdiscoveryCase, serializeEdiscoveryCaseMember, serializeEdiscoveryCaseSettings, serializeEdiscoveryCustodian, serializeEdiscoveryEstimateOperation, serializeEdiscoveryExportOperation, serializeEdiscoveryHoldOperation, serializeEdiscoveryHoldPolicySyncOperation, serializeEdiscoveryIndexOperation, serializeEdiscoveryNoncustodialDataSource, serializeEdiscoveryPurgeDataOperation, serializeEdiscoveryReviewSet, serializeEdiscoveryReviewSetQuery, serializeEdiscoveryReviewTag, serializeEdiscoverySearch, serializeEdiscoverySearchExportOperation, serializeEdiscoveryTagOperation, serializeFilePlanDescriptor, serializeFilePlanDescriptorTemplate, serializeFilePlanReferenceTemplate, serializeHealthIssue, serializeHost, serializeHostComponent, serializeHostCookie, serializeHostname, serializeHostPair, serializeHostPort, serializeHostReputation, serializeHostSslCertificate, serializeHostTracker, serializeIdentityAccounts, serializeIdentityContainer as I3578b2bed1b5c0dc75d4936caf82e6213a17e94d1aa9efb2f5f64827fd00f3f1, serializeIncident, serializeIndicator, serializeIntelligenceProfile, serializeIntelligenceProfileIndicator, serializeIpAddress, serializeLabelsRoot, serializeNetworkAdapter, serializePassiveDnsRecord, serializeRetentionEvent, serializeRetentionEventType, serializeRetentionLabel, serializeSearch, serializeSensor, serializeSensorCandidate, serializeSensorCandidateActivationConfiguration, serializeSiteSource, serializeSslCertificate, serializeSubcategoryTemplate, serializeSubdomain, serializeTag, serializeThreatIntelligence, serializeTriggersRoot, serializeTriggerTypesRoot, serializeUnclassifiedArtifact, serializeUnifiedGroupSource, serializeUserSource, serializeVulnerability, serializeVulnerabilityComponent, serializeWhoisBaseRecord, serializeWhoisHistoryRecord, serializeWhoisRecord } from './security/index.js';
16
16
  // @ts-ignore
17
- import { createTeamsAdminRootFromDiscriminatorValue, deserializeIntoTeamsAdminRoot, deserializeIntoTeamsUserConfiguration, serializeTeamsAdminRoot, serializeTeamsUserConfiguration } from './teamsAdministration/index.js';
17
+ import { createTeamsAdminRootFromDiscriminatorValue, deserializeIntoPolicyIdentifierDetail, deserializeIntoTeamsAdminRoot, deserializeIntoTeamsPolicyAssignment, deserializeIntoTeamsPolicyUserAssignment, deserializeIntoTeamsUserConfiguration, serializePolicyIdentifierDetail, serializeTeamsAdminRoot, serializeTeamsPolicyAssignment, serializeTeamsPolicyUserAssignment, serializeTeamsUserConfiguration } from './teamsAdministration/index.js';
18
18
  // @ts-ignore
19
19
  import { createSetFromDiscriminatorValue, createStoreFromDiscriminatorValue, createTermFromDiscriminatorValue, deserializeIntoRelation, deserializeIntoSet, deserializeIntoStore, deserializeIntoTerm, serializeRelation, serializeSet, serializeStore, serializeTerm } from './termStore/index.js';
20
20
  // @ts-ignore
@@ -1254,6 +1254,15 @@ export function createAgreementFileVersionFromDiscriminatorValue(parseNode) {
1254
1254
  export function createAgreementFromDiscriminatorValue(parseNode) {
1255
1255
  return deserializeIntoAgreement;
1256
1256
  }
1257
+ /**
1258
+ * Creates a new instance of the appropriate class based on discriminator value
1259
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1260
+ * @returns {AiAgentInfo}
1261
+ */
1262
+ // @ts-ignore
1263
+ export function createAiAgentInfoFromDiscriminatorValue(parseNode) {
1264
+ return deserializeIntoAiAgentInfo;
1265
+ }
1257
1266
  /**
1258
1267
  * Creates a new instance of the appropriate class based on discriminator value
1259
1268
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -1272,6 +1281,29 @@ export function createAiInteractionAttachmentFromDiscriminatorValue(parseNode) {
1272
1281
  export function createAiInteractionContextFromDiscriminatorValue(parseNode) {
1273
1282
  return deserializeIntoAiInteractionContext;
1274
1283
  }
1284
+ /**
1285
+ * Creates a new instance of the appropriate class based on discriminator value
1286
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1287
+ * @returns {AiInteractionEntity}
1288
+ */
1289
+ // @ts-ignore
1290
+ export function createAiInteractionEntityFromDiscriminatorValue(parseNode) {
1291
+ if (!parseNode)
1292
+ throw new Error("parseNode cannot be undefined");
1293
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
1294
+ if (mappingValueNode) {
1295
+ const mappingValue = mappingValueNode.getStringValue();
1296
+ if (mappingValue) {
1297
+ switch (mappingValue) {
1298
+ case "#microsoft.graph.aiAgentInfo":
1299
+ return deserializeIntoAiAgentInfo;
1300
+ case "#microsoft.graph.aiInteractionPlugin":
1301
+ return deserializeIntoAiInteractionPlugin;
1302
+ }
1303
+ }
1304
+ }
1305
+ return deserializeIntoAiInteractionEntity;
1306
+ }
1275
1307
  /**
1276
1308
  * Creates a new instance of the appropriate class based on discriminator value
1277
1309
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2904,6 +2936,8 @@ export function createAuthenticationMethodConfigurationFromDiscriminatorValue(pa
2904
2936
  switch (mappingValue) {
2905
2937
  case "#microsoft.graph.emailAuthenticationMethodConfiguration":
2906
2938
  return deserializeIntoEmailAuthenticationMethodConfiguration;
2939
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
2940
+ return deserializeIntoExternalAuthenticationMethodConfiguration;
2907
2941
  case "#microsoft.graph.fido2AuthenticationMethodConfiguration":
2908
2942
  return deserializeIntoFido2AuthenticationMethodConfiguration;
2909
2943
  case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration":
@@ -2948,6 +2982,8 @@ export function createAuthenticationMethodFromDiscriminatorValue(parseNode) {
2948
2982
  switch (mappingValue) {
2949
2983
  case "#microsoft.graph.emailAuthenticationMethod":
2950
2984
  return deserializeIntoEmailAuthenticationMethod;
2985
+ case "#microsoft.graph.externalAuthenticationMethod":
2986
+ return deserializeIntoExternalAuthenticationMethod;
2951
2987
  case "#microsoft.graph.fido2AuthenticationMethod":
2952
2988
  return deserializeIntoFido2AuthenticationMethod;
2953
2989
  case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod":
@@ -10421,6 +10457,12 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10421
10457
  return deserializeIntoEventMessageRequest;
10422
10458
  case "#microsoft.graph.eventMessageResponse":
10423
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;
10424
10466
  case "#microsoft.graph.exchangeProtectionPolicy":
10425
10467
  return deserializeIntoExchangeProtectionPolicy;
10426
10468
  case "#microsoft.graph.exchangeRestoreSession":
@@ -10429,6 +10471,10 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10429
10471
  return deserializeIntoExtension;
10430
10472
  case "#microsoft.graph.extensionProperty":
10431
10473
  return deserializeIntoExtensionProperty;
10474
+ case "#microsoft.graph.externalAuthenticationMethod":
10475
+ return deserializeIntoExternalAuthenticationMethod;
10476
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
10477
+ return deserializeIntoExternalAuthenticationMethodConfiguration;
10432
10478
  case "#microsoft.graph.externalConnectors.connectionOperation":
10433
10479
  return deserializeIntoConnectionOperation;
10434
10480
  case "#microsoft.graph.externalConnectors.externalActivity":
@@ -10743,6 +10789,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10743
10789
  return deserializeIntoMessage;
10744
10790
  case "#microsoft.graph.messageRule":
10745
10791
  return deserializeIntoMessageRule;
10792
+ case "#microsoft.graph.messageTracingRoot":
10793
+ return deserializeIntoMessageTracingRoot;
10746
10794
  case "#microsoft.graph.microsoftAccountUserConversationMember":
10747
10795
  return deserializeIntoMicrosoftAccountUserConversationMember;
10748
10796
  case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod":
@@ -10799,6 +10847,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
10799
10847
  return deserializeIntoOfferShiftRequest;
10800
10848
  case "#microsoft.graph.officeGraphInsights":
10801
10849
  return deserializeIntoOfficeGraphInsights;
10850
+ case "#microsoft.graph.oidcIdentityProvider":
10851
+ return deserializeIntoOidcIdentityProvider;
10802
10852
  case "#microsoft.graph.onAttributeCollectionListener":
10803
10853
  return deserializeIntoOnAttributeCollectionListener;
10804
10854
  case "#microsoft.graph.onAttributeCollectionStartCustomExtension":
@@ -11453,8 +11503,14 @@ export function createEntityFromDiscriminatorValue(parseNode) {
11453
11503
  return deserializeIntoTeam;
11454
11504
  case "#microsoft.graph.teamInfo":
11455
11505
  return deserializeIntoTeamInfo;
11506
+ case "#microsoft.graph.teamsAdministration.policyIdentifierDetail":
11507
+ return deserializeIntoPolicyIdentifierDetail;
11456
11508
  case "#microsoft.graph.teamsAdministration.teamsAdminRoot":
11457
11509
  return deserializeIntoTeamsAdminRoot;
11510
+ case "#microsoft.graph.teamsAdministration.teamsPolicyAssignment":
11511
+ return deserializeIntoTeamsPolicyAssignment;
11512
+ case "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment":
11513
+ return deserializeIntoTeamsPolicyUserAssignment;
11458
11514
  case "#microsoft.graph.teamsAdministration.teamsUserConfiguration":
11459
11515
  return deserializeIntoTeamsUserConfiguration;
11460
11516
  case "#microsoft.graph.teamsApp":
@@ -12051,6 +12107,42 @@ export function createEventMessageRequestFromDiscriminatorValue(parseNode) {
12051
12107
  export function createEventMessageResponseFromDiscriminatorValue(parseNode) {
12052
12108
  return deserializeIntoEventMessageResponse;
12053
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
+ }
12054
12146
  /**
12055
12147
  * Creates a new instance of the appropriate class based on discriminator value
12056
12148
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -12180,6 +12272,33 @@ export function createExtensionPropertyFromDiscriminatorValue(parseNode) {
12180
12272
  export function createExtensionSchemaPropertyFromDiscriminatorValue(parseNode) {
12181
12273
  return deserializeIntoExtensionSchemaProperty;
12182
12274
  }
12275
+ /**
12276
+ * Creates a new instance of the appropriate class based on discriminator value
12277
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12278
+ * @returns {ExternalAuthenticationMethodCollectionResponse}
12279
+ */
12280
+ // @ts-ignore
12281
+ export function createExternalAuthenticationMethodCollectionResponseFromDiscriminatorValue(parseNode) {
12282
+ return deserializeIntoExternalAuthenticationMethodCollectionResponse;
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
+ }
12293
+ /**
12294
+ * Creates a new instance of the appropriate class based on discriminator value
12295
+ * @param parseNode The parse node to use to read the discriminator value and create the object
12296
+ * @returns {ExternalAuthenticationMethod}
12297
+ */
12298
+ // @ts-ignore
12299
+ export function createExternalAuthenticationMethodFromDiscriminatorValue(parseNode) {
12300
+ return deserializeIntoExternalAuthenticationMethod;
12301
+ }
12183
12302
  /**
12184
12303
  * Creates a new instance of the appropriate class based on discriminator value
12185
12304
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -13202,6 +13321,8 @@ export function createIdentityProviderBaseFromDiscriminatorValue(parseNode) {
13202
13321
  return deserializeIntoBuiltInIdentityProvider;
13203
13322
  case "#microsoft.graph.internalDomainFederation":
13204
13323
  return deserializeIntoInternalDomainFederation;
13324
+ case "#microsoft.graph.oidcIdentityProvider":
13325
+ return deserializeIntoOidcIdentityProvider;
13205
13326
  case "#microsoft.graph.samlOrWsFedExternalDomainFederation":
13206
13327
  return deserializeIntoSamlOrWsFedExternalDomainFederation;
13207
13328
  case "#microsoft.graph.samlOrWsFedProvider":
@@ -16090,6 +16211,15 @@ export function createMessageRulePredicatesFromDiscriminatorValue(parseNode) {
16090
16211
  export function createMessageSecurityStateFromDiscriminatorValue(parseNode) {
16091
16212
  return deserializeIntoMessageSecurityState;
16092
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
+ }
16093
16223
  /**
16094
16224
  * Creates a new instance of the appropriate class based on discriminator value
16095
16225
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -16916,6 +17046,74 @@ export function createOfficeGraphInsightsFromDiscriminatorValue(parseNode) {
16916
17046
  }
16917
17047
  return deserializeIntoOfficeGraphInsights;
16918
17048
  }
17049
+ /**
17050
+ * Creates a new instance of the appropriate class based on discriminator value
17051
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17052
+ * @returns {OidcAddressInboundClaims}
17053
+ */
17054
+ // @ts-ignore
17055
+ export function createOidcAddressInboundClaimsFromDiscriminatorValue(parseNode) {
17056
+ return deserializeIntoOidcAddressInboundClaims;
17057
+ }
17058
+ /**
17059
+ * Creates a new instance of the appropriate class based on discriminator value
17060
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17061
+ * @returns {OidcClientAuthentication}
17062
+ */
17063
+ // @ts-ignore
17064
+ export function createOidcClientAuthenticationFromDiscriminatorValue(parseNode) {
17065
+ if (!parseNode)
17066
+ throw new Error("parseNode cannot be undefined");
17067
+ const mappingValueNode = parseNode === null || parseNode === void 0 ? void 0 : parseNode.getChildNode("@odata.type");
17068
+ if (mappingValueNode) {
17069
+ const mappingValue = mappingValueNode.getStringValue();
17070
+ if (mappingValue) {
17071
+ switch (mappingValue) {
17072
+ case "#microsoft.graph.oidcClientSecretAuthentication":
17073
+ return deserializeIntoOidcClientSecretAuthentication;
17074
+ case "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication":
17075
+ return deserializeIntoOidcPrivateJwtKeyClientAuthentication;
17076
+ }
17077
+ }
17078
+ }
17079
+ return deserializeIntoOidcClientAuthentication;
17080
+ }
17081
+ /**
17082
+ * Creates a new instance of the appropriate class based on discriminator value
17083
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17084
+ * @returns {OidcClientSecretAuthentication}
17085
+ */
17086
+ // @ts-ignore
17087
+ export function createOidcClientSecretAuthenticationFromDiscriminatorValue(parseNode) {
17088
+ return deserializeIntoOidcClientSecretAuthentication;
17089
+ }
17090
+ /**
17091
+ * Creates a new instance of the appropriate class based on discriminator value
17092
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17093
+ * @returns {OidcIdentityProvider}
17094
+ */
17095
+ // @ts-ignore
17096
+ export function createOidcIdentityProviderFromDiscriminatorValue(parseNode) {
17097
+ return deserializeIntoOidcIdentityProvider;
17098
+ }
17099
+ /**
17100
+ * Creates a new instance of the appropriate class based on discriminator value
17101
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17102
+ * @returns {OidcInboundClaimMappingOverride}
17103
+ */
17104
+ // @ts-ignore
17105
+ export function createOidcInboundClaimMappingOverrideFromDiscriminatorValue(parseNode) {
17106
+ return deserializeIntoOidcInboundClaimMappingOverride;
17107
+ }
17108
+ /**
17109
+ * Creates a new instance of the appropriate class based on discriminator value
17110
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17111
+ * @returns {OidcPrivateJwtKeyClientAuthentication}
17112
+ */
17113
+ // @ts-ignore
17114
+ export function createOidcPrivateJwtKeyClientAuthenticationFromDiscriminatorValue(parseNode) {
17115
+ return deserializeIntoOidcPrivateJwtKeyClientAuthentication;
17116
+ }
16919
17117
  /**
16920
17118
  * Creates a new instance of the appropriate class based on discriminator value
16921
17119
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -17815,6 +18013,15 @@ export function createOnUserCreateStartHandlerFromDiscriminatorValue(parseNode)
17815
18013
  export function createOnUserCreateStartListenerFromDiscriminatorValue(parseNode) {
17816
18014
  return deserializeIntoOnUserCreateStartListener;
17817
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
+ }
17818
18025
  /**
17819
18026
  * Creates a new instance of the appropriate class based on discriminator value
17820
18027
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -19920,6 +20127,15 @@ export function createProtectedApplicationMetadataFromDiscriminatorValue(parseNo
19920
20127
  export function createProtectedContentFromDiscriminatorValue(parseNode) {
19921
20128
  return deserializeIntoProtectedContent;
19922
20129
  }
20130
+ /**
20131
+ * Creates a new instance of the appropriate class based on discriminator value
20132
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20133
+ * @returns {ProtectionPolicyArtifactCount}
20134
+ */
20135
+ // @ts-ignore
20136
+ export function createProtectionPolicyArtifactCountFromDiscriminatorValue(parseNode) {
20137
+ return deserializeIntoProtectionPolicyArtifactCount;
20138
+ }
19923
20139
  /**
19924
20140
  * Creates a new instance of the appropriate class based on discriminator value
19925
20141
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20668,6 +20884,15 @@ export function createReservablePlaceModeFromDiscriminatorValue(parseNode) {
20668
20884
  export function createResetPasscodeActionResultFromDiscriminatorValue(parseNode) {
20669
20885
  return deserializeIntoResetPasscodeActionResult;
20670
20886
  }
20887
+ /**
20888
+ * Creates a new instance of the appropriate class based on discriminator value
20889
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20890
+ * @returns {ResourceAccessDetail}
20891
+ */
20892
+ // @ts-ignore
20893
+ export function createResourceAccessDetailFromDiscriminatorValue(parseNode) {
20894
+ return deserializeIntoResourceAccessDetail;
20895
+ }
20671
20896
  /**
20672
20897
  * Creates a new instance of the appropriate class based on discriminator value
20673
20898
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -29765,6 +29990,7 @@ export function deserializeIntoAdmin(admin = {}) {
29765
29990
  return {
29766
29991
  "backingStoreEnabled": n => { admin.backingStoreEnabled = true; },
29767
29992
  "edge": n => { admin.edge = n.getObjectValue(createEdgeFromDiscriminatorValue); },
29993
+ "exchange": n => { admin.exchange = n.getObjectValue(createExchangeAdminFromDiscriminatorValue); },
29768
29994
  "microsoft365Apps": n => { admin.microsoft365Apps = n.getObjectValue(createAdminMicrosoft365AppsFromDiscriminatorValue); },
29769
29995
  "@odata.type": n => { admin.odataType = n.getStringValue(); },
29770
29996
  "people": n => { admin.people = n.getObjectValue(createPeopleAdminSettingsFromDiscriminatorValue); },
@@ -29937,6 +30163,15 @@ export function deserializeIntoAgreementFileVersion(agreementFileVersion = {}) {
29937
30163
  export function deserializeIntoAgreementFileVersionCollectionResponse(agreementFileVersionCollectionResponse = {}) {
29938
30164
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(agreementFileVersionCollectionResponse)), { "value": n => { agreementFileVersionCollectionResponse.value = n.getCollectionOfObjectValues(createAgreementFileVersionFromDiscriminatorValue); } });
29939
30165
  }
30166
+ /**
30167
+ * The deserialization information for the current model
30168
+ * @param AiAgentInfo The instance to deserialize into.
30169
+ * @returns {Record<string, (node: ParseNode) => void>}
30170
+ */
30171
+ // @ts-ignore
30172
+ export function deserializeIntoAiAgentInfo(aiAgentInfo = {}) {
30173
+ return Object.assign(Object.assign({}, deserializeIntoAiInteractionEntity(aiAgentInfo)), { "blueprintId": n => { aiAgentInfo.blueprintId = n.getStringValue(); } });
30174
+ }
29940
30175
  /**
29941
30176
  * The deserialization information for the current model
29942
30177
  * @param AiInteraction The instance to deserialize into.
@@ -29978,6 +30213,21 @@ export function deserializeIntoAiInteractionContext(aiInteractionContext = {}) {
29978
30213
  "@odata.type": n => { aiInteractionContext.odataType = n.getStringValue(); },
29979
30214
  };
29980
30215
  }
30216
+ /**
30217
+ * The deserialization information for the current model
30218
+ * @param AiInteractionEntity The instance to deserialize into.
30219
+ * @returns {Record<string, (node: ParseNode) => void>}
30220
+ */
30221
+ // @ts-ignore
30222
+ export function deserializeIntoAiInteractionEntity(aiInteractionEntity = {}) {
30223
+ return {
30224
+ "backingStoreEnabled": n => { aiInteractionEntity.backingStoreEnabled = true; },
30225
+ "identifier": n => { aiInteractionEntity.identifier = n.getStringValue(); },
30226
+ "name": n => { aiInteractionEntity.name = n.getStringValue(); },
30227
+ "@odata.type": n => { aiInteractionEntity.odataType = n.getStringValue(); },
30228
+ "version": n => { aiInteractionEntity.version = n.getStringValue(); },
30229
+ };
30230
+ }
29981
30231
  /**
29982
30232
  * The deserialization information for the current model
29983
30233
  * @param AiInteractionHistory The instance to deserialize into.
@@ -30033,13 +30283,7 @@ export function deserializeIntoAiInteractionMentionedIdentitySet(aiInteractionMe
30033
30283
  */
30034
30284
  // @ts-ignore
30035
30285
  export function deserializeIntoAiInteractionPlugin(aiInteractionPlugin = {}) {
30036
- return {
30037
- "backingStoreEnabled": n => { aiInteractionPlugin.backingStoreEnabled = true; },
30038
- "identifier": n => { aiInteractionPlugin.identifier = n.getStringValue(); },
30039
- "name": n => { aiInteractionPlugin.name = n.getStringValue(); },
30040
- "@odata.type": n => { aiInteractionPlugin.odataType = n.getStringValue(); },
30041
- "version": n => { aiInteractionPlugin.version = n.getStringValue(); },
30042
- };
30286
+ return Object.assign({}, deserializeIntoAiInteractionEntity(aiInteractionPlugin));
30043
30287
  }
30044
30288
  /**
30045
30289
  * The deserialization information for the current model
@@ -31637,7 +31881,7 @@ export function deserializeIntoAuthContext(authContext = {}) {
31637
31881
  */
31638
31882
  // @ts-ignore
31639
31883
  export function deserializeIntoAuthentication(authentication = {}) {
31640
- return Object.assign(Object.assign({}, deserializeIntoEntity(authentication)), { "emailMethods": n => { authentication.emailMethods = n.getCollectionOfObjectValues(createEmailAuthenticationMethodFromDiscriminatorValue); }, "fido2Methods": n => { authentication.fido2Methods = n.getCollectionOfObjectValues(createFido2AuthenticationMethodFromDiscriminatorValue); }, "methods": n => { authentication.methods = n.getCollectionOfObjectValues(createAuthenticationMethodFromDiscriminatorValue); }, "microsoftAuthenticatorMethods": n => { authentication.microsoftAuthenticatorMethods = n.getCollectionOfObjectValues(createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue); }, "operations": n => { authentication.operations = n.getCollectionOfObjectValues(createLongRunningOperationFromDiscriminatorValue); }, "passwordMethods": n => { authentication.passwordMethods = n.getCollectionOfObjectValues(createPasswordAuthenticationMethodFromDiscriminatorValue); }, "phoneMethods": n => { authentication.phoneMethods = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); }, "platformCredentialMethods": n => { authentication.platformCredentialMethods = n.getCollectionOfObjectValues(createPlatformCredentialAuthenticationMethodFromDiscriminatorValue); }, "softwareOathMethods": n => { authentication.softwareOathMethods = n.getCollectionOfObjectValues(createSoftwareOathAuthenticationMethodFromDiscriminatorValue); }, "temporaryAccessPassMethods": n => { authentication.temporaryAccessPassMethods = n.getCollectionOfObjectValues(createTemporaryAccessPassAuthenticationMethodFromDiscriminatorValue); }, "windowsHelloForBusinessMethods": n => { authentication.windowsHelloForBusinessMethods = n.getCollectionOfObjectValues(createWindowsHelloForBusinessAuthenticationMethodFromDiscriminatorValue); } });
31884
+ return Object.assign(Object.assign({}, deserializeIntoEntity(authentication)), { "emailMethods": n => { authentication.emailMethods = n.getCollectionOfObjectValues(createEmailAuthenticationMethodFromDiscriminatorValue); }, "externalAuthenticationMethods": n => { authentication.externalAuthenticationMethods = n.getCollectionOfObjectValues(createExternalAuthenticationMethodFromDiscriminatorValue); }, "fido2Methods": n => { authentication.fido2Methods = n.getCollectionOfObjectValues(createFido2AuthenticationMethodFromDiscriminatorValue); }, "methods": n => { authentication.methods = n.getCollectionOfObjectValues(createAuthenticationMethodFromDiscriminatorValue); }, "microsoftAuthenticatorMethods": n => { authentication.microsoftAuthenticatorMethods = n.getCollectionOfObjectValues(createMicrosoftAuthenticatorAuthenticationMethodFromDiscriminatorValue); }, "operations": n => { authentication.operations = n.getCollectionOfObjectValues(createLongRunningOperationFromDiscriminatorValue); }, "passwordMethods": n => { authentication.passwordMethods = n.getCollectionOfObjectValues(createPasswordAuthenticationMethodFromDiscriminatorValue); }, "phoneMethods": n => { authentication.phoneMethods = n.getCollectionOfObjectValues(createPhoneAuthenticationMethodFromDiscriminatorValue); }, "platformCredentialMethods": n => { authentication.platformCredentialMethods = n.getCollectionOfObjectValues(createPlatformCredentialAuthenticationMethodFromDiscriminatorValue); }, "softwareOathMethods": n => { authentication.softwareOathMethods = n.getCollectionOfObjectValues(createSoftwareOathAuthenticationMethodFromDiscriminatorValue); }, "temporaryAccessPassMethods": n => { authentication.temporaryAccessPassMethods = n.getCollectionOfObjectValues(createTemporaryAccessPassAuthenticationMethodFromDiscriminatorValue); }, "windowsHelloForBusinessMethods": n => { authentication.windowsHelloForBusinessMethods = n.getCollectionOfObjectValues(createWindowsHelloForBusinessAuthenticationMethodFromDiscriminatorValue); } });
31641
31885
  }
31642
31886
  /**
31643
31887
  * The deserialization information for the current model
@@ -31881,7 +32125,7 @@ export function deserializeIntoAuthenticationFlowsPolicy(authenticationFlowsPoli
31881
32125
  */
31882
32126
  // @ts-ignore
31883
32127
  export function deserializeIntoAuthenticationMethod(authenticationMethod = {}) {
31884
- return Object.assign({}, deserializeIntoEntity(authenticationMethod));
32128
+ return Object.assign(Object.assign({}, deserializeIntoEntity(authenticationMethod)), { "createdDateTime": n => { authenticationMethod.createdDateTime = n.getDateValue(); } });
31885
32129
  }
31886
32130
  /**
31887
32131
  * The deserialization information for the current model
@@ -39051,6 +39295,42 @@ export function deserializeIntoEventMessageRequest(eventMessageRequest = {}) {
39051
39295
  export function deserializeIntoEventMessageResponse(eventMessageResponse = {}) {
39052
39296
  return Object.assign(Object.assign({}, deserializeIntoEventMessage(eventMessageResponse)), { "proposedNewTime": n => { eventMessageResponse.proposedNewTime = n.getObjectValue(createTimeSlotFromDiscriminatorValue); }, "responseType": n => { eventMessageResponse.responseType = n.getEnumValue(ResponseTypeObject); } });
39053
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
+ }
39054
39334
  /**
39055
39335
  * The deserialization information for the current model
39056
39336
  * @param ExchangeProtectionPolicy The instance to deserialize into.
@@ -39189,6 +39469,33 @@ export function deserializeIntoExtensionSchemaProperty(extensionSchemaProperty =
39189
39469
  "type": n => { extensionSchemaProperty.type = n.getStringValue(); },
39190
39470
  };
39191
39471
  }
39472
+ /**
39473
+ * The deserialization information for the current model
39474
+ * @param ExternalAuthenticationMethod The instance to deserialize into.
39475
+ * @returns {Record<string, (node: ParseNode) => void>}
39476
+ */
39477
+ // @ts-ignore
39478
+ export function deserializeIntoExternalAuthenticationMethod(externalAuthenticationMethod = {}) {
39479
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(externalAuthenticationMethod)), { "configurationId": n => { externalAuthenticationMethod.configurationId = n.getStringValue(); }, "displayName": n => { externalAuthenticationMethod.displayName = n.getStringValue(); } });
39480
+ }
39481
+ /**
39482
+ * The deserialization information for the current model
39483
+ * @param ExternalAuthenticationMethodCollectionResponse The instance to deserialize into.
39484
+ * @returns {Record<string, (node: ParseNode) => void>}
39485
+ */
39486
+ // @ts-ignore
39487
+ export function deserializeIntoExternalAuthenticationMethodCollectionResponse(externalAuthenticationMethodCollectionResponse = {}) {
39488
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(externalAuthenticationMethodCollectionResponse)), { "value": n => { externalAuthenticationMethodCollectionResponse.value = n.getCollectionOfObjectValues(createExternalAuthenticationMethodFromDiscriminatorValue); } });
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
+ }
39192
39499
  /**
39193
39500
  * The deserialization information for the current model
39194
39501
  * @param ExternalDomainFederation The instance to deserialize into.
@@ -39326,7 +39633,7 @@ export function deserializeIntoFederatedIdentityCredentialCollectionResponse(fed
39326
39633
  */
39327
39634
  // @ts-ignore
39328
39635
  export function deserializeIntoFido2AuthenticationMethod(fido2AuthenticationMethod = {}) {
39329
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(fido2AuthenticationMethod)), { "aaGuid": n => { fido2AuthenticationMethod.aaGuid = n.getStringValue(); }, "attestationCertificates": n => { fido2AuthenticationMethod.attestationCertificates = n.getCollectionOfPrimitiveValues(); }, "attestationLevel": n => { fido2AuthenticationMethod.attestationLevel = n.getEnumValue(AttestationLevelObject); }, "createdDateTime": n => { fido2AuthenticationMethod.createdDateTime = n.getDateValue(); }, "displayName": n => { fido2AuthenticationMethod.displayName = n.getStringValue(); }, "model": n => { fido2AuthenticationMethod.model = n.getStringValue(); } });
39636
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(fido2AuthenticationMethod)), { "aaGuid": n => { fido2AuthenticationMethod.aaGuid = n.getStringValue(); }, "attestationCertificates": n => { fido2AuthenticationMethod.attestationCertificates = n.getCollectionOfPrimitiveValues(); }, "attestationLevel": n => { fido2AuthenticationMethod.attestationLevel = n.getEnumValue(AttestationLevelObject); }, "displayName": n => { fido2AuthenticationMethod.displayName = n.getStringValue(); }, "model": n => { fido2AuthenticationMethod.model = n.getStringValue(); } });
39330
39637
  }
39331
39638
  /**
39332
39639
  * The deserialization information for the current model
@@ -39952,7 +40259,7 @@ export function deserializeIntoGranularMailboxRestoreArtifactCollectionResponse(
39952
40259
  */
39953
40260
  // @ts-ignore
39954
40261
  export function deserializeIntoGroup(group = {}) {
39955
- 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(); } });
39956
40263
  }
39957
40264
  /**
39958
40265
  * The deserialization information for the current model
@@ -43335,6 +43642,15 @@ export function deserializeIntoMessageSecurityState(messageSecurityState = {}) {
43335
43642
  "@odata.type": n => { messageSecurityState.odataType = n.getStringValue(); },
43336
43643
  };
43337
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
+ }
43338
43654
  /**
43339
43655
  * The deserialization information for the current model
43340
43656
  * @param MessageUnpinnedEventMessageDetail The instance to deserialize into.
@@ -43374,7 +43690,7 @@ export function deserializeIntoMicrosoftAccountUserConversationMember(microsoftA
43374
43690
  */
43375
43691
  // @ts-ignore
43376
43692
  export function deserializeIntoMicrosoftAuthenticatorAuthenticationMethod(microsoftAuthenticatorAuthenticationMethod = {}) {
43377
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(microsoftAuthenticatorAuthenticationMethod)), { "createdDateTime": n => { microsoftAuthenticatorAuthenticationMethod.createdDateTime = n.getDateValue(); }, "device": n => { microsoftAuthenticatorAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "deviceTag": n => { microsoftAuthenticatorAuthenticationMethod.deviceTag = n.getStringValue(); }, "displayName": n => { microsoftAuthenticatorAuthenticationMethod.displayName = n.getStringValue(); }, "phoneAppVersion": n => { microsoftAuthenticatorAuthenticationMethod.phoneAppVersion = n.getStringValue(); } });
43693
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(microsoftAuthenticatorAuthenticationMethod)), { "device": n => { microsoftAuthenticatorAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "deviceTag": n => { microsoftAuthenticatorAuthenticationMethod.deviceTag = n.getStringValue(); }, "displayName": n => { microsoftAuthenticatorAuthenticationMethod.displayName = n.getStringValue(); }, "phoneAppVersion": n => { microsoftAuthenticatorAuthenticationMethod.phoneAppVersion = n.getStringValue(); } });
43378
43694
  }
43379
43695
  /**
43380
43696
  * The deserialization information for the current model
@@ -44109,6 +44425,83 @@ export function deserializeIntoOfferShiftRequestCollectionResponse(offerShiftReq
44109
44425
  export function deserializeIntoOfficeGraphInsights(officeGraphInsights = {}) {
44110
44426
  return Object.assign(Object.assign({}, deserializeIntoEntity(officeGraphInsights)), { "shared": n => { officeGraphInsights.shared = n.getCollectionOfObjectValues(createSharedInsightFromDiscriminatorValue); }, "trending": n => { officeGraphInsights.trending = n.getCollectionOfObjectValues(createTrendingFromDiscriminatorValue); }, "used": n => { officeGraphInsights.used = n.getCollectionOfObjectValues(createUsedInsightFromDiscriminatorValue); } });
44111
44427
  }
44428
+ /**
44429
+ * The deserialization information for the current model
44430
+ * @param OidcAddressInboundClaims The instance to deserialize into.
44431
+ * @returns {Record<string, (node: ParseNode) => void>}
44432
+ */
44433
+ // @ts-ignore
44434
+ export function deserializeIntoOidcAddressInboundClaims(oidcAddressInboundClaims = {}) {
44435
+ return {
44436
+ "backingStoreEnabled": n => { oidcAddressInboundClaims.backingStoreEnabled = true; },
44437
+ "country": n => { oidcAddressInboundClaims.country = n.getStringValue(); },
44438
+ "locality": n => { oidcAddressInboundClaims.locality = n.getStringValue(); },
44439
+ "@odata.type": n => { oidcAddressInboundClaims.odataType = n.getStringValue(); },
44440
+ "postal_code": n => { oidcAddressInboundClaims.postalCode = n.getStringValue(); },
44441
+ "region": n => { oidcAddressInboundClaims.region = n.getStringValue(); },
44442
+ "street_address": n => { oidcAddressInboundClaims.streetAddress = n.getStringValue(); },
44443
+ };
44444
+ }
44445
+ /**
44446
+ * The deserialization information for the current model
44447
+ * @param OidcClientAuthentication The instance to deserialize into.
44448
+ * @returns {Record<string, (node: ParseNode) => void>}
44449
+ */
44450
+ // @ts-ignore
44451
+ export function deserializeIntoOidcClientAuthentication(oidcClientAuthentication = {}) {
44452
+ return {
44453
+ "backingStoreEnabled": n => { oidcClientAuthentication.backingStoreEnabled = true; },
44454
+ "@odata.type": n => { oidcClientAuthentication.odataType = n.getStringValue(); },
44455
+ };
44456
+ }
44457
+ /**
44458
+ * The deserialization information for the current model
44459
+ * @param OidcClientSecretAuthentication The instance to deserialize into.
44460
+ * @returns {Record<string, (node: ParseNode) => void>}
44461
+ */
44462
+ // @ts-ignore
44463
+ export function deserializeIntoOidcClientSecretAuthentication(oidcClientSecretAuthentication = {}) {
44464
+ return Object.assign(Object.assign({}, deserializeIntoOidcClientAuthentication(oidcClientSecretAuthentication)), { "clientSecret": n => { oidcClientSecretAuthentication.clientSecret = n.getStringValue(); } });
44465
+ }
44466
+ /**
44467
+ * The deserialization information for the current model
44468
+ * @param OidcIdentityProvider The instance to deserialize into.
44469
+ * @returns {Record<string, (node: ParseNode) => void>}
44470
+ */
44471
+ // @ts-ignore
44472
+ export function deserializeIntoOidcIdentityProvider(oidcIdentityProvider = {}) {
44473
+ return Object.assign(Object.assign({}, deserializeIntoIdentityProviderBase(oidcIdentityProvider)), { "clientAuthentication": n => { oidcIdentityProvider.clientAuthentication = n.getObjectValue(createOidcClientAuthenticationFromDiscriminatorValue); }, "clientId": n => { oidcIdentityProvider.clientId = n.getStringValue(); }, "inboundClaimMapping": n => { oidcIdentityProvider.inboundClaimMapping = n.getObjectValue(createOidcInboundClaimMappingOverrideFromDiscriminatorValue); }, "issuer": n => { oidcIdentityProvider.issuer = n.getStringValue(); }, "responseType": n => { oidcIdentityProvider.responseType = n.getCollectionOfEnumValues(OidcResponseTypeObject); }, "scope": n => { oidcIdentityProvider.scope = n.getStringValue(); }, "wellKnownEndpoint": n => { oidcIdentityProvider.wellKnownEndpoint = n.getStringValue(); } });
44474
+ }
44475
+ /**
44476
+ * The deserialization information for the current model
44477
+ * @param OidcInboundClaimMappingOverride The instance to deserialize into.
44478
+ * @returns {Record<string, (node: ParseNode) => void>}
44479
+ */
44480
+ // @ts-ignore
44481
+ export function deserializeIntoOidcInboundClaimMappingOverride(oidcInboundClaimMappingOverride = {}) {
44482
+ return {
44483
+ "address": n => { oidcInboundClaimMappingOverride.address = n.getObjectValue(createOidcAddressInboundClaimsFromDiscriminatorValue); },
44484
+ "backingStoreEnabled": n => { oidcInboundClaimMappingOverride.backingStoreEnabled = true; },
44485
+ "email": n => { oidcInboundClaimMappingOverride.email = n.getStringValue(); },
44486
+ "email_verified": n => { oidcInboundClaimMappingOverride.emailVerified = n.getStringValue(); },
44487
+ "family_name": n => { oidcInboundClaimMappingOverride.familyName = n.getStringValue(); },
44488
+ "given_name": n => { oidcInboundClaimMappingOverride.givenName = n.getStringValue(); },
44489
+ "name": n => { oidcInboundClaimMappingOverride.name = n.getStringValue(); },
44490
+ "@odata.type": n => { oidcInboundClaimMappingOverride.odataType = n.getStringValue(); },
44491
+ "phone_number": n => { oidcInboundClaimMappingOverride.phoneNumber = n.getStringValue(); },
44492
+ "phone_number_verified": n => { oidcInboundClaimMappingOverride.phoneNumberVerified = n.getStringValue(); },
44493
+ "sub": n => { oidcInboundClaimMappingOverride.sub = n.getStringValue(); },
44494
+ };
44495
+ }
44496
+ /**
44497
+ * The deserialization information for the current model
44498
+ * @param OidcPrivateJwtKeyClientAuthentication The instance to deserialize into.
44499
+ * @returns {Record<string, (node: ParseNode) => void>}
44500
+ */
44501
+ // @ts-ignore
44502
+ export function deserializeIntoOidcPrivateJwtKeyClientAuthentication(oidcPrivateJwtKeyClientAuthentication = {}) {
44503
+ return Object.assign({}, deserializeIntoOidcClientAuthentication(oidcPrivateJwtKeyClientAuthentication));
44504
+ }
44112
44505
  /**
44113
44506
  * The deserialization information for the current model
44114
44507
  * @param OmaSetting The instance to deserialize into.
@@ -44934,6 +45327,20 @@ export function deserializeIntoOnUserCreateStartHandler(onUserCreateStartHandler
44934
45327
  export function deserializeIntoOnUserCreateStartListener(onUserCreateStartListener = {}) {
44935
45328
  return Object.assign(Object.assign({}, deserializeIntoAuthenticationEventListener(onUserCreateStartListener)), { "handler": n => { onUserCreateStartListener.handler = n.getObjectValue(createOnUserCreateStartHandlerFromDiscriminatorValue); } });
44936
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
+ }
44937
45344
  /**
44938
45345
  * The deserialization information for the current model
44939
45346
  * @param OpenShift The instance to deserialize into.
@@ -45374,7 +45781,7 @@ export function deserializeIntoPartners(partners = {}) {
45374
45781
  */
45375
45782
  // @ts-ignore
45376
45783
  export function deserializeIntoPasswordAuthenticationMethod(passwordAuthenticationMethod = {}) {
45377
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(passwordAuthenticationMethod)), { "createdDateTime": n => { passwordAuthenticationMethod.createdDateTime = n.getDateValue(); }, "password": n => { passwordAuthenticationMethod.password = n.getStringValue(); } });
45784
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(passwordAuthenticationMethod)), { "password": n => { passwordAuthenticationMethod.password = n.getStringValue(); } });
45378
45785
  }
45379
45786
  /**
45380
45787
  * The deserialization information for the current model
@@ -46099,7 +46506,7 @@ export function deserializeIntoPlannerUserIds(plannerUserIds = {}) {
46099
46506
  */
46100
46507
  // @ts-ignore
46101
46508
  export function deserializeIntoPlatformCredentialAuthenticationMethod(platformCredentialAuthenticationMethod = {}) {
46102
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(platformCredentialAuthenticationMethod)), { "createdDateTime": n => { platformCredentialAuthenticationMethod.createdDateTime = n.getDateValue(); }, "device": n => { platformCredentialAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "displayName": n => { platformCredentialAuthenticationMethod.displayName = n.getStringValue(); }, "keyStrength": n => { platformCredentialAuthenticationMethod.keyStrength = n.getEnumValue(AuthenticationMethodKeyStrengthObject); }, "platform": n => { platformCredentialAuthenticationMethod.platform = n.getEnumValue(AuthenticationMethodPlatformObject); } });
46509
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(platformCredentialAuthenticationMethod)), { "device": n => { platformCredentialAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "displayName": n => { platformCredentialAuthenticationMethod.displayName = n.getStringValue(); }, "keyStrength": n => { platformCredentialAuthenticationMethod.keyStrength = n.getEnumValue(AuthenticationMethodKeyStrengthObject); }, "platform": n => { platformCredentialAuthenticationMethod.platform = n.getEnumValue(AuthenticationMethodPlatformObject); } });
46103
46510
  }
46104
46511
  /**
46105
46512
  * The deserialization information for the current model
@@ -47160,7 +47567,7 @@ export function deserializeIntoProcessContentResponses(processContentResponses =
47160
47567
  */
47161
47568
  // @ts-ignore
47162
47569
  export function deserializeIntoProcessConversationMetadata(processConversationMetadata = {}) {
47163
- return Object.assign(Object.assign({}, deserializeIntoProcessContentMetadataBase(processConversationMetadata)), { "accessedResources": n => { processConversationMetadata.accessedResources = n.getCollectionOfPrimitiveValues(); }, "parentMessageId": n => { processConversationMetadata.parentMessageId = n.getStringValue(); }, "plugins": n => { processConversationMetadata.plugins = n.getCollectionOfObjectValues(createAiInteractionPluginFromDiscriminatorValue); } });
47570
+ return Object.assign(Object.assign({}, deserializeIntoProcessContentMetadataBase(processConversationMetadata)), { "accessedResources": n => { processConversationMetadata.accessedResources = n.getCollectionOfPrimitiveValues(); }, "accessedResources_v2": n => { processConversationMetadata.accessedResourcesV2 = n.getCollectionOfObjectValues(createResourceAccessDetailFromDiscriminatorValue); }, "agents": n => { processConversationMetadata.agents = n.getCollectionOfObjectValues(createAiAgentInfoFromDiscriminatorValue); }, "parentMessageId": n => { processConversationMetadata.parentMessageId = n.getStringValue(); }, "plugins": n => { processConversationMetadata.plugins = n.getCollectionOfObjectValues(createAiInteractionPluginFromDiscriminatorValue); } });
47164
47571
  }
47165
47572
  /**
47166
47573
  * The deserialization information for the current model
@@ -47275,6 +47682,22 @@ export function deserializeIntoProtectedContent(protectedContent = {}) {
47275
47682
  "@odata.type": n => { protectedContent.odataType = n.getStringValue(); },
47276
47683
  };
47277
47684
  }
47685
+ /**
47686
+ * The deserialization information for the current model
47687
+ * @param ProtectionPolicyArtifactCount The instance to deserialize into.
47688
+ * @returns {Record<string, (node: ParseNode) => void>}
47689
+ */
47690
+ // @ts-ignore
47691
+ export function deserializeIntoProtectionPolicyArtifactCount(protectionPolicyArtifactCount = {}) {
47692
+ return {
47693
+ "backingStoreEnabled": n => { protectionPolicyArtifactCount.backingStoreEnabled = true; },
47694
+ "completed": n => { protectionPolicyArtifactCount.completed = n.getNumberValue(); },
47695
+ "failed": n => { protectionPolicyArtifactCount.failed = n.getNumberValue(); },
47696
+ "inProgress": n => { protectionPolicyArtifactCount.inProgress = n.getNumberValue(); },
47697
+ "@odata.type": n => { protectionPolicyArtifactCount.odataType = n.getStringValue(); },
47698
+ "total": n => { protectionPolicyArtifactCount.total = n.getNumberValue(); },
47699
+ };
47700
+ }
47278
47701
  /**
47279
47702
  * The deserialization information for the current model
47280
47703
  * @param ProtectionPolicyBase The instance to deserialize into.
@@ -47282,7 +47705,7 @@ export function deserializeIntoProtectedContent(protectedContent = {}) {
47282
47705
  */
47283
47706
  // @ts-ignore
47284
47707
  export function deserializeIntoProtectionPolicyBase(protectionPolicyBase = {}) {
47285
- return Object.assign(Object.assign({}, deserializeIntoEntity(protectionPolicyBase)), { "createdBy": n => { protectionPolicyBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { protectionPolicyBase.createdDateTime = n.getDateValue(); }, "displayName": n => { protectionPolicyBase.displayName = n.getStringValue(); }, "lastModifiedBy": n => { protectionPolicyBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { protectionPolicyBase.lastModifiedDateTime = n.getDateValue(); }, "retentionSettings": n => { protectionPolicyBase.retentionSettings = n.getCollectionOfObjectValues(createRetentionSettingFromDiscriminatorValue); }, "status": n => { protectionPolicyBase.status = n.getEnumValue(ProtectionPolicyStatusObject); } });
47708
+ return Object.assign(Object.assign({}, deserializeIntoEntity(protectionPolicyBase)), { "createdBy": n => { protectionPolicyBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { protectionPolicyBase.createdDateTime = n.getDateValue(); }, "displayName": n => { protectionPolicyBase.displayName = n.getStringValue(); }, "isEnabled": n => { protectionPolicyBase.isEnabled = n.getBooleanValue(); }, "lastModifiedBy": n => { protectionPolicyBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { protectionPolicyBase.lastModifiedDateTime = n.getDateValue(); }, "protectionPolicyArtifactCount": n => { protectionPolicyBase.protectionPolicyArtifactCount = n.getObjectValue(createProtectionPolicyArtifactCountFromDiscriminatorValue); }, "retentionSettings": n => { protectionPolicyBase.retentionSettings = n.getCollectionOfObjectValues(createRetentionSettingFromDiscriminatorValue); }, "status": n => { protectionPolicyBase.status = n.getEnumValue(ProtectionPolicyStatusObject); } });
47286
47709
  }
47287
47710
  /**
47288
47711
  * The deserialization information for the current model
@@ -48177,6 +48600,26 @@ export function deserializeIntoResourceAccess(resourceAccess = {}) {
48177
48600
  "type": n => { resourceAccess.type = n.getStringValue(); },
48178
48601
  };
48179
48602
  }
48603
+ /**
48604
+ * The deserialization information for the current model
48605
+ * @param ResourceAccessDetail The instance to deserialize into.
48606
+ * @returns {Record<string, (node: ParseNode) => void>}
48607
+ */
48608
+ // @ts-ignore
48609
+ export function deserializeIntoResourceAccessDetail(resourceAccessDetail = {}) {
48610
+ return {
48611
+ "accessType": n => { resourceAccessDetail.accessType = n.getCollectionOfEnumValues(ResourceAccessTypeObject); },
48612
+ "backingStoreEnabled": n => { resourceAccessDetail.backingStoreEnabled = true; },
48613
+ "identifier": n => { resourceAccessDetail.identifier = n.getStringValue(); },
48614
+ "isCrossPromptInjectionDetected": n => { resourceAccessDetail.isCrossPromptInjectionDetected = n.getBooleanValue(); },
48615
+ "labelId": n => { resourceAccessDetail.labelId = n.getStringValue(); },
48616
+ "name": n => { resourceAccessDetail.name = n.getStringValue(); },
48617
+ "@odata.type": n => { resourceAccessDetail.odataType = n.getStringValue(); },
48618
+ "status": n => { resourceAccessDetail.status = n.getEnumValue(ResourceAccessStatusObject); },
48619
+ "storageId": n => { resourceAccessDetail.storageId = n.getStringValue(); },
48620
+ "url": n => { resourceAccessDetail.url = n.getStringValue(); },
48621
+ };
48622
+ }
48180
48623
  /**
48181
48624
  * The deserialization information for the current model
48182
48625
  * @param ResourceAction The instance to deserialize into.
@@ -52325,7 +52768,7 @@ export function deserializeIntoTeleconferenceDeviceVideoQuality(teleconferenceDe
52325
52768
  */
52326
52769
  // @ts-ignore
52327
52770
  export function deserializeIntoTemporaryAccessPassAuthenticationMethod(temporaryAccessPassAuthenticationMethod = {}) {
52328
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(temporaryAccessPassAuthenticationMethod)), { "createdDateTime": n => { temporaryAccessPassAuthenticationMethod.createdDateTime = n.getDateValue(); }, "isUsable": n => { temporaryAccessPassAuthenticationMethod.isUsable = n.getBooleanValue(); }, "isUsableOnce": n => { temporaryAccessPassAuthenticationMethod.isUsableOnce = n.getBooleanValue(); }, "lifetimeInMinutes": n => { temporaryAccessPassAuthenticationMethod.lifetimeInMinutes = n.getNumberValue(); }, "methodUsabilityReason": n => { temporaryAccessPassAuthenticationMethod.methodUsabilityReason = n.getStringValue(); }, "startDateTime": n => { temporaryAccessPassAuthenticationMethod.startDateTime = n.getDateValue(); }, "temporaryAccessPass": n => { temporaryAccessPassAuthenticationMethod.temporaryAccessPass = n.getStringValue(); } });
52771
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(temporaryAccessPassAuthenticationMethod)), { "isUsable": n => { temporaryAccessPassAuthenticationMethod.isUsable = n.getBooleanValue(); }, "isUsableOnce": n => { temporaryAccessPassAuthenticationMethod.isUsableOnce = n.getBooleanValue(); }, "lifetimeInMinutes": n => { temporaryAccessPassAuthenticationMethod.lifetimeInMinutes = n.getNumberValue(); }, "methodUsabilityReason": n => { temporaryAccessPassAuthenticationMethod.methodUsabilityReason = n.getStringValue(); }, "startDateTime": n => { temporaryAccessPassAuthenticationMethod.startDateTime = n.getDateValue(); }, "temporaryAccessPass": n => { temporaryAccessPassAuthenticationMethod.temporaryAccessPass = n.getStringValue(); } });
52329
52772
  }
52330
52773
  /**
52331
52774
  * The deserialization information for the current model
@@ -55686,7 +56129,7 @@ export function deserializeIntoWindowsFirewallNetworkProfile(windowsFirewallNetw
55686
56129
  */
55687
56130
  // @ts-ignore
55688
56131
  export function deserializeIntoWindowsHelloForBusinessAuthenticationMethod(windowsHelloForBusinessAuthenticationMethod = {}) {
55689
- return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(windowsHelloForBusinessAuthenticationMethod)), { "createdDateTime": n => { windowsHelloForBusinessAuthenticationMethod.createdDateTime = n.getDateValue(); }, "device": n => { windowsHelloForBusinessAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "displayName": n => { windowsHelloForBusinessAuthenticationMethod.displayName = n.getStringValue(); }, "keyStrength": n => { windowsHelloForBusinessAuthenticationMethod.keyStrength = n.getEnumValue(AuthenticationMethodKeyStrengthObject); } });
56132
+ return Object.assign(Object.assign({}, deserializeIntoAuthenticationMethod(windowsHelloForBusinessAuthenticationMethod)), { "device": n => { windowsHelloForBusinessAuthenticationMethod.device = n.getObjectValue(createDeviceFromDiscriminatorValue); }, "displayName": n => { windowsHelloForBusinessAuthenticationMethod.displayName = n.getStringValue(); }, "keyStrength": n => { windowsHelloForBusinessAuthenticationMethod.keyStrength = n.getEnumValue(AuthenticationMethodKeyStrengthObject); } });
55690
56133
  }
55691
56134
  /**
55692
56135
  * The deserialization information for the current model
@@ -58762,6 +59205,7 @@ export function serializeAdmin(writer, admin = {}, isSerializingDerivedType = fa
58762
59205
  return;
58763
59206
  }
58764
59207
  writer.writeObjectValue("edge", admin.edge, serializeEdge);
59208
+ writer.writeObjectValue("exchange", admin.exchange, serializeExchangeAdmin);
58765
59209
  writer.writeObjectValue("microsoft365Apps", admin.microsoft365Apps, serializeAdminMicrosoft365Apps);
58766
59210
  writer.writeStringValue("@odata.type", admin.odataType);
58767
59211
  writer.writeObjectValue("people", admin.people, serializePeopleAdminSettings);
@@ -59062,6 +59506,20 @@ export function serializeAgreementFileVersionCollectionResponse(writer, agreemen
59062
59506
  serializeBaseCollectionPaginationCountResponse(writer, agreementFileVersionCollectionResponse, isSerializingDerivedType);
59063
59507
  writer.writeCollectionOfObjectValues("value", agreementFileVersionCollectionResponse.value, serializeAgreementFileVersion);
59064
59508
  }
59509
+ /**
59510
+ * Serializes information the current object
59511
+ * @param AiAgentInfo The instance to serialize from.
59512
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
59513
+ * @param writer Serialization writer to use to serialize this model
59514
+ */
59515
+ // @ts-ignore
59516
+ export function serializeAiAgentInfo(writer, aiAgentInfo = {}, isSerializingDerivedType = false) {
59517
+ if (!aiAgentInfo || isSerializingDerivedType) {
59518
+ return;
59519
+ }
59520
+ serializeAiInteractionEntity(writer, aiAgentInfo, isSerializingDerivedType);
59521
+ writer.writeStringValue("blueprintId", aiAgentInfo.blueprintId);
59522
+ }
59065
59523
  /**
59066
59524
  * Serializes information the current object
59067
59525
  * @param AiInteraction The instance to serialize from.
@@ -59125,6 +59583,31 @@ export function serializeAiInteractionContext(writer, aiInteractionContext = {},
59125
59583
  writer.writeStringValue("@odata.type", aiInteractionContext.odataType);
59126
59584
  writer.writeAdditionalData(aiInteractionContext.additionalData);
59127
59585
  }
59586
+ /**
59587
+ * Serializes information the current object
59588
+ * @param AiInteractionEntity The instance to serialize from.
59589
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
59590
+ * @param writer Serialization writer to use to serialize this model
59591
+ */
59592
+ // @ts-ignore
59593
+ export function serializeAiInteractionEntity(writer, aiInteractionEntity = {}, isSerializingDerivedType = false) {
59594
+ if (!aiInteractionEntity || isSerializingDerivedType) {
59595
+ return;
59596
+ }
59597
+ writer.writeStringValue("identifier", aiInteractionEntity.identifier);
59598
+ writer.writeStringValue("name", aiInteractionEntity.name);
59599
+ writer.writeStringValue("@odata.type", aiInteractionEntity.odataType);
59600
+ writer.writeStringValue("version", aiInteractionEntity.version);
59601
+ writer.writeAdditionalData(aiInteractionEntity.additionalData);
59602
+ switch (aiInteractionEntity.odataType) {
59603
+ case "#microsoft.graph.aiAgentInfo":
59604
+ serializeAiAgentInfo(writer, aiInteractionEntity, true);
59605
+ break;
59606
+ case "#microsoft.graph.aiInteractionPlugin":
59607
+ serializeAiInteractionPlugin(writer, aiInteractionEntity, true);
59608
+ break;
59609
+ }
59610
+ }
59128
59611
  /**
59129
59612
  * Serializes information the current object
59130
59613
  * @param AiInteractionHistory The instance to serialize from.
@@ -59198,11 +59681,7 @@ export function serializeAiInteractionPlugin(writer, aiInteractionPlugin = {}, i
59198
59681
  if (!aiInteractionPlugin || isSerializingDerivedType) {
59199
59682
  return;
59200
59683
  }
59201
- writer.writeStringValue("identifier", aiInteractionPlugin.identifier);
59202
- writer.writeStringValue("name", aiInteractionPlugin.name);
59203
- writer.writeStringValue("@odata.type", aiInteractionPlugin.odataType);
59204
- writer.writeStringValue("version", aiInteractionPlugin.version);
59205
- writer.writeAdditionalData(aiInteractionPlugin.additionalData);
59684
+ serializeAiInteractionEntity(writer, aiInteractionPlugin, isSerializingDerivedType);
59206
59685
  }
59207
59686
  /**
59208
59687
  * Serializes information the current object
@@ -61670,6 +62149,7 @@ export function serializeAuthentication(writer, authentication = {}, isSerializi
61670
62149
  }
61671
62150
  serializeEntity(writer, authentication, isSerializingDerivedType);
61672
62151
  writer.writeCollectionOfObjectValues("emailMethods", authentication.emailMethods, serializeEmailAuthenticationMethod);
62152
+ writer.writeCollectionOfObjectValues("externalAuthenticationMethods", authentication.externalAuthenticationMethods, serializeExternalAuthenticationMethod);
61673
62153
  writer.writeCollectionOfObjectValues("fido2Methods", authentication.fido2Methods, serializeFido2AuthenticationMethod);
61674
62154
  writer.writeCollectionOfObjectValues("methods", authentication.methods, serializeAuthenticationMethod);
61675
62155
  writer.writeCollectionOfObjectValues("microsoftAuthenticatorMethods", authentication.microsoftAuthenticatorMethods, serializeMicrosoftAuthenticatorAuthenticationMethod);
@@ -62049,10 +62529,14 @@ export function serializeAuthenticationMethod(writer, authenticationMethod = {},
62049
62529
  return;
62050
62530
  }
62051
62531
  serializeEntity(writer, authenticationMethod, isSerializingDerivedType);
62532
+ writer.writeDateValue("createdDateTime", authenticationMethod.createdDateTime);
62052
62533
  switch (authenticationMethod.odataType) {
62053
62534
  case "#microsoft.graph.emailAuthenticationMethod":
62054
62535
  serializeEmailAuthenticationMethod(writer, authenticationMethod, true);
62055
62536
  break;
62537
+ case "#microsoft.graph.externalAuthenticationMethod":
62538
+ serializeExternalAuthenticationMethod(writer, authenticationMethod, true);
62539
+ break;
62056
62540
  case "#microsoft.graph.fido2AuthenticationMethod":
62057
62541
  serializeFido2AuthenticationMethod(writer, authenticationMethod, true);
62058
62542
  break;
@@ -62111,6 +62595,9 @@ export function serializeAuthenticationMethodConfiguration(writer, authenticatio
62111
62595
  case "#microsoft.graph.emailAuthenticationMethodConfiguration":
62112
62596
  serializeEmailAuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62113
62597
  break;
62598
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
62599
+ serializeExternalAuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62600
+ break;
62114
62601
  case "#microsoft.graph.fido2AuthenticationMethodConfiguration":
62115
62602
  serializeFido2AuthenticationMethodConfiguration(writer, authenticationMethodConfiguration, true);
62116
62603
  break;
@@ -74960,6 +75447,15 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
74960
75447
  case "#microsoft.graph.eventMessageResponse":
74961
75448
  serializeEventMessageResponse(writer, entity, true);
74962
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;
74963
75459
  case "#microsoft.graph.exchangeProtectionPolicy":
74964
75460
  serializeExchangeProtectionPolicy(writer, entity, true);
74965
75461
  break;
@@ -74972,6 +75468,12 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
74972
75468
  case "#microsoft.graph.extensionProperty":
74973
75469
  serializeExtensionProperty(writer, entity, true);
74974
75470
  break;
75471
+ case "#microsoft.graph.externalAuthenticationMethod":
75472
+ serializeExternalAuthenticationMethod(writer, entity, true);
75473
+ break;
75474
+ case "#microsoft.graph.externalAuthenticationMethodConfiguration":
75475
+ serializeExternalAuthenticationMethodConfiguration(writer, entity, true);
75476
+ break;
74975
75477
  case "#microsoft.graph.externalConnectors.connectionOperation":
74976
75478
  serializeConnectionOperation(writer, entity, true);
74977
75479
  break;
@@ -75443,6 +75945,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
75443
75945
  case "#microsoft.graph.messageRule":
75444
75946
  serializeMessageRule(writer, entity, true);
75445
75947
  break;
75948
+ case "#microsoft.graph.messageTracingRoot":
75949
+ serializeMessageTracingRoot(writer, entity, true);
75950
+ break;
75446
75951
  case "#microsoft.graph.microsoftAccountUserConversationMember":
75447
75952
  serializeMicrosoftAccountUserConversationMember(writer, entity, true);
75448
75953
  break;
@@ -75527,6 +76032,9 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
75527
76032
  case "#microsoft.graph.officeGraphInsights":
75528
76033
  serializeOfficeGraphInsights(writer, entity, true);
75529
76034
  break;
76035
+ case "#microsoft.graph.oidcIdentityProvider":
76036
+ serializeOidcIdentityProvider(writer, entity, true);
76037
+ break;
75530
76038
  case "#microsoft.graph.onAttributeCollectionListener":
75531
76039
  serializeOnAttributeCollectionListener(writer, entity, true);
75532
76040
  break;
@@ -76508,9 +77016,18 @@ export function serializeEntity(writer, entity = {}, isSerializingDerivedType =
76508
77016
  case "#microsoft.graph.teamInfo":
76509
77017
  serializeTeamInfo(writer, entity, true);
76510
77018
  break;
77019
+ case "#microsoft.graph.teamsAdministration.policyIdentifierDetail":
77020
+ serializePolicyIdentifierDetail(writer, entity, true);
77021
+ break;
76511
77022
  case "#microsoft.graph.teamsAdministration.teamsAdminRoot":
76512
77023
  serializeTeamsAdminRoot(writer, entity, true);
76513
77024
  break;
77025
+ case "#microsoft.graph.teamsAdministration.teamsPolicyAssignment":
77026
+ serializeTeamsPolicyAssignment(writer, entity, true);
77027
+ break;
77028
+ case "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment":
77029
+ serializeTeamsPolicyUserAssignment(writer, entity, true);
77030
+ break;
76514
77031
  case "#microsoft.graph.teamsAdministration.teamsUserConfiguration":
76515
77032
  serializeTeamsUserConfiguration(writer, entity, true);
76516
77033
  break;
@@ -77436,6 +77953,75 @@ export function serializeEventMessageResponse(writer, eventMessageResponse = {},
77436
77953
  writer.writeObjectValue("proposedNewTime", eventMessageResponse.proposedNewTime, serializeTimeSlot);
77437
77954
  writer.writeEnumValue("responseType", eventMessageResponse.responseType);
77438
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
+ }
77439
78025
  /**
77440
78026
  * Serializes information the current object
77441
78027
  * @param ExchangeProtectionPolicy The instance to serialize from.
@@ -77639,6 +78225,52 @@ export function serializeExtensionSchemaProperty(writer, extensionSchemaProperty
77639
78225
  writer.writeStringValue("type", extensionSchemaProperty.type);
77640
78226
  writer.writeAdditionalData(extensionSchemaProperty.additionalData);
77641
78227
  }
78228
+ /**
78229
+ * Serializes information the current object
78230
+ * @param ExternalAuthenticationMethod The instance to serialize from.
78231
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
78232
+ * @param writer Serialization writer to use to serialize this model
78233
+ */
78234
+ // @ts-ignore
78235
+ export function serializeExternalAuthenticationMethod(writer, externalAuthenticationMethod = {}, isSerializingDerivedType = false) {
78236
+ if (!externalAuthenticationMethod || isSerializingDerivedType) {
78237
+ return;
78238
+ }
78239
+ serializeAuthenticationMethod(writer, externalAuthenticationMethod, isSerializingDerivedType);
78240
+ writer.writeStringValue("configurationId", externalAuthenticationMethod.configurationId);
78241
+ writer.writeStringValue("displayName", externalAuthenticationMethod.displayName);
78242
+ }
78243
+ /**
78244
+ * Serializes information the current object
78245
+ * @param ExternalAuthenticationMethodCollectionResponse The instance to serialize from.
78246
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
78247
+ * @param writer Serialization writer to use to serialize this model
78248
+ */
78249
+ // @ts-ignore
78250
+ export function serializeExternalAuthenticationMethodCollectionResponse(writer, externalAuthenticationMethodCollectionResponse = {}, isSerializingDerivedType = false) {
78251
+ if (!externalAuthenticationMethodCollectionResponse || isSerializingDerivedType) {
78252
+ return;
78253
+ }
78254
+ serializeBaseCollectionPaginationCountResponse(writer, externalAuthenticationMethodCollectionResponse, isSerializingDerivedType);
78255
+ writer.writeCollectionOfObjectValues("value", externalAuthenticationMethodCollectionResponse.value, serializeExternalAuthenticationMethod);
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
+ }
77642
78274
  /**
77643
78275
  * Serializes information the current object
77644
78276
  * @param ExternalDomainFederation The instance to serialize from.
@@ -77853,7 +78485,6 @@ export function serializeFido2AuthenticationMethod(writer, fido2AuthenticationMe
77853
78485
  writer.writeStringValue("aaGuid", fido2AuthenticationMethod.aaGuid);
77854
78486
  writer.writeCollectionOfPrimitiveValues("attestationCertificates", fido2AuthenticationMethod.attestationCertificates);
77855
78487
  writer.writeEnumValue("attestationLevel", fido2AuthenticationMethod.attestationLevel);
77856
- writer.writeDateValue("createdDateTime", fido2AuthenticationMethod.createdDateTime);
77857
78488
  writer.writeStringValue("displayName", fido2AuthenticationMethod.displayName);
77858
78489
  writer.writeStringValue("model", fido2AuthenticationMethod.model);
77859
78490
  }
@@ -78800,6 +79431,8 @@ export function serializeGroup(writer, group = {}, isSerializingDerivedType = fa
78800
79431
  writer.writeCollectionOfPrimitiveValues("proxyAddresses", group.proxyAddresses);
78801
79432
  writer.writeCollectionOfObjectValues("rejectedSenders", group.rejectedSenders, serializeDirectoryObject);
78802
79433
  writer.writeDateValue("renewedDateTime", group.renewedDateTime);
79434
+ writer.writeCollectionOfPrimitiveValues("resourceBehaviorOptions", group.resourceBehaviorOptions);
79435
+ writer.writeCollectionOfPrimitiveValues("resourceProvisioningOptions", group.resourceProvisioningOptions);
78803
79436
  writer.writeBooleanValue("securityEnabled", group.securityEnabled);
78804
79437
  writer.writeStringValue("securityIdentifier", group.securityIdentifier);
78805
79438
  writer.writeCollectionOfObjectValues("serviceProvisioningErrors", group.serviceProvisioningErrors, serializeServiceProvisioningError);
@@ -79398,6 +80031,9 @@ export function serializeIdentityProviderBase(writer, identityProviderBase = {},
79398
80031
  case "#microsoft.graph.internalDomainFederation":
79399
80032
  serializeInternalDomainFederation(writer, identityProviderBase, true);
79400
80033
  break;
80034
+ case "#microsoft.graph.oidcIdentityProvider":
80035
+ serializeOidcIdentityProvider(writer, identityProviderBase, true);
80036
+ break;
79401
80037
  case "#microsoft.graph.samlOrWsFedExternalDomainFederation":
79402
80038
  serializeSamlOrWsFedExternalDomainFederation(writer, identityProviderBase, true);
79403
80039
  break;
@@ -84420,6 +85056,20 @@ export function serializeMessageSecurityState(writer, messageSecurityState = {},
84420
85056
  writer.writeStringValue("@odata.type", messageSecurityState.odataType);
84421
85057
  writer.writeAdditionalData(messageSecurityState.additionalData);
84422
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
+ }
84423
85073
  /**
84424
85074
  * Serializes information the current object
84425
85075
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -84477,7 +85127,6 @@ export function serializeMicrosoftAuthenticatorAuthenticationMethod(writer, micr
84477
85127
  return;
84478
85128
  }
84479
85129
  serializeAuthenticationMethod(writer, microsoftAuthenticatorAuthenticationMethod, isSerializingDerivedType);
84480
- writer.writeDateValue("createdDateTime", microsoftAuthenticatorAuthenticationMethod.createdDateTime);
84481
85130
  writer.writeObjectValue("device", microsoftAuthenticatorAuthenticationMethod.device, serializeDevice);
84482
85131
  writer.writeStringValue("deviceTag", microsoftAuthenticatorAuthenticationMethod.deviceTag);
84483
85132
  writer.writeStringValue("displayName", microsoftAuthenticatorAuthenticationMethod.displayName);
@@ -85752,6 +86401,117 @@ export function serializeOfficeGraphInsights(writer, officeGraphInsights = {}, i
85752
86401
  break;
85753
86402
  }
85754
86403
  }
86404
+ /**
86405
+ * Serializes information the current object
86406
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86407
+ * @param OidcAddressInboundClaims The instance to serialize from.
86408
+ * @param writer Serialization writer to use to serialize this model
86409
+ */
86410
+ // @ts-ignore
86411
+ export function serializeOidcAddressInboundClaims(writer, oidcAddressInboundClaims = {}, isSerializingDerivedType = false) {
86412
+ if (!oidcAddressInboundClaims || isSerializingDerivedType) {
86413
+ return;
86414
+ }
86415
+ writer.writeStringValue("country", oidcAddressInboundClaims.country);
86416
+ writer.writeStringValue("locality", oidcAddressInboundClaims.locality);
86417
+ writer.writeStringValue("@odata.type", oidcAddressInboundClaims.odataType);
86418
+ writer.writeStringValue("postal_code", oidcAddressInboundClaims.postalCode);
86419
+ writer.writeStringValue("region", oidcAddressInboundClaims.region);
86420
+ writer.writeStringValue("street_address", oidcAddressInboundClaims.streetAddress);
86421
+ writer.writeAdditionalData(oidcAddressInboundClaims.additionalData);
86422
+ }
86423
+ /**
86424
+ * Serializes information the current object
86425
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86426
+ * @param OidcClientAuthentication The instance to serialize from.
86427
+ * @param writer Serialization writer to use to serialize this model
86428
+ */
86429
+ // @ts-ignore
86430
+ export function serializeOidcClientAuthentication(writer, oidcClientAuthentication = {}, isSerializingDerivedType = false) {
86431
+ if (!oidcClientAuthentication || isSerializingDerivedType) {
86432
+ return;
86433
+ }
86434
+ writer.writeStringValue("@odata.type", oidcClientAuthentication.odataType);
86435
+ writer.writeAdditionalData(oidcClientAuthentication.additionalData);
86436
+ switch (oidcClientAuthentication.odataType) {
86437
+ case "#microsoft.graph.oidcClientSecretAuthentication":
86438
+ serializeOidcClientSecretAuthentication(writer, oidcClientAuthentication, true);
86439
+ break;
86440
+ case "#microsoft.graph.oidcPrivateJwtKeyClientAuthentication":
86441
+ serializeOidcPrivateJwtKeyClientAuthentication(writer, oidcClientAuthentication, true);
86442
+ break;
86443
+ }
86444
+ }
86445
+ /**
86446
+ * Serializes information the current object
86447
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86448
+ * @param OidcClientSecretAuthentication The instance to serialize from.
86449
+ * @param writer Serialization writer to use to serialize this model
86450
+ */
86451
+ // @ts-ignore
86452
+ export function serializeOidcClientSecretAuthentication(writer, oidcClientSecretAuthentication = {}, isSerializingDerivedType = false) {
86453
+ if (!oidcClientSecretAuthentication || isSerializingDerivedType) {
86454
+ return;
86455
+ }
86456
+ serializeOidcClientAuthentication(writer, oidcClientSecretAuthentication, isSerializingDerivedType);
86457
+ writer.writeStringValue("clientSecret", oidcClientSecretAuthentication.clientSecret);
86458
+ }
86459
+ /**
86460
+ * Serializes information the current object
86461
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86462
+ * @param OidcIdentityProvider The instance to serialize from.
86463
+ * @param writer Serialization writer to use to serialize this model
86464
+ */
86465
+ // @ts-ignore
86466
+ export function serializeOidcIdentityProvider(writer, oidcIdentityProvider = {}, isSerializingDerivedType = false) {
86467
+ if (!oidcIdentityProvider || isSerializingDerivedType) {
86468
+ return;
86469
+ }
86470
+ serializeIdentityProviderBase(writer, oidcIdentityProvider, isSerializingDerivedType);
86471
+ writer.writeObjectValue("clientAuthentication", oidcIdentityProvider.clientAuthentication, serializeOidcClientAuthentication);
86472
+ writer.writeStringValue("clientId", oidcIdentityProvider.clientId);
86473
+ writer.writeObjectValue("inboundClaimMapping", oidcIdentityProvider.inboundClaimMapping, serializeOidcInboundClaimMappingOverride);
86474
+ writer.writeStringValue("issuer", oidcIdentityProvider.issuer);
86475
+ writer.writeEnumValue("responseType", oidcIdentityProvider.responseType);
86476
+ writer.writeStringValue("scope", oidcIdentityProvider.scope);
86477
+ writer.writeStringValue("wellKnownEndpoint", oidcIdentityProvider.wellKnownEndpoint);
86478
+ }
86479
+ /**
86480
+ * Serializes information the current object
86481
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86482
+ * @param OidcInboundClaimMappingOverride The instance to serialize from.
86483
+ * @param writer Serialization writer to use to serialize this model
86484
+ */
86485
+ // @ts-ignore
86486
+ export function serializeOidcInboundClaimMappingOverride(writer, oidcInboundClaimMappingOverride = {}, isSerializingDerivedType = false) {
86487
+ if (!oidcInboundClaimMappingOverride || isSerializingDerivedType) {
86488
+ return;
86489
+ }
86490
+ writer.writeObjectValue("address", oidcInboundClaimMappingOverride.address, serializeOidcAddressInboundClaims);
86491
+ writer.writeStringValue("email", oidcInboundClaimMappingOverride.email);
86492
+ writer.writeStringValue("email_verified", oidcInboundClaimMappingOverride.emailVerified);
86493
+ writer.writeStringValue("family_name", oidcInboundClaimMappingOverride.familyName);
86494
+ writer.writeStringValue("given_name", oidcInboundClaimMappingOverride.givenName);
86495
+ writer.writeStringValue("name", oidcInboundClaimMappingOverride.name);
86496
+ writer.writeStringValue("@odata.type", oidcInboundClaimMappingOverride.odataType);
86497
+ writer.writeStringValue("phone_number", oidcInboundClaimMappingOverride.phoneNumber);
86498
+ writer.writeStringValue("phone_number_verified", oidcInboundClaimMappingOverride.phoneNumberVerified);
86499
+ writer.writeStringValue("sub", oidcInboundClaimMappingOverride.sub);
86500
+ writer.writeAdditionalData(oidcInboundClaimMappingOverride.additionalData);
86501
+ }
86502
+ /**
86503
+ * Serializes information the current object
86504
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
86505
+ * @param OidcPrivateJwtKeyClientAuthentication The instance to serialize from.
86506
+ * @param writer Serialization writer to use to serialize this model
86507
+ */
86508
+ // @ts-ignore
86509
+ export function serializeOidcPrivateJwtKeyClientAuthentication(writer, oidcPrivateJwtKeyClientAuthentication = {}, isSerializingDerivedType = false) {
86510
+ if (!oidcPrivateJwtKeyClientAuthentication || isSerializingDerivedType) {
86511
+ return;
86512
+ }
86513
+ serializeOidcClientAuthentication(writer, oidcPrivateJwtKeyClientAuthentication, isSerializingDerivedType);
86514
+ }
85755
86515
  /**
85756
86516
  * Serializes information the current object
85757
86517
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -87103,6 +87863,22 @@ export function serializeOnUserCreateStartListener(writer, onUserCreateStartList
87103
87863
  serializeAuthenticationEventListener(writer, onUserCreateStartListener, isSerializingDerivedType);
87104
87864
  writer.writeObjectValue("handler", onUserCreateStartListener.handler, serializeOnUserCreateStartHandler);
87105
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
+ }
87106
87882
  /**
87107
87883
  * Serializes information the current object
87108
87884
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -87834,7 +88610,6 @@ export function serializePasswordAuthenticationMethod(writer, passwordAuthentica
87834
88610
  return;
87835
88611
  }
87836
88612
  serializeAuthenticationMethod(writer, passwordAuthenticationMethod, isSerializingDerivedType);
87837
- writer.writeDateValue("createdDateTime", passwordAuthenticationMethod.createdDateTime);
87838
88613
  writer.writeStringValue("password", passwordAuthenticationMethod.password);
87839
88614
  }
87840
88615
  /**
@@ -88941,7 +89716,6 @@ export function serializePlatformCredentialAuthenticationMethod(writer, platform
88941
89716
  return;
88942
89717
  }
88943
89718
  serializeAuthenticationMethod(writer, platformCredentialAuthenticationMethod, isSerializingDerivedType);
88944
- writer.writeDateValue("createdDateTime", platformCredentialAuthenticationMethod.createdDateTime);
88945
89719
  writer.writeObjectValue("device", platformCredentialAuthenticationMethod.device, serializeDevice);
88946
89720
  writer.writeStringValue("displayName", platformCredentialAuthenticationMethod.displayName);
88947
89721
  writer.writeEnumValue("keyStrength", platformCredentialAuthenticationMethod.keyStrength);
@@ -90645,6 +91419,8 @@ export function serializeProcessConversationMetadata(writer, processConversation
90645
91419
  }
90646
91420
  serializeProcessContentMetadataBase(writer, processConversationMetadata, isSerializingDerivedType);
90647
91421
  writer.writeCollectionOfPrimitiveValues("accessedResources", processConversationMetadata.accessedResources);
91422
+ writer.writeCollectionOfObjectValues("accessedResources_v2", processConversationMetadata.accessedResourcesV2, serializeResourceAccessDetail);
91423
+ writer.writeCollectionOfObjectValues("agents", processConversationMetadata.agents, serializeAiAgentInfo);
90648
91424
  writer.writeStringValue("parentMessageId", processConversationMetadata.parentMessageId);
90649
91425
  writer.writeCollectionOfObjectValues("plugins", processConversationMetadata.plugins, serializeAiInteractionPlugin);
90650
91426
  }
@@ -90815,6 +91591,24 @@ export function serializeProtectedContent(writer, protectedContent = {}, isSeria
90815
91591
  writer.writeStringValue("@odata.type", protectedContent.odataType);
90816
91592
  writer.writeAdditionalData(protectedContent.additionalData);
90817
91593
  }
91594
+ /**
91595
+ * Serializes information the current object
91596
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
91597
+ * @param ProtectionPolicyArtifactCount The instance to serialize from.
91598
+ * @param writer Serialization writer to use to serialize this model
91599
+ */
91600
+ // @ts-ignore
91601
+ export function serializeProtectionPolicyArtifactCount(writer, protectionPolicyArtifactCount = {}, isSerializingDerivedType = false) {
91602
+ if (!protectionPolicyArtifactCount || isSerializingDerivedType) {
91603
+ return;
91604
+ }
91605
+ writer.writeNumberValue("completed", protectionPolicyArtifactCount.completed);
91606
+ writer.writeNumberValue("failed", protectionPolicyArtifactCount.failed);
91607
+ writer.writeNumberValue("inProgress", protectionPolicyArtifactCount.inProgress);
91608
+ writer.writeStringValue("@odata.type", protectionPolicyArtifactCount.odataType);
91609
+ writer.writeNumberValue("total", protectionPolicyArtifactCount.total);
91610
+ writer.writeAdditionalData(protectionPolicyArtifactCount.additionalData);
91611
+ }
90818
91612
  /**
90819
91613
  * Serializes information the current object
90820
91614
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -90830,8 +91624,10 @@ export function serializeProtectionPolicyBase(writer, protectionPolicyBase = {},
90830
91624
  writer.writeObjectValue("createdBy", protectionPolicyBase.createdBy, serializeIdentitySet);
90831
91625
  writer.writeDateValue("createdDateTime", protectionPolicyBase.createdDateTime);
90832
91626
  writer.writeStringValue("displayName", protectionPolicyBase.displayName);
91627
+ writer.writeBooleanValue("isEnabled", protectionPolicyBase.isEnabled);
90833
91628
  writer.writeObjectValue("lastModifiedBy", protectionPolicyBase.lastModifiedBy, serializeIdentitySet);
90834
91629
  writer.writeDateValue("lastModifiedDateTime", protectionPolicyBase.lastModifiedDateTime);
91630
+ writer.writeObjectValue("protectionPolicyArtifactCount", protectionPolicyBase.protectionPolicyArtifactCount, serializeProtectionPolicyArtifactCount);
90835
91631
  writer.writeCollectionOfObjectValues("retentionSettings", protectionPolicyBase.retentionSettings, serializeRetentionSetting);
90836
91632
  writer.writeEnumValue("status", protectionPolicyBase.status);
90837
91633
  switch (protectionPolicyBase.odataType) {
@@ -92155,6 +92951,28 @@ export function serializeResourceAccess(writer, resourceAccess = {}, isSerializi
92155
92951
  writer.writeStringValue("type", resourceAccess.type);
92156
92952
  writer.writeAdditionalData(resourceAccess.additionalData);
92157
92953
  }
92954
+ /**
92955
+ * Serializes information the current object
92956
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
92957
+ * @param ResourceAccessDetail The instance to serialize from.
92958
+ * @param writer Serialization writer to use to serialize this model
92959
+ */
92960
+ // @ts-ignore
92961
+ export function serializeResourceAccessDetail(writer, resourceAccessDetail = {}, isSerializingDerivedType = false) {
92962
+ if (!resourceAccessDetail || isSerializingDerivedType) {
92963
+ return;
92964
+ }
92965
+ writer.writeEnumValue("accessType", resourceAccessDetail.accessType);
92966
+ writer.writeStringValue("identifier", resourceAccessDetail.identifier);
92967
+ writer.writeBooleanValue("isCrossPromptInjectionDetected", resourceAccessDetail.isCrossPromptInjectionDetected);
92968
+ writer.writeStringValue("labelId", resourceAccessDetail.labelId);
92969
+ writer.writeStringValue("name", resourceAccessDetail.name);
92970
+ writer.writeStringValue("@odata.type", resourceAccessDetail.odataType);
92971
+ writer.writeEnumValue("status", resourceAccessDetail.status);
92972
+ writer.writeStringValue("storageId", resourceAccessDetail.storageId);
92973
+ writer.writeStringValue("url", resourceAccessDetail.url);
92974
+ writer.writeAdditionalData(resourceAccessDetail.additionalData);
92975
+ }
92158
92976
  /**
92159
92977
  * Serializes information the current object
92160
92978
  * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
@@ -98726,7 +99544,6 @@ export function serializeTemporaryAccessPassAuthenticationMethod(writer, tempora
98726
99544
  return;
98727
99545
  }
98728
99546
  serializeAuthenticationMethod(writer, temporaryAccessPassAuthenticationMethod, isSerializingDerivedType);
98729
- writer.writeDateValue("createdDateTime", temporaryAccessPassAuthenticationMethod.createdDateTime);
98730
99547
  writer.writeBooleanValue("isUsable", temporaryAccessPassAuthenticationMethod.isUsable);
98731
99548
  writer.writeBooleanValue("isUsableOnce", temporaryAccessPassAuthenticationMethod.isUsableOnce);
98732
99549
  writer.writeNumberValue("lifetimeInMinutes", temporaryAccessPassAuthenticationMethod.lifetimeInMinutes);
@@ -104586,7 +105403,6 @@ export function serializeWindowsHelloForBusinessAuthenticationMethod(writer, win
104586
105403
  return;
104587
105404
  }
104588
105405
  serializeAuthenticationMethod(writer, windowsHelloForBusinessAuthenticationMethod, isSerializingDerivedType);
104589
- writer.writeDateValue("createdDateTime", windowsHelloForBusinessAuthenticationMethod.createdDateTime);
104590
105406
  writer.writeObjectValue("device", windowsHelloForBusinessAuthenticationMethod.device, serializeDevice);
104591
105407
  writer.writeStringValue("displayName", windowsHelloForBusinessAuthenticationMethod.displayName);
104592
105408
  writer.writeEnumValue("keyStrength", windowsHelloForBusinessAuthenticationMethod.keyStrength);
@@ -109091,6 +109907,16 @@ export const ExchangeIdFormatObject = {
109091
109907
  RestId: "restId",
109092
109908
  RestImmutableEntryId: "restImmutableEntryId",
109093
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
+ };
109094
109920
  export const ExecutionModeObject = {
109095
109921
  EvaluateInline: "evaluateInline",
109096
109922
  EvaluateOffline: "evaluateOffline",
@@ -110044,6 +110870,12 @@ export const ObjectMappingMetadataObject = {
110044
110870
  ExcludeFromReporting: "ExcludeFromReporting",
110045
110871
  Unsynchronized: "Unsynchronized",
110046
110872
  };
110873
+ export const OidcResponseTypeObject = {
110874
+ Code: "code",
110875
+ Id_token: "id_token",
110876
+ Token: "token",
110877
+ UnknownFutureValue: "unknownFutureValue",
110878
+ };
110047
110879
  export const OnenotePatchActionTypeObject = {
110048
110880
  Replace: "Replace",
110049
110881
  Append: "Append",
@@ -111904,6 +112736,19 @@ export const RequiredPasswordTypeObject = {
111904
112736
  /** Numeric password required. */
111905
112737
  Numeric: "numeric",
111906
112738
  };
112739
+ export const ResourceAccessStatusObject = {
112740
+ None: "none",
112741
+ Failure: "failure",
112742
+ Success: "success",
112743
+ UnknownFutureValue: "unknownFutureValue",
112744
+ };
112745
+ export const ResourceAccessTypeObject = {
112746
+ None: "none",
112747
+ Read: "read",
112748
+ Write: "write",
112749
+ Create: "create",
112750
+ UnknownFutureValue: "unknownFutureValue",
112751
+ };
111907
112752
  export const ResourceLinkTypeObject = {
111908
112753
  Url: "url",
111909
112754
  UnknownFutureValue: "unknownFutureValue",
@@ -112918,6 +113763,7 @@ export const UsageRightsObject = {
112918
113763
  EncryptedProtectionTypeNotSupportedException: "encryptedProtectionTypeNotSupportedException",
112919
113764
  PurviewClaimsChallengeNotSupportedException: "purviewClaimsChallengeNotSupportedException",
112920
113765
  Exception: "exception",
113766
+ LabelNotFoundException: "labelNotFoundException",
112921
113767
  UnknownFutureValue: "unknownFutureValue",
112922
113768
  };
112923
113769
  export const UserAccountSecurityTypeObject = {