@microsoft/msgraph-sdk 1.0.0-preview.24 → 1.0.0-preview.26

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
@@ -1503,12 +1503,36 @@ export function createAppLogCollectionRequestCollectionResponseFromDiscriminator
1503
1503
  export function createAppLogCollectionRequestFromDiscriminatorValue(parseNode) {
1504
1504
  return deserializeIntoAppLogCollectionRequest;
1505
1505
  }
1506
+ /**
1507
+ * Creates a new instance of the appropriate class based on discriminator value
1508
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1509
+ * @returns {AppManagementApplicationConfiguration}
1510
+ */
1511
+ export function createAppManagementApplicationConfigurationFromDiscriminatorValue(parseNode) {
1512
+ return deserializeIntoAppManagementApplicationConfiguration;
1513
+ }
1506
1514
  /**
1507
1515
  * Creates a new instance of the appropriate class based on discriminator value
1508
1516
  * @param parseNode The parse node to use to read the discriminator value and create the object
1509
1517
  * @returns {AppManagementConfiguration}
1510
1518
  */
1511
1519
  export function createAppManagementConfigurationFromDiscriminatorValue(parseNode) {
1520
+ if (!parseNode)
1521
+ throw new Error("parseNode cannot be undefined");
1522
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
1523
+ if (mappingValueNode) {
1524
+ const mappingValue = mappingValueNode.getStringValue();
1525
+ if (mappingValue) {
1526
+ switch (mappingValue) {
1527
+ case "#microsoft.graph.appManagementApplicationConfiguration":
1528
+ return deserializeIntoAppManagementApplicationConfiguration;
1529
+ case "#microsoft.graph.appManagementServicePrincipalConfiguration":
1530
+ return deserializeIntoAppManagementServicePrincipalConfiguration;
1531
+ case "#microsoft.graph.customAppManagementConfiguration":
1532
+ return deserializeIntoCustomAppManagementConfiguration;
1533
+ }
1534
+ }
1535
+ }
1512
1536
  return deserializeIntoAppManagementConfiguration;
1513
1537
  }
1514
1538
  /**
@@ -1527,6 +1551,14 @@ export function createAppManagementPolicyCollectionResponseFromDiscriminatorValu
1527
1551
  export function createAppManagementPolicyFromDiscriminatorValue(parseNode) {
1528
1552
  return deserializeIntoAppManagementPolicy;
1529
1553
  }
1554
+ /**
1555
+ * Creates a new instance of the appropriate class based on discriminator value
1556
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1557
+ * @returns {AppManagementServicePrincipalConfiguration}
1558
+ */
1559
+ export function createAppManagementServicePrincipalConfigurationFromDiscriminatorValue(parseNode) {
1560
+ return deserializeIntoAppManagementServicePrincipalConfiguration;
1561
+ }
1530
1562
  /**
1531
1563
  * Creates a new instance of the appropriate class based on discriminator value
1532
1564
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2893,6 +2925,14 @@ export function createBookingCustomQuestionCollectionResponseFromDiscriminatorVa
2893
2925
  export function createBookingCustomQuestionFromDiscriminatorValue(parseNode) {
2894
2926
  return deserializeIntoBookingCustomQuestion;
2895
2927
  }
2928
+ /**
2929
+ * Creates a new instance of the appropriate class based on discriminator value
2930
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2931
+ * @returns {BookingPageSettings}
2932
+ */
2933
+ export function createBookingPageSettingsFromDiscriminatorValue(parseNode) {
2934
+ return deserializeIntoBookingPageSettings;
2935
+ }
2896
2936
  /**
2897
2937
  * Creates a new instance of the appropriate class based on discriminator value
2898
2938
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2917,6 +2957,34 @@ export function createBookingQuestionAssignmentFromDiscriminatorValue(parseNode)
2917
2957
  export function createBookingReminderFromDiscriminatorValue(parseNode) {
2918
2958
  return deserializeIntoBookingReminder;
2919
2959
  }
2960
+ /**
2961
+ * Creates a new instance of the appropriate class based on discriminator value
2962
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2963
+ * @returns {BookingsAvailability}
2964
+ */
2965
+ export function createBookingsAvailabilityFromDiscriminatorValue(parseNode) {
2966
+ if (!parseNode)
2967
+ throw new Error("parseNode cannot be undefined");
2968
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
2969
+ if (mappingValueNode) {
2970
+ const mappingValue = mappingValueNode.getStringValue();
2971
+ if (mappingValue) {
2972
+ switch (mappingValue) {
2973
+ case "#microsoft.graph.bookingsAvailabilityWindow":
2974
+ return deserializeIntoBookingsAvailabilityWindow;
2975
+ }
2976
+ }
2977
+ }
2978
+ return deserializeIntoBookingsAvailability;
2979
+ }
2980
+ /**
2981
+ * Creates a new instance of the appropriate class based on discriminator value
2982
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2983
+ * @returns {BookingsAvailabilityWindow}
2984
+ */
2985
+ export function createBookingsAvailabilityWindowFromDiscriminatorValue(parseNode) {
2986
+ return deserializeIntoBookingsAvailabilityWindow;
2987
+ }
2920
2988
  /**
2921
2989
  * Creates a new instance of the appropriate class based on discriminator value
2922
2990
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4739,6 +4807,18 @@ export function createCrossCloudAzureActiveDirectoryTenantFromDiscriminatorValue
4739
4807
  * @returns {CrossTenantAccessPolicyB2BSetting}
4740
4808
  */
4741
4809
  export function createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue(parseNode) {
4810
+ if (!parseNode)
4811
+ throw new Error("parseNode cannot be undefined");
4812
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
4813
+ if (mappingValueNode) {
4814
+ const mappingValue = mappingValueNode.getStringValue();
4815
+ if (mappingValue) {
4816
+ switch (mappingValue) {
4817
+ case "#microsoft.graph.crossTenantAccessPolicyTenantRestrictions":
4818
+ return deserializeIntoCrossTenantAccessPolicyTenantRestrictions;
4819
+ }
4820
+ }
4821
+ }
4742
4822
  return deserializeIntoCrossTenantAccessPolicyB2BSetting;
4743
4823
  }
4744
4824
  /**
@@ -4797,6 +4877,14 @@ export function createCrossTenantAccessPolicyTargetConfigurationFromDiscriminato
4797
4877
  export function createCrossTenantAccessPolicyTargetFromDiscriminatorValue(parseNode) {
4798
4878
  return deserializeIntoCrossTenantAccessPolicyTarget;
4799
4879
  }
4880
+ /**
4881
+ * Creates a new instance of the appropriate class based on discriminator value
4882
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4883
+ * @returns {CrossTenantAccessPolicyTenantRestrictions}
4884
+ */
4885
+ export function createCrossTenantAccessPolicyTenantRestrictionsFromDiscriminatorValue(parseNode) {
4886
+ return deserializeIntoCrossTenantAccessPolicyTenantRestrictions;
4887
+ }
4800
4888
  /**
4801
4889
  * Creates a new instance of the appropriate class based on discriminator value
4802
4890
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -4821,6 +4909,14 @@ export function createCrossTenantUserSyncInboundFromDiscriminatorValue(parseNode
4821
4909
  export function createCurrencyColumnFromDiscriminatorValue(parseNode) {
4822
4910
  return deserializeIntoCurrencyColumn;
4823
4911
  }
4912
+ /**
4913
+ * Creates a new instance of the appropriate class based on discriminator value
4914
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4915
+ * @returns {CustomAppManagementConfiguration}
4916
+ */
4917
+ export function createCustomAppManagementConfigurationFromDiscriminatorValue(parseNode) {
4918
+ return deserializeIntoCustomAppManagementConfiguration;
4919
+ }
4824
4920
  /**
4825
4921
  * Creates a new instance of the appropriate class based on discriminator value
4826
4922
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -6209,6 +6305,14 @@ export function createDeviceRegistrationMembershipFromDiscriminatorValue(parseNo
6209
6305
  export function createDeviceRegistrationPolicyFromDiscriminatorValue(parseNode) {
6210
6306
  return deserializeIntoDeviceRegistrationPolicy;
6211
6307
  }
6308
+ /**
6309
+ * Creates a new instance of the appropriate class based on discriminator value
6310
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6311
+ * @returns {DevicesFilter}
6312
+ */
6313
+ export function createDevicesFilterFromDiscriminatorValue(parseNode) {
6314
+ return deserializeIntoDevicesFilter;
6315
+ }
6212
6316
  /**
6213
6317
  * Creates a new instance of the appropriate class based on discriminator value
6214
6318
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -8210,6 +8314,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
8210
8314
  return deserializeIntoInferenceClassification;
8211
8315
  case "#microsoft.graph.inferenceClassificationOverride":
8212
8316
  return deserializeIntoInferenceClassificationOverride;
8317
+ case "#microsoft.graph.insightsSettings":
8318
+ return deserializeIntoInsightsSettings;
8213
8319
  case "#microsoft.graph.internalDomainFederation":
8214
8320
  return deserializeIntoInternalDomainFederation;
8215
8321
  case "#microsoft.graph.internetExplorerMode":
@@ -8262,6 +8368,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
8262
8368
  return deserializeIntoItemAnalytics;
8263
8369
  case "#microsoft.graph.itemAttachment":
8264
8370
  return deserializeIntoItemAttachment;
8371
+ case "#microsoft.graph.itemInsights":
8372
+ return deserializeIntoItemInsights;
8265
8373
  case "#microsoft.graph.itemRetentionLabel":
8266
8374
  return deserializeIntoItemRetentionLabel;
8267
8375
  case "#microsoft.graph.landingPage":
@@ -8874,6 +8982,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
8874
8982
  return deserializeIntoServicePrincipal;
8875
8983
  case "#microsoft.graph.servicePrincipalRiskDetection":
8876
8984
  return deserializeIntoServicePrincipalRiskDetection;
8985
+ case "#microsoft.graph.serviceStorageQuotaBreakdown":
8986
+ return deserializeIntoServiceStorageQuotaBreakdown;
8877
8987
  case "#microsoft.graph.serviceUpdateMessage":
8878
8988
  return deserializeIntoServiceUpdateMessage;
8879
8989
  case "#microsoft.graph.settingStateDeviceSummary":
@@ -8930,6 +9040,10 @@ export function createEntityFromDiscriminatorValue(parseNode) {
8930
9040
  return deserializeIntoStartHoldMusicOperation;
8931
9041
  case "#microsoft.graph.stopHoldMusicOperation":
8932
9042
  return deserializeIntoStopHoldMusicOperation;
9043
+ case "#microsoft.graph.storageQuotaBreakdown":
9044
+ return deserializeIntoStorageQuotaBreakdown;
9045
+ case "#microsoft.graph.storageSettings":
9046
+ return deserializeIntoStorageSettings;
8933
9047
  case "#microsoft.graph.stsPolicy":
8934
9048
  return deserializeIntoStsPolicy;
8935
9049
  case "#microsoft.graph.subjectRightsRequest":
@@ -9084,6 +9198,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9084
9198
  return deserializeIntoUnifiedRoleScheduleBase;
9085
9199
  case "#microsoft.graph.unifiedRoleScheduleInstanceBase":
9086
9200
  return deserializeIntoUnifiedRoleScheduleInstanceBase;
9201
+ case "#microsoft.graph.unifiedStorageQuota":
9202
+ return deserializeIntoUnifiedStorageQuota;
9087
9203
  case "#microsoft.graph.unmuteParticipantOperation":
9088
9204
  return deserializeIntoUnmuteParticipantOperation;
9089
9205
  case "#microsoft.graph.updateRecordingStatusOperation":
@@ -9150,6 +9266,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9150
9266
  return deserializeIntoUserFlowLanguageConfiguration;
9151
9267
  case "#microsoft.graph.userFlowLanguagePage":
9152
9268
  return deserializeIntoUserFlowLanguagePage;
9269
+ case "#microsoft.graph.userInsightsSettings":
9270
+ return deserializeIntoUserInsightsSettings;
9153
9271
  case "#microsoft.graph.userInstallStateSummary":
9154
9272
  return deserializeIntoUserInstallStateSummary;
9155
9273
  case "#microsoft.graph.userRegistrationDetails":
@@ -9160,6 +9278,8 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9160
9278
  return deserializeIntoUserSettings;
9161
9279
  case "#microsoft.graph.userSignInInsight":
9162
9280
  return deserializeIntoUserSignInInsight;
9281
+ case "#microsoft.graph.userStorage":
9282
+ return deserializeIntoUserStorage;
9163
9283
  case "#microsoft.graph.userTeamwork":
9164
9284
  return deserializeIntoUserTeamwork;
9165
9285
  case "#microsoft.graph.verticalSection":
@@ -9168,14 +9288,28 @@ export function createEntityFromDiscriminatorValue(parseNode) {
9168
9288
  return deserializeIntoVirtualEndpoint;
9169
9289
  case "#microsoft.graph.virtualEvent":
9170
9290
  return deserializeIntoVirtualEvent;
9291
+ case "#microsoft.graph.virtualEventPresenter":
9292
+ return deserializeIntoVirtualEventPresenter;
9171
9293
  case "#microsoft.graph.virtualEventRegistration":
9172
9294
  return deserializeIntoVirtualEventRegistration;
9295
+ case "#microsoft.graph.virtualEventRegistrationConfiguration":
9296
+ return deserializeIntoVirtualEventRegistrationConfiguration;
9297
+ case "#microsoft.graph.virtualEventRegistrationCustomQuestion":
9298
+ return deserializeIntoVirtualEventRegistrationCustomQuestion;
9299
+ case "#microsoft.graph.virtualEventRegistrationPredefinedQuestion":
9300
+ return deserializeIntoVirtualEventRegistrationPredefinedQuestion;
9301
+ case "#microsoft.graph.virtualEventRegistrationQuestionBase":
9302
+ return deserializeIntoVirtualEventRegistrationQuestionBase;
9173
9303
  case "#microsoft.graph.virtualEventSession":
9174
9304
  return deserializeIntoVirtualEventSession;
9175
9305
  case "#microsoft.graph.virtualEventsRoot":
9176
9306
  return deserializeIntoVirtualEventsRoot;
9307
+ case "#microsoft.graph.virtualEventTownhall":
9308
+ return deserializeIntoVirtualEventTownhall;
9177
9309
  case "#microsoft.graph.virtualEventWebinar":
9178
9310
  return deserializeIntoVirtualEventWebinar;
9311
+ case "#microsoft.graph.virtualEventWebinarRegistrationConfiguration":
9312
+ return deserializeIntoVirtualEventWebinarRegistrationConfiguration;
9179
9313
  case "#microsoft.graph.voiceAuthenticationMethodConfiguration":
9180
9314
  return deserializeIntoVoiceAuthenticationMethodConfiguration;
9181
9315
  case "#microsoft.graph.vppToken":
@@ -10605,6 +10739,14 @@ export function createInitiatorFromDiscriminatorValue(parseNode) {
10605
10739
  export function createInsightIdentityFromDiscriminatorValue(parseNode) {
10606
10740
  return deserializeIntoInsightIdentity;
10607
10741
  }
10742
+ /**
10743
+ * Creates a new instance of the appropriate class based on discriminator value
10744
+ * @param parseNode The parse node to use to read the discriminator value and create the object
10745
+ * @returns {InsightsSettings}
10746
+ */
10747
+ export function createInsightsSettingsFromDiscriminatorValue(parseNode) {
10748
+ return deserializeIntoInsightsSettings;
10749
+ }
10608
10750
  /**
10609
10751
  * Creates a new instance of the appropriate class based on discriminator value
10610
10752
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -11169,6 +11311,14 @@ export function createItemAttachmentFromDiscriminatorValue(parseNode) {
11169
11311
  export function createItemBodyFromDiscriminatorValue(parseNode) {
11170
11312
  return deserializeIntoItemBody;
11171
11313
  }
11314
+ /**
11315
+ * Creates a new instance of the appropriate class based on discriminator value
11316
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11317
+ * @returns {ItemInsights}
11318
+ */
11319
+ export function createItemInsightsFromDiscriminatorValue(parseNode) {
11320
+ return deserializeIntoItemInsights;
11321
+ }
11172
11322
  /**
11173
11323
  * Creates a new instance of the appropriate class based on discriminator value
11174
11324
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -12545,6 +12695,18 @@ export function createMeetingInfoFromDiscriminatorValue(parseNode) {
12545
12695
  * @returns {MeetingParticipantInfo}
12546
12696
  */
12547
12697
  export function createMeetingParticipantInfoFromDiscriminatorValue(parseNode) {
12698
+ if (!parseNode)
12699
+ throw new Error("parseNode cannot be undefined");
12700
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
12701
+ if (mappingValueNode) {
12702
+ const mappingValue = mappingValueNode.getStringValue();
12703
+ if (mappingValue) {
12704
+ switch (mappingValue) {
12705
+ case "#microsoft.graph.virtualEventPresenterInfo":
12706
+ return deserializeIntoVirtualEventPresenterInfo;
12707
+ }
12708
+ }
12709
+ }
12548
12710
  return deserializeIntoMeetingParticipantInfo;
12549
12711
  }
12550
12712
  /**
@@ -13425,6 +13587,18 @@ export function createOfferShiftRequestFromDiscriminatorValue(parseNode) {
13425
13587
  * @returns {OfficeGraphInsights}
13426
13588
  */
13427
13589
  export function createOfficeGraphInsightsFromDiscriminatorValue(parseNode) {
13590
+ if (!parseNode)
13591
+ throw new Error("parseNode cannot be undefined");
13592
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
13593
+ if (mappingValueNode) {
13594
+ const mappingValue = mappingValueNode.getStringValue();
13595
+ if (mappingValue) {
13596
+ switch (mappingValue) {
13597
+ case "#microsoft.graph.itemInsights":
13598
+ return deserializeIntoItemInsights;
13599
+ }
13600
+ }
13601
+ }
13428
13602
  return deserializeIntoOfficeGraphInsights;
13429
13603
  }
13430
13604
  /**
@@ -17101,6 +17275,22 @@ export function createServiceProvisioningErrorFromDiscriminatorValue(parseNode)
17101
17275
  export function createServiceProvisioningXmlErrorFromDiscriminatorValue(parseNode) {
17102
17276
  return deserializeIntoServiceProvisioningXmlError;
17103
17277
  }
17278
+ /**
17279
+ * Creates a new instance of the appropriate class based on discriminator value
17280
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17281
+ * @returns {ServiceStorageQuotaBreakdownCollectionResponse}
17282
+ */
17283
+ export function createServiceStorageQuotaBreakdownCollectionResponseFromDiscriminatorValue(parseNode) {
17284
+ return deserializeIntoServiceStorageQuotaBreakdownCollectionResponse;
17285
+ }
17286
+ /**
17287
+ * Creates a new instance of the appropriate class based on discriminator value
17288
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17289
+ * @returns {ServiceStorageQuotaBreakdown}
17290
+ */
17291
+ export function createServiceStorageQuotaBreakdownFromDiscriminatorValue(parseNode) {
17292
+ return deserializeIntoServiceStorageQuotaBreakdown;
17293
+ }
17104
17294
  /**
17105
17295
  * Creates a new instance of the appropriate class based on discriminator value
17106
17296
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -17773,6 +17963,34 @@ export function createStorageFromDiscriminatorValue(parseNode) {
17773
17963
  export function createStoragePlanInformationFromDiscriminatorValue(parseNode) {
17774
17964
  return deserializeIntoStoragePlanInformation;
17775
17965
  }
17966
+ /**
17967
+ * Creates a new instance of the appropriate class based on discriminator value
17968
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17969
+ * @returns {StorageQuotaBreakdown}
17970
+ */
17971
+ export function createStorageQuotaBreakdownFromDiscriminatorValue(parseNode) {
17972
+ if (!parseNode)
17973
+ throw new Error("parseNode cannot be undefined");
17974
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
17975
+ if (mappingValueNode) {
17976
+ const mappingValue = mappingValueNode.getStringValue();
17977
+ if (mappingValue) {
17978
+ switch (mappingValue) {
17979
+ case "#microsoft.graph.serviceStorageQuotaBreakdown":
17980
+ return deserializeIntoServiceStorageQuotaBreakdown;
17981
+ }
17982
+ }
17983
+ }
17984
+ return deserializeIntoStorageQuotaBreakdown;
17985
+ }
17986
+ /**
17987
+ * Creates a new instance of the appropriate class based on discriminator value
17988
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17989
+ * @returns {StorageSettings}
17990
+ */
17991
+ export function createStorageSettingsFromDiscriminatorValue(parseNode) {
17992
+ return deserializeIntoStorageSettings;
17993
+ }
17776
17994
  /**
17777
17995
  * Creates a new instance of the appropriate class based on discriminator value
17778
17996
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -19755,6 +19973,14 @@ export function createUnifiedRoleScheduleInstanceBaseFromDiscriminatorValue(pars
19755
19973
  }
19756
19974
  return deserializeIntoUnifiedRoleScheduleInstanceBase;
19757
19975
  }
19976
+ /**
19977
+ * Creates a new instance of the appropriate class based on discriminator value
19978
+ * @param parseNode The parse node to use to read the discriminator value and create the object
19979
+ * @returns {UnifiedStorageQuota}
19980
+ */
19981
+ export function createUnifiedStorageQuotaFromDiscriminatorValue(parseNode) {
19982
+ return deserializeIntoUnifiedStorageQuota;
19983
+ }
19758
19984
  /**
19759
19985
  * Creates a new instance of the appropriate class based on discriminator value
19760
19986
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20385,6 +20611,14 @@ export function createUserFromDiscriminatorValue(parseNode) {
20385
20611
  export function createUserIdentityFromDiscriminatorValue(parseNode) {
20386
20612
  return deserializeIntoUserIdentity;
20387
20613
  }
20614
+ /**
20615
+ * Creates a new instance of the appropriate class based on discriminator value
20616
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20617
+ * @returns {UserInsightsSettings}
20618
+ */
20619
+ export function createUserInsightsSettingsFromDiscriminatorValue(parseNode) {
20620
+ return deserializeIntoUserInsightsSettings;
20621
+ }
20388
20622
  /**
20389
20623
  * Creates a new instance of the appropriate class based on discriminator value
20390
20624
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20521,6 +20755,14 @@ export function createUserSimulationDetailsFromDiscriminatorValue(parseNode) {
20521
20755
  export function createUserSimulationEventInfoFromDiscriminatorValue(parseNode) {
20522
20756
  return deserializeIntoUserSimulationEventInfo;
20523
20757
  }
20758
+ /**
20759
+ * Creates a new instance of the appropriate class based on discriminator value
20760
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20761
+ * @returns {UserStorage}
20762
+ */
20763
+ export function createUserStorageFromDiscriminatorValue(parseNode) {
20764
+ return deserializeIntoUserStorage;
20765
+ }
20524
20766
  /**
20525
20767
  * Creates a new instance of the appropriate class based on discriminator value
20526
20768
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20614,6 +20856,8 @@ export function createVirtualEventFromDiscriminatorValue(parseNode) {
20614
20856
  const mappingValue = mappingValueNode.getStringValue();
20615
20857
  if (mappingValue) {
20616
20858
  switch (mappingValue) {
20859
+ case "#microsoft.graph.virtualEventTownhall":
20860
+ return deserializeIntoVirtualEventTownhall;
20617
20861
  case "#microsoft.graph.virtualEventWebinar":
20618
20862
  return deserializeIntoVirtualEventWebinar;
20619
20863
  }
@@ -20621,6 +20865,38 @@ export function createVirtualEventFromDiscriminatorValue(parseNode) {
20621
20865
  }
20622
20866
  return deserializeIntoVirtualEvent;
20623
20867
  }
20868
+ /**
20869
+ * Creates a new instance of the appropriate class based on discriminator value
20870
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20871
+ * @returns {VirtualEventPresenterCollectionResponse}
20872
+ */
20873
+ export function createVirtualEventPresenterCollectionResponseFromDiscriminatorValue(parseNode) {
20874
+ return deserializeIntoVirtualEventPresenterCollectionResponse;
20875
+ }
20876
+ /**
20877
+ * Creates a new instance of the appropriate class based on discriminator value
20878
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20879
+ * @returns {VirtualEventPresenterDetails}
20880
+ */
20881
+ export function createVirtualEventPresenterDetailsFromDiscriminatorValue(parseNode) {
20882
+ return deserializeIntoVirtualEventPresenterDetails;
20883
+ }
20884
+ /**
20885
+ * Creates a new instance of the appropriate class based on discriminator value
20886
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20887
+ * @returns {VirtualEventPresenter}
20888
+ */
20889
+ export function createVirtualEventPresenterFromDiscriminatorValue(parseNode) {
20890
+ return deserializeIntoVirtualEventPresenter;
20891
+ }
20892
+ /**
20893
+ * Creates a new instance of the appropriate class based on discriminator value
20894
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20895
+ * @returns {VirtualEventPresenterInfo}
20896
+ */
20897
+ export function createVirtualEventPresenterInfoFromDiscriminatorValue(parseNode) {
20898
+ return deserializeIntoVirtualEventPresenterInfo;
20899
+ }
20624
20900
  /**
20625
20901
  * Creates a new instance of the appropriate class based on discriminator value
20626
20902
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20629,6 +20905,34 @@ export function createVirtualEventFromDiscriminatorValue(parseNode) {
20629
20905
  export function createVirtualEventRegistrationCollectionResponseFromDiscriminatorValue(parseNode) {
20630
20906
  return deserializeIntoVirtualEventRegistrationCollectionResponse;
20631
20907
  }
20908
+ /**
20909
+ * Creates a new instance of the appropriate class based on discriminator value
20910
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20911
+ * @returns {VirtualEventRegistrationConfiguration}
20912
+ */
20913
+ export function createVirtualEventRegistrationConfigurationFromDiscriminatorValue(parseNode) {
20914
+ if (!parseNode)
20915
+ throw new Error("parseNode cannot be undefined");
20916
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
20917
+ if (mappingValueNode) {
20918
+ const mappingValue = mappingValueNode.getStringValue();
20919
+ if (mappingValue) {
20920
+ switch (mappingValue) {
20921
+ case "#microsoft.graph.virtualEventWebinarRegistrationConfiguration":
20922
+ return deserializeIntoVirtualEventWebinarRegistrationConfiguration;
20923
+ }
20924
+ }
20925
+ }
20926
+ return deserializeIntoVirtualEventRegistrationConfiguration;
20927
+ }
20928
+ /**
20929
+ * Creates a new instance of the appropriate class based on discriminator value
20930
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20931
+ * @returns {VirtualEventRegistrationCustomQuestion}
20932
+ */
20933
+ export function createVirtualEventRegistrationCustomQuestionFromDiscriminatorValue(parseNode) {
20934
+ return deserializeIntoVirtualEventRegistrationCustomQuestion;
20935
+ }
20632
20936
  /**
20633
20937
  * Creates a new instance of the appropriate class based on discriminator value
20634
20938
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20637,6 +20941,14 @@ export function createVirtualEventRegistrationCollectionResponseFromDiscriminato
20637
20941
  export function createVirtualEventRegistrationFromDiscriminatorValue(parseNode) {
20638
20942
  return deserializeIntoVirtualEventRegistration;
20639
20943
  }
20944
+ /**
20945
+ * Creates a new instance of the appropriate class based on discriminator value
20946
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20947
+ * @returns {VirtualEventRegistrationPredefinedQuestion}
20948
+ */
20949
+ export function createVirtualEventRegistrationPredefinedQuestionFromDiscriminatorValue(parseNode) {
20950
+ return deserializeIntoVirtualEventRegistrationPredefinedQuestion;
20951
+ }
20640
20952
  /**
20641
20953
  * Creates a new instance of the appropriate class based on discriminator value
20642
20954
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20645,6 +20957,36 @@ export function createVirtualEventRegistrationFromDiscriminatorValue(parseNode)
20645
20957
  export function createVirtualEventRegistrationQuestionAnswerFromDiscriminatorValue(parseNode) {
20646
20958
  return deserializeIntoVirtualEventRegistrationQuestionAnswer;
20647
20959
  }
20960
+ /**
20961
+ * Creates a new instance of the appropriate class based on discriminator value
20962
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20963
+ * @returns {VirtualEventRegistrationQuestionBaseCollectionResponse}
20964
+ */
20965
+ export function createVirtualEventRegistrationQuestionBaseCollectionResponseFromDiscriminatorValue(parseNode) {
20966
+ return deserializeIntoVirtualEventRegistrationQuestionBaseCollectionResponse;
20967
+ }
20968
+ /**
20969
+ * Creates a new instance of the appropriate class based on discriminator value
20970
+ * @param parseNode The parse node to use to read the discriminator value and create the object
20971
+ * @returns {VirtualEventRegistrationQuestionBase}
20972
+ */
20973
+ export function createVirtualEventRegistrationQuestionBaseFromDiscriminatorValue(parseNode) {
20974
+ if (!parseNode)
20975
+ throw new Error("parseNode cannot be undefined");
20976
+ const mappingValueNode = parseNode.getChildNode("@odata.type");
20977
+ if (mappingValueNode) {
20978
+ const mappingValue = mappingValueNode.getStringValue();
20979
+ if (mappingValue) {
20980
+ switch (mappingValue) {
20981
+ case "#microsoft.graph.virtualEventRegistrationCustomQuestion":
20982
+ return deserializeIntoVirtualEventRegistrationCustomQuestion;
20983
+ case "#microsoft.graph.virtualEventRegistrationPredefinedQuestion":
20984
+ return deserializeIntoVirtualEventRegistrationPredefinedQuestion;
20985
+ }
20986
+ }
20987
+ }
20988
+ return deserializeIntoVirtualEventRegistrationQuestionBase;
20989
+ }
20648
20990
  /**
20649
20991
  * Creates a new instance of the appropriate class based on discriminator value
20650
20992
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20669,6 +21011,22 @@ export function createVirtualEventSessionFromDiscriminatorValue(parseNode) {
20669
21011
  export function createVirtualEventsRootFromDiscriminatorValue(parseNode) {
20670
21012
  return deserializeIntoVirtualEventsRoot;
20671
21013
  }
21014
+ /**
21015
+ * Creates a new instance of the appropriate class based on discriminator value
21016
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21017
+ * @returns {VirtualEventTownhallCollectionResponse}
21018
+ */
21019
+ export function createVirtualEventTownhallCollectionResponseFromDiscriminatorValue(parseNode) {
21020
+ return deserializeIntoVirtualEventTownhallCollectionResponse;
21021
+ }
21022
+ /**
21023
+ * Creates a new instance of the appropriate class based on discriminator value
21024
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21025
+ * @returns {VirtualEventTownhall}
21026
+ */
21027
+ export function createVirtualEventTownhallFromDiscriminatorValue(parseNode) {
21028
+ return deserializeIntoVirtualEventTownhall;
21029
+ }
20672
21030
  /**
20673
21031
  * Creates a new instance of the appropriate class based on discriminator value
20674
21032
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -20685,6 +21043,14 @@ export function createVirtualEventWebinarCollectionResponseFromDiscriminatorValu
20685
21043
  export function createVirtualEventWebinarFromDiscriminatorValue(parseNode) {
20686
21044
  return deserializeIntoVirtualEventWebinar;
20687
21045
  }
21046
+ /**
21047
+ * Creates a new instance of the appropriate class based on discriminator value
21048
+ * @param parseNode The parse node to use to read the discriminator value and create the object
21049
+ * @returns {VirtualEventWebinarRegistrationConfiguration}
21050
+ */
21051
+ export function createVirtualEventWebinarRegistrationConfigurationFromDiscriminatorValue(parseNode) {
21052
+ return deserializeIntoVirtualEventWebinarRegistrationConfiguration;
21053
+ }
20688
21054
  /**
20689
21055
  * Creates a new instance of the appropriate class based on discriminator value
20690
21056
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -23486,7 +23852,7 @@ export function deserializeIntoApplePushNotificationCertificate(applePushNotific
23486
23852
  * @returns {Record<string, (node: ParseNode) => void>}
23487
23853
  */
23488
23854
  export function deserializeIntoApplication(application = {}) {
23489
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(application)), { "addIns": n => { application.addIns = n.getCollectionOfObjectValues(createAddInFromDiscriminatorValue); }, "api": n => { application.api = n.getObjectValue(createApiApplicationFromDiscriminatorValue); }, "appId": n => { application.appId = n.getStringValue(); }, "applicationTemplateId": n => { application.applicationTemplateId = n.getStringValue(); }, "appManagementPolicies": n => { application.appManagementPolicies = n.getCollectionOfObjectValues(createAppManagementPolicyFromDiscriminatorValue); }, "appRoles": n => { application.appRoles = n.getCollectionOfObjectValues(createAppRoleFromDiscriminatorValue); }, "certification": n => { application.certification = n.getObjectValue(createCertificationFromDiscriminatorValue); }, "createdDateTime": n => { application.createdDateTime = n.getDateValue(); }, "createdOnBehalfOf": n => { application.createdOnBehalfOf = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "defaultRedirectUri": n => { application.defaultRedirectUri = n.getStringValue(); }, "description": n => { application.description = n.getStringValue(); }, "disabledByMicrosoftStatus": n => { application.disabledByMicrosoftStatus = n.getStringValue(); }, "displayName": n => { application.displayName = n.getStringValue(); }, "extensionProperties": n => { application.extensionProperties = n.getCollectionOfObjectValues(createExtensionPropertyFromDiscriminatorValue); }, "federatedIdentityCredentials": n => { application.federatedIdentityCredentials = n.getCollectionOfObjectValues(createFederatedIdentityCredentialFromDiscriminatorValue); }, "groupMembershipClaims": n => { application.groupMembershipClaims = n.getStringValue(); }, "homeRealmDiscoveryPolicies": n => { application.homeRealmDiscoveryPolicies = n.getCollectionOfObjectValues(createHomeRealmDiscoveryPolicyFromDiscriminatorValue); }, "identifierUris": n => { application.identifierUris = n.getCollectionOfPrimitiveValues(); }, "info": n => { application.info = n.getObjectValue(createInformationalUrlFromDiscriminatorValue); }, "isDeviceOnlyAuthSupported": n => { application.isDeviceOnlyAuthSupported = n.getBooleanValue(); }, "isFallbackPublicClient": n => { application.isFallbackPublicClient = n.getBooleanValue(); }, "keyCredentials": n => { application.keyCredentials = n.getCollectionOfObjectValues(createKeyCredentialFromDiscriminatorValue); }, "logo": n => { application.logo = n.getStringValue(); }, "notes": n => { application.notes = n.getStringValue(); }, "oauth2RequirePostResponse": n => { application.oauth2RequirePostResponse = n.getBooleanValue(); }, "optionalClaims": n => { application.optionalClaims = n.getObjectValue(createOptionalClaimsFromDiscriminatorValue); }, "owners": n => { application.owners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "parentalControlSettings": n => { application.parentalControlSettings = n.getObjectValue(createParentalControlSettingsFromDiscriminatorValue); }, "passwordCredentials": n => { application.passwordCredentials = n.getCollectionOfObjectValues(createPasswordCredentialFromDiscriminatorValue); }, "publicClient": n => { application.publicClient = n.getObjectValue(createPublicClientApplicationFromDiscriminatorValue); }, "publisherDomain": n => { application.publisherDomain = n.getStringValue(); }, "requestSignatureVerification": n => { application.requestSignatureVerification = n.getObjectValue(createRequestSignatureVerificationFromDiscriminatorValue); }, "requiredResourceAccess": n => { application.requiredResourceAccess = n.getCollectionOfObjectValues(createRequiredResourceAccessFromDiscriminatorValue); }, "samlMetadataUrl": n => { application.samlMetadataUrl = n.getStringValue(); }, "serviceManagementReference": n => { application.serviceManagementReference = n.getStringValue(); }, "servicePrincipalLockConfiguration": n => { application.servicePrincipalLockConfiguration = n.getObjectValue(createServicePrincipalLockConfigurationFromDiscriminatorValue); }, "signInAudience": n => { application.signInAudience = n.getStringValue(); }, "spa": n => { application.spa = n.getObjectValue(createSpaApplicationFromDiscriminatorValue); }, "synchronization": n => { application.synchronization = n.getObjectValue(createSynchronizationFromDiscriminatorValue); }, "tags": n => { application.tags = n.getCollectionOfPrimitiveValues(); }, "tokenEncryptionKeyId": n => { application.tokenEncryptionKeyId = n.getGuidValue(); }, "tokenIssuancePolicies": n => { application.tokenIssuancePolicies = n.getCollectionOfObjectValues(createTokenIssuancePolicyFromDiscriminatorValue); }, "tokenLifetimePolicies": n => { application.tokenLifetimePolicies = n.getCollectionOfObjectValues(createTokenLifetimePolicyFromDiscriminatorValue); }, "uniqueName": n => { application.uniqueName = n.getStringValue(); }, "verifiedPublisher": n => { application.verifiedPublisher = n.getObjectValue(createVerifiedPublisherFromDiscriminatorValue); }, "web": n => { application.web = n.getObjectValue(createWebApplicationFromDiscriminatorValue); } });
23855
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(application)), { "addIns": n => { application.addIns = n.getCollectionOfObjectValues(createAddInFromDiscriminatorValue); }, "api": n => { application.api = n.getObjectValue(createApiApplicationFromDiscriminatorValue); }, "appId": n => { application.appId = n.getStringValue(); }, "applicationTemplateId": n => { application.applicationTemplateId = n.getStringValue(); }, "appManagementPolicies": n => { application.appManagementPolicies = n.getCollectionOfObjectValues(createAppManagementPolicyFromDiscriminatorValue); }, "appRoles": n => { application.appRoles = n.getCollectionOfObjectValues(createAppRoleFromDiscriminatorValue); }, "certification": n => { application.certification = n.getObjectValue(createCertificationFromDiscriminatorValue); }, "createdDateTime": n => { application.createdDateTime = n.getDateValue(); }, "createdOnBehalfOf": n => { application.createdOnBehalfOf = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "defaultRedirectUri": n => { application.defaultRedirectUri = n.getStringValue(); }, "description": n => { application.description = n.getStringValue(); }, "disabledByMicrosoftStatus": n => { application.disabledByMicrosoftStatus = n.getStringValue(); }, "displayName": n => { application.displayName = n.getStringValue(); }, "extensionProperties": n => { application.extensionProperties = n.getCollectionOfObjectValues(createExtensionPropertyFromDiscriminatorValue); }, "federatedIdentityCredentials": n => { application.federatedIdentityCredentials = n.getCollectionOfObjectValues(createFederatedIdentityCredentialFromDiscriminatorValue); }, "groupMembershipClaims": n => { application.groupMembershipClaims = n.getStringValue(); }, "homeRealmDiscoveryPolicies": n => { application.homeRealmDiscoveryPolicies = n.getCollectionOfObjectValues(createHomeRealmDiscoveryPolicyFromDiscriminatorValue); }, "identifierUris": n => { application.identifierUris = n.getCollectionOfPrimitiveValues(); }, "info": n => { application.info = n.getObjectValue(createInformationalUrlFromDiscriminatorValue); }, "isDeviceOnlyAuthSupported": n => { application.isDeviceOnlyAuthSupported = n.getBooleanValue(); }, "isFallbackPublicClient": n => { application.isFallbackPublicClient = n.getBooleanValue(); }, "keyCredentials": n => { application.keyCredentials = n.getCollectionOfObjectValues(createKeyCredentialFromDiscriminatorValue); }, "logo": n => { application.logo = n.getStringValue(); }, "nativeAuthenticationApisEnabled": n => { application.nativeAuthenticationApisEnabled = n.getCollectionOfEnumValues(NativeAuthenticationApisEnabledObject); }, "notes": n => { application.notes = n.getStringValue(); }, "oauth2RequirePostResponse": n => { application.oauth2RequirePostResponse = n.getBooleanValue(); }, "optionalClaims": n => { application.optionalClaims = n.getObjectValue(createOptionalClaimsFromDiscriminatorValue); }, "owners": n => { application.owners = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "parentalControlSettings": n => { application.parentalControlSettings = n.getObjectValue(createParentalControlSettingsFromDiscriminatorValue); }, "passwordCredentials": n => { application.passwordCredentials = n.getCollectionOfObjectValues(createPasswordCredentialFromDiscriminatorValue); }, "publicClient": n => { application.publicClient = n.getObjectValue(createPublicClientApplicationFromDiscriminatorValue); }, "publisherDomain": n => { application.publisherDomain = n.getStringValue(); }, "requestSignatureVerification": n => { application.requestSignatureVerification = n.getObjectValue(createRequestSignatureVerificationFromDiscriminatorValue); }, "requiredResourceAccess": n => { application.requiredResourceAccess = n.getCollectionOfObjectValues(createRequiredResourceAccessFromDiscriminatorValue); }, "samlMetadataUrl": n => { application.samlMetadataUrl = n.getStringValue(); }, "serviceManagementReference": n => { application.serviceManagementReference = n.getStringValue(); }, "servicePrincipalLockConfiguration": n => { application.servicePrincipalLockConfiguration = n.getObjectValue(createServicePrincipalLockConfigurationFromDiscriminatorValue); }, "signInAudience": n => { application.signInAudience = n.getStringValue(); }, "spa": n => { application.spa = n.getObjectValue(createSpaApplicationFromDiscriminatorValue); }, "synchronization": n => { application.synchronization = n.getObjectValue(createSynchronizationFromDiscriminatorValue); }, "tags": n => { application.tags = n.getCollectionOfPrimitiveValues(); }, "tokenEncryptionKeyId": n => { application.tokenEncryptionKeyId = n.getGuidValue(); }, "tokenIssuancePolicies": n => { application.tokenIssuancePolicies = n.getCollectionOfObjectValues(createTokenIssuancePolicyFromDiscriminatorValue); }, "tokenLifetimePolicies": n => { application.tokenLifetimePolicies = n.getCollectionOfObjectValues(createTokenLifetimePolicyFromDiscriminatorValue); }, "uniqueName": n => { application.uniqueName = n.getStringValue(); }, "verifiedPublisher": n => { application.verifiedPublisher = n.getObjectValue(createVerifiedPublisherFromDiscriminatorValue); }, "web": n => { application.web = n.getObjectValue(createWebApplicationFromDiscriminatorValue); } });
23490
23856
  }
23491
23857
  /**
23492
23858
  * The deserialization information for the current model
@@ -23584,6 +23950,13 @@ export function deserializeIntoAppLogCollectionRequest(appLogCollectionRequest =
23584
23950
  export function deserializeIntoAppLogCollectionRequestCollectionResponse(appLogCollectionRequestCollectionResponse = {}) {
23585
23951
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(appLogCollectionRequestCollectionResponse)), { "value": n => { appLogCollectionRequestCollectionResponse.value = n.getCollectionOfObjectValues(createAppLogCollectionRequestFromDiscriminatorValue); } });
23586
23952
  }
23953
+ /**
23954
+ * The deserialization information for the current model
23955
+ * @returns {Record<string, (node: ParseNode) => void>}
23956
+ */
23957
+ export function deserializeIntoAppManagementApplicationConfiguration(appManagementApplicationConfiguration = {}) {
23958
+ return Object.assign({}, deserializeIntoAppManagementConfiguration(appManagementApplicationConfiguration));
23959
+ }
23587
23960
  /**
23588
23961
  * The deserialization information for the current model
23589
23962
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -23601,7 +23974,7 @@ export function deserializeIntoAppManagementConfiguration(appManagementConfigura
23601
23974
  * @returns {Record<string, (node: ParseNode) => void>}
23602
23975
  */
23603
23976
  export function deserializeIntoAppManagementPolicy(appManagementPolicy = {}) {
23604
- return Object.assign(Object.assign({}, deserializeIntoPolicyBase(appManagementPolicy)), { "appliesTo": n => { appManagementPolicy.appliesTo = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "isEnabled": n => { appManagementPolicy.isEnabled = n.getBooleanValue(); }, "restrictions": n => { appManagementPolicy.restrictions = n.getObjectValue(createAppManagementConfigurationFromDiscriminatorValue); } });
23977
+ return Object.assign(Object.assign({}, deserializeIntoPolicyBase(appManagementPolicy)), { "appliesTo": n => { appManagementPolicy.appliesTo = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "isEnabled": n => { appManagementPolicy.isEnabled = n.getBooleanValue(); }, "restrictions": n => { appManagementPolicy.restrictions = n.getObjectValue(createCustomAppManagementConfigurationFromDiscriminatorValue); } });
23605
23978
  }
23606
23979
  /**
23607
23980
  * The deserialization information for the current model
@@ -23610,6 +23983,13 @@ export function deserializeIntoAppManagementPolicy(appManagementPolicy = {}) {
23610
23983
  export function deserializeIntoAppManagementPolicyCollectionResponse(appManagementPolicyCollectionResponse = {}) {
23611
23984
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(appManagementPolicyCollectionResponse)), { "value": n => { appManagementPolicyCollectionResponse.value = n.getCollectionOfObjectValues(createAppManagementPolicyFromDiscriminatorValue); } });
23612
23985
  }
23986
+ /**
23987
+ * The deserialization information for the current model
23988
+ * @returns {Record<string, (node: ParseNode) => void>}
23989
+ */
23990
+ export function deserializeIntoAppManagementServicePrincipalConfiguration(appManagementServicePrincipalConfiguration = {}) {
23991
+ return Object.assign({}, deserializeIntoAppManagementConfiguration(appManagementServicePrincipalConfiguration));
23992
+ }
23613
23993
  /**
23614
23994
  * The deserialization information for the current model
23615
23995
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -24861,7 +25241,7 @@ export function deserializeIntoBitLockerRemovableDrivePolicy(bitLockerRemovableD
24861
25241
  * @returns {Record<string, (node: ParseNode) => void>}
24862
25242
  */
24863
25243
  export function deserializeIntoBookingAppointment(bookingAppointment = {}) {
24864
- return Object.assign(Object.assign({}, deserializeIntoEntity(bookingAppointment)), { "additionalInformation": n => { bookingAppointment.additionalInformation = n.getStringValue(); }, "anonymousJoinWebUrl": n => { bookingAppointment.anonymousJoinWebUrl = n.getStringValue(); }, "customerEmailAddress": n => { bookingAppointment.customerEmailAddress = n.getStringValue(); }, "customerName": n => { bookingAppointment.customerName = n.getStringValue(); }, "customerNotes": n => { bookingAppointment.customerNotes = n.getStringValue(); }, "customerPhone": n => { bookingAppointment.customerPhone = n.getStringValue(); }, "customers": n => { bookingAppointment.customers = n.getCollectionOfObjectValues(createBookingCustomerInformationBaseFromDiscriminatorValue); }, "customerTimeZone": n => { bookingAppointment.customerTimeZone = n.getStringValue(); }, "duration": n => { bookingAppointment.duration = n.getDurationValue(); }, "endDateTime": n => { bookingAppointment.endDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "filledAttendeesCount": n => { bookingAppointment.filledAttendeesCount = n.getNumberValue(); }, "isLocationOnline": n => { bookingAppointment.isLocationOnline = n.getBooleanValue(); }, "joinWebUrl": n => { bookingAppointment.joinWebUrl = n.getStringValue(); }, "maximumAttendeesCount": n => { bookingAppointment.maximumAttendeesCount = n.getNumberValue(); }, "optOutOfCustomerEmail": n => { bookingAppointment.optOutOfCustomerEmail = n.getBooleanValue(); }, "postBuffer": n => { bookingAppointment.postBuffer = n.getDurationValue(); }, "preBuffer": n => { bookingAppointment.preBuffer = n.getDurationValue(); }, "price": n => { bookingAppointment.price = n.getNumberValue(); }, "priceType": n => { bookingAppointment.priceType = n.getEnumValue(BookingPriceTypeObject); }, "reminders": n => { bookingAppointment.reminders = n.getCollectionOfObjectValues(createBookingReminderFromDiscriminatorValue); }, "selfServiceAppointmentId": n => { bookingAppointment.selfServiceAppointmentId = n.getStringValue(); }, "serviceId": n => { bookingAppointment.serviceId = n.getStringValue(); }, "serviceLocation": n => { bookingAppointment.serviceLocation = n.getObjectValue(createLocationFromDiscriminatorValue); }, "serviceName": n => { bookingAppointment.serviceName = n.getStringValue(); }, "serviceNotes": n => { bookingAppointment.serviceNotes = n.getStringValue(); }, "smsNotificationsEnabled": n => { bookingAppointment.smsNotificationsEnabled = n.getBooleanValue(); }, "staffMemberIds": n => { bookingAppointment.staffMemberIds = n.getCollectionOfPrimitiveValues(); }, "startDateTime": n => { bookingAppointment.startDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); } });
25244
+ return Object.assign(Object.assign({}, deserializeIntoEntity(bookingAppointment)), { "additionalInformation": n => { bookingAppointment.additionalInformation = n.getStringValue(); }, "anonymousJoinWebUrl": n => { bookingAppointment.anonymousJoinWebUrl = n.getStringValue(); }, "appointmentLabel": n => { bookingAppointment.appointmentLabel = n.getStringValue(); }, "createdDateTime": n => { bookingAppointment.createdDateTime = n.getDateValue(); }, "customerEmailAddress": n => { bookingAppointment.customerEmailAddress = n.getStringValue(); }, "customerName": n => { bookingAppointment.customerName = n.getStringValue(); }, "customerNotes": n => { bookingAppointment.customerNotes = n.getStringValue(); }, "customerPhone": n => { bookingAppointment.customerPhone = n.getStringValue(); }, "customers": n => { bookingAppointment.customers = n.getCollectionOfObjectValues(createBookingCustomerInformationBaseFromDiscriminatorValue); }, "customerTimeZone": n => { bookingAppointment.customerTimeZone = n.getStringValue(); }, "duration": n => { bookingAppointment.duration = n.getDurationValue(); }, "endDateTime": n => { bookingAppointment.endDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "filledAttendeesCount": n => { bookingAppointment.filledAttendeesCount = n.getNumberValue(); }, "isCustomerAllowedToManageBooking": n => { bookingAppointment.isCustomerAllowedToManageBooking = n.getBooleanValue(); }, "isLocationOnline": n => { bookingAppointment.isLocationOnline = n.getBooleanValue(); }, "joinWebUrl": n => { bookingAppointment.joinWebUrl = n.getStringValue(); }, "lastUpdatedDateTime": n => { bookingAppointment.lastUpdatedDateTime = n.getDateValue(); }, "maximumAttendeesCount": n => { bookingAppointment.maximumAttendeesCount = n.getNumberValue(); }, "optOutOfCustomerEmail": n => { bookingAppointment.optOutOfCustomerEmail = n.getBooleanValue(); }, "postBuffer": n => { bookingAppointment.postBuffer = n.getDurationValue(); }, "preBuffer": n => { bookingAppointment.preBuffer = n.getDurationValue(); }, "price": n => { bookingAppointment.price = n.getNumberValue(); }, "priceType": n => { bookingAppointment.priceType = n.getEnumValue(BookingPriceTypeObject); }, "reminders": n => { bookingAppointment.reminders = n.getCollectionOfObjectValues(createBookingReminderFromDiscriminatorValue); }, "selfServiceAppointmentId": n => { bookingAppointment.selfServiceAppointmentId = n.getStringValue(); }, "serviceId": n => { bookingAppointment.serviceId = n.getStringValue(); }, "serviceLocation": n => { bookingAppointment.serviceLocation = n.getObjectValue(createLocationFromDiscriminatorValue); }, "serviceName": n => { bookingAppointment.serviceName = n.getStringValue(); }, "serviceNotes": n => { bookingAppointment.serviceNotes = n.getStringValue(); }, "smsNotificationsEnabled": n => { bookingAppointment.smsNotificationsEnabled = n.getBooleanValue(); }, "staffMemberIds": n => { bookingAppointment.staffMemberIds = n.getCollectionOfPrimitiveValues(); }, "startDateTime": n => { bookingAppointment.startDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); } });
24865
25245
  }
24866
25246
  /**
24867
25247
  * The deserialization information for the current model
@@ -24875,7 +25255,7 @@ export function deserializeIntoBookingAppointmentCollectionResponse(bookingAppoi
24875
25255
  * @returns {Record<string, (node: ParseNode) => void>}
24876
25256
  */
24877
25257
  export function deserializeIntoBookingBusiness(bookingBusiness = {}) {
24878
- return Object.assign(Object.assign({}, deserializeIntoEntity(bookingBusiness)), { "address": n => { bookingBusiness.address = n.getObjectValue(createPhysicalAddressFromDiscriminatorValue); }, "appointments": n => { bookingBusiness.appointments = n.getCollectionOfObjectValues(createBookingAppointmentFromDiscriminatorValue); }, "businessHours": n => { bookingBusiness.businessHours = n.getCollectionOfObjectValues(createBookingWorkHoursFromDiscriminatorValue); }, "businessType": n => { bookingBusiness.businessType = n.getStringValue(); }, "calendarView": n => { bookingBusiness.calendarView = n.getCollectionOfObjectValues(createBookingAppointmentFromDiscriminatorValue); }, "customers": n => { bookingBusiness.customers = n.getCollectionOfObjectValues(createBookingCustomerBaseFromDiscriminatorValue); }, "customQuestions": n => { bookingBusiness.customQuestions = n.getCollectionOfObjectValues(createBookingCustomQuestionFromDiscriminatorValue); }, "defaultCurrencyIso": n => { bookingBusiness.defaultCurrencyIso = n.getStringValue(); }, "displayName": n => { bookingBusiness.displayName = n.getStringValue(); }, "email": n => { bookingBusiness.email = n.getStringValue(); }, "isPublished": n => { bookingBusiness.isPublished = n.getBooleanValue(); }, "languageTag": n => { bookingBusiness.languageTag = n.getStringValue(); }, "phone": n => { bookingBusiness.phone = n.getStringValue(); }, "publicUrl": n => { bookingBusiness.publicUrl = n.getStringValue(); }, "schedulingPolicy": n => { bookingBusiness.schedulingPolicy = n.getObjectValue(createBookingSchedulingPolicyFromDiscriminatorValue); }, "services": n => { bookingBusiness.services = n.getCollectionOfObjectValues(createBookingServiceFromDiscriminatorValue); }, "staffMembers": n => { bookingBusiness.staffMembers = n.getCollectionOfObjectValues(createBookingStaffMemberBaseFromDiscriminatorValue); }, "webSiteUrl": n => { bookingBusiness.webSiteUrl = n.getStringValue(); } });
25258
+ return Object.assign(Object.assign({}, deserializeIntoEntity(bookingBusiness)), { "address": n => { bookingBusiness.address = n.getObjectValue(createPhysicalAddressFromDiscriminatorValue); }, "appointments": n => { bookingBusiness.appointments = n.getCollectionOfObjectValues(createBookingAppointmentFromDiscriminatorValue); }, "bookingPageSettings": n => { bookingBusiness.bookingPageSettings = n.getObjectValue(createBookingPageSettingsFromDiscriminatorValue); }, "businessHours": n => { bookingBusiness.businessHours = n.getCollectionOfObjectValues(createBookingWorkHoursFromDiscriminatorValue); }, "businessType": n => { bookingBusiness.businessType = n.getStringValue(); }, "calendarView": n => { bookingBusiness.calendarView = n.getCollectionOfObjectValues(createBookingAppointmentFromDiscriminatorValue); }, "createdDateTime": n => { bookingBusiness.createdDateTime = n.getDateValue(); }, "customers": n => { bookingBusiness.customers = n.getCollectionOfObjectValues(createBookingCustomerBaseFromDiscriminatorValue); }, "customQuestions": n => { bookingBusiness.customQuestions = n.getCollectionOfObjectValues(createBookingCustomQuestionFromDiscriminatorValue); }, "defaultCurrencyIso": n => { bookingBusiness.defaultCurrencyIso = n.getStringValue(); }, "displayName": n => { bookingBusiness.displayName = n.getStringValue(); }, "email": n => { bookingBusiness.email = n.getStringValue(); }, "isPublished": n => { bookingBusiness.isPublished = n.getBooleanValue(); }, "languageTag": n => { bookingBusiness.languageTag = n.getStringValue(); }, "lastUpdatedDateTime": n => { bookingBusiness.lastUpdatedDateTime = n.getDateValue(); }, "phone": n => { bookingBusiness.phone = n.getStringValue(); }, "publicUrl": n => { bookingBusiness.publicUrl = n.getStringValue(); }, "schedulingPolicy": n => { bookingBusiness.schedulingPolicy = n.getObjectValue(createBookingSchedulingPolicyFromDiscriminatorValue); }, "services": n => { bookingBusiness.services = n.getCollectionOfObjectValues(createBookingServiceFromDiscriminatorValue); }, "staffMembers": n => { bookingBusiness.staffMembers = n.getCollectionOfObjectValues(createBookingStaffMemberBaseFromDiscriminatorValue); }, "webSiteUrl": n => { bookingBusiness.webSiteUrl = n.getStringValue(); } });
24879
25259
  }
24880
25260
  /**
24881
25261
  * The deserialization information for the current model
@@ -24903,7 +25283,7 @@ export function deserializeIntoBookingCurrencyCollectionResponse(bookingCurrency
24903
25283
  * @returns {Record<string, (node: ParseNode) => void>}
24904
25284
  */
24905
25285
  export function deserializeIntoBookingCustomer(bookingCustomer = {}) {
24906
- return Object.assign(Object.assign({}, deserializeIntoBookingCustomerBase(bookingCustomer)), { "addresses": n => { bookingCustomer.addresses = n.getCollectionOfObjectValues(createPhysicalAddressFromDiscriminatorValue); }, "displayName": n => { bookingCustomer.displayName = n.getStringValue(); }, "emailAddress": n => { bookingCustomer.emailAddress = n.getStringValue(); }, "phones": n => { bookingCustomer.phones = n.getCollectionOfObjectValues(createPhoneFromDiscriminatorValue); } });
25286
+ return Object.assign(Object.assign({}, deserializeIntoBookingCustomerBase(bookingCustomer)), { "addresses": n => { bookingCustomer.addresses = n.getCollectionOfObjectValues(createPhysicalAddressFromDiscriminatorValue); }, "createdDateTime": n => { bookingCustomer.createdDateTime = n.getDateValue(); }, "displayName": n => { bookingCustomer.displayName = n.getStringValue(); }, "emailAddress": n => { bookingCustomer.emailAddress = n.getStringValue(); }, "lastUpdatedDateTime": n => { bookingCustomer.lastUpdatedDateTime = n.getDateValue(); }, "phones": n => { bookingCustomer.phones = n.getCollectionOfObjectValues(createPhoneFromDiscriminatorValue); } });
24907
25287
  }
24908
25288
  /**
24909
25289
  * The deserialization information for the current model
@@ -24941,7 +25321,7 @@ export function deserializeIntoBookingCustomerInformationBase(bookingCustomerInf
24941
25321
  * @returns {Record<string, (node: ParseNode) => void>}
24942
25322
  */
24943
25323
  export function deserializeIntoBookingCustomQuestion(bookingCustomQuestion = {}) {
24944
- return Object.assign(Object.assign({}, deserializeIntoEntity(bookingCustomQuestion)), { "answerInputType": n => { bookingCustomQuestion.answerInputType = n.getEnumValue(AnswerInputTypeObject); }, "answerOptions": n => { bookingCustomQuestion.answerOptions = n.getCollectionOfPrimitiveValues(); }, "displayName": n => { bookingCustomQuestion.displayName = n.getStringValue(); } });
25324
+ return Object.assign(Object.assign({}, deserializeIntoEntity(bookingCustomQuestion)), { "answerInputType": n => { bookingCustomQuestion.answerInputType = n.getEnumValue(AnswerInputTypeObject); }, "answerOptions": n => { bookingCustomQuestion.answerOptions = n.getCollectionOfPrimitiveValues(); }, "createdDateTime": n => { bookingCustomQuestion.createdDateTime = n.getDateValue(); }, "displayName": n => { bookingCustomQuestion.displayName = n.getStringValue(); }, "lastUpdatedDateTime": n => { bookingCustomQuestion.lastUpdatedDateTime = n.getDateValue(); } });
24945
25325
  }
24946
25326
  /**
24947
25327
  * The deserialization information for the current model
@@ -24950,6 +25330,27 @@ export function deserializeIntoBookingCustomQuestion(bookingCustomQuestion = {})
24950
25330
  export function deserializeIntoBookingCustomQuestionCollectionResponse(bookingCustomQuestionCollectionResponse = {}) {
24951
25331
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(bookingCustomQuestionCollectionResponse)), { "value": n => { bookingCustomQuestionCollectionResponse.value = n.getCollectionOfObjectValues(createBookingCustomQuestionFromDiscriminatorValue); } });
24952
25332
  }
25333
+ /**
25334
+ * The deserialization information for the current model
25335
+ * @returns {Record<string, (node: ParseNode) => void>}
25336
+ */
25337
+ export function deserializeIntoBookingPageSettings(bookingPageSettings = {}) {
25338
+ return {
25339
+ "accessControl": n => { bookingPageSettings.accessControl = n.getEnumValue(BookingPageAccessControlObject); },
25340
+ "backingStoreEnabled": n => { bookingPageSettings.backingStoreEnabled = true; },
25341
+ "bookingPageColorCode": n => { bookingPageSettings.bookingPageColorCode = n.getStringValue(); },
25342
+ "businessTimeZone": n => { bookingPageSettings.businessTimeZone = n.getStringValue(); },
25343
+ "customerConsentMessage": n => { bookingPageSettings.customerConsentMessage = n.getStringValue(); },
25344
+ "enforceOneTimePassword": n => { bookingPageSettings.enforceOneTimePassword = n.getBooleanValue(); },
25345
+ "isBusinessLogoDisplayEnabled": n => { bookingPageSettings.isBusinessLogoDisplayEnabled = n.getBooleanValue(); },
25346
+ "isCustomerConsentEnabled": n => { bookingPageSettings.isCustomerConsentEnabled = n.getBooleanValue(); },
25347
+ "isSearchEngineIndexabilityDisabled": n => { bookingPageSettings.isSearchEngineIndexabilityDisabled = n.getBooleanValue(); },
25348
+ "isTimeSlotTimeZoneSetToBusinessTimeZone": n => { bookingPageSettings.isTimeSlotTimeZoneSetToBusinessTimeZone = n.getBooleanValue(); },
25349
+ "@odata.type": n => { bookingPageSettings.odataType = n.getStringValue(); },
25350
+ "privacyPolicyWebUrl": n => { bookingPageSettings.privacyPolicyWebUrl = n.getStringValue(); },
25351
+ "termsAndConditionsWebUrl": n => { bookingPageSettings.termsAndConditionsWebUrl = n.getStringValue(); },
25352
+ };
25353
+ }
24953
25354
  /**
24954
25355
  * The deserialization information for the current model
24955
25356
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -24992,6 +25393,25 @@ export function deserializeIntoBookingReminder(bookingReminder = {}) {
24992
25393
  "recipients": n => { bookingReminder.recipients = n.getEnumValue(BookingReminderRecipientsObject); },
24993
25394
  };
24994
25395
  }
25396
+ /**
25397
+ * The deserialization information for the current model
25398
+ * @returns {Record<string, (node: ParseNode) => void>}
25399
+ */
25400
+ export function deserializeIntoBookingsAvailability(bookingsAvailability = {}) {
25401
+ return {
25402
+ "availabilityType": n => { bookingsAvailability.availabilityType = n.getEnumValue(BookingsServiceAvailabilityTypeObject); },
25403
+ "backingStoreEnabled": n => { bookingsAvailability.backingStoreEnabled = true; },
25404
+ "businessHours": n => { bookingsAvailability.businessHours = n.getCollectionOfObjectValues(createBookingWorkHoursFromDiscriminatorValue); },
25405
+ "@odata.type": n => { bookingsAvailability.odataType = n.getStringValue(); },
25406
+ };
25407
+ }
25408
+ /**
25409
+ * The deserialization information for the current model
25410
+ * @returns {Record<string, (node: ParseNode) => void>}
25411
+ */
25412
+ export function deserializeIntoBookingsAvailabilityWindow(bookingsAvailabilityWindow = {}) {
25413
+ return Object.assign(Object.assign({}, deserializeIntoBookingsAvailability(bookingsAvailabilityWindow)), { "endDate": n => { bookingsAvailabilityWindow.endDate = n.getDateOnlyValue(); }, "startDate": n => { bookingsAvailabilityWindow.startDate = n.getDateOnlyValue(); } });
25414
+ }
24995
25415
  /**
24996
25416
  * The deserialization information for the current model
24997
25417
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -25000,6 +25420,9 @@ export function deserializeIntoBookingSchedulingPolicy(bookingSchedulingPolicy =
25000
25420
  return {
25001
25421
  "allowStaffSelection": n => { bookingSchedulingPolicy.allowStaffSelection = n.getBooleanValue(); },
25002
25422
  "backingStoreEnabled": n => { bookingSchedulingPolicy.backingStoreEnabled = true; },
25423
+ "customAvailabilities": n => { bookingSchedulingPolicy.customAvailabilities = n.getCollectionOfObjectValues(createBookingsAvailabilityWindowFromDiscriminatorValue); },
25424
+ "generalAvailability": n => { bookingSchedulingPolicy.generalAvailability = n.getObjectValue(createBookingsAvailabilityFromDiscriminatorValue); },
25425
+ "isMeetingInviteToCustomersEnabled": n => { bookingSchedulingPolicy.isMeetingInviteToCustomersEnabled = n.getBooleanValue(); },
25003
25426
  "maximumAdvance": n => { bookingSchedulingPolicy.maximumAdvance = n.getDurationValue(); },
25004
25427
  "minimumLeadTime": n => { bookingSchedulingPolicy.minimumLeadTime = n.getDurationValue(); },
25005
25428
  "@odata.type": n => { bookingSchedulingPolicy.odataType = n.getStringValue(); },
@@ -25012,7 +25435,7 @@ export function deserializeIntoBookingSchedulingPolicy(bookingSchedulingPolicy =
25012
25435
  * @returns {Record<string, (node: ParseNode) => void>}
25013
25436
  */
25014
25437
  export function deserializeIntoBookingService(bookingService = {}) {
25015
- return Object.assign(Object.assign({}, deserializeIntoEntity(bookingService)), { "additionalInformation": n => { bookingService.additionalInformation = n.getStringValue(); }, "customQuestions": n => { bookingService.customQuestions = n.getCollectionOfObjectValues(createBookingQuestionAssignmentFromDiscriminatorValue); }, "defaultDuration": n => { bookingService.defaultDuration = n.getDurationValue(); }, "defaultLocation": n => { bookingService.defaultLocation = n.getObjectValue(createLocationFromDiscriminatorValue); }, "defaultPrice": n => { bookingService.defaultPrice = n.getNumberValue(); }, "defaultPriceType": n => { bookingService.defaultPriceType = n.getEnumValue(BookingPriceTypeObject); }, "defaultReminders": n => { bookingService.defaultReminders = n.getCollectionOfObjectValues(createBookingReminderFromDiscriminatorValue); }, "description": n => { bookingService.description = n.getStringValue(); }, "displayName": n => { bookingService.displayName = n.getStringValue(); }, "isAnonymousJoinEnabled": n => { bookingService.isAnonymousJoinEnabled = n.getBooleanValue(); }, "isHiddenFromCustomers": n => { bookingService.isHiddenFromCustomers = n.getBooleanValue(); }, "isLocationOnline": n => { bookingService.isLocationOnline = n.getBooleanValue(); }, "languageTag": n => { bookingService.languageTag = n.getStringValue(); }, "maximumAttendeesCount": n => { bookingService.maximumAttendeesCount = n.getNumberValue(); }, "notes": n => { bookingService.notes = n.getStringValue(); }, "postBuffer": n => { bookingService.postBuffer = n.getDurationValue(); }, "preBuffer": n => { bookingService.preBuffer = n.getDurationValue(); }, "schedulingPolicy": n => { bookingService.schedulingPolicy = n.getObjectValue(createBookingSchedulingPolicyFromDiscriminatorValue); }, "smsNotificationsEnabled": n => { bookingService.smsNotificationsEnabled = n.getBooleanValue(); }, "staffMemberIds": n => { bookingService.staffMemberIds = n.getCollectionOfPrimitiveValues(); }, "webUrl": n => { bookingService.webUrl = n.getStringValue(); } });
25438
+ return Object.assign(Object.assign({}, deserializeIntoEntity(bookingService)), { "additionalInformation": n => { bookingService.additionalInformation = n.getStringValue(); }, "createdDateTime": n => { bookingService.createdDateTime = n.getDateValue(); }, "customQuestions": n => { bookingService.customQuestions = n.getCollectionOfObjectValues(createBookingQuestionAssignmentFromDiscriminatorValue); }, "defaultDuration": n => { bookingService.defaultDuration = n.getDurationValue(); }, "defaultLocation": n => { bookingService.defaultLocation = n.getObjectValue(createLocationFromDiscriminatorValue); }, "defaultPrice": n => { bookingService.defaultPrice = n.getNumberValue(); }, "defaultPriceType": n => { bookingService.defaultPriceType = n.getEnumValue(BookingPriceTypeObject); }, "defaultReminders": n => { bookingService.defaultReminders = n.getCollectionOfObjectValues(createBookingReminderFromDiscriminatorValue); }, "description": n => { bookingService.description = n.getStringValue(); }, "displayName": n => { bookingService.displayName = n.getStringValue(); }, "isAnonymousJoinEnabled": n => { bookingService.isAnonymousJoinEnabled = n.getBooleanValue(); }, "isCustomerAllowedToManageBooking": n => { bookingService.isCustomerAllowedToManageBooking = n.getBooleanValue(); }, "isHiddenFromCustomers": n => { bookingService.isHiddenFromCustomers = n.getBooleanValue(); }, "isLocationOnline": n => { bookingService.isLocationOnline = n.getBooleanValue(); }, "languageTag": n => { bookingService.languageTag = n.getStringValue(); }, "lastUpdatedDateTime": n => { bookingService.lastUpdatedDateTime = n.getDateValue(); }, "maximumAttendeesCount": n => { bookingService.maximumAttendeesCount = n.getNumberValue(); }, "notes": n => { bookingService.notes = n.getStringValue(); }, "postBuffer": n => { bookingService.postBuffer = n.getDurationValue(); }, "preBuffer": n => { bookingService.preBuffer = n.getDurationValue(); }, "schedulingPolicy": n => { bookingService.schedulingPolicy = n.getObjectValue(createBookingSchedulingPolicyFromDiscriminatorValue); }, "smsNotificationsEnabled": n => { bookingService.smsNotificationsEnabled = n.getBooleanValue(); }, "staffMemberIds": n => { bookingService.staffMemberIds = n.getCollectionOfPrimitiveValues(); }, "webUrl": n => { bookingService.webUrl = n.getStringValue(); } });
25016
25439
  }
25017
25440
  /**
25018
25441
  * The deserialization information for the current model
@@ -25026,7 +25449,7 @@ export function deserializeIntoBookingServiceCollectionResponse(bookingServiceCo
25026
25449
  * @returns {Record<string, (node: ParseNode) => void>}
25027
25450
  */
25028
25451
  export function deserializeIntoBookingStaffMember(bookingStaffMember = {}) {
25029
- return Object.assign(Object.assign({}, deserializeIntoBookingStaffMemberBase(bookingStaffMember)), { "availabilityIsAffectedByPersonalCalendar": n => { bookingStaffMember.availabilityIsAffectedByPersonalCalendar = n.getBooleanValue(); }, "displayName": n => { bookingStaffMember.displayName = n.getStringValue(); }, "emailAddress": n => { bookingStaffMember.emailAddress = n.getStringValue(); }, "isEmailNotificationEnabled": n => { bookingStaffMember.isEmailNotificationEnabled = n.getBooleanValue(); }, "membershipStatus": n => { bookingStaffMember.membershipStatus = n.getEnumValue(BookingStaffMembershipStatusObject); }, "role": n => { bookingStaffMember.role = n.getEnumValue(BookingStaffRoleObject); }, "timeZone": n => { bookingStaffMember.timeZone = n.getStringValue(); }, "useBusinessHours": n => { bookingStaffMember.useBusinessHours = n.getBooleanValue(); }, "workingHours": n => { bookingStaffMember.workingHours = n.getCollectionOfObjectValues(createBookingWorkHoursFromDiscriminatorValue); } });
25452
+ return Object.assign(Object.assign({}, deserializeIntoBookingStaffMemberBase(bookingStaffMember)), { "availabilityIsAffectedByPersonalCalendar": n => { bookingStaffMember.availabilityIsAffectedByPersonalCalendar = n.getBooleanValue(); }, "createdDateTime": n => { bookingStaffMember.createdDateTime = n.getDateValue(); }, "displayName": n => { bookingStaffMember.displayName = n.getStringValue(); }, "emailAddress": n => { bookingStaffMember.emailAddress = n.getStringValue(); }, "isEmailNotificationEnabled": n => { bookingStaffMember.isEmailNotificationEnabled = n.getBooleanValue(); }, "lastUpdatedDateTime": n => { bookingStaffMember.lastUpdatedDateTime = n.getDateValue(); }, "membershipStatus": n => { bookingStaffMember.membershipStatus = n.getEnumValue(BookingStaffMembershipStatusObject); }, "role": n => { bookingStaffMember.role = n.getEnumValue(BookingStaffRoleObject); }, "timeZone": n => { bookingStaffMember.timeZone = n.getStringValue(); }, "useBusinessHours": n => { bookingStaffMember.useBusinessHours = n.getBooleanValue(); }, "workingHours": n => { bookingStaffMember.workingHours = n.getCollectionOfObjectValues(createBookingWorkHoursFromDiscriminatorValue); } });
25030
25453
  }
25031
25454
  /**
25032
25455
  * The deserialization information for the current model
@@ -25522,7 +25945,7 @@ export function deserializeIntoChangeTrackedEntity(changeTrackedEntity = {}) {
25522
25945
  * @returns {Record<string, (node: ParseNode) => void>}
25523
25946
  */
25524
25947
  export function deserializeIntoChannel(channel = {}) {
25525
- return Object.assign(Object.assign({}, deserializeIntoEntity(channel)), { "createdDateTime": n => { channel.createdDateTime = n.getDateValue(); }, "description": n => { channel.description = n.getStringValue(); }, "displayName": n => { channel.displayName = n.getStringValue(); }, "email": n => { channel.email = n.getStringValue(); }, "filesFolder": n => { channel.filesFolder = n.getObjectValue(createDriveItemFromDiscriminatorValue); }, "isFavoriteByDefault": n => { channel.isFavoriteByDefault = n.getBooleanValue(); }, "members": n => { channel.members = n.getCollectionOfObjectValues(createConversationMemberFromDiscriminatorValue); }, "membershipType": n => { channel.membershipType = n.getEnumValue(ChannelMembershipTypeObject); }, "messages": n => { channel.messages = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); }, "sharedWithTeams": n => { channel.sharedWithTeams = n.getCollectionOfObjectValues(createSharedWithChannelTeamInfoFromDiscriminatorValue); }, "summary": n => { channel.summary = n.getObjectValue(createChannelSummaryFromDiscriminatorValue); }, "tabs": n => { channel.tabs = n.getCollectionOfObjectValues(createTeamsTabFromDiscriminatorValue); }, "tenantId": n => { channel.tenantId = n.getStringValue(); }, "webUrl": n => { channel.webUrl = n.getStringValue(); } });
25948
+ return Object.assign(Object.assign({}, deserializeIntoEntity(channel)), { "createdDateTime": n => { channel.createdDateTime = n.getDateValue(); }, "description": n => { channel.description = n.getStringValue(); }, "displayName": n => { channel.displayName = n.getStringValue(); }, "email": n => { channel.email = n.getStringValue(); }, "filesFolder": n => { channel.filesFolder = n.getObjectValue(createDriveItemFromDiscriminatorValue); }, "isArchived": n => { channel.isArchived = n.getBooleanValue(); }, "isFavoriteByDefault": n => { channel.isFavoriteByDefault = n.getBooleanValue(); }, "members": n => { channel.members = n.getCollectionOfObjectValues(createConversationMemberFromDiscriminatorValue); }, "membershipType": n => { channel.membershipType = n.getEnumValue(ChannelMembershipTypeObject); }, "messages": n => { channel.messages = n.getCollectionOfObjectValues(createChatMessageFromDiscriminatorValue); }, "sharedWithTeams": n => { channel.sharedWithTeams = n.getCollectionOfObjectValues(createSharedWithChannelTeamInfoFromDiscriminatorValue); }, "summary": n => { channel.summary = n.getObjectValue(createChannelSummaryFromDiscriminatorValue); }, "tabs": n => { channel.tabs = n.getCollectionOfObjectValues(createTeamsTabFromDiscriminatorValue); }, "tenantId": n => { channel.tenantId = n.getStringValue(); }, "webUrl": n => { channel.webUrl = n.getStringValue(); } });
25526
25949
  }
25527
25950
  /**
25528
25951
  * The deserialization information for the current model
@@ -26950,7 +27373,7 @@ export function deserializeIntoCrossTenantAccessPolicyB2BSetting(crossTenantAcce
26950
27373
  * @returns {Record<string, (node: ParseNode) => void>}
26951
27374
  */
26952
27375
  export function deserializeIntoCrossTenantAccessPolicyConfigurationDefault(crossTenantAccessPolicyConfigurationDefault = {}) {
26953
- return Object.assign(Object.assign({}, deserializeIntoEntity(crossTenantAccessPolicyConfigurationDefault)), { "automaticUserConsentSettings": n => { crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings = n.getObjectValue(createInboundOutboundPolicyConfigurationFromDiscriminatorValue); }, "b2bCollaborationInbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bCollaborationOutbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bDirectConnectInbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bDirectConnectOutbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "inboundTrust": n => { crossTenantAccessPolicyConfigurationDefault.inboundTrust = n.getObjectValue(createCrossTenantAccessPolicyInboundTrustFromDiscriminatorValue); }, "invitationRedemptionIdentityProviderConfiguration": n => { crossTenantAccessPolicyConfigurationDefault.invitationRedemptionIdentityProviderConfiguration = n.getObjectValue(createDefaultInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue); }, "isServiceDefault": n => { crossTenantAccessPolicyConfigurationDefault.isServiceDefault = n.getBooleanValue(); } });
27376
+ return Object.assign(Object.assign({}, deserializeIntoEntity(crossTenantAccessPolicyConfigurationDefault)), { "automaticUserConsentSettings": n => { crossTenantAccessPolicyConfigurationDefault.automaticUserConsentSettings = n.getObjectValue(createInboundOutboundPolicyConfigurationFromDiscriminatorValue); }, "b2bCollaborationInbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bCollaborationInbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bCollaborationOutbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bCollaborationOutbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bDirectConnectInbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectInbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "b2bDirectConnectOutbound": n => { crossTenantAccessPolicyConfigurationDefault.b2bDirectConnectOutbound = n.getObjectValue(createCrossTenantAccessPolicyB2BSettingFromDiscriminatorValue); }, "inboundTrust": n => { crossTenantAccessPolicyConfigurationDefault.inboundTrust = n.getObjectValue(createCrossTenantAccessPolicyInboundTrustFromDiscriminatorValue); }, "invitationRedemptionIdentityProviderConfiguration": n => { crossTenantAccessPolicyConfigurationDefault.invitationRedemptionIdentityProviderConfiguration = n.getObjectValue(createDefaultInvitationRedemptionIdentityProviderConfigurationFromDiscriminatorValue); }, "isServiceDefault": n => { crossTenantAccessPolicyConfigurationDefault.isServiceDefault = n.getBooleanValue(); }, "tenantRestrictions": n => { crossTenantAccessPolicyConfigurationDefault.tenantRestrictions = n.getObjectValue(createCrossTenantAccessPolicyTenantRestrictionsFromDiscriminatorValue); } });
26954
27377
  }
26955
27378
  /**
26956
27379
  * The deserialization information for the current model
@@ -26970,6 +27393,7 @@ export function deserializeIntoCrossTenantAccessPolicyConfigurationPartner(cross
26970
27393
  "isServiceProvider": n => { crossTenantAccessPolicyConfigurationPartner.isServiceProvider = n.getBooleanValue(); },
26971
27394
  "@odata.type": n => { crossTenantAccessPolicyConfigurationPartner.odataType = n.getStringValue(); },
26972
27395
  "tenantId": n => { crossTenantAccessPolicyConfigurationPartner.tenantId = n.getStringValue(); },
27396
+ "tenantRestrictions": n => { crossTenantAccessPolicyConfigurationPartner.tenantRestrictions = n.getObjectValue(createCrossTenantAccessPolicyTenantRestrictionsFromDiscriminatorValue); },
26973
27397
  };
26974
27398
  }
26975
27399
  /**
@@ -27016,6 +27440,13 @@ export function deserializeIntoCrossTenantAccessPolicyTargetConfiguration(crossT
27016
27440
  "targets": n => { crossTenantAccessPolicyTargetConfiguration.targets = n.getCollectionOfObjectValues(createCrossTenantAccessPolicyTargetFromDiscriminatorValue); },
27017
27441
  };
27018
27442
  }
27443
+ /**
27444
+ * The deserialization information for the current model
27445
+ * @returns {Record<string, (node: ParseNode) => void>}
27446
+ */
27447
+ export function deserializeIntoCrossTenantAccessPolicyTenantRestrictions(crossTenantAccessPolicyTenantRestrictions = {}) {
27448
+ return Object.assign(Object.assign({}, deserializeIntoCrossTenantAccessPolicyB2BSetting(crossTenantAccessPolicyTenantRestrictions)), { "devices": n => { crossTenantAccessPolicyTenantRestrictions.devices = n.getObjectValue(createDevicesFilterFromDiscriminatorValue); } });
27449
+ }
27019
27450
  /**
27020
27451
  * The deserialization information for the current model
27021
27452
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -27051,6 +27482,13 @@ export function deserializeIntoCurrencyColumn(currencyColumn = {}) {
27051
27482
  "@odata.type": n => { currencyColumn.odataType = n.getStringValue(); },
27052
27483
  };
27053
27484
  }
27485
+ /**
27486
+ * The deserialization information for the current model
27487
+ * @returns {Record<string, (node: ParseNode) => void>}
27488
+ */
27489
+ export function deserializeIntoCustomAppManagementConfiguration(customAppManagementConfiguration = {}) {
27490
+ return Object.assign({}, deserializeIntoAppManagementConfiguration(customAppManagementConfiguration));
27491
+ }
27054
27492
  /**
27055
27493
  * The deserialization information for the current model
27056
27494
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -28273,6 +28711,18 @@ export function deserializeIntoDeviceRegistrationMembership(deviceRegistrationMe
28273
28711
  export function deserializeIntoDeviceRegistrationPolicy(deviceRegistrationPolicy = {}) {
28274
28712
  return Object.assign(Object.assign({}, deserializeIntoEntity(deviceRegistrationPolicy)), { "azureADJoin": n => { deviceRegistrationPolicy.azureADJoin = n.getObjectValue(createAzureADJoinPolicyFromDiscriminatorValue); }, "azureADRegistration": n => { deviceRegistrationPolicy.azureADRegistration = n.getObjectValue(createAzureADRegistrationPolicyFromDiscriminatorValue); }, "description": n => { deviceRegistrationPolicy.description = n.getStringValue(); }, "displayName": n => { deviceRegistrationPolicy.displayName = n.getStringValue(); }, "localAdminPassword": n => { deviceRegistrationPolicy.localAdminPassword = n.getObjectValue(createLocalAdminPasswordSettingsFromDiscriminatorValue); }, "multiFactorAuthConfiguration": n => { deviceRegistrationPolicy.multiFactorAuthConfiguration = n.getEnumValue(MultiFactorAuthConfigurationObject); }, "userDeviceQuota": n => { deviceRegistrationPolicy.userDeviceQuota = n.getNumberValue(); } });
28275
28713
  }
28714
+ /**
28715
+ * The deserialization information for the current model
28716
+ * @returns {Record<string, (node: ParseNode) => void>}
28717
+ */
28718
+ export function deserializeIntoDevicesFilter(devicesFilter = {}) {
28719
+ return {
28720
+ "backingStoreEnabled": n => { devicesFilter.backingStoreEnabled = true; },
28721
+ "mode": n => { devicesFilter.mode = n.getEnumValue(CrossTenantAccessPolicyTargetConfigurationAccessTypeObject); },
28722
+ "@odata.type": n => { devicesFilter.odataType = n.getStringValue(); },
28723
+ "rule": n => { devicesFilter.rule = n.getStringValue(); },
28724
+ };
28725
+ }
28276
28726
  /**
28277
28727
  * The deserialization information for the current model
28278
28728
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -30502,6 +30952,13 @@ export function deserializeIntoInsightIdentity(insightIdentity = {}) {
30502
30952
  "@odata.type": n => { insightIdentity.odataType = n.getStringValue(); },
30503
30953
  };
30504
30954
  }
30955
+ /**
30956
+ * The deserialization information for the current model
30957
+ * @returns {Record<string, (node: ParseNode) => void>}
30958
+ */
30959
+ export function deserializeIntoInsightsSettings(insightsSettings = {}) {
30960
+ return Object.assign(Object.assign({}, deserializeIntoEntity(insightsSettings)), { "disabledForGroup": n => { insightsSettings.disabledForGroup = n.getStringValue(); }, "isEnabledInOrganization": n => { insightsSettings.isEnabledInOrganization = n.getBooleanValue(); } });
30961
+ }
30505
30962
  /**
30506
30963
  * The deserialization information for the current model
30507
30964
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -31069,6 +31526,13 @@ export function deserializeIntoItemBody(itemBody = {}) {
31069
31526
  "@odata.type": n => { itemBody.odataType = n.getStringValue(); },
31070
31527
  };
31071
31528
  }
31529
+ /**
31530
+ * The deserialization information for the current model
31531
+ * @returns {Record<string, (node: ParseNode) => void>}
31532
+ */
31533
+ export function deserializeIntoItemInsights(itemInsights = {}) {
31534
+ return Object.assign({}, deserializeIntoOfficeGraphInsights(itemInsights));
31535
+ }
31072
31536
  /**
31073
31537
  * The deserialization information for the current model
31074
31538
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -34130,7 +34594,7 @@ export function deserializeIntoPendingOperations(pendingOperations = {}) {
34130
34594
  * @returns {Record<string, (node: ParseNode) => void>}
34131
34595
  */
34132
34596
  export function deserializeIntoPeopleAdminSettings(peopleAdminSettings = {}) {
34133
- return Object.assign(Object.assign({}, deserializeIntoEntity(peopleAdminSettings)), { "profileCardProperties": n => { peopleAdminSettings.profileCardProperties = n.getCollectionOfObjectValues(createProfileCardPropertyFromDiscriminatorValue); }, "pronouns": n => { peopleAdminSettings.pronouns = n.getObjectValue(createPronounsSettingsFromDiscriminatorValue); } });
34597
+ return Object.assign(Object.assign({}, deserializeIntoEntity(peopleAdminSettings)), { "itemInsights": n => { peopleAdminSettings.itemInsights = n.getObjectValue(createInsightsSettingsFromDiscriminatorValue); }, "profileCardProperties": n => { peopleAdminSettings.profileCardProperties = n.getCollectionOfObjectValues(createProfileCardPropertyFromDiscriminatorValue); }, "pronouns": n => { peopleAdminSettings.pronouns = n.getObjectValue(createPronounsSettingsFromDiscriminatorValue); } });
34134
34598
  }
34135
34599
  /**
34136
34600
  * The deserialization information for the current model
@@ -37005,6 +37469,20 @@ export function deserializeIntoServiceProvisioningErrorCollectionResponse(servic
37005
37469
  export function deserializeIntoServiceProvisioningXmlError(serviceProvisioningXmlError = {}) {
37006
37470
  return Object.assign(Object.assign({}, deserializeIntoServiceProvisioningError(serviceProvisioningXmlError)), { "errorDetail": n => { serviceProvisioningXmlError.errorDetail = n.getStringValue(); } });
37007
37471
  }
37472
+ /**
37473
+ * The deserialization information for the current model
37474
+ * @returns {Record<string, (node: ParseNode) => void>}
37475
+ */
37476
+ export function deserializeIntoServiceStorageQuotaBreakdown(serviceStorageQuotaBreakdown = {}) {
37477
+ return Object.assign({}, deserializeIntoStorageQuotaBreakdown(serviceStorageQuotaBreakdown));
37478
+ }
37479
+ /**
37480
+ * The deserialization information for the current model
37481
+ * @returns {Record<string, (node: ParseNode) => void>}
37482
+ */
37483
+ export function deserializeIntoServiceStorageQuotaBreakdownCollectionResponse(serviceStorageQuotaBreakdownCollectionResponse = {}) {
37484
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(serviceStorageQuotaBreakdownCollectionResponse)), { "value": n => { serviceStorageQuotaBreakdownCollectionResponse.value = n.getCollectionOfObjectValues(createServiceStorageQuotaBreakdownFromDiscriminatorValue); } });
37485
+ }
37008
37486
  /**
37009
37487
  * The deserialization information for the current model
37010
37488
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -37755,6 +38233,7 @@ export function deserializeIntoStorage(storage = {}) {
37755
38233
  "backingStoreEnabled": n => { storage.backingStoreEnabled = true; },
37756
38234
  "fileStorage": n => { storage.fileStorage = n.getObjectValue(createFileStorageFromDiscriminatorValue); },
37757
38235
  "@odata.type": n => { storage.odataType = n.getStringValue(); },
38236
+ "settings": n => { storage.settings = n.getObjectValue(createStorageSettingsFromDiscriminatorValue); },
37758
38237
  };
37759
38238
  }
37760
38239
  /**
@@ -37768,6 +38247,20 @@ export function deserializeIntoStoragePlanInformation(storagePlanInformation = {
37768
38247
  "upgradeAvailable": n => { storagePlanInformation.upgradeAvailable = n.getBooleanValue(); },
37769
38248
  };
37770
38249
  }
38250
+ /**
38251
+ * The deserialization information for the current model
38252
+ * @returns {Record<string, (node: ParseNode) => void>}
38253
+ */
38254
+ export function deserializeIntoStorageQuotaBreakdown(storageQuotaBreakdown = {}) {
38255
+ return Object.assign(Object.assign({}, deserializeIntoEntity(storageQuotaBreakdown)), { "displayName": n => { storageQuotaBreakdown.displayName = n.getStringValue(); }, "manageWebUrl": n => { storageQuotaBreakdown.manageWebUrl = n.getStringValue(); }, "used": n => { storageQuotaBreakdown.used = n.getNumberValue(); } });
38256
+ }
38257
+ /**
38258
+ * The deserialization information for the current model
38259
+ * @returns {Record<string, (node: ParseNode) => void>}
38260
+ */
38261
+ export function deserializeIntoStorageSettings(storageSettings = {}) {
38262
+ return Object.assign(Object.assign({}, deserializeIntoEntity(storageSettings)), { "quota": n => { storageSettings.quota = n.getObjectValue(createUnifiedStorageQuotaFromDiscriminatorValue); } });
38263
+ }
37771
38264
  /**
37772
38265
  * The deserialization information for the current model
37773
38266
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -38881,7 +39374,7 @@ export function deserializeIntoTemporaryAccessPassAuthenticationMethodConfigurat
38881
39374
  * @returns {Record<string, (node: ParseNode) => void>}
38882
39375
  */
38883
39376
  export function deserializeIntoTenantAppManagementPolicy(tenantAppManagementPolicy = {}) {
38884
- return Object.assign(Object.assign({}, deserializeIntoPolicyBase(tenantAppManagementPolicy)), { "applicationRestrictions": n => { tenantAppManagementPolicy.applicationRestrictions = n.getObjectValue(createAppManagementConfigurationFromDiscriminatorValue); }, "isEnabled": n => { tenantAppManagementPolicy.isEnabled = n.getBooleanValue(); }, "servicePrincipalRestrictions": n => { tenantAppManagementPolicy.servicePrincipalRestrictions = n.getObjectValue(createAppManagementConfigurationFromDiscriminatorValue); } });
39377
+ return Object.assign(Object.assign({}, deserializeIntoPolicyBase(tenantAppManagementPolicy)), { "applicationRestrictions": n => { tenantAppManagementPolicy.applicationRestrictions = n.getObjectValue(createAppManagementApplicationConfigurationFromDiscriminatorValue); }, "isEnabled": n => { tenantAppManagementPolicy.isEnabled = n.getBooleanValue(); }, "servicePrincipalRestrictions": n => { tenantAppManagementPolicy.servicePrincipalRestrictions = n.getObjectValue(createAppManagementServicePrincipalConfigurationFromDiscriminatorValue); } });
38885
39378
  }
38886
39379
  /**
38887
39380
  * The deserialization information for the current model
@@ -39662,6 +40155,13 @@ export function deserializeIntoUnifiedRoleScheduleBase(unifiedRoleScheduleBase =
39662
40155
  export function deserializeIntoUnifiedRoleScheduleInstanceBase(unifiedRoleScheduleInstanceBase = {}) {
39663
40156
  return Object.assign(Object.assign({}, deserializeIntoEntity(unifiedRoleScheduleInstanceBase)), { "appScope": n => { unifiedRoleScheduleInstanceBase.appScope = n.getObjectValue(createAppScopeFromDiscriminatorValue); }, "appScopeId": n => { unifiedRoleScheduleInstanceBase.appScopeId = n.getStringValue(); }, "directoryScope": n => { unifiedRoleScheduleInstanceBase.directoryScope = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "directoryScopeId": n => { unifiedRoleScheduleInstanceBase.directoryScopeId = n.getStringValue(); }, "principal": n => { unifiedRoleScheduleInstanceBase.principal = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "principalId": n => { unifiedRoleScheduleInstanceBase.principalId = n.getStringValue(); }, "roleDefinition": n => { unifiedRoleScheduleInstanceBase.roleDefinition = n.getObjectValue(createUnifiedRoleDefinitionFromDiscriminatorValue); }, "roleDefinitionId": n => { unifiedRoleScheduleInstanceBase.roleDefinitionId = n.getStringValue(); } });
39664
40157
  }
40158
+ /**
40159
+ * The deserialization information for the current model
40160
+ * @returns {Record<string, (node: ParseNode) => void>}
40161
+ */
40162
+ export function deserializeIntoUnifiedStorageQuota(unifiedStorageQuota = {}) {
40163
+ return Object.assign(Object.assign({}, deserializeIntoEntity(unifiedStorageQuota)), { "deleted": n => { unifiedStorageQuota.deleted = n.getNumberValue(); }, "manageWebUrl": n => { unifiedStorageQuota.manageWebUrl = n.getStringValue(); }, "remaining": n => { unifiedStorageQuota.remaining = n.getNumberValue(); }, "services": n => { unifiedStorageQuota.services = n.getCollectionOfObjectValues(createServiceStorageQuotaBreakdownFromDiscriminatorValue); }, "state": n => { unifiedStorageQuota.state = n.getStringValue(); }, "total": n => { unifiedStorageQuota.total = n.getNumberValue(); }, "used": n => { unifiedStorageQuota.used = n.getNumberValue(); } });
40164
+ }
39665
40165
  /**
39666
40166
  * The deserialization information for the current model
39667
40167
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -39773,7 +40273,7 @@ export function deserializeIntoUsedInsightCollectionResponse(usedInsightCollecti
39773
40273
  * @returns {Record<string, (node: ParseNode) => void>}
39774
40274
  */
39775
40275
  export function deserializeIntoUser(user = {}) {
39776
- return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createOfficeGraphInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
40276
+ return Object.assign(Object.assign({}, deserializeIntoDirectoryObject(user)), { "aboutMe": n => { user.aboutMe = n.getStringValue(); }, "accountEnabled": n => { user.accountEnabled = n.getBooleanValue(); }, "activities": n => { user.activities = n.getCollectionOfObjectValues(createUserActivityFromDiscriminatorValue); }, "ageGroup": n => { user.ageGroup = n.getStringValue(); }, "agreementAcceptances": n => { user.agreementAcceptances = n.getCollectionOfObjectValues(createAgreementAcceptanceFromDiscriminatorValue); }, "appRoleAssignments": n => { user.appRoleAssignments = n.getCollectionOfObjectValues(createAppRoleAssignmentFromDiscriminatorValue); }, "assignedLicenses": n => { user.assignedLicenses = n.getCollectionOfObjectValues(createAssignedLicenseFromDiscriminatorValue); }, "assignedPlans": n => { user.assignedPlans = n.getCollectionOfObjectValues(createAssignedPlanFromDiscriminatorValue); }, "authentication": n => { user.authentication = n.getObjectValue(createAuthenticationFromDiscriminatorValue); }, "authorizationInfo": n => { user.authorizationInfo = n.getObjectValue(createAuthorizationInfoFromDiscriminatorValue); }, "birthday": n => { user.birthday = n.getDateValue(); }, "businessPhones": n => { user.businessPhones = n.getCollectionOfPrimitiveValues(); }, "calendar": n => { user.calendar = n.getObjectValue(createCalendarFromDiscriminatorValue); }, "calendarGroups": n => { user.calendarGroups = n.getCollectionOfObjectValues(createCalendarGroupFromDiscriminatorValue); }, "calendars": n => { user.calendars = n.getCollectionOfObjectValues(createCalendarFromDiscriminatorValue); }, "calendarView": n => { user.calendarView = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "chats": n => { user.chats = n.getCollectionOfObjectValues(createChatFromDiscriminatorValue); }, "city": n => { user.city = n.getStringValue(); }, "cloudClipboard": n => { user.cloudClipboard = n.getObjectValue(createCloudClipboardRootFromDiscriminatorValue); }, "companyName": n => { user.companyName = n.getStringValue(); }, "consentProvidedForMinor": n => { user.consentProvidedForMinor = n.getStringValue(); }, "contactFolders": n => { user.contactFolders = n.getCollectionOfObjectValues(createContactFolderFromDiscriminatorValue); }, "contacts": n => { user.contacts = n.getCollectionOfObjectValues(createContactFromDiscriminatorValue); }, "country": n => { user.country = n.getStringValue(); }, "createdDateTime": n => { user.createdDateTime = n.getDateValue(); }, "createdObjects": n => { user.createdObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "creationType": n => { user.creationType = n.getStringValue(); }, "customSecurityAttributes": n => { user.customSecurityAttributes = n.getObjectValue(createCustomSecurityAttributeValueFromDiscriminatorValue); }, "department": n => { user.department = n.getStringValue(); }, "deviceEnrollmentLimit": n => { user.deviceEnrollmentLimit = n.getNumberValue(); }, "deviceManagementTroubleshootingEvents": n => { user.deviceManagementTroubleshootingEvents = n.getCollectionOfObjectValues(createDeviceManagementTroubleshootingEventFromDiscriminatorValue); }, "directReports": n => { user.directReports = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "displayName": n => { user.displayName = n.getStringValue(); }, "drive": n => { user.drive = n.getObjectValue(createDriveFromDiscriminatorValue); }, "drives": n => { user.drives = n.getCollectionOfObjectValues(createDriveFromDiscriminatorValue); }, "employeeExperience": n => { user.employeeExperience = n.getObjectValue(createEmployeeExperienceUserFromDiscriminatorValue); }, "employeeHireDate": n => { user.employeeHireDate = n.getDateValue(); }, "employeeId": n => { user.employeeId = n.getStringValue(); }, "employeeLeaveDateTime": n => { user.employeeLeaveDateTime = n.getDateValue(); }, "employeeOrgData": n => { user.employeeOrgData = n.getObjectValue(createEmployeeOrgDataFromDiscriminatorValue); }, "employeeType": n => { user.employeeType = n.getStringValue(); }, "events": n => { user.events = n.getCollectionOfObjectValues(createEventFromDiscriminatorValue); }, "extensions": n => { user.extensions = n.getCollectionOfObjectValues(createExtensionFromDiscriminatorValue); }, "externalUserState": n => { user.externalUserState = n.getStringValue(); }, "externalUserStateChangeDateTime": n => { user.externalUserStateChangeDateTime = n.getDateValue(); }, "faxNumber": n => { user.faxNumber = n.getStringValue(); }, "followedSites": n => { user.followedSites = n.getCollectionOfObjectValues(createSiteFromDiscriminatorValue); }, "givenName": n => { user.givenName = n.getStringValue(); }, "hireDate": n => { user.hireDate = n.getDateValue(); }, "identities": n => { user.identities = n.getCollectionOfObjectValues(createObjectIdentityFromDiscriminatorValue); }, "imAddresses": n => { user.imAddresses = n.getCollectionOfPrimitiveValues(); }, "inferenceClassification": n => { user.inferenceClassification = n.getObjectValue(createInferenceClassificationFromDiscriminatorValue); }, "insights": n => { user.insights = n.getObjectValue(createItemInsightsFromDiscriminatorValue); }, "interests": n => { user.interests = n.getCollectionOfPrimitiveValues(); }, "isResourceAccount": n => { user.isResourceAccount = n.getBooleanValue(); }, "jobTitle": n => { user.jobTitle = n.getStringValue(); }, "joinedTeams": n => { user.joinedTeams = n.getCollectionOfObjectValues(createTeamFromDiscriminatorValue); }, "lastPasswordChangeDateTime": n => { user.lastPasswordChangeDateTime = n.getDateValue(); }, "legalAgeGroupClassification": n => { user.legalAgeGroupClassification = n.getStringValue(); }, "licenseAssignmentStates": n => { user.licenseAssignmentStates = n.getCollectionOfObjectValues(createLicenseAssignmentStateFromDiscriminatorValue); }, "licenseDetails": n => { user.licenseDetails = n.getCollectionOfObjectValues(createLicenseDetailsFromDiscriminatorValue); }, "mail": n => { user.mail = n.getStringValue(); }, "mailboxSettings": n => { user.mailboxSettings = n.getObjectValue(createMailboxSettingsFromDiscriminatorValue); }, "mailFolders": n => { user.mailFolders = n.getCollectionOfObjectValues(createMailFolderFromDiscriminatorValue); }, "mailNickname": n => { user.mailNickname = n.getStringValue(); }, "managedAppRegistrations": n => { user.managedAppRegistrations = n.getCollectionOfObjectValues(createManagedAppRegistrationFromDiscriminatorValue); }, "managedDevices": n => { user.managedDevices = n.getCollectionOfObjectValues(createManagedDeviceFromDiscriminatorValue); }, "manager": n => { user.manager = n.getObjectValue(createDirectoryObjectFromDiscriminatorValue); }, "memberOf": n => { user.memberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "messages": n => { user.messages = n.getCollectionOfObjectValues(createMessageFromDiscriminatorValue); }, "mobilePhone": n => { user.mobilePhone = n.getStringValue(); }, "mySite": n => { user.mySite = n.getStringValue(); }, "oauth2PermissionGrants": n => { user.oauth2PermissionGrants = n.getCollectionOfObjectValues(createOAuth2PermissionGrantFromDiscriminatorValue); }, "officeLocation": n => { user.officeLocation = n.getStringValue(); }, "onenote": n => { user.onenote = n.getObjectValue(createOnenoteFromDiscriminatorValue); }, "onlineMeetings": n => { user.onlineMeetings = n.getCollectionOfObjectValues(createOnlineMeetingFromDiscriminatorValue); }, "onPremisesDistinguishedName": n => { user.onPremisesDistinguishedName = n.getStringValue(); }, "onPremisesDomainName": n => { user.onPremisesDomainName = n.getStringValue(); }, "onPremisesExtensionAttributes": n => { user.onPremisesExtensionAttributes = n.getObjectValue(createOnPremisesExtensionAttributesFromDiscriminatorValue); }, "onPremisesImmutableId": n => { user.onPremisesImmutableId = n.getStringValue(); }, "onPremisesLastSyncDateTime": n => { user.onPremisesLastSyncDateTime = n.getDateValue(); }, "onPremisesProvisioningErrors": n => { user.onPremisesProvisioningErrors = n.getCollectionOfObjectValues(createOnPremisesProvisioningErrorFromDiscriminatorValue); }, "onPremisesSamAccountName": n => { user.onPremisesSamAccountName = n.getStringValue(); }, "onPremisesSecurityIdentifier": n => { user.onPremisesSecurityIdentifier = n.getStringValue(); }, "onPremisesSyncEnabled": n => { user.onPremisesSyncEnabled = n.getBooleanValue(); }, "onPremisesUserPrincipalName": n => { user.onPremisesUserPrincipalName = n.getStringValue(); }, "otherMails": n => { user.otherMails = n.getCollectionOfPrimitiveValues(); }, "outlook": n => { user.outlook = n.getObjectValue(createOutlookUserFromDiscriminatorValue); }, "ownedDevices": n => { user.ownedDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "ownedObjects": n => { user.ownedObjects = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "passwordPolicies": n => { user.passwordPolicies = n.getStringValue(); }, "passwordProfile": n => { user.passwordProfile = n.getObjectValue(createPasswordProfileFromDiscriminatorValue); }, "pastProjects": n => { user.pastProjects = n.getCollectionOfPrimitiveValues(); }, "people": n => { user.people = n.getCollectionOfObjectValues(createPersonFromDiscriminatorValue); }, "permissionGrants": n => { user.permissionGrants = n.getCollectionOfObjectValues(createResourceSpecificPermissionGrantFromDiscriminatorValue); }, "photo": n => { user.photo = n.getObjectValue(createProfilePhotoFromDiscriminatorValue); }, "photos": n => { user.photos = n.getCollectionOfObjectValues(createProfilePhotoFromDiscriminatorValue); }, "planner": n => { user.planner = n.getObjectValue(createPlannerUserFromDiscriminatorValue); }, "postalCode": n => { user.postalCode = n.getStringValue(); }, "preferredDataLocation": n => { user.preferredDataLocation = n.getStringValue(); }, "preferredLanguage": n => { user.preferredLanguage = n.getStringValue(); }, "preferredName": n => { user.preferredName = n.getStringValue(); }, "presence": n => { user.presence = n.getObjectValue(createPresenceFromDiscriminatorValue); }, "print": n => { user.print = n.getObjectValue(createUserPrintFromDiscriminatorValue); }, "provisionedPlans": n => { user.provisionedPlans = n.getCollectionOfObjectValues(createProvisionedPlanFromDiscriminatorValue); }, "proxyAddresses": n => { user.proxyAddresses = n.getCollectionOfPrimitiveValues(); }, "registeredDevices": n => { user.registeredDevices = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "responsibilities": n => { user.responsibilities = n.getCollectionOfPrimitiveValues(); }, "schools": n => { user.schools = n.getCollectionOfPrimitiveValues(); }, "scopedRoleMemberOf": n => { user.scopedRoleMemberOf = n.getCollectionOfObjectValues(createScopedRoleMembershipFromDiscriminatorValue); }, "securityIdentifier": n => { user.securityIdentifier = n.getStringValue(); }, "serviceProvisioningErrors": n => { user.serviceProvisioningErrors = n.getCollectionOfObjectValues(createServiceProvisioningErrorFromDiscriminatorValue); }, "settings": n => { user.settings = n.getObjectValue(createUserSettingsFromDiscriminatorValue); }, "showInAddressList": n => { user.showInAddressList = n.getBooleanValue(); }, "signInActivity": n => { user.signInActivity = n.getObjectValue(createSignInActivityFromDiscriminatorValue); }, "signInSessionsValidFromDateTime": n => { user.signInSessionsValidFromDateTime = n.getDateValue(); }, "skills": n => { user.skills = n.getCollectionOfPrimitiveValues(); }, "sponsors": n => { user.sponsors = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "state": n => { user.state = n.getStringValue(); }, "streetAddress": n => { user.streetAddress = n.getStringValue(); }, "surname": n => { user.surname = n.getStringValue(); }, "teamwork": n => { user.teamwork = n.getObjectValue(createUserTeamworkFromDiscriminatorValue); }, "todo": n => { user.todo = n.getObjectValue(createTodoFromDiscriminatorValue); }, "transitiveMemberOf": n => { user.transitiveMemberOf = n.getCollectionOfObjectValues(createDirectoryObjectFromDiscriminatorValue); }, "usageLocation": n => { user.usageLocation = n.getStringValue(); }, "userPrincipalName": n => { user.userPrincipalName = n.getStringValue(); }, "userType": n => { user.userType = n.getStringValue(); } });
39777
40277
  }
39778
40278
  /**
39779
40279
  * The deserialization information for the current model
@@ -40299,6 +40799,13 @@ export function deserializeIntoUserFlowLanguagePageCollectionResponse(userFlowLa
40299
40799
  export function deserializeIntoUserIdentity(userIdentity = {}) {
40300
40800
  return Object.assign(Object.assign({}, deserializeIntoIdentity(userIdentity)), { "ipAddress": n => { userIdentity.ipAddress = n.getStringValue(); }, "userPrincipalName": n => { userIdentity.userPrincipalName = n.getStringValue(); } });
40301
40801
  }
40802
+ /**
40803
+ * The deserialization information for the current model
40804
+ * @returns {Record<string, (node: ParseNode) => void>}
40805
+ */
40806
+ export function deserializeIntoUserInsightsSettings(userInsightsSettings = {}) {
40807
+ return Object.assign(Object.assign({}, deserializeIntoEntity(userInsightsSettings)), { "isEnabled": n => { userInsightsSettings.isEnabled = n.getBooleanValue(); } });
40808
+ }
40302
40809
  /**
40303
40810
  * The deserialization information for the current model
40304
40811
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -40440,7 +40947,7 @@ export function deserializeIntoUserSecurityState(userSecurityState = {}) {
40440
40947
  * @returns {Record<string, (node: ParseNode) => void>}
40441
40948
  */
40442
40949
  export function deserializeIntoUserSettings(userSettings = {}) {
40443
- return Object.assign(Object.assign({}, deserializeIntoEntity(userSettings)), { "contributionToContentDiscoveryAsOrganizationDisabled": n => { userSettings.contributionToContentDiscoveryAsOrganizationDisabled = n.getBooleanValue(); }, "contributionToContentDiscoveryDisabled": n => { userSettings.contributionToContentDiscoveryDisabled = n.getBooleanValue(); }, "shiftPreferences": n => { userSettings.shiftPreferences = n.getObjectValue(createShiftPreferencesFromDiscriminatorValue); }, "windows": n => { userSettings.windows = n.getCollectionOfObjectValues(createWindowsSettingFromDiscriminatorValue); } });
40950
+ return Object.assign(Object.assign({}, deserializeIntoEntity(userSettings)), { "contributionToContentDiscoveryAsOrganizationDisabled": n => { userSettings.contributionToContentDiscoveryAsOrganizationDisabled = n.getBooleanValue(); }, "contributionToContentDiscoveryDisabled": n => { userSettings.contributionToContentDiscoveryDisabled = n.getBooleanValue(); }, "itemInsights": n => { userSettings.itemInsights = n.getObjectValue(createUserInsightsSettingsFromDiscriminatorValue); }, "shiftPreferences": n => { userSettings.shiftPreferences = n.getObjectValue(createShiftPreferencesFromDiscriminatorValue); }, "storage": n => { userSettings.storage = n.getObjectValue(createUserStorageFromDiscriminatorValue); }, "windows": n => { userSettings.windows = n.getCollectionOfObjectValues(createWindowsSettingFromDiscriminatorValue); } });
40444
40951
  }
40445
40952
  /**
40446
40953
  * The deserialization information for the current model
@@ -40483,6 +40990,13 @@ export function deserializeIntoUserSimulationEventInfo(userSimulationEventInfo =
40483
40990
  "osPlatformDeviceDetails": n => { userSimulationEventInfo.osPlatformDeviceDetails = n.getStringValue(); },
40484
40991
  };
40485
40992
  }
40993
+ /**
40994
+ * The deserialization information for the current model
40995
+ * @returns {Record<string, (node: ParseNode) => void>}
40996
+ */
40997
+ export function deserializeIntoUserStorage(userStorage = {}) {
40998
+ return Object.assign(Object.assign({}, deserializeIntoEntity(userStorage)), { "quota": n => { userStorage.quota = n.getObjectValue(createUnifiedStorageQuotaFromDiscriminatorValue); } });
40999
+ }
40486
41000
  /**
40487
41001
  * The deserialization information for the current model
40488
41002
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -40601,7 +41115,7 @@ export function deserializeIntoVirtualEndpoint(virtualEndpoint = {}) {
40601
41115
  * @returns {Record<string, (node: ParseNode) => void>}
40602
41116
  */
40603
41117
  export function deserializeIntoVirtualEvent(virtualEvent = {}) {
40604
- return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEvent)), { "createdBy": n => { virtualEvent.createdBy = n.getObjectValue(createCommunicationsIdentitySetFromDiscriminatorValue); }, "description": n => { virtualEvent.description = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "displayName": n => { virtualEvent.displayName = n.getStringValue(); }, "endDateTime": n => { virtualEvent.endDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "sessions": n => { virtualEvent.sessions = n.getCollectionOfObjectValues(createVirtualEventSessionFromDiscriminatorValue); }, "startDateTime": n => { virtualEvent.startDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "status": n => { virtualEvent.status = n.getEnumValue(VirtualEventStatusObject); } });
41118
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEvent)), { "createdBy": n => { virtualEvent.createdBy = n.getObjectValue(createCommunicationsIdentitySetFromDiscriminatorValue); }, "description": n => { virtualEvent.description = n.getObjectValue(createItemBodyFromDiscriminatorValue); }, "displayName": n => { virtualEvent.displayName = n.getStringValue(); }, "endDateTime": n => { virtualEvent.endDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "presenters": n => { virtualEvent.presenters = n.getCollectionOfObjectValues(createVirtualEventPresenterFromDiscriminatorValue); }, "sessions": n => { virtualEvent.sessions = n.getCollectionOfObjectValues(createVirtualEventSessionFromDiscriminatorValue); }, "startDateTime": n => { virtualEvent.startDateTime = n.getObjectValue(createDateTimeTimeZoneFromDiscriminatorValue); }, "status": n => { virtualEvent.status = n.getEnumValue(VirtualEventStatusObject); } });
40605
41119
  }
40606
41120
  /**
40607
41121
  * The deserialization information for the current model
@@ -40610,12 +41124,50 @@ export function deserializeIntoVirtualEvent(virtualEvent = {}) {
40610
41124
  export function deserializeIntoVirtualEventCollectionResponse(virtualEventCollectionResponse = {}) {
40611
41125
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventCollectionResponse)), { "value": n => { virtualEventCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventFromDiscriminatorValue); } });
40612
41126
  }
41127
+ /**
41128
+ * The deserialization information for the current model
41129
+ * @returns {Record<string, (node: ParseNode) => void>}
41130
+ */
41131
+ export function deserializeIntoVirtualEventPresenter(virtualEventPresenter = {}) {
41132
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventPresenter)), { "email": n => { virtualEventPresenter.email = n.getStringValue(); }, "identity": n => { virtualEventPresenter.identity = n.getObjectValue(createIdentityFromDiscriminatorValue); }, "presenterDetails": n => { virtualEventPresenter.presenterDetails = n.getObjectValue(createVirtualEventPresenterDetailsFromDiscriminatorValue); } });
41133
+ }
41134
+ /**
41135
+ * The deserialization information for the current model
41136
+ * @returns {Record<string, (node: ParseNode) => void>}
41137
+ */
41138
+ export function deserializeIntoVirtualEventPresenterCollectionResponse(virtualEventPresenterCollectionResponse = {}) {
41139
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventPresenterCollectionResponse)), { "value": n => { virtualEventPresenterCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventPresenterFromDiscriminatorValue); } });
41140
+ }
41141
+ /**
41142
+ * The deserialization information for the current model
41143
+ * @returns {Record<string, (node: ParseNode) => void>}
41144
+ */
41145
+ export function deserializeIntoVirtualEventPresenterDetails(virtualEventPresenterDetails = {}) {
41146
+ return {
41147
+ "backingStoreEnabled": n => { virtualEventPresenterDetails.backingStoreEnabled = true; },
41148
+ "bio": n => { virtualEventPresenterDetails.bio = n.getObjectValue(createItemBodyFromDiscriminatorValue); },
41149
+ "company": n => { virtualEventPresenterDetails.company = n.getStringValue(); },
41150
+ "jobTitle": n => { virtualEventPresenterDetails.jobTitle = n.getStringValue(); },
41151
+ "linkedInProfileWebUrl": n => { virtualEventPresenterDetails.linkedInProfileWebUrl = n.getStringValue(); },
41152
+ "@odata.type": n => { virtualEventPresenterDetails.odataType = n.getStringValue(); },
41153
+ "personalSiteWebUrl": n => { virtualEventPresenterDetails.personalSiteWebUrl = n.getStringValue(); },
41154
+ "photo": n => { virtualEventPresenterDetails.photo = n.getStringValue(); },
41155
+ "twitterProfileWebUrl": n => { virtualEventPresenterDetails.twitterProfileWebUrl = n.getStringValue(); },
41156
+ };
41157
+ }
41158
+ /**
41159
+ * The deserialization information for the current model
41160
+ * @returns {Record<string, (node: ParseNode) => void>}
41161
+ */
41162
+ export function deserializeIntoVirtualEventPresenterInfo(virtualEventPresenterInfo = {}) {
41163
+ return Object.assign(Object.assign({}, deserializeIntoMeetingParticipantInfo(virtualEventPresenterInfo)), { "presenterDetails": n => { virtualEventPresenterInfo.presenterDetails = n.getObjectValue(createVirtualEventPresenterDetailsFromDiscriminatorValue); } });
41164
+ }
40613
41165
  /**
40614
41166
  * The deserialization information for the current model
40615
41167
  * @returns {Record<string, (node: ParseNode) => void>}
40616
41168
  */
40617
41169
  export function deserializeIntoVirtualEventRegistration(virtualEventRegistration = {}) {
40618
- return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventRegistration)), { "cancelationDateTime": n => { virtualEventRegistration.cancelationDateTime = n.getDateValue(); }, "email": n => { virtualEventRegistration.email = n.getStringValue(); }, "firstName": n => { virtualEventRegistration.firstName = n.getStringValue(); }, "lastName": n => { virtualEventRegistration.lastName = n.getStringValue(); }, "registrationDateTime": n => { virtualEventRegistration.registrationDateTime = n.getDateValue(); }, "registrationQuestionAnswers": n => { virtualEventRegistration.registrationQuestionAnswers = n.getCollectionOfObjectValues(createVirtualEventRegistrationQuestionAnswerFromDiscriminatorValue); }, "status": n => { virtualEventRegistration.status = n.getEnumValue(VirtualEventAttendeeRegistrationStatusObject); }, "userId": n => { virtualEventRegistration.userId = n.getStringValue(); } });
41170
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventRegistration)), { "cancelationDateTime": n => { virtualEventRegistration.cancelationDateTime = n.getDateValue(); }, "email": n => { virtualEventRegistration.email = n.getStringValue(); }, "firstName": n => { virtualEventRegistration.firstName = n.getStringValue(); }, "lastName": n => { virtualEventRegistration.lastName = n.getStringValue(); }, "preferredLanguage": n => { virtualEventRegistration.preferredLanguage = n.getStringValue(); }, "preferredTimezone": n => { virtualEventRegistration.preferredTimezone = n.getStringValue(); }, "registrationDateTime": n => { virtualEventRegistration.registrationDateTime = n.getDateValue(); }, "registrationQuestionAnswers": n => { virtualEventRegistration.registrationQuestionAnswers = n.getCollectionOfObjectValues(createVirtualEventRegistrationQuestionAnswerFromDiscriminatorValue); }, "sessions": n => { virtualEventRegistration.sessions = n.getCollectionOfObjectValues(createVirtualEventSessionFromDiscriminatorValue); }, "status": n => { virtualEventRegistration.status = n.getEnumValue(VirtualEventAttendeeRegistrationStatusObject); }, "userId": n => { virtualEventRegistration.userId = n.getStringValue(); } });
40619
41171
  }
40620
41172
  /**
40621
41173
  * The deserialization information for the current model
@@ -40624,6 +41176,27 @@ export function deserializeIntoVirtualEventRegistration(virtualEventRegistration
40624
41176
  export function deserializeIntoVirtualEventRegistrationCollectionResponse(virtualEventRegistrationCollectionResponse = {}) {
40625
41177
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventRegistrationCollectionResponse)), { "value": n => { virtualEventRegistrationCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventRegistrationFromDiscriminatorValue); } });
40626
41178
  }
41179
+ /**
41180
+ * The deserialization information for the current model
41181
+ * @returns {Record<string, (node: ParseNode) => void>}
41182
+ */
41183
+ export function deserializeIntoVirtualEventRegistrationConfiguration(virtualEventRegistrationConfiguration = {}) {
41184
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventRegistrationConfiguration)), { "capacity": n => { virtualEventRegistrationConfiguration.capacity = n.getNumberValue(); }, "questions": n => { virtualEventRegistrationConfiguration.questions = n.getCollectionOfObjectValues(createVirtualEventRegistrationQuestionBaseFromDiscriminatorValue); }, "registrationWebUrl": n => { virtualEventRegistrationConfiguration.registrationWebUrl = n.getStringValue(); } });
41185
+ }
41186
+ /**
41187
+ * The deserialization information for the current model
41188
+ * @returns {Record<string, (node: ParseNode) => void>}
41189
+ */
41190
+ export function deserializeIntoVirtualEventRegistrationCustomQuestion(virtualEventRegistrationCustomQuestion = {}) {
41191
+ return Object.assign(Object.assign({}, deserializeIntoVirtualEventRegistrationQuestionBase(virtualEventRegistrationCustomQuestion)), { "answerChoices": n => { virtualEventRegistrationCustomQuestion.answerChoices = n.getCollectionOfPrimitiveValues(); }, "answerInputType": n => { virtualEventRegistrationCustomQuestion.answerInputType = n.getEnumValue(VirtualEventRegistrationQuestionAnswerInputTypeObject); } });
41192
+ }
41193
+ /**
41194
+ * The deserialization information for the current model
41195
+ * @returns {Record<string, (node: ParseNode) => void>}
41196
+ */
41197
+ export function deserializeIntoVirtualEventRegistrationPredefinedQuestion(virtualEventRegistrationPredefinedQuestion = {}) {
41198
+ return Object.assign(Object.assign({}, deserializeIntoVirtualEventRegistrationQuestionBase(virtualEventRegistrationPredefinedQuestion)), { "label": n => { virtualEventRegistrationPredefinedQuestion.label = n.getEnumValue(VirtualEventRegistrationPredefinedQuestionLabelObject); } });
41199
+ }
40627
41200
  /**
40628
41201
  * The deserialization information for the current model
40629
41202
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -40639,6 +41212,20 @@ export function deserializeIntoVirtualEventRegistrationQuestionAnswer(virtualEve
40639
41212
  "value": n => { virtualEventRegistrationQuestionAnswer.value = n.getStringValue(); },
40640
41213
  };
40641
41214
  }
41215
+ /**
41216
+ * The deserialization information for the current model
41217
+ * @returns {Record<string, (node: ParseNode) => void>}
41218
+ */
41219
+ export function deserializeIntoVirtualEventRegistrationQuestionBase(virtualEventRegistrationQuestionBase = {}) {
41220
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventRegistrationQuestionBase)), { "displayName": n => { virtualEventRegistrationQuestionBase.displayName = n.getStringValue(); }, "isRequired": n => { virtualEventRegistrationQuestionBase.isRequired = n.getBooleanValue(); } });
41221
+ }
41222
+ /**
41223
+ * The deserialization information for the current model
41224
+ * @returns {Record<string, (node: ParseNode) => void>}
41225
+ */
41226
+ export function deserializeIntoVirtualEventRegistrationQuestionBaseCollectionResponse(virtualEventRegistrationQuestionBaseCollectionResponse = {}) {
41227
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventRegistrationQuestionBaseCollectionResponse)), { "value": n => { virtualEventRegistrationQuestionBaseCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventRegistrationQuestionBaseFromDiscriminatorValue); } });
41228
+ }
40642
41229
  /**
40643
41230
  * The deserialization information for the current model
40644
41231
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -40658,14 +41245,28 @@ export function deserializeIntoVirtualEventSessionCollectionResponse(virtualEven
40658
41245
  * @returns {Record<string, (node: ParseNode) => void>}
40659
41246
  */
40660
41247
  export function deserializeIntoVirtualEventsRoot(virtualEventsRoot = {}) {
40661
- return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventsRoot)), { "events": n => { virtualEventsRoot.events = n.getCollectionOfObjectValues(createVirtualEventFromDiscriminatorValue); }, "webinars": n => { virtualEventsRoot.webinars = n.getCollectionOfObjectValues(createVirtualEventWebinarFromDiscriminatorValue); } });
41248
+ return Object.assign(Object.assign({}, deserializeIntoEntity(virtualEventsRoot)), { "events": n => { virtualEventsRoot.events = n.getCollectionOfObjectValues(createVirtualEventFromDiscriminatorValue); }, "townhalls": n => { virtualEventsRoot.townhalls = n.getCollectionOfObjectValues(createVirtualEventTownhallFromDiscriminatorValue); }, "webinars": n => { virtualEventsRoot.webinars = n.getCollectionOfObjectValues(createVirtualEventWebinarFromDiscriminatorValue); } });
41249
+ }
41250
+ /**
41251
+ * The deserialization information for the current model
41252
+ * @returns {Record<string, (node: ParseNode) => void>}
41253
+ */
41254
+ export function deserializeIntoVirtualEventTownhall(virtualEventTownhall = {}) {
41255
+ return Object.assign(Object.assign({}, deserializeIntoVirtualEvent(virtualEventTownhall)), { "audience": n => { virtualEventTownhall.audience = n.getEnumValue(MeetingAudienceObject); }, "coOrganizers": n => { virtualEventTownhall.coOrganizers = n.getCollectionOfObjectValues(createCommunicationsUserIdentityFromDiscriminatorValue); }, "invitedAttendees": n => { virtualEventTownhall.invitedAttendees = n.getCollectionOfObjectValues(createIdentityFromDiscriminatorValue); }, "isInviteOnly": n => { virtualEventTownhall.isInviteOnly = n.getBooleanValue(); } });
41256
+ }
41257
+ /**
41258
+ * The deserialization information for the current model
41259
+ * @returns {Record<string, (node: ParseNode) => void>}
41260
+ */
41261
+ export function deserializeIntoVirtualEventTownhallCollectionResponse(virtualEventTownhallCollectionResponse = {}) {
41262
+ return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventTownhallCollectionResponse)), { "value": n => { virtualEventTownhallCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventTownhallFromDiscriminatorValue); } });
40662
41263
  }
40663
41264
  /**
40664
41265
  * The deserialization information for the current model
40665
41266
  * @returns {Record<string, (node: ParseNode) => void>}
40666
41267
  */
40667
41268
  export function deserializeIntoVirtualEventWebinar(virtualEventWebinar = {}) {
40668
- return Object.assign(Object.assign({}, deserializeIntoVirtualEvent(virtualEventWebinar)), { "audience": n => { virtualEventWebinar.audience = n.getEnumValue(MeetingAudienceObject); }, "coOrganizers": n => { virtualEventWebinar.coOrganizers = n.getCollectionOfObjectValues(createCommunicationsUserIdentityFromDiscriminatorValue); }, "registrations": n => { virtualEventWebinar.registrations = n.getCollectionOfObjectValues(createVirtualEventRegistrationFromDiscriminatorValue); } });
41269
+ return Object.assign(Object.assign({}, deserializeIntoVirtualEvent(virtualEventWebinar)), { "audience": n => { virtualEventWebinar.audience = n.getEnumValue(MeetingAudienceObject); }, "coOrganizers": n => { virtualEventWebinar.coOrganizers = n.getCollectionOfObjectValues(createCommunicationsUserIdentityFromDiscriminatorValue); }, "registrationConfiguration": n => { virtualEventWebinar.registrationConfiguration = n.getObjectValue(createVirtualEventWebinarRegistrationConfigurationFromDiscriminatorValue); }, "registrations": n => { virtualEventWebinar.registrations = n.getCollectionOfObjectValues(createVirtualEventRegistrationFromDiscriminatorValue); } });
40669
41270
  }
40670
41271
  /**
40671
41272
  * The deserialization information for the current model
@@ -40674,6 +41275,13 @@ export function deserializeIntoVirtualEventWebinar(virtualEventWebinar = {}) {
40674
41275
  export function deserializeIntoVirtualEventWebinarCollectionResponse(virtualEventWebinarCollectionResponse = {}) {
40675
41276
  return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(virtualEventWebinarCollectionResponse)), { "value": n => { virtualEventWebinarCollectionResponse.value = n.getCollectionOfObjectValues(createVirtualEventWebinarFromDiscriminatorValue); } });
40676
41277
  }
41278
+ /**
41279
+ * The deserialization information for the current model
41280
+ * @returns {Record<string, (node: ParseNode) => void>}
41281
+ */
41282
+ export function deserializeIntoVirtualEventWebinarRegistrationConfiguration(virtualEventWebinarRegistrationConfiguration = {}) {
41283
+ return Object.assign(Object.assign({}, deserializeIntoVirtualEventRegistrationConfiguration(virtualEventWebinarRegistrationConfiguration)), { "isManualApprovalEnabled": n => { virtualEventWebinarRegistrationConfiguration.isManualApprovalEnabled = n.getBooleanValue(); }, "isWaitlistEnabled": n => { virtualEventWebinarRegistrationConfiguration.isWaitlistEnabled = n.getBooleanValue(); } });
41284
+ }
40677
41285
  /**
40678
41286
  * The deserialization information for the current model
40679
41287
  * @returns {Record<string, (node: ParseNode) => void>}
@@ -43930,6 +44538,7 @@ export function serializeApplication(writer, application = {}) {
43930
44538
  writer.writeBooleanValue("isFallbackPublicClient", application.isFallbackPublicClient);
43931
44539
  writer.writeCollectionOfObjectValues("keyCredentials", application.keyCredentials, serializeKeyCredential);
43932
44540
  writer.writeStringValue("logo", application.logo);
44541
+ writer.writeEnumValue("nativeAuthenticationApisEnabled", application.nativeAuthenticationApisEnabled);
43933
44542
  writer.writeStringValue("notes", application.notes);
43934
44543
  writer.writeBooleanValue("oauth2RequirePostResponse", application.oauth2RequirePostResponse);
43935
44544
  writer.writeObjectValue("optionalClaims", application.optionalClaims, serializeOptionalClaims);
@@ -44057,6 +44666,13 @@ export function serializeAppLogCollectionRequestCollectionResponse(writer, appLo
44057
44666
  serializeBaseCollectionPaginationCountResponse(writer, appLogCollectionRequestCollectionResponse);
44058
44667
  writer.writeCollectionOfObjectValues("value", appLogCollectionRequestCollectionResponse.value, serializeAppLogCollectionRequest);
44059
44668
  }
44669
+ /**
44670
+ * Serializes information the current object
44671
+ * @param writer Serialization writer to use to serialize this model
44672
+ */
44673
+ export function serializeAppManagementApplicationConfiguration(writer, appManagementApplicationConfiguration = {}) {
44674
+ serializeAppManagementConfiguration(writer, appManagementApplicationConfiguration);
44675
+ }
44060
44676
  /**
44061
44677
  * Serializes information the current object
44062
44678
  * @param writer Serialization writer to use to serialize this model
@@ -44075,7 +44691,7 @@ export function serializeAppManagementPolicy(writer, appManagementPolicy = {}) {
44075
44691
  serializePolicyBase(writer, appManagementPolicy);
44076
44692
  writer.writeCollectionOfObjectValues("appliesTo", appManagementPolicy.appliesTo, serializeDirectoryObject);
44077
44693
  writer.writeBooleanValue("isEnabled", appManagementPolicy.isEnabled);
44078
- writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, serializeAppManagementConfiguration);
44694
+ writer.writeObjectValue("restrictions", appManagementPolicy.restrictions, serializeCustomAppManagementConfiguration);
44079
44695
  }
44080
44696
  /**
44081
44697
  * Serializes information the current object
@@ -44085,6 +44701,13 @@ export function serializeAppManagementPolicyCollectionResponse(writer, appManage
44085
44701
  serializeBaseCollectionPaginationCountResponse(writer, appManagementPolicyCollectionResponse);
44086
44702
  writer.writeCollectionOfObjectValues("value", appManagementPolicyCollectionResponse.value, serializeAppManagementPolicy);
44087
44703
  }
44704
+ /**
44705
+ * Serializes information the current object
44706
+ * @param writer Serialization writer to use to serialize this model
44707
+ */
44708
+ export function serializeAppManagementServicePrincipalConfiguration(writer, appManagementServicePrincipalConfiguration = {}) {
44709
+ serializeAppManagementConfiguration(writer, appManagementServicePrincipalConfiguration);
44710
+ }
44088
44711
  /**
44089
44712
  * Serializes information the current object
44090
44713
  * @param writer Serialization writer to use to serialize this model
@@ -45426,6 +46049,8 @@ export function serializeBookingAppointment(writer, bookingAppointment = {}) {
45426
46049
  serializeEntity(writer, bookingAppointment);
45427
46050
  writer.writeStringValue("additionalInformation", bookingAppointment.additionalInformation);
45428
46051
  writer.writeStringValue("anonymousJoinWebUrl", bookingAppointment.anonymousJoinWebUrl);
46052
+ writer.writeStringValue("appointmentLabel", bookingAppointment.appointmentLabel);
46053
+ writer.writeDateValue("createdDateTime", bookingAppointment.createdDateTime);
45429
46054
  writer.writeStringValue("customerEmailAddress", bookingAppointment.customerEmailAddress);
45430
46055
  writer.writeStringValue("customerName", bookingAppointment.customerName);
45431
46056
  writer.writeStringValue("customerNotes", bookingAppointment.customerNotes);
@@ -45433,8 +46058,10 @@ export function serializeBookingAppointment(writer, bookingAppointment = {}) {
45433
46058
  writer.writeCollectionOfObjectValues("customers", bookingAppointment.customers, serializeBookingCustomerInformationBase);
45434
46059
  writer.writeStringValue("customerTimeZone", bookingAppointment.customerTimeZone);
45435
46060
  writer.writeObjectValue("endDateTime", bookingAppointment.endDateTime, serializeDateTimeTimeZone);
46061
+ writer.writeBooleanValue("isCustomerAllowedToManageBooking", bookingAppointment.isCustomerAllowedToManageBooking);
45436
46062
  writer.writeBooleanValue("isLocationOnline", bookingAppointment.isLocationOnline);
45437
46063
  writer.writeStringValue("joinWebUrl", bookingAppointment.joinWebUrl);
46064
+ writer.writeDateValue("lastUpdatedDateTime", bookingAppointment.lastUpdatedDateTime);
45438
46065
  writer.writeNumberValue("maximumAttendeesCount", bookingAppointment.maximumAttendeesCount);
45439
46066
  writer.writeBooleanValue("optOutOfCustomerEmail", bookingAppointment.optOutOfCustomerEmail);
45440
46067
  writer.writeDurationValue("postBuffer", bookingAppointment.postBuffer);
@@ -45467,15 +46094,18 @@ export function serializeBookingBusiness(writer, bookingBusiness = {}) {
45467
46094
  serializeEntity(writer, bookingBusiness);
45468
46095
  writer.writeObjectValue("address", bookingBusiness.address, serializePhysicalAddress);
45469
46096
  writer.writeCollectionOfObjectValues("appointments", bookingBusiness.appointments, serializeBookingAppointment);
46097
+ writer.writeObjectValue("bookingPageSettings", bookingBusiness.bookingPageSettings, serializeBookingPageSettings);
45470
46098
  writer.writeCollectionOfObjectValues("businessHours", bookingBusiness.businessHours, serializeBookingWorkHours);
45471
46099
  writer.writeStringValue("businessType", bookingBusiness.businessType);
45472
46100
  writer.writeCollectionOfObjectValues("calendarView", bookingBusiness.calendarView, serializeBookingAppointment);
46101
+ writer.writeDateValue("createdDateTime", bookingBusiness.createdDateTime);
45473
46102
  writer.writeCollectionOfObjectValues("customers", bookingBusiness.customers, serializeBookingCustomerBase);
45474
46103
  writer.writeCollectionOfObjectValues("customQuestions", bookingBusiness.customQuestions, serializeBookingCustomQuestion);
45475
46104
  writer.writeStringValue("defaultCurrencyIso", bookingBusiness.defaultCurrencyIso);
45476
46105
  writer.writeStringValue("displayName", bookingBusiness.displayName);
45477
46106
  writer.writeStringValue("email", bookingBusiness.email);
45478
46107
  writer.writeStringValue("languageTag", bookingBusiness.languageTag);
46108
+ writer.writeDateValue("lastUpdatedDateTime", bookingBusiness.lastUpdatedDateTime);
45479
46109
  writer.writeStringValue("phone", bookingBusiness.phone);
45480
46110
  writer.writeObjectValue("schedulingPolicy", bookingBusiness.schedulingPolicy, serializeBookingSchedulingPolicy);
45481
46111
  writer.writeCollectionOfObjectValues("services", bookingBusiness.services, serializeBookingService);
@@ -45513,8 +46143,10 @@ export function serializeBookingCurrencyCollectionResponse(writer, bookingCurren
45513
46143
  export function serializeBookingCustomer(writer, bookingCustomer = {}) {
45514
46144
  serializeBookingCustomerBase(writer, bookingCustomer);
45515
46145
  writer.writeCollectionOfObjectValues("addresses", bookingCustomer.addresses, serializePhysicalAddress);
46146
+ writer.writeDateValue("createdDateTime", bookingCustomer.createdDateTime);
45516
46147
  writer.writeStringValue("displayName", bookingCustomer.displayName);
45517
46148
  writer.writeStringValue("emailAddress", bookingCustomer.emailAddress);
46149
+ writer.writeDateValue("lastUpdatedDateTime", bookingCustomer.lastUpdatedDateTime);
45518
46150
  writer.writeCollectionOfObjectValues("phones", bookingCustomer.phones, serializePhone);
45519
46151
  }
45520
46152
  /**
@@ -45563,7 +46195,9 @@ export function serializeBookingCustomQuestion(writer, bookingCustomQuestion = {
45563
46195
  serializeEntity(writer, bookingCustomQuestion);
45564
46196
  writer.writeEnumValue("answerInputType", bookingCustomQuestion.answerInputType);
45565
46197
  writer.writeCollectionOfPrimitiveValues("answerOptions", bookingCustomQuestion.answerOptions);
46198
+ writer.writeDateValue("createdDateTime", bookingCustomQuestion.createdDateTime);
45566
46199
  writer.writeStringValue("displayName", bookingCustomQuestion.displayName);
46200
+ writer.writeDateValue("lastUpdatedDateTime", bookingCustomQuestion.lastUpdatedDateTime);
45567
46201
  }
45568
46202
  /**
45569
46203
  * Serializes information the current object
@@ -45573,6 +46207,25 @@ export function serializeBookingCustomQuestionCollectionResponse(writer, booking
45573
46207
  serializeBaseCollectionPaginationCountResponse(writer, bookingCustomQuestionCollectionResponse);
45574
46208
  writer.writeCollectionOfObjectValues("value", bookingCustomQuestionCollectionResponse.value, serializeBookingCustomQuestion);
45575
46209
  }
46210
+ /**
46211
+ * Serializes information the current object
46212
+ * @param writer Serialization writer to use to serialize this model
46213
+ */
46214
+ export function serializeBookingPageSettings(writer, bookingPageSettings = {}) {
46215
+ writer.writeEnumValue("accessControl", bookingPageSettings.accessControl);
46216
+ writer.writeStringValue("bookingPageColorCode", bookingPageSettings.bookingPageColorCode);
46217
+ writer.writeStringValue("businessTimeZone", bookingPageSettings.businessTimeZone);
46218
+ writer.writeStringValue("customerConsentMessage", bookingPageSettings.customerConsentMessage);
46219
+ writer.writeBooleanValue("enforceOneTimePassword", bookingPageSettings.enforceOneTimePassword);
46220
+ writer.writeBooleanValue("isBusinessLogoDisplayEnabled", bookingPageSettings.isBusinessLogoDisplayEnabled);
46221
+ writer.writeBooleanValue("isCustomerConsentEnabled", bookingPageSettings.isCustomerConsentEnabled);
46222
+ writer.writeBooleanValue("isSearchEngineIndexabilityDisabled", bookingPageSettings.isSearchEngineIndexabilityDisabled);
46223
+ writer.writeBooleanValue("isTimeSlotTimeZoneSetToBusinessTimeZone", bookingPageSettings.isTimeSlotTimeZoneSetToBusinessTimeZone);
46224
+ writer.writeStringValue("@odata.type", bookingPageSettings.odataType);
46225
+ writer.writeStringValue("privacyPolicyWebUrl", bookingPageSettings.privacyPolicyWebUrl);
46226
+ writer.writeStringValue("termsAndConditionsWebUrl", bookingPageSettings.termsAndConditionsWebUrl);
46227
+ writer.writeAdditionalData(bookingPageSettings.additionalData);
46228
+ }
45576
46229
  /**
45577
46230
  * Serializes information the current object
45578
46231
  * @param writer Serialization writer to use to serialize this model
@@ -45609,12 +46262,34 @@ export function serializeBookingReminder(writer, bookingReminder = {}) {
45609
46262
  writer.writeEnumValue("recipients", bookingReminder.recipients);
45610
46263
  writer.writeAdditionalData(bookingReminder.additionalData);
45611
46264
  }
46265
+ /**
46266
+ * Serializes information the current object
46267
+ * @param writer Serialization writer to use to serialize this model
46268
+ */
46269
+ export function serializeBookingsAvailability(writer, bookingsAvailability = {}) {
46270
+ writer.writeEnumValue("availabilityType", bookingsAvailability.availabilityType);
46271
+ writer.writeCollectionOfObjectValues("businessHours", bookingsAvailability.businessHours, serializeBookingWorkHours);
46272
+ writer.writeStringValue("@odata.type", bookingsAvailability.odataType);
46273
+ writer.writeAdditionalData(bookingsAvailability.additionalData);
46274
+ }
46275
+ /**
46276
+ * Serializes information the current object
46277
+ * @param writer Serialization writer to use to serialize this model
46278
+ */
46279
+ export function serializeBookingsAvailabilityWindow(writer, bookingsAvailabilityWindow = {}) {
46280
+ serializeBookingsAvailability(writer, bookingsAvailabilityWindow);
46281
+ writer.writeDateOnlyValue("endDate", bookingsAvailabilityWindow.endDate);
46282
+ writer.writeDateOnlyValue("startDate", bookingsAvailabilityWindow.startDate);
46283
+ }
45612
46284
  /**
45613
46285
  * Serializes information the current object
45614
46286
  * @param writer Serialization writer to use to serialize this model
45615
46287
  */
45616
46288
  export function serializeBookingSchedulingPolicy(writer, bookingSchedulingPolicy = {}) {
45617
46289
  writer.writeBooleanValue("allowStaffSelection", bookingSchedulingPolicy.allowStaffSelection);
46290
+ writer.writeCollectionOfObjectValues("customAvailabilities", bookingSchedulingPolicy.customAvailabilities, serializeBookingsAvailabilityWindow);
46291
+ writer.writeObjectValue("generalAvailability", bookingSchedulingPolicy.generalAvailability, serializeBookingsAvailability);
46292
+ writer.writeBooleanValue("isMeetingInviteToCustomersEnabled", bookingSchedulingPolicy.isMeetingInviteToCustomersEnabled);
45618
46293
  writer.writeDurationValue("maximumAdvance", bookingSchedulingPolicy.maximumAdvance);
45619
46294
  writer.writeDurationValue("minimumLeadTime", bookingSchedulingPolicy.minimumLeadTime);
45620
46295
  writer.writeStringValue("@odata.type", bookingSchedulingPolicy.odataType);
@@ -45629,6 +46304,7 @@ export function serializeBookingSchedulingPolicy(writer, bookingSchedulingPolicy
45629
46304
  export function serializeBookingService(writer, bookingService = {}) {
45630
46305
  serializeEntity(writer, bookingService);
45631
46306
  writer.writeStringValue("additionalInformation", bookingService.additionalInformation);
46307
+ writer.writeDateValue("createdDateTime", bookingService.createdDateTime);
45632
46308
  writer.writeCollectionOfObjectValues("customQuestions", bookingService.customQuestions, serializeBookingQuestionAssignment);
45633
46309
  writer.writeDurationValue("defaultDuration", bookingService.defaultDuration);
45634
46310
  writer.writeObjectValue("defaultLocation", bookingService.defaultLocation, serializeLocation);
@@ -45638,9 +46314,11 @@ export function serializeBookingService(writer, bookingService = {}) {
45638
46314
  writer.writeStringValue("description", bookingService.description);
45639
46315
  writer.writeStringValue("displayName", bookingService.displayName);
45640
46316
  writer.writeBooleanValue("isAnonymousJoinEnabled", bookingService.isAnonymousJoinEnabled);
46317
+ writer.writeBooleanValue("isCustomerAllowedToManageBooking", bookingService.isCustomerAllowedToManageBooking);
45641
46318
  writer.writeBooleanValue("isHiddenFromCustomers", bookingService.isHiddenFromCustomers);
45642
46319
  writer.writeBooleanValue("isLocationOnline", bookingService.isLocationOnline);
45643
46320
  writer.writeStringValue("languageTag", bookingService.languageTag);
46321
+ writer.writeDateValue("lastUpdatedDateTime", bookingService.lastUpdatedDateTime);
45644
46322
  writer.writeNumberValue("maximumAttendeesCount", bookingService.maximumAttendeesCount);
45645
46323
  writer.writeStringValue("notes", bookingService.notes);
45646
46324
  writer.writeDurationValue("postBuffer", bookingService.postBuffer);
@@ -45664,9 +46342,11 @@ export function serializeBookingServiceCollectionResponse(writer, bookingService
45664
46342
  export function serializeBookingStaffMember(writer, bookingStaffMember = {}) {
45665
46343
  serializeBookingStaffMemberBase(writer, bookingStaffMember);
45666
46344
  writer.writeBooleanValue("availabilityIsAffectedByPersonalCalendar", bookingStaffMember.availabilityIsAffectedByPersonalCalendar);
46345
+ writer.writeDateValue("createdDateTime", bookingStaffMember.createdDateTime);
45667
46346
  writer.writeStringValue("displayName", bookingStaffMember.displayName);
45668
46347
  writer.writeStringValue("emailAddress", bookingStaffMember.emailAddress);
45669
46348
  writer.writeBooleanValue("isEmailNotificationEnabled", bookingStaffMember.isEmailNotificationEnabled);
46349
+ writer.writeDateValue("lastUpdatedDateTime", bookingStaffMember.lastUpdatedDateTime);
45670
46350
  writer.writeEnumValue("membershipStatus", bookingStaffMember.membershipStatus);
45671
46351
  writer.writeEnumValue("role", bookingStaffMember.role);
45672
46352
  writer.writeStringValue("timeZone", bookingStaffMember.timeZone);
@@ -46267,6 +46947,7 @@ export function serializeChannel(writer, channel = {}) {
46267
46947
  writer.writeStringValue("displayName", channel.displayName);
46268
46948
  writer.writeStringValue("email", channel.email);
46269
46949
  writer.writeObjectValue("filesFolder", channel.filesFolder, serializeDriveItem);
46950
+ writer.writeBooleanValue("isArchived", channel.isArchived);
46270
46951
  writer.writeBooleanValue("isFavoriteByDefault", channel.isFavoriteByDefault);
46271
46952
  writer.writeCollectionOfObjectValues("members", channel.members, serializeConversationMember);
46272
46953
  writer.writeEnumValue("membershipType", channel.membershipType);
@@ -48004,6 +48685,7 @@ export function serializeCrossTenantAccessPolicyConfigurationDefault(writer, cro
48004
48685
  writer.writeObjectValue("inboundTrust", crossTenantAccessPolicyConfigurationDefault.inboundTrust, serializeCrossTenantAccessPolicyInboundTrust);
48005
48686
  writer.writeObjectValue("invitationRedemptionIdentityProviderConfiguration", crossTenantAccessPolicyConfigurationDefault.invitationRedemptionIdentityProviderConfiguration, serializeDefaultInvitationRedemptionIdentityProviderConfiguration);
48006
48687
  writer.writeBooleanValue("isServiceDefault", crossTenantAccessPolicyConfigurationDefault.isServiceDefault);
48688
+ writer.writeObjectValue("tenantRestrictions", crossTenantAccessPolicyConfigurationDefault.tenantRestrictions, serializeCrossTenantAccessPolicyTenantRestrictions);
48007
48689
  }
48008
48690
  /**
48009
48691
  * Serializes information the current object
@@ -48021,6 +48703,7 @@ export function serializeCrossTenantAccessPolicyConfigurationPartner(writer, cro
48021
48703
  writer.writeBooleanValue("isServiceProvider", crossTenantAccessPolicyConfigurationPartner.isServiceProvider);
48022
48704
  writer.writeStringValue("@odata.type", crossTenantAccessPolicyConfigurationPartner.odataType);
48023
48705
  writer.writeStringValue("tenantId", crossTenantAccessPolicyConfigurationPartner.tenantId);
48706
+ writer.writeObjectValue("tenantRestrictions", crossTenantAccessPolicyConfigurationPartner.tenantRestrictions, serializeCrossTenantAccessPolicyTenantRestrictions);
48024
48707
  writer.writeAdditionalData(crossTenantAccessPolicyConfigurationPartner.additionalData);
48025
48708
  }
48026
48709
  /**
@@ -48062,6 +48745,14 @@ export function serializeCrossTenantAccessPolicyTargetConfiguration(writer, cros
48062
48745
  writer.writeCollectionOfObjectValues("targets", crossTenantAccessPolicyTargetConfiguration.targets, serializeCrossTenantAccessPolicyTarget);
48063
48746
  writer.writeAdditionalData(crossTenantAccessPolicyTargetConfiguration.additionalData);
48064
48747
  }
48748
+ /**
48749
+ * Serializes information the current object
48750
+ * @param writer Serialization writer to use to serialize this model
48751
+ */
48752
+ export function serializeCrossTenantAccessPolicyTenantRestrictions(writer, crossTenantAccessPolicyTenantRestrictions = {}) {
48753
+ serializeCrossTenantAccessPolicyB2BSetting(writer, crossTenantAccessPolicyTenantRestrictions);
48754
+ writer.writeObjectValue("devices", crossTenantAccessPolicyTenantRestrictions.devices, serializeDevicesFilter);
48755
+ }
48065
48756
  /**
48066
48757
  * Serializes information the current object
48067
48758
  * @param writer Serialization writer to use to serialize this model
@@ -48091,6 +48782,13 @@ export function serializeCurrencyColumn(writer, currencyColumn = {}) {
48091
48782
  writer.writeStringValue("@odata.type", currencyColumn.odataType);
48092
48783
  writer.writeAdditionalData(currencyColumn.additionalData);
48093
48784
  }
48785
+ /**
48786
+ * Serializes information the current object
48787
+ * @param writer Serialization writer to use to serialize this model
48788
+ */
48789
+ export function serializeCustomAppManagementConfiguration(writer, customAppManagementConfiguration = {}) {
48790
+ serializeAppManagementConfiguration(writer, customAppManagementConfiguration);
48791
+ }
48094
48792
  /**
48095
48793
  * Serializes information the current object
48096
48794
  * @param writer Serialization writer to use to serialize this model
@@ -49717,6 +50415,16 @@ export function serializeDeviceRegistrationPolicy(writer, deviceRegistrationPoli
49717
50415
  writer.writeEnumValue("multiFactorAuthConfiguration", deviceRegistrationPolicy.multiFactorAuthConfiguration);
49718
50416
  writer.writeNumberValue("userDeviceQuota", deviceRegistrationPolicy.userDeviceQuota);
49719
50417
  }
50418
+ /**
50419
+ * Serializes information the current object
50420
+ * @param writer Serialization writer to use to serialize this model
50421
+ */
50422
+ export function serializeDevicesFilter(writer, devicesFilter = {}) {
50423
+ writer.writeEnumValue("mode", devicesFilter.mode);
50424
+ writer.writeStringValue("@odata.type", devicesFilter.odataType);
50425
+ writer.writeStringValue("rule", devicesFilter.rule);
50426
+ writer.writeAdditionalData(devicesFilter.additionalData);
50427
+ }
49720
50428
  /**
49721
50429
  * Serializes information the current object
49722
50430
  * @param writer Serialization writer to use to serialize this model
@@ -52440,6 +53148,15 @@ export function serializeInsightIdentity(writer, insightIdentity = {}) {
52440
53148
  writer.writeStringValue("@odata.type", insightIdentity.odataType);
52441
53149
  writer.writeAdditionalData(insightIdentity.additionalData);
52442
53150
  }
53151
+ /**
53152
+ * Serializes information the current object
53153
+ * @param writer Serialization writer to use to serialize this model
53154
+ */
53155
+ export function serializeInsightsSettings(writer, insightsSettings = {}) {
53156
+ serializeEntity(writer, insightsSettings);
53157
+ writer.writeStringValue("disabledForGroup", insightsSettings.disabledForGroup);
53158
+ writer.writeBooleanValue("isEnabledInOrganization", insightsSettings.isEnabledInOrganization);
53159
+ }
52443
53160
  /**
52444
53161
  * Serializes information the current object
52445
53162
  * @param writer Serialization writer to use to serialize this model
@@ -53251,6 +53968,13 @@ export function serializeItemBody(writer, itemBody = {}) {
53251
53968
  writer.writeStringValue("@odata.type", itemBody.odataType);
53252
53969
  writer.writeAdditionalData(itemBody.additionalData);
53253
53970
  }
53971
+ /**
53972
+ * Serializes information the current object
53973
+ * @param writer Serialization writer to use to serialize this model
53974
+ */
53975
+ export function serializeItemInsights(writer, itemInsights = {}) {
53976
+ serializeOfficeGraphInsights(writer, itemInsights);
53977
+ }
53254
53978
  /**
53255
53979
  * Serializes information the current object
53256
53980
  * @param writer Serialization writer to use to serialize this model
@@ -56929,6 +57653,7 @@ export function serializePendingOperations(writer, pendingOperations = {}) {
56929
57653
  */
56930
57654
  export function serializePeopleAdminSettings(writer, peopleAdminSettings = {}) {
56931
57655
  serializeEntity(writer, peopleAdminSettings);
57656
+ writer.writeObjectValue("itemInsights", peopleAdminSettings.itemInsights, serializeInsightsSettings);
56932
57657
  writer.writeCollectionOfObjectValues("profileCardProperties", peopleAdminSettings.profileCardProperties, serializeProfileCardProperty);
56933
57658
  writer.writeObjectValue("pronouns", peopleAdminSettings.pronouns, serializePronounsSettings);
56934
57659
  }
@@ -60254,6 +60979,21 @@ export function serializeServiceProvisioningXmlError(writer, serviceProvisioning
60254
60979
  serializeServiceProvisioningError(writer, serviceProvisioningXmlError);
60255
60980
  writer.writeStringValue("errorDetail", serviceProvisioningXmlError.errorDetail);
60256
60981
  }
60982
+ /**
60983
+ * Serializes information the current object
60984
+ * @param writer Serialization writer to use to serialize this model
60985
+ */
60986
+ export function serializeServiceStorageQuotaBreakdown(writer, serviceStorageQuotaBreakdown = {}) {
60987
+ serializeStorageQuotaBreakdown(writer, serviceStorageQuotaBreakdown);
60988
+ }
60989
+ /**
60990
+ * Serializes information the current object
60991
+ * @param writer Serialization writer to use to serialize this model
60992
+ */
60993
+ export function serializeServiceStorageQuotaBreakdownCollectionResponse(writer, serviceStorageQuotaBreakdownCollectionResponse = {}) {
60994
+ serializeBaseCollectionPaginationCountResponse(writer, serviceStorageQuotaBreakdownCollectionResponse);
60995
+ writer.writeCollectionOfObjectValues("value", serviceStorageQuotaBreakdownCollectionResponse.value, serializeServiceStorageQuotaBreakdown);
60996
+ }
60257
60997
  /**
60258
60998
  * Serializes information the current object
60259
60999
  * @param writer Serialization writer to use to serialize this model
@@ -61173,6 +61913,7 @@ export function serializeStopHoldMusicOperation(writer, stopHoldMusicOperation =
61173
61913
  export function serializeStorage(writer, storage = {}) {
61174
61914
  writer.writeObjectValue("fileStorage", storage.fileStorage, serializeFileStorage);
61175
61915
  writer.writeStringValue("@odata.type", storage.odataType);
61916
+ writer.writeObjectValue("settings", storage.settings, serializeStorageSettings);
61176
61917
  writer.writeAdditionalData(storage.additionalData);
61177
61918
  }
61178
61919
  /**
@@ -61184,6 +61925,24 @@ export function serializeStoragePlanInformation(writer, storagePlanInformation =
61184
61925
  writer.writeBooleanValue("upgradeAvailable", storagePlanInformation.upgradeAvailable);
61185
61926
  writer.writeAdditionalData(storagePlanInformation.additionalData);
61186
61927
  }
61928
+ /**
61929
+ * Serializes information the current object
61930
+ * @param writer Serialization writer to use to serialize this model
61931
+ */
61932
+ export function serializeStorageQuotaBreakdown(writer, storageQuotaBreakdown = {}) {
61933
+ serializeEntity(writer, storageQuotaBreakdown);
61934
+ writer.writeStringValue("displayName", storageQuotaBreakdown.displayName);
61935
+ writer.writeStringValue("manageWebUrl", storageQuotaBreakdown.manageWebUrl);
61936
+ writer.writeNumberValue("used", storageQuotaBreakdown.used);
61937
+ }
61938
+ /**
61939
+ * Serializes information the current object
61940
+ * @param writer Serialization writer to use to serialize this model
61941
+ */
61942
+ export function serializeStorageSettings(writer, storageSettings = {}) {
61943
+ serializeEntity(writer, storageSettings);
61944
+ writer.writeObjectValue("quota", storageSettings.quota, serializeUnifiedStorageQuota);
61945
+ }
61187
61946
  /**
61188
61947
  * Serializes information the current object
61189
61948
  * @param writer Serialization writer to use to serialize this model
@@ -62464,9 +63223,9 @@ export function serializeTemporaryAccessPassAuthenticationMethodConfiguration(wr
62464
63223
  */
62465
63224
  export function serializeTenantAppManagementPolicy(writer, tenantAppManagementPolicy = {}) {
62466
63225
  serializePolicyBase(writer, tenantAppManagementPolicy);
62467
- writer.writeObjectValue("applicationRestrictions", tenantAppManagementPolicy.applicationRestrictions, serializeAppManagementConfiguration);
63226
+ writer.writeObjectValue("applicationRestrictions", tenantAppManagementPolicy.applicationRestrictions, serializeAppManagementApplicationConfiguration);
62468
63227
  writer.writeBooleanValue("isEnabled", tenantAppManagementPolicy.isEnabled);
62469
- writer.writeObjectValue("servicePrincipalRestrictions", tenantAppManagementPolicy.servicePrincipalRestrictions, serializeAppManagementConfiguration);
63228
+ writer.writeObjectValue("servicePrincipalRestrictions", tenantAppManagementPolicy.servicePrincipalRestrictions, serializeAppManagementServicePrincipalConfiguration);
62470
63229
  }
62471
63230
  /**
62472
63231
  * Serializes information the current object
@@ -63456,6 +64215,20 @@ export function serializeUnifiedRoleScheduleInstanceBase(writer, unifiedRoleSche
63456
64215
  writer.writeObjectValue("roleDefinition", unifiedRoleScheduleInstanceBase.roleDefinition, serializeUnifiedRoleDefinition);
63457
64216
  writer.writeStringValue("roleDefinitionId", unifiedRoleScheduleInstanceBase.roleDefinitionId);
63458
64217
  }
64218
+ /**
64219
+ * Serializes information the current object
64220
+ * @param writer Serialization writer to use to serialize this model
64221
+ */
64222
+ export function serializeUnifiedStorageQuota(writer, unifiedStorageQuota = {}) {
64223
+ serializeEntity(writer, unifiedStorageQuota);
64224
+ writer.writeNumberValue("deleted", unifiedStorageQuota.deleted);
64225
+ writer.writeStringValue("manageWebUrl", unifiedStorageQuota.manageWebUrl);
64226
+ writer.writeNumberValue("remaining", unifiedStorageQuota.remaining);
64227
+ writer.writeCollectionOfObjectValues("services", unifiedStorageQuota.services, serializeServiceStorageQuotaBreakdown);
64228
+ writer.writeStringValue("state", unifiedStorageQuota.state);
64229
+ writer.writeNumberValue("total", unifiedStorageQuota.total);
64230
+ writer.writeNumberValue("used", unifiedStorageQuota.used);
64231
+ }
63459
64232
  /**
63460
64233
  * Serializes information the current object
63461
64234
  * @param writer Serialization writer to use to serialize this model
@@ -63616,7 +64389,7 @@ export function serializeUser(writer, user = {}) {
63616
64389
  writer.writeCollectionOfObjectValues("identities", user.identities, serializeObjectIdentity);
63617
64390
  writer.writeCollectionOfPrimitiveValues("imAddresses", user.imAddresses);
63618
64391
  writer.writeObjectValue("inferenceClassification", user.inferenceClassification, serializeInferenceClassification);
63619
- writer.writeObjectValue("insights", user.insights, serializeOfficeGraphInsights);
64392
+ writer.writeObjectValue("insights", user.insights, serializeItemInsights);
63620
64393
  writer.writeCollectionOfPrimitiveValues("interests", user.interests);
63621
64394
  writer.writeBooleanValue("isResourceAccount", user.isResourceAccount);
63622
64395
  writer.writeStringValue("jobTitle", user.jobTitle);
@@ -64447,6 +65220,14 @@ export function serializeUserIdentity(writer, userIdentity = {}) {
64447
65220
  writer.writeStringValue("ipAddress", userIdentity.ipAddress);
64448
65221
  writer.writeStringValue("userPrincipalName", userIdentity.userPrincipalName);
64449
65222
  }
65223
+ /**
65224
+ * Serializes information the current object
65225
+ * @param writer Serialization writer to use to serialize this model
65226
+ */
65227
+ export function serializeUserInsightsSettings(writer, userInsightsSettings = {}) {
65228
+ serializeEntity(writer, userInsightsSettings);
65229
+ writer.writeBooleanValue("isEnabled", userInsightsSettings.isEnabled);
65230
+ }
64450
65231
  /**
64451
65232
  * Serializes information the current object
64452
65233
  * @param writer Serialization writer to use to serialize this model
@@ -64605,7 +65386,9 @@ export function serializeUserSettings(writer, userSettings = {}) {
64605
65386
  serializeEntity(writer, userSettings);
64606
65387
  writer.writeBooleanValue("contributionToContentDiscoveryAsOrganizationDisabled", userSettings.contributionToContentDiscoveryAsOrganizationDisabled);
64607
65388
  writer.writeBooleanValue("contributionToContentDiscoveryDisabled", userSettings.contributionToContentDiscoveryDisabled);
65389
+ writer.writeObjectValue("itemInsights", userSettings.itemInsights, serializeUserInsightsSettings);
64608
65390
  writer.writeObjectValue("shiftPreferences", userSettings.shiftPreferences, serializeShiftPreferences);
65391
+ writer.writeObjectValue("storage", userSettings.storage, serializeUserStorage);
64609
65392
  writer.writeCollectionOfObjectValues("windows", userSettings.windows, serializeWindowsSetting);
64610
65393
  }
64611
65394
  /**
@@ -64646,6 +65429,14 @@ export function serializeUserSimulationEventInfo(writer, userSimulationEventInfo
64646
65429
  writer.writeStringValue("osPlatformDeviceDetails", userSimulationEventInfo.osPlatformDeviceDetails);
64647
65430
  writer.writeAdditionalData(userSimulationEventInfo.additionalData);
64648
65431
  }
65432
+ /**
65433
+ * Serializes information the current object
65434
+ * @param writer Serialization writer to use to serialize this model
65435
+ */
65436
+ export function serializeUserStorage(writer, userStorage = {}) {
65437
+ serializeEntity(writer, userStorage);
65438
+ writer.writeObjectValue("quota", userStorage.quota, serializeUnifiedStorageQuota);
65439
+ }
64649
65440
  /**
64650
65441
  * Serializes information the current object
64651
65442
  * @param writer Serialization writer to use to serialize this model
@@ -64770,6 +65561,7 @@ export function serializeVirtualEvent(writer, virtualEvent = {}) {
64770
65561
  writer.writeObjectValue("description", virtualEvent.description, serializeItemBody);
64771
65562
  writer.writeStringValue("displayName", virtualEvent.displayName);
64772
65563
  writer.writeObjectValue("endDateTime", virtualEvent.endDateTime, serializeDateTimeTimeZone);
65564
+ writer.writeCollectionOfObjectValues("presenters", virtualEvent.presenters, serializeVirtualEventPresenter);
64773
65565
  writer.writeCollectionOfObjectValues("sessions", virtualEvent.sessions, serializeVirtualEventSession);
64774
65566
  writer.writeObjectValue("startDateTime", virtualEvent.startDateTime, serializeDateTimeTimeZone);
64775
65567
  writer.writeEnumValue("status", virtualEvent.status);
@@ -64782,6 +65574,47 @@ export function serializeVirtualEventCollectionResponse(writer, virtualEventColl
64782
65574
  serializeBaseCollectionPaginationCountResponse(writer, virtualEventCollectionResponse);
64783
65575
  writer.writeCollectionOfObjectValues("value", virtualEventCollectionResponse.value, serializeVirtualEvent);
64784
65576
  }
65577
+ /**
65578
+ * Serializes information the current object
65579
+ * @param writer Serialization writer to use to serialize this model
65580
+ */
65581
+ export function serializeVirtualEventPresenter(writer, virtualEventPresenter = {}) {
65582
+ serializeEntity(writer, virtualEventPresenter);
65583
+ writer.writeStringValue("email", virtualEventPresenter.email);
65584
+ writer.writeObjectValue("identity", virtualEventPresenter.identity, serializeIdentity);
65585
+ writer.writeObjectValue("presenterDetails", virtualEventPresenter.presenterDetails, serializeVirtualEventPresenterDetails);
65586
+ }
65587
+ /**
65588
+ * Serializes information the current object
65589
+ * @param writer Serialization writer to use to serialize this model
65590
+ */
65591
+ export function serializeVirtualEventPresenterCollectionResponse(writer, virtualEventPresenterCollectionResponse = {}) {
65592
+ serializeBaseCollectionPaginationCountResponse(writer, virtualEventPresenterCollectionResponse);
65593
+ writer.writeCollectionOfObjectValues("value", virtualEventPresenterCollectionResponse.value, serializeVirtualEventPresenter);
65594
+ }
65595
+ /**
65596
+ * Serializes information the current object
65597
+ * @param writer Serialization writer to use to serialize this model
65598
+ */
65599
+ export function serializeVirtualEventPresenterDetails(writer, virtualEventPresenterDetails = {}) {
65600
+ writer.writeObjectValue("bio", virtualEventPresenterDetails.bio, serializeItemBody);
65601
+ writer.writeStringValue("company", virtualEventPresenterDetails.company);
65602
+ writer.writeStringValue("jobTitle", virtualEventPresenterDetails.jobTitle);
65603
+ writer.writeStringValue("linkedInProfileWebUrl", virtualEventPresenterDetails.linkedInProfileWebUrl);
65604
+ writer.writeStringValue("@odata.type", virtualEventPresenterDetails.odataType);
65605
+ writer.writeStringValue("personalSiteWebUrl", virtualEventPresenterDetails.personalSiteWebUrl);
65606
+ writer.writeStringValue("photo", virtualEventPresenterDetails.photo);
65607
+ writer.writeStringValue("twitterProfileWebUrl", virtualEventPresenterDetails.twitterProfileWebUrl);
65608
+ writer.writeAdditionalData(virtualEventPresenterDetails.additionalData);
65609
+ }
65610
+ /**
65611
+ * Serializes information the current object
65612
+ * @param writer Serialization writer to use to serialize this model
65613
+ */
65614
+ export function serializeVirtualEventPresenterInfo(writer, virtualEventPresenterInfo = {}) {
65615
+ serializeMeetingParticipantInfo(writer, virtualEventPresenterInfo);
65616
+ writer.writeObjectValue("presenterDetails", virtualEventPresenterInfo.presenterDetails, serializeVirtualEventPresenterDetails);
65617
+ }
64785
65618
  /**
64786
65619
  * Serializes information the current object
64787
65620
  * @param writer Serialization writer to use to serialize this model
@@ -64792,8 +65625,11 @@ export function serializeVirtualEventRegistration(writer, virtualEventRegistrati
64792
65625
  writer.writeStringValue("email", virtualEventRegistration.email);
64793
65626
  writer.writeStringValue("firstName", virtualEventRegistration.firstName);
64794
65627
  writer.writeStringValue("lastName", virtualEventRegistration.lastName);
65628
+ writer.writeStringValue("preferredLanguage", virtualEventRegistration.preferredLanguage);
65629
+ writer.writeStringValue("preferredTimezone", virtualEventRegistration.preferredTimezone);
64795
65630
  writer.writeDateValue("registrationDateTime", virtualEventRegistration.registrationDateTime);
64796
65631
  writer.writeCollectionOfObjectValues("registrationQuestionAnswers", virtualEventRegistration.registrationQuestionAnswers, serializeVirtualEventRegistrationQuestionAnswer);
65632
+ writer.writeCollectionOfObjectValues("sessions", virtualEventRegistration.sessions, serializeVirtualEventSession);
64797
65633
  writer.writeEnumValue("status", virtualEventRegistration.status);
64798
65634
  writer.writeStringValue("userId", virtualEventRegistration.userId);
64799
65635
  }
@@ -64805,6 +65641,33 @@ export function serializeVirtualEventRegistrationCollectionResponse(writer, virt
64805
65641
  serializeBaseCollectionPaginationCountResponse(writer, virtualEventRegistrationCollectionResponse);
64806
65642
  writer.writeCollectionOfObjectValues("value", virtualEventRegistrationCollectionResponse.value, serializeVirtualEventRegistration);
64807
65643
  }
65644
+ /**
65645
+ * Serializes information the current object
65646
+ * @param writer Serialization writer to use to serialize this model
65647
+ */
65648
+ export function serializeVirtualEventRegistrationConfiguration(writer, virtualEventRegistrationConfiguration = {}) {
65649
+ serializeEntity(writer, virtualEventRegistrationConfiguration);
65650
+ writer.writeNumberValue("capacity", virtualEventRegistrationConfiguration.capacity);
65651
+ writer.writeCollectionOfObjectValues("questions", virtualEventRegistrationConfiguration.questions, serializeVirtualEventRegistrationQuestionBase);
65652
+ writer.writeStringValue("registrationWebUrl", virtualEventRegistrationConfiguration.registrationWebUrl);
65653
+ }
65654
+ /**
65655
+ * Serializes information the current object
65656
+ * @param writer Serialization writer to use to serialize this model
65657
+ */
65658
+ export function serializeVirtualEventRegistrationCustomQuestion(writer, virtualEventRegistrationCustomQuestion = {}) {
65659
+ serializeVirtualEventRegistrationQuestionBase(writer, virtualEventRegistrationCustomQuestion);
65660
+ writer.writeCollectionOfPrimitiveValues("answerChoices", virtualEventRegistrationCustomQuestion.answerChoices);
65661
+ writer.writeEnumValue("answerInputType", virtualEventRegistrationCustomQuestion.answerInputType);
65662
+ }
65663
+ /**
65664
+ * Serializes information the current object
65665
+ * @param writer Serialization writer to use to serialize this model
65666
+ */
65667
+ export function serializeVirtualEventRegistrationPredefinedQuestion(writer, virtualEventRegistrationPredefinedQuestion = {}) {
65668
+ serializeVirtualEventRegistrationQuestionBase(writer, virtualEventRegistrationPredefinedQuestion);
65669
+ writer.writeEnumValue("label", virtualEventRegistrationPredefinedQuestion.label);
65670
+ }
64808
65671
  /**
64809
65672
  * Serializes information the current object
64810
65673
  * @param writer Serialization writer to use to serialize this model
@@ -64818,6 +65681,23 @@ export function serializeVirtualEventRegistrationQuestionAnswer(writer, virtualE
64818
65681
  writer.writeStringValue("value", virtualEventRegistrationQuestionAnswer.value);
64819
65682
  writer.writeAdditionalData(virtualEventRegistrationQuestionAnswer.additionalData);
64820
65683
  }
65684
+ /**
65685
+ * Serializes information the current object
65686
+ * @param writer Serialization writer to use to serialize this model
65687
+ */
65688
+ export function serializeVirtualEventRegistrationQuestionBase(writer, virtualEventRegistrationQuestionBase = {}) {
65689
+ serializeEntity(writer, virtualEventRegistrationQuestionBase);
65690
+ writer.writeStringValue("displayName", virtualEventRegistrationQuestionBase.displayName);
65691
+ writer.writeBooleanValue("isRequired", virtualEventRegistrationQuestionBase.isRequired);
65692
+ }
65693
+ /**
65694
+ * Serializes information the current object
65695
+ * @param writer Serialization writer to use to serialize this model
65696
+ */
65697
+ export function serializeVirtualEventRegistrationQuestionBaseCollectionResponse(writer, virtualEventRegistrationQuestionBaseCollectionResponse = {}) {
65698
+ serializeBaseCollectionPaginationCountResponse(writer, virtualEventRegistrationQuestionBaseCollectionResponse);
65699
+ writer.writeCollectionOfObjectValues("value", virtualEventRegistrationQuestionBaseCollectionResponse.value, serializeVirtualEventRegistrationQuestionBase);
65700
+ }
64821
65701
  /**
64822
65702
  * Serializes information the current object
64823
65703
  * @param writer Serialization writer to use to serialize this model
@@ -64842,8 +65722,28 @@ export function serializeVirtualEventSessionCollectionResponse(writer, virtualEv
64842
65722
  export function serializeVirtualEventsRoot(writer, virtualEventsRoot = {}) {
64843
65723
  serializeEntity(writer, virtualEventsRoot);
64844
65724
  writer.writeCollectionOfObjectValues("events", virtualEventsRoot.events, serializeVirtualEvent);
65725
+ writer.writeCollectionOfObjectValues("townhalls", virtualEventsRoot.townhalls, serializeVirtualEventTownhall);
64845
65726
  writer.writeCollectionOfObjectValues("webinars", virtualEventsRoot.webinars, serializeVirtualEventWebinar);
64846
65727
  }
65728
+ /**
65729
+ * Serializes information the current object
65730
+ * @param writer Serialization writer to use to serialize this model
65731
+ */
65732
+ export function serializeVirtualEventTownhall(writer, virtualEventTownhall = {}) {
65733
+ serializeVirtualEvent(writer, virtualEventTownhall);
65734
+ writer.writeEnumValue("audience", virtualEventTownhall.audience);
65735
+ writer.writeCollectionOfObjectValues("coOrganizers", virtualEventTownhall.coOrganizers, serializeCommunicationsUserIdentity);
65736
+ writer.writeCollectionOfObjectValues("invitedAttendees", virtualEventTownhall.invitedAttendees, serializeIdentity);
65737
+ writer.writeBooleanValue("isInviteOnly", virtualEventTownhall.isInviteOnly);
65738
+ }
65739
+ /**
65740
+ * Serializes information the current object
65741
+ * @param writer Serialization writer to use to serialize this model
65742
+ */
65743
+ export function serializeVirtualEventTownhallCollectionResponse(writer, virtualEventTownhallCollectionResponse = {}) {
65744
+ serializeBaseCollectionPaginationCountResponse(writer, virtualEventTownhallCollectionResponse);
65745
+ writer.writeCollectionOfObjectValues("value", virtualEventTownhallCollectionResponse.value, serializeVirtualEventTownhall);
65746
+ }
64847
65747
  /**
64848
65748
  * Serializes information the current object
64849
65749
  * @param writer Serialization writer to use to serialize this model
@@ -64852,6 +65752,7 @@ export function serializeVirtualEventWebinar(writer, virtualEventWebinar = {}) {
64852
65752
  serializeVirtualEvent(writer, virtualEventWebinar);
64853
65753
  writer.writeEnumValue("audience", virtualEventWebinar.audience);
64854
65754
  writer.writeCollectionOfObjectValues("coOrganizers", virtualEventWebinar.coOrganizers, serializeCommunicationsUserIdentity);
65755
+ writer.writeObjectValue("registrationConfiguration", virtualEventWebinar.registrationConfiguration, serializeVirtualEventWebinarRegistrationConfiguration);
64855
65756
  writer.writeCollectionOfObjectValues("registrations", virtualEventWebinar.registrations, serializeVirtualEventRegistration);
64856
65757
  }
64857
65758
  /**
@@ -64862,6 +65763,15 @@ export function serializeVirtualEventWebinarCollectionResponse(writer, virtualEv
64862
65763
  serializeBaseCollectionPaginationCountResponse(writer, virtualEventWebinarCollectionResponse);
64863
65764
  writer.writeCollectionOfObjectValues("value", virtualEventWebinarCollectionResponse.value, serializeVirtualEventWebinar);
64864
65765
  }
65766
+ /**
65767
+ * Serializes information the current object
65768
+ * @param writer Serialization writer to use to serialize this model
65769
+ */
65770
+ export function serializeVirtualEventWebinarRegistrationConfiguration(writer, virtualEventWebinarRegistrationConfiguration = {}) {
65771
+ serializeVirtualEventRegistrationConfiguration(writer, virtualEventWebinarRegistrationConfiguration);
65772
+ writer.writeBooleanValue("isManualApprovalEnabled", virtualEventWebinarRegistrationConfiguration.isManualApprovalEnabled);
65773
+ writer.writeBooleanValue("isWaitlistEnabled", virtualEventWebinarRegistrationConfiguration.isWaitlistEnabled);
65774
+ }
64865
65775
  /**
64866
65776
  * Serializes information the current object
64867
65777
  * @param writer Serialization writer to use to serialize this model
@@ -67511,6 +68421,7 @@ export const AssignmentTypeObject = {
67511
68421
  Required: "required",
67512
68422
  Recommended: "recommended",
67513
68423
  UnknownFutureValue: "unknownFutureValue",
68424
+ PeerRecommended: "peerRecommended",
67514
68425
  };
67515
68426
  export const AttachmentTypeObject = {
67516
68427
  File: "file",
@@ -67731,6 +68642,11 @@ export const BodyTypeObject = {
67731
68642
  Text: "text",
67732
68643
  Html: "html",
67733
68644
  };
68645
+ export const BookingPageAccessControlObject = {
68646
+ Unrestricted: "unrestricted",
68647
+ RestrictedToOrganization: "restrictedToOrganization",
68648
+ UnknownFutureValue: "unknownFutureValue",
68649
+ };
67734
68650
  /**
67735
68651
  * Represents the type of pricing of a booking service.
67736
68652
  */
@@ -67766,6 +68682,12 @@ export const BookingsAvailabilityStatusObject = {
67766
68682
  OutOfOffice: "outOfOffice",
67767
68683
  UnknownFutureValue: "unknownFutureValue",
67768
68684
  };
68685
+ export const BookingsServiceAvailabilityTypeObject = {
68686
+ BookWhenStaffAreFree: "bookWhenStaffAreFree",
68687
+ NotBookable: "notBookable",
68688
+ CustomWeeklyHours: "customWeeklyHours",
68689
+ UnknownFutureValue: "unknownFutureValue",
68690
+ };
67769
68691
  export const BookingStaffMembershipStatusObject = {
67770
68692
  Active: "active",
67771
68693
  PendingAcceptance: "pendingAcceptance",
@@ -69898,6 +70820,11 @@ export const MutabilityObject = {
69898
70820
  Immutable: "Immutable",
69899
70821
  WriteOnly: "WriteOnly",
69900
70822
  };
70823
+ export const NativeAuthenticationApisEnabledObject = {
70824
+ None: "none",
70825
+ All: "all",
70826
+ UnknownFutureValue: "unknownFutureValue",
70827
+ };
69901
70828
  export const NotificationDeliveryFrequencyObject = {
69902
70829
  Unknown: "unknown",
69903
70830
  Weekly: "weekly",
@@ -72368,6 +73295,8 @@ export const TeamsAsyncOperationTypeObject = {
72368
73295
  UnknownFutureValue: "unknownFutureValue",
72369
73296
  TeamifyGroup: "teamifyGroup",
72370
73297
  CreateChannel: "createChannel",
73298
+ ArchiveChannel: "archiveChannel",
73299
+ UnarchiveChannel: "unarchiveChannel",
72371
73300
  };
72372
73301
  export const TeamSpecializationObject = {
72373
73302
  None: "none",
@@ -72710,6 +73639,25 @@ export const VirtualEventAttendeeRegistrationStatusObject = {
72710
73639
  RejectedByOrganizer: "rejectedByOrganizer",
72711
73640
  UnknownFutureValue: "unknownFutureValue",
72712
73641
  };
73642
+ export const VirtualEventRegistrationPredefinedQuestionLabelObject = {
73643
+ Street: "street",
73644
+ City: "city",
73645
+ State: "state",
73646
+ PostalCode: "postalCode",
73647
+ CountryOrRegion: "countryOrRegion",
73648
+ Industry: "industry",
73649
+ JobTitle: "jobTitle",
73650
+ Organization: "organization",
73651
+ UnknownFutureValue: "unknownFutureValue",
73652
+ };
73653
+ export const VirtualEventRegistrationQuestionAnswerInputTypeObject = {
73654
+ Text: "text",
73655
+ MultilineText: "multilineText",
73656
+ SingleChoice: "singleChoice",
73657
+ MultiChoice: "multiChoice",
73658
+ Boolean: "boolean",
73659
+ UnknownFutureValue: "unknownFutureValue",
73660
+ };
72713
73661
  export const VirtualEventStatusObject = {
72714
73662
  Draft: "draft",
72715
73663
  Published: "published",